Socket
Socket
Sign inDemoInstall

@sveltejs/adapter-static

Package Overview
Dependencies
Maintainers
4
Versions
82
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 2.0.1 to 2.0.2

4

index.js

@@ -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 @@ /**

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