From 4b9b5e37e90fab6c556ecf6f2d09a112b8052314 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 20 Jul 2026 09:37:01 +0100 Subject: [PATCH] chore(deps): update dependency magic-string to v1 (#1916) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 11 +++++++++-- test/unit/bundle.spec.ts | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 2f4fdb01..8c67aa2f 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "js-yaml": "^5.0.0", "knitwork": "^1.3.0", "magic-regexp": "0.11.0", - "magic-string": "^0.30.21", + "magic-string": "^1.0.0", "masto": "^7.11.1", "mediabunny": "^1.45.2", "mlly": "^1.8.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b761ab59..4a2f0d62 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -111,8 +111,8 @@ importers: specifier: 0.11.0 version: 0.11.0(esbuild@0.27.7)(rolldown@1.0.1)(rollup@4.60.4)(vite@8.0.13(@types/node@25.6.0)(esbuild@0.27.7)(jiti@2.7.0)(terser@5.48.0)(yaml@2.9.0))(webpack@5.105.2(esbuild@0.27.7)(postcss@8.5.19)) magic-string: - specifier: ^0.30.21 - version: 0.30.21 + specifier: ^1.0.0 + version: 1.0.0 masto: specifier: ^7.11.1 version: 7.11.1 @@ -5524,6 +5524,9 @@ packages: magic-string@0.30.21: resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==} + magic-string@1.0.0: + resolution: {integrity: sha512-CGvjzMN08iv6w1mm4/x3Gh1hLb4VnyRUA15FFpl6CsCIGGoe36k7kY5KNz9QDbSBN5I/fWHM6ZlIkUTa5xdUEA==} + magicast@0.5.2: resolution: {integrity: sha512-E3ZJh4J3S9KfwdjZhe2afj6R9lGIN5Pher1pF39UGrXRqq/VDaGVIGN13BjHd2u8B61hArAGOnso7nBOouW3TQ==} @@ -13400,6 +13403,10 @@ snapshots: dependencies: '@jridgewell/sourcemap-codec': 1.5.5 + magic-string@1.0.0: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.5 + magicast@0.5.2: dependencies: '@babel/parser': 7.29.7 diff --git a/test/unit/bundle.spec.ts b/test/unit/bundle.spec.ts index 7f2ae17a..e556add0 100644 --- a/test/unit/bundle.spec.ts +++ b/test/unit/bundle.spec.ts @@ -91,7 +91,7 @@ describe('project sizes', () => { stats.server = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir) expect .soft(roundToKilobytes(stats.server.totalBytes, 10)) - .toMatchInlineSnapshot(`"2890k"`) + .toMatchInlineSnapshot(`"2900k"`) const modules = await analyzeSizes('node_modules/**/*', serverDir) expect -- knotmirror 0.0.1