@checkdigit/hash 4.0.2-PR.30-4f91 → 5.0.0-PR.32-b512

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/LICENSE.txt CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  The MIT License
3
3
 
4
- Copyright (c) 2021-2025 Check Digit, LLC
4
+ Copyright (c) 2021-2026 Check Digit, LLC
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -19,4 +19,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
19
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
20
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
21
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
- THE SOFTWARE.
22
+ THE SOFTWARE.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Hash
2
2
 
3
- Copyright © 2021-2025 [Check Digit, LLC](https://checkdigit.com)
3
+ Copyright © 2021-2026 [Check Digit, LLC](https://checkdigit.com)
4
4
 
5
5
  Hash is a small function for Check Digit services to create a UUID derived from a hash generated from a given value.
6
6
 
package/SECURITY.md CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  ## Supported Versions
4
4
 
5
- These versions of @checkdigit/hash are currently being supported with security updates.
5
+ These versions of `@checkdigit/hash` are currently being supported with security updates.
6
6
 
7
7
  | Version | Supported |
8
8
  | ------- | ------------------ |
9
- | > 4.x | :white_check_mark: |
10
- | < 4.0 | :x: |
9
+ | \>= 5.0 | :white_check_mark: |
10
+ | \< 5.0 | :x: |
11
11
 
12
12
  ## Reporting a Vulnerability
13
13
 
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@checkdigit/hash","version":"4.0.2-PR.30-4f91","description":"Hash is a small function for Check Digit services to create a uuid derived from a hash generated from a given value.","homepage":"https://github.com/checkdigit/hash#readme","bugs":{"url":"https://github.com/checkdigit/hash/issues"},"repository":{"type":"git","url":"git+https://github.com/checkdigit/hash.git"},"license":"MIT","author":"Check Digit, LLC","sideEffects":false,"type":"module","exports":{".":{"types":"./dist-types/index.d.ts","import":"./dist-mjs/index.mjs","default":"./dist-mjs/index.mjs"}},"files":["src","dist-types","dist-mjs","!src/**/*.test.ts","!src/**/*.spec.ts","!dist-types/**/*.test.d.ts","!dist-types/**/*.spec.d.ts","!dist-mjs/**/*.test.mjs","!dist-mjs/**/*.spec.mjs","SECURITY.md"],"scripts":{"build:dist-mjs":"rimraf dist-mjs && npx builder --type=module --sourceMap --outDir=dist-mjs && node dist-mjs/index.mjs","build:dist-types":"rimraf dist-types && npx builder --type=types --outDir=dist-types","ci:compile":"tsc --noEmit","ci:coverage":"rimraf coverage && mkdir coverage && node --experimental-strip-types --test-timeout 600000 --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=coverage/lcov.info --test \"src/**/*.spec.ts\"","ci:lint":"npm run lint","ci:style":"npm run prettier","ci:test":"node --disable-warning ExperimentalWarning --experimental-strip-types --test-timeout 600000 --test \"src/**/*.spec.ts\"","coverage":"node --disable-warning ExperimentalWarning --experimental-strip-types --test-timeout 600000 --experimental-test-coverage --test \"src/**/*.spec.ts\"","lint":"eslint --max-warnings 0 .","lint:fix":"eslint . --fix","prepublishOnly":"npm run build:dist-types && npm run build:dist-mjs","prettier":"prettier --ignore-path .gitignore --list-different .","prettier:fix":"prettier --ignore-path .gitignore --write .","test":"npm run ci:compile && npm run ci:test && npm run ci:lint && npm run ci:style"},"prettier":"@checkdigit/prettier-config","devDependencies":{"@checkdigit/eslint-config":"^11.0.5","@checkdigit/prettier-config":"^7.1.1","@checkdigit/typescript-config":"^9.0.0","rimraf":"^6.0.1","uuid":"^11.0.5"},"engines":{"node":">=22.11"}}
1
+ {"name":"@checkdigit/hash","version":"5.0.0-PR.32-b512","description":"Hash is a small function for Check Digit services to create a uuid derived from a hash generated from a given value.","homepage":"https://github.com/checkdigit/hash#readme","bugs":{"url":"https://github.com/checkdigit/hash/issues"},"repository":{"type":"git","url":"git+https://github.com/checkdigit/hash.git"},"license":"MIT","author":"Check Digit, LLC","sideEffects":false,"type":"module","exports":{".":{"types":"./dist-types/index.d.ts","import":"./dist-mjs/index.mjs","default":"./dist-mjs/index.mjs"}},"files":["src","dist-types","dist-mjs","!src/**/*.test.ts","!src/**/*.spec.ts","!dist-types/**/*.test.d.ts","!dist-types/**/*.spec.d.ts","!dist-mjs/**/*.test.mjs","!dist-mjs/**/*.spec.mjs","SECURITY.md"],"scripts":{"build:dist-mjs":"node -e \"require('node:fs').rmSync('dist-mjs', { recursive: true, force: true })\" && npx builder --type=module --sourceMap --outDir=dist-mjs && node dist-mjs/index.mjs","build:dist-types":"node -e \"require('node:fs').rmSync('dist-types', { recursive: true, force: true })\" && npx builder --type=types --outDir=dist-types","ci:compile":"tsc --noEmit","ci:coverage":"node -e \"const fs = require('node:fs'); fs.rmSync('coverage', { recursive: true, force: true }); fs.mkdirSync('coverage')\" && node --test-timeout 600000 --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=coverage/lcov.info --test \"src/**/*.spec.ts\"","ci:lint":"npm run lint","ci:style":"npm run prettier","ci:test":"node --pending-deprecation --throw-deprecation --test-timeout 600000 --test \"src/**/*.spec.ts\"","coverage":"node --test-timeout 600000 --experimental-test-coverage --test \"src/**/*.spec.ts\"","lint":"eslint --max-warnings 0 .","lint:fix":"eslint . --fix","prepublishOnly":"npm run build:dist-types && npm run build:dist-mjs","prettier":"prettier . --check","prettier:fix":"prettier . --write","test":"npm run ci:compile && npm run ci:test && npm run ci:lint && npm run ci:style"},"prettier":"@checkdigit/prettier-config","devDependencies":{"@checkdigit/eslint-config":"^12.1.0","@checkdigit/prettier-config":"^8.1.1","@checkdigit/typescript-config":"^10.2.1","uuid":"^14.0.2"},"engines":{"node":">=24.18.0"},"allowScripts":{"esbuild@0.28.2":true,"unrs-resolver@1.12.2":true}}
package/src/hash.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  // hash.ts
2
2
 
3
3
  /*
4
- * Copyright (c) 2021-2025 Check Digit, LLC
4
+ * Copyright (c) 2021-2026 Check Digit, LLC
5
5
  *
6
6
  * This code is licensed under the MIT license (see LICENSE.txt for details).
7
7
  */
package/src/index.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  // index.ts
2
2
 
3
3
  /*
4
- * Copyright (c) 2021-2025 Check Digit, LLC
4
+ * Copyright (c) 2021-2026 Check Digit, LLC
5
5
  *
6
6
  * This code is licensed under the MIT license (see LICENSE.txt for details).
7
7
  */
package/src/uuid-v5.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  // uuid-v5.ts
2
2
 
3
3
  /*
4
- * Copyright (c) 2021-2025 Check Digit, LLC
4
+ * Copyright (c) 2021-2026 Check Digit, LLC
5
5
  *
6
6
  * This code is derived from https://github.com/uuidjs/uuid,
7
7
  * licensed under the MIT license (see below for details).