From 96372477c893eeb6892c268b3893e944ec0aac9e Mon Sep 17 00:00:00 2001 From: Eric Jinks <3147296+Jinksi@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:15:00 +1000 Subject: [PATCH] =?UTF-8?q?Upgrade=20`@woocommerce/csv-export`=20to=20v1.1?= =?UTF-8?q?0.0=20=E2=80=93=20fixes=20unnecessary=20escaping=20of=20negativ?= =?UTF-8?q?e=20values=20in=20CSV=20exports=20(#10028)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...303-upgrade-woocommerce-csv-export-package | 4 + package-lock.json | 83 ++++++++++--------- package.json | 4 +- 3 files changed, 49 insertions(+), 42 deletions(-) create mode 100644 changelog/fix-9303-upgrade-woocommerce-csv-export-package diff --git a/changelog/fix-9303-upgrade-woocommerce-csv-export-package b/changelog/fix-9303-upgrade-woocommerce-csv-export-package new file mode 100644 index 00000000000..db23bab80b2 --- /dev/null +++ b/changelog/fix-9303-upgrade-woocommerce-csv-export-package @@ -0,0 +1,4 @@ +Significance: patch +Type: fix + +Upgrade `@woocommerce/csv-export` package to v1.10.0 – fixes unnecessary escaping of negative values in CSV exports that was preventing numerical analysis in spreadsheet applications diff --git a/package-lock.json b/package-lock.json index 083ed1adf12..1ddaf7a4ded 100644 --- a/package-lock.json +++ b/package-lock.json @@ -48,7 +48,7 @@ "@typescript-eslint/parser": "4.15.2", "@woocommerce/api": "0.2.0", "@woocommerce/components": "12.3.0", - "@woocommerce/csv-export": "1.9.0", + "@woocommerce/csv-export": "1.10.0", "@woocommerce/currency": "4.3.0", "@woocommerce/date": "4.2.0", "@woocommerce/dependency-extraction-webpack-plugin": "2.2.0", @@ -10969,6 +10969,11 @@ "react-dom": ">=16.8.0" } }, + "node_modules/@woocommerce/components/node_modules/@types/node": { + "version": "16.18.122", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.122.tgz", + "integrity": "sha512-rF6rUBS80n4oK16EW8nE75U+9fw0SSUgoPtWSvHhPXdT7itbvmS7UjB/jyM8i3AkvI6yeSM5qCwo+xN0npGDHg==" + }, "node_modules/@woocommerce/components/node_modules/@types/react": { "version": "17.0.80", "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.80.tgz", @@ -10989,6 +10994,19 @@ "@types/wordpress__rich-text": "*" } }, + "node_modules/@woocommerce/components/node_modules/@woocommerce/csv-export": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@woocommerce/csv-export/-/csv-export-1.9.0.tgz", + "integrity": "sha512-fo1byPYTljic8ml5HxvxafdhrYc8pMYXqjlGZtZ9xNxWL2yffXJvskbcb7Kj6JSQhHT3BCh/5PlczJci9vQuDQ==", + "dependencies": { + "@types/node": "^16.18.68", + "browser-filesaver": "^1.1.1" + }, + "engines": { + "node": "^20.11.1", + "pnpm": "^9.1.0" + } + }, "node_modules/@woocommerce/components/node_modules/@wordpress/api-fetch": { "version": "6.55.0", "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-6.55.0.tgz", @@ -11652,23 +11670,19 @@ } }, "node_modules/@woocommerce/csv-export": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@woocommerce/csv-export/-/csv-export-1.9.0.tgz", - "integrity": "sha512-fo1byPYTljic8ml5HxvxafdhrYc8pMYXqjlGZtZ9xNxWL2yffXJvskbcb7Kj6JSQhHT3BCh/5PlczJci9vQuDQ==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@woocommerce/csv-export/-/csv-export-1.10.0.tgz", + "integrity": "sha512-OckWCp52fGFcyK2lwBJyiheBbvUFl0dO3Ai6tSfX+jApJa8SUlx9txhwKVSz4Xnpo+nH0B0SPHjoPtQeQeXa2w==", + "dev": true, "dependencies": { - "@types/node": "^16.18.68", + "@types/node": "20.x.x", "browser-filesaver": "^1.1.1" }, "engines": { "node": "^20.11.1", - "pnpm": "^9.1.0" + "pnpm": "9.1.3" } }, - "node_modules/@woocommerce/csv-export/node_modules/@types/node": { - "version": "16.18.102", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.102.tgz", - "integrity": "sha512-eSe2YwGCcRjqPidxfm20IAq02krERWcIIJW4FNPkU0zQLbc4L9pvhsmB0p6UJecjEf0j/E2ERHsKq7madvthKw==" - }, "node_modules/@woocommerce/currency": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/@woocommerce/currency/-/currency-4.3.0.tgz", @@ -13775,6 +13789,24 @@ "pnpm": "^8.12.1" } }, + "node_modules/@woocommerce/onboarding/node_modules/@types/node": { + "version": "16.18.122", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.122.tgz", + "integrity": "sha512-rF6rUBS80n4oK16EW8nE75U+9fw0SSUgoPtWSvHhPXdT7itbvmS7UjB/jyM8i3AkvI6yeSM5qCwo+xN0npGDHg==" + }, + "node_modules/@woocommerce/onboarding/node_modules/@woocommerce/csv-export": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@woocommerce/csv-export/-/csv-export-1.9.0.tgz", + "integrity": "sha512-fo1byPYTljic8ml5HxvxafdhrYc8pMYXqjlGZtZ9xNxWL2yffXJvskbcb7Kj6JSQhHT3BCh/5PlczJci9vQuDQ==", + "dependencies": { + "@types/node": "^16.18.68", + "browser-filesaver": "^1.1.1" + }, + "engines": { + "node": "^20.11.1", + "pnpm": "^9.1.0" + } + }, "node_modules/@woocommerce/onboarding/node_modules/@woocommerce/experimental": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/@woocommerce/experimental/-/experimental-3.2.0.tgz", @@ -20443,23 +20475,6 @@ "node": ">= 10.13.0" } }, - "node_modules/@wordpress/scripts/node_modules/rechoir/node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", - "dev": true, - "dependencies": { - "is-core-module": "^2.13.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/@wordpress/scripts/node_modules/rimraf": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", @@ -20655,18 +20670,6 @@ "node": ">=8" } }, - "node_modules/@wordpress/scripts/node_modules/supports-hyperlinks/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/@wordpress/scripts/node_modules/type-fest": { "version": "0.20.2", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", diff --git a/package.json b/package.json index f634378e064..cf6c7f7b843 100644 --- a/package.json +++ b/package.json @@ -115,7 +115,7 @@ "@typescript-eslint/parser": "4.15.2", "@woocommerce/api": "0.2.0", "@woocommerce/components": "12.3.0", - "@woocommerce/csv-export": "1.9.0", + "@woocommerce/csv-export": "1.10.0", "@woocommerce/currency": "4.3.0", "@woocommerce/date": "4.2.0", "@woocommerce/dependency-extraction-webpack-plugin": "2.2.0", @@ -215,7 +215,7 @@ "overrides": { "@automattic/puppeteer-utils": "github:Automattic/puppeteer-utils#update/babel-deps", "@woocommerce/components": { - "@woocommerce/csv-export": "1.9.0", + "@woocommerce/csv-export": "1.10.0", "@woocommerce/currency": "4.3.0" }, "@wordpress/scripts": {