From b7f33c6c17233843fe488053e859d96f4d34fa48 Mon Sep 17 00:00:00 2001 From: heyhoe <38322494+h3y6e@users.noreply.github.com> Date: Sun, 22 Jan 2023 18:11:19 +0900 Subject: [PATCH] Update magic-string used by @astrojs/image and @astrojs/webapi (#5930) --- .changeset/lucky-tigers-know.md | 6 ++++++ packages/integrations/image/package.json | 6 +++--- packages/webapi/package.json | 2 +- pnpm-lock.yaml | 10 ++++------ 4 files changed, 14 insertions(+), 10 deletions(-) create mode 100644 .changeset/lucky-tigers-know.md diff --git a/.changeset/lucky-tigers-know.md b/.changeset/lucky-tigers-know.md new file mode 100644 index 000000000000..cf4c6ad00790 --- /dev/null +++ b/.changeset/lucky-tigers-know.md @@ -0,0 +1,6 @@ +--- +'@astrojs/image': patch +'@astrojs/webapi': patch +--- + +Update magic-string from 0.25.9 to 0.27.0 diff --git a/packages/integrations/image/package.json b/packages/integrations/image/package.json index 8d067f84b90a..e4cfe0647f46 100644 --- a/packages/integrations/image/package.json +++ b/packages/integrations/image/package.json @@ -46,7 +46,7 @@ "http-cache-semantics": "^4.1.0", "image-size": "^1.0.2", "kleur": "^4.1.5", - "magic-string": "^0.25.9", + "magic-string": "^0.27.0", "mime": "^3.0.0", "slash": "^4.0.0" }, @@ -64,8 +64,8 @@ "vite": "^4.0.3" }, "peerDependencies": { - "sharp": ">=0.31.0", - "astro": "workspace:^2.0.0-beta.3" + "astro": "workspace:^2.0.0-beta.3", + "sharp": ">=0.31.0" }, "peerDependenciesMeta": { "sharp": { diff --git a/packages/webapi/package.json b/packages/webapi/package.json index 247e089de703..a7f5967c1312 100644 --- a/packages/webapi/package.json +++ b/packages/webapi/package.json @@ -64,7 +64,7 @@ "chai": "^4.3.6", "event-target-shim": "^6.0.2", "formdata-polyfill": "^4.0.10", - "magic-string": "^0.25.9", + "magic-string": "^0.27.0", "mocha": "^9.2.2", "rollup": "^2.79.1", "tslib": "^2.4.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c986fa468f80..5cf0c989ab4a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2687,7 +2687,7 @@ importers: http-cache-semantics: ^4.1.0 image-size: ^1.0.2 kleur: ^4.1.5 - magic-string: ^0.25.9 + magic-string: ^0.27.0 mime: ^3.0.0 mocha: ^9.2.2 rollup-plugin-copy: ^3.4.0 @@ -2699,7 +2699,7 @@ importers: http-cache-semantics: 4.1.0 image-size: 1.0.2 kleur: 4.1.5 - magic-string: 0.25.9 + magic-string: 0.27.0 mime: 3.0.0 slash: 4.0.0 devDependencies: @@ -3575,7 +3575,7 @@ importers: chai: ^4.3.6 event-target-shim: ^6.0.2 formdata-polyfill: ^4.0.10 - magic-string: ^0.25.9 + magic-string: ^0.27.0 mocha: ^9.2.2 rollup: ^2.79.1 tslib: ^2.4.0 @@ -3596,7 +3596,7 @@ importers: chai: 4.3.7 event-target-shim: 6.0.2 formdata-polyfill: 4.0.10 - magic-string: 0.25.9 + magic-string: 0.27.0 mocha: 9.2.2 rollup: 2.79.1 tslib: 2.4.1 @@ -6042,7 +6042,6 @@ packages: /@jridgewell/sourcemap-codec/1.4.14: resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==} - dev: false /@jridgewell/trace-mapping/0.3.17: resolution: {integrity: sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==} @@ -11250,7 +11249,6 @@ packages: engines: {node: '>=12'} dependencies: '@jridgewell/sourcemap-codec': 1.4.14 - dev: false /make-dir/3.1.0: resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==}