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
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as createTokenGenerator } from "./src-C-f2dRzg.mjs";
2
+ import { t as createTokenGenerator } from "./src-C7ZtxMag.mjs";
3
3
 
4
4
  //#region src/cli.ts
5
5
  const prefixWithoutUnderscore = process.argv[2] ?? process.env.CYBERTOKEN_PREFIX;
package/dist/index.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { t as createTokenGenerator } from "./src-C-f2dRzg.mjs";
1
+ import { t as createTokenGenerator } from "./src-C7ZtxMag.mjs";
2
2
 
3
3
  export { createTokenGenerator };
@@ -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 /* @__PURE__ */ new RegExp(`^${prefixWithUnderscore}[${alphabet}]+$`);
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.2",
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.10",
33
- "@types/node": "^25.0.3",
32
+ "@biomejs/biome": "^2.3.12",
33
+ "@types/node": "^25.0.10",
34
34
  "expect": "^30.2.0",
35
- "tsdown": "^0.18.1",
36
- "typedoc": "^0.28.15"
35
+ "tsdown": "^0.20.1",
36
+ "typedoc": "^0.28.16"
37
37
  },
38
38
  "engines": {
39
39
  "node": ">=20"