@nosecone/sveltekit 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +8 -9
package/index.js CHANGED
@@ -72,7 +72,7 @@ function directivesToSvelteKitConfig(directives) {
72
72
  sveltekitDirectives[key] = true;
73
73
  }
74
74
  else {
75
- // @ts-ignore because we're mapping to SvelteKit options
75
+ // @ts-expect-error because we're mapping to SvelteKit options
76
76
  sveltekitDirectives[key] = values.map(unquote);
77
77
  }
78
78
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nosecone/sveltekit",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Protect your SvelteKit application with secure headers",
5
5
  "keywords": [
6
6
  "arcjet",
@@ -49,26 +49,25 @@
49
49
  "scripts": {
50
50
  "build": "rollup --config rollup.config.js",
51
51
  "lint": "eslint .",
52
- "prepublishOnly": "npm run build",
53
52
  "test-api": "node --test -- test/*.test.js",
54
53
  "test-coverage": "node --experimental-test-coverage --test -- test/*.test.js",
55
54
  "test": "npm run build && npm run lint && npm run test-coverage"
56
55
  },
57
56
  "dependencies": {
58
- "nosecone": "1.0.0"
57
+ "nosecone": "1.1.0"
59
58
  },
60
59
  "peerDependencies": {
61
60
  "@sveltejs/kit": ">=2"
62
61
  },
63
62
  "devDependencies": {
64
- "@arcjet/eslint-config": "1.0.0",
65
- "@arcjet/rollup-config": "1.0.0",
66
- "@rollup/wasm-node": "4.55.1",
67
- "@sveltejs/kit": "2.49.5",
63
+ "@arcjet/eslint-config": "1.1.0",
64
+ "@arcjet/rollup-config": "1.1.0",
65
+ "@rollup/wasm-node": "4.57.0",
66
+ "@sveltejs/kit": "2.50.1",
68
67
  "@sveltejs/vite-plugin-svelte": "6.2.4",
69
- "@types/node": "25.0.8",
68
+ "@types/node": "25.1.0",
70
69
  "eslint": "9.39.2",
71
- "svelte": "5.46.4",
70
+ "svelte": "5.49.0",
72
71
  "typescript": "5.9.3",
73
72
  "vite": "7.3.1"
74
73
  },