@sveltejs/adapter-static
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -1,2 +0,2 @@ | ||
import path from 'path'; | ||
import path from 'node:path'; | ||
import { platforms } from './platforms.js'; | ||
@@ -28,3 +28,3 @@ | ||
You have the following options: | ||
- set the \`fallback\` option — see https://github.com/sveltejs/kit/tree/master/packages/adapter-static#spa-mode for more info. | ||
- set the \`fallback\` option — see https://kit.svelte.dev/docs/single-page-apps#usage for more info. | ||
- add \`export const prerender = true\` to your root \`+layout.js/.ts\` or \`+layout.server.js/.ts\` file. This will try to prerender all pages. | ||
@@ -31,0 +31,0 @@ - add \`export const prerender = true\` to any \`+server.js/ts\` files that are not fetched by page \`load\` functions. |
{ | ||
"name": "@sveltejs/adapter-static", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Adapter for SvelteKit apps that prerenders your entire site as a collection of static files", | ||
"repository": { | ||
@@ -28,7 +29,7 @@ "type": "git", | ||
"sirv": "^2.0.2", | ||
"svelte": "^3.55.1", | ||
"svelte": "^3.56.0", | ||
"typescript": "^4.9.4", | ||
"uvu": "^0.5.6", | ||
"vite": "^4.0.4", | ||
"@sveltejs/kit": "^1.5.3" | ||
"vite": "^4.2.0", | ||
"@sveltejs/kit": "^1.15.3" | ||
}, | ||
@@ -35,0 +36,0 @@ "peerDependencies": { |
@@ -1,2 +0,2 @@ | ||
import fs from 'fs'; | ||
import fs from 'node:fs'; | ||
@@ -3,0 +3,0 @@ /** |
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
8210
1