Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/check-published-scheduled.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Check Published

on:
workflow_dispatch:
schedule:
- cron: '30 20 * * *'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.x', '21.x']
node-version: ['22.x', '23.x']
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand All @@ -41,7 +41,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.x', '21.x']
node-version: ['22.x', '23.x']
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: '22.x'
cache: 'npm'
- name: Install Dependencies
run: npm ci --ignore-scripts
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/publish-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,14 @@ jobs:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: '20.x'
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'
- name: Check Label
uses: checkdigit/github-actions/check-label@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check Imports
uses: checkdigit/github-actions/check-imports@main
- name: Install latest npm
run: npm install -g npm@latest
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Audit Signatures
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'
- name: Install latest npm
run: npm install -g npm@latest
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Audit Signatures
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

The MIT License

Copyright (c) 2021-2023 Check Digit, LLC
Copyright (c) 2021-2025 Check Digit, LLC

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Hash

Copyright (c) 2021-2024 [Check Digit, LLC](https://checkdigit.com)
Copyright © 2021-2025 [Check Digit, LLC](https://checkdigit.com)

Hash is a small function for Check Digit services to create a UUID derived from a hash generated from a given value.

### Install
## Install

```
```shell
$ npm install @checkdigit/hash
```

### Use
## Use

```
```ts
import { hash } from '@checkdigit/hash';

const derivedUUID = hash('some value');
Expand Down
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ These versions of @checkdigit/hash are currently being supported with security u

| Version | Supported |
| ------- | ------------------ |
| > 2.x | :white_check_mark: |
| < 2.0 | :x: |
| > 4.x | :white_check_mark: |
| < 4.0 | :x: |

## Reporting a Vulnerability

Expand Down
1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '@checkdigit/eslint-config';
Loading
Loading