Skip to content

Commit b76cbec

Browse files
committed
fixup: other deps why not
1 parent 0b9fab6 commit b76cbec

File tree

5 files changed

+301
-541
lines changed

5 files changed

+301
-541
lines changed

dist/main.js

Lines changed: 49 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -272,14 +272,14 @@ async function useNpmEnvironment(manifest, options, task) {
272272
}
273273

274274
//#endregion
275-
//#region node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.js
275+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/debug.js
276276
var require_debug = /* @__PURE__ */ __commonJSMin(((exports, module) => {
277277
const debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {};
278278
module.exports = debug;
279279
}));
280280

281281
//#endregion
282-
//#region node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js
282+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/constants.js
283283
var require_constants$5 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
284284
const SEMVER_SPEC_VERSION = "2.0.0";
285285
const MAX_LENGTH = 256;
@@ -308,7 +308,7 @@ var require_constants$5 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
308308
}));
309309

310310
//#endregion
311-
//#region node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.js
311+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/re.js
312312
var require_re = /* @__PURE__ */ __commonJSMin(((exports, module) => {
313313
const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, MAX_LENGTH } = require_constants$5();
314314
const debug = require_debug();
@@ -388,7 +388,7 @@ var require_re = /* @__PURE__ */ __commonJSMin(((exports, module) => {
388388
}));
389389

390390
//#endregion
391-
//#region node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.js
391+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/parse-options.js
392392
var require_parse_options = /* @__PURE__ */ __commonJSMin(((exports, module) => {
393393
const looseOption = Object.freeze({ loose: true });
394394
const emptyOpts = Object.freeze({});
@@ -401,10 +401,11 @@ var require_parse_options = /* @__PURE__ */ __commonJSMin(((exports, module) =>
401401
}));
402402

403403
//#endregion
404-
//#region node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.js
404+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/identifiers.js
405405
var require_identifiers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
406406
const numeric = /^[0-9]+$/;
407407
const compareIdentifiers = (a, b) => {
408+
if (typeof a === "number" && typeof b === "number") return a === b ? 0 : a < b ? -1 : 1;
408409
const anum = numeric.test(a);
409410
const bnum = numeric.test(b);
410411
if (anum && bnum) {
@@ -421,7 +422,7 @@ var require_identifiers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
421422
}));
422423

423424
//#endregion
424-
//#region node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.js
425+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/semver.js
425426
var require_semver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
426427
const debug = require_debug();
427428
const { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants$5();
@@ -478,7 +479,13 @@ var require_semver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
478479
}
479480
compareMain(other) {
480481
if (!(other instanceof SemVer)) other = new SemVer(other, this.options);
481-
return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
482+
if (this.major < other.major) return -1;
483+
if (this.major > other.major) return 1;
484+
if (this.minor < other.minor) return -1;
485+
if (this.minor > other.minor) return 1;
486+
if (this.patch < other.patch) return -1;
487+
if (this.patch > other.patch) return 1;
488+
return 0;
482489
}
483490
comparePre(other) {
484491
if (!(other instanceof SemVer)) other = new SemVer(other, this.options);
@@ -595,7 +602,7 @@ var require_semver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
595602
}));
596603

597604
//#endregion
598-
//#region node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.js
605+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/parse.js
599606
var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
600607
const SemVer = require_semver();
601608
const parse = (version, options, throwErrors = false) => {
@@ -611,7 +618,7 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
611618
}));
612619

