iron-session 9.0.0 → 9.0.1
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.
- package/MIGRATION.md +1 -2
- package/README.md +0 -6
- package/package.json +21 -19
package/MIGRATION.md
CHANGED
package/README.md
CHANGED
|
@@ -46,12 +46,6 @@ The session data is stored in signed and encrypted cookies which are decoded by
|
|
|
46
46
|
pnpm add iron-session
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
Prereleases are published under the `beta` tag:
|
|
50
|
-
|
|
51
|
-
```sh
|
|
52
|
-
pnpm add iron-session@beta
|
|
53
|
-
```
|
|
54
|
-
|
|
55
49
|
v9 needs **Node 22.13 or later** and is **ESM-only**. `require()` still works on
|
|
56
50
|
Node 22.13+, which supports `require()` of an ES module. If you are stuck on an
|
|
57
51
|
older Node, stay on v8: `pnpm add iron-session@8`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iron-session",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.1",
|
|
4
4
|
"description": "Secure, stateless, and cookie-based session library for JavaScript",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cookie",
|
|
@@ -15,7 +15,10 @@
|
|
|
15
15
|
"bugs": "https://github.com/vvo/iron-session/issues",
|
|
16
16
|
"license": "MIT",
|
|
17
17
|
"author": "Vincent Voyer <vincent@codeagain.com> (https://github.com/vvo)",
|
|
18
|
-
"repository":
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "github:vvo/iron-session"
|
|
21
|
+
},
|
|
19
22
|
"funding": [
|
|
20
23
|
"https://github.com/sponsors/vvo",
|
|
21
24
|
"https://github.com/sponsors/brc-dd"
|
|
@@ -35,20 +38,6 @@
|
|
|
35
38
|
"provenance": true,
|
|
36
39
|
"registry": "https://registry.npmjs.org"
|
|
37
40
|
},
|
|
38
|
-
"scripts": {
|
|
39
|
-
"build": "tsdown",
|
|
40
|
-
"dev": "pnpm build && concurrently \"pnpm build --watch\" \"pnpm --filter=next-example dev\" ",
|
|
41
|
-
"format": "oxfmt .",
|
|
42
|
-
"format:check": "oxfmt --check .",
|
|
43
|
-
"lint": "oxlint --type-aware && tsc --noEmit && pnpm build && publint && attw --pack . --ignore-rules cjs-resolves-to-esm && pnpm lint:types",
|
|
44
|
-
"lint:types": "tsdown && tsc --noEmit -p type-tests/tsconfig.json",
|
|
45
|
-
"pretest": "node -e \"require('node:fs').mkdirSync('coverage',{recursive:true})\"",
|
|
46
|
-
"size": "size-limit",
|
|
47
|
-
"start": "pnpm --filter=next-example start",
|
|
48
|
-
"test": "node --test --experimental-test-coverage --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=coverage/lcov.info --import tsx src/*.test.ts",
|
|
49
|
-
"test:e2e": "playwright test",
|
|
50
|
-
"test:watch": "node --import tsx --test --watch src/*.test.ts"
|
|
51
|
-
},
|
|
52
41
|
"dependencies": {
|
|
53
42
|
"cookie": "^2.0.1",
|
|
54
43
|
"iron-webcrypto": "^2.0.0"
|
|
@@ -59,7 +48,7 @@
|
|
|
59
48
|
"@size-limit/preset-small-lib": "13.0.3",
|
|
60
49
|
"@types/node": "26.4.0",
|
|
61
50
|
"@types/react": "19.2.7",
|
|
62
|
-
"concurrently": "
|
|
51
|
+
"concurrently": "10.0.5",
|
|
63
52
|
"next": "16.3.3",
|
|
64
53
|
"oxfmt": "0.65.0",
|
|
65
54
|
"oxlint": "1.80.0",
|
|
@@ -95,5 +84,18 @@
|
|
|
95
84
|
"engines": {
|
|
96
85
|
"node": ">=22.13.0"
|
|
97
86
|
},
|
|
98
|
-
"
|
|
99
|
-
|
|
87
|
+
"scripts": {
|
|
88
|
+
"build": "tsdown",
|
|
89
|
+
"dev": "pnpm build && concurrently \"pnpm build --watch\" \"pnpm --filter=next-example dev\" ",
|
|
90
|
+
"format": "oxfmt .",
|
|
91
|
+
"format:check": "oxfmt --check .",
|
|
92
|
+
"lint": "oxlint --type-aware && tsc --noEmit && pnpm build && publint && attw --pack . --ignore-rules cjs-resolves-to-esm && pnpm lint:types",
|
|
93
|
+
"lint:types": "tsdown && tsc --noEmit -p type-tests/tsconfig.json",
|
|
94
|
+
"pretest": "node -e \"require('node:fs').mkdirSync('coverage',{recursive:true})\"",
|
|
95
|
+
"size": "size-limit",
|
|
96
|
+
"start": "pnpm --filter=next-example start",
|
|
97
|
+
"test": "node --test --experimental-test-coverage --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=coverage/lcov.info --import tsx src/*.test.ts",
|
|
98
|
+
"test:e2e": "playwright test",
|
|
99
|
+
"test:watch": "node --import tsx --test --watch src/*.test.ts"
|
|
100
|
+
}
|
|
101
|
+
}
|