From ff12150b7cd533e3c2c1be51f93d437855ec7ad3 Mon Sep 17 00:00:00 2001 From: louwie17 Date: Fri, 19 Nov 2021 17:03:54 -0400 Subject: [PATCH] Remove @woocommerce/settings package, that is not used (https://github.com/woocommerce/woocommerce-admin/pull/7949) * Remove @woocommerce/settings package, that is not used * Add changelog --- .../changelogs/dev-remove_unused_package | 4 +++ plugins/woocommerce-admin/package-lock.json | 33 +++++-------------- plugins/woocommerce-admin/package.json | 1 - 3 files changed, 12 insertions(+), 26 deletions(-) create mode 100644 plugins/woocommerce-admin/changelogs/dev-remove_unused_package diff --git a/plugins/woocommerce-admin/changelogs/dev-remove_unused_package b/plugins/woocommerce-admin/changelogs/dev-remove_unused_package new file mode 100644 index 00000000000..5594134ac3a --- /dev/null +++ b/plugins/woocommerce-admin/changelogs/dev-remove_unused_package @@ -0,0 +1,4 @@ +Significance: minor +Type: Dev + +Remove unused npm package @woocommerce/settings. #7949 diff --git a/plugins/woocommerce-admin/package-lock.json b/plugins/woocommerce-admin/package-lock.json index 746595bd15c..64707833bab 100644 --- a/plugins/woocommerce-admin/package-lock.json +++ b/plugins/woocommerce-admin/package-lock.json @@ -1,6 +1,6 @@ { "name": "@woocommerce/admin-library", - "version": "2.9.0-dev", + "version": "3.0.0-dev", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -1573,22 +1573,6 @@ "regenerator-runtime": "^0.13.4" } }, - "@babel/runtime-corejs2": { - "version": "7.5.5", - "resolved": "https://registry.npmjs.org/@babel/runtime-corejs2/-/runtime-corejs2-7.5.5.tgz", - "integrity": "sha512-FYATQVR00NSNi7mUfpPDp7E8RYMXDuO8gaix7u/w3GekfUinKgX1AcTxs7SoiEmoEW9mbpjrwqWSW6zCmw5h8A==", - "requires": { - "core-js": "^2.6.5", - "regenerator-runtime": "^0.13.2" - }, - "dependencies": { - "core-js": { - "version": "2.6.12", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz", - "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==" - } - } - }, "@babel/runtime-corejs3": { "version": "7.15.3", "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.15.3.tgz", @@ -10906,6 +10890,7 @@ "@wordpress/hooks": "2.11.0", "@wordpress/i18n": "3.17.0", "@wordpress/url": "2.21.0", + "dompurify": "^2.3.3", "md5": "^2.3.0", "qs": "6.9.6", "rememo": "^3.0.0" @@ -10931,6 +10916,12 @@ } } } + }, + "dompurify": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.3.3.tgz", + "integrity": "sha512-dqnqRkPMAjOZE0FogZ+ceJNM2dZ3V/yNOuFB7+39qpO93hHhfRpHw3heYQC7DPK9FqbQTfBKUJhiSfz4MvXYwg==", + "dev": true } } }, @@ -13246,14 +13237,6 @@ } } }, - "@woocommerce/settings": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@woocommerce/settings/-/settings-1.0.0.tgz", - "integrity": "sha512-BjrT56Cz8XTRHw2JNPmANRkYh2rzdF33wOa56lah1qb/MjHUKuVJ0PTSZ19S5Trb92IkxfcIVB26CSdxXnf5Og==", - "requires": { - "@babel/runtime-corejs2": "7.5.5" - } - }, "@woocommerce/style-build": { "version": "file:packages/style-build", "dev": true, diff --git a/plugins/woocommerce-admin/package.json b/plugins/woocommerce-admin/package.json index 48cbe771982..25a766955f8 100644 --- a/plugins/woocommerce-admin/package.json +++ b/plugins/woocommerce-admin/package.json @@ -94,7 +94,6 @@ "@woocommerce/api": "0.2.0", "@woocommerce/e2e-environment": "0.2.2", "@woocommerce/e2e-utils": "0.1.5", - "@woocommerce/settings": "^1.0.0", "@wordpress/api-fetch": "2.2.8", "@wordpress/base-styles": "3.3.0", "@wordpress/components": "11.1.3",