diff --git a/build/1.2.0-beta/dataAttrListener.asset.php b/build/1.2.0-beta/dataAttrListener.asset.php new file mode 100644 index 0000000..a58a0a0 --- /dev/null +++ b/build/1.2.0-beta/dataAttrListener.asset.php @@ -0,0 +1 @@ + array('wp-api-fetch', 'wp-dom-ready'), 'version' => 'e882fc6f7a957b49c6b4'); diff --git a/build/1.2.0-beta/dataAttrListener.js b/build/1.2.0-beta/dataAttrListener.js new file mode 100644 index 0000000..a20615c --- /dev/null +++ b/build/1.2.0-beta/dataAttrListener.js @@ -0,0 +1 @@ +(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var l in n)t.o(n,l)&&!t.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:n[l]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)};const e=window.wp.domReady;var n=t.n(e);const l=window.wp.apiFetch;var r=t.n(l);const i=window.nfdInstaller?.restUrl,o=window.nfdInstaller?.pluginInstallHash,a=`${i}/newfold-installer/v1/plugins/install`;n()((()=>{new window.MutationObserver((t=>{for(const e of t)if("childList"===e.type)for(const t of e.addedNodes)"object"==typeof t&&"function"==typeof t.querySelectorAll&&t.querySelectorAll("[data-nfd-installer-plugin-provider]").forEach((t=>{t.addEventListener("click",(function(t){null!==t.target.getAttribute("data-nfd-installer-plugin-slug")&&r()({url:a,method:"POST",headers:{"X-NFD-INSTALLER":o},data:{plugin:this.getAttribute("data-nfd-installer-plugin-slug"),activate:"true"===this.getAttribute("data-nfd-installer-plugin-activate"),queue:!1,priority:0,premium:!0}})}))}))})).observe(document.body,{childList:!0,subtree:!0})})),((window.newfold=window.newfold||{}).Installer=window.newfold.Installer||{}).dataAttrListener={}})(); \ No newline at end of file diff --git a/composer.json b/composer.json index ab56dc6..e431813 100644 --- a/composer.json +++ b/composer.json @@ -27,10 +27,10 @@ } }, "require": { - "wp-cli/wp-cli": "^2.11", - "@newfold-labs/wp-module-pls": "^1.0" + "newfold-labs/wp-module-pls": "^0.1.0" }, "require-dev": { + "wp-cli/wp-cli": "^2.11", "newfold-labs/wp-php-standards": "^1.2" }, "config": { diff --git a/composer.lock b/composer.lock index 7b220e4..8fb4ee9 100644 --- a/composer.lock +++ b/composer.lock @@ -4,33 +4,42 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "fd04132052480817c11bedd4fb96593a", + "content-hash": "293e91d4313e33412aef95a2da475739", "packages": [ { - "name": "mustache/mustache", - "version": "v2.14.2", + "name": "doctrine/inflector", + "version": "1.4.4", "source": { "type": "git", - "url": "https://github.com/bobthecow/mustache.php.git", - "reference": "e62b7c3849d22ec55f3ec425507bf7968193a6cb" + "url": "https://github.com/doctrine/inflector.git", + "reference": "4bd5c1cdfcd00e9e2d8c484f79150f67e5d355d9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/mustache.php/zipball/e62b7c3849d22ec55f3ec425507bf7968193a6cb", - "reference": "e62b7c3849d22ec55f3ec425507bf7968193a6cb", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/4bd5c1cdfcd00e9e2d8c484f79150f67e5d355d9", + "reference": "4bd5c1cdfcd00e9e2d8c484f79150f67e5d355d9", "shasum": "" }, "require": { - "php": ">=5.2.4" + "php": "^7.1 || ^8.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "~1.11", - "phpunit/phpunit": "~3.7|~4.0|~5.0" + "doctrine/coding-standard": "^8.0", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-phpunit": "^0.12", + "phpstan/phpstan-strict-rules": "^0.12", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, "autoload": { - "psr-0": { - "Mustache": "src/" + "psr-4": { + "Doctrine\\Inflector\\": "lib/Doctrine/Inflector", + "Doctrine\\Common\\Inflector\\": "lib/Doctrine/Common/Inflector" } }, "notification-url": "https://packagist.org/downloads/", @@ -39,270 +48,563 @@ ], "authors": [ { - "name": "Justin Hileman", - "email": "justin@justinhileman.info", - "homepage": "http://justinhileman.com" + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" } ], - "description": "A Mustache implementation in PHP.", - "homepage": "https://github.com/bobthecow/mustache.php", + "description": "PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.", + "homepage": "https://www.doctrine-project.org/projects/inflector.html", "keywords": [ - "mustache", - "templating" + "inflection", + "inflector", + "lowercase", + "manipulation", + "php", + "plural", + "singular", + "strings", + "uppercase", + "words" ], "support": { - "issues": "https://github.com/bobthecow/mustache.php/issues", - "source": "https://github.com/bobthecow/mustache.php/tree/v2.14.2" + "issues": "https://github.com/doctrine/inflector/issues", + "source": "https://github.com/doctrine/inflector/tree/1.4.4" }, - "time": "2022-08-23T13:07:01+00:00" + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finflector", + "type": "tidelift" + } + ], + "time": "2021-04-16T17:34:40+00:00" }, { - "name": "symfony/finder", - "version": "v7.1.4", + "name": "newfold-labs/container", + "version": "1.2.2", "source": { "type": "git", - "url": "https://github.com/symfony/finder.git", - "reference": "d95bbf319f7d052082fb7af147e0f835a695e823" + "url": "https://github.com/newfold-labs/container.git", + "reference": "19bb75bb4a64a282f7d142fff9f3418177022851" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/d95bbf319f7d052082fb7af147e0f835a695e823", - "reference": "d95bbf319f7d052082fb7af147e0f835a695e823", + "url": "https://api.github.com/repos/newfold-labs/container/zipball/19bb75bb4a64a282f7d142fff9f3418177022851", + "reference": "19bb75bb4a64a282f7d142fff9f3418177022851", "shasum": "" }, "require": { - "php": ">=8.2" - }, - "require-dev": { - "symfony/filesystem": "^6.4|^7.0" + "php": ">=7.0" }, "type": "library", "autoload": { "psr-4": { - "Symfony\\Component\\Finder\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] + "NewfoldLabs\\Container\\": "includes" + } }, - "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "GPL-2.0-or-later" ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Micah Wood", + "email": "micah@wpscholar.com" } ], - "description": "Finds files and directories via an intuitive fluent interface", - "homepage": "https://symfony.com", + "description": "A lightweight, PHP 7.0+ compatible, PSR-11 dependency injection container.", "support": { - "source": "https://github.com/symfony/finder/tree/v7.1.4" + "source": "https://github.com/newfold-labs/container/tree/1.2.2" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-08-13T14:28:19+00:00" + "time": "2022-08-26T17:23:54+00:00" }, { - "name": "wp-cli/mustangostang-spyc", - "version": "0.6.3", + "name": "newfold-labs/wp-module-data", + "version": "2.6.3", "source": { "type": "git", - "url": "https://github.com/wp-cli/spyc.git", - "reference": "6aa0b4da69ce9e9a2c8402dab8d43cf32c581cc7" + "url": "https://github.com/newfold-labs/wp-module-data.git", + "reference": "f98dfabe6a4cb10aec6dcd6e81fc7d269238e9a4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/spyc/zipball/6aa0b4da69ce9e9a2c8402dab8d43cf32c581cc7", - "reference": "6aa0b4da69ce9e9a2c8402dab8d43cf32c581cc7", + "url": "https://api.github.com/repos/newfold-labs/wp-module-data/zipball/f98dfabe6a4cb10aec6dcd6e81fc7d269238e9a4", + "reference": "f98dfabe6a4cb10aec6dcd6e81fc7d269238e9a4", "shasum": "" }, "require": { - "php": ">=5.3.1" + "ext-json": "*", + "newfold-labs/wp-module-loader": "^1.0.10", + "wp-forge/helpers": "^2.0", + "wp-forge/wp-query-builder": "^1.0.4", + "wp-forge/wp-upgrade-handler": "^1.0", + "wpscholar/url": "^1.2.2" }, "require-dev": { - "phpunit/phpunit": "4.3.*@dev" + "10up/wp_mock": "^0.4.2", + "bluehost/bluehost-wordpress-plugin": ">=3.1", + "brianhenryie/composer-phpstorm": ">=0.4", + "johnpbloch/wordpress": ">=6.5.3", + "kporras07/composer-symlinks": "^1.2", + "lucatume/wp-browser": "^3.5.8", + "newfold-labs/wp-php-standards": "^1.2.3", + "phpunit/phpcov": "^5.0", + "wpackagist-plugin/woocommerce": ">=9" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "0.5.x-dev" + "symlinks": { + ".": "wp-content/plugins/bluehost-wordpress-plugin/vendor/newfold-labs/wp-module-data" } }, "autoload": { + "psr-4": { + "NewfoldLabs\\WP\\Module\\Data\\": "includes/" + }, "files": [ - "includes/functions.php" + "bootstrap.php" + ] + }, + "autoload-dev": { + "psr-4": { + "NewfoldLabs\\WP\\Module\\Data\\": [ + "tests/phpunit/includes/", + "tests/wpunit/includes" + ] + }, + "classmap": [ + "wordpress" + ] + }, + "scripts": { + "fix": [ + "vendor/bin/phpcbf . --standard=phpcs.xml" ], + "cs-changes": [ + "updated_files=$( git status | grep '\\(new file\\|modified\\):\\s.*.php$' | cut -c14- | awk '{ printf(\"%s \", $0) }' ); echo \"\\nChecking\"$(git status | grep '\\(new file\\|modified\\):\\s.*.php$' | tail -n+2 | wc -l)\" files\"; phpcbf $(echo $updated_files); phpcs $(echo $updated_files);" + ], + "lint": [ + "vendor/bin/phpcs . --standard=phpcs.xml -s" + ], + "create-symlinks": [ + "Kporras07\\ComposerSymlinks\\ScriptHandler::createSymlinks" + ], + "test": [ + "phpunit --bootstrap tests/phpunit/bootstrap.php", + "codecept run wpunit" + ], + "test-coverage": [ + "phpunit --bootstrap tests/phpunit/bootstrap.php --coverage-php tests/_output/unit.cov --coverage-text", + "codecept run wpunit --coverage wpunit.cov", + "phpcov merge --php tests/_output/merged.cov --html tests/_output/html tests/_output;", + "echo \"open tests/_output/html/index.html\" to view the report" + ], + "post-install-cmd": [ + "@create-symlinks" + ], + "post-update-cmd": [ + "@create-symlinks" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Newfold Data Module", + "support": { + "source": "https://github.com/newfold-labs/wp-module-data/tree/2.6.3", + "issues": "https://github.com/newfold-labs/wp-module-data/issues" + }, + "time": "2024-08-30T19:51:58+00:00" + }, + { + "name": "newfold-labs/wp-module-loader", + "version": "1.0.10", + "source": { + "type": "git", + "url": "https://github.com/newfold-labs/wp-module-loader.git", + "reference": "8ab6725a6b3bc9ed10b89127f09bcb3e81f795c6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/newfold-labs/wp-module-loader/zipball/8ab6725a6b3bc9ed10b89127f09bcb3e81f795c6", + "reference": "8ab6725a6b3bc9ed10b89127f09bcb3e81f795c6", + "shasum": "" + }, + "require": { + "newfold-labs/container": "^1.2", + "wp-forge/collection": "^1.0", + "wp-forge/fluent": "^1.0", + "wp-forge/wp-options": "^1.0" + }, + "type": "library", + "autoload": { "psr-4": { - "Mustangostang\\": "src/" - } + "NewfoldLabs\\WP\\ModuleLoader\\": "includes" + }, + "files": [ + "bootstrap.php", + "includes/functions.php" + ] }, - "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "GPL-2.0-or-later" ], "authors": [ { - "name": "mustangostang", - "email": "vlad.andersen@gmail.com" + "name": "Micah Wood", + "email": "micah@wpscholar.com" } ], - "description": "A simple YAML loader/dumper class for PHP (WP-CLI fork)", - "homepage": "https://github.com/mustangostang/spyc/", + "description": "A module that handles registration and management of Newfold modules used within our WordPress plugins.", "support": { - "source": "https://github.com/wp-cli/spyc/tree/autoload" + "source": "https://github.com/newfold-labs/wp-module-loader/tree/1.0.10", + "issues": "https://github.com/newfold-labs/wp-module-loader/issues" }, - "time": "2017-04-25T11:26:20+00:00" + "time": "2022-10-03T20:07:41+00:00" }, { - "name": "wp-cli/php-cli-tools", - "version": "v0.11.22", + "name": "newfold-labs/wp-module-pls", + "version": "0.1.0", "source": { "type": "git", - "url": "https://github.com/wp-cli/php-cli-tools.git", - "reference": "a6bb94664ca36d0962f9c2ff25591c315a550c51" + "url": "https://github.com/newfold-labs/wp-module-pls.git", + "reference": "ffa1517c18da067dd830c809f74aee597f05dc17" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/php-cli-tools/zipball/a6bb94664ca36d0962f9c2ff25591c315a550c51", - "reference": "a6bb94664ca36d0962f9c2ff25591c315a550c51", + "url": "https://api.github.com/repos/newfold-labs/wp-module-pls/zipball/ffa1517c18da067dd830c809f74aee597f05dc17", + "reference": "ffa1517c18da067dd830c809f74aee597f05dc17", "shasum": "" }, "require": { - "php": ">= 5.3.0" + "newfold-labs/wp-module-data": "^2.0" }, "require-dev": { - "roave/security-advisories": "dev-latest", - "wp-cli/wp-cli-tests": "^4" + "newfold-labs/wp-php-standards": "^1.2", + "wp-cli/i18n-command": "^2.4.3", + "wp-cli/wp-cli": "^2.11" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.11.x-dev" + "autoload": { + "psr-4": { + "NewfoldLabs\\WP\\Module\\PLS\\": "includes" + }, + "files": [ + "bootstrap.php" + ] + }, + "license": [ + "GPL-3.0-or-later" + ], + "authors": [ + { + "name": "arunshenoy99", + "email": "devarunshenoy99@gmail.com" } + ], + "description": "A Newfold module that handles license key provisioning, validation, and other lifecycle events for registered plugins using the PLS API via Hiive.", + "support": { + "source": "https://github.com/newfold-labs/wp-module-pls/tree/0.1.0", + "issues": "https://github.com/newfold-labs/wp-module-pls/issues" + }, + "time": "2024-10-09T08:23:27+00:00" + }, + { + "name": "wp-forge/collection", + "version": "1.0.2", + "source": { + "type": "git", + "url": "https://github.com/wp-forge/collection.git", + "reference": "e304ddc0130d466dcc55e3a8dee79f0d745ca47a" }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wp-forge/collection/zipball/e304ddc0130d466dcc55e3a8dee79f0d745ca47a", + "reference": "e304ddc0130d466dcc55e3a8dee79f0d745ca47a", + "shasum": "" + }, + "type": "library", "autoload": { - "files": [ - "lib/cli/cli.php" - ], - "psr-0": { - "cli": "lib/" + "psr-4": { + "WP_Forge\\Collection\\": "" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "GPL-2.0-or-later" ], "authors": [ { - "name": "Daniel Bachhuber", - "email": "daniel@handbuilt.co", - "role": "Maintainer" - }, - { - "name": "James Logsdon", - "email": "jlogsdon@php.net", - "role": "Developer" + "name": "Micah Wood", + "email": "micah@wpscholar.com" } ], - "description": "Console utilities for PHP", - "homepage": "http://github.com/wp-cli/php-cli-tools", - "keywords": [ - "cli", - "console" + "description": "A PHP utility class for manipulating collections.", + "support": { + "issues": "https://github.com/wp-forge/collection/issues", + "source": "https://github.com/wp-forge/collection/tree/1.0.2" + }, + "time": "2022-08-26T17:42:31+00:00" + }, + { + "name": "wp-forge/fluent", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/wp-forge/fluent.git", + "reference": "b7d6e54f86bd2bbc229faeefd2772f1f1354ad8c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wp-forge/fluent/zipball/b7d6e54f86bd2bbc229faeefd2772f1f1354ad8c", + "reference": "b7d6e54f86bd2bbc229faeefd2772f1f1354ad8c", + "shasum": "" + }, + "type": "library", + "autoload": { + "psr-4": { + "WP_Forge\\Fluent\\": "includes" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "Micah Wood", + "email": "micah@wpscholar.com" + } ], + "description": "An instance of the Laravel Fluent class for use with WordPress.", "support": { - "issues": "https://github.com/wp-cli/php-cli-tools/issues", - "source": "https://github.com/wp-cli/php-cli-tools/tree/v0.11.22" + "issues": "https://github.com/wp-forge/fluent/issues", + "source": "https://github.com/wp-forge/fluent/tree/1.0.1" }, - "time": "2023-12-03T19:25:05+00:00" + "time": "2022-08-26T17:38:37+00:00" }, { - "name": "wp-cli/wp-cli", - "version": "v2.11.0", + "name": "wp-forge/helpers", + "version": "2.0", "source": { "type": "git", - "url": "https://github.com/wp-cli/wp-cli.git", - "reference": "53f0df112901fcf95099d0f501912a209429b6a9" + "url": "https://github.com/wp-forge/helpers.git", + "reference": "28ebc09a3390dbff427270a4ed2b93395e8b9b78" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/53f0df112901fcf95099d0f501912a209429b6a9", - "reference": "53f0df112901fcf95099d0f501912a209429b6a9", + "url": "https://api.github.com/repos/wp-forge/helpers/zipball/28ebc09a3390dbff427270a4ed2b93395e8b9b78", + "reference": "28ebc09a3390dbff427270a4ed2b93395e8b9b78", "shasum": "" }, "require": { - "ext-curl": "*", - "mustache/mustache": "^2.14.1", - "php": "^5.6 || ^7.0 || ^8.0", - "symfony/finder": ">2.7", - "wp-cli/mustangostang-spyc": "^0.6.3", - "wp-cli/php-cli-tools": "~0.11.2" - }, - "require-dev": { - "roave/security-advisories": "dev-latest", - "wp-cli/db-command": "^1.3 || ^2", - "wp-cli/entity-command": "^1.2 || ^2", - "wp-cli/extension-command": "^1.1 || ^2", - "wp-cli/package-command": "^1 || ^2", - "wp-cli/wp-cli-tests": "^4.0.1" + "doctrine/inflector": "^1.3", + "ext-mbstring": "*" }, - "suggest": { - "ext-readline": "Include for a better --prompt implementation", - "ext-zip": "Needed to support extraction of ZIP archives when doing downloads or updates" + "type": "library", + "autoload": { + "files": [ + "includes/functions.php" + ], + "psr-4": { + "WP_Forge\\Helpers\\": "includes" + } }, - "bin": [ - "bin/wp", - "bin/wp.bat" + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-2.0-or-later" ], + "authors": [ + { + "name": "Micah Wood", + "email": "micah@wpscholar.com" + } + ], + "description": "A collection of helpers for WordPress and PHP development.", + "support": { + "issues": "https://github.com/wp-forge/helpers/issues", + "source": "https://github.com/wp-forge/helpers/tree/2.0" + }, + "time": "2022-01-06T13:10:47+00:00" + }, + { + "name": "wp-forge/wp-options", + "version": "1.1.1", + "source": { + "type": "git", + "url": "https://github.com/wp-forge/wp-options.git", + "reference": "511b1c5e626582dd4c3c1b5602e7a20352dabc1b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wp-forge/wp-options/zipball/511b1c5e626582dd4c3c1b5602e7a20352dabc1b", + "reference": "511b1c5e626582dd4c3c1b5602e7a20352dabc1b", + "shasum": "" + }, "type": "library", - "extra": { - "branch-alias": { - "dev-main": "2.11.x-dev" + "autoload": { + "psr-4": { + "WP_Forge\\Options\\": "includes" } }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "Micah Wood", + "email": "micah@wpscholar.com" + } + ], + "description": "A WordPress helper class for managing plugin options.", + "support": { + "issues": "https://github.com/wp-forge/wp-options/issues", + "source": "https://github.com/wp-forge/wp-options/tree/1.1.1" + }, + "time": "2024-05-10T14:57:37+00:00" + }, + { + "name": "wp-forge/wp-query-builder", + "version": "1.0.4", + "source": { + "type": "git", + "url": "https://github.com/wp-forge/wp-query-builder.git", + "reference": "131dcfee2d3ebf84cec9bd6ce07d3f2c854b4984" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wp-forge/wp-query-builder/zipball/131dcfee2d3ebf84cec9bd6ce07d3f2c854b4984", + "reference": "131dcfee2d3ebf84cec9bd6ce07d3f2c854b4984", + "shasum": "" + }, + "require": { + "php": ">=5.4" + }, + "type": "library", "autoload": { - "psr-0": { - "WP_CLI\\": "php/" - }, - "classmap": [ - "php/class-wp-cli.php", - "php/class-wp-cli-command.php" - ] + "psr-4": { + "WP_Forge\\QueryBuilder\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "GPL-2.0-or-later" ], - "description": "WP-CLI framework", - "homepage": "https://wp-cli.org", + "authors": [ + { + "name": "Micah Wood", + "email": "micah@wpscholar.com" + } + ], + "description": "A lightweight and efficient SQL query builder for WordPress.", "keywords": [ - "cli", + "database", + "query builder", "wordpress" ], "support": { - "docs": "https://make.wordpress.org/cli/handbook/", - "issues": "https://github.com/wp-cli/wp-cli/issues", - "source": "https://github.com/wp-cli/wp-cli" + "issues": "https://github.com/wp-forge/wp-query-builder/issues", + "source": "https://github.com/wp-forge/wp-query-builder/tree/1.0.4" }, - "time": "2024-08-08T03:04:55+00:00" + "time": "2024-08-22T21:49:41+00:00" + }, + { + "name": "wp-forge/wp-upgrade-handler", + "version": "1.0", + "source": { + "type": "git", + "url": "https://github.com/wp-forge/wp-upgrade-handler.git", + "reference": "b0a7f4c66710f95b4c5702fea3af505ea72fb215" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wp-forge/wp-upgrade-handler/zipball/b0a7f4c66710f95b4c5702fea3af505ea72fb215", + "reference": "b0a7f4c66710f95b4c5702fea3af505ea72fb215", + "shasum": "" + }, + "type": "library", + "autoload": { + "psr-4": { + "WP_Forge\\UpgradeHandler\\": "includes" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "Micah Wood", + "email": "micah@wpscholar.com" + } + ], + "description": "A drop-in library for handling upgrade routines in WordPress plugins and themes.", + "support": { + "issues": "https://github.com/wp-forge/wp-upgrade-handler/issues", + "source": "https://github.com/wp-forge/wp-upgrade-handler/tree/1.0" + }, + "time": "2020-05-21T00:04:44+00:00" + }, + { + "name": "wpscholar/url", + "version": "1.2.2", + "source": { + "type": "git", + "url": "https://github.com/wpscholar/url.git", + "reference": "c339972ed8e6876f1cfacbc512c6205db63645d0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wpscholar/url/zipball/c339972ed8e6876f1cfacbc512c6205db63645d0", + "reference": "c339972ed8e6876f1cfacbc512c6205db63645d0", + "shasum": "" + }, + "type": "library", + "autoload": { + "psr-4": { + "wpscholar\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-2.0+" + ], + "authors": [ + { + "name": "Micah Wood", + "email": "micah@wpscholar.com", + "homepage": "http://wpscholar.com" + } + ], + "description": "A PHP class for parsing and manipulating URLs.", + "support": { + "issues": "https://github.com/wpscholar/url/issues", + "source": "https://github.com/wpscholar/url/tree/1.2.2" + }, + "time": "2020-10-27T20:10:04+00:00" } ], "packages-dev": [ @@ -379,10 +681,60 @@ "tests" ], "support": { - "issues": "https://github.com/PHPCSStandards/composer-installer/issues", - "source": "https://github.com/PHPCSStandards/composer-installer" + "issues": "https://github.com/PHPCSStandards/composer-installer/issues", + "source": "https://github.com/PHPCSStandards/composer-installer" + }, + "time": "2023-01-05T11:28:13+00:00" + }, + { + "name": "mustache/mustache", + "version": "v2.14.2", + "source": { + "type": "git", + "url": "https://github.com/bobthecow/mustache.php.git", + "reference": "e62b7c3849d22ec55f3ec425507bf7968193a6cb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/bobthecow/mustache.php/zipball/e62b7c3849d22ec55f3ec425507bf7968193a6cb", + "reference": "e62b7c3849d22ec55f3ec425507bf7968193a6cb", + "shasum": "" + }, + "require": { + "php": ">=5.2.4" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "~1.11", + "phpunit/phpunit": "~3.7|~4.0|~5.0" + }, + "type": "library", + "autoload": { + "psr-0": { + "Mustache": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Justin Hileman", + "email": "justin@justinhileman.info", + "homepage": "http://justinhileman.com" + } + ], + "description": "A Mustache implementation in PHP.", + "homepage": "https://github.com/bobthecow/mustache.php", + "keywords": [ + "mustache", + "templating" + ], + "support": { + "issues": "https://github.com/bobthecow/mustache.php/issues", + "source": "https://github.com/bobthecow/mustache.php/tree/v2.14.2" }, - "time": "2023-01-05T11:28:13+00:00" + "time": "2022-08-23T13:07:01+00:00" }, { "name": "newfold-labs/wp-php-standards", @@ -652,6 +1004,254 @@ }, "time": "2023-02-22T23:07:41+00:00" }, + { + "name": "symfony/finder", + "version": "v7.1.4", + "source": { + "type": "git", + "url": "https://github.com/symfony/finder.git", + "reference": "d95bbf319f7d052082fb7af147e0f835a695e823" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/finder/zipball/d95bbf319f7d052082fb7af147e0f835a695e823", + "reference": "d95bbf319f7d052082fb7af147e0f835a695e823", + "shasum": "" + }, + "require": { + "php": ">=8.2" + }, + "require-dev": { + "symfony/filesystem": "^6.4|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Finder\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Finds files and directories via an intuitive fluent interface", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/finder/tree/v7.1.4" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-08-13T14:28:19+00:00" + }, + { + "name": "wp-cli/mustangostang-spyc", + "version": "0.6.3", + "source": { + "type": "git", + "url": "https://github.com/wp-cli/spyc.git", + "reference": "6aa0b4da69ce9e9a2c8402dab8d43cf32c581cc7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wp-cli/spyc/zipball/6aa0b4da69ce9e9a2c8402dab8d43cf32c581cc7", + "reference": "6aa0b4da69ce9e9a2c8402dab8d43cf32c581cc7", + "shasum": "" + }, + "require": { + "php": ">=5.3.1" + }, + "require-dev": { + "phpunit/phpunit": "4.3.*@dev" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.5.x-dev" + } + }, + "autoload": { + "files": [ + "includes/functions.php" + ], + "psr-4": { + "Mustangostang\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "mustangostang", + "email": "vlad.andersen@gmail.com" + } + ], + "description": "A simple YAML loader/dumper class for PHP (WP-CLI fork)", + "homepage": "https://github.com/mustangostang/spyc/", + "support": { + "source": "https://github.com/wp-cli/spyc/tree/autoload" + }, + "time": "2017-04-25T11:26:20+00:00" + }, + { + "name": "wp-cli/php-cli-tools", + "version": "v0.11.22", + "source": { + "type": "git", + "url": "https://github.com/wp-cli/php-cli-tools.git", + "reference": "a6bb94664ca36d0962f9c2ff25591c315a550c51" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wp-cli/php-cli-tools/zipball/a6bb94664ca36d0962f9c2ff25591c315a550c51", + "reference": "a6bb94664ca36d0962f9c2ff25591c315a550c51", + "shasum": "" + }, + "require": { + "php": ">= 5.3.0" + }, + "require-dev": { + "roave/security-advisories": "dev-latest", + "wp-cli/wp-cli-tests": "^4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.11.x-dev" + } + }, + "autoload": { + "files": [ + "lib/cli/cli.php" + ], + "psr-0": { + "cli": "lib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Daniel Bachhuber", + "email": "daniel@handbuilt.co", + "role": "Maintainer" + }, + { + "name": "James Logsdon", + "email": "jlogsdon@php.net", + "role": "Developer" + } + ], + "description": "Console utilities for PHP", + "homepage": "http://github.com/wp-cli/php-cli-tools", + "keywords": [ + "cli", + "console" + ], + "support": { + "issues": "https://github.com/wp-cli/php-cli-tools/issues", + "source": "https://github.com/wp-cli/php-cli-tools/tree/v0.11.22" + }, + "time": "2023-12-03T19:25:05+00:00" + }, + { + "name": "wp-cli/wp-cli", + "version": "v2.11.0", + "source": { + "type": "git", + "url": "https://github.com/wp-cli/wp-cli.git", + "reference": "53f0df112901fcf95099d0f501912a209429b6a9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/53f0df112901fcf95099d0f501912a209429b6a9", + "reference": "53f0df112901fcf95099d0f501912a209429b6a9", + "shasum": "" + }, + "require": { + "ext-curl": "*", + "mustache/mustache": "^2.14.1", + "php": "^5.6 || ^7.0 || ^8.0", + "symfony/finder": ">2.7", + "wp-cli/mustangostang-spyc": "^0.6.3", + "wp-cli/php-cli-tools": "~0.11.2" + }, + "require-dev": { + "roave/security-advisories": "dev-latest", + "wp-cli/db-command": "^1.3 || ^2", + "wp-cli/entity-command": "^1.2 || ^2", + "wp-cli/extension-command": "^1.1 || ^2", + "wp-cli/package-command": "^1 || ^2", + "wp-cli/wp-cli-tests": "^4.0.1" + }, + "suggest": { + "ext-readline": "Include for a better --prompt implementation", + "ext-zip": "Needed to support extraction of ZIP archives when doing downloads or updates" + }, + "bin": [ + "bin/wp", + "bin/wp.bat" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.11.x-dev" + } + }, + "autoload": { + "psr-0": { + "WP_CLI\\": "php/" + }, + "classmap": [ + "php/class-wp-cli.php", + "php/class-wp-cli-command.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "WP-CLI framework", + "homepage": "https://wp-cli.org", + "keywords": [ + "cli", + "wordpress" + ], + "support": { + "docs": "https://make.wordpress.org/cli/handbook/", + "issues": "https://github.com/wp-cli/wp-cli/issues", + "source": "https://github.com/wp-cli/wp-cli" + }, + "time": "2024-08-08T03:04:55+00:00" + }, { "name": "wp-coding-standards/wpcs", "version": "2.3.0", diff --git a/includes/Data/Constants.php b/includes/Data/Constants.php index 3469395..8771ac8 100644 --- a/includes/Data/Constants.php +++ b/includes/Data/Constants.php @@ -15,7 +15,7 @@ class Constants { */ public function __construct( $container ) { if ( ! defined( 'NFD_INSTALLER_VERSION' ) ) { - define( 'NFD_INSTALLER_VERSION', '1.1.5' ); + define( 'NFD_INSTALLER_VERSION', '1.2.0-beta' ); } if ( ! defined( 'NFD_INSTALLER_BUILD_DIR' ) && defined( 'NFD_INSTALLER_VERSION' ) ) { define( 'NFD_INSTALLER_BUILD_DIR', dirname( __DIR__, 2 ) . '/build/' . NFD_INSTALLER_VERSION ); diff --git a/package.json b/package.json index 8445631..1b0b557 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "1.1.5", + "version": "1.2.0-beta", "name": "@newfold-labs/wp-module-installer", "description": "An installer for WordPress plugins and themes.", "license": "GPL-2.0-or-later",