Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey committed Aug 17, 2024
1 parent 0b5777b commit c1dc810
Show file tree
Hide file tree
Showing 3 changed files with 386 additions and 363 deletions.
18 changes: 18 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2656,8 +2656,10 @@ var require_toml_parser = __commonJS({
return "inline-table";
case INLINE_LIST:
return "inline-list";
/* istanbul ignore next */
case TABLE:
return "table";
/* istanbul ignore next */
case LIST:
return "list";
case FLOAT:
Expand Down Expand Up @@ -3998,6 +4000,7 @@ var require_stringify = __commonJS({
return value.length === 0 || tomlType2(value[0]) !== "table";
case "table":
return Object.keys(value).length === 0;
/* istanbul ignore next */
default:
return false;
}
Expand Down Expand Up @@ -4083,6 +4086,7 @@ var require_stringify = __commonJS({
return stringifyInlineArray(value.filter((_) => tomlType2(_) !== "null" && tomlType2(_) !== "undefined" && tomlType2(_) !== "nan"));
case "table":
return stringifyInlineTable(value);
/* istanbul ignore next */
default:
throw typeError(type);
}
Expand Down Expand Up @@ -5166,6 +5170,8 @@ var require_semver = __commonJS({
this.inc("patch", identifier);
this.inc("pre", identifier);
break;
// If the input is a non-prerelease version, this acts the same as
// prepatch.
case "prerelease":
if (this.prerelease.length === 0) {
this.inc("patch", identifier);
Expand Down Expand Up @@ -5193,6 +5199,8 @@ var require_semver = __commonJS({
}
this.prerelease = [];
break;
// This probably shouldn't be used publicly.
// 1.0.0 "pre" would become 1.0.0-0 which is the wrong direction.
case "pre":
if (this.prerelease.length === 0) {
this.prerelease = [0];
Expand Down Expand Up @@ -5857,6 +5865,7 @@ var require_semver = __commonJS({
compver.prerelease.push(0);
}
compver.raw = compver.format();
/* fallthrough */
case "":
case ">=":
if (!minver || gt(minver, compver)) {
Expand All @@ -5866,6 +5875,7 @@ var require_semver = __commonJS({
case "<":
case "<=":
break;
/* istanbul ignore next */
default:
throw new Error("Unexpected operation: " + comparator.operator);
}
Expand Down Expand Up @@ -7870,6 +7880,7 @@ function createScanner(text, ignoreTrivia = false) {
return token = 14;
}
switch (code) {
// tokens: []{}:,
case 123:
pos++;
return token = 1;
Expand All @@ -7888,10 +7899,12 @@ function createScanner(text, ignoreTrivia = false) {
case 44:
pos++;
return token = 5;
// strings
case 34:
pos++;
value = scanString();
return token = 10;
// comments
case 47:
const start = pos - 1;
if (text.charCodeAt(pos + 1) === 47) {
Expand Down Expand Up @@ -7935,12 +7948,16 @@ function createScanner(text, ignoreTrivia = false) {
value += String.fromCharCode(code);
pos++;
return token = 16;
// numbers
case 45:
value += String.fromCharCode(code);
pos++;
if (pos === len || !isDigit2(text.charCodeAt(pos))) {
return token = 16;
}
// found a minus, followed by a number so
// we fall through to proceed with scanning
// numbers
case 48:
case 49:
case 50:
Expand All @@ -7953,6 +7970,7 @@ function createScanner(text, ignoreTrivia = false) {
case 57:
value += scanNumber();
return token = 11;
// literals and unknown symbols
default:
while (pos < len && isUnknownContentCharacter(code)) {
pos++;
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,24 @@
"devDependencies": {
"@tsconfig/node20": "^20.1.4",
"@tsconfig/strictest": "^2.0.5",
"@types/node": "^20.14.12",
"@types/node": "^20.15.0",
"@types/semver": "^6.2.7",
"@types/shell-quote": "^1.7.5",
"@types/which": "^3.0.4",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"@vitest/coverage-v8": "^2.0.4",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitest/coverage-v8": "^2.0.5",
"dprint": "^0.47.2",
"esbuild": "^0.23.0",
"esbuild": "^0.23.1",
"eslint": "^8.57.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unicorn": "^55.0.0",
"husky": "^9.1.2",
"husky": "^9.1.4",
"jest-serializer-path": "^0.1.15",
"klona": "^2.0.6",
"rimraf": "^6.0.1",
"typescript": "~5.5.4",
"vitest": "^2.0.4"
"vitest": "^2.0.5"
},
"overrides": {
"vite": {
Expand Down Expand Up @@ -75,5 +75,5 @@
"after:git:release": "(git tag -d v2 && git push origin :refs/tags/v2) || true && git tag v2 && git push origin v2"
}
},
"packageManager": "pnpm@9.2.0+sha256.94fab213df221c55b6956b14a2264c21c6203cca9f0b3b95ff2fe9b84b120390"
"packageManager": "pnpm@9.7.1+sha512.faf344af2d6ca65c4c5c8c2224ea77a81a5e8859cbc4e06b1511ddce2f0151512431dd19e6aff31f2c6a8f5f2aced9bd2273e1fed7dd4de1868984059d2c4247"
}
Loading

0 comments on commit c1dc810

Please sign in to comment.