mirror of
https://github.com/actions/attest-build-provenance.git
synced 2026-07-29 03:46:47 +00:00
Bump the npm-development group with 5 updates (#93)
* Bump the npm-development group with 5 updates Bumps the npm-development group with 5 updates: | Package | From | To | | --- | --- | --- | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `7.9.0` | `7.10.0` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `7.9.0` | `7.10.0` | | [eslint-plugin-jsonc](https://github.com/ota-meshi/eslint-plugin-jsonc) | `2.15.1` | `2.16.0` | | [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) | `0.40.0` | `0.41.0` | | [ts-jest](https://github.com/kulshekhar/ts-jest) | `29.1.2` | `29.1.3` | Updates `@typescript-eslint/eslint-plugin` from 7.9.0 to 7.10.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.10.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 7.9.0 to 7.10.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.10.0/packages/parser) Updates `eslint-plugin-jsonc` from 2.15.1 to 2.16.0 - [Release notes](https://github.com/ota-meshi/eslint-plugin-jsonc/releases) - [Changelog](https://github.com/ota-meshi/eslint-plugin-jsonc/blob/master/CHANGELOG.md) - [Commits](https://github.com/ota-meshi/eslint-plugin-jsonc/compare/v2.15.1...v2.16.0) Updates `markdownlint-cli` from 0.40.0 to 0.41.0 - [Release notes](https://github.com/igorshubovych/markdownlint-cli/releases) - [Commits](https://github.com/igorshubovych/markdownlint-cli/compare/v0.40.0...v0.41.0) Updates `ts-jest` from 29.1.2 to 29.1.3 - [Release notes](https://github.com/kulshekhar/ts-jest/releases) - [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/kulshekhar/ts-jest/compare/v29.1.2...v29.1.3) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-development - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-development - dependency-name: eslint-plugin-jsonc dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-development - dependency-name: markdownlint-cli dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-development - dependency-name: ts-jest dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development ... Signed-off-by: dependabot[bot] <support@github.com> * rebuild dist Signed-off-by: Brian DeHamer <bdehamer@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Brian DeHamer <bdehamer@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Brian DeHamer <bdehamer@github.com>
This commit is contained in:
+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:
|
||||
/***/ ((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:
|
||||
/***/ ((module) => {
|
||||
|
||||
@@ -84806,9 +84846,9 @@ const proc = typeof process === 'object' && process
|
||||
stdout: null,
|
||||
stderr: null,
|
||||
};
|
||||
const events_1 = __nccwpck_require__(82361);
|
||||
const stream_1 = __importDefault(__nccwpck_require__(12781));
|
||||
const string_decoder_1 = __nccwpck_require__(71576);
|
||||
const node_events_1 = __nccwpck_require__(15673);
|
||||
const node_stream_1 = __importDefault(__nccwpck_require__(84492));
|
||||
const node_string_decoder_1 = __nccwpck_require__(76915);
|
||||
/**
|
||||
* Return true if the argument is a Minipass stream, Node stream, or something
|
||||
* else that Minipass can interact with.
|
||||
@@ -84816,7 +84856,7 @@ const string_decoder_1 = __nccwpck_require__(71576);
|
||||
const isStream = (s) => !!s &&
|
||||
typeof s === 'object' &&
|
||||
(s instanceof Minipass ||
|
||||
s instanceof stream_1.default ||
|
||||
s instanceof node_stream_1.default ||
|
||||
(0, exports.isReadable)(s) ||
|
||||
(0, exports.isWritable)(s));
|
||||
exports.isStream = isStream;
|
||||
@@ -84825,17 +84865,17 @@ exports.isStream = isStream;
|
||||
*/
|
||||
const isReadable = (s) => !!s &&
|
||||
typeof s === 'object' &&
|
||||
s instanceof events_1.EventEmitter &&
|
||||
s instanceof node_events_1.EventEmitter &&
|
||||
typeof s.pipe === 'function' &&
|
||||
// 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;
|
||||
/**
|
||||
* Return true if the argument is a valid {@link Minipass.Writable}
|
||||
*/
|
||||
const isWritable = (s) => !!s &&
|
||||
typeof s === 'object' &&
|
||||
s instanceof events_1.EventEmitter &&
|
||||
s instanceof node_events_1.EventEmitter &&
|
||||
typeof s.write === 'function' &&
|
||||
typeof s.end === 'function';
|
||||
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
|
||||
* will emit, see {@link Minipass.Events}
|
||||
*/
|
||||
class Minipass extends events_1.EventEmitter {
|
||||
class Minipass extends node_events_1.EventEmitter {
|
||||
[FLOWING] = false;
|
||||
[PAUSED] = false;
|
||||
[PIPES] = [];
|
||||
@@ -84997,7 +85037,7 @@ class Minipass extends events_1.EventEmitter {
|
||||
}
|
||||
this[ASYNC] = !!options.async;
|
||||
this[DECODER] = this[ENCODING]
|
||||
? new string_decoder_1.StringDecoder(this[ENCODING])
|
||||
? new node_string_decoder_1.StringDecoder(this[ENCODING])
|
||||
: null;
|
||||
//@ts-ignore - private option for debugging and testing
|
||||
if (options && options.debugExposeBuffer === true) {
|
||||
@@ -85856,14 +85896,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
||||
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;
|
||||
const lru_cache_1 = __nccwpck_require__(66091);
|
||||
const path_1 = __nccwpck_require__(71017);
|
||||
const url_1 = __nccwpck_require__(57310);
|
||||
const actualFS = __importStar(__nccwpck_require__(57147));
|
||||
const node_path_1 = __nccwpck_require__(49411);
|
||||
const node_url_1 = __nccwpck_require__(41041);
|
||||
const fs_1 = __nccwpck_require__(57147);
|
||||
const actualFS = __importStar(__nccwpck_require__(87561));
|
||||
const realpathSync = fs_1.realpathSync.native;
|
||||
// TODO: test perf of fs/promises realpath vs realpathCB,
|
||||
// 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 defaultFS = {
|
||||
lstatSync: fs_1.lstatSync,
|
||||
@@ -85879,8 +85919,8 @@ const defaultFS = {
|
||||
},
|
||||
};
|
||||
// if they just gave us require('fs') then use our default
|
||||
const fsFromOption = (fsOption) => !fsOption || fsOption === defaultFS || fsOption === actualFS
|
||||
? defaultFS
|
||||
const fsFromOption = (fsOption) => !fsOption || fsOption === defaultFS || fsOption === actualFS ?
|
||||
defaultFS
|
||||
: {
|
||||
...defaultFS,
|
||||
...fsOption,
|
||||
@@ -85921,20 +85961,13 @@ const ENOREADLINK = 0b0001_0000_0000;
|
||||
const ENOREALPATH = 0b0010_0000_0000;
|
||||
const ENOCHILD = ENOTDIR | ENOENT | ENOREALPATH;
|
||||
const TYPEMASK = 0b0011_1111_1111;
|
||||
const entToType = (s) => s.isFile()
|
||||
? IFREG
|
||||
: s.isDirectory()
|
||||
? IFDIR
|
||||
: s.isSymbolicLink()
|
||||
? IFLNK
|
||||
: s.isCharacterDevice()
|
||||
? IFCHR
|
||||
: s.isBlockDevice()
|
||||
? IFBLK
|
||||
: s.isSocket()
|
||||
? IFSOCK
|
||||
: s.isFIFO()
|
||||
? IFIFO
|
||||
const entToType = (s) => s.isFile() ? IFREG
|
||||
: s.isDirectory() ? IFDIR
|
||||
: s.isSymbolicLink() ? IFLNK
|
||||
: s.isCharacterDevice() ? IFCHR
|
||||
: s.isBlockDevice() ? IFBLK
|
||||
: s.isSocket() ? IFSOCK
|
||||
: s.isFIFO() ? IFIFO
|
||||
: UNKNOWN;
|
||||
// normalize unicode path names
|
||||
const normalizeCache = new Map();
|
||||
@@ -86038,6 +86071,11 @@ class PathBase {
|
||||
* @internal
|
||||
*/
|
||||
nocase;
|
||||
/**
|
||||
* boolean indicating that this path is the current working directory
|
||||
* of the PathScurry collection that contains it.
|
||||
*/
|
||||
isCWD = false;
|
||||
// potential default fs override
|
||||
#fs;
|
||||
// Stats fields
|
||||
@@ -86125,13 +86163,19 @@ class PathBase {
|
||||
#realpath;
|
||||
/**
|
||||
* This property is for compatibility with the Dirent class as of
|
||||
* Node v20, where Dirent['path'] refers to the path of the directory
|
||||
* that was passed to readdir. So, somewhat counterintuitively, this
|
||||
* property refers to the *parent* path, not the path object itself.
|
||||
* For root entries, it's the path to the entry itself.
|
||||
* Node v20, where Dirent['parentPath'] refers to the path of the
|
||||
* directory that was passed to readdir. 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() {
|
||||
return (this.parent || this).fullpath();
|
||||
return this.parentPath;
|
||||
}
|
||||
/**
|
||||
* Do not create new Path objects directly. They should always be accessed
|
||||
@@ -86186,8 +86230,8 @@ class PathBase {
|
||||
const rootPath = this.getRootString(path);
|
||||
const dir = path.substring(rootPath.length);
|
||||
const dirParts = dir.split(this.splitSep);
|
||||
const result = rootPath
|
||||
? this.getRoot(rootPath).#resolveParts(dirParts)
|
||||
const result = rootPath ?
|
||||
this.getRoot(rootPath).#resolveParts(dirParts)
|
||||
: this.#resolveParts(dirParts);
|
||||
return result;
|
||||
}
|
||||
@@ -86238,9 +86282,7 @@ class PathBase {
|
||||
}
|
||||
// find the child
|
||||
const children = this.children();
|
||||
const name = this.nocase
|
||||
? normalizeNocase(pathPart)
|
||||
: normalize(pathPart);
|
||||
const name = this.nocase ? normalizeNocase(pathPart) : normalize(pathPart);
|
||||
for (const p of children) {
|
||||
if (p.#matchName === name) {
|
||||
return p;
|
||||
@@ -86250,9 +86292,7 @@ class PathBase {
|
||||
// actually exist. If we know the parent isn't a dir, then
|
||||
// in fact it CAN'T exist.
|
||||
const s = this.parent ? this.sep : '';
|
||||
const fullpath = this.#fullpath
|
||||
? this.#fullpath + s + pathPart
|
||||
: undefined;
|
||||
const fullpath = this.#fullpath ? this.#fullpath + s + pathPart : undefined;
|
||||
const pchild = this.newChild(pathPart, UNKNOWN, {
|
||||
...opts,
|
||||
parent: this,
|
||||
@@ -86271,6 +86311,8 @@ class PathBase {
|
||||
* the cwd, then this ends up being equivalent to the fullpath()
|
||||
*/
|
||||
relative() {
|
||||
if (this.isCWD)
|
||||
return '';
|
||||
if (this.#relative !== undefined) {
|
||||
return this.#relative;
|
||||
}
|
||||
@@ -86291,6 +86333,8 @@ class PathBase {
|
||||
relativePosix() {
|
||||
if (this.sep === '/')
|
||||
return this.relative();
|
||||
if (this.isCWD)
|
||||
return '';
|
||||
if (this.#relativePosix !== undefined)
|
||||
return this.#relativePosix;
|
||||
const name = this.name;
|
||||
@@ -86356,23 +86400,15 @@ class PathBase {
|
||||
return this[`is${type}`]();
|
||||
}
|
||||
getType() {
|
||||
return this.isUnknown()
|
||||
? 'Unknown'
|
||||
: this.isDirectory()
|
||||
? 'Directory'
|
||||
: this.isFile()
|
||||
? 'File'
|
||||
: this.isSymbolicLink()
|
||||
? 'SymbolicLink'
|
||||
: this.isFIFO()
|
||||
? 'FIFO'
|
||||
: this.isCharacterDevice()
|
||||
? 'CharacterDevice'
|
||||
: this.isBlockDevice()
|
||||
? 'BlockDevice'
|
||||
: /* c8 ignore start */ this.isSocket()
|
||||
? 'Socket'
|
||||
: 'Unknown';
|
||||
return (this.isUnknown() ? 'Unknown'
|
||||
: this.isDirectory() ? 'Directory'
|
||||
: this.isFile() ? 'File'
|
||||
: this.isSymbolicLink() ? 'SymbolicLink'
|
||||
: this.isFIFO() ? 'FIFO'
|
||||
: this.isCharacterDevice() ? 'CharacterDevice'
|
||||
: this.isBlockDevice() ? 'BlockDevice'
|
||||
: /* c8 ignore start */ this.isSocket() ? 'Socket'
|
||||
: 'Unknown');
|
||||
/* c8 ignore stop */
|
||||
}
|
||||
/**
|
||||
@@ -86506,8 +86542,8 @@ class PathBase {
|
||||
* directly.
|
||||
*/
|
||||
isNamed(n) {
|
||||
return !this.nocase
|
||||
? this.#matchName === normalize(n)
|
||||
return !this.nocase ?
|
||||
this.#matchName === normalize(n)
|
||||
: this.#matchName === normalizeNocase(n);
|
||||
}
|
||||
/**
|
||||
@@ -86563,7 +86599,7 @@ class PathBase {
|
||||
/* c8 ignore stop */
|
||||
try {
|
||||
const read = this.#fs.readlinkSync(this.fullpath());
|
||||
const linkTarget = (this.parent.realpathSync())?.resolve(read);
|
||||
const linkTarget = this.parent.realpathSync()?.resolve(read);
|
||||
if (linkTarget) {
|
||||
return (this.#linkTarget = linkTarget);
|
||||
}
|
||||
@@ -86684,9 +86720,7 @@ class PathBase {
|
||||
#readdirMaybePromoteChild(e, c) {
|
||||
for (let p = c.provisional; p < c.length; p++) {
|
||||
const pchild = c[p];
|
||||
const name = this.nocase
|
||||
? normalizeNocase(e.name)
|
||||
: normalize(e.name);
|
||||
const name = this.nocase ? normalizeNocase(e.name) : normalize(e.name);
|
||||
if (name !== pchild.#matchName) {
|
||||
continue;
|
||||
}
|
||||
@@ -86985,6 +87019,8 @@ class PathBase {
|
||||
[setAsCwd](oldCwd) {
|
||||
if (oldCwd === this)
|
||||
return;
|
||||
oldCwd.isCWD = false;
|
||||
this.isCWD = true;
|
||||
const changed = new Set([]);
|
||||
let rp = [];
|
||||
let p = this;
|
||||
@@ -87039,7 +87075,7 @@ class PathWin32 extends PathBase {
|
||||
* @internal
|
||||
*/
|
||||
getRootString(path) {
|
||||
return path_1.win32.parse(path).root;
|
||||
return node_path_1.win32.parse(path).root;
|
||||
}
|
||||
/**
|
||||
* @internal
|
||||
@@ -87161,7 +87197,7 @@ class PathScurryBase {
|
||||
constructor(cwd = process.cwd(), pathImpl, sep, { nocase, childrenCacheSize = 16 * 1024, fs = defaultFS, } = {}) {
|
||||
this.#fs = fsFromOption(fs);
|
||||
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.
|
||||
// this is the only time we call path.resolve()
|
||||
@@ -87750,7 +87786,7 @@ class PathScurryWin32 extends PathScurryBase {
|
||||
sep = '\\';
|
||||
constructor(cwd = process.cwd(), opts = {}) {
|
||||
const { nocase = true } = opts;
|
||||
super(cwd, path_1.win32, '\\', { ...opts, nocase });
|
||||
super(cwd, node_path_1.win32, '\\', { ...opts, nocase });
|
||||
this.nocase = nocase;
|
||||
for (let p = this.cwd; p; p = p.parent) {
|
||||
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
|
||||
// just get separator as the root, and driveFromUNC will return \
|
||||
// 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
|
||||
@@ -87793,7 +87829,7 @@ class PathScurryPosix extends PathScurryBase {
|
||||
sep = '/';
|
||||
constructor(cwd = process.cwd(), opts = {}) {
|
||||
const { nocase = false } = opts;
|
||||
super(cwd, path_1.posix, '/', { ...opts, nocase });
|
||||
super(cwd, node_path_1.posix, '/', { ...opts, nocase });
|
||||
this.nocase = nocase;
|
||||
}
|
||||
/**
|
||||
@@ -87843,10 +87879,8 @@ exports.Path = process.platform === 'win32' ? PathWin32 : PathPosix;
|
||||
* {@link PathScurryWin32} on Windows systems, {@link PathScurryDarwin} on
|
||||
* Darwin (macOS) systems, {@link PathScurryPosix} on all others.
|
||||
*/
|
||||
exports.PathScurry = process.platform === 'win32'
|
||||
? PathScurryWin32
|
||||
: process.platform === 'darwin'
|
||||
? PathScurryDarwin
|
||||
exports.PathScurry = process.platform === 'win32' ? PathScurryWin32
|
||||
: process.platform === 'darwin' ? PathScurryDarwin
|
||||
: PathScurryPosix;
|
||||
//# sourceMappingURL=index.js.map
|
||||
|
||||
|
||||
Reference in New Issue
Block a user