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

@sveltejs/adapter-static

Package Overview
Dependencies
Maintainers
4
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.11 to 1.0.0-next.12

13

CHANGELOG.md
# @sveltejs/adapter-static
## 1.0.0-next.12
### Patch Changes
- bf77940: bump `polka` and `sirv` dependency versions
- 028abd9: Pass validated svelte config to adapter adapt function
- Updated dependencies [6372690]
- Updated dependencies [c3d36a3]
- Updated dependencies [bf77940]
- Updated dependencies [2172469]
- Updated dependencies [028abd9]
- @sveltejs/kit@1.0.0-next.110
## 1.0.0-next.11

@@ -4,0 +17,0 @@

2

index.d.ts

@@ -1,2 +0,2 @@

declare function plugin(options: {
declare function plugin(options?: {
pages?: string;

@@ -3,0 +3,0 @@ assets?: string;

@@ -8,3 +8,3 @@ /**

*/
export default function ({ pages = 'build', assets = pages, fallback = null } = {}) {
export default function ({ pages = 'build', assets = pages, fallback } = {}) {
/** @type {import('@sveltejs/kit').Adapter} */

@@ -14,3 +14,3 @@ const adapter = {

async adapt(utils) {
async adapt({ utils }) {
utils.copy_static_files(assets);

@@ -17,0 +17,0 @@ utils.copy_client_files(assets);

{
"name": "@sveltejs/adapter-static",
"version": "1.0.0-next.11",
"version": "1.0.0-next.12",
"type": "module",

@@ -11,9 +11,9 @@ "main": "index.js",

"peerDependencies": {
"@sveltejs/kit": "1.0.0-next.109"
"@sveltejs/kit": "1.0.0-next.110"
},
"devDependencies": {
"@sveltejs/kit": "1.0.0-next.109",
"@sveltejs/kit": "1.0.0-next.110",
"playwright-chromium": "^1.10.0",
"port-authority": "^1.1.2",
"sirv": "^1.0.11",
"sirv": "^1.0.12",
"typescript": "^4.2.4"

@@ -20,0 +20,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