Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sveltejs/adapter-static

Package Overview
Dependencies
Maintainers
4
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sveltejs/adapter-static - npm Package Compare versions

Comparing version 1.0.0-next.36 to 1.0.0-next.37

6

CHANGELOG.md
# @sveltejs/adapter-static
## 1.0.0-next.37
### Patch Changes
- [breaking] Throws when correctly configured to run as a static site of a SPA ([#5562](https://github.com/sveltejs/kit/pull/5562))
## 1.0.0-next.36

@@ -4,0 +10,0 @@

4

index.js

@@ -17,4 +17,4 @@ import { createReadStream, createWriteStream, statSync } from 'fs';

if (!options?.fallback && !builder.config.kit.prerender.default) {
builder.log.warn(
'You should set `config.kit.prerender.default` to `true` if no fallback is specified'
throw Error(
'adapter-static requires `config.kit.prerender.default` to be `true` unless you set the `fallback: true` option to create a single-page app. See https://github.com/sveltejs/kit/tree/master/packages/adapter-static#spa-mode for more information'
);

@@ -21,0 +21,0 @@ }

{
"name": "@sveltejs/adapter-static",
"version": "1.0.0-next.36",
"version": "1.0.0-next.37",
"repository": {

@@ -25,3 +25,3 @@ "type": "git",

"devDependencies": {
"@sveltejs/kit": "1.0.0-next.372",
"@sveltejs/kit": "1.0.0-next.377",
"@types/node": "^16.11.36",

@@ -33,3 +33,3 @@ "playwright-chromium": "^1.23.3",

"uvu": "^0.5.3",
"vite": "^2.9.13"
"vite": "^3.0.0"
},

@@ -36,0 +36,0 @@ "scripts": {

@@ -13,5 +13,5 @@ {

"svelte": "^3.48.0",
"vite": "^2.9.13"
"vite": "^3.0.0"
},
"type": "module"
}

@@ -15,5 +15,5 @@ {

"svelte": "^3.48.0",
"vite": "^2.9.13"
"vite": "^3.0.0"
},
"type": "module"
}
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