Socket
Socket
Sign inDemoInstall

@sveltejs/adapter-static

Package Overview
Dependencies
Maintainers
4
Versions
83
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.45 to 1.0.0-next.46

6

CHANGELOG.md
# @sveltejs/adapter-static
## 1.0.0-next.46
### Patch Changes
- Make options object optional ([#7341](https://github.com/sveltejs/kit/pull/7341))
## 1.0.0-next.45

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

2

index.js

@@ -27,3 +27,3 @@ import path from 'path';

if (dynamic_routes.length > 0 && options.strict) {
if (dynamic_routes.length > 0 && options?.strict !== false) {
const prefix = path.relative('.', builder.config.kit.files.routes);

@@ -30,0 +30,0 @@ const has_param_routes = dynamic_routes.some((route) => route.includes('['));

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

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

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

@@ -34,5 +34,5 @@ "sirv": "^2.0.2",

"check": "tsc",
"format": "npm run lint -- --write",
"format": "pnpm lint --write",
"test": "uvu test test.js"
}
}
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