From 3ae191e2d946655d78e0ec3f59c99baae030cc2b Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Fri, 28 May 2021 19:56:47 -0700 Subject: [PATCH] Upgrade Vite --- .changeset/slow-buses-beam.md | 5 ++++ .../templates/default/package.json | 3 +- packages/kit/package.json | 2 +- pnpm-lock.yaml | 28 +++++++++++-------- 4 files changed, 23 insertions(+), 15 deletions(-) create mode 100644 .changeset/slow-buses-beam.md diff --git a/.changeset/slow-buses-beam.md b/.changeset/slow-buses-beam.md new file mode 100644 index 000000000000..c202a946c6f1 --- /dev/null +++ b/.changeset/slow-buses-beam.md @@ -0,0 +1,5 @@ +--- +'@sveltejs/kit': patch +--- + +Upgrade to Vite 2.3.4 diff --git a/packages/create-svelte/templates/default/package.json b/packages/create-svelte/templates/default/package.json index e2508f211361..03189ad635bc 100644 --- a/packages/create-svelte/templates/default/package.json +++ b/packages/create-svelte/templates/default/package.json @@ -13,8 +13,7 @@ "@sveltejs/kit": "next", "svelte": "^3.38.2", "svelte-preprocess": "^4.7.3", - "typescript": "^4.2.4", - "vite": "^2.3.1" + "typescript": "^4.2.4" }, "type": "module", "dependencies": { diff --git a/packages/kit/package.json b/packages/kit/package.json index 6d5fdf137431..502d0baf8ba5 100644 --- a/packages/kit/package.json +++ b/packages/kit/package.json @@ -6,7 +6,7 @@ "@sveltejs/vite-plugin-svelte": "^1.0.0-next.10", "cheap-watch": "^1.0.3", "sade": "^1.7.4", - "vite": "^2.3.1" + "vite": "2.3.3" }, "devDependencies": { "@rollup/plugin-replace": "^2.4.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ab832ec20f0a..2c3b81a3b828 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -181,7 +181,6 @@ importers: svelte: ^3.38.2 svelte-preprocess: ^4.7.3 typescript: ^4.2.4 - vite: ^2.3.1 dependencies: '@fontsource/fira-mono': 4.2.2 '@lukeed/uuid': 2.0.0 @@ -194,7 +193,6 @@ importers: svelte: 3.38.2 svelte-preprocess: 4.7.3_svelte@3.38.2+typescript@4.2.4 typescript: 4.2.4 - vite: 2.3.1 packages/kit: specifiers: @@ -229,12 +227,12 @@ importers: tiny-glob: ^0.2.8 typescript: ^4.2.4 uvu: ^0.5.1 - vite: ^2.3.1 + vite: 2.3.3 dependencies: - '@sveltejs/vite-plugin-svelte': 1.0.0-next.10_fa3f9f81b9199d842185ad66f92f1626 + '@sveltejs/vite-plugin-svelte': 1.0.0-next.10_92cabc58848f43a8976d66b1396ccdc0 cheap-watch: 1.0.3 sade: 1.7.4 - vite: 2.3.1 + vite: 2.3.3 devDependencies: '@rollup/plugin-replace': 2.4.2_rollup@2.47.0 '@types/amphtml-validator': 1.0.1 @@ -639,7 +637,7 @@ packages: rollup: 2.47.0 dev: false - /@sveltejs/vite-plugin-svelte/1.0.0-next.10_fa3f9f81b9199d842185ad66f92f1626: + /@sveltejs/vite-plugin-svelte/1.0.0-next.10_92cabc58848f43a8976d66b1396ccdc0: resolution: {integrity: sha512-ImvxbhPePm2hWNTKBSA3LHAYGwiEjHjvvgfPLXm4R87sfZ+BMXql9jBmDpzUC/URBLT4BB3Jxos/i523qkJBHg==} engines: {node: '>=12.0.0'} peerDependencies: @@ -655,7 +653,7 @@ packages: source-map: 0.7.3 svelte: 3.38.2 svelte-hmr: 0.14.3_svelte@3.38.2 - vite: 2.3.1 + vite: 2.3.3 transitivePeerDependencies: - rollup - supports-color @@ -1259,6 +1257,7 @@ packages: /colorette/1.2.2: resolution: {integrity: sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==} + dev: false /colors/1.4.0: resolution: {integrity: sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==} @@ -1532,10 +1531,11 @@ packages: requiresBuild: true dev: false - /esbuild/0.11.20: - resolution: {integrity: sha512-QOZrVpN/Yz74xfat0H6euSgn3RnwLevY1mJTEXneukz1ln9qB+ieaerRMzSeETpz/UJWsBMzRVR/andBht5WKw==} + /esbuild/0.11.23: + resolution: {integrity: sha512-iaiZZ9vUF5wJV8ob1tl+5aJTrwDczlvGP0JoMmnpC2B0ppiMCu8n8gmy5ZTGl5bcG081XBVn+U+jP+mPFm5T5Q==} hasBin: true requiresBuild: true + dev: false /escalade/3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} @@ -2540,6 +2540,7 @@ packages: resolution: {integrity: sha512-/2ZUaJX2ANuLtTvqTlgqBQNJoQO398KyJgZloL0PZkC0dpysjncRUPsFe3DUPzz/y3h+u7C46np8RMuvF3jsSQ==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true + dev: false /natural-compare/1.4.0: resolution: {integrity: sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=} @@ -2878,6 +2879,7 @@ packages: colorette: 1.2.2 nanoid: 3.1.22 source-map: 0.6.1 + dev: false /preferred-pm/3.0.3: resolution: {integrity: sha512-+wZgbxNES/KlJs9q40F/1sfOd/j7f1O9JaHcW5Dsn3aUUOZg3L2bjpVUcKV2jvtElYfoTuQiNeMfQJ4kwUAhCQ==} @@ -3227,6 +3229,7 @@ packages: /source-map/0.6.1: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} engines: {node: '>=0.10.0'} + dev: false /source-map/0.7.3: resolution: {integrity: sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==} @@ -3737,17 +3740,18 @@ packages: engines: {node: '>= 0.8'} dev: true - /vite/2.3.1: - resolution: {integrity: sha512-yvcLclv/G0syHL+bBtahdaymH0x6La8kbTlnAssRH+XFvDNb8VPRruHhILCCmZgtx6Zu/UKNFTQnQ4Gk/omyUA==} + /vite/2.3.3: + resolution: {integrity: sha512-eO1iwRbn3/BfkNVMNJDeANAFCZ5NobYOFPu7IqfY7DcI7I9nFGjJIZid0EViTmLDGwwSUPmRAq3cRBbO3+DsMA==} engines: {node: '>=12.0.0'} hasBin: true dependencies: - esbuild: 0.11.20 + esbuild: 0.11.23 postcss: 8.2.14 resolve: 1.20.0 rollup: 2.47.0 optionalDependencies: fsevents: 2.3.2 + dev: false /wcwidth/1.0.1: resolution: {integrity: sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=}