613620
//#endregion
614-
//#region node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js
621+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/diff.js
615622
var require_diff = /* @__PURE__ */ __commonJSMin(((exports, module) => {
616623
const parse = require_parse$1();
617624
const diff = (version1, version2) => {
@@ -640,23 +647,23 @@ var require_diff = /* @__PURE__ */ __commonJSMin(((exports, module) => {
640647
}));
641648

642649
//#endregion
643-
//#region node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.js
650+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare.js
644651
var require_compare = /* @__PURE__ */ __commonJSMin(((exports, module) => {
645652
const SemVer = require_semver();
646653
const compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
647654
module.exports = compare;
648655
}));
649656

650657
//#endregion
651-
//#region node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.js
658+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gt.js
652659
var require_gt = /* @__PURE__ */ __commonJSMin(((exports, module) => {
653660
const compare = require_compare();
654661
const gt = (a, b, loose) => compare(a, b, loose) > 0;
655662
module.exports = gt;
656663
}));
657664

658665
//#endregion
659-
//#region node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.js
666+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/valid.js
660667
var require_valid = /* @__PURE__ */ __commonJSMin(((exports, module) => {
661668
const parse = require_parse$1();
662669
const valid = (version, options) => {
@@ -2014,7 +2021,7 @@ var WriteStreamSync = class extends WriteStream {
20142021
};
20152022

20162023
//#endregion
2017-
//#region node_modules/.pnpm/tar@7.5.1/node_modules/tar/dist/esm/options.js
2024+
//#region node_modules/.pnpm/tar@7.5.2/node_modules/tar/dist/esm/options.js
20182025
const argmap = new Map([
20192026
["C", "cwd"],
20202027
["f", "file"],
@@ -2059,7 +2066,7 @@ const dealias = (opt = {}) => {
20592066
};
20602067

20612068
//#endregion
2062-
//#region node_modules/.pnpm/tar@7.5.1/node_modules/tar/dist/esm/make-command.js
2069+
//#region node_modules/.pnpm/tar@7.5.2/node_modules/tar/dist/esm/make-command.js
20632070
const makeCommand = (syncFile, asyncFile, syncNoFile, asyncNoFile, validate) => {
20642071
return Object.assign((opt_ = [], entries, cb) => {
20652072
if (Array.isArray(opt_)) {
@@ -2453,7 +2460,7 @@ var ZstdDecompress = class extends Zstd {
24532460
};
24542461

24552462
//#endregion
2456-
//#region node_modules/.pnpm/tar@7.5.1/node_modules/tar/dist/esm/large-numbers.js
2463+
//#region node_modules/.pnpm/tar@7.5.2/node_modules/tar/dist/esm/large-numbers.js
24572464
const encode = (num, buf) => {
24582465
if (!Number.isSafeInteger(num)) throw Error("cannot encode number outside of javascript safe integer range");
24592466
else if (num < 0) encodeNegative(num, buf);
@@ -2519,7 +2526,7 @@ const onesComp = (byte) => (255 ^ byte) & 255;
25192526
const twosComp = (byte) => (255 ^ byte) + 1 & 255;
25202527

25212528
//#endregion
2522-
//#region node_modules/.pnpm/tar@7.5.1/node_modules/tar/dist/esm/types.js
2529+
//#region node_modules/.pnpm/tar@7.5.2/node_modules/tar/dist/esm/types.js
25232530
const isCode = (c) => name.has(c);
25242531
const name = new Map([
25252532
["0", "File"],
@@ -2547,7 +2554,7 @@ const name = new Map([
25472554
const code = new Map(Array.from(name).map((kv) => [kv[1], kv[0]]));
25482555

25492556
//#endregion
2550-
//#region node_modules/.pnpm/tar@7.5.1/node_modules/tar/dist/esm/header.js
2557+
//#region node_modules/.pnpm/tar@7.5.2/node_modules/tar/dist/esm/header.js
25512558
var Header = class {
25522559
cksumValid = false;
25532560
needPax = false;
@@ -2577,12 +2584,12 @@ var Header = class {
25772584
decode(buf, off, ex, gex) {
25782585
if (!off) off = 0;
25792586
if (!buf || !(buf.length >= off + 512)) throw new Error("need 512 bytes for header");
2580-
this.path = decString(buf, off, 100);
2581-
this.mode = decNumber(buf, off + 100, 8);
2582-
this.uid = decNumber(buf, off + 108, 8);
2583-
this.gid = decNumber(buf, off + 116, 8);
2584-
this.size = decNumber(buf, off + 124, 12);
2585-
this.mtime = decDate(buf, off + 136, 12);
2587+
this.path = ex?.path ?? decString(buf, off, 100);
2588+
this.mode = ex?.mode ?? gex?.mode ?? decNumber(buf, off + 100, 8);
2589+
this.uid = ex?.uid ?? gex?.uid ?? decNumber(buf, off + 108, 8);
2590+
this.gid = ex?.gid ?? gex?.gid ?? decNumber(buf, off + 116, 8);
2591+
this.size = ex?.size ?? gex?.size ?? decNumber(buf, off + 124, 12);
2592+
this.mtime = ex?.mtime ?? gex?.mtime ?? decDate(buf, off + 136, 12);
25862593
this.cksum = decNumber(buf, off + 148, 12);
25872594
if (gex) this.#slurp(gex, true);
25882595
if (ex) this.#slurp(ex);
@@ -2592,18 +2599,19 @@ var Header = class {
25922599
if (this.#type === "5") this.size = 0;
25932600
this.linkpath = decString(buf, off + 157, 100);
25942601
if (buf.subarray(off + 257, off + 265).toString() === "ustar\x0000") {
2595-
this.uname = decString(buf, off + 265, 32);
2596-
this.gname = decString(buf, off + 297, 32);
25972602
/* c8 ignore start */
2598-
this.devmaj = decNumber(buf, off + 329, 8) ?? 0;
2599-
this.devmin = decNumber(buf, off + 337, 8) ?? 0;
2603+
this.uname = ex?.uname ?? gex?.uname ?? decString(buf, off + 265, 32);
2604+
this.gname = ex?.gname ?? gex?.gname ?? decString(buf, off + 297, 32);
2605+
this.devmaj = ex?.devmaj ?? gex?.devmaj ?? decNumber(buf, off + 329, 8) ?? 0;
2606+
this.devmin = ex?.devmin ?? gex?.devmin ?? decNumber(buf, off + 337, 8) ?? 0;
26002607
/* c8 ignore stop */
26012608
if (buf[off + 475] !== 0) this.path = decString(buf, off + 345, 155) + "/" + this.path;
26022609
else {
26032610
const prefix = decString(buf, off + 345, 130);
26042611
if (prefix) this.path = prefix + "/" + this.path;
2605-
this.atime = decDate(buf, off + 476, 12);
2606-
this.ctime = decDate(buf, off + 488, 12);
2612+
/* c8 ignore start */
2613+
this.atime = ex?.atime ?? gex?.atime ?? decDate(buf, off + 476, 12);
2614+
this.ctime = ex?.ctime ?? gex?.ctime ?? decDate(buf, off + 488, 12);
26072615
}
26082616
}
26092617
let sum = 256;
@@ -2724,7 +2732,7 @@ const NULLS = new Array(156).join("\0");
27242732
const encString = (buf, off, size, str) => str === void 0 ? false : (buf.write(str + NULLS, off, size, "utf8"), str.length !== Buffer.byteLength(str) || str.length > size);
27252733

27262734
//#endregion
2727-
//#region node_modules/.pnpm/tar@7.5.1/node_modules/tar/dist/esm/pax.js
2735+
//#region node_modules/.pnpm/tar@7.5.2/node_modules/tar/dist/esm/pax.js
27282736
var Pax = class Pax {
27292737
atime;
27302738
mtime;
@@ -2821,12 +2829,12 @@ const parseKVLine = (set, line) => {
28212829
};
28222830

28232831
//#endregion
2824-
//#region node_modules/.pnpm/tar@7.5.1/node_modules/tar/dist/esm/normalize-windows-path.js
2832+
//#region node_modules/.pnpm/tar@7.5.2/node_modules/tar/dist/esm/normalize-windows-path.js
28252833
const platform = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
28262834
const normalizeWindowsPath = platform !== "win32" ? (p) => p : (p) => p && p.replace(/\\/g, "/");
28272835

28282836
//#endregion
2829-
//#region node_modules/.pnpm/tar@7.5.1/node_modules/tar/dist/esm/read-entry.js
2837+
//#region node_modules/.pnpm/tar@7.5.2/node_modules/tar/dist/esm/read-entry.js
28302838
var ReadEntry = class extends Minipass {
28312839
extended;
28322840
globalExtended;
@@ -2930,7 +2938,7 @@ var ReadEntry = class extends Minipass {
29302938
};
29312939

29322940
//#endregion
2933-
//#region node_modules/.pnpm/tar@7.5.1/node_modules/tar/dist/esm/warn-method.js
2941+
//#region node_modules/.pnpm/tar@7.5.2/node_modules/tar/dist/esm/warn-method.js
29342942
const warnMethod = (self, code$1, message, data = {}) => {
29352943
if (self.file) data.file = self.file;
29362944
if (self.cwd) data.cwd = self.cwd;
@@ -2947,7 +2955,7 @@ const warnMethod = (self, code$1, message, data = {}) => {
29472955
};
29482956

29492957
//#endregion
2950-
//#region node_modules/.pnpm/tar@7.5.1/node_modules/tar/dist/esm/parse.js
2958+
//#region node_modules/.pnpm/tar@7.5.2/node_modules/tar/dist/esm/parse.js
29512959
const maxMetaEntrySize = 1024 * 1024;
29522960
const gzipHeader = Buffer.from([31, 139]);
29532961
const zstdHeader = Buffer.from([
@@ -3358,7 +3366,7 @@ while (this[PROCESSENTRY](this[QUEUE].shift()));
33583366
};
33593367

33603368
//#endregion
3361-
//#region node_modules/.pnpm/tar@7.5.1/node_modules/tar/dist/esm/strip-trailing-slashes.js
3369+
//#region node_modules/.pnpm/tar@7.5.2/node_modules/tar/dist/esm/strip-trailing-slashes.js
33623370
const stripTrailingSlashes = (str) => {
33633371
let i = str.length - 1;
33643372
let slashesStart = -1;
@@ -3370,7 +3378,7 @@ const stripTrailingSlashes = (str) => {
33703378
};
33713379

33723380
//#endregion
3373-
//#region node_modules/.pnpm/tar@7.5.1/node_modules/tar/dist/esm/list.js
3381+
//#region node_modules/.pnpm/tar@7.5.2/node_modules/tar/dist/esm/list.js
33743382
const onReadEntryFunction = (opt) => {
33753383
const onReadEntry = opt.onReadEntry;
33763384
opt.onReadEntry = onReadEntry ? (e) => {
@@ -3405,13 +3413,14 @@ const listFileSync = (opt) => {
34053413
const readSize = opt.maxReadSize || 16 * 1024 * 1024;
34063414
if (stat.size < readSize) {
34073415
const buf = Buffer.allocUnsafe(stat.size);
3408-
fs$2.readSync(fd, buf, 0, stat.size, 0);
3409-
p.end(buf);
3416+
const read = fs$2.readSync(fd, buf, 0, stat.size, 0);
3417+
p.end(read === buf.byteLength ? buf : buf.subarray(0, read));
34103418
} else {
34113419
let pos$1 = 0;
34123420
const buf = Buffer.allocUnsafe(readSize);
34133421
while (pos$1 < stat.size) {
34143422
const bytesRead = fs$2.readSync(fd, buf, 0, readSize, pos$1);
3423+
if (bytesRead === 0) break;
34153424
pos$1 += bytesRead;
34163425
p.write(buf.subarray(0, bytesRead));
34173426
}
@@ -3449,7 +3458,7 @@ const list = makeCommand(listFileSync, listFile, (opt) => new Parser(opt), (opt)
34493458
});
34503459

34513460
//#endregion
3452-
//#region node_modules/.pnpm/validate-npm-package-name@6.0.2/node_modules/validate-npm-package-name/lib/index.js
3461+
//#region node_modules/.pnpm/validate-npm-package-name@7.0.1/node_modules/validate-npm-package-name/lib/index.js
34533462
var require_lib$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34543463
const { builtinModules: builtins } = __require("module");
34553464
var scopedPackagePattern = /* @__PURE__ */ new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$");
@@ -3471,6 +3480,7 @@ var require_lib$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34713480
}
34723481
if (!name$1.length) errors.push("name length must be greater than zero");
34733482
if (name$1.startsWith(".")) errors.push("name cannot start with a period");
3483+
if (name$1.startsWith("-")) errors.push("name cannot start with a hyphen");
34743484
if (name$1.match(/^_/)) errors.push("name cannot start with an underscore");
34753485
if (name$1.trim() !== name$1) errors.push("name cannot contain leading or trailing spaces");
34763486
exclusionList.forEach(function(excludedName) {

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default defineConfig(
3333
{
3434
files: ["**/__tests__/**"],
3535
rules: {
36-
"@typescript-eslint/no-unsafe-assignment": "off",
36+
// "@typescript-eslint/no-unsafe-assignment": "off",
3737
},
3838
},
3939
{

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,20 @@
5353
},
5454
"devDependencies": {
5555
"@actions/core": "^2.0.1",
56-
"@mcous/eslint-config": "^0.7.0",
56+
"@mcous/eslint-config": "^0.8.0",
5757
"@mcous/prettier-config": "^0.4.0",
5858
"@mcous/typescript-config": "^0.3.0",
5959
"@types/command-line-args": "^5.2.3",
6060
"@types/node": "^25.0.3",
6161
"@types/validate-npm-package-name": "^4.0.2",
6262
"@vitest/coverage-v8": "^4.0.16",
6363
"concurrently": "^9.2.1",
64-
"eslint": "^9.35.0",
64+
"eslint": "^9.39.2",
6565
"eslint-plugin-jsdoc": "^61.5.0",
6666
"globals": "^17.0.0",
67-
"prettier": "^3.6.2",
68-
"prettier-plugin-jsdoc": "^1.3.3",
69-
"rimraf": "^6.0.1",
67+
"prettier": "^3.7.4",
68+
"prettier-plugin-jsdoc": "^1.8.0",
69+
"rimraf": "^6.1.2",
7070
"rolldown": "1.0.0-beta.58",
7171
"typescript": "^5.9.2",
7272
"vitest": "^4.0.16",
@@ -79,5 +79,5 @@
7979
"tar": "7.5.2",
8080
"validate-npm-package-name": "^7.0.1"
8181
},
82-
"packageManager": "pnpm@10.18.0+sha512.e804f889f1cecc40d572db084eec3e4881739f8dec69c0ff10d2d1beff9a4e309383ba27b5b750059d7f4c149535b6cd0d2cb1ed3aeb739239a4284a68f40cfa"
82+
"packageManager": "pnpm@10.27.0+sha512.72d699da16b1179c14ba9e64dc71c9a40988cbdc65c264cb0e489db7de917f20dcf4d64d8723625f2969ba52d4b7e2a1170682d9ac2a5dcaeaab732b7e16f04a"
8383
}

0 commit comments

Comments
 (0)