Skip to content

Commit fbfebf1

Browse files
committed
v2.0.5
- use import from "node:buffer" - add deno.json - add "files" to package.json - remove jsr.json - update LICENSE - lint and format
1 parent c188559 commit fbfebf1

21 files changed

+706
-395
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ out
8080

8181
# Nuxt.js build / generate output
8282
.nuxt
83-
dist
83+
# dist
8484

8585
# Gatsby files
8686
.cache/

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 Natnael
3+
Copyright (c) 2025 The Bepalo Team
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
[![Tests](https://img.shields.io/github/actions/workflow/status/bepalo/jwt/ci.yaml?label=tests&style=flat-square)](https://github.com/bepalo/jwt/actions/workflows/ci.yaml.yml)
1515
[![Vitest](https://img.shields.io/badge/vitest-6E9F18?style=for-the-badge&logo=vitest&logoColor=white)](test-result.md)
1616

17-
A secure and tested json-web-token class-based utility library for generating keys, signing, verifying, and decoding JWT payloads for use with your high-security projects.
17+
A secure and tested json-web-token class-based utility library for generating keys, signing, verifying, and decoding JWT payloads for use with your high-security demanding projects.
1818

1919
## Table of Contents
2020

deno.json

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"name": "@bepalo/jwt",
3+
"version": "2.0.5",
4+
"exports": {
5+
"./mod.ts": "./mod.ts"
6+
},
7+
"description": "A secure and tested json-web-token class-based utility library for generating keys, signing, verifying, and decoding JWT payloads for use with your high-security demanding projects.",
8+
"license": "MIT",
9+
"homepage": "https://github.com/bepalo/jwt",
10+
"repository": {
11+
"type": "git",
12+
"url": "https://github.com/bepalo/jwt"
13+
},
14+
"compilerOptions": {
15+
"strict": true,
16+
"target": "ES2021"
17+
},
18+
"lint": {
19+
"include": ["./src/","./tests/"],
20+
"rules": {
21+
"tags": ["recommended"],
22+
"exclude": ["no-sloppy-imports"]
23+
}
24+
},
25+
"fmt": {
26+
"include": ["./src/", "./tests/"],
27+
"lineWidth": 100,
28+
"indentWidth": 2,
29+
"singleQuote": false,
30+
"proseWrap": "preserve"
31+
},
32+
"test": {
33+
"files": {
34+
"exclude": ["tests/**", "**/*.vitest.ts"]
35+
}
36+
},
37+
"imports": {
38+
"@bepalo/jwt": "./src/index.ts"
39+
},
40+
"keywords": [
41+
"auth",
42+
"authorization",
43+
"access-token",
44+
"bearer",
45+
"json web token",
46+
"jwt",
47+
"jws",
48+
"jwk",
49+
"token-verification",
50+
"claims",
51+
"payload",
52+
"RS256",
53+
"ES256",
54+
"HMAC",
55+
"JWT signing",
56+
"JWT decoding",
57+
"JWT validation",
58+
"secure tokens",
59+
"middleware",
60+
"access control",
61+
"identity"
62+
]
63+
}

deno.lock

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/cjs/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ export type JwtAsymmetricAlgorithm = "RS256" | "RS384" | "RS512" | "ES256" | "ES
7373
* - PS256: RSA-PSS variant with SHA-256.
7474
* - PS384: RSA-PSS variant with SHA-384.
7575
* - PS512: RSA-PSS variant with SHA-512.
76-
*
7776
*/
7877
export type JwtAlgorithm = JwtSymmetricAlgorithm | JwtAsymmetricAlgorithm | "none";
7978
/**
@@ -286,3 +285,4 @@ export declare class JWT<Payload extends SURecord> {
286285
*/
287286
verify(token: string, verifyJwt?: JwtVerifyOptions): Promise<JwtPayload<Payload>>;
288287
}
288+
//# sourceMappingURL=index.d.ts.map

dist/cjs/index.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)