From bf42d6a962698cdc2ffe3c4a3ca9540f7231d20c Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Fri, 20 Sep 2024 18:27:30 +0100 Subject: [PATCH] chore: dedupe lockfile + update snapshot --- pnpm-lock.yaml | 95 ++++++++++++++++++++++----------------------- test/bundle.test.ts | 4 +- 2 files changed, 49 insertions(+), 50 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 215bd721d5..0725e63666 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -215,7 +215,7 @@ importers: version: 2.0.0 ignore: specifier: ^6.0.1 - version: 6.0.1 + version: 6.0.2 jiti: specifier: 2.0.0-rc.1 version: 2.0.0-rc.1 @@ -360,7 +360,7 @@ importers: version: 5.5.3 ignore: specifier: ^6.0.1 - version: 6.0.1 + version: 6.0.2 impound: specifier: ^0.1.0 version: 0.1.0(rollup@4.22.2)(webpack-sources@3.2.3) @@ -2190,8 +2190,8 @@ packages: '@shikijs/core@1.17.6': resolution: {integrity: sha512-9ztslig6/YmCg/XwESAXbKjAjOhaq6HVced9NY6qcbDz1X5g/S90Wco2vMjBNX/6V71ASkzri76JewSGPa7kiQ==} - '@shikijs/core@1.17.7': - resolution: {integrity: sha512-ZnIDxFu/yvje3Q8owSHaEHd+bu/jdWhHAaJ17ggjXofHx5rc4bhpCSW+OjC6smUBi5s5dd023jWtZ1gzMu/yrw==} + '@shikijs/core@1.18.0': + resolution: {integrity: sha512-VK4BNVCd2leY62Nm2JjyxtRLkyrZT/tv104O81eyaCjHq4Adceq2uJVFJJAIof6lT1mBwZrEo2qT/T+grv3MQQ==} '@shikijs/engine-javascript@1.17.0': resolution: {integrity: sha512-EiBVlxmzJZdC2ypzn8k+vxLngbBNgHLS4RilwrFOABGRc72kUZubbD/6Chrq2RcVtD3yq1GtiiIdFMGd9BTX3Q==} @@ -2199,8 +2199,8 @@ packages: '@shikijs/engine-javascript@1.17.6': resolution: {integrity: sha512-5EEZj8tVcierNxm4V0UMS2PVoflb0UJPalWWV8l9rRg+oOfnr5VivqBJbkyq5grltVPvByIXvVbY8GSM/356jQ==} - '@shikijs/engine-javascript@1.17.7': - resolution: {integrity: sha512-wwSf7lKPsm+hiYQdX+1WfOXujtnUG6fnN4rCmExxa4vo+OTmvZ9B1eKauilvol/LHUPrQgW12G3gzem7pY5ckw==} + '@shikijs/engine-javascript@1.18.0': + resolution: {integrity: sha512-qoP/aO/ATNwYAUw1YMdaip/YVEstMZEgrwhePm83Ll9OeQPuxDZd48szZR8oSQNQBT8m8UlWxZv8EA3lFuyI5A==} '@shikijs/engine-oniguruma@1.17.0': resolution: {integrity: sha512-nsXzJGLQ0fhKmA4Gwt1cF7vC8VuZ1HSDrTRuj48h/qDeX/TzmOlTDXQ3uPtyuhyg/2rbZRzNhN8UFU4fSnQfXg==} @@ -2208,14 +2208,14 @@ packages: '@shikijs/engine-oniguruma@1.17.6': resolution: {integrity: sha512-NLfWDMXFYe0nDHFbEoyZdz89aIIey3bTfF3zLYSUNTXks5s4uinZVmuPOFf1HfTeGqIn8uErJSBc3VnpJO7Alw==} - '@shikijs/engine-oniguruma@1.17.7': - resolution: {integrity: sha512-pvSYGnVeEIconU28NEzBXqSQC/GILbuNbAHwMoSfdTBrobKAsV1vq2K4cAgiaW1TJceLV9QMGGh18hi7cCzbVQ==} + '@shikijs/engine-oniguruma@1.18.0': + resolution: {integrity: sha512-B9u0ZKI/cud+TcmF8Chyh+R4V5qQVvyDOqXC2l2a4x73PBSBc6sZ0JRAX3eqyJswqir6ktwApUUGBYePdKnMJg==} '@shikijs/transformers@1.17.0': resolution: {integrity: sha512-C/s6z0knkWBVRG6cmklTUn+70URKVE8qlQuFg6Bi/9iqpX68NZloZhxCtVHeTd56pit15hivTlgSAY+SP7C8hA==} - '@shikijs/twoslash@1.17.7': - resolution: {integrity: sha512-GAD5UMD69aL5WiXfrWWZRLVekK3060cV/Qg2a8ZjSVdN8VwjZIw25UmbF5b/3QJxKdSvTirg0senL5gTb+NHJw==} + '@shikijs/twoslash@1.18.0': + resolution: {integrity: sha512-nbv1vEiNlM9GbXpN0++5QiT2NdUbAJ6y8yBuMWIiT04dxD3tdl7Ud3TL6hAZ6CAwMGn5hRaN+2va2oN1Rsy1Ww==} '@shikijs/types@1.17.0': resolution: {integrity: sha512-Tvu2pA69lbpXB+MmgIaROP1tio8y0uYvKb5Foh3q0TJBTAJuaoa5eDEtS/0LquyveacsiVrYF4uEZILju+7Ybg==} @@ -2223,8 +2223,8 @@ packages: '@shikijs/types@1.17.6': resolution: {integrity: sha512-ndTFa2TJi2w51ddKQDn3Jy8f6K4E5Q2x3dA3Hmsd3+YmxDQ10UWHjcw7VbVbKzv3VcUvYPLy+z9neqytSzUMUg==} - '@shikijs/types@1.17.7': - resolution: {integrity: sha512-+qA4UyhWLH2q4EFd+0z4K7GpERDU+c+CN2XYD3sC+zjvAr5iuwD1nToXZMt1YODshjkEGEDV86G7j66bKjqDdg==} + '@shikijs/types@1.18.0': + resolution: {integrity: sha512-O9N36UEaGGrxv1yUrN2nye7gDLG5Uq0/c1LyfmxsvzNPqlHzWo9DI0A4+fhW2y3bGKuQu/fwS7EPdKJJCowcVA==} '@shikijs/vitepress-twoslash@1.17.0': resolution: {integrity: sha512-FcdZUtF1jL51fZfkITd1qEnmnVe/w8lnOGhEWptMqMNvMYzB8vxDv5y+E1zvE+rw0NbBuWtOmZea3WOah1nr6g==} @@ -4376,6 +4376,9 @@ packages: hast-util-to-html@9.0.2: resolution: {integrity: sha512-RP5wNpj5nm1Z8cloDv4Sl4RS8jH5HYa0v93YB6Wb4poEzgMo/dAAL0KcT4974dCjcNG5pkLqTImeFHHCwwfY3g==} + hast-util-to-html@9.0.3: + resolution: {integrity: sha512-M17uBDzMJ9RPCqLMO92gNNUDuBSq10a25SDBI08iCCxmorf4Yy6sYHK57n9WAbRAAaU+DuR4W6GN9K4DFZesYg==} + hast-util-to-parse5@8.0.0: resolution: {integrity: sha512-3KKrV5ZVI8if87DVSi1vDeByYrkGzg4mEfeu4alwgmmIeARiBLKCZS2uw5Gb6nU9x9Yufyj3iudm6i7nl52PFw==} @@ -4509,11 +4512,6 @@ packages: resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} engines: {node: '>= 4'} - ignore@6.0.1: - resolution: {integrity: sha512-9hCx6FGveEYzwsldacntlq0RdPsTjOAALVL4nqi1O8JU6OIzzchHELMNE9f+6ZMtuHG1vd+owvczaMhu6EM2Xw==} - engines: {node: '>= 4'} - deprecated: this package has been deprecated due to issues - ignore@6.0.2: resolution: {integrity: sha512-InwqeHHN2XpumIkMvpl/DCJVrAHgCsG5+cn1XlnLWGwtZBm8QJfSusItfrwx81CTp5agNZqpKU2J/ccC5nGT4A==} engines: {node: '>= 4'} @@ -5101,10 +5099,6 @@ packages: resolution: {integrity: sha512-UERzLsxzllchadvbPs5aolHh65ISpKpM+ccLbOJ8/vvpBKmAWf+la7dXFy7Mr0ySHbdHrFv5kGFCUHHe6GFEmw==} engines: {node: '>= 4.0.0'} - memfs@4.11.1: - resolution: {integrity: sha512-LZcMTBAgqUUKNXZagcZxvXXfgF1bHX7Y7nQ0QyEiNbRJgE29GhgPd8Yna1VQcLlPiHt/5RFJMWYN9Uv/VPNvjQ==} - engines: {node: '>= 4.0.0'} - memfs@4.12.0: resolution: {integrity: sha512-74wDsex5tQDSClVkeK1vtxqYCAgCoXxx+K4NSHzgU/muYVYByFqa+0RnrPO9NM6naWm1+G9JmZ0p6QHhXmeYfA==} engines: {node: '>= 4.0.0'} @@ -8239,7 +8233,7 @@ snapshots: '@nuxt/scripts@0.9.2(@nuxt/devtools@1.5.0(rollup@4.22.2)(vite@5.4.7(@types/node@20.16.5)(sass@1.78.0)(terser@5.32.0))(vue@3.5.7(typescript@5.6.2))(webpack-sources@3.2.3))(@unocss/webpack@0.62.3(rollup@4.22.2)(webpack@5.94.0(esbuild@0.23.1)))(@vue/compiler-core@3.5.7)(change-case@5.4.4)(ioredis@5.4.1)(nuxt@packages+nuxt)(postcss@8.4.47)(rollup@4.22.2)(typescript@5.6.2)(vite@5.4.7(@types/node@20.16.5)(sass@1.78.0)(terser@5.32.0))(vue@3.5.7(typescript@5.6.2))(webpack-sources@3.2.3)(webpack@5.94.0(esbuild@0.23.1))': dependencies: - '@nuxt/devtools-kit': 1.4.2(vite@5.4.7(@types/node@20.16.5)(sass@1.78.0)(terser@5.32.0)) + '@nuxt/devtools-kit': 1.5.0(vite@5.4.7(@types/node@20.16.5)(sass@1.78.0)(terser@5.32.0)) '@nuxt/devtools-ui-kit': 1.4.2(@nuxt/devtools@1.5.0(rollup@4.22.2)(vite@5.4.7(@types/node@20.16.5)(sass@1.78.0)(terser@5.32.0))(vue@3.5.7(typescript@5.6.2))(webpack-sources@3.2.3))(@unocss/webpack@0.62.3(rollup@4.22.2)(webpack@5.94.0(esbuild@0.23.1)))(@vue/compiler-core@3.5.7)(change-case@5.4.4)(nuxt@packages+nuxt)(postcss@8.4.47)(rollup@4.22.2)(vite@5.4.7(@types/node@20.16.5)(sass@1.78.0)(terser@5.32.0))(vue@3.5.7(typescript@5.6.2))(webpack@5.94.0(esbuild@0.23.1)) '@nuxt/kit': link:packages/kit '@types/google.maps': 3.58.0 @@ -8651,14 +8645,14 @@ snapshots: '@types/hast': 3.0.4 hast-util-to-html: 9.0.2 - '@shikijs/core@1.17.7': + '@shikijs/core@1.18.0': dependencies: - '@shikijs/engine-javascript': 1.17.7 - '@shikijs/engine-oniguruma': 1.17.7 - '@shikijs/types': 1.17.7 + '@shikijs/engine-javascript': 1.18.0 + '@shikijs/engine-oniguruma': 1.18.0 + '@shikijs/types': 1.18.0 '@shikijs/vscode-textmate': 9.2.2 '@types/hast': 3.0.4 - hast-util-to-html: 9.0.2 + hast-util-to-html: 9.0.3 '@shikijs/engine-javascript@1.17.0': dependencies: @@ -8671,9 +8665,9 @@ snapshots: '@shikijs/types': 1.17.6 oniguruma-to-js: 0.4.3 - '@shikijs/engine-javascript@1.17.7': + '@shikijs/engine-javascript@1.18.0': dependencies: - '@shikijs/types': 1.17.7 + '@shikijs/types': 1.18.0 '@shikijs/vscode-textmate': 9.2.2 oniguruma-to-js: 0.4.3 @@ -8687,19 +8681,19 @@ snapshots: '@shikijs/types': 1.17.6 '@shikijs/vscode-textmate': 9.2.2 - '@shikijs/engine-oniguruma@1.17.7': + '@shikijs/engine-oniguruma@1.18.0': dependencies: - '@shikijs/types': 1.17.7 + '@shikijs/types': 1.18.0 '@shikijs/vscode-textmate': 9.2.2 '@shikijs/transformers@1.17.0': dependencies: shiki: 1.17.0 - '@shikijs/twoslash@1.17.7(typescript@5.6.2)': + '@shikijs/twoslash@1.18.0(typescript@5.6.2)': dependencies: - '@shikijs/core': 1.17.7 - '@shikijs/types': 1.17.7 + '@shikijs/core': 1.18.0 + '@shikijs/types': 1.18.0 twoslash: 0.2.11(typescript@5.6.2) transitivePeerDependencies: - supports-color @@ -8715,14 +8709,14 @@ snapshots: '@shikijs/vscode-textmate': 9.2.2 '@types/hast': 3.0.4 - '@shikijs/types@1.17.7': + '@shikijs/types@1.18.0': dependencies: '@shikijs/vscode-textmate': 9.2.2 '@types/hast': 3.0.4 '@shikijs/vitepress-twoslash@1.17.0(@nuxt/kit@packages+kit)(typescript@5.6.2)': dependencies: - '@shikijs/twoslash': 1.17.7(typescript@5.6.2) + '@shikijs/twoslash': 1.18.0(typescript@5.6.2) floating-vue: 5.2.2(@nuxt/kit@packages+kit)(vue@3.5.7(typescript@5.6.2)) mdast-util-from-markdown: 2.0.1 mdast-util-gfm: 3.0.0 @@ -11435,6 +11429,20 @@ snapshots: stringify-entities: 4.0.4 zwitch: 2.0.4 + hast-util-to-html@9.0.3: + dependencies: + '@types/hast': 3.0.4 + '@types/unist': 3.0.3 + ccount: 2.0.1 + comma-separated-tokens: 2.0.3 + hast-util-whitespace: 3.0.0 + html-void-elements: 3.0.0 + mdast-util-to-hast: 13.2.0 + property-information: 6.5.0 + space-separated-tokens: 2.0.2 + stringify-entities: 4.0.4 + zwitch: 2.0.4 + hast-util-to-parse5@8.0.0: dependencies: '@types/hast': 3.0.4 @@ -11558,8 +11566,6 @@ snapshots: ignore@5.3.2: {} - ignore@6.0.1: {} - ignore@6.0.2: {} image-meta@0.2.1: {} @@ -12221,13 +12227,6 @@ snapshots: dependencies: fs-monkey: 1.0.6 - memfs@4.11.1: - dependencies: - '@jsonjoy.com/json-pack': 1.1.0(tslib@2.7.0) - '@jsonjoy.com/util': 1.3.0(tslib@2.7.0) - tree-dump: 1.0.2(tslib@2.7.0) - tslib: 2.7.0 - memfs@4.12.0: dependencies: '@jsonjoy.com/json-pack': 1.1.0(tslib@2.7.0) @@ -14846,7 +14845,7 @@ snapshots: webpack-dev-middleware@7.4.2(webpack@5.94.0): dependencies: colorette: 2.0.20 - memfs: 4.11.1 + memfs: 4.12.0 mime-types: 2.1.35 on-finished: 2.4.1 range-parser: 1.2.1 @@ -14871,7 +14870,7 @@ snapshots: webpack@5.94.0: dependencies: - '@types/estree': 1.0.5 + '@types/estree': 1.0.6 '@webassemblyjs/ast': 1.12.1 '@webassemblyjs/wasm-edit': 1.12.1 '@webassemblyjs/wasm-parser': 1.12.1 @@ -14901,7 +14900,7 @@ snapshots: webpack@5.94.0(esbuild@0.23.1): dependencies: - '@types/estree': 1.0.5 + '@types/estree': 1.0.6 '@webassemblyjs/ast': 1.12.1 '@webassemblyjs/wasm-edit': 1.12.1 '@webassemblyjs/wasm-parser': 1.12.1 diff --git a/test/bundle.test.ts b/test/bundle.test.ts index ec4dc393f6..9d3c4fbd2c 100644 --- a/test/bundle.test.ts +++ b/test/bundle.test.ts @@ -40,7 +40,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot(`"207k"`) const modules = await analyzeSizes(['node_modules/**/*'], serverDir) - expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot(`"1387k"`) + expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot(`"1388k"`) const packages = modules.files .filter(m => m.endsWith('package.json')) @@ -78,7 +78,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM const serverDir = join(rootDir, '.output-inline/server') const serverStats = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir) - expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot(`"555k"`) + expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot(`"556k"`) const modules = await analyzeSizes(['node_modules/**/*'], serverDir) expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot(`"88.2k"`)