docs: update runmd version (#940)

This commit is contained in:
Robert Kieffer
2026-04-26 10:51:56 -10:00
committed by GitHub
parent d8c62e75f6
commit ac73780f12
12 changed files with 452 additions and 260 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ permissions:
contents: read contents: read
env: env:
HUSKY: 0 LEFTHOOK: 0
jobs: jobs:
browser: browser:
+1 -1
View File
@@ -6,7 +6,7 @@ permissions:
contents: read contents: read
env: env:
HUSKY: 0 LEFTHOOK: 0
jobs: jobs:
lint: lint:
-2
View File
@@ -1,2 +0,0 @@
#!/bin/sh
npx --no-install commitlint --edit $1
-1
View File
@@ -1 +0,0 @@
npx --no-install lint-staged
+3
View File
@@ -16,5 +16,8 @@
}, },
"[json]": { "[json]": {
"editor.defaultFormatter": "biomejs.biome" "editor.defaultFormatter": "biomejs.biome"
},
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
} }
} }
+49 -49
View File
@@ -32,9 +32,9 @@ npm install uuid
**2. Create a UUID** **2. Create a UUID**
```javascript ```javascript
import { v4 as uuidv4 } from "uuid"; import { v4 as uuidv4 } from 'uuid';
uuidv4(); // ⇨ 'ab16e731-6cee-424d-81a0-5929e9bdb0cc' uuidv4(); // ⇨ 'b18794e8-5d0d-417c-b361-ba38e78411b4'
``` ```
For timestamp UUIDs, namespace UUIDs, and other options read on ... For timestamp UUIDs, namespace UUIDs, and other options read on ...
@@ -42,7 +42,7 @@ For timestamp UUIDs, namespace UUIDs, and other options read on ...
## API Summary ## API Summary
| | | | | | | |
| -------------------------------------------------- | ----------------------------------------------- | ----------------- | | --- | --- | --- |
| [`uuid.NIL`](#uuidnil) | The nil UUID string (all zeros) | New in `[email protected]` | | [`uuid.NIL`](#uuidnil) | The nil UUID string (all zeros) | New in `[email protected]` |
| [`uuid.MAX`](#uuidmax) | The max UUID string (all ones) | New in `[email protected]` | | [`uuid.MAX`](#uuidmax) | The max UUID string (all ones) | New in `[email protected]` |
| [`uuid.parse()`](#uuidparsestr) | Convert UUID string to array of bytes | New in `[email protected]` | | [`uuid.parse()`](#uuidparsestr) | Convert UUID string to array of bytes | New in `[email protected]` |
@@ -68,7 +68,7 @@ The nil UUID string (all zeros).
Example: Example:
```javascript ```javascript
import { NIL as NIL_UUID } from "uuid"; import { NIL as NIL_UUID } from 'uuid';
NIL_UUID; // ⇨ '00000000-0000-0000-0000-000000000000' NIL_UUID; // ⇨ '00000000-0000-0000-0000-000000000000'
``` ```
@@ -80,7 +80,7 @@ The max UUID string (all ones).
Example: Example:
```javascript ```javascript
import { MAX as MAX_UUID } from "uuid"; import { MAX as MAX_UUID } from 'uuid';
MAX_UUID; // ⇨ 'ffffffff-ffff-ffff-ffff-ffffffffffff' MAX_UUID; // ⇨ 'ffffffff-ffff-ffff-ffff-ffffffffffff'
``` ```
@@ -102,10 +102,10 @@ Convert UUID string to array of bytes
Example: Example:
```javascript ```javascript
import { parse as uuidParse } from "uuid"; import { parse as uuidParse } from 'uuid';
// Parse a UUID // Parse a UUID
uuidParse("6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b"); // ⇨ uuidParse('6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b'); // ⇨
// Uint8Array(16) [ // Uint8Array(16) [
// 110, 192, 189, 127, 17, // 110, 192, 189, 127, 17,
// 192, 67, 218, 151, 94, // 192, 67, 218, 151, 94,
@@ -132,7 +132,7 @@ Convert array of bytes to UUID string
Example: Example:
```javascript ```javascript
import { stringify as uuidStringify } from "uuid"; import { stringify as uuidStringify } from 'uuid';
const uuidBytes = Uint8Array.of( const uuidBytes = Uint8Array.of(
0x6e, 0x6e,
@@ -150,7 +150,7 @@ const uuidBytes = Uint8Array.of(
0xd9, 0xd9,
0xeb, 0xeb,
0xae, 0xae,
0x0b, 0x0b
); );
uuidStringify(uuidBytes); // ⇨ '6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b' uuidStringify(uuidBytes); // ⇨ '6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b'
@@ -161,7 +161,7 @@ uuidStringify(uuidBytes); // ⇨ '6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b'
Create an RFC version 1 (timestamp) UUID Create an RFC version 1 (timestamp) UUID
| | | | | |
| ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | | --- | --- |
| [`options`] | `Object` with one or more of the following properties: | | [`options`] | `Object` with one or more of the following properties: |
| [`options.node = (random)` ] | RFC "node" field as an `Array[6]` of byte values (per 4.1.6) | | [`options.node = (random)` ] | RFC "node" field as an `Array[6]` of byte values (per 4.1.6) |
| [`options.clockseq = (random)`] | RFC "clock sequence" as a `Number` between 0 - 0x3fff | | [`options.clockseq = (random)`] | RFC "clock sequence" as a `Number` between 0 - 0x3fff |
@@ -177,20 +177,20 @@ Create an RFC version 1 (timestamp) UUID
Example: Example:
```javascript ```javascript
import { v1 as uuidv1 } from "uuid"; import { v1 as uuidv1 } from 'uuid';
uuidv1(); // ⇨ '4d9d2960-31d0-11f1-aba8-29728d41eeed' uuidv1(); // ⇨ '57fd0000-c7d3-11ef-841d-514d2167fc5b'
``` ```
Example using `options`: Example using `options`:
```javascript ```javascript
import { v1 as uuidv1 } from "uuid"; import { v1 as uuidv1 } from 'uuid';
const options = { const options = {
node: Uint8Array.of(0x01, 0x23, 0x45, 0x67, 0x89, 0xab), node: Uint8Array.of(0x01, 0x23, 0x45, 0x67, 0x89, 0xab),
clockseq: 0x1234, clockseq: 0x1234,
msecs: new Date("2011-11-01").getTime(), msecs: new Date('2011-11-01').getTime(),
nsecs: 5678, nsecs: 5678,
}; };
uuidv1(options); // ⇨ '710b962e-041c-11e1-9234-0123456789ab' uuidv1(options); // ⇨ '710b962e-041c-11e1-9234-0123456789ab'
@@ -201,9 +201,9 @@ uuidv1(options); // ⇨ '710b962e-041c-11e1-9234-0123456789ab'
Convert a UUID from version 1 to version 6 Convert a UUID from version 1 to version 6
```javascript ```javascript
import { v1ToV6 } from "uuid"; import { v1ToV6 } from 'uuid';
v1ToV6("92f62d9e-22c4-11ef-97e9-325096b39f47"); // ⇨ '1ef22c49-2f62-6d9e-97e9-325096b39f47' v1ToV6('92f62d9e-22c4-11ef-97e9-325096b39f47'); // ⇨ '1ef22c49-2f62-6d9e-97e9-325096b39f47'
``` ```
### uuid.v3(name, namespace[, buffer[, offset]]) ### uuid.v3(name, namespace[, buffer[, offset]])
@@ -221,7 +221,7 @@ API is identical to `v5()`, but uses "v3" instead.
Create an RFC version 4 (random) UUID Create an RFC version 4 (random) UUID
| | | | | |
| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------- | | --- | --- |
| [`options`] | `Object` with one or more of the following properties: | | [`options`] | `Object` with one or more of the following properties: |
| [`options.random`] | `Array` of 16 random bytes (0-255) | | [`options.random`] | `Array` of 16 random bytes (0-255) |
| [`options.rng`] | Alternative to `options.random`, a `Function` that returns an `Array` of 16 random bytes (0-255) | | [`options.rng`] | Alternative to `options.random`, a `Function` that returns an `Array` of 16 random bytes (0-255) |
@@ -232,15 +232,15 @@ Create an RFC version 4 (random) UUID
Example: Example:
```javascript ```javascript
import { v4 as uuidv4 } from "uuid"; import { v4 as uuidv4 } from 'uuid';
uuidv4(); // ⇨ '7934256a-bc92-4b69-b240-f9e463881aea' uuidv4(); // ⇨ 'b18794e8-5d0d-417c-b361-ba38e78411b4'
``` ```
Example using predefined `random` values: Example using predefined `random` values:
```javascript ```javascript
import { v4 as uuidv4 } from "uuid"; import { v4 as uuidv4 } from 'uuid';
const v4options = { const v4options = {
random: Uint8Array.of( random: Uint8Array.of(
@@ -259,7 +259,7 @@ const v4options = {
0x67, 0x67,
0x1c, 0x1c,
0x58, 0x58,
0x36, 0x36
), ),
}; };
uuidv4(v4options); // ⇨ '109156be-c4fb-41ea-b1b4-efe1671c5836' uuidv4(v4options); // ⇨ '109156be-c4fb-41ea-b1b4-efe1671c5836'
@@ -270,7 +270,7 @@ uuidv4(v4options); // ⇨ '109156be-c4fb-41ea-b1b4-efe1671c5836'
Create an RFC version 5 (namespace w/ SHA-1) UUID Create an RFC version 5 (namespace w/ SHA-1) UUID
| | | | | |
| -------------- | -------------------------------------------------------------------------------------------------------------------------------------- | | --- | --- |
| `name` | `String \| Array` | | `name` | `String \| Array` |
| `namespace` | `String \| Array[16]` Namespace UUID | | `namespace` | `String \| Array[16]` Namespace UUID |
| [`buffer`] | `Uint8Array` or `Uint8Array` subtype (e.g. Node.js `Buffer`). If provided, binary UUID is written into the array, starting at `offset` | | [`buffer`] | `Uint8Array` or `Uint8Array` subtype (e.g. Node.js `Buffer`). If provided, binary UUID is written into the array, starting at `offset` |
@@ -284,21 +284,21 @@ Create an RFC version 5 (namespace w/ SHA-1) UUID
Example with custom namespace: Example with custom namespace:
```javascript ```javascript
import { v5 as uuidv5 } from "uuid"; import { v5 as uuidv5 } from 'uuid';
// Define a custom namespace. Readers, create your own using something like // Define a custom namespace. Readers, create your own using something like
// https://www.uuidgenerator.net/ // https://www.uuidgenerator.net/
const MY_NAMESPACE = "1b671a64-40d5-491e-99b0-da01ff1f3341"; const MY_NAMESPACE = '1b671a64-40d5-491e-99b0-da01ff1f3341';
uuidv5("Hello, World!", MY_NAMESPACE); // ⇨ '630eb68f-e0fa-5ecc-887a-7c7a62614681' uuidv5('Hello, World!', MY_NAMESPACE); // ⇨ '630eb68f-e0fa-5ecc-887a-7c7a62614681'
``` ```
Example with RFC `URL` namespace: Example with RFC `URL` namespace:
```javascript ```javascript
import { v5 as uuidv5 } from "uuid"; import { v5 as uuidv5 } from 'uuid';
uuidv5("https://www.w3.org/", uuidv5.URL); // ⇨ 'c106a26a-21bb-5538-8bf2-57095d1976c1' uuidv5('https://www.w3.org/', uuidv5.URL); // ⇨ 'c106a26a-21bb-5538-8bf2-57095d1976c1'
``` ```
### uuid.v6([options[, buffer[, offset]]]) ### uuid.v6([options[, buffer[, offset]]])
@@ -308,20 +308,20 @@ Create an RFC version 6 (timestamp, reordered) UUID
This method takes the same arguments as uuid.v1(). This method takes the same arguments as uuid.v1().
```javascript ```javascript
import { v6 as uuidv6 } from "uuid"; import { v6 as uuidv6 } from 'uuid';
uuidv6(); // ⇨ '1f131d04-d9dc-65a0-9516-5be66631ce97' uuidv6(); // ⇨ '1efc7d35-7fd0-6000-841d-504d2167fc5b'
``` ```
Example using `options`: Example using `options`:
```javascript ```javascript
import { v6 as uuidv6 } from "uuid"; import { v6 as uuidv6 } from 'uuid';
const options = { const options = {
node: [0x01, 0x23, 0x45, 0x67, 0x89, 0xab], node: [0x01, 0x23, 0x45, 0x67, 0x89, 0xab],
clockseq: 0x1234, clockseq: 0x1234,
msecs: new Date("2011-11-01").getTime(), msecs: new Date('2011-11-01').getTime(),
nsecs: 5678, nsecs: 5678,
}; };
uuidv6(options); // ⇨ '1e1041c7-10b9-662e-9234-0123456789ab' uuidv6(options); // ⇨ '1e1041c7-10b9-662e-9234-0123456789ab'
@@ -332,9 +332,9 @@ uuidv6(options); // ⇨ '1e1041c7-10b9-662e-9234-0123456789ab'
Convert a UUID from version 6 to version 1 Convert a UUID from version 6 to version 1
```javascript ```javascript
import { v6ToV1 } from "uuid"; import { v6ToV1 } from 'uuid';
v6ToV1("1ef22c49-2f62-6d9e-97e9-325096b39f47"); // ⇨ '92f62d9e-22c4-11ef-97e9-325096b39f47' v6ToV1('1ef22c49-2f62-6d9e-97e9-325096b39f47'); // ⇨ '92f62d9e-22c4-11ef-97e9-325096b39f47'
``` ```
### uuid.v7([options[, buffer[, offset]]]) ### uuid.v7([options[, buffer[, offset]]])
@@ -342,7 +342,7 @@ v6ToV1("1ef22c49-2f62-6d9e-97e9-325096b39f47"); // ⇨ '92f62d9e-22c4-11ef-97e9-
Create an RFC version 7 (random) UUID Create an RFC version 7 (random) UUID
| | | | | |
| ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | --- | --- |
| [`options`] | `Object` with one or more of the following properties: | | [`options`] | `Object` with one or more of the following properties: |
| [`options.msecs = (current time)`] | RFC "timestamp" field (`Number` of milliseconds, unix epoch) | | [`options.msecs = (current time)`] | RFC "timestamp" field (`Number` of milliseconds, unix epoch) |
| [`options.random = (random)`] | `Array` of 16 random bytes (0-255) used to generate other fields, above | | [`options.random = (random)`] | `Array` of 16 random bytes (0-255) used to generate other fields, above |
@@ -355,9 +355,9 @@ Create an RFC version 7 (random) UUID
Example: Example:
```javascript ```javascript
import { v7 as uuidv7 } from "uuid"; import { v7 as uuidv7 } from 'uuid';
uuidv7(); // ⇨ '019d637c-c6fb-74e9-8b9d-2f1d459a4201' uuidv7(); // ⇨ '01941f29-7c00-75f4-a310-744d2167fc5b'
``` ```
### ~~uuid.v8()~~ ### ~~uuid.v8()~~
@@ -380,24 +380,24 @@ Test a string to see if it is a valid UUID
Example: Example:
```javascript ```javascript
import { validate as uuidValidate } from "uuid"; import { validate as uuidValidate } from 'uuid';
uuidValidate("not a UUID"); // ⇨ false uuidValidate('not a UUID'); // ⇨ false
uuidValidate("6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b"); // ⇨ true uuidValidate('6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b'); // ⇨ true
``` ```
Using `validate` and `version` together it is possible to do per-version validation, e.g. validate for only v4 UUIds. Using `validate` and `version` together it is possible to do per-version validation, e.g. validate for only v4 UUIds.
```javascript ```javascript
import { version as uuidVersion } from "uuid"; import { version as uuidVersion } from 'uuid';
import { validate as uuidValidate } from "uuid"; import { validate as uuidValidate } from 'uuid';
function uuidValidateV4(uuid) { function uuidValidateV4(uuid) {
return uuidValidate(uuid) && uuidVersion(uuid) === 4; return uuidValidate(uuid) && uuidVersion(uuid) === 4;
} }
const v1Uuid = "d9428888-122b-11e1-b85c-61cd3cbb3210"; const v1Uuid = 'd9428888-122b-11e1-b85c-61cd3cbb3210';
const v4Uuid = "109156be-c4fb-41ea-b1b4-efe1671c5836"; const v4Uuid = '109156be-c4fb-41ea-b1b4-efe1671c5836';
uuidValidateV4(v4Uuid); // ⇨ true uuidValidateV4(v4Uuid); // ⇨ true
uuidValidateV4(v1Uuid); // ⇨ false uuidValidateV4(v1Uuid); // ⇨ false
@@ -416,10 +416,10 @@ Detect RFC version of a UUID
Example: Example:
```javascript ```javascript
import { version as uuidVersion } from "uuid"; import { version as uuidVersion } from 'uuid';
uuidVersion("45637ec4-c85f-11ea-87d0-0242ac130003"); // ⇨ 1 uuidVersion('45637ec4-c85f-11ea-87d0-0242ac130003'); // ⇨ 1
uuidVersion("6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b"); // ⇨ 4 uuidVersion('6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b'); // ⇨ 4
``` ```
<!-- prettier-ignore --> <!-- prettier-ignore -->
@@ -482,10 +482,10 @@ This error occurs in environments where the standard [`crypto.getRandomValues()`
1. Import it _before_ `uuid`. Since `uuid` might also appear as a transitive dependency of some other imports it's safest to just import `react-native-get-random-values` as the very first thing in your entry point: 1. Import it _before_ `uuid`. Since `uuid` might also appear as a transitive dependency of some other imports it's safest to just import `react-native-get-random-values` as the very first thing in your entry point:
```javascript ```javascript
import "react-native-get-random-values"; import 'react-native-get-random-values';
import { v4 as uuidv4 } from "uuid"; import { v4 as uuidv4 } from 'uuid';
``` ```
--- ---
Markdown generated from [README_js.md](README_js.md) by <a href="https://github.com/broofa/runmd"><image height="13" src="https://camo.githubusercontent.com/5c7c603cd1e6a43370b0a5063d457e0dabb74cf317adc7baba183acb686ee8d0/687474703a2f2f692e696d6775722e636f6d2f634a4b6f3662552e706e67" /></a> Generated from [README_js.md](README_js.md) by [`runmd`](https://github.com/broofa/runmd)
+37 -4
View File
@@ -1,8 +1,40 @@
```javascript --hide ```javascript --run
runmd.onRequire = (path) => { runmd.importMap = {
if (path == 'rng') return fun; imports: {
return path.replace(/^uuid/, './dist/'); uuid: './dist/index.js',
},
}; };
// DOCS ONLY! Monkey patch for repeatable Date APIs
(function () {
Date.now = () => new Date('2025-1-1Z').getTime();
})();
// DOCS ONLY! Monkey patch for repeatable crypto APIs
(function () {
// mulberry32 rng
let seed = 0xfeedface;
function rng() {
let t = (seed += 0x6d2b79f5);
t = Math.imul(t ^ (t >>> 15), t | 1);
t ^= t + Math.imul(t ^ (t >>> 7), t | 61);
return ((t ^ (t >>> 14)) >>> 0) / 0x100000000;
}
crypto.getRandomValues = function (arr) {
for (let i = 0; i < arr.length; i++) {
arr[i] = Math.floor(rng() * 0x100);
}
return arr;
};
crypto.randomUUID = function () {
return '10000000-1000-4000-8000-100000000000'.replace(/[018]/g, (c) =>
(c ^ (crypto.getRandomValues(new Uint8Array(1))[0] & (15 >> (c / 4)))).toString(16)
);
};
})();
``` ```
# uuid [![CI](https://github.com/uuidjs/uuid/workflows/CI/badge.svg)](https://github.com/uuidjs/uuid/actions?query=workflow%3ACI) [![Browser](https://github.com/uuidjs/uuid/workflows/Browser/badge.svg)](https://github.com/uuidjs/uuid/actions/workflows/browser.yml) # uuid [![CI](https://github.com/uuidjs/uuid/workflows/CI/badge.svg)](https://github.com/uuidjs/uuid/actions?query=workflow%3ACI) [![Browser](https://github.com/uuidjs/uuid/workflows/Browser/badge.svg)](https://github.com/uuidjs/uuid/actions/workflows/browser.yml)
@@ -468,6 +500,7 @@ Prior to `uuid@11`, it was possible for `options` state to interfere with the in
## Known issues ## Known issues
<!-- This header is referenced as an anchor in src/rng.ts --> <!-- This header is referenced as an anchor in src/rng.ts -->
### "getRandomValues() not supported" ### "getRandomValues() not supported"
This error occurs in environments where the standard [`crypto.getRandomValues()`](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues) API is not supported. This issue can be resolved by adding an appropriate polyfill: This error occurs in environments where the standard [`crypto.getRandomValues()`](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues) API is not supported. This issue can be resolved by adding an appropriate polyfill:
+9
View File
@@ -0,0 +1,9 @@
pre-commit:
commands:
lint-staged:
run: npx --no-install lint-staged
commit-msg:
commands:
commitlint:
run: npx --no-install commitlint --edit {1}
+289 -147
View File
@@ -22,13 +22,14 @@
"bundlewatch": "0.4.1", "bundlewatch": "0.4.1",
"commander": "14.0.3", "commander": "14.0.3",
"globals": "17.4.0", "globals": "17.4.0",
"husky": "9.1.7",
"jest": "30.3.0", "jest": "30.3.0",
"lefthook": "1.11.13",
"lint-staged": "16.4.0", "lint-staged": "16.4.0",
"neostandard": "0.13.0", "neostandard": "0.13.0",
"npm-run-all2": "8.0.4", "npm-run-all2": "8.0.4",
"prettier": "3.8.3",
"release-please": "17.3.0", "release-please": "17.3.0",
"runmd": "1.4.1", "runmd": "2.1.1",
"standard-version": "9.5.0", "standard-version": "9.5.0",
"typescript": "5.4.3" "typescript": "5.4.3"
} }
@@ -835,15 +836,15 @@
} }
}, },
"node_modules/@commitlint/load": { "node_modules/@commitlint/load": {
"version": "20.5.0", "version": "20.5.2",
"resolved": "https://registry.npmjs.org/@commitlint/load/-/load-20.5.0.tgz", "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-20.5.2.tgz",
"integrity": "sha512-sLhhYTL/KxeOTZjjabKDhwidGZan84XKK1+XFkwDYL/4883kIajcz/dZFAhBJmZPtL8+nBx6bnkzA95YxPeDPw==", "integrity": "sha512-zmr0RGDz7vThxW1I8ohb9yBjnGuH9mqwJpn21hInjGla+IlLOkS9ey0+dD5HlkzFlY0lX2NYdA2lDW6/0rO7Gw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@commitlint/config-validator": "^20.5.0", "@commitlint/config-validator": "^20.5.0",
"@commitlint/execute-rule": "^20.0.0", "@commitlint/execute-rule": "^20.0.0",
"@commitlint/resolve-extends": "^20.5.0", "@commitlint/resolve-extends": "^20.5.2",
"@commitlint/types": "^20.5.0", "@commitlint/types": "^20.5.0",
"cosmiconfig": "^9.0.1", "cosmiconfig": "^9.0.1",
"cosmiconfig-typescript-loader": "^6.1.0", "cosmiconfig-typescript-loader": "^6.1.0",
@@ -898,15 +899,15 @@
} }
}, },
"node_modules/@commitlint/resolve-extends": { "node_modules/@commitlint/resolve-extends": {
"version": "20.5.0", "version": "20.5.2",
"resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-20.5.0.tgz", "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-20.5.2.tgz",
"integrity": "sha512-3SHPWUW2v0tyspCTcfSsYml0gses92l6TlogwzvM2cbxDgmhSRc+fldDjvGkCXJrjSM87BBaWYTPWwwyASZRrg==", "integrity": "sha512-8EhSCU9eNos/5cI1yg64GW79UH1c64O69AfStCsj4zqy6An/qIphVEXj4/+2M6056T8coz00f+UXFn4WUUP1HQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@commitlint/config-validator": "^20.5.0", "@commitlint/config-validator": "^20.5.0",
"@commitlint/types": "^20.5.0", "@commitlint/types": "^20.5.0",
"global-directory": "^4.0.1", "global-directory": "^5.0.0",
"import-meta-resolve": "^4.0.0", "import-meta-resolve": "^4.0.0",
"lodash.mergewith": "^4.6.2", "lodash.mergewith": "^4.6.2",
"resolve-from": "^5.0.0" "resolve-from": "^5.0.0"
@@ -1152,9 +1153,9 @@
} }
}, },
"node_modules/@eslint/eslintrc/node_modules/ajv": { "node_modules/@eslint/eslintrc/node_modules/ajv": {
"version": "6.14.0", "version": "6.15.0",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.14.0.tgz", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz",
"integrity": "sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==", "integrity": "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"peer": true, "peer": true,
@@ -2472,17 +2473,17 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@typescript-eslint/eslint-plugin": { "node_modules/@typescript-eslint/eslint-plugin": {
"version": "8.58.2", "version": "8.59.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.58.2.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.59.0.tgz",
"integrity": "sha512-aC2qc5thQahutKjP+cl8cgN9DWe3ZUqVko30CMSZHnFEHyhOYoZSzkGtAI2mcwZ38xeImDucI4dnqsHiOYuuCw==", "integrity": "sha512-HyAZtpdkgZwpq8Sz3FSUvCR4c+ScbuWa9AksK2Jweub7w4M3yTz4O11AqVJzLYjy/B9ZWPyc81I+mOdJU/bDQw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@eslint-community/regexpp": "^4.12.2", "@eslint-community/regexpp": "^4.12.2",
"@typescript-eslint/scope-manager": "8.58.2", "@typescript-eslint/scope-manager": "8.59.0",
"@typescript-eslint/type-utils": "8.58.2", "@typescript-eslint/type-utils": "8.59.0",
"@typescript-eslint/utils": "8.58.2", "@typescript-eslint/utils": "8.59.0",
"@typescript-eslint/visitor-keys": "8.58.2", "@typescript-eslint/visitor-keys": "8.59.0",
"ignore": "^7.0.5", "ignore": "^7.0.5",
"natural-compare": "^1.4.0", "natural-compare": "^1.4.0",
"ts-api-utils": "^2.5.0" "ts-api-utils": "^2.5.0"
@@ -2495,7 +2496,7 @@
"url": "https://opencollective.com/typescript-eslint" "url": "https://opencollective.com/typescript-eslint"
}, },
"peerDependencies": { "peerDependencies": {
"@typescript-eslint/parser": "^8.58.2", "@typescript-eslint/parser": "^8.59.0",
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
"typescript": ">=4.8.4 <6.1.0" "typescript": ">=4.8.4 <6.1.0"
} }
@@ -2511,16 +2512,16 @@
} }
}, },
"node_modules/@typescript-eslint/parser": { "node_modules/@typescript-eslint/parser": {
"version": "8.58.2", "version": "8.59.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.58.2.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.59.0.tgz",
"integrity": "sha512-/Zb/xaIDfxeJnvishjGdcR4jmr7S+bda8PKNhRGdljDM+elXhlvN0FyPSsMnLmJUrVG9aPO6dof80wjMawsASg==", "integrity": "sha512-TI1XGwKbDpo9tRW8UDIXCOeLk55qe9ZFGs8MTKU6/M08HWTw52DD/IYhfQtOEhEdPhLMT26Ka/x7p70nd3dzDg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@typescript-eslint/scope-manager": "8.58.2", "@typescript-eslint/scope-manager": "8.59.0",
"@typescript-eslint/types": "8.58.2", "@typescript-eslint/types": "8.59.0",
"@typescript-eslint/typescript-estree": "8.58.2", "@typescript-eslint/typescript-estree": "8.59.0",
"@typescript-eslint/visitor-keys": "8.58.2", "@typescript-eslint/visitor-keys": "8.59.0",
"debug": "^4.4.3" "debug": "^4.4.3"
}, },
"engines": { "engines": {
@@ -2536,14 +2537,14 @@
} }
}, },
"node_modules/@typescript-eslint/project-service": { "node_modules/@typescript-eslint/project-service": {
"version": "8.58.2", "version": "8.59.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.58.2.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.59.0.tgz",
"integrity": "sha512-Cq6UfpZZk15+r87BkIh5rDpi38W4b+Sjnb8wQCPPDDweS/LRCFjCyViEbzHk5Ck3f2QDfgmlxqSa7S7clDtlfg==", "integrity": "sha512-Lw5ITrR5s5TbC19YSvlr63ZfLaJoU6vtKTHyB0GQOpX0W7d5/Ir6vUahWi/8Sps/nOukZQ0IB3SmlxZnjaKVnw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@typescript-eslint/tsconfig-utils": "^8.58.2", "@typescript-eslint/tsconfig-utils": "^8.59.0",
"@typescript-eslint/types": "^8.58.2", "@typescript-eslint/types": "^8.59.0",
"debug": "^4.4.3" "debug": "^4.4.3"
}, },
"engines": { "engines": {
@@ -2558,14 +2559,14 @@
} }
}, },
"node_modules/@typescript-eslint/scope-manager": { "node_modules/@typescript-eslint/scope-manager": {
"version": "8.58.2", "version": "8.59.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.58.2.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.59.0.tgz",
"integrity": "sha512-SgmyvDPexWETQek+qzZnrG6844IaO02UVyOLhI4wpo82dpZJY9+6YZCKAMFzXb7qhx37mFK1QcPQ18tud+vo6Q==", "integrity": "sha512-UzR16Ut8IpA3Mc4DbgAShlPPkVm8xXMWafXxB0BocaVRHs8ZGakAxGRskF7FId3sdk9lgGD73GSFaWmWFDE4dg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@typescript-eslint/types": "8.58.2", "@typescript-eslint/types": "8.59.0",
"@typescript-eslint/visitor-keys": "8.58.2" "@typescript-eslint/visitor-keys": "8.59.0"
}, },
"engines": { "engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0" "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -2576,9 +2577,9 @@
} }
}, },
"node_modules/@typescript-eslint/tsconfig-utils": { "node_modules/@typescript-eslint/tsconfig-utils": {
"version": "8.58.2", "version": "8.59.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.58.2.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.59.0.tgz",
"integrity": "sha512-3SR+RukipDvkkKp/d0jP0dyzuls3DbGmwDpVEc5wqk5f38KFThakqAAO0XMirWAE+kT00oTauTbzMFGPoAzB0A==", "integrity": "sha512-91Sbl3s4Kb3SybliIY6muFBmHVv+pYXfybC4Oolp3dvk8BvIE3wOPc+403CWIT7mJNkfQRGtdqghzs2+Z91Tqg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
@@ -2593,15 +2594,15 @@
} }
}, },
"node_modules/@typescript-eslint/type-utils": { "node_modules/@typescript-eslint/type-utils": {
"version": "8.58.2", "version": "8.59.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.58.2.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.59.0.tgz",
"integrity": "sha512-Z7EloNR/B389FvabdGeTo2XMs4W9TjtPiO9DAsmT0yom0bwlPyRjkJ1uCdW1DvrrrYP50AJZ9Xc3sByZA9+dcg==", "integrity": "sha512-3TRiZaQSltGqGeNrJzzr1+8YcEobKH9rHnqIp/1psfKFmhRQDNMGP5hBufanYTGznwShzVLs3Mz+gDN7HkWfXg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@typescript-eslint/types": "8.58.2", "@typescript-eslint/types": "8.59.0",
"@typescript-eslint/typescript-estree": "8.58.2", "@typescript-eslint/typescript-estree": "8.59.0",
"@typescript-eslint/utils": "8.58.2", "@typescript-eslint/utils": "8.59.0",
"debug": "^4.4.3", "debug": "^4.4.3",
"ts-api-utils": "^2.5.0" "ts-api-utils": "^2.5.0"
}, },
@@ -2618,9 +2619,9 @@
} }
}, },
"node_modules/@typescript-eslint/types": { "node_modules/@typescript-eslint/types": {
"version": "8.58.2", "version": "8.59.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.58.2.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.59.0.tgz",
"integrity": "sha512-9TukXyATBQf/Jq9AMQXfvurk+G5R2MwfqQGDR2GzGz28HvY/lXNKGhkY+6IOubwcquikWk5cjlgPvD2uAA7htQ==", "integrity": "sha512-nLzdsT1gdOgFxxxwrlNVUBzSNBEEHJ86bblmk4QAS6stfig7rcJzWKqCyxFy3YRRHXDWEkb2NralA1nOYkkm/A==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
@@ -2632,16 +2633,16 @@
} }
}, },
"node_modules/@typescript-eslint/typescript-estree": { "node_modules/@typescript-eslint/typescript-estree": {
"version": "8.58.2", "version": "8.59.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.58.2.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.59.0.tgz",
"integrity": "sha512-ELGuoofuhhoCvNbQjFFiobFcGgcDCEm0ThWdmO4Z0UzLqPXS3KFvnEZ+SHewwOYHjM09tkzOWXNTv9u6Gqtyuw==", "integrity": "sha512-O9Re9P1BmBLFJyikRbQpLku/QA3/AueZNO9WePLBwQrvkixTmDe8u76B6CYUAITRl/rHawggEqUGn5QIkVRLMw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@typescript-eslint/project-service": "8.58.2", "@typescript-eslint/project-service": "8.59.0",
"@typescript-eslint/tsconfig-utils": "8.58.2", "@typescript-eslint/tsconfig-utils": "8.59.0",
"@typescript-eslint/types": "8.58.2", "@typescript-eslint/types": "8.59.0",
"@typescript-eslint/visitor-keys": "8.58.2", "@typescript-eslint/visitor-keys": "8.59.0",
"debug": "^4.4.3", "debug": "^4.4.3",
"minimatch": "^10.2.2", "minimatch": "^10.2.2",
"semver": "^7.7.3", "semver": "^7.7.3",
@@ -2699,16 +2700,16 @@
} }
}, },
"node_modules/@typescript-eslint/utils": { "node_modules/@typescript-eslint/utils": {
"version": "8.58.2", "version": "8.59.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.58.2.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.59.0.tgz",
"integrity": "sha512-QZfjHNEzPY8+l0+fIXMvuQ2sJlplB4zgDZvA+NmvZsZv3EQwOcc1DuIU1VJUTWZ/RKouBMhDyNaBMx4sWvrzRA==", "integrity": "sha512-I1R/K7V07XsMJ12Oaxg/O9GfrysGTmCRhvZJBv0RE0NcULMzjqVpR5kRRQjHsz3J/bElU7HwCO7zkqL+MSUz+g==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@eslint-community/eslint-utils": "^4.9.1", "@eslint-community/eslint-utils": "^4.9.1",
"@typescript-eslint/scope-manager": "8.58.2", "@typescript-eslint/scope-manager": "8.59.0",
"@typescript-eslint/types": "8.58.2", "@typescript-eslint/types": "8.59.0",
"@typescript-eslint/typescript-estree": "8.58.2" "@typescript-eslint/typescript-estree": "8.59.0"
}, },
"engines": { "engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0" "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -2723,13 +2724,13 @@
} }
}, },
"node_modules/@typescript-eslint/visitor-keys": { "node_modules/@typescript-eslint/visitor-keys": {
"version": "8.58.2", "version": "8.59.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.58.2.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.59.0.tgz",
"integrity": "sha512-f1WO2Lx8a9t8DARmcWAUPJbu0G20bJlj8L4z72K00TMeJAoyLr/tHhI/pzYBLrR4dXWkcxO1cWYZEOX8DKHTqA==", "integrity": "sha512-/uejZt4dSere1bx12WLlPfv8GktzcaDtuJ7s42/HEZ5zGj9oxRaD4bj7qwSunXkf+pbAhFt2zjpHYUiT5lHf0Q==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@typescript-eslint/types": "8.58.2", "@typescript-eslint/types": "8.59.0",
"eslint-visitor-keys": "^5.0.0" "eslint-visitor-keys": "^5.0.0"
}, },
"engines": { "engines": {
@@ -3080,9 +3081,9 @@
} }
}, },
"node_modules/ajv": { "node_modules/ajv": {
"version": "8.18.0", "version": "8.20.0",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz",
"integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -3492,9 +3493,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/baseline-browser-mapping": { "node_modules/baseline-browser-mapping": {
"version": "2.10.20", "version": "2.10.23",
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.20.tgz", "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.23.tgz",
"integrity": "sha512-1AaXxEPfXT+GvTBJFuy4yXVHWJBXa4OdbIebGN/wX5DlsIkU0+wzGnd2lOzokSk51d5LUmqjgBLRLlypLUqInQ==", "integrity": "sha512-xwVXGqevyKPsiuQdLj+dZMVjidjJV508TBqexND5HrF89cGdCYCJFB3qhcxRHSeMctdCfbR1jrxBajhDy7o29g==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"bin": { "bin": {
@@ -3714,9 +3715,9 @@
} }
}, },
"node_modules/caniuse-lite": { "node_modules/caniuse-lite": {
"version": "1.0.30001788", "version": "1.0.30001791",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001788.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001791.tgz",
"integrity": "sha512-6q8HFp+lOQtcf7wBK+uEenxymVWkGKkjFpCvw5W25cmMwEDU45p1xQFBQv8JDlMMry7eNxyBaR+qxgmTUZkIRQ==", "integrity": "sha512-yk0l/YSrOnFZk3UROpDLQD9+kC1l4meK/wed583AXrzoarMGJcbRi2Q4RaUYbKxYAsZ8sWmaSa/DsLmdBeI1vQ==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@@ -5745,9 +5746,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/electron-to-chromium": { "node_modules/electron-to-chromium": {
"version": "1.5.340", "version": "1.5.344",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.340.tgz", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.344.tgz",
"integrity": "sha512-908qahOGocRMinT2nM3ajCEM99H4iPdv84eagPP3FfZy/1ZGeOy2CZYzjhms81ckOPCXPlW7LkY4XpxD8r1DrA==", "integrity": "sha512-4MxfbmNDm+KPh066EZy+eUnkcDPcZ35wNmOWzFuh/ijvHsve6kbLTLURy88uCNK5FbpN+yk2nQY6BYh1GEt+wg==",
"dev": true, "dev": true,
"license": "ISC" "license": "ISC"
}, },
@@ -5772,14 +5773,14 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/enhanced-resolve": { "node_modules/enhanced-resolve": {
"version": "5.20.1", "version": "5.21.0",
"resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.20.1.tgz", "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.21.0.tgz",
"integrity": "sha512-Qohcme7V1inbAfvjItgw0EaxVX5q2rdVEZHRBrEQdRZTssLDGsL8Lwrznl8oQ/6kuTJONLaDcGjkNP247XEhcA==", "integrity": "sha512-otxSQPw4lkOZWkHpB3zaEQs6gWYEsmX4xQF68ElXC/TWvGxGMSGOvoNbaLXm6/cS/fSfHtsEdw90y20PCd+sCA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"graceful-fs": "^4.2.4", "graceful-fs": "^4.2.4",
"tapable": "^2.3.0" "tapable": "^2.3.3"
}, },
"engines": { "engines": {
"node": ">=10.13.0" "node": ">=10.13.0"
@@ -6265,9 +6266,9 @@
} }
}, },
"node_modules/eslint/node_modules/ajv": { "node_modules/eslint/node_modules/ajv": {
"version": "6.14.0", "version": "6.15.0",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.14.0.tgz", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz",
"integrity": "sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==", "integrity": "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"peer": true, "peer": true,
@@ -7293,16 +7294,16 @@
} }
}, },
"node_modules/global-directory": { "node_modules/global-directory": {
"version": "4.0.1", "version": "5.0.0",
"resolved": "https://registry.npmjs.org/global-directory/-/global-directory-4.0.1.tgz", "resolved": "https://registry.npmjs.org/global-directory/-/global-directory-5.0.0.tgz",
"integrity": "sha512-wHTUcDUoZ1H5/0iVqEudYW4/kAlN5cZ3j/bXn0Dpbizl9iaUVeWSHqiOjsgk6OW2bkLclbBjzewBz6weQ1zA2Q==", "integrity": "sha512-1pgFdhK3J2LeM+dVf2Pd424yHx2ou338lC0ErNP2hPx4j8eW1Sp0XqSjNxtk6Tc4Kr5wlWtSvz8cn2yb7/SG/w==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"ini": "4.1.1" "ini": "6.0.0"
}, },
"engines": { "engines": {
"node": ">=18" "node": ">=20"
}, },
"funding": { "funding": {
"url": "https://github.com/sponsors/sindresorhus" "url": "https://github.com/sponsors/sindresorhus"
@@ -7569,22 +7570,6 @@
"node": ">=10.17.0" "node": ">=10.17.0"
} }
}, },
"node_modules/husky": {
"version": "9.1.7",
"resolved": "https://registry.npmjs.org/husky/-/husky-9.1.7.tgz",
"integrity": "sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==",
"dev": true,
"license": "MIT",
"bin": {
"husky": "bin.js"
},
"engines": {
"node": ">=18"
},
"funding": {
"url": "https://github.com/sponsors/typicode"
}
},
"node_modules/ignore": { "node_modules/ignore": {
"version": "5.3.2", "version": "5.3.2",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
@@ -7693,13 +7678,13 @@
"license": "ISC" "license": "ISC"
}, },
"node_modules/ini": { "node_modules/ini": {
"version": "4.1.1", "version": "6.0.0",
"resolved": "https://registry.npmjs.org/ini/-/ini-4.1.1.tgz", "resolved": "https://registry.npmjs.org/ini/-/ini-6.0.0.tgz",
"integrity": "sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g==", "integrity": "sha512-IBTdIkzZNOpqm7q3dRqJvMaldXjDHWkEDfrwGEQTs5eaQMWV+djAhR+wahyNNMAa+qpbDUhBMVt4ZKNwpPm7xQ==",
"dev": true, "dev": true,
"license": "ISC", "license": "ISC",
"engines": { "engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0" "node": "^20.17.0 || >=22.9.0"
} }
}, },
"node_modules/internal-slot": { "node_modules/internal-slot": {
@@ -9176,6 +9161,169 @@
"node": ">=0.10.0" "node": ">=0.10.0"
} }
}, },
"node_modules/lefthook": {
"version": "1.11.13",
"resolved": "https://registry.npmjs.org/lefthook/-/lefthook-1.11.13.tgz",
"integrity": "sha512-SDTk3D4nW1XRpR9u9fdYQ/qj1xeZVIwZmIFdJUnyq+w9ZLdCCvIrOmtD8SFiJowSevISjQDC+f9nqyFXUxc0SQ==",
"dev": true,
"hasInstallScript": true,
"license": "MIT",
"bin": {
"lefthook": "bin/index.js"
},
"optionalDependencies": {
"lefthook-darwin-arm64": "1.11.13",
"lefthook-darwin-x64": "1.11.13",
"lefthook-freebsd-arm64": "1.11.13",
"lefthook-freebsd-x64": "1.11.13",
"lefthook-linux-arm64": "1.11.13",
"lefthook-linux-x64": "1.11.13",
"lefthook-openbsd-arm64": "1.11.13",
"lefthook-openbsd-x64": "1.11.13",
"lefthook-windows-arm64": "1.11.13",
"lefthook-windows-x64": "1.11.13"
}
},
"node_modules/lefthook-darwin-arm64": {
"version": "1.11.13",
"resolved": "https://registry.npmjs.org/lefthook-darwin-arm64/-/lefthook-darwin-arm64-1.11.13.tgz",
"integrity": "sha512-gHwHofXupCtzNLN+8esdWfFTnAEkmBxE/WKA0EwxPPJXdZYa1GUsiG5ipq/CdG/0j8ekYyM9Hzyrrk5BqJ42xw==",
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"darwin"
]
},
"node_modules/lefthook-darwin-x64": {
"version": "1.11.13",
"resolved": "https://registry.npmjs.org/lefthook-darwin-x64/-/lefthook-darwin-x64-1.11.13.tgz",
"integrity": "sha512-zYxkWNUirmTidhskY9J9AwxvdMi3YKH+TqZ3AQ1EOqkOwPBWJQW5PbnzsXDrd3YnrtZScYm/tE/moXJpEPPIpQ==",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"darwin"
]
},
"node_modules/lefthook-freebsd-arm64": {
"version": "1.11.13",
"resolved": "https://registry.npmjs.org/lefthook-freebsd-arm64/-/lefthook-freebsd-arm64-1.11.13.tgz",
"integrity": "sha512-gJzWnllcMcivusmPorEkXPpEciKotlBHn7QxWwYaSjss/U3YdZu+NTjDO30b3qeiVlyq4RAZ4BPKJODXxHHwUA==",
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"freebsd"
]
},
"node_modules/lefthook-freebsd-x64": {
"version": "1.11.13",
"resolved": "https://registry.npmjs.org/lefthook-freebsd-x64/-/lefthook-freebsd-x64-1.11.13.tgz",
"integrity": "sha512-689XdchgtDvZQWFFx1szUvm/mqrq/v6laki0odq5FAfcSgUeLu3w+z6UicBS5l55eFJuQTDNKARFqrKJ04e+Vw==",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"freebsd"
]
},
"node_modules/lefthook-linux-arm64": {
"version": "1.11.13",
"resolved": "https://registry.npmjs.org/lefthook-linux-arm64/-/lefthook-linux-arm64-1.11.13.tgz",
"integrity": "sha512-ujCLbaZg5S/Ao8KZAcNSb+Y3gl898ZEM0YKyiZmZo22dFFpm/5gcV46pF3xaqIw5IpH+3YYDTKDU+qTetmARyQ==",
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"linux"
]
},
"node_modules/lefthook-linux-x64": {
"version": "1.11.13",
"resolved": "https://registry.npmjs.org/lefthook-linux-x64/-/lefthook-linux-x64-1.11.13.tgz",
"integrity": "sha512-O5WdodeBtFOXQlvPcckqp4W/yqVM9DbVQBkvOxwSJlmsxO4sGYK1TqdxH9ihLB85B2kPPssZj9ze36/oizzhVQ==",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"linux"
]
},
"node_modules/lefthook-openbsd-arm64": {
"version": "1.11.13",
"resolved": "https://registry.npmjs.org/lefthook-openbsd-arm64/-/lefthook-openbsd-arm64-1.11.13.tgz",
"integrity": "sha512-SyBpciUfvY/lUDbZu7L6MtL/SVG2+yMTckBgb4PdJQhJlisY0IsyOYdlTw2icPPrY7JnwdsFv8UW0EJOB76W4g==",
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"openbsd"
]
},
"node_modules/lefthook-openbsd-x64": {
"version": "1.11.13",
"resolved": "https://registry.npmjs.org/lefthook-openbsd-x64/-/lefthook-openbsd-x64-1.11.13.tgz",
"integrity": "sha512-6+/0j6O2dzo9cjTWUKfL2J6hRR7Krna/ssqnW8cWh8QHZKO9WJn34epto9qgjeHwSysou8byI7Mwv5zOGthLCQ==",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"openbsd"
]
},
"node_modules/lefthook-windows-arm64": {
"version": "1.11.13",
"resolved": "https://registry.npmjs.org/lefthook-windows-arm64/-/lefthook-windows-arm64-1.11.13.tgz",
"integrity": "sha512-w5TwZ8bsZ17uOMtYGc5oEb4tCHjNTSeSXRy6H9Yic8E7IsPZtZLkaZGnIIwgXFuhhrcCdc6FuTvKt2tyV7EW2g==",
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"win32"
]
},
"node_modules/lefthook-windows-x64": {
"version": "1.11.13",
"resolved": "https://registry.npmjs.org/lefthook-windows-x64/-/lefthook-windows-x64-1.11.13.tgz",
"integrity": "sha512-7lvwnIs8CNOXKU4y3i1Pbqna+QegIORkSD2VCuHBNpIJ8H84NpjoG3tKU91IM/aI1a2eUvCk+dw+1rfMRz7Ytg==",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"win32"
]
},
"node_modules/leven": { "node_modules/leven": {
"version": "3.1.0", "version": "3.1.0",
"resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz",
@@ -9860,9 +10008,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/node-releases": { "node_modules/node-releases": {
"version": "2.0.37", "version": "2.0.38",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.37.tgz", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.38.tgz",
"integrity": "sha512-1h5gKZCF+pO/o3Iqt5Jp7wc9rH3eJJ0+nh/CIoiRwjRxde/hAHyLPXYN4V3CqKAbiZPSeJFSWHmJsbkicta0Eg==", "integrity": "sha512-3qT/88Y3FbH/Kx4szpQQ4HzUbVrHPKTLVpVocKiLfoYvw9XSGOX2FmD2d6DrXbVYyAQTF2HeF6My8jmzx7/CRw==",
"dev": true, "dev": true,
"license": "MIT" "license": "MIT"
}, },
@@ -10533,7 +10681,6 @@
"integrity": "sha512-7igPTM53cGHMW8xWuVTydi2KO233VFiTNyF5hLJqpilHfmn8C8gPf+PS7dUT64YcXFbiMGZxS9pCSxL/Dxm/Jw==", "integrity": "sha512-7igPTM53cGHMW8xWuVTydi2KO233VFiTNyF5hLJqpilHfmn8C8gPf+PS7dUT64YcXFbiMGZxS9pCSxL/Dxm/Jw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"peer": true,
"bin": { "bin": {
"prettier": "bin/prettier.cjs" "prettier": "bin/prettier.cjs"
}, },
@@ -10989,15 +11136,6 @@
"node": ">=0.10.0" "node": ">=0.10.0"
} }
}, },
"node_modules/require-like": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/require-like/-/require-like-0.1.2.tgz",
"integrity": "sha512-oyrU88skkMtDdauHDuKVrgR+zuItqr6/c//FXzvmxRGMexSDc6hNvJInGW3LL46n+8b50RykrvwSUIIQH2LQ5A==",
"dev": true,
"engines": {
"node": "*"
}
},
"node_modules/resolve": { "node_modules/resolve": {
"version": "2.0.0-next.6", "version": "2.0.0-next.6",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.6.tgz", "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.6.tgz",
@@ -11119,32 +11257,36 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/runmd": { "node_modules/runmd": {
"version": "1.4.1", "version": "2.1.1",
"resolved": "https://registry.npmjs.org/runmd/-/runmd-1.4.1.tgz", "resolved": "https://registry.npmjs.org/runmd/-/runmd-2.1.1.tgz",
"integrity": "sha512-pR8Sh9XniDM+xxv3e7AwBuGi7dOsq37YZTYrFmKmvEzdvC3FRBLfCdMGx4dkN45P4LjmCgJ5qxYX2AFWLiWMSA==", "integrity": "sha512-HkUm+a356ggu1DPlhMjqRYO5uIVbDXJVhnsqFaDigHQMJBU7i54kdCBm3bOk2L9bQWmCayyTWKgl8XayRFErlA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"minimist": "1.2.8", "commander": "14.0.3"
"require-like": "0.1.2"
}, },
"bin": { "bin": {
"runmd": "cli.js" "runmd": "dist/cli.js"
}, },
"peerDependencies": { "peerDependencies": {
"prettier": "^3.4.2" "prettier": "^3"
},
"peerDependenciesMeta": {
"prettier": {
"optional": true
}
} }
}, },
"node_modules/safe-array-concat": { "node_modules/safe-array-concat": {
"version": "1.1.3", "version": "1.1.4",
"resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.3.tgz", "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.4.tgz",
"integrity": "sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==", "integrity": "sha512-wtZlHyOje6OZTGqAoaDKxFkgRtkF9CnHAVnCHKfuj200wAgL+bSJhdsCD2l0Qx/2ekEXjPWcyKkfGb5CPboslg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"call-bind": "^1.0.8", "call-bind": "^1.0.9",
"call-bound": "^1.0.2", "call-bound": "^1.0.4",
"get-intrinsic": "^1.2.6", "get-intrinsic": "^1.3.0",
"has-symbols": "^1.1.0", "has-symbols": "^1.1.0",
"isarray": "^2.0.5" "isarray": "^2.0.5"
}, },
@@ -12179,9 +12321,9 @@
} }
}, },
"node_modules/tapable": { "node_modules/tapable": {
"version": "2.3.2", "version": "2.3.3",
"resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.2.tgz", "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.3.tgz",
"integrity": "sha512-1MOpMXuhGzGL5TTCZFItxCc0AARf1EZFQkGqMm7ERKj8+Hgr5oLvJOVFcC+lRmR8hCe2S3jC4T5D7Vg/d7/fhA==", "integrity": "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
@@ -12459,16 +12601,16 @@
} }
}, },
"node_modules/typescript-eslint": { "node_modules/typescript-eslint": {
"version": "8.58.2", "version": "8.59.0",
"resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.58.2.tgz", "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.59.0.tgz",
"integrity": "sha512-V8iSng9mRbdZjl54VJ9NKr6ZB+dW0J3TzRXRGcSbLIej9jV86ZRtlYeTKDR/QLxXykocJ5icNzbsl2+5TzIvcQ==", "integrity": "sha512-BU3ONW9X+v90EcCH9ZS6LMackcVtxRLlI3XrYyqZIwVSHIk7Qf7bFw1z0M9Q0IUxhTMZCf8piY9hTYaNEIASrw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@typescript-eslint/eslint-plugin": "8.58.2", "@typescript-eslint/eslint-plugin": "8.59.0",
"@typescript-eslint/parser": "8.58.2", "@typescript-eslint/parser": "8.59.0",
"@typescript-eslint/typescript-estree": "8.58.2", "@typescript-eslint/typescript-estree": "8.59.0",
"@typescript-eslint/utils": "8.58.2" "@typescript-eslint/utils": "8.59.0"
}, },
"engines": { "engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0" "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+5 -4
View File
@@ -43,13 +43,14 @@
"bundlewatch": "0.4.1", "bundlewatch": "0.4.1",
"commander": "14.0.3", "commander": "14.0.3",
"globals": "17.4.0", "globals": "17.4.0",
"husky": "9.1.7",
"jest": "30.3.0", "jest": "30.3.0",
"lefthook": "1.11.13",
"lint-staged": "16.4.0", "lint-staged": "16.4.0",
"neostandard": "0.13.0", "neostandard": "0.13.0",
"npm-run-all2": "8.0.4", "npm-run-all2": "8.0.4",
"prettier": "3.8.3",
"release-please": "17.3.0", "release-please": "17.3.0",
"runmd": "1.4.1", "runmd": "2.1.1",
"standard-version": "9.5.0", "standard-version": "9.5.0",
"typescript": "5.4.3" "typescript": "5.4.3"
}, },
@@ -65,7 +66,7 @@
"build": "./scripts/build.sh", "build": "./scripts/build.sh",
"build:watch": "tsc --watch -p tsconfig.json", "build:watch": "tsc --watch -p tsconfig.json",
"bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json", "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json",
"docs:diff": "npm run docs && git diff --quiet -I \"[0-9a-f-]{36}\" README.md", "docs:diff": "npm run docs && git diff README.md",
"docs": "npm run build && npx runmd --output=README.md README_js.md", "docs": "npm run build && npx runmd --output=README.md README_js.md",
"biome:check": "biome check .", "biome:check": "biome check .",
"biome:fix": "biome check --write .", "biome:fix": "biome check --write .",
@@ -77,7 +78,7 @@
"lint": "npm run biome:check", "lint": "npm run biome:check",
"md": "runmd --watch --output=README.md README_js.md", "md": "runmd --watch --output=README.md README_js.md",
"prepack": "npm run build -- --no-pack", "prepack": "npm run build -- --no-pack",
"prepare": "husky", "prepare": "lefthook install",
"prepublishOnly": "npm run build", "prepublishOnly": "npm run build",
"pretest:benchmark": "npm run build", "pretest:benchmark": "npm run build",
"pretest:browser": "./scripts/iodd && npm run build && npm-run-all --parallel examples:browser:**", "pretest:browser": "./scripts/iodd && npm run build && npm-run-all --parallel examples:browser:**",
+7
View File
@@ -0,0 +1,7 @@
export default {
arrowParens: 'always',
printWidth: 100,
proseWrap: 'never',
singleQuote: true,
trailingComma: 'es5',
};
+1 -1
View File
@@ -7,7 +7,7 @@
# Note: that the "preferred" build for testing (local and CI) is the ESM build, # Note: that the "preferred" build for testing (local and CI) is the ESM build,
# except where we specifically test the other builds # except where we specifically test the other builds
set -e # exit on error set -euo pipefail
# Change to project root # Change to project root
ROOT=$(builtin cd $(pwd)/$(dirname "$0")/..; pwd) ROOT=$(builtin cd $(pwd)/$(dirname "$0")/..; pwd)