@sveltejs/adapter-static
Advanced tools
Comparing version 1.0.0-next.45 to 1.0.0-next.46
# @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 @@ |
@@ -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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32367