Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update all non-major dependencies #902

Merged
merged 3 commits into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,16 @@ module.exports = {
}
},
{
files: ['packages/vite-plugin-svelte-inspector/src/runtime/load-inspector.js'],
files: [
'packages/vite-plugin-svelte-inspector/src/runtime/load-inspector.js',
'packages/vite-plugin-svelte-inspector/src/runtime/Inspector.svelte'
],
env: {
browser: true
browser: true,
node: false
},
rules: {
'n/no-unsupported-features/node-builtins': 'off'
}
},
{
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,30 +25,30 @@
"@changesets/cli": "^2.27.1",
"@svitejs/changesets-changelog-github-compact": "^1.1.0",
"@types/fs-extra": "^11.0.4",
"@types/node": "^20.12.8",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"@types/node": "^20.12.12",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"cross-env": "^7.0.3",
"dts-buddy": "^0.4.7",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-html": "^8.1.1",
"eslint-plugin-markdown": "^5.0.0",
"eslint-plugin-n": "^17.4.0",
"eslint-plugin-n": "^17.7.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-svelte": "^2.38.0",
"eslint-plugin-svelte": "^2.39.0",
"eslint-plugin-unicorn": "^53.0.0",
"execa": "^8.0.1",
"fs-extra": "^11.2.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"node-fetch": "^3.3.2",
"npm-run-all2": "^6.1.2",
"playwright-core": "~1.43.1",
"playwright-core": "~1.44.0",
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.3",
"publint": "^0.2.7",
"svelte": "^5.0.0-next.123",
"svelte": "^5.0.0-next.135",
"typescript": "^5.4.5",
"vite": "^5.2.11",
"vitest": "^1.6.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
},
"type": "module",
"dependencies": {
"svelte": "^5.0.0-next.123"
"svelte": "^5.0.0-next.135"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
},
"dependencies": {
"@types/node": "^20.12.8",
"@types/node": "^20.12.12",
"e2e-test-dep-cjs-only": "file:../cjs-only"
},
"type": "module"
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/autoprefixer-browerslist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"autoprefixer": "^10.4.19",
"postcss": "^8.4.38",
"postcss-load-config": "^5.1.0",
"svelte": "^5.0.0-next.123",
"svelte": "^5.0.0-next.135",
"svelte-preprocess": "^5.1.4",
"vite": "^5.2.11"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/configfile-custom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "workspace:^",
"svelte": "^5.0.0-next.123",
"svelte": "^5.0.0-next.135",
"vite": "^5.2.11"
},
"type": "module"
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/configfile-esm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "workspace:^",
"svelte": "^5.0.0-next.123",
"svelte": "^5.0.0-next.135",
"svelte-preprocess": "^5.1.4",
"vite": "^5.2.11"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/e2e-tests/css-dev-sourcemap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "workspace:^",
"sass": "^1.76.0",
"svelte": "^5.0.0-next.123",
"sass": "^1.77.1",
"svelte": "^5.0.0-next.135",
"vite": "^5.2.11"
}
}
2 changes: 1 addition & 1 deletion packages/e2e-tests/custom-extensions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "workspace:^",
"svelte": "^5.0.0-next.123",
"svelte": "^5.0.0-next.135",
"vite": "^5.2.11"
},
"type": "module"
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/dynamic-compile-options/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "workspace:^",
"svelte": "^5.0.0-next.123",
"svelte": "^5.0.0-next.135",
"vite": "^5.2.11"
},
"type": "module"
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/env/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "workspace:^",
"svelte": "^5.0.0-next.123",
"svelte": "^5.0.0-next.135",
"vite": "^5.2.11"
},
"type": "module"
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/hmr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@sveltejs/vite-plugin-svelte": "workspace:^",
"e2e-test-dep-vite-plugins": "file:../_test_dependencies/vite-plugins",
"node-fetch": "^3.3.2",
"svelte": "^5.0.0-next.123",
"svelte": "^5.0.0-next.135",
"vite": "^5.2.11"
},
"type": "module"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -325,36 +325,7 @@
}
},
"name": "name",
"typeAnnotation": {
"type": "TSTypeAnnotation",
"start": 35,
"end": 43,
"loc": {
"start": {
"line": 2,
"column": 16
},
"end": {
"line": 2,
"column": 24
}
},
"typeAnnotation": {
"type": "TSStringKeyword",
"start": 37,
"end": 43,
"loc": {
"start": {
"line": 2,
"column": 18
},
"end": {
"line": 2,
"column": 24
}
}
}
}
"typeAnnotation": null
},
"init": null
}
Expand Down Expand Up @@ -518,10 +489,10 @@
},
"dependencies": [],
"js": {
"code": "import \"svelte/internal/disclose-version\";\nimport * as $ from \"svelte/internal/client\";\n\nvar root = $.template(`<button class=\"svelte-d8vj6a\"> </button>`);\n\nexport default function Dummy($$anchor, $$props) {\n\tlet clicks = $.mutable_source(0);\n\tvar button = root();\n\tvar text = $.child(button);\n\n\t$.render_effect(() => $.set_text(text, `${$.stringify($$props.name)} clicks: ${$.stringify($.get(clicks))}`));\n\n\t$.event(\n\t\t\"click\",\n\t\tbutton,\n\t\t() => {\n\t\t\t$.update(clicks);\n\t\t},\n\t\tfalse\n\t);\n\n\t$.append($$anchor, button);\n}",
"code": "import \"svelte/internal/disclose-version\";\nimport * as $ from \"svelte/internal/client\";\n\nvar root = $.template(`<button class=\"svelte-d8vj6a\"> </button>`);\n\nexport default function Dummy($$anchor, $$props) {\n\tlet name = $.prop($$props, \"name\");\n\tlet clicks = $.mutable_source(0);\n\tvar button = root();\n\tvar text = $.child(button);\n\n\t$.template_effect(() => $.set_text(text, `${$.stringify(name())} clicks: ${$.stringify($.get(clicks))}`));\n\n\t$.event(\n\t\t\"click\",\n\t\tbutton,\n\t\t() => {\n\t\t\t$.update(clicks);\n\t\t},\n\t\tfalse\n\t);\n\n\t$.append($$anchor, button);\n}",
"map": {
"version": 3,
"mappings": ";;;;;;KAEK,MAAM,oBAAG,CAAC;;;;+DAMV,IAAI,+BAAW,MAAM",
"mappings": ";;;;;;KACY,IAAY;KACnB,MAAM,oBAAG,CAAC;;;;yDAMV,IAAI,iCAAW,MAAM",
"names": [],
"sources": [
"Dummy.svelte"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function Dummy($$anchor, $$props) {
var button = root();
var text = $.child(button);

$.render_effect(() => $.set_text(text, `${$.stringify(name())} clicks: ${$.stringify($.get(clicks))}`));
$.template_effect(() => $.set_text(text, `${$.stringify(name())} clicks: ${$.stringify($.get(clicks))}`));

$.event(
"click",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ import * as $ from "/node_modules/.vite/deps/svelte_internal_client.js?v=XXX";
var root = $.template(`<button class="svelte-d8vj6a"> </button>`);

export default function Dummy($$anchor, $$props) {
let name = $.prop($$props, "name");
let clicks = $.mutable_source(0);
var button = root();
var text = $.child(button);

$.render_effect(() => $.set_text(text, `${$.stringify($$props.name)} clicks: ${$.stringify($.get(clicks))}`));
$.template_effect(() => $.set_text(text, `${$.stringify(name())} clicks: ${$.stringify($.get(clicks))}`));

$.event(
"click",
Expand All @@ -22,4 +23,4 @@ export default function Dummy($$anchor, $$props) {
$.append($$anchor, button);
}

//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6Ijs7Ozs7O0tBRUssTUFBTSxvQkFBRyxDQUFDOzs7OytEQU1WLElBQUksK0JBQVcsTUFBTSIsIm5hbWVzIjpbXSwic291cmNlcyI6WyJEdW1teS5zdmVsdGUiXX0=
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6Ijs7Ozs7O0tBQ1ksSUFBWTtLQUNuQixNQUFNLG9CQUFHLENBQUM7Ozs7eURBTVYsSUFBSSxpQ0FBVyxNQUFNIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIkR1bW15LnN2ZWx0ZSJdfQ==
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const ast={"html":{"type":"Fragment","start":73,"end":149,"children":[{"type":"Text","start":71,"end":73,"raw":"\n\n","data":"\n\n"},{"type":"Element","start":73,"end":149,"name":"button","attributes":[{"start":82,"end":115,"type":"EventHandler","name":"click","modifiers":[],"expression":{"type":"ArrowFunctionExpression","start":92,"end":114,"loc":{"start":{"line":7,"column":11},"end":{"line":9,"column":2}},"id":null,"expression":false,"generator":false,"async":false,"params":[],"body":{"type":"BlockStatement","start":98,"end":114,"loc":{"start":{"line":7,"column":17},"end":{"line":9,"column":2}},"body":[{"type":"ExpressionStatement","start":102,"end":111,"loc":{"start":{"line":8,"column":2},"end":{"line":8,"column":11}},"expression":{"type":"UpdateExpression","start":102,"end":110,"loc":{"start":{"line":8,"column":2},"end":{"line":8,"column":10}},"operator":"++","prefix":false,"argument":{"type":"Identifier","start":102,"end":108,"loc":{"start":{"line":8,"column":2},"end":{"line":8,"column":8}},"name":"clicks"}}}]},"metadata":{"hoistable":false,"hoistable_params":[],"scope":{"root":{"conflicts":{}},"parent":{"root":{"conflicts":{}},"parent":{"root":{"conflicts":{}},"parent":{"root":{"conflicts":{}},"parent":{"root":{"conflicts":{}},"parent":{"root":{"conflicts":{}},"parent":null,"declarations":{},"declarators":{},"references":{},"function_depth":0},"declarations":{},"declarators":{},"references":{},"function_depth":1},"declarations":{},"declarators":{},"references":{},"function_depth":2},"declarations":{},"declarators":{},"references":{},"function_depth":3},"declarations":{},"declarators":{},"references":{},"function_depth":4},"declarations":{},"declarators":{},"references":{},"function_depth":5}}}},{"type":"Attribute","start":-1,"end":-1,"name":"class","value":[{"type":"Text","data":"svelte-d8vj6a","raw":"svelte-d8vj6a","start":-1,"end":-1}]}],"children":[{"type":"MustacheTag","start":116,"end":122,"expression":{"type":"Identifier","start":117,"end":121,"loc":{"start":{"line":9,"column":5},"end":{"line":9,"column":9}},"name":"name"}},{"type":"Text","start":122,"end":131,"raw":" clicks: ","data":" clicks: "},{"type":"MustacheTag","start":131,"end":139,"expression":{"type":"Identifier","start":132,"end":138,"loc":{"start":{"line":9,"column":20},"end":{"line":9,"column":26}},"name":"clicks"}}]},{"type":"Text","start":149,"end":151,"raw":"\n\n","data":"\n\n"}]},"instance":{"type":"Script","start":0,"end":71,"context":"default","content":{"type":"Program","start":18,"end":62,"loc":{"start":{"line":1,"column":0},"end":{"line":4,"column":0}},"body":[{"type":"ExportNamedDeclaration","start":20,"end":44,"loc":{"start":{"line":2,"column":1},"end":{"line":2,"column":25}},"exportKind":"value","declaration":{"type":"VariableDeclaration","start":27,"end":44,"loc":{"start":{"line":2,"column":8},"end":{"line":2,"column":25}},"declarations":[{"type":"VariableDeclarator","start":31,"end":43,"loc":{"start":{"line":2,"column":12},"end":{"line":2,"column":24}},"id":{"type":"Identifier","start":31,"end":24,"loc":{"start":{"line":2,"column":12},"end":{"line":2,"column":24}},"name":"name","typeAnnotation":{"type":"TSTypeAnnotation","start":35,"end":43,"loc":{"start":{"line":2,"column":16},"end":{"line":2,"column":24}},"typeAnnotation":{"type":"TSStringKeyword","start":37,"end":43,"loc":{"start":{"line":2,"column":18},"end":{"line":2,"column":24}}}}},"init":null}],"kind":"let"},"specifiers":[],"source":null},{"type":"VariableDeclaration","start":46,"end":61,"loc":{"start":{"line":3,"column":1},"end":{"line":3,"column":16}},"declarations":[{"type":"VariableDeclarator","start":50,"end":60,"loc":{"start":{"line":3,"column":5},"end":{"line":3,"column":15}},"id":{"type":"Identifier","start":50,"end":56,"loc":{"start":{"line":3,"column":5},"end":{"line":3,"column":11}},"name":"clicks"},"init":{"type":"Literal","start":59,"end":60,"loc":{"start":{"line":3,"column":14},"end":{"line":3,"column":15}},"value":0,"raw":"0"}}],"kind":"let"}],"sourceType":"module"}},"css":{"type":"Style","start":151,"end":206,"attributes":[{"type":"Attribute","start":158,"end":169,"name":"lang","value":[{"start":164,"end":168,"type":"Text","raw":"scss","data":"scss"}]}],"children":[{"type":"Rule","prelude":{"type":"SelectorList","start":170,"end":176,"children":[{"type":"Selector","start":170,"end":176,"children":[{"type":"TypeSelector","name":"button","start":170,"end":176}]}]},"block":{"type":"Block","start":177,"end":198,"children":[{"type":"Declaration","start":181,"end":195,"property":"color","value":"#000099"}]},"start":170,"end":198}],"content":{"start":170,"end":198,"styles":"button {\n color: #000099;\n}","comment":null}}}
export const ast={"html":{"type":"Fragment","start":73,"end":149,"children":[{"type":"Text","start":71,"end":73,"raw":"\n\n","data":"\n\n"},{"type":"Element","start":73,"end":149,"name":"button","attributes":[{"start":82,"end":115,"type":"EventHandler","name":"click","modifiers":[],"expression":{"type":"ArrowFunctionExpression","start":92,"end":114,"loc":{"start":{"line":7,"column":11},"end":{"line":9,"column":2}},"id":null,"expression":false,"generator":false,"async":false,"params":[],"body":{"type":"BlockStatement","start":98,"end":114,"loc":{"start":{"line":7,"column":17},"end":{"line":9,"column":2}},"body":[{"type":"ExpressionStatement","start":102,"end":111,"loc":{"start":{"line":8,"column":2},"end":{"line":8,"column":11}},"expression":{"type":"UpdateExpression","start":102,"end":110,"loc":{"start":{"line":8,"column":2},"end":{"line":8,"column":10}},"operator":"++","prefix":false,"argument":{"type":"Identifier","start":102,"end":108,"loc":{"start":{"line":8,"column":2},"end":{"line":8,"column":8}},"name":"clicks"}}}]},"metadata":{"hoistable":false,"hoistable_params":[],"scope":{"root":{"conflicts":{}},"parent":{"root":{"conflicts":{}},"parent":{"root":{"conflicts":{}},"parent":{"root":{"conflicts":{}},"parent":{"root":{"conflicts":{}},"parent":{"root":{"conflicts":{}},"parent":null,"declarations":{},"declarators":{},"references":{},"function_depth":0},"declarations":{},"declarators":{},"references":{},"function_depth":1},"declarations":{},"declarators":{},"references":{},"function_depth":2},"declarations":{},"declarators":{},"references":{},"function_depth":3},"declarations":{},"declarators":{},"references":{},"function_depth":4},"declarations":{},"declarators":{},"references":{},"function_depth":5}}}},{"type":"Attribute","start":-1,"end":-1,"name":"class","value":[{"type":"Text","data":"svelte-d8vj6a","raw":"svelte-d8vj6a","start":-1,"end":-1}]}],"children":[{"type":"MustacheTag","start":116,"end":122,"expression":{"type":"Identifier","start":117,"end":121,"loc":{"start":{"line":9,"column":5},"end":{"line":9,"column":9}},"name":"name"}},{"type":"Text","start":122,"end":131,"raw":" clicks: ","data":" clicks: "},{"type":"MustacheTag","start":131,"end":139,"expression":{"type":"Identifier","start":132,"end":138,"loc":{"start":{"line":9,"column":20},"end":{"line":9,"column":26}},"name":"clicks"}}]},{"type":"Text","start":149,"end":151,"raw":"\n\n","data":"\n\n"}]},"instance":{"type":"Script","start":0,"end":71,"context":"default","content":{"type":"Program","start":18,"end":62,"loc":{"start":{"line":1,"column":0},"end":{"line":4,"column":0}},"body":[{"type":"ExportNamedDeclaration","start":20,"end":44,"loc":{"start":{"line":2,"column":1},"end":{"line":2,"column":25}},"exportKind":"value","declaration":{"type":"VariableDeclaration","start":27,"end":44,"loc":{"start":{"line":2,"column":8},"end":{"line":2,"column":25}},"declarations":[{"type":"VariableDeclarator","start":31,"end":43,"loc":{"start":{"line":2,"column":12},"end":{"line":2,"column":24}},"id":{"type":"Identifier","start":31,"end":24,"loc":{"start":{"line":2,"column":12},"end":{"line":2,"column":24}},"name":"name","typeAnnotation":null},"init":null}],"kind":"let"},"specifiers":[],"source":null},{"type":"VariableDeclaration","start":46,"end":61,"loc":{"start":{"line":3,"column":1},"end":{"line":3,"column":16}},"declarations":[{"type":"VariableDeclarator","start":50,"end":60,"loc":{"start":{"line":3,"column":5},"end":{"line":3,"column":15}},"id":{"type":"Identifier","start":50,"end":56,"loc":{"start":{"line":3,"column":5},"end":{"line":3,"column":11}},"name":"clicks"},"init":{"type":"Literal","start":59,"end":60,"loc":{"start":{"line":3,"column":14},"end":{"line":3,"column":15}},"value":0,"raw":"0"}}],"kind":"let"}],"sourceType":"module"}},"css":{"type":"Style","start":151,"end":206,"attributes":[{"type":"Attribute","start":158,"end":169,"name":"lang","value":[{"start":164,"end":168,"type":"Text","raw":"scss","data":"scss"}]}],"children":[{"type":"Rule","prelude":{"type":"SelectorList","start":170,"end":176,"children":[{"type":"Selector","start":170,"end":176,"children":[{"type":"TypeSelector","name":"button","start":170,"end":176}]}]},"block":{"type":"Block","start":177,"end":198,"children":[{"type":"Declaration","start":181,"end":195,"property":"color","value":"#000099"}]},"start":170,"end":198}],"content":{"start":170,"end":198,"styles":"button {\n color: #000099;\n}","comment":null}}}
export const css={"code":"button.svelte-d8vj6a {\n color: #000099;\n}","map":{"version":3,"file":"Dummy.svelte","mappings":"AAWkB","names":[],"sources":["Dummy.svelte"]}}
export const dependencies=[]
export const js={"code":"import \"svelte/internal/disclose-version\";\nimport * as $ from \"svelte/internal/client\";\n\nvar root = $.template(`<button class=\"svelte-d8vj6a\"> </button>`);\n\nexport default function Dummy($$anchor, $$props) {\n\tlet clicks = $.mutable_source(0);\n\tvar button = root();\n\tvar text = $.child(button);\n\n\t$.render_effect(() => $.set_text(text, `${$.stringify($$props.name)} clicks: ${$.stringify($.get(clicks))}`));\n\n\t$.event(\n\t\t\"click\",\n\t\tbutton,\n\t\t() => {\n\t\t\t$.update(clicks);\n\t\t},\n\t\tfalse\n\t);\n\n\t$.append($$anchor, button);\n}","map":{"version":3,"mappings":";;;;;;KAEK,MAAM,oBAAG,CAAC;;;;+DAMV,IAAI,+BAAW,MAAM","names":[],"sources":["Dummy.svelte"]}}
export const js={"code":"import \"svelte/internal/disclose-version\";\nimport * as $ from \"svelte/internal/client\";\n\nvar root = $.template(`<button class=\"svelte-d8vj6a\"> </button>`);\n\nexport default function Dummy($$anchor, $$props) {\n\tlet name = $.prop($$props, \"name\");\n\tlet clicks = $.mutable_source(0);\n\tvar button = root();\n\tvar text = $.child(button);\n\n\t$.template_effect(() => $.set_text(text, `${$.stringify(name())} clicks: ${$.stringify($.get(clicks))}`));\n\n\t$.event(\n\t\t\"click\",\n\t\tbutton,\n\t\t() => {\n\t\t\t$.update(clicks);\n\t\t},\n\t\tfalse\n\t);\n\n\t$.append($$anchor, button);\n}","map":{"version":3,"mappings":";;;;;;KACY,IAAY;KACnB,MAAM,oBAAG,CAAC;;;;yDAMV,IAAI,iCAAW,MAAM","names":[],"sources":["Dummy.svelte"]}}
export const lang="ts"
export const metadata={"runes":false}
export const normalizedFilename="/src/Dummy.svelte"
Expand Down
Loading