New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

create-svelte

Package Overview
Dependencies
Maintainers
2
Versions
279
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-svelte - npm Package Compare versions

Comparing version 2.0.0-next.52 to 2.0.0-next.53

dist/templates/default/assets/.gitignore

8

CHANGELOG.md
# create-svelte
## 2.0.0-next.53
### Patch Changes
- 27c2e1d: Fix CSS on demo app hero image
- bbeb58f: Include dotfiles when creating new project
- 6a8e73f: Remove large image from create-svelte
## 2.0.0-next.52

@@ -4,0 +12,0 @@

2

dist/templates/default/files.js.json

@@ -32,3 +32,3 @@ [

"name": "src/routes/index.svelte",
"contents": "<script context=\"module\">\n\texport const prerender = true;\n</script>\n\n<script>\n\timport Counter from '$lib/Counter/index.svelte';\n</script>\n\n<svelte:head>\n\t<title>Home</title>\n</svelte:head>\n\n<section>\n\t<h1>\n\t\t<div class=\"welcome\">\n\t\t\t<picture>\n\t\t\t\t<source srcset=\"svelte-welcome-compressed.webp\" type=\"image/webp\">\n\t\t\t\t<img\n\t\t\t\t\tclass=\"welcome\"\n\t\t\t\t\twidth=\"2048\"\n\t\t\t\t\theight=\"495\"\n\t\t\t\t\tsrc=\"svelte-welcome-compressed.png\"\n\t\t\t\t\talt=\"Welcome\"\n\t\t\t\t/>\n\t\t\t</picture>\n\t\t</div>\n\n\t\tto your new<br />SvelteKit app\n\t</h1>\n\n\t<h2>\n\t\ttry editing <strong>src/routes/index.svelte</strong>\n\t</h2>\n\n\t<Counter />\n</section>\n\n<style>\n\tsection {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\tflex: 1;\n\t}\n\n\th1 {\n\t\twidth: 100%;\n\t}\n\n\t.welcome {\n\t\tposition: relative;\n\t\twidth: 100%;\n\t\theight: 0;\n\t\tpadding: 0 0 calc(100% * 495 / 2048) 0;\n\t}\n\n\t.welcome img {\n\t\tposition: absolute;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\ttop: 0;\n\t\tdisplay: block;\n\t}\n</style>\n"
"contents": "<script context=\"module\">\n\texport const prerender = true;\n</script>\n\n<script>\n\timport Counter from '$lib/Counter/index.svelte';\n</script>\n\n<svelte:head>\n\t<title>Home</title>\n</svelte:head>\n\n<section>\n\t<h1>\n\t\t<div class=\"welcome\">\n\t\t\t<picture>\n\t\t\t\t<source srcset=\"svelte-welcome.webp\" type=\"image/webp\">\n\t\t\t\t<img src=\"svelte-welcome.png\" alt=\"Welcome\"/>\n\t\t\t</picture>\n\t\t</div>\n\n\t\tto your new<br />SvelteKit app\n\t</h1>\n\n\t<h2>\n\t\ttry editing <strong>src/routes/index.svelte</strong>\n\t</h2>\n\n\t<Counter />\n</section>\n\n<style>\n\tsection {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\tflex: 1;\n\t}\n\n\th1 {\n\t\twidth: 100%;\n\t}\n\n\t.welcome {\n\t\tposition: relative;\n\t\twidth: 100%;\n\t\theight: 0;\n\t\tpadding: 0 0 calc(100% * 495 / 2048) 0;\n\t}\n\n\t.welcome img {\n\t\tposition: absolute;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\ttop: 0;\n\t\tdisplay: block;\n\t}\n</style>\n"
},

