@nanokajs/auth 1.6.3 → 2.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/CHANGELOG.md +16 -0
- package/README.md +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,22 @@ All notable changes to `@nanokajs/auth` will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.0.1] — 2026-10-02
|
|
9
|
+
|
|
10
|
+
### Security
|
|
11
|
+
|
|
12
|
+
- Refresh Hono and Vitest development dependencies and pin vulnerable transitive development dependencies to patched releases. Public APIs and peer dependency ranges are unchanged.
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- Run auth tests and typechecking in PR CI, in addition to the existing release checks.
|
|
17
|
+
|
|
18
|
+
## [2.0.0] — 2026-07-18
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- **BREAKING**: `engines.node` を `>= 20` から `>= 22` に引き上げ(core / create-nanoka-app と同時実施)。開発ツールチェーン(wrangler 4 / vite 8)が既に Node 22+ を要求しており、宣言を実態に合わせた。ランタイム(Cloudflare Workers)への影響はなし。
|
|
23
|
+
|
|
8
24
|
## [1.6.3] — 2026-07-15
|
|
9
25
|
|
|
10
26
|
### Changed
|
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Provides credential validation, JWT issuance, and Hono middleware — built on `
|
|
|
10
10
|
pnpm add @nanokajs/auth
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Peer dependencies: `@nanokajs/core ^1.0.0`, `hono ^4.0.0`.
|
|
13
|
+
Peer dependencies: `@nanokajs/core ^1.0.0 || ^2.0.0`, `hono ^4.0.0`.
|
|
14
14
|
|
|
15
15
|
## Usage
|
|
16
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nanokajs/auth",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Authentication utilities for Nanoka on Cloudflare Workers.",
|
|
6
6
|
"author": "Eiichiro Iriguchi <eiichiro_iriguchi@a-1ro.dev>",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"d1"
|
|
22
22
|
],
|
|
23
23
|
"engines": {
|
|
24
|
-
"node": ">=
|
|
24
|
+
"node": ">=22"
|
|
25
25
|
},
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"exports": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"prepublishOnly": "pnpm build && pnpm test && pnpm typecheck"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@nanokajs/core": "^1.0.0",
|
|
52
|
+
"@nanokajs/core": "^1.0.0 || ^2.0.0",
|
|
53
53
|
"hono": "^4.0.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
@@ -57,11 +57,11 @@
|
|
|
57
57
|
"@cloudflare/workers-types": "^4.20260523.1",
|
|
58
58
|
"@nanokajs/core": "workspace:*",
|
|
59
59
|
"@types/node": "^25.9.1",
|
|
60
|
-
"hono": "^4.12
|
|
60
|
+
"hono": "^4.13.12",
|
|
61
61
|
"tsup": "^8.5.1",
|
|
62
62
|
"typescript": "^5.9.3",
|
|
63
63
|
"vite": "^8.1.4",
|
|
64
|
-
"vitest": "^4.1.
|
|
64
|
+
"vitest": "^4.1.11",
|
|
65
65
|
"wrangler": "^4.111.0"
|
|
66
66
|
}
|
|
67
67
|
}
|