Update checked-in dependencies

This commit is contained in:
github-actions[bot] 2025-01-13 17:23:46 +00:00
parent 7269bf610b
commit e5a7c904c1
215 changed files with 41592 additions and 3253 deletions

View file

@ -1,2 +1,2 @@
declare function md5(bytes: Uint8Array): Uint8Array<ArrayBuffer>;
declare function md5(bytes: Uint8Array): Uint8Array;
export default md5;

View file

@ -1,2 +1,2 @@
declare function parse(uuid: string): Uint8Array<ArrayBuffer>;
declare function parse(uuid: string): Uint8Array;
export default parse;

View file

@ -1 +1 @@
export default function rng(): Uint8Array<ArrayBuffer>;
export default function rng(): Uint8Array;

View file

@ -1,6 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = rng;
let getRandomValues;
const rnds8 = new Uint8Array(16);
function rng() {
@ -12,3 +11,4 @@ function rng() {
}
return getRandomValues(rnds8);
}
exports.default = rng;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.unsafeStringify = unsafeStringify;
exports.unsafeStringify = void 0;
const validate_js_1 = require("./validate.js");
const byteToHex = [];
for (let i = 0; i < 256; ++i) {
@ -28,6 +28,7 @@ function unsafeStringify(arr, offset = 0) {
byteToHex[arr[offset + 14]] +
byteToHex[arr[offset + 15]]).toLowerCase();
}
exports.unsafeStringify = unsafeStringify;
function stringify(arr, offset = 0) {
const uuid = unsafeStringify(arr, offset);
if (!(0, validate_js_1.default)(uuid)) {

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.updateV1State = updateV1State;
exports.updateV1State = void 0;
const rng_js_1 = require("./rng.js");
const stringify_js_1 = require("./stringify.js");
const _state = {};
@ -48,6 +48,7 @@ function updateV1State(state, now, rnds) {
state.msecs = now;
return state;
}
exports.updateV1State = updateV1State;
function v1Bytes(rnds, msecs, nsecs, clockseq, node, buf, offset = 0) {
if (rnds.length < 16) {
throw new Error('Random bytes length must be >= 16');

View file

@ -1,6 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = v1ToV6;
const parse_js_1 = require("./parse.js");
const stringify_js_1 = require("./stringify.js");
function v1ToV6(uuid) {
@ -8,6 +7,7 @@ function v1ToV6(uuid) {
const v6Bytes = _v1ToV6(v1Bytes);
return typeof uuid === 'string' ? (0, stringify_js_1.unsafeStringify)(v6Bytes) : v6Bytes;
}
exports.default = v1ToV6;
function _v1ToV6(v1Bytes) {
return Uint8Array.of(((v1Bytes[6] & 0x0f) << 4) | ((v1Bytes[7] >> 4) & 0x0f), ((v1Bytes[7] & 0x0f) << 4) | ((v1Bytes[4] & 0xf0) >> 4), ((v1Bytes[4] & 0x0f) << 4) | ((v1Bytes[5] & 0xf0) >> 4), ((v1Bytes[5] & 0x0f) << 4) | ((v1Bytes[0] & 0xf0) >> 4), ((v1Bytes[0] & 0x0f) << 4) | ((v1Bytes[1] & 0xf0) >> 4), ((v1Bytes[1] & 0x0f) << 4) | ((v1Bytes[2] & 0xf0) >> 4), 0x60 | (v1Bytes[2] & 0x0f), v1Bytes[3], v1Bytes[8], v1Bytes[9], v1Bytes[10], v1Bytes[11], v1Bytes[12], v1Bytes[13], v1Bytes[14], v1Bytes[15]);
}

View file

@ -1,7 +1,7 @@
import { UUIDTypes } from './types.js';
export declare function stringToBytes(str: string): Uint8Array<ArrayBuffer>;
export declare function stringToBytes(str: string): Uint8Array;
export declare const DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
export declare const URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
type HashFunction = (bytes: Uint8Array) => Uint8Array;
export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: Uint8Array, offset?: number): string | Uint8Array<ArrayBufferLike>;
export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: Uint8Array, offset?: number): string | Uint8Array;
export {};

View file

@ -1,8 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.URL = exports.DNS = void 0;
exports.stringToBytes = stringToBytes;
exports.default = v35;
exports.URL = exports.DNS = exports.stringToBytes = void 0;
const parse_js_1 = require("./parse.js");
const stringify_js_1 = require("./stringify.js");
function stringToBytes(str) {
@ -13,6 +11,7 @@ function stringToBytes(str) {
}
return bytes;
}
exports.stringToBytes = stringToBytes;
exports.DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';
exports.URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';
function v35(version, hash, value, namespace, buf, offset) {
@ -39,3 +38,4 @@ function v35(version, hash, value, namespace, buf, offset) {
}
return (0, stringify_js_1.unsafeStringify)(bytes);
}
exports.default = v35;

View file

@ -1,6 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = v6ToV1;
const parse_js_1 = require("./parse.js");
const stringify_js_1 = require("./stringify.js");
function v6ToV1(uuid) {
@ -8,6 +7,7 @@ function v6ToV1(uuid) {
const v1Bytes = _v6ToV1(v6Bytes);
return typeof uuid === 'string' ? (0, stringify_js_1.unsafeStringify)(v1Bytes) : v1Bytes;
}
exports.default = v6ToV1;
function _v6ToV1(v6Bytes) {
return Uint8Array.of(((v6Bytes[3] & 0x0f) << 4) | ((v6Bytes[4] >> 4) & 0x0f), ((v6Bytes[4] & 0x0f) << 4) | ((v6Bytes[5] & 0xf0) >> 4), ((v6Bytes[5] & 0x0f) << 4) | (v6Bytes[6] & 0x0f), v6Bytes[7], ((v6Bytes[1] & 0x0f) << 4) | ((v6Bytes[2] & 0xf0) >> 4), ((v6Bytes[2] & 0x0f) << 4) | ((v6Bytes[3] & 0xf0) >> 4), 0x10 | ((v6Bytes[0] & 0xf0) >> 4), ((v6Bytes[0] & 0x0f) << 4) | ((v6Bytes[1] & 0xf0) >> 4), v6Bytes[8], v6Bytes[9], v6Bytes[10], v6Bytes[11], v6Bytes[12], v6Bytes[13], v6Bytes[14], v6Bytes[15]);
}

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.updateV7State = updateV7State;
exports.updateV7State = void 0;
const rng_js_1 = require("./rng.js");
const stringify_js_1 = require("./stringify.js");
const _state = {};
@ -32,6 +32,7 @@ function updateV7State(state, now, rnds) {
}
return state;
}
exports.updateV7State = updateV7State;
function v7Bytes(rnds, msecs, seq, buf, offset = 0) {
if (rnds.length < 16) {
throw new Error('Random bytes length must be >= 16');

View file

@ -1,2 +1,4 @@
declare function md5(bytes: Uint8Array): Buffer<ArrayBufferLike>;
/// <reference types="node" />
/// <reference types="node" />
declare function md5(bytes: Uint8Array): Buffer;
export default md5;

View file

@ -1,3 +1,4 @@
/// <reference types="node" />
import { randomUUID } from 'crypto';
declare const _default: {
randomUUID: typeof randomUUID;

View file

@ -1,2 +1,2 @@
declare function parse(uuid: string): Uint8Array<ArrayBuffer>;
declare function parse(uuid: string): Uint8Array;
export default parse;

View file

@ -1 +1 @@
export default function rng(): Uint8Array<ArrayBuffer>;
export default function rng(): Uint8Array;

2
node_modules/uuid/dist/cjs/rng.js generated vendored
View file

@ -1,6 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = rng;
const crypto_1 = require("crypto");
const rnds8Pool = new Uint8Array(256);
let poolPtr = rnds8Pool.length;
@ -11,3 +10,4 @@ function rng() {
}
return rnds8Pool.slice(poolPtr, (poolPtr += 16));
}
exports.default = rng;

View file

@ -1,2 +1,4 @@
declare function sha1(bytes: Uint8Array): Buffer<ArrayBufferLike>;
/// <reference types="node" />
/// <reference types="node" />
declare function sha1(bytes: Uint8Array): Buffer;
export default sha1;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.unsafeStringify = unsafeStringify;
exports.unsafeStringify = void 0;
const validate_js_1 = require("./validate.js");
const byteToHex = [];
for (let i = 0; i < 256; ++i) {
@ -28,6 +28,7 @@ function unsafeStringify(arr, offset = 0) {
byteToHex[arr[offset + 14]] +
byteToHex[arr[offset + 15]]).toLowerCase();
}
exports.unsafeStringify = unsafeStringify;
function stringify(arr, offset = 0) {
const uuid = unsafeStringify(arr, offset);
if (!(0, validate_js_1.default)(uuid)) {

3
node_modules/uuid/dist/cjs/v1.js generated vendored
View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.updateV1State = updateV1State;
exports.updateV1State = void 0;
const rng_js_1 = require("./rng.js");
const stringify_js_1 = require("./stringify.js");
const _state = {};
@ -48,6 +48,7 @@ function updateV1State(state, now, rnds) {
state.msecs = now;
return state;
}
exports.updateV1State = updateV1State;
function v1Bytes(rnds, msecs, nsecs, clockseq, node, buf, offset = 0) {
if (rnds.length < 16) {
throw new Error('Random bytes length must be >= 16');

View file

@ -1,6 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = v1ToV6;
const parse_js_1 = require("./parse.js");
const stringify_js_1 = require("./stringify.js");
function v1ToV6(uuid) {
@ -8,6 +7,7 @@ function v1ToV6(uuid) {
const v6Bytes = _v1ToV6(v1Bytes);
return typeof uuid === 'string' ? (0, stringify_js_1.unsafeStringify)(v6Bytes) : v6Bytes;
}
exports.default = v1ToV6;
function _v1ToV6(v1Bytes) {
return Uint8Array.of(((v1Bytes[6] & 0x0f) << 4) | ((v1Bytes[7] >> 4) & 0x0f), ((v1Bytes[7] & 0x0f) << 4) | ((v1Bytes[4] & 0xf0) >> 4), ((v1Bytes[4] & 0x0f) << 4) | ((v1Bytes[5] & 0xf0) >> 4), ((v1Bytes[5] & 0x0f) << 4) | ((v1Bytes[0] & 0xf0) >> 4), ((v1Bytes[0] & 0x0f) << 4) | ((v1Bytes[1] & 0xf0) >> 4), ((v1Bytes[1] & 0x0f) << 4) | ((v1Bytes[2] & 0xf0) >> 4), 0x60 | (v1Bytes[2] & 0x0f), v1Bytes[3], v1Bytes[8], v1Bytes[9], v1Bytes[10], v1Bytes[11], v1Bytes[12], v1Bytes[13], v1Bytes[14], v1Bytes[15]);
}

View file

@ -1,7 +1,7 @@
import { UUIDTypes } from './types.js';
export declare function stringToBytes(str: string): Uint8Array<ArrayBuffer>;
export declare function stringToBytes(str: string): Uint8Array;
export declare const DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
export declare const URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
type HashFunction = (bytes: Uint8Array) => Uint8Array;
export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: Uint8Array, offset?: number): string | Uint8Array<ArrayBufferLike>;
export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: Uint8Array, offset?: number): string | Uint8Array;
export {};

6
node_modules/uuid/dist/cjs/v35.js generated vendored
View file

@ -1,8 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.URL = exports.DNS = void 0;
exports.stringToBytes = stringToBytes;
exports.default = v35;
exports.URL = exports.DNS = exports.stringToBytes = void 0;
const parse_js_1 = require("./parse.js");
const stringify_js_1 = require("./stringify.js");
function stringToBytes(str) {
@ -13,6 +11,7 @@ function stringToBytes(str) {
}
return bytes;
}
exports.stringToBytes = stringToBytes;
exports.DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';
exports.URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';
function v35(version, hash, value, namespace, buf, offset) {
@ -39,3 +38,4 @@ function v35(version, hash, value, namespace, buf, offset) {
}
return (0, stringify_js_1.unsafeStringify)(bytes);
}
exports.default = v35;

View file

@ -1,6 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = v6ToV1;
const parse_js_1 = require("./parse.js");
const stringify_js_1 = require("./stringify.js");
function v6ToV1(uuid) {
@ -8,6 +7,7 @@ function v6ToV1(uuid) {
const v1Bytes = _v6ToV1(v6Bytes);
return typeof uuid === 'string' ? (0, stringify_js_1.unsafeStringify)(v1Bytes) : v1Bytes;
}
exports.default = v6ToV1;
function _v6ToV1(v6Bytes) {
return Uint8Array.of(((v6Bytes[3] & 0x0f) << 4) | ((v6Bytes[4] >> 4) & 0x0f), ((v6Bytes[4] & 0x0f) << 4) | ((v6Bytes[5] & 0xf0) >> 4), ((v6Bytes[5] & 0x0f) << 4) | (v6Bytes[6] & 0x0f), v6Bytes[7], ((v6Bytes[1] & 0x0f) << 4) | ((v6Bytes[2] & 0xf0) >> 4), ((v6Bytes[2] & 0x0f) << 4) | ((v6Bytes[3] & 0xf0) >> 4), 0x10 | ((v6Bytes[0] & 0xf0) >> 4), ((v6Bytes[0] & 0x0f) << 4) | ((v6Bytes[1] & 0xf0) >> 4), v6Bytes[8], v6Bytes[9], v6Bytes[10], v6Bytes[11], v6Bytes[12], v6Bytes[13], v6Bytes[14], v6Bytes[15]);
}

3
node_modules/uuid/dist/cjs/v7.js generated vendored
View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.updateV7State = updateV7State;
exports.updateV7State = void 0;
const rng_js_1 = require("./rng.js");
const stringify_js_1 = require("./stringify.js");
const _state = {};
@ -32,6 +32,7 @@ function updateV7State(state, now, rnds) {
}
return state;
}
exports.updateV7State = updateV7State;
function v7Bytes(rnds, msecs, seq, buf, offset = 0) {
if (rnds.length < 16) {
throw new Error('Random bytes length must be >= 16');

View file

@ -1,2 +1,2 @@
declare function md5(bytes: Uint8Array): Uint8Array<ArrayBuffer>;
declare function md5(bytes: Uint8Array): Uint8Array;
export default md5;

View file

@ -1,2 +1,2 @@
declare function parse(uuid: string): Uint8Array<ArrayBuffer>;
declare function parse(uuid: string): Uint8Array;
export default parse;

View file

@ -1 +1 @@
export default function rng(): Uint8Array<ArrayBuffer>;
export default function rng(): Uint8Array;

View file

@ -1,7 +1,7 @@
import { UUIDTypes } from './types.js';
export declare function stringToBytes(str: string): Uint8Array<ArrayBuffer>;
export declare function stringToBytes(str: string): Uint8Array;
export declare const DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
export declare const URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
type HashFunction = (bytes: Uint8Array) => Uint8Array;
export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: Uint8Array, offset?: number): string | Uint8Array<ArrayBufferLike>;
export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: Uint8Array, offset?: number): string | Uint8Array;
export {};

View file

@ -1,2 +1,4 @@
declare function md5(bytes: Uint8Array): Buffer<ArrayBufferLike>;
/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
declare function md5(bytes: Uint8Array): Buffer;
export default md5;

View file

@ -1,3 +1,4 @@
/// <reference types="node" resolution-mode="require"/>
import { randomUUID } from 'crypto';
declare const _default: {
randomUUID: typeof randomUUID;

View file

@ -1,2 +1,2 @@
declare function parse(uuid: string): Uint8Array<ArrayBuffer>;
declare function parse(uuid: string): Uint8Array;
export default parse;

View file

@ -1 +1 @@
export default function rng(): Uint8Array<ArrayBuffer>;
export default function rng(): Uint8Array;

View file

@ -1,2 +1,4 @@
declare function sha1(bytes: Uint8Array): Buffer<ArrayBufferLike>;
/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
declare function sha1(bytes: Uint8Array): Buffer;
export default sha1;

View file

@ -1,7 +1,7 @@
import { UUIDTypes } from './types.js';
export declare function stringToBytes(str: string): Uint8Array<ArrayBuffer>;
export declare function stringToBytes(str: string): Uint8Array;
export declare const DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
export declare const URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
type HashFunction = (bytes: Uint8Array) => Uint8Array;
export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: Uint8Array, offset?: number): string | Uint8Array<ArrayBufferLike>;
export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: Uint8Array, offset?: number): string | Uint8Array;
export {};