@@ -35,0 +35,0 @@ {

@@ -32,3 +32,3 @@ [

"name": "src/routes/index.svelte",
"contents": "<script context=\"module\" lang=\"ts\">\n\texport const prerender = true;\n</script>\n\n<script lang=\"ts\">\n\timport Counter from '$lib/Counter/index.svelte';\n</script>\n\n<svelte:head>\n\t<title>Home</title>\n</svelte:head>\n\n<section>\n\t<h1>\n\t\t<div class=\"welcome\">\n\t\t\t<picture>\n\t\t\t\t<source srcset=\"svelte-welcome-compressed.webp\" type=\"image/webp\">\n\t\t\t\t<img\n\t\t\t\t\tclass=\"welcome\"\n\t\t\t\t\twidth=\"2048\"\n\t\t\t\t\theight=\"495\"\n\t\t\t\t\tsrc=\"svelte-welcome-compressed.png\"\n\t\t\t\t\talt=\"Welcome\"\n\t\t\t\t/>\n\t\t\t</picture>\n\t\t</div>\n\n\t\tto your new<br />SvelteKit app\n\t</h1>\n\n\t<h2>\n\t\ttry editing <strong>src/routes/index.svelte</strong>\n\t</h2>\n\n\t<Counter />\n</section>\n\n<style>\n\tsection {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\tflex: 1;\n\t}\n\n\th1 {\n\t\twidth: 100%;\n\t}\n\n\t.welcome {\n\t\tposition: relative;\n\t\twidth: 100%;\n\t\theight: 0;\n\t\tpadding: 0 0 calc(100% * 495 / 2048) 0;\n\t}\n\n\t.welcome img {\n\t\tposition: absolute;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\ttop: 0;\n\t\tdisplay: block;\n\t}\n</style>\n"
"contents": "<script context=\"module\" lang=\"ts\">\n\texport const prerender = true;\n</script>\n\n<script lang=\"ts\">\n\timport Counter from '$lib/Counter/index.svelte';\n</script>\n\n<svelte:head>\n\t<title>Home</title>\n</svelte:head>\n\n<section>\n\t<h1>\n\t\t<div class=\"welcome\">\n\t\t\t<picture>\n\t\t\t\t<source srcset=\"svelte-welcome.webp\" type=\"image/webp\">\n\t\t\t\t<img src=\"svelte-welcome.png\" alt=\"Welcome\"/>\n\t\t\t</picture>\n\t\t</div>\n\n\t\tto your new<br />SvelteKit app\n\t</h1>\n\n\t<h2>\n\t\ttry editing <strong>src/routes/index.svelte</strong>\n\t</h2>\n\n\t<Counter />\n</section>\n\n<style>\n\tsection {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\tflex: 1;\n\t}\n\n\th1 {\n\t\twidth: 100%;\n\t}\n\n\t.welcome {\n\t\tposition: relative;\n\t\twidth: 100%;\n\t\theight: 0;\n\t\tpadding: 0 0 calc(100% * 495 / 2048) 0;\n\t}\n\n\t.welcome img {\n\t\tposition: absolute;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\ttop: 0;\n\t\tdisplay: block;\n\t}\n</style>\n"
},

@@ -35,0 +35,0 @@ {

@@ -11,3 +11,2 @@ {

"@lukeed/uuid": "^2.0.0",
"@sveltejs/adapter-node": "next",
"@sveltejs/kit": "next",

@@ -14,0 +13,0 @@ "cookie": "^0.4.1",

{
"name": "create-svelte",
"version": "2.0.0-next.52",
"version": "2.0.0-next.53",
"bin": "./bin.js",

@@ -28,6 +28,6 @@ "dependencies": {

"build": "node scripts/build-templates",
"lint": "eslint --ignore-path .gitignore \"./*.js\" && npm run check-format",
"format": "prettier --write . --config ../../.prettierrc --ignore-path .gitignore",
"check-format": "prettier --check . --config ../../.prettierrc --ignore-path .gitignore"
"lint": "eslint --ignore-path .gitignore --ignore-path ../../.gitignore \"./*.js\" && npm run check-format",
"format": "prettier --write . --config ../../.prettierrc --ignore-path .gitignore --ignore-path ../../.gitignore",
"check-format": "prettier --check . --config ../../.prettierrc --ignore-path .gitignore --ignore-path ../../.gitignore"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc