From ebdbba6ed7620a938aa547a8bbddfb6aacb6b2c1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 20 Jan 2024 03:04:37 +0000 Subject: [PATCH 1/2] chore(deps): Bump browserslist-to-esbuild from 1.2.0 to 2.1.1 Bumps [browserslist-to-esbuild](https://github.com/marcofugaro/browserslist-to-esbuild) from 1.2.0 to 2.1.1. - [Release notes](https://github.com/marcofugaro/browserslist-to-esbuild/releases) - [Commits](https://github.com/marcofugaro/browserslist-to-esbuild/compare/v1.2.0...v2.1.1) --- updated-dependencies: - dependency-name: browserslist-to-esbuild dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 29 +++++++++++++++++++++++------ package.json | 2 +- 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5b1271a..a4cbfad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@rollup/plugin-replace": "^5.0.5", "@vitejs/plugin-vue2": "^2.3.1", - "browserslist-to-esbuild": "^1.2.0", + "browserslist-to-esbuild": "^2.1.1", "magic-string": "^0.30.5", "rollup-plugin-corejs": "^1.0.0-beta.2", "rollup-plugin-esbuild-minify": "^1.1.1", @@ -3668,14 +3668,20 @@ } }, "node_modules/browserslist-to-esbuild": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/browserslist-to-esbuild/-/browserslist-to-esbuild-1.2.0.tgz", - "integrity": "sha512-ftrrbI/VHBgEnmnSyhkqvQVMp6jAKybfs0qMIlm7SLBrQTGMsdCIP4q3BoKeLsZTBQllIQtY9kbxgRYV2WU47g==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/browserslist-to-esbuild/-/browserslist-to-esbuild-2.1.1.tgz", + "integrity": "sha512-KN+mty6C3e9AN8Z5dI1xeN15ExcRNeISoC3g7V0Kax/MMF9MSoYA2G7lkTTcVUFntiEjkpI0HNgqJC1NjdyNUw==", "dependencies": { - "browserslist": "^4.17.3" + "meow": "^13.0.0" + }, + "bin": { + "browserslist-to-esbuild": "cli/index.js" }, "engines": { - "node": ">=12" + "node": ">=18" + }, + "peerDependencies": { + "browserslist": "*" } }, "node_modules/bser": { @@ -8501,6 +8507,17 @@ "safe-buffer": "^5.1.2" } }, + "node_modules/meow": { + "version": "13.1.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-13.1.0.tgz", + "integrity": "sha512-o5R/R3Tzxq0PJ3v3qcQJtSvSE9nKOLSAaDuuoMzDVuGTwHdccMWcYomh9Xolng2tjT6O/Y83d+0coVGof6tqmA==", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/merge-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", diff --git a/package.json b/package.json index d9b71ee..abadf61 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "dependencies": { "@rollup/plugin-replace": "^5.0.5", "@vitejs/plugin-vue2": "^2.3.1", - "browserslist-to-esbuild": "^1.2.0", + "browserslist-to-esbuild": "^2.1.1", "magic-string": "^0.30.5", "rollup-plugin-corejs": "^1.0.0-beta.2", "rollup-plugin-esbuild-minify": "^1.1.1", From b80d1916e3b0a885884cd4627b61a3e92836be43 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Sat, 27 Jan 2024 01:14:31 +0100 Subject: [PATCH 2/2] chore: Add `browserslist` as peer dependency Signed-off-by: Ferdinand Thiessen --- package-lock.json | 31 ++++++++++++++++--------------- package.json | 3 ++- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index a4cbfad..6fe5071 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "rollup-plugin-license": "^3.2.0", "rollup-plugin-node-externals": "^6.1.2", "vite-plugin-css-injected-by-js": "^3.3.1", - "vite-plugin-dts": "^3.7.1", + "vite-plugin-dts": "^3.7.2", "vite-plugin-node-polyfills": "^0.19.0" }, "devDependencies": { @@ -35,6 +35,7 @@ "npm": "^9 || ^10" }, "peerDependencies": { + "browserslist": ">=4.0", "sass": ">=1.60", "vite": "^4 || ^5" } @@ -3637,9 +3638,9 @@ } }, "node_modules/browserslist": { - "version": "4.22.2", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.2.tgz", - "integrity": "sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A==", + "version": "4.22.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.3.tgz", + "integrity": "sha512-UAp55yfwNv0klWNapjs/ktHoguxuQNGnOzxYmfnXIS+8AsRDZkSDxg7R1AX3GKzn078SBI5dzwzj/Yx0Or0e3A==", "funding": [ { "type": "opencollective", @@ -3655,8 +3656,8 @@ } ], "dependencies": { - "caniuse-lite": "^1.0.30001565", - "electron-to-chromium": "^1.4.601", + "caniuse-lite": "^1.0.30001580", + "electron-to-chromium": "^1.4.648", "node-releases": "^2.0.14", "update-browserslist-db": "^1.0.13" }, @@ -3799,9 +3800,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001570", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001570.tgz", - "integrity": "sha512-+3e0ASu4sw1SWaoCtvPeyXp+5PsjigkSt8OXZbF9StH5pQWbxEjLAZE3n8Aup5udop1uRiKA7a4utUk/uoSpUw==", + "version": "1.0.30001580", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001580.tgz", + "integrity": "sha512-mtj5ur2FFPZcCEpXFy8ADXbDACuNFXg6mxVDqp7tqooX6l3zwm+d8EPoeOSIFRDvHs8qu7/SLFOGniULkcH2iA==", "funding": [ { "type": "opencollective", @@ -4420,9 +4421,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.615", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.615.tgz", - "integrity": "sha512-/bKPPcgZVUziECqDc+0HkT87+0zhaWSZHNXqF8FLd2lQcptpmUFwoCSWjCdOng9Gdq+afKArPdEg/0ZW461Eng==" + "version": "1.4.648", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.648.tgz", + "integrity": "sha512-EmFMarXeqJp9cUKu/QEciEApn0S/xRcpZWuAm32U7NgoZCimjsilKXHRO9saeEW55eHZagIDg6XTUOv32w9pjg==" }, "node_modules/elliptic": { "version": "6.5.4", @@ -10539,9 +10540,9 @@ } }, "node_modules/vite-plugin-dts": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/vite-plugin-dts/-/vite-plugin-dts-3.7.1.tgz", - "integrity": "sha512-VZJckNFpVfRAkmOxhGT5OgTUVWVXxkNQqLpBUuiNGAr9HbtvmvsPLo2JB3Xhn+o/Z9+CT6YZfYa4bX9SGR5hNw==", + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/vite-plugin-dts/-/vite-plugin-dts-3.7.2.tgz", + "integrity": "sha512-kg//1nDA01b8rufJf4TsvYN8LMkdwv0oBYpiQi6nRwpHyue+wTlhrBiqgipdFpMnW1oOYv6ywmzE5B0vg6vSEA==", "dependencies": { "@microsoft/api-extractor": "7.39.0", "@rollup/pluginutils": "^5.1.0", diff --git a/package.json b/package.json index abadf61..9f95fab 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "test:coverage": "vitest run --coverage.enabled --coverage.all" }, "peerDependencies": { + "browserslist": ">=4.0", "sass": ">=1.60", "vite": "^4 || ^5" }, @@ -43,7 +44,7 @@ "rollup-plugin-license": "^3.2.0", "rollup-plugin-node-externals": "^6.1.2", "vite-plugin-css-injected-by-js": "^3.3.1", - "vite-plugin-dts": "^3.7.1", + "vite-plugin-dts": "^3.7.2", "vite-plugin-node-polyfills": "^0.19.0" }, "devDependencies": {