diff --git a/packages/e2e-tests/autoprefixer-browerslist/package.json b/packages/e2e-tests/autoprefixer-browerslist/package.json index 6344aab32..676a35c8a 100644 --- a/packages/e2e-tests/autoprefixer-browerslist/package.json +++ b/packages/e2e-tests/autoprefixer-browerslist/package.json @@ -16,7 +16,7 @@ "postcss": "^8.4.20", "postcss-load-config": "^4.0.1", "svelte": "^3.54.0", - "svelte-preprocess": "^4.10.7", + "svelte-preprocess": "^5.0.0", "vite": "^4.0.0" }, "type": "module" diff --git a/packages/e2e-tests/configfile-esm/package.json b/packages/e2e-tests/configfile-esm/package.json index 5abb86cc3..8799cb9ad 100644 --- a/packages/e2e-tests/configfile-esm/package.json +++ b/packages/e2e-tests/configfile-esm/package.json @@ -13,7 +13,7 @@ "devDependencies": { "@sveltejs/vite-plugin-svelte": "workspace:^", "svelte": "^3.54.0", - "svelte-preprocess": "^4.10.7", + "svelte-preprocess": "^5.0.0", "vite": "^4.0.0" }, "type": "module" diff --git a/packages/e2e-tests/prebundle-svelte-deps/package.json b/packages/e2e-tests/prebundle-svelte-deps/package.json index f61164bbf..bf4a5f89a 100644 --- a/packages/e2e-tests/prebundle-svelte-deps/package.json +++ b/packages/e2e-tests/prebundle-svelte-deps/package.json @@ -19,7 +19,7 @@ "@sveltejs/vite-plugin-svelte": "workspace:^", "sass": "^1.56.2", "svelte": "^3.54.0", - "svelte-preprocess": "^4.10.7", + "svelte-preprocess": "^5.0.0", "vite": "^4.0.0" } } diff --git a/packages/e2e-tests/svelte-preprocess/package.json b/packages/e2e-tests/svelte-preprocess/package.json index 0e3dbc6a6..97e9858b9 100644 --- a/packages/e2e-tests/svelte-preprocess/package.json +++ b/packages/e2e-tests/svelte-preprocess/package.json @@ -11,7 +11,7 @@ "@sveltejs/vite-plugin-svelte": "workspace:^", "sass": "^1.56.2", "svelte": "^3.54.0", - "svelte-preprocess": "^4.10.7", + "svelte-preprocess": "^5.0.0", "typescript": "^4.9.4", "vite": "^4.0.0" }, diff --git a/packages/e2e-tests/ts-type-import/package.json b/packages/e2e-tests/ts-type-import/package.json index 169791b36..7441be55b 100644 --- a/packages/e2e-tests/ts-type-import/package.json +++ b/packages/e2e-tests/ts-type-import/package.json @@ -12,7 +12,7 @@ "@tsconfig/svelte": "^3.0.0", "@types/node": "^18.11.13", "svelte": "^3.54.0", - "svelte-preprocess": "^4.10.7", + "svelte-preprocess": "^5.0.0", "vite": "^4.0.0" }, "type": "module" diff --git a/packages/playground/big-component-library-kit/package.json b/packages/playground/big-component-library-kit/package.json index 1a6076c13..0f25d03f9 100644 --- a/packages/playground/big-component-library-kit/package.json +++ b/packages/playground/big-component-library-kit/package.json @@ -18,7 +18,7 @@ "lodash-es": "^4.17.21", "svelte": "^3.54.0", "svelte-check": "^2.10.2", - "svelte-preprocess": "^4.10.7", + "svelte-preprocess": "^5.0.0", "typescript": "^4.9.4", "vite": "^4.0.0" }, diff --git a/packages/playground/big-component-library-vite-ssr/package.json b/packages/playground/big-component-library-vite-ssr/package.json index 0d1ab300f..d775f0f76 100644 --- a/packages/playground/big-component-library-vite-ssr/package.json +++ b/packages/playground/big-component-library-vite-ssr/package.json @@ -23,7 +23,7 @@ "cross-env": "^7.0.3", "lodash-es": "^4.17.21", "svelte": "^3.54.0", - "svelte-preprocess": "^4.10.7", + "svelte-preprocess": "^5.0.0", "vite": "^4.0.0" } } diff --git a/packages/playground/big-component-library/package.json b/packages/playground/big-component-library/package.json index 301788c38..5c6664d70 100644 --- a/packages/playground/big-component-library/package.json +++ b/packages/playground/big-component-library/package.json @@ -14,7 +14,7 @@ "carbon-icons-svelte": "^11.4.0", "carbon-preprocess-svelte": "^0.9.1", "svelte": "^3.54.0", - "svelte-preprocess": "^4.10.7", + "svelte-preprocess": "^5.0.0", "vite": "^4.0.0" }, "dependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2c1c0748c..afadf602c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -145,7 +145,7 @@ importers: postcss: ^8.4.20 postcss-load-config: ^4.0.1 svelte: ^3.54.0 - svelte-preprocess: ^4.10.7 + svelte-preprocess: ^5.0.0 vite: ^4.0.0 dependencies: e2e-test-dep-svelte-simple: file:packages/e2e-tests/_test_dependencies/svelte-simple @@ -155,7 +155,7 @@ importers: postcss: 8.4.20 postcss-load-config: 4.0.1_postcss@8.4.20 svelte: 3.54.0 - svelte-preprocess: 4.10.7_hanltcsfjyp7l5ysgsovto52gi + svelte-preprocess: 5.0.0_hanltcsfjyp7l5ysgsovto52gi vite: 4.0.0 packages/e2e-tests/configfile-custom: @@ -176,14 +176,14 @@ importers: '@sveltejs/vite-plugin-svelte': workspace:^ e2e-test-dep-svelte-simple: file:../_test_dependencies/svelte-simple svelte: ^3.54.0 - svelte-preprocess: ^4.10.7 + svelte-preprocess: ^5.0.0 vite: ^4.0.0 dependencies: e2e-test-dep-svelte-simple: file:packages/e2e-tests/_test_dependencies/svelte-simple devDependencies: '@sveltejs/vite-plugin-svelte': link:../../vite-plugin-svelte svelte: 3.54.0 - svelte-preprocess: 4.10.7_svelte@3.54.0 + svelte-preprocess: 5.0.0_svelte@3.54.0 vite: 4.0.0 packages/e2e-tests/css-none: @@ -328,7 +328,7 @@ importers: e2e-test-dep-svelte-simple: file:../_test_dependencies/svelte-simple sass: ^1.56.2 svelte: ^3.54.0 - svelte-preprocess: ^4.10.7 + svelte-preprocess: ^5.0.0 vite: ^4.0.0 dependencies: e2e-test-dep-svelte-api-only: file:packages/e2e-tests/_test_dependencies/svelte-api-only @@ -340,7 +340,7 @@ importers: '@sveltejs/vite-plugin-svelte': link:../../vite-plugin-svelte sass: 1.56.2 svelte: 3.54.0 - svelte-preprocess: 4.10.7_sass@1.56.2+svelte@3.54.0 + svelte-preprocess: 5.0.0_sass@1.56.2+svelte@3.54.0 vite: 4.0.0_sass@1.56.2 packages/e2e-tests/preprocess-with-vite: @@ -375,14 +375,14 @@ importers: '@sveltejs/vite-plugin-svelte': workspace:^ sass: ^1.56.2 svelte: ^3.54.0 - svelte-preprocess: ^4.10.7 + svelte-preprocess: ^5.0.0 typescript: ^4.9.4 vite: ^4.0.0 devDependencies: '@sveltejs/vite-plugin-svelte': link:../../vite-plugin-svelte sass: 1.56.2 svelte: 3.54.0 - svelte-preprocess: 4.10.7_qzsefpw3caktxn3x6hfckma6hy + svelte-preprocess: 5.0.0_qzsefpw3caktxn3x6hfckma6hy typescript: 4.9.4 vite: 4.0.0_sass@1.56.2 @@ -392,14 +392,14 @@ importers: '@tsconfig/svelte': ^3.0.0 '@types/node': ^18.11.13 svelte: ^3.54.0 - svelte-preprocess: ^4.10.7 + svelte-preprocess: ^5.0.0 vite: ^4.0.0 devDependencies: '@sveltejs/vite-plugin-svelte': link:../../vite-plugin-svelte '@tsconfig/svelte': 3.0.0 '@types/node': 18.11.13 svelte: 3.54.0 - svelte-preprocess: 4.10.7_svelte@3.54.0 + svelte-preprocess: 5.0.0_svelte@3.54.0 vite: 4.0.0_@types+node@18.11.13 packages/e2e-tests/vite-ssr: @@ -467,7 +467,7 @@ importers: carbon-preprocess-svelte: ^0.9.1 lodash-es: ^4.17.21 svelte: ^3.54.0 - svelte-preprocess: ^4.10.7 + svelte-preprocess: ^5.0.0 vite: ^4.0.0 dependencies: lodash-es: 4.17.21 @@ -477,7 +477,7 @@ importers: carbon-icons-svelte: 11.4.0 carbon-preprocess-svelte: 0.9.1_svelte@3.54.0 svelte: 3.54.0 - svelte-preprocess: 4.10.7_svelte@3.54.0 + svelte-preprocess: 5.0.0_svelte@3.54.0 vite: 4.0.0 packages/playground/big-component-library-kit: @@ -490,7 +490,7 @@ importers: lodash-es: ^4.17.21 svelte: ^3.54.0 svelte-check: ^2.10.2 - svelte-preprocess: ^4.10.7 + svelte-preprocess: ^5.0.0 typescript: ^4.9.4 vite: ^4.0.0 devDependencies: @@ -502,7 +502,7 @@ importers: lodash-es: 4.17.21 svelte: 3.54.0 svelte-check: 2.10.2_svelte@3.54.0 - svelte-preprocess: 4.10.7_vjccw6zkwqrmxudvmy4reaayx4 + svelte-preprocess: 5.0.0_vjccw6zkwqrmxudvmy4reaayx4 typescript: 4.9.4 vite: 4.0.0 @@ -518,7 +518,7 @@ importers: lodash-es: ^4.17.21 sirv: ^2.0.2 svelte: ^3.54.0 - svelte-preprocess: ^4.10.7 + svelte-preprocess: ^5.0.0 vite: ^4.0.0 dependencies: compression: 1.7.4 @@ -532,7 +532,7 @@ importers: cross-env: 7.0.3 lodash-es: 4.17.21 svelte: 3.54.0 - svelte-preprocess: 4.10.7_svelte@3.54.0 + svelte-preprocess: 5.0.0_svelte@3.54.0 vite: 4.0.0 packages/playground/kit-demo-app: @@ -2256,7 +2256,7 @@ packages: - supports-color /concat-map/0.0.1: - resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=} + resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} dev: true /content-disposition/0.5.4: @@ -5242,6 +5242,7 @@ packages: /sourcemap-codec/1.4.8: resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} + deprecated: Please use @jridgewell/sourcemap-codec instead dev: true /spawndamnit/2.0.0: @@ -5484,7 +5485,7 @@ packages: tiny-glob: 0.2.9 dev: true - /svelte-preprocess/4.10.7_hanltcsfjyp7l5ysgsovto52gi: + /svelte-preprocess/4.10.7_vjccw6zkwqrmxudvmy4reaayx4: resolution: {integrity: sha512-sNPBnqYD6FnmdBrUmBCaqS00RyCsCpj2BG58A1JBswNF7b0OKviwxqVrOL/CKyJrLSClrSeqQv5BXNg2RUbPOw==} engines: {node: '>= 9.11.2'} requiresBuild: true @@ -5529,6 +5530,54 @@ packages: '@types/sass': 1.43.1 detect-indent: 6.1.0 magic-string: 0.25.9 + sorcery: 0.10.0 + strip-indent: 3.0.0 + svelte: 3.54.0 + typescript: 4.9.4 + dev: true + + /svelte-preprocess/5.0.0_hanltcsfjyp7l5ysgsovto52gi: + resolution: {integrity: sha512-q7lpa7i2FBu8Pa+G0MmuQQWETBwCKgsGmuq1Sf6n8q4uaG9ZLcLP0Y+etC6bF4sE6EbLxfiI38zV6RfPe3RSfg==} + engines: {node: '>= 14.10.0'} + requiresBuild: true + peerDependencies: + '@babel/core': ^7.10.2 + coffeescript: ^2.5.1 + less: ^3.11.3 || ^4.0.0 + postcss: ^7 || ^8 + postcss-load-config: ^2.1.0 || ^3.0.0 || ^4.0.0 + pug: ^3.0.0 + sass: ^1.26.8 + stylus: ^0.55.0 || ^0.58.0 + sugarss: ^2.0.0 || ^3.0.0 || ^4.0.0 + svelte: ^3.23.0 + typescript: ^3.9.5 || ^4.0.0 + peerDependenciesMeta: + '@babel/core': + optional: true + coffeescript: + optional: true + less: + optional: true + postcss: + optional: true + postcss-load-config: + optional: true + pug: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + typescript: + optional: true + dependencies: + '@types/pug': 2.0.6 + '@types/sass': 1.43.1 + detect-indent: 6.1.0 + magic-string: 0.27.0 postcss: 8.4.20 postcss-load-config: 4.0.1_postcss@8.4.20 sorcery: 0.10.0 @@ -5536,21 +5585,20 @@ packages: svelte: 3.54.0 dev: true - /svelte-preprocess/4.10.7_qzsefpw3caktxn3x6hfckma6hy: - resolution: {integrity: sha512-sNPBnqYD6FnmdBrUmBCaqS00RyCsCpj2BG58A1JBswNF7b0OKviwxqVrOL/CKyJrLSClrSeqQv5BXNg2RUbPOw==} - engines: {node: '>= 9.11.2'} + /svelte-preprocess/5.0.0_qzsefpw3caktxn3x6hfckma6hy: + resolution: {integrity: sha512-q7lpa7i2FBu8Pa+G0MmuQQWETBwCKgsGmuq1Sf6n8q4uaG9ZLcLP0Y+etC6bF4sE6EbLxfiI38zV6RfPe3RSfg==} + engines: {node: '>= 14.10.0'} requiresBuild: true peerDependencies: '@babel/core': ^7.10.2 coffeescript: ^2.5.1 less: ^3.11.3 || ^4.0.0 - node-sass: '*' postcss: ^7 || ^8 postcss-load-config: ^2.1.0 || ^3.0.0 || ^4.0.0 pug: ^3.0.0 sass: ^1.26.8 stylus: ^0.55.0 || ^0.58.0 - sugarss: ^2.0.0 + sugarss: ^2.0.0 || ^3.0.0 || ^4.0.0 svelte: ^3.23.0 typescript: ^3.9.5 || ^4.0.0 peerDependenciesMeta: @@ -5560,8 +5608,6 @@ packages: optional: true less: optional: true - node-sass: - optional: true postcss: optional: true postcss-load-config: @@ -5580,7 +5626,7 @@ packages: '@types/pug': 2.0.6 '@types/sass': 1.43.1 detect-indent: 6.1.0 - magic-string: 0.25.9 + magic-string: 0.27.0 sass: 1.56.2 sorcery: 0.10.0 strip-indent: 3.0.0 @@ -5588,21 +5634,20 @@ packages: typescript: 4.9.4 dev: true - /svelte-preprocess/4.10.7_sass@1.56.2+svelte@3.54.0: - resolution: {integrity: sha512-sNPBnqYD6FnmdBrUmBCaqS00RyCsCpj2BG58A1JBswNF7b0OKviwxqVrOL/CKyJrLSClrSeqQv5BXNg2RUbPOw==} - engines: {node: '>= 9.11.2'} + /svelte-preprocess/5.0.0_sass@1.56.2+svelte@3.54.0: + resolution: {integrity: sha512-q7lpa7i2FBu8Pa+G0MmuQQWETBwCKgsGmuq1Sf6n8q4uaG9ZLcLP0Y+etC6bF4sE6EbLxfiI38zV6RfPe3RSfg==} + engines: {node: '>= 14.10.0'} requiresBuild: true peerDependencies: '@babel/core': ^7.10.2 coffeescript: ^2.5.1 less: ^3.11.3 || ^4.0.0 - node-sass: '*' postcss: ^7 || ^8 postcss-load-config: ^2.1.0 || ^3.0.0 || ^4.0.0 pug: ^3.0.0 sass: ^1.26.8 stylus: ^0.55.0 || ^0.58.0 - sugarss: ^2.0.0 + sugarss: ^2.0.0 || ^3.0.0 || ^4.0.0 svelte: ^3.23.0 typescript: ^3.9.5 || ^4.0.0 peerDependenciesMeta: @@ -5612,8 +5657,6 @@ packages: optional: true less: optional: true - node-sass: - optional: true postcss: optional: true postcss-load-config: @@ -5632,28 +5675,27 @@ packages: '@types/pug': 2.0.6 '@types/sass': 1.43.1 detect-indent: 6.1.0 - magic-string: 0.25.9 + magic-string: 0.27.0 sass: 1.56.2 sorcery: 0.10.0 strip-indent: 3.0.0 svelte: 3.54.0 dev: true - /svelte-preprocess/4.10.7_svelte@3.54.0: - resolution: {integrity: sha512-sNPBnqYD6FnmdBrUmBCaqS00RyCsCpj2BG58A1JBswNF7b0OKviwxqVrOL/CKyJrLSClrSeqQv5BXNg2RUbPOw==} - engines: {node: '>= 9.11.2'} + /svelte-preprocess/5.0.0_svelte@3.54.0: + resolution: {integrity: sha512-q7lpa7i2FBu8Pa+G0MmuQQWETBwCKgsGmuq1Sf6n8q4uaG9ZLcLP0Y+etC6bF4sE6EbLxfiI38zV6RfPe3RSfg==} + engines: {node: '>= 14.10.0'} requiresBuild: true peerDependencies: '@babel/core': ^7.10.2 coffeescript: ^2.5.1 less: ^3.11.3 || ^4.0.0 - node-sass: '*' postcss: ^7 || ^8 postcss-load-config: ^2.1.0 || ^3.0.0 || ^4.0.0 pug: ^3.0.0 sass: ^1.26.8 stylus: ^0.55.0 || ^0.58.0 - sugarss: ^2.0.0 + sugarss: ^2.0.0 || ^3.0.0 || ^4.0.0 svelte: ^3.23.0 typescript: ^3.9.5 || ^4.0.0 peerDependenciesMeta: @@ -5663,8 +5705,6 @@ packages: optional: true less: optional: true - node-sass: - optional: true postcss: optional: true postcss-load-config: @@ -5683,27 +5723,26 @@ packages: '@types/pug': 2.0.6 '@types/sass': 1.43.1 detect-indent: 6.1.0 - magic-string: 0.25.9 + magic-string: 0.27.0 sorcery: 0.10.0 strip-indent: 3.0.0 svelte: 3.54.0 dev: true - /svelte-preprocess/4.10.7_vjccw6zkwqrmxudvmy4reaayx4: - resolution: {integrity: sha512-sNPBnqYD6FnmdBrUmBCaqS00RyCsCpj2BG58A1JBswNF7b0OKviwxqVrOL/CKyJrLSClrSeqQv5BXNg2RUbPOw==} - engines: {node: '>= 9.11.2'} + /svelte-preprocess/5.0.0_vjccw6zkwqrmxudvmy4reaayx4: + resolution: {integrity: sha512-q7lpa7i2FBu8Pa+G0MmuQQWETBwCKgsGmuq1Sf6n8q4uaG9ZLcLP0Y+etC6bF4sE6EbLxfiI38zV6RfPe3RSfg==} + engines: {node: '>= 14.10.0'} requiresBuild: true peerDependencies: '@babel/core': ^7.10.2 coffeescript: ^2.5.1 less: ^3.11.3 || ^4.0.0 - node-sass: '*' postcss: ^7 || ^8 postcss-load-config: ^2.1.0 || ^3.0.0 || ^4.0.0 pug: ^3.0.0 sass: ^1.26.8 stylus: ^0.55.0 || ^0.58.0 - sugarss: ^2.0.0 + sugarss: ^2.0.0 || ^3.0.0 || ^4.0.0 svelte: ^3.23.0 typescript: ^3.9.5 || ^4.0.0 peerDependenciesMeta: @@ -5713,8 +5752,6 @@ packages: optional: true less: optional: true - node-sass: - optional: true postcss: optional: true postcss-load-config: @@ -5733,7 +5770,7 @@ packages: '@types/pug': 2.0.6 '@types/sass': 1.43.1 detect-indent: 6.1.0 - magic-string: 0.25.9 + magic-string: 0.27.0 sorcery: 0.10.0 strip-indent: 3.0.0 svelte: 3.54.0