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

@sveltejs/adapter-static

Package Overview
Dependencies
Maintainers
3
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.2 to 1.0.0-next.3

6

CHANGELOG.md
# @sveltejs/adapter-static
## 1.0.0-next.3
### Patch Changes
- f35a5cd: Change adapter signature
## 1.0.0-next.2

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

20

index.js

@@ -1,11 +0,13 @@

'use strict';
export default function ({ pages = 'build', assets = 'build' } = {}) {
return {
async adapt(builder) {
builder.copy_static_files(assets);
builder.copy_client_files(assets);
export default async function adapter(builder, { pages = 'build', assets = 'build' } = {}) {
builder.copy_static_files(assets);
builder.copy_client_files(assets);
await builder.prerender({
force: true,
dest: pages
});
await builder.prerender({
force: true,
dest: pages
});
}
};
}
{
"name": "@sveltejs/adapter-static",
"version": "1.0.0-next.2",
"version": "1.0.0-next.3",
"type": "module",

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

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