From ee85e212645b1fb46f75ebebca9aa32f461532de Mon Sep 17 00:00:00 2001 From: Renatho De Carli Rosa Date: Mon, 1 Mar 2021 11:41:46 -0300 Subject: [PATCH 1/5] Update dependencies --- composer.lock | 84 ++++++++---- package-lock.json | 318 +++++++++++++++++----------------------------- 2 files changed, 172 insertions(+), 230 deletions(-) diff --git a/composer.lock b/composer.lock index b98be96..ad3b93f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,27 +4,27 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "500fb1b4e94f61d7758ec3ded6e8f38f", + "content-hash": "93a2e5f280a1cf89183ee6018100541b", "packages": [], "packages-dev": [ { "name": "dealerdirect/phpcodesniffer-composer-installer", - "version": "v0.6.2", + "version": "v0.7.0", "source": { "type": "git", "url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git", - "reference": "8001af8eb107fbfcedc31a8b51e20b07d85b457a" + "reference": "e8d808670b8f882188368faaf1144448c169c0b7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/8001af8eb107fbfcedc31a8b51e20b07d85b457a", - "reference": "8001af8eb107fbfcedc31a8b51e20b07d85b457a", + "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/e8d808670b8f882188368faaf1144448c169c0b7", + "reference": "e8d808670b8f882188368faaf1144448c169c0b7", "shasum": "" }, "require": { - "composer-plugin-api": "^1.0", - "php": "^5.3|^7", - "squizlabs/php_codesniffer": "^2|^3" + "composer-plugin-api": "^1.0 || ^2.0", + "php": ">=5.3", + "squizlabs/php_codesniffer": "^2 || ^3 || 4.0.x-dev" }, "require-dev": { "composer/composer": "*", @@ -71,7 +71,11 @@ "stylecheck", "tests" ], - "time": "2020-01-29T20:22:20+00:00" + "support": { + "issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues", + "source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer" + }, + "time": "2020-06-25T14:57:39+00:00" }, { "name": "phpcompatibility/php-compatibility", @@ -129,32 +133,36 @@ "phpcs", "standards" ], + "support": { + "issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues", + "source": "https://github.com/PHPCompatibility/PHPCompatibility" + }, "time": "2019-12-27T09:44:58+00:00" }, { "name": "phpcompatibility/phpcompatibility-paragonie", - "version": "1.3.0", + "version": "1.3.1", "source": { "type": "git", "url": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie.git", - "reference": "b862bc32f7e860d0b164b199bd995e690b4b191c" + "reference": "ddabec839cc003651f2ce695c938686d1086cf43" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityParagonie/zipball/b862bc32f7e860d0b164b199bd995e690b4b191c", - "reference": "b862bc32f7e860d0b164b199bd995e690b4b191c", + "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityParagonie/zipball/ddabec839cc003651f2ce695c938686d1086cf43", + "reference": "ddabec839cc003651f2ce695c938686d1086cf43", "shasum": "" }, "require": { "phpcompatibility/php-compatibility": "^9.0" }, "require-dev": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.5", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7", "paragonie/random_compat": "dev-master", "paragonie/sodium_compat": "dev-master" }, "suggest": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.", "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues." }, "type": "phpcodesniffer-standard", @@ -181,7 +189,11 @@ "polyfill", "standards" ], - "time": "2019-11-04T15:17:54+00:00" + "support": { + "issues": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/issues", + "source": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie" + }, + "time": "2021-02-15T10:24:51+00:00" }, { "name": "phpcompatibility/phpcompatibility-wp", @@ -231,20 +243,24 @@ "standards", "wordpress" ], + "support": { + "issues": "https://github.com/PHPCompatibility/PHPCompatibilityWP/issues", + "source": "https://github.com/PHPCompatibility/PHPCompatibilityWP" + }, "time": "2019-08-28T14:22:28+00:00" }, { "name": "squizlabs/php_codesniffer", - "version": "3.5.4", + "version": "3.5.5", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "dceec07328401de6211037abbb18bda423677e26" + "reference": "73e2e7f57d958e7228fce50dc0c61f58f017f9f6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/dceec07328401de6211037abbb18bda423677e26", - "reference": "dceec07328401de6211037abbb18bda423677e26", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/73e2e7f57d958e7228fce50dc0c61f58f017f9f6", + "reference": "73e2e7f57d958e7228fce50dc0c61f58f017f9f6", "shasum": "" }, "require": { @@ -282,20 +298,25 @@ "phpcs", "standards" ], - "time": "2020-01-30T22:20:29+00:00" + "support": { + "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", + "source": "https://github.com/squizlabs/PHP_CodeSniffer", + "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" + }, + "time": "2020-04-17T01:09:41+00:00" }, { "name": "wp-coding-standards/wpcs", - "version": "2.2.1", + "version": "2.3.0", "source": { "type": "git", "url": "https://github.com/WordPress/WordPress-Coding-Standards.git", - "reference": "b5a453203114cc2284b1a614c4953456fbe4f546" + "reference": "7da1894633f168fe244afc6de00d141f27517b62" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/b5a453203114cc2284b1a614c4953456fbe4f546", - "reference": "b5a453203114cc2284b1a614c4953456fbe4f546", + "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/7da1894633f168fe244afc6de00d141f27517b62", + "reference": "7da1894633f168fe244afc6de00d141f27517b62", "shasum": "" }, "require": { @@ -305,6 +326,7 @@ "require-dev": { "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || ^0.6", "phpcompatibility/php-compatibility": "^9.0", + "phpcsstandards/phpcsdevtools": "^1.0", "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" }, "suggest": { @@ -327,7 +349,12 @@ "standards", "wordpress" ], - "time": "2020-02-04T02:52:06+00:00" + "support": { + "issues": "https://github.com/WordPress/WordPress-Coding-Standards/issues", + "source": "https://github.com/WordPress/WordPress-Coding-Standards", + "wiki": "https://github.com/WordPress/WordPress-Coding-Standards/wiki" + }, + "time": "2020-05-13T23:57:56+00:00" } ], "aliases": [], @@ -337,6 +364,7 @@ "prefer-lowest": false, "platform": [], "platform-dev": { - "php": "^5.4 || ^7" - } + "php": "^7" + }, + "plugin-api-version": "2.0.0" } diff --git a/package-lock.json b/package-lock.json index e368999..d3a13a0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2488,101 +2488,6 @@ "webpack-cli": "^3.3.11", "webpack-livereload-plugin": "^2.3.0", "webpack-sources": "^2.2.0" - }, - "dependencies": { - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "requires": { - "p-locate": "^4.1.0" - } - }, - "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "requires": { - "p-try": "^2.0.0" - } - }, - "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "requires": { - "p-limit": "^2.2.0" - } - }, - "p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true - }, - "path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true - }, - "pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, - "requires": { - "find-up": "^4.0.0" - } - }, - "prettier": { - "version": "npm:wp-prettier@2.2.1-beta-1", - "resolved": "https://registry.npmjs.org/wp-prettier/-/wp-prettier-2.2.1-beta-1.tgz", - "integrity": "sha512-+JHkqs9LC/JPp51yy1hzs3lQ7qeuWCwOcSzpQNeeY/G7oSpnF61vxt7hRh87zNRTr6ob2ndy0W8rVzhgrcA+Gw==", - "dev": true - }, - "puppeteer": { - "version": "npm:puppeteer-core@5.5.0", - "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-5.5.0.tgz", - "integrity": "sha512-tlA+1n+ziW/Db03hVV+bAecDKse8ihFRXYiEypBe9IlLRvOCzYFG6qrCMBYK34HO/Q/Ecjc+tvkHRAfLVH+NgQ==", - "dev": true, - "requires": { - "debug": "^4.1.0", - "devtools-protocol": "0.0.818844", - "extract-zip": "^2.0.0", - "https-proxy-agent": "^4.0.0", - "node-fetch": "^2.6.1", - "pkg-dir": "^4.2.0", - "progress": "^2.0.1", - "proxy-from-env": "^1.0.0", - "rimraf": "^3.0.2", - "tar-fs": "^2.0.0", - "unbzip2-stream": "^1.3.3", - "ws": "^7.2.3" - } - }, - "rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - } } }, "@wordpress/stylelint-config": { @@ -3263,9 +3168,9 @@ "dev": true }, "bl": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.0.3.tgz", - "integrity": "sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", "dev": true, "requires": { "buffer": "^5.5.0", @@ -3274,56 +3179,14 @@ }, "dependencies": { "buffer": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz", - "integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==", + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", "dev": true, "requires": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4" - }, - "dependencies": { - "base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "dev": true - }, - "ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "dev": true - } + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" } - }, - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dev": true, - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "dependencies": { - "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dev": true, - "requires": { - "safe-buffer": "~5.2.0" - } - } - } - }, - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true } } }, @@ -10846,6 +10709,12 @@ "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=", "dev": true }, + "prettier": { + "version": "npm:wp-prettier@2.2.1-beta-1", + "resolved": "https://registry.npmjs.org/wp-prettier/-/wp-prettier-2.2.1-beta-1.tgz", + "integrity": "sha512-+JHkqs9LC/JPp51yy1hzs3lQ7qeuWCwOcSzpQNeeY/G7oSpnF61vxt7hRh87zNRTr6ob2ndy0W8rVzhgrcA+Gw==", + "dev": true + }, "prettier-linter-helpers": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", @@ -11040,6 +10909,95 @@ "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", "dev": true }, + "puppeteer": { + "version": "npm:puppeteer-core@5.5.0", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-5.5.0.tgz", + "integrity": "sha512-tlA+1n+ziW/Db03hVV+bAecDKse8ihFRXYiEypBe9IlLRvOCzYFG6qrCMBYK34HO/Q/Ecjc+tvkHRAfLVH+NgQ==", + "dev": true, + "requires": { + "debug": "^4.1.0", + "devtools-protocol": "0.0.818844", + "extract-zip": "^2.0.0", + "https-proxy-agent": "^4.0.0", + "node-fetch": "^2.6.1", + "pkg-dir": "^4.2.0", + "progress": "^2.0.1", + "proxy-from-env": "^1.0.0", + "rimraf": "^3.0.2", + "tar-fs": "^2.0.0", + "unbzip2-stream": "^1.3.3", + "ws": "^7.2.3" + }, + "dependencies": { + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + }, + "p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, + "pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "requires": { + "find-up": "^4.0.0" + } + }, + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + } + } + }, "q": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", @@ -13333,58 +13291,28 @@ } }, "tar-fs": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.0.tgz", - "integrity": "sha512-9uW5iDvrIMCVpvasdFHW0wJPez0K4JnMZtsuIeDI7HyMGJNxmDZDOCQROr7lXyS+iL/QMpj07qcjGYTSdRFXUg==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz", + "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==", "dev": true, "requires": { "chownr": "^1.1.1", "mkdirp-classic": "^0.5.2", "pump": "^3.0.0", - "tar-stream": "^2.0.0" + "tar-stream": "^2.1.4" } }, "tar-stream": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.1.3.tgz", - "integrity": "sha512-Z9yri56Dih8IaK8gncVPx4Wqt86NDmQTSh49XLZgjWpGZL9GK9HKParS2scqHCC4w6X9Gh2jwaU45V47XTKwVA==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", + "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", "dev": true, "requires": { - "bl": "^4.0.1", + "bl": "^4.0.3", "end-of-stream": "^1.4.1", "fs-constants": "^1.0.0", "inherits": "^2.0.3", "readable-stream": "^3.1.1" - }, - "dependencies": { - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dev": true, - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "dependencies": { - "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dev": true, - "requires": { - "safe-buffer": "~5.2.0" - } - } - } - }, - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true - } } }, "terminal-link": { @@ -13819,27 +13747,13 @@ }, "dependencies": { "buffer": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz", - "integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==", + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", "dev": true, "requires": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4" - }, - "dependencies": { - "base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "dev": true - }, - "ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "dev": true - } + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" } } } From e0ae5b6f06435bfa4dbafc6b97e482c5bb6bf3e3 Mon Sep 17 00:00:00 2001 From: Renatho De Carli Rosa Date: Mon, 1 Mar 2021 11:47:32 -0300 Subject: [PATCH 2/5] Update changelog --- changelog.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/changelog.txt b/changelog.txt index 1d23faf..3faa88e 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,10 @@ *** Changelog *** +2021.03.01 - version 2.1.0 + +* New: Introduce new tools to replace data updates - [#254](https://github.com/woocommerce/sensei-certificates/pull/254) +* Tweak: Update tFPDF version - [#149](https://github.com/woocommerce/sensei-certificates/pull/149), [#256](https://github.com/woocommerce/sensei-certificates/pull/256) + 2020.10.27 - version 2.0.7 * Tweak: Remove JS code that references non-existent selectors - [#247](https://github.com/woocommerce/sensei-certificates/pull/247) * Tweak: Switch to webpack via wordpress-scripts and simplify build - [#241](https://github.com/woocommerce/sensei-certificates/pull/241) From e96b84ccdccd945a95e5248176ab75d91a2741df Mon Sep 17 00:00:00 2001 From: Renatho De Carli Rosa Date: Mon, 1 Mar 2021 11:51:56 -0300 Subject: [PATCH 3/5] Bump version --- package-lock.json | 2 +- package.json | 2 +- readme.txt | 2 +- woothemes-sensei-certificates.php | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index d3a13a0..7b4287b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "sensei-certificates", - "version": "2.0.7", + "version": "2.1.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 29fa9b7..f9acb24 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sensei-certificates", - "version": "2.0.7", + "version": "2.1.0", "description": "Sensei LMS Certificates", "author": "Automattic", "license": "GPL-2.0-or-later", diff --git a/readme.txt b/readme.txt index 0bd89c9..8bd3838 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: certificates, course certificate, sensei lms Requires at least: 5.4 Tested up to: 5.6 Requires PHP: 7.0 -Stable tag: 2.0.7 +Stable tag: 2.1.0 License: GPLv2+ License URI: http://www.gnu.org/licenses/gpl-2.0.html diff --git a/woothemes-sensei-certificates.php b/woothemes-sensei-certificates.php index 0bd4f05..22b472a 100644 --- a/woothemes-sensei-certificates.php +++ b/woothemes-sensei-certificates.php @@ -3,7 +3,7 @@ * Plugin Name: Sensei LMS Certificates * Plugin URI: https://woocommerce.com/products/sensei-certificates/ * Description: Award your students with a certificate of completion and a sense of accomplishment after finishing a course. - * Version: 2.0.7 + * Version: 2.1.0 * Author: Automattic * Author URI: https://automattic.com * Requires at least: 5.4 @@ -16,7 +16,7 @@ exit; } -define( 'SENSEI_CERTIFICATES_VERSION', '2.0.7' ); +define( 'SENSEI_CERTIFICATES_VERSION', '2.1.0' ); define( 'SENSEI_CERTIFICATES_PLUGIN_FILE', __FILE__ ); define( 'SENSEI_CERTIFICATES_PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); From a7e54dbe9309e66f5eefed59fabda00a4ffed6e4 Mon Sep 17 00:00:00 2001 From: Renatho De Carli Rosa Date: Mon, 1 Mar 2021 11:52:58 -0300 Subject: [PATCH 4/5] Update pot file --- lang/sensei-certificates.pot | 135 +++++++++++++++++++++-------------- 1 file changed, 82 insertions(+), 53 deletions(-) diff --git a/lang/sensei-certificates.pot b/lang/sensei-certificates.pot index a7451bc..f21bb13 100644 --- a/lang/sensei-certificates.pot +++ b/lang/sensei-certificates.pot @@ -1,17 +1,17 @@ -# Copyright (C) 2020 Automattic -# This file is distributed under the same license as the Sensei LMS Certificates plugin. +# Copyright (C) 2021 Automattic +# This file is distributed under the GPLv2+. msgid "" msgstr "" -"Project-Id-Version: Sensei LMS Certificates 2.0.7\n" +"Project-Id-Version: Sensei LMS Certificates 2.1.0\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/sensei-certificates\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2020-10-26T20:40:27+00:00\n" +"POT-Creation-Date: 2021-03-01T14:52:12+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"X-Generator: WP-CLI 2.4.0\n" +"X-Generator: WP-CLI 2.5.0-alpha-75cb7e3\n" "X-Domain: sensei-certificates\n" #. Plugin Name of the plugin @@ -115,8 +115,8 @@ msgid "Text to display in the heading." msgstr "" #: admin/post-types/writepanels/writepanel-certificate_data.php:131 -#: classes/class-woothemes-sensei-certificate-templates.php:474 -#: classes/class-woothemes-sensei-certificates.php:795 +#: classes/class-woothemes-sensei-certificate-templates.php:462 +#: classes/class-woothemes-sensei-certificates.php:847 #: sensei-certificates-functions.php:201 msgid "Certificate of Completion" msgstr "" @@ -360,7 +360,7 @@ msgstr "" #: admin/woothemes-sensei-certificate-templates-admin-init.php:242 #: classes/class-woothemes-sensei-certificate-templates.php:192 -#: classes/class-woothemes-sensei-certificates.php:478 +#: classes/class-woothemes-sensei-certificates.php:530 msgid "Course" msgstr "" @@ -465,57 +465,57 @@ msgid "No certificate templates found in Trash" msgstr "" #: classes/class-woothemes-sensei-certificate-templates.php:191 -#: classes/class-woothemes-sensei-certificates.php:477 +#: classes/class-woothemes-sensei-certificates.php:529 msgid "Learner" msgstr "" #: classes/class-woothemes-sensei-certificate-templates.php:193 -#: classes/class-woothemes-sensei-certificates.php:479 +#: classes/class-woothemes-sensei-certificates.php:531 msgid "Date Completed" msgstr "" #: classes/class-woothemes-sensei-certificate-templates.php:194 -#: classes/class-woothemes-sensei-certificates.php:480 +#: classes/class-woothemes-sensei-certificates.php:532 msgid "Actions" msgstr "" #: classes/class-woothemes-sensei-certificate-templates.php:260 -#: classes/class-woothemes-sensei-certificates.php:434 -#: classes/class-woothemes-sensei-certificates.php:544 -#: classes/class-woothemes-sensei-certificates.php:1029 -#: classes/class-woothemes-sensei-certificates.php:1114 +#: classes/class-woothemes-sensei-certificates.php:486 +#: classes/class-woothemes-sensei-certificates.php:596 +#: classes/class-woothemes-sensei-certificates.php:1081 +#: classes/class-woothemes-sensei-certificates.php:1166 msgid "View Certificate" msgstr "" -#: classes/class-woothemes-sensei-certificate-templates.php:448 +#: classes/class-woothemes-sensei-certificate-templates.php:436 msgid "Course Title" msgstr "" -#: classes/class-woothemes-sensei-certificate-templates.php:482 -#: classes/class-woothemes-sensei-certificates.php:802 +#: classes/class-woothemes-sensei-certificate-templates.php:470 +#: classes/class-woothemes-sensei-certificates.php:854 #: sensei-certificates-functions.php:208 msgid "This is to certify that" msgstr "" -#: classes/class-woothemes-sensei-certificate-templates.php:482 -#: classes/class-woothemes-sensei-certificates.php:802 +#: classes/class-woothemes-sensei-certificate-templates.php:470 +#: classes/class-woothemes-sensei-certificates.php:854 #: sensei-certificates-functions.php:208 msgid "has completed the course" msgstr "" #. translators: %s is replaced with the site title -#: classes/class-woothemes-sensei-certificate-templates.php:507 -#: classes/class-woothemes-sensei-certificates.php:826 +#: classes/class-woothemes-sensei-certificate-templates.php:495 +#: classes/class-woothemes-sensei-certificates.php:878 msgid "At %s" msgstr "" -#: classes/class-woothemes-sensei-certificate-templates.php:931 +#: classes/class-woothemes-sensei-certificate-templates.php:921 msgctxt "column name" msgid "Certificate Template" msgstr "" #. translators: %s is replaced with the title of the certificate template -#: classes/class-woothemes-sensei-certificate-templates.php:957 +#: classes/class-woothemes-sensei-certificate-templates.php:947 msgid "Edit %s" msgstr "" @@ -538,120 +538,149 @@ msgstr "" msgid "Sensei LMS Certificates requires that the plugin Sensei (minimum version: %1$s) is installed and activated." msgstr "" -#: classes/class-woothemes-sensei-certificates.php:369 +#: classes/class-woothemes-sensei-certificates.php:421 msgid "Certificate Settings" msgstr "" -#: classes/class-woothemes-sensei-certificates.php:370 +#: classes/class-woothemes-sensei-certificates.php:422 msgid "Options for the Certificate Extension." msgstr "" -#: classes/class-woothemes-sensei-certificates.php:388 +#: classes/class-woothemes-sensei-certificates.php:440 msgid "View in Courses" msgstr "" -#: classes/class-woothemes-sensei-certificates.php:389 +#: classes/class-woothemes-sensei-certificates.php:441 msgid "Show a View Certificate link in the single Course page and the My Courses page." msgstr "" -#: classes/class-woothemes-sensei-certificates.php:396 +#: classes/class-woothemes-sensei-certificates.php:448 msgid "View in Learner Profile" msgstr "" -#: classes/class-woothemes-sensei-certificates.php:397 +#: classes/class-woothemes-sensei-certificates.php:449 msgid "Show a View Certificate link in the Learner Profile page." msgstr "" -#: classes/class-woothemes-sensei-certificates.php:404 +#: classes/class-woothemes-sensei-certificates.php:456 msgid "Public Certificate" msgstr "" -#: classes/class-woothemes-sensei-certificates.php:405 +#: classes/class-woothemes-sensei-certificates.php:457 msgid "Allow the Learner to share their Certificate with the public. (The learner will have to enable this in their profile by going to mysite.com/learner/{learner_username})" msgstr "" -#: classes/class-woothemes-sensei-certificates.php:427 +#: classes/class-woothemes-sensei-certificates.php:479 msgctxt "post type general name" msgid "Certificates" msgstr "" -#: classes/class-woothemes-sensei-certificates.php:428 +#: classes/class-woothemes-sensei-certificates.php:480 msgctxt "post type singular name" msgid "Certificate" msgstr "" -#: classes/class-woothemes-sensei-certificates.php:429 +#: classes/class-woothemes-sensei-certificates.php:481 msgctxt "post type add_new" msgid "Add New Certificate" msgstr "" -#: classes/class-woothemes-sensei-certificates.php:430 +#: classes/class-woothemes-sensei-certificates.php:482 msgid "Add New Certificate" msgstr "" -#: classes/class-woothemes-sensei-certificates.php:431 +#: classes/class-woothemes-sensei-certificates.php:483 msgid "Edit Certificate" msgstr "" -#: classes/class-woothemes-sensei-certificates.php:432 +#: classes/class-woothemes-sensei-certificates.php:484 msgid "New Certificate" msgstr "" -#: classes/class-woothemes-sensei-certificates.php:433 -#: classes/class-woothemes-sensei-certificates.php:439 +#: classes/class-woothemes-sensei-certificates.php:485 +#: classes/class-woothemes-sensei-certificates.php:491 msgid "Certificates" msgstr "" -#: classes/class-woothemes-sensei-certificates.php:435 +#: classes/class-woothemes-sensei-certificates.php:487 msgid "Search Certificates" msgstr "" -#: classes/class-woothemes-sensei-certificates.php:436 +#: classes/class-woothemes-sensei-certificates.php:488 msgid "No certificates found" msgstr "" -#: classes/class-woothemes-sensei-certificates.php:437 +#: classes/class-woothemes-sensei-certificates.php:489 msgid "No certificates found in Trash" msgstr "" #. translators: %1$s is the URL for editing the Course. -#: classes/class-woothemes-sensei-certificates.php:549 +#: classes/class-woothemes-sensei-certificates.php:601 msgid "Set a certificate template on the course in order to view this certificate" msgstr "" -#: classes/class-woothemes-sensei-certificates.php:696 +#: classes/class-woothemes-sensei-certificates.php:748 msgid "You are not allowed to view this Certificate." msgstr "" -#: classes/class-woothemes-sensei-certificates.php:696 -#: classes/class-woothemes-sensei-certificates.php:855 +#: classes/class-woothemes-sensei-certificates.php:748 +#: classes/class-woothemes-sensei-certificates.php:907 msgid "Certificate Error" msgstr "" -#: classes/class-woothemes-sensei-certificates.php:855 +#: classes/class-woothemes-sensei-certificates.php:907 msgid "The certificate you are searching for does not exist." msgstr "" -#: classes/class-woothemes-sensei-certificates.php:1088 +#: classes/class-woothemes-sensei-certificates.php:1140 msgid "Certificate" msgstr "" -#: classes/class-woothemes-sensei-certificates.php:1289 +#: classes/class-woothemes-sensei-certificates.php:1341 msgid "Allow my Certificates to be publicly viewed" msgstr "" -#: classes/class-woothemes-sensei-certificates.php:1289 +#: classes/class-woothemes-sensei-certificates.php:1341 msgid "Save" msgstr "" -#: classes/class-woothemes-sensei-certificates.php:1330 +#: classes/class-woothemes-sensei-certificates.php:1382 msgid "Your Certificates Public View Settings Saved Successfully." msgstr "" -#: classes/class-woothemes-sensei-certificates.php:1391 +#: classes/class-woothemes-sensei-certificates.php:1443 msgid "View certificate" msgstr "" +#: classes/tools/class-sensei-certificates-tool-create-certificates.php:50 +msgid "Create certificates" +msgstr "" + +#: classes/tools/class-sensei-certificates-tool-create-certificates.php:59 +msgid "Creates certificates for learners who have already completed Courses." +msgstr "" + +#: classes/tools/class-sensei-certificates-tool-create-certificates.php:69 +msgid "Certificate records will be created in the background." +msgstr "" + +#. translators: Placeholder %d is the percentage complete. +#: classes/tools/class-sensei-certificates-tool-create-certificates.php:91 +msgid "This task is running in the background and is %d%% complete." +msgstr "" + +#: classes/tools/class-sensei-certificates-tool-create-default-example-template.php:34 +msgid "Create default example certificate template" +msgstr "" + +#: classes/tools/class-sensei-certificates-tool-create-default-example-template.php:43 +msgid "Recreates the example certificate template and sets all courses to use it." +msgstr "" + +#: classes/tools/class-sensei-certificates-tool-create-default-example-template.php:52 +msgid "Example certificate template has been created and all courses have been set to use it." +msgstr "" + #: sensei-certificates-functions.php:147 msgid "Example Template" msgstr "" From d18da19e7e48d768889da32d348e34095259558f Mon Sep 17 00:00:00 2001 From: Renatho De Carli Rosa Date: Tue, 2 Mar 2021 10:26:57 -0300 Subject: [PATCH 5/5] Update changelog date --- changelog.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index 3faa88e..11bb1f0 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,6 +1,6 @@ *** Changelog *** -2021.03.01 - version 2.1.0 +2021.03.02 - version 2.1.0 * New: Introduce new tools to replace data updates - [#254](https://github.com/woocommerce/sensei-certificates/pull/254) * Tweak: Update tFPDF version - [#149](https://github.com/woocommerce/sensei-certificates/pull/149), [#256](https://github.com/woocommerce/sensei-certificates/pull/256)