mirror of
https://github.com/actions/attest-build-provenance.git
synced 2026-09-12 19:07:12 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 49df96e17e | |||
| 132fcc796c | |||
| 923ac69214 | |||
| 70c1bd171e |
@@ -58,7 +58,8 @@ See [action.yml](action.yml)
|
|||||||
- uses: actions/attest-build-provenance@v1
|
- uses: actions/attest-build-provenance@v1
|
||||||
with:
|
with:
|
||||||
# Path to the artifact serving as the subject of the attestation. Must
|
# Path to the artifact serving as the subject of the attestation. Must
|
||||||
# specify exactly one of "subject-path" or "subject-digest".
|
# specify exactly one of "subject-path" or "subject-digest". May contain a
|
||||||
|
# glob pattern or list of paths (total subject count cannot exceed 2500).
|
||||||
subject-path:
|
subject-path:
|
||||||
|
|
||||||
# SHA256 digest of the subject for the attestation. Must be in the form
|
# SHA256 digest of the subject for the attestation. Must be in the form
|
||||||
@@ -97,6 +98,15 @@ If multiple subjects are being attested at the same time, each attestation will
|
|||||||
be written to the output file on a separate line (using the [JSON Lines][7]
|
be written to the output file on a separate line (using the [JSON Lines][7]
|
||||||
format).
|
format).
|
||||||
|
|
||||||
|
## Attestation Limits
|
||||||
|
|
||||||
|
### Subject Limits
|
||||||
|
|
||||||
|
No more than 2500 subjects can be attested at the same time. Subjects will be
|
||||||
|
processed in batches 50. After the initial group of 50, each subsequent batch
|
||||||
|
will incur an exponentially increasing amount of delay (capped at 1 minute of
|
||||||
|
delay per batch) to avoid overwhelming the attestation API.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
### Identify Subject by Path
|
### Identify Subject by Path
|
||||||
|
|||||||
+4
-3
@@ -8,8 +8,9 @@ branding:
|
|||||||
inputs:
|
inputs:
|
||||||
subject-path:
|
subject-path:
|
||||||
description: >
|
description: >
|
||||||
Path to the artifact for which provenance will be generated. Must specify
|
Path to the artifact serving as the subject of the attestation. Must
|
||||||
exactly one of "subject-path" or "subject-digest".
|
specify exactly one of "subject-path" or "subject-digest". May contain a
|
||||||
|
glob pattern or list of paths (total subject count cannot exceed 2500).
|
||||||
required: false
|
required: false
|
||||||
subject-digest:
|
subject-digest:
|
||||||
description: >
|
description: >
|
||||||
@@ -45,7 +46,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/attest-build-provenance/predicate@db1dde0f270afe12073070ac7aa802958ae3ec04 # predicate@1.0.0
|
- uses: actions/attest-build-provenance/predicate@db1dde0f270afe12073070ac7aa802958ae3ec04 # predicate@1.0.0
|
||||||
id: generate-build-provenance-predicate
|
id: generate-build-provenance-predicate
|
||||||
- uses: actions/attest@12c083815ed46d5d78222e3824f4a26c42c234d3 # v1.1.2
|
- uses: actions/attest@32795ed9174327efe1734fa6d09c9223658ef225 # v1.2.0
|
||||||
id: attest
|
id: attest
|
||||||
with:
|
with:
|
||||||
subject-path: ${{ inputs.subject-path }}
|
subject-path: ${{ inputs.subject-path }}
|
||||||
|
|||||||
+108
-74
@@ -76867,6 +76867,30 @@ module.exports = require("node:events");
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 87561:
|
||||||
|
/***/ ((module) => {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
module.exports = require("node:fs");
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 93977:
|
||||||
|
/***/ ((module) => {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
module.exports = require("node:fs/promises");
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 49411:
|
||||||
|
/***/ ((module) => {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
module.exports = require("node:path");
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
/***/ 84492:
|
/***/ 84492:
|
||||||
/***/ ((module) => {
|
/***/ ((module) => {
|
||||||
|
|
||||||
@@ -76875,6 +76899,22 @@ module.exports = require("node:stream");
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 76915:
|
||||||
|
/***/ ((module) => {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
module.exports = require("node:string_decoder");
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 41041:
|
||||||
|
/***/ ((module) => {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
module.exports = require("node:url");
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
/***/ 47261:
|
/***/ 47261:
|
||||||
/***/ ((module) => {
|
/***/ ((module) => {
|
||||||
|
|
||||||
@@ -84806,9 +84846,9 @@ const proc = typeof process === 'object' && process
|
|||||||
stdout: null,
|
stdout: null,
|
||||||
stderr: null,
|
stderr: null,
|
||||||
};
|
};
|
||||||
const events_1 = __nccwpck_require__(82361);
|
const node_events_1 = __nccwpck_require__(15673);
|
||||||
const stream_1 = __importDefault(__nccwpck_require__(12781));
|
const node_stream_1 = __importDefault(__nccwpck_require__(84492));
|
||||||
const string_decoder_1 = __nccwpck_require__(71576);
|
const node_string_decoder_1 = __nccwpck_require__(76915);
|
||||||
/**
|
/**
|
||||||
* Return true if the argument is a Minipass stream, Node stream, or something
|
* Return true if the argument is a Minipass stream, Node stream, or something
|
||||||
* else that Minipass can interact with.
|
* else that Minipass can interact with.
|
||||||
@@ -84816,7 +84856,7 @@ const string_decoder_1 = __nccwpck_require__(71576);
|
|||||||
const isStream = (s) => !!s &&
|
const isStream = (s) => !!s &&
|
||||||
typeof s === 'object' &&
|
typeof s === 'object' &&
|
||||||
(s instanceof Minipass ||
|
(s instanceof Minipass ||
|
||||||
s instanceof stream_1.default ||
|
s instanceof node_stream_1.default ||
|
||||||
(0, exports.isReadable)(s) ||
|
(0, exports.isReadable)(s) ||
|
||||||
(0, exports.isWritable)(s));
|
(0, exports.isWritable)(s));
|
||||||
exports.isStream = isStream;
|
exports.isStream = isStream;
|
||||||
@@ -84825,17 +84865,17 @@ exports.isStream = isStream;
|
|||||||
*/
|
*/
|
||||||
const isReadable = (s) => !!s &&
|
const isReadable = (s) => !!s &&
|
||||||
typeof s === 'object' &&
|
typeof s === 'object' &&
|
||||||
s instanceof events_1.EventEmitter &&
|
s instanceof node_events_1.EventEmitter &&
|
||||||
typeof s.pipe === 'function' &&
|
typeof s.pipe === 'function' &&
|
||||||
// node core Writable streams have a pipe() method, but it throws
|
// node core Writable streams have a pipe() method, but it throws
|
||||||
s.pipe !== stream_1.default.Writable.prototype.pipe;
|
s.pipe !== node_stream_1.default.Writable.prototype.pipe;
|
||||||
exports.isReadable = isReadable;
|
exports.isReadable = isReadable;
|
||||||
/**
|
/**
|
||||||
* Return true if the argument is a valid {@link Minipass.Writable}
|
* Return true if the argument is a valid {@link Minipass.Writable}
|
||||||
*/
|
*/
|
||||||
const isWritable = (s) => !!s &&
|
const isWritable = (s) => !!s &&
|
||||||
typeof s === 'object' &&
|
typeof s === 'object' &&
|
||||||
s instanceof events_1.EventEmitter &&
|
s instanceof node_events_1.EventEmitter &&
|
||||||
typeof s.write === 'function' &&
|
typeof s.write === 'function' &&
|
||||||
typeof s.end === 'function';
|
typeof s.end === 'function';
|
||||||
exports.isWritable = isWritable;
|
exports.isWritable = isWritable;
|
||||||
@@ -84942,7 +84982,7 @@ const isEncodingOptions = (o) => !o.objectMode && !!o.encoding && o.encoding !==
|
|||||||
* `Events` is the set of event handler signatures that this object
|
* `Events` is the set of event handler signatures that this object
|
||||||
* will emit, see {@link Minipass.Events}
|
* will emit, see {@link Minipass.Events}
|
||||||
*/
|
*/
|
||||||
class Minipass extends events_1.EventEmitter {
|
class Minipass extends node_events_1.EventEmitter {
|
||||||
[FLOWING] = false;
|
[FLOWING] = false;
|
||||||
[PAUSED] = false;
|
[PAUSED] = false;
|
||||||
[PIPES] = [];
|
[PIPES] = [];
|
||||||
@@ -84997,7 +85037,7 @@ class Minipass extends events_1.EventEmitter {
|
|||||||
}
|
}
|
||||||
this[ASYNC] = !!options.async;
|
this[ASYNC] = !!options.async;
|
||||||
this[DECODER] = this[ENCODING]
|
this[DECODER] = this[ENCODING]
|
||||||
? new string_decoder_1.StringDecoder(this[ENCODING])
|
? new node_string_decoder_1.StringDecoder(this[ENCODING])
|
||||||
: null;
|
: null;
|
||||||
//@ts-ignore - private option for debugging and testing
|
//@ts-ignore - private option for debugging and testing
|
||||||
if (options && options.debugExposeBuffer === true) {
|
if (options && options.debugExposeBuffer === true) {
|
||||||
@@ -85856,14 +85896,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
exports.PathScurry = exports.Path = exports.PathScurryDarwin = exports.PathScurryPosix = exports.PathScurryWin32 = exports.PathScurryBase = exports.PathPosix = exports.PathWin32 = exports.PathBase = exports.ChildrenCache = exports.ResolveCache = void 0;
|
exports.PathScurry = exports.Path = exports.PathScurryDarwin = exports.PathScurryPosix = exports.PathScurryWin32 = exports.PathScurryBase = exports.PathPosix = exports.PathWin32 = exports.PathBase = exports.ChildrenCache = exports.ResolveCache = void 0;
|
||||||
const lru_cache_1 = __nccwpck_require__(66091);
|
const lru_cache_1 = __nccwpck_require__(66091);
|
||||||
const path_1 = __nccwpck_require__(71017);
|
const node_path_1 = __nccwpck_require__(49411);
|
||||||
const url_1 = __nccwpck_require__(57310);
|
const node_url_1 = __nccwpck_require__(41041);
|
||||||
const actualFS = __importStar(__nccwpck_require__(57147));
|
|
||||||
const fs_1 = __nccwpck_require__(57147);
|
const fs_1 = __nccwpck_require__(57147);
|
||||||
|
const actualFS = __importStar(__nccwpck_require__(87561));
|
||||||
const realpathSync = fs_1.realpathSync.native;
|
const realpathSync = fs_1.realpathSync.native;
|
||||||
// TODO: test perf of fs/promises realpath vs realpathCB,
|
// TODO: test perf of fs/promises realpath vs realpathCB,
|
||||||
// since the promises one uses realpath.native
|
// since the promises one uses realpath.native
|
||||||
const promises_1 = __nccwpck_require__(73292);
|
const promises_1 = __nccwpck_require__(93977);
|
||||||
const minipass_1 = __nccwpck_require__(14968);
|
const minipass_1 = __nccwpck_require__(14968);
|
||||||
const defaultFS = {
|
const defaultFS = {
|
||||||
lstatSync: fs_1.lstatSync,
|
lstatSync: fs_1.lstatSync,
|
||||||
@@ -85879,8 +85919,8 @@ const defaultFS = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
// if they just gave us require('fs') then use our default
|
// if they just gave us require('fs') then use our default
|
||||||
const fsFromOption = (fsOption) => !fsOption || fsOption === defaultFS || fsOption === actualFS
|
const fsFromOption = (fsOption) => !fsOption || fsOption === defaultFS || fsOption === actualFS ?
|
||||||
? defaultFS
|
defaultFS
|
||||||
: {
|
: {
|
||||||
...defaultFS,
|
...defaultFS,
|
||||||
...fsOption,
|
...fsOption,
|
||||||
@@ -85921,20 +85961,13 @@ const ENOREADLINK = 0b0001_0000_0000;
|
|||||||
const ENOREALPATH = 0b0010_0000_0000;
|
const ENOREALPATH = 0b0010_0000_0000;
|
||||||
const ENOCHILD = ENOTDIR | ENOENT | ENOREALPATH;
|
const ENOCHILD = ENOTDIR | ENOENT | ENOREALPATH;
|
||||||
const TYPEMASK = 0b0011_1111_1111;
|
const TYPEMASK = 0b0011_1111_1111;
|
||||||
const entToType = (s) => s.isFile()
|
const entToType = (s) => s.isFile() ? IFREG
|
||||||
? IFREG
|
: s.isDirectory() ? IFDIR
|
||||||
: s.isDirectory()
|
: s.isSymbolicLink() ? IFLNK
|
||||||
? IFDIR
|
: s.isCharacterDevice() ? IFCHR
|
||||||
: s.isSymbolicLink()
|
: s.isBlockDevice() ? IFBLK
|
||||||
? IFLNK
|
: s.isSocket() ? IFSOCK
|
||||||
: s.isCharacterDevice()
|
: s.isFIFO() ? IFIFO
|
||||||
? IFCHR
|
|
||||||
: s.isBlockDevice()
|
|
||||||
? IFBLK
|
|
||||||
: s.isSocket()
|
|
||||||
? IFSOCK
|
|
||||||
: s.isFIFO()
|
|
||||||
? IFIFO
|
|
||||||
: UNKNOWN;
|
: UNKNOWN;
|
||||||
// normalize unicode path names
|
// normalize unicode path names
|
||||||
const normalizeCache = new Map();
|
const normalizeCache = new Map();
|
||||||
@@ -86038,6 +86071,11 @@ class PathBase {
|
|||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
nocase;
|
nocase;
|
||||||
|
/**
|
||||||
|
* boolean indicating that this path is the current working directory
|
||||||
|
* of the PathScurry collection that contains it.
|
||||||
|
*/
|
||||||
|
isCWD = false;
|
||||||
// potential default fs override
|
// potential default fs override
|
||||||
#fs;
|
#fs;
|
||||||
// Stats fields
|
// Stats fields
|
||||||
@@ -86125,13 +86163,19 @@ class PathBase {
|
|||||||
#realpath;
|
#realpath;
|
||||||
/**
|
/**
|
||||||
* This property is for compatibility with the Dirent class as of
|
* This property is for compatibility with the Dirent class as of
|
||||||
* Node v20, where Dirent['path'] refers to the path of the directory
|
* Node v20, where Dirent['parentPath'] refers to the path of the
|
||||||
* that was passed to readdir. So, somewhat counterintuitively, this
|
* directory that was passed to readdir. For root entries, it's the path
|
||||||
* property refers to the *parent* path, not the path object itself.
|
* to the entry itself.
|
||||||
* For root entries, it's the path to the entry itself.
|
*/
|
||||||
|
get parentPath() {
|
||||||
|
return (this.parent || this).fullpath();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Deprecated alias for Dirent['parentPath'] Somewhat counterintuitively,
|
||||||
|
* this property refers to the *parent* path, not the path object itself.
|
||||||
*/
|
*/
|
||||||
get path() {
|
get path() {
|
||||||
return (this.parent || this).fullpath();
|
return this.parentPath;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Do not create new Path objects directly. They should always be accessed
|
* Do not create new Path objects directly. They should always be accessed
|
||||||
@@ -86186,8 +86230,8 @@ class PathBase {
|
|||||||
const rootPath = this.getRootString(path);
|
const rootPath = this.getRootString(path);
|
||||||
const dir = path.substring(rootPath.length);
|
const dir = path.substring(rootPath.length);
|
||||||
const dirParts = dir.split(this.splitSep);
|
const dirParts = dir.split(this.splitSep);
|
||||||
const result = rootPath
|
const result = rootPath ?
|
||||||
? this.getRoot(rootPath).#resolveParts(dirParts)
|
this.getRoot(rootPath).#resolveParts(dirParts)
|
||||||
: this.#resolveParts(dirParts);
|
: this.#resolveParts(dirParts);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
@@ -86238,9 +86282,7 @@ class PathBase {
|
|||||||
}
|
}
|
||||||
// find the child
|
// find the child
|
||||||
const children = this.children();
|
const children = this.children();
|
||||||
const name = this.nocase
|
const name = this.nocase ? normalizeNocase(pathPart) : normalize(pathPart);
|
||||||
? normalizeNocase(pathPart)
|
|
||||||
: normalize(pathPart);
|
|
||||||
for (const p of children) {
|
for (const p of children) {
|
||||||
if (p.#matchName === name) {
|
if (p.#matchName === name) {
|
||||||
return p;
|
return p;
|
||||||
@@ -86250,9 +86292,7 @@ class PathBase {
|
|||||||
// actually exist. If we know the parent isn't a dir, then
|
// actually exist. If we know the parent isn't a dir, then
|
||||||
// in fact it CAN'T exist.
|
// in fact it CAN'T exist.
|
||||||
const s = this.parent ? this.sep : '';
|
const s = this.parent ? this.sep : '';
|
||||||
const fullpath = this.#fullpath
|
const fullpath = this.#fullpath ? this.#fullpath + s + pathPart : undefined;
|
||||||
? this.#fullpath + s + pathPart
|
|
||||||
: undefined;
|
|
||||||
const pchild = this.newChild(pathPart, UNKNOWN, {
|
const pchild = this.newChild(pathPart, UNKNOWN, {
|
||||||
...opts,
|
...opts,
|
||||||
parent: this,
|
parent: this,
|
||||||
@@ -86271,6 +86311,8 @@ class PathBase {
|
|||||||
* the cwd, then this ends up being equivalent to the fullpath()
|
* the cwd, then this ends up being equivalent to the fullpath()
|
||||||
*/
|
*/
|
||||||
relative() {
|
relative() {
|
||||||
|
if (this.isCWD)
|
||||||
|
return '';
|
||||||
if (this.#relative !== undefined) {
|
if (this.#relative !== undefined) {
|
||||||
return this.#relative;
|
return this.#relative;
|
||||||
}
|
}
|
||||||
@@ -86291,6 +86333,8 @@ class PathBase {
|
|||||||
relativePosix() {
|
relativePosix() {
|
||||||
if (this.sep === '/')
|
if (this.sep === '/')
|
||||||
return this.relative();
|
return this.relative();
|
||||||
|
if (this.isCWD)
|
||||||
|
return '';
|
||||||
if (this.#relativePosix !== undefined)
|
if (this.#relativePosix !== undefined)
|
||||||
return this.#relativePosix;
|
return this.#relativePosix;
|
||||||
const name = this.name;
|
const name = this.name;
|
||||||
@@ -86356,23 +86400,15 @@ class PathBase {
|
|||||||
return this[`is${type}`]();
|
return this[`is${type}`]();
|
||||||
}
|
}
|
||||||
getType() {
|
getType() {
|
||||||
return this.isUnknown()
|
return (this.isUnknown() ? 'Unknown'
|
||||||
? 'Unknown'
|
: this.isDirectory() ? 'Directory'
|
||||||
: this.isDirectory()
|
: this.isFile() ? 'File'
|
||||||
? 'Directory'
|
: this.isSymbolicLink() ? 'SymbolicLink'
|
||||||
: this.isFile()
|
: this.isFIFO() ? 'FIFO'
|
||||||
? 'File'
|
: this.isCharacterDevice() ? 'CharacterDevice'
|
||||||
: this.isSymbolicLink()
|
: this.isBlockDevice() ? 'BlockDevice'
|
||||||
? 'SymbolicLink'
|
: /* c8 ignore start */ this.isSocket() ? 'Socket'
|
||||||
: this.isFIFO()
|
: 'Unknown');
|
||||||
? 'FIFO'
|
|
||||||
: this.isCharacterDevice()
|
|
||||||
? 'CharacterDevice'
|
|
||||||
: this.isBlockDevice()
|
|
||||||
? 'BlockDevice'
|
|
||||||
: /* c8 ignore start */ this.isSocket()
|
|
||||||
? 'Socket'
|
|
||||||
: 'Unknown';
|
|
||||||
/* c8 ignore stop */
|
/* c8 ignore stop */
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
@@ -86506,8 +86542,8 @@ class PathBase {
|
|||||||
* directly.
|
* directly.
|
||||||
*/
|
*/
|
||||||
isNamed(n) {
|
isNamed(n) {
|
||||||
return !this.nocase
|
return !this.nocase ?
|
||||||
? this.#matchName === normalize(n)
|
this.#matchName === normalize(n)
|
||||||
: this.#matchName === normalizeNocase(n);
|
: this.#matchName === normalizeNocase(n);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
@@ -86563,7 +86599,7 @@ class PathBase {
|
|||||||
/* c8 ignore stop */
|
/* c8 ignore stop */
|
||||||
try {
|
try {
|
||||||
const read = this.#fs.readlinkSync(this.fullpath());
|
const read = this.#fs.readlinkSync(this.fullpath());
|
||||||
const linkTarget = (this.parent.realpathSync())?.resolve(read);
|
const linkTarget = this.parent.realpathSync()?.resolve(read);
|
||||||
if (linkTarget) {
|
if (linkTarget) {
|
||||||
return (this.#linkTarget = linkTarget);
|
return (this.#linkTarget = linkTarget);
|
||||||
}
|
}
|
||||||
@@ -86684,9 +86720,7 @@ class PathBase {
|
|||||||
#readdirMaybePromoteChild(e, c) {
|
#readdirMaybePromoteChild(e, c) {
|
||||||
for (let p = c.provisional; p < c.length; p++) {
|
for (let p = c.provisional; p < c.length; p++) {
|
||||||
const pchild = c[p];
|
const pchild = c[p];
|
||||||
const name = this.nocase
|
const name = this.nocase ? normalizeNocase(e.name) : normalize(e.name);
|
||||||
? normalizeNocase(e.name)
|
|
||||||
: normalize(e.name);
|
|
||||||
if (name !== pchild.#matchName) {
|
if (name !== pchild.#matchName) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -86985,6 +87019,8 @@ class PathBase {
|
|||||||
[setAsCwd](oldCwd) {
|
[setAsCwd](oldCwd) {
|
||||||
if (oldCwd === this)
|
if (oldCwd === this)
|
||||||
return;
|
return;
|
||||||
|
oldCwd.isCWD = false;
|
||||||
|
this.isCWD = true;
|
||||||
const changed = new Set([]);
|
const changed = new Set([]);
|
||||||
let rp = [];
|
let rp = [];
|
||||||
let p = this;
|
let p = this;
|
||||||
@@ -87039,7 +87075,7 @@ class PathWin32 extends PathBase {
|
|||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
getRootString(path) {
|
getRootString(path) {
|
||||||
return path_1.win32.parse(path).root;
|
return node_path_1.win32.parse(path).root;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
@@ -87161,7 +87197,7 @@ class PathScurryBase {
|
|||||||
constructor(cwd = process.cwd(), pathImpl, sep, { nocase, childrenCacheSize = 16 * 1024, fs = defaultFS, } = {}) {
|
constructor(cwd = process.cwd(), pathImpl, sep, { nocase, childrenCacheSize = 16 * 1024, fs = defaultFS, } = {}) {
|
||||||
this.#fs = fsFromOption(fs);
|
this.#fs = fsFromOption(fs);
|
||||||
if (cwd instanceof URL || cwd.startsWith('file://')) {
|
if (cwd instanceof URL || cwd.startsWith('file://')) {
|
||||||
cwd = (0, url_1.fileURLToPath)(cwd);
|
cwd = (0, node_url_1.fileURLToPath)(cwd);
|
||||||
}
|
}
|
||||||
// resolve and split root, and then add to the store.
|
// resolve and split root, and then add to the store.
|
||||||
// this is the only time we call path.resolve()
|
// this is the only time we call path.resolve()
|
||||||
@@ -87750,7 +87786,7 @@ class PathScurryWin32 extends PathScurryBase {
|
|||||||
sep = '\\';
|
sep = '\\';
|
||||||
constructor(cwd = process.cwd(), opts = {}) {
|
constructor(cwd = process.cwd(), opts = {}) {
|
||||||
const { nocase = true } = opts;
|
const { nocase = true } = opts;
|
||||||
super(cwd, path_1.win32, '\\', { ...opts, nocase });
|
super(cwd, node_path_1.win32, '\\', { ...opts, nocase });
|
||||||
this.nocase = nocase;
|
this.nocase = nocase;
|
||||||
for (let p = this.cwd; p; p = p.parent) {
|
for (let p = this.cwd; p; p = p.parent) {
|
||||||
p.nocase = this.nocase;
|
p.nocase = this.nocase;
|
||||||
@@ -87763,7 +87799,7 @@ class PathScurryWin32 extends PathScurryBase {
|
|||||||
// if the path starts with a single separator, it's not a UNC, and we'll
|
// if the path starts with a single separator, it's not a UNC, and we'll
|
||||||
// just get separator as the root, and driveFromUNC will return \
|
// just get separator as the root, and driveFromUNC will return \
|
||||||
// In that case, mount \ on the root from the cwd.
|
// In that case, mount \ on the root from the cwd.
|
||||||
return path_1.win32.parse(dir).root.toUpperCase();
|
return node_path_1.win32.parse(dir).root.toUpperCase();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
@@ -87793,7 +87829,7 @@ class PathScurryPosix extends PathScurryBase {
|
|||||||
sep = '/';
|
sep = '/';
|
||||||
constructor(cwd = process.cwd(), opts = {}) {
|
constructor(cwd = process.cwd(), opts = {}) {
|
||||||
const { nocase = false } = opts;
|
const { nocase = false } = opts;
|
||||||
super(cwd, path_1.posix, '/', { ...opts, nocase });
|
super(cwd, node_path_1.posix, '/', { ...opts, nocase });
|
||||||
this.nocase = nocase;
|
this.nocase = nocase;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
@@ -87843,10 +87879,8 @@ exports.Path = process.platform === 'win32' ? PathWin32 : PathPosix;
|
|||||||
* {@link PathScurryWin32} on Windows systems, {@link PathScurryDarwin} on
|
* {@link PathScurryWin32} on Windows systems, {@link PathScurryDarwin} on
|
||||||
* Darwin (macOS) systems, {@link PathScurryPosix} on all others.
|
* Darwin (macOS) systems, {@link PathScurryPosix} on all others.
|
||||||
*/
|
*/
|
||||||
exports.PathScurry = process.platform === 'win32'
|
exports.PathScurry = process.platform === 'win32' ? PathScurryWin32
|
||||||
? PathScurryWin32
|
: process.platform === 'darwin' ? PathScurryDarwin
|
||||||
: process.platform === 'darwin'
|
|
||||||
? PathScurryDarwin
|
|
||||||
: PathScurryPosix;
|
: PathScurryPosix;
|
||||||
//# sourceMappingURL=index.js.map
|
//# sourceMappingURL=index.js.map
|
||||||
|
|
||||||
|
|||||||
Generated
+121
-101
@@ -14,22 +14,22 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "^29.5.12",
|
"@types/jest": "^29.5.12",
|
||||||
"@types/node": "^20.12.11",
|
"@types/node": "^20.14.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^7.8.0",
|
"@typescript-eslint/eslint-plugin": "^7.11.0",
|
||||||
"@typescript-eslint/parser": "^7.8.0",
|
"@typescript-eslint/parser": "^7.11.0",
|
||||||
"@vercel/ncc": "^0.38.1",
|
"@vercel/ncc": "^0.38.1",
|
||||||
"eslint": "^8.57.0",
|
"eslint": "^8.57.0",
|
||||||
"eslint-plugin-github": "^4.10.2",
|
"eslint-plugin-github": "^4.10.2",
|
||||||
"eslint-plugin-jest": "^28.5.0",
|
"eslint-plugin-jest": "^28.5.0",
|
||||||
"eslint-plugin-jsonc": "^2.15.1",
|
"eslint-plugin-jsonc": "^2.16.0",
|
||||||
"eslint-plugin-prettier": "^5.1.3",
|
"eslint-plugin-prettier": "^5.1.3",
|
||||||
"jest": "^29.7.0",
|
"jest": "^29.7.0",
|
||||||
"jose": "^5.3.0",
|
"jose": "^5.3.0",
|
||||||
"markdownlint-cli": "^0.40.0",
|
"markdownlint-cli": "^0.41.0",
|
||||||
"nock": "^13.5.4",
|
"nock": "^13.5.4",
|
||||||
"prettier": "^3.2.5",
|
"prettier": "^3.3.0",
|
||||||
"prettier-eslint": "^16.3.0",
|
"prettier-eslint": "^16.3.0",
|
||||||
"ts-jest": "^29.1.2",
|
"ts-jest": "^29.1.4",
|
||||||
"typescript": "^5.4.5"
|
"typescript": "^5.4.5"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -1702,7 +1702,9 @@
|
|||||||
"version": "7.0.15",
|
"version": "7.0.15",
|
||||||
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
|
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
|
||||||
"integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
|
"integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
|
||||||
"dev": true
|
"dev": true,
|
||||||
|
"optional": true,
|
||||||
|
"peer": true
|
||||||
},
|
},
|
||||||
"node_modules/@types/json5": {
|
"node_modules/@types/json5": {
|
||||||
"version": "0.0.29",
|
"version": "0.0.29",
|
||||||
@@ -1724,9 +1726,9 @@
|
|||||||
"integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w=="
|
"integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w=="
|
||||||
},
|
},
|
||||||
"node_modules/@types/node": {
|
"node_modules/@types/node": {
|
||||||
"version": "20.12.11",
|
"version": "20.14.0",
|
||||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.11.tgz",
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.0.tgz",
|
||||||
"integrity": "sha512-vDg9PZ/zi+Nqp6boSOT7plNuthRugEKixDv5sFTIpkE89MmNtEArAShI4mxuX2+UrLEe9pxC1vm2cjm9YlWbJw==",
|
"integrity": "sha512-5cHBxFGJx6L4s56Bubp4fglrEpmyJypsqI6RgzMfBHWUJQGWAAi8cWcgetEbZXHYXo9C2Fa4EEds/uSyS4cxmA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"undici-types": "~5.26.4"
|
"undici-types": "~5.26.4"
|
||||||
}
|
}
|
||||||
@@ -1741,12 +1743,6 @@
|
|||||||
"resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz",
|
"resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz",
|
||||||
"integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ=="
|
"integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ=="
|
||||||
},
|
},
|
||||||
"node_modules/@types/semver": {
|
|
||||||
"version": "7.5.8",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz",
|
|
||||||
"integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"node_modules/@types/send": {
|
"node_modules/@types/send": {
|
||||||
"version": "0.17.4",
|
"version": "0.17.4",
|
||||||
"resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.4.tgz",
|
"resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.4.tgz",
|
||||||
@@ -1785,21 +1781,19 @@
|
|||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/eslint-plugin": {
|
"node_modules/@typescript-eslint/eslint-plugin": {
|
||||||
"version": "7.8.0",
|
"version": "7.11.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.8.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.11.0.tgz",
|
||||||
"integrity": "sha512-gFTT+ezJmkwutUPmB0skOj3GZJtlEGnlssems4AjkVweUPGj7jRwwqg0Hhg7++kPGJqKtTYx+R05Ftww372aIg==",
|
"integrity": "sha512-P+qEahbgeHW4JQ/87FuItjBj8O3MYv5gELDzr8QaQ7fsll1gSMTYb6j87MYyxwf3DtD7uGFB9ShwgmCJB5KmaQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint-community/regexpp": "^4.10.0",
|
"@eslint-community/regexpp": "^4.10.0",
|
||||||
"@typescript-eslint/scope-manager": "7.8.0",
|
"@typescript-eslint/scope-manager": "7.11.0",
|
||||||
"@typescript-eslint/type-utils": "7.8.0",
|
"@typescript-eslint/type-utils": "7.11.0",
|
||||||
"@typescript-eslint/utils": "7.8.0",
|
"@typescript-eslint/utils": "7.11.0",
|
||||||
"@typescript-eslint/visitor-keys": "7.8.0",
|
"@typescript-eslint/visitor-keys": "7.11.0",
|
||||||
"debug": "^4.3.4",
|
|
||||||
"graphemer": "^1.4.0",
|
"graphemer": "^1.4.0",
|
||||||
"ignore": "^5.3.1",
|
"ignore": "^5.3.1",
|
||||||
"natural-compare": "^1.4.0",
|
"natural-compare": "^1.4.0",
|
||||||
"semver": "^7.6.0",
|
|
||||||
"ts-api-utils": "^1.3.0"
|
"ts-api-utils": "^1.3.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -1820,15 +1814,15 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/parser": {
|
"node_modules/@typescript-eslint/parser": {
|
||||||
"version": "7.8.0",
|
"version": "7.11.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.8.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.11.0.tgz",
|
||||||
"integrity": "sha512-KgKQly1pv0l4ltcftP59uQZCi4HUYswCLbTqVZEJu7uLX8CTLyswqMLqLN+2QFz4jCptqWVV4SB7vdxcH2+0kQ==",
|
"integrity": "sha512-yimw99teuaXVWsBcPO1Ais02kwJ1jmNA1KxE7ng0aT7ndr1pT1wqj0OJnsYVGKKlc4QJai86l/025L6z8CljOg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/scope-manager": "7.8.0",
|
"@typescript-eslint/scope-manager": "7.11.0",
|
||||||
"@typescript-eslint/types": "7.8.0",
|
"@typescript-eslint/types": "7.11.0",
|
||||||
"@typescript-eslint/typescript-estree": "7.8.0",
|
"@typescript-eslint/typescript-estree": "7.11.0",
|
||||||
"@typescript-eslint/visitor-keys": "7.8.0",
|
"@typescript-eslint/visitor-keys": "7.11.0",
|
||||||
"debug": "^4.3.4"
|
"debug": "^4.3.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -1848,13 +1842,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/scope-manager": {
|
"node_modules/@typescript-eslint/scope-manager": {
|
||||||
"version": "7.8.0",
|
"version": "7.11.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.8.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.11.0.tgz",
|
||||||
"integrity": "sha512-viEmZ1LmwsGcnr85gIq+FCYI7nO90DVbE37/ll51hjv9aG+YZMb4WDE2fyWpUR4O/UrhGRpYXK/XajcGTk2B8g==",
|
"integrity": "sha512-27tGdVEiutD4POirLZX4YzT180vevUURJl4wJGmm6TrQoiYwuxTIY98PBp6L2oN+JQxzE0URvYlzJaBHIekXAw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "7.8.0",
|
"@typescript-eslint/types": "7.11.0",
|
||||||
"@typescript-eslint/visitor-keys": "7.8.0"
|
"@typescript-eslint/visitor-keys": "7.11.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.18.0 || >=20.0.0"
|
"node": "^18.18.0 || >=20.0.0"
|
||||||
@@ -1865,13 +1859,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/type-utils": {
|
"node_modules/@typescript-eslint/type-utils": {
|
||||||
"version": "7.8.0",
|
"version": "7.11.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.8.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.11.0.tgz",
|
||||||
"integrity": "sha512-H70R3AefQDQpz9mGv13Uhi121FNMh+WEaRqcXTX09YEDky21km4dV1ZXJIp8QjXc4ZaVkXVdohvWDzbnbHDS+A==",
|
"integrity": "sha512-WmppUEgYy+y1NTseNMJ6mCFxt03/7jTOy08bcg7bxJJdsM4nuhnchyBbE8vryveaJUf62noH7LodPSo5Z0WUCg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/typescript-estree": "7.8.0",
|
"@typescript-eslint/typescript-estree": "7.11.0",
|
||||||
"@typescript-eslint/utils": "7.8.0",
|
"@typescript-eslint/utils": "7.11.0",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"ts-api-utils": "^1.3.0"
|
"ts-api-utils": "^1.3.0"
|
||||||
},
|
},
|
||||||
@@ -1892,9 +1886,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/types": {
|
"node_modules/@typescript-eslint/types": {
|
||||||
"version": "7.8.0",
|
"version": "7.11.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.8.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.11.0.tgz",
|
||||||
"integrity": "sha512-wf0peJ+ZGlcH+2ZS23aJbOv+ztjeeP8uQ9GgwMJGVLx/Nj9CJt17GWgWWoSmoRVKAX2X+7fzEnAjxdvK2gqCLw==",
|
"integrity": "sha512-MPEsDRZTyCiXkD4vd3zywDCifi7tatc4K37KqTprCvaXptP7Xlpdw0NR2hRJTetG5TxbWDB79Ys4kLmHliEo/w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.18.0 || >=20.0.0"
|
"node": "^18.18.0 || >=20.0.0"
|
||||||
@@ -1905,13 +1899,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/typescript-estree": {
|
"node_modules/@typescript-eslint/typescript-estree": {
|
||||||
"version": "7.8.0",
|
"version": "7.11.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.8.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.11.0.tgz",
|
||||||
"integrity": "sha512-5pfUCOwK5yjPaJQNy44prjCwtr981dO8Qo9J9PwYXZ0MosgAbfEMB008dJ5sNo3+/BN6ytBPuSvXUg9SAqB0dg==",
|
"integrity": "sha512-cxkhZ2C/iyi3/6U9EPc5y+a6csqHItndvN/CzbNXTNrsC3/ASoYQZEt9uMaEp+xFNjasqQyszp5TumAVKKvJeQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "7.8.0",
|
"@typescript-eslint/types": "7.11.0",
|
||||||
"@typescript-eslint/visitor-keys": "7.8.0",
|
"@typescript-eslint/visitor-keys": "7.11.0",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"globby": "^11.1.0",
|
"globby": "^11.1.0",
|
||||||
"is-glob": "^4.0.3",
|
"is-glob": "^4.0.3",
|
||||||
@@ -1957,18 +1951,15 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/utils": {
|
"node_modules/@typescript-eslint/utils": {
|
||||||
"version": "7.8.0",
|
"version": "7.11.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.8.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.11.0.tgz",
|
||||||
"integrity": "sha512-L0yFqOCflVqXxiZyXrDr80lnahQfSOfc9ELAAZ75sqicqp2i36kEZZGuUymHNFoYOqxRT05up760b4iGsl02nQ==",
|
"integrity": "sha512-xlAWwPleNRHwF37AhrZurOxA1wyXowW4PqVXZVUNCLjB48CqdPJoJWkrpH2nij9Q3Lb7rtWindtoXwxjxlKKCA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint-community/eslint-utils": "^4.4.0",
|
"@eslint-community/eslint-utils": "^4.4.0",
|
||||||
"@types/json-schema": "^7.0.15",
|
"@typescript-eslint/scope-manager": "7.11.0",
|
||||||
"@types/semver": "^7.5.8",
|
"@typescript-eslint/types": "7.11.0",
|
||||||
"@typescript-eslint/scope-manager": "7.8.0",
|
"@typescript-eslint/typescript-estree": "7.11.0"
|
||||||
"@typescript-eslint/types": "7.8.0",
|
|
||||||
"@typescript-eslint/typescript-estree": "7.8.0",
|
|
||||||
"semver": "^7.6.0"
|
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.18.0 || >=20.0.0"
|
"node": "^18.18.0 || >=20.0.0"
|
||||||
@@ -1982,12 +1973,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/visitor-keys": {
|
"node_modules/@typescript-eslint/visitor-keys": {
|
||||||
"version": "7.8.0",
|
"version": "7.11.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.8.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.11.0.tgz",
|
||||||
"integrity": "sha512-q4/gibTNBQNA0lGyYQCmWRS5D15n8rXh4QjK3KV+MBPlTYHpfBUT3D3PaPR/HeNiI9W6R7FvlkcGhNyAoP+caA==",
|
"integrity": "sha512-7syYk4MzjxTEk0g/w3iqtgxnFQspDJfn6QKD36xMuuhTzjcxY7F8EmBLnALjVyaOF1/bVocu3bS/2/F7rXrveQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "7.8.0",
|
"@typescript-eslint/types": "7.11.0",
|
||||||
"eslint-visitor-keys": "^3.4.3"
|
"eslint-visitor-keys": "^3.4.3"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -2755,9 +2746,9 @@
|
|||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/commander": {
|
"node_modules/commander": {
|
||||||
"version": "12.0.0",
|
"version": "12.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/commander/-/commander-12.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz",
|
||||||
"integrity": "sha512-MwVNWlYjDTtOjX5PiD7o5pK0UrFU/OYgcJfjjK4RaHZETNtjJqrZa9Y9ds88+A+f+d5lv+561eZ+yCKoS3gbAA==",
|
"integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
@@ -3500,9 +3491,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint-plugin-jsonc": {
|
"node_modules/eslint-plugin-jsonc": {
|
||||||
"version": "2.15.1",
|
"version": "2.16.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-plugin-jsonc/-/eslint-plugin-jsonc-2.15.1.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-plugin-jsonc/-/eslint-plugin-jsonc-2.16.0.tgz",
|
||||||
"integrity": "sha512-PVFrqIJa8BbM/e828RSn0SwB/Z5ye+2LDuy2XqG6AymNgPsfApRRcznsbxP7VrjdLEU4Nb+g9n/d6opyp0jp9A==",
|
"integrity": "sha512-Af/ZL5mgfb8FFNleH6KlO4/VdmDuTqmM+SPnWcdoWywTetv7kq+vQe99UyQb9XO3b0OWLVuTH7H0d/PXYCMdSg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint-community/eslint-utils": "^4.2.0",
|
"@eslint-community/eslint-utils": "^4.2.0",
|
||||||
@@ -5944,14 +5935,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/markdownlint-cli": {
|
"node_modules/markdownlint-cli": {
|
||||||
"version": "0.40.0",
|
"version": "0.41.0",
|
||||||
"resolved": "https://registry.npmjs.org/markdownlint-cli/-/markdownlint-cli-0.40.0.tgz",
|
"resolved": "https://registry.npmjs.org/markdownlint-cli/-/markdownlint-cli-0.41.0.tgz",
|
||||||
"integrity": "sha512-JXhI3dRQcaqwiFYpPz6VJ7aKYheD53GmTz9y4D/d0F1MbZDGOp9pqKlbOfUX/pHP/iAoeiE4wYRmk8/kjLakxA==",
|
"integrity": "sha512-kp29tKrMKdn+xonfefjp3a/MsNzAd9c5ke0ydMEI9PR98bOjzglYN4nfMSaIs69msUf1DNkgevAIAPtK2SeX0Q==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"commander": "~12.0.0",
|
"commander": "~12.1.0",
|
||||||
"get-stdin": "~9.0.0",
|
"get-stdin": "~9.0.0",
|
||||||
"glob": "~10.3.12",
|
"glob": "~10.4.1",
|
||||||
"ignore": "~5.3.1",
|
"ignore": "~5.3.1",
|
||||||
"js-yaml": "^4.1.0",
|
"js-yaml": "^4.1.0",
|
||||||
"jsonc-parser": "~3.2.1",
|
"jsonc-parser": "~3.2.1",
|
||||||
@@ -5959,7 +5950,7 @@
|
|||||||
"markdownlint": "~0.34.0",
|
"markdownlint": "~0.34.0",
|
||||||
"minimatch": "~9.0.4",
|
"minimatch": "~9.0.4",
|
||||||
"run-con": "~1.3.2",
|
"run-con": "~1.3.2",
|
||||||
"toml": "~3.0.0"
|
"smol-toml": "~1.2.0"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"markdownlint": "markdownlint.js"
|
"markdownlint": "markdownlint.js"
|
||||||
@@ -5978,27 +5969,45 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/markdownlint-cli/node_modules/glob": {
|
"node_modules/markdownlint-cli/node_modules/glob": {
|
||||||
"version": "10.3.12",
|
"version": "10.4.1",
|
||||||
"resolved": "https://registry.npmjs.org/glob/-/glob-10.3.12.tgz",
|
"resolved": "https://registry.npmjs.org/glob/-/glob-10.4.1.tgz",
|
||||||
"integrity": "sha512-TCNv8vJ+xz4QiqTpfOJA7HvYv+tNIRHKfUWw/q+v2jdgN4ebz+KY9tGx5J4rHP0o84mNP+ApH66HRX8us3Khqg==",
|
"integrity": "sha512-2jelhlq3E4ho74ZyVLN03oKdAZVUa6UDZzFLVH1H7dnoax+y9qyaq8zBkfDIggjniU19z0wU18y16jMB2eyVIw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"foreground-child": "^3.1.0",
|
"foreground-child": "^3.1.0",
|
||||||
"jackspeak": "^2.3.6",
|
"jackspeak": "^3.1.2",
|
||||||
"minimatch": "^9.0.1",
|
"minimatch": "^9.0.4",
|
||||||
"minipass": "^7.0.4",
|
"minipass": "^7.1.2",
|
||||||
"path-scurry": "^1.10.2"
|
"path-scurry": "^1.11.1"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"glob": "dist/esm/bin.mjs"
|
"glob": "dist/esm/bin.mjs"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16 || 14 >=14.17"
|
"node": ">=16 || 14 >=14.18"
|
||||||
},
|
},
|
||||||
"funding": {
|
"funding": {
|
||||||
"url": "https://github.com/sponsors/isaacs"
|
"url": "https://github.com/sponsors/isaacs"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/markdownlint-cli/node_modules/jackspeak": {
|
||||||
|
"version": "3.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.1.2.tgz",
|
||||||
|
"integrity": "sha512-kWmLKn2tRtfYMF/BakihVVRzBKOxz4gJMiL2Rj91WnAB5TPZumSH99R/Yf1qE1u4uRimvCSJfm6hnxohXeEXjQ==",
|
||||||
|
"dev": true,
|
||||||
|
"dependencies": {
|
||||||
|
"@isaacs/cliui": "^8.0.2"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=14"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/isaacs"
|
||||||
|
},
|
||||||
|
"optionalDependencies": {
|
||||||
|
"@pkgjs/parseargs": "^0.11.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/markdownlint-cli/node_modules/minimatch": {
|
"node_modules/markdownlint-cli/node_modules/minimatch": {
|
||||||
"version": "9.0.4",
|
"version": "9.0.4",
|
||||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz",
|
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz",
|
||||||
@@ -6085,8 +6094,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/minipass": {
|
"node_modules/minipass": {
|
||||||
"version": "7.0.4",
|
"version": "7.1.2",
|
||||||
"license": "ISC",
|
"resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz",
|
||||||
|
"integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16 || 14 >=14.17"
|
"node": ">=16 || 14 >=14.17"
|
||||||
}
|
}
|
||||||
@@ -6539,15 +6549,15 @@
|
|||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/path-scurry": {
|
"node_modules/path-scurry": {
|
||||||
"version": "1.10.2",
|
"version": "1.11.1",
|
||||||
"resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.2.tgz",
|
"resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz",
|
||||||
"integrity": "sha512-7xTavNy5RQXnsjANvVvMkEjvloOinkAjv/Z6Ildz9v2RinZ4SBKTWFOVRbaF8p0vpHnyjV/UwNDdKuUv6M5qcA==",
|
"integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"lru-cache": "^10.2.0",
|
"lru-cache": "^10.2.0",
|
||||||
"minipass": "^5.0.0 || ^6.0.2 || ^7.0.0"
|
"minipass": "^5.0.0 || ^6.0.2 || ^7.0.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16 || 14 >=14.17"
|
"node": ">=16 || 14 >=14.18"
|
||||||
},
|
},
|
||||||
"funding": {
|
"funding": {
|
||||||
"url": "https://github.com/sponsors/isaacs"
|
"url": "https://github.com/sponsors/isaacs"
|
||||||
@@ -6669,9 +6679,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/prettier": {
|
"node_modules/prettier": {
|
||||||
"version": "3.2.5",
|
"version": "3.3.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.0.tgz",
|
||||||
|
"integrity": "sha512-J9odKxERhCQ10OC2yb93583f6UnYutOeiV5i0zEDS7UGTdUt0u+y8erxl3lBKvwo/JHyyoEdXjwp4dke9oyZ/g==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
|
||||||
"bin": {
|
"bin": {
|
||||||
"prettier": "bin/prettier.cjs"
|
"prettier": "bin/prettier.cjs"
|
||||||
},
|
},
|
||||||
@@ -7331,6 +7342,16 @@
|
|||||||
"npm": ">= 3.0.0"
|
"npm": ">= 3.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/smol-toml": {
|
||||||
|
"version": "1.2.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.2.0.tgz",
|
||||||
|
"integrity": "sha512-KObxdQANC/xje3OoatMbSwQf2XAvJ0RbK+4nmQRszFNZptbNRnMWqbLF/zb4sMi9xJ6HNyhWXeuZ9zC/I/XY7w==",
|
||||||
|
"dev": true,
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 18",
|
||||||
|
"pnpm": ">= 9"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/socks": {
|
"node_modules/socks": {
|
||||||
"version": "2.8.3",
|
"version": "2.8.3",
|
||||||
"resolved": "https://registry.npmjs.org/socks/-/socks-2.8.3.tgz",
|
"resolved": "https://registry.npmjs.org/socks/-/socks-2.8.3.tgz",
|
||||||
@@ -7687,12 +7708,6 @@
|
|||||||
"node": ">=8.0"
|
"node": ">=8.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/toml": {
|
|
||||||
"version": "3.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/toml/-/toml-3.0.0.tgz",
|
|
||||||
"integrity": "sha512-y/mWCZinnvxjTKYhJ+pYxwD0mRLVvOtdS2Awbgxln6iEnt4rk0yBxeSBHkGJcPucRiG0e55mwWp+g/05rsrd6w==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"node_modules/ts-api-utils": {
|
"node_modules/ts-api-utils": {
|
||||||
"version": "1.3.0",
|
"version": "1.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz",
|
||||||
@@ -7706,9 +7721,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/ts-jest": {
|
"node_modules/ts-jest": {
|
||||||
"version": "29.1.2",
|
"version": "29.1.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.1.4.tgz",
|
||||||
|
"integrity": "sha512-YiHwDhSvCiItoAgsKtoLFCuakDzDsJ1DLDnSouTaTmdOcOwIkSzbLXduaQ6M5DRVhuZC/NYaaZ/mtHbWMv/S6Q==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bs-logger": "0.x",
|
"bs-logger": "0.x",
|
||||||
"fast-json-stable-stringify": "2.x",
|
"fast-json-stable-stringify": "2.x",
|
||||||
@@ -7723,10 +7739,11 @@
|
|||||||
"ts-jest": "cli.js"
|
"ts-jest": "cli.js"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.10.0 || ^18.0.0 || >=20.0.0"
|
"node": "^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@babel/core": ">=7.0.0-beta.0 <8",
|
"@babel/core": ">=7.0.0-beta.0 <8",
|
||||||
|
"@jest/transform": "^29.0.0",
|
||||||
"@jest/types": "^29.0.0",
|
"@jest/types": "^29.0.0",
|
||||||
"babel-jest": "^29.0.0",
|
"babel-jest": "^29.0.0",
|
||||||
"jest": "^29.0.0",
|
"jest": "^29.0.0",
|
||||||
@@ -7736,6 +7753,9 @@
|
|||||||
"@babel/core": {
|
"@babel/core": {
|
||||||
"optional": true
|
"optional": true
|
||||||
},
|
},
|
||||||
|
"@jest/transform": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
"@jest/types": {
|
"@jest/types": {
|
||||||
"optional": true
|
"optional": true
|
||||||
},
|
},
|
||||||
|
|||||||
+7
-7
@@ -75,22 +75,22 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "^29.5.12",
|
"@types/jest": "^29.5.12",
|
||||||
"@types/node": "^20.12.11",
|
"@types/node": "^20.14.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^7.8.0",
|
"@typescript-eslint/eslint-plugin": "^7.11.0",
|
||||||
"@typescript-eslint/parser": "^7.8.0",
|
"@typescript-eslint/parser": "^7.11.0",
|
||||||
"@vercel/ncc": "^0.38.1",
|
"@vercel/ncc": "^0.38.1",
|
||||||
"eslint": "^8.57.0",
|
"eslint": "^8.57.0",
|
||||||
"eslint-plugin-github": "^4.10.2",
|
"eslint-plugin-github": "^4.10.2",
|
||||||
"eslint-plugin-jest": "^28.5.0",
|
"eslint-plugin-jest": "^28.5.0",
|
||||||
"eslint-plugin-jsonc": "^2.15.1",
|
"eslint-plugin-jsonc": "^2.16.0",
|
||||||
"eslint-plugin-prettier": "^5.1.3",
|
"eslint-plugin-prettier": "^5.1.3",
|
||||||
"jest": "^29.7.0",
|
"jest": "^29.7.0",
|
||||||
"jose": "^5.3.0",
|
"jose": "^5.3.0",
|
||||||
"markdownlint-cli": "^0.40.0",
|
"markdownlint-cli": "^0.41.0",
|
||||||
"nock": "^13.5.4",
|
"nock": "^13.5.4",
|
||||||
"prettier": "^3.2.5",
|
"prettier": "^3.3.0",
|
||||||
"prettier-eslint": "^16.3.0",
|
"prettier-eslint": "^16.3.0",
|
||||||
"ts-jest": "^29.1.2",
|
"ts-jest": "^29.1.4",
|
||||||
"typescript": "^5.4.5"
|
"typescript": "^5.4.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user