cybertoken 4.0.2 → 4.0.4
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/dist/cli.mjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -607,7 +607,7 @@ function crc32(inputBuffer) {
|
|
|
607
607
|
//#region src/parse.ts
|
|
608
608
|
const version = 0;
|
|
609
609
|
function getTokenPattern(prefixWithUnderscore) {
|
|
610
|
-
return
|
|
610
|
+
return new RegExp(`^${prefixWithUnderscore}[${alphabet}]+$`);
|
|
611
611
|
}
|
|
612
612
|
/**
|
|
613
613
|
* Only use this if you want to look at the parsed contents of the token. **Then using the tokens, this is usually not needed.** It is mostly used internally.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cybertoken",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.4",
|
|
4
4
|
"description": "A token format for APIs inspired by the GitHub's API token format.",
|
|
5
5
|
"author": "Niklas Mollenhauer",
|
|
6
6
|
"license": "ISC",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"generator"
|
|
30
30
|
],
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@biomejs/biome": "^2.3.
|
|
33
|
-
"@types/node": "^25.0.
|
|
32
|
+
"@biomejs/biome": "^2.3.12",
|
|
33
|
+
"@types/node": "^25.0.10",
|
|
34
34
|
"expect": "^30.2.0",
|
|
35
|
-
"tsdown": "^0.
|
|
36
|
-
"typedoc": "^0.28.
|
|
35
|
+
"tsdown": "^0.20.1",
|
|
36
|
+
"typedoc": "^0.28.16"
|
|
37
37
|
},
|
|
38
38
|
"engines": {
|
|
39
39
|
"node": ">=20"
|