Skip to content

Commit

Permalink
chore: upgrade rollup and esbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Nov 25, 2023
1 parent a7f8bdc commit 6a8e411
Show file tree
Hide file tree
Showing 14 changed files with 322 additions and 217 deletions.
5 changes: 5 additions & 0 deletions .changeset/nervous-cups-argue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/adapter-node': minor
---

chore: upgrade rollup
8 changes: 8 additions & 0 deletions .changeset/silent-donuts-push.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@sveltejs/adapter-cloudflare-workers': minor
'@sveltejs/adapter-cloudflare': minor
'@sveltejs/adapter-netlify': minor
'@sveltejs/adapter-vercel': minor
---

chore: upgrade esbuild
5 changes: 5 additions & 0 deletions .changeset/unlucky-crabs-wonder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/enhanced-img': patch
---

chore: upgrade vite-imagetools
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
},
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@sveltejs/eslint-config": "^6.0.4",
"@svitejs/changesets-changelog-github-compact": "^1.1.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
Expand All @@ -33,7 +30,6 @@
"eslint-plugin-unicorn": "^49.0.0",
"playwright": "1.30.0",
"prettier": "^3.1.0",
"rollup": "^3.29.4",
"svelte": "^4.2.7",
"typescript": "^4.9.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-cloudflare-workers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"dependencies": {
"@cloudflare/workers-types": "^4.20230404.0",
"@iarna/toml": "^2.2.5",
"esbuild": "^0.18.11"
"esbuild": "^0.19.3"
},
"devDependencies": {
"@cloudflare/kv-asset-handler": "^0.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"dependencies": {
"@cloudflare/workers-types": "^4.20230404.0",
"esbuild": "^0.18.11",
"esbuild": "^0.19.3",
"worktop": "0.8.0-next.15"
},
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions packages/adapter-netlify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,18 @@
},
"dependencies": {
"@iarna/toml": "^2.2.5",
"esbuild": "^0.18.11",
"esbuild": "^0.19.3",
"set-cookie-parser": "^2.6.0"
},
"devDependencies": {
"@netlify/functions": "^2.0.1",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@sveltejs/kit": "workspace:^",
"@types/node": "^16.18.6",
"@types/set-cookie-parser": "^2.4.2",
"rollup": "^3.29.4",
"rollup": "^4.2.0",
"typescript": "^4.9.4",
"vitest": "^0.34.5"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/adapter-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
"vitest": "^0.34.5"
},
"dependencies": {
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"rollup": "^3.7.0"
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"rollup": "^4.2.0"
},
"peerDependencies": {
"@sveltejs/kit": "^1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"dependencies": {
"@vercel/nft": "^0.24.0",
"esbuild": "^0.18.11"
"esbuild": "^0.19.3"
},
"devDependencies": {
"@sveltejs/kit": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/enhanced-img/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"dependencies": {
"magic-string": "^0.30.0",
"svelte-parse-markup": "^0.1.1",
"vite-imagetools": "^6.2.4"
"vite-imagetools": "^6.2.5"
},
"devDependencies": {
"@types/estree": "^1.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/enhanced-img/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export async function enhancedImages() {
function image_plugin(imagetools_plugin) {
/**
* @type {{
* plugin_context: import('rollup').PluginContext
* plugin_context: import('vite').Rollup.PluginContext
* imagetools_plugin: import('vite').Plugin
* }}
*/
Expand Down
4 changes: 2 additions & 2 deletions packages/enhanced-img/src/preprocessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const OPTIMIZABLE = /^[^?]+\.(avif|heif|gif|jpeg|jpg|png|tiff|webp)(\?.*)?$/;

/**
* @param {{
* plugin_context: import('rollup').PluginContext
* plugin_context: import('vite').Rollup.PluginContext
* imagetools_plugin: import('vite').Plugin
* }} opts
* @returns {import('svelte/types/compiler/preprocess').PreprocessorGroup}
Expand Down Expand Up @@ -144,7 +144,7 @@ function is_quote(content, index) {

/**
* @param {{
* plugin_context: import('rollup').PluginContext
* plugin_context: import('vite').Rollup.PluginContext
* imagetools_plugin: import('vite').Plugin
* }} opts
* @param {string} url
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@types/sade": "^1.7.4",
"@types/set-cookie-parser": "^2.4.2",
"dts-buddy": "^0.2.4",
"rollup": "^3.29.4",
"rollup": "^4.2.0",
"svelte": "^4.2.7",
"svelte-preprocess": "^5.1.1",
"typescript": "^4.9.4",
Expand Down
Loading

0 comments on commit 6a8e411

Please sign in to comment.