Skip to content

Commit

Permalink
Update Dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wyatt-herkamp committed Oct 17, 2023
1 parent a95ba19 commit 3351704
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 46 deletions.
28 changes: 17 additions & 11 deletions dist/restore/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5994,7 +5994,7 @@ class OidcClient {
.catch(error => {
throw new Error(`Failed to get ID Token. \n
Error Code : ${error.statusCode}\n
Error Message: ${error.result.message}`);
Error Message: ${error.message}`);
});
const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;
if (!id_token) {
Expand Down Expand Up @@ -62971,7 +62971,7 @@ var promises_default = /*#__PURE__*/__nccwpck_require__.n(promises_);
// EXTERNAL MODULE: external "os"
var external_os_ = __nccwpck_require__(2037);
var external_os_default = /*#__PURE__*/__nccwpck_require__.n(external_os_);
;// CONCATENATED MODULE: ./node_modules/smol-toml/dist/error.js
;// CONCATENATED MODULE: ../smol-toml/dist/error.js
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
Expand Down Expand Up @@ -63036,7 +63036,7 @@ class TomlError extends Error {
}
}

;// CONCATENATED MODULE: ./node_modules/smol-toml/dist/date.js
;// CONCATENATED MODULE: ../smol-toml/dist/date.js
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
Expand Down Expand Up @@ -63163,7 +63163,7 @@ class TomlDate extends Date {
}
}

;// CONCATENATED MODULE: ./node_modules/smol-toml/dist/util.js
;// CONCATENATED MODULE: ../smol-toml/dist/util.js
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
Expand Down Expand Up @@ -63222,7 +63222,7 @@ function skipVoid(str, ptr, banNewLines, banComments) {
? ptr
: skipVoid(str, skipComment(str, ptr), banNewLines);
}
function skipUntil(str, ptr, sep, end) {
function skipUntil(str, ptr, sep, end, banNewLines = false) {
if (!end) {
ptr = indexOfNewline(str, ptr);
return ptr < 0 ? str.length : ptr;
Expand All @@ -63238,6 +63238,9 @@ function skipUntil(str, ptr, sep, end) {
else if (c === end) {
return i;
}
else if (banNewLines && (c === '\n' || c === '\r' && str[i + 1] === '\n')) {
return i;
}
}
throw new TomlError('cannot find end of structure', {
toml: str,
Expand Down Expand Up @@ -63265,7 +63268,7 @@ function getStringEnd(str, seek) {
return seek;
}

;// CONCATENATED MODULE: ./node_modules/smol-toml/dist/primitive.js
;// CONCATENATED MODULE: ../smol-toml/dist/primitive.js
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
Expand Down Expand Up @@ -63439,7 +63442,7 @@ function parseValue(value, toml, ptr) {
return date;
}

;// CONCATENATED MODULE: ./node_modules/smol-toml/dist/extract.js
;// CONCATENATED MODULE: ../smol-toml/dist/extract.js
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
Expand Down Expand Up @@ -63513,7 +63516,10 @@ function extractValue(str, ptr, end) {
let endPtr;
if (c === '"' || c === "'") {
endPtr = getStringEnd(str, ptr);
return [parseString(str, ptr, endPtr), endPtr + +(!!end && str[endPtr] === ',')];
let parsed = parseString(str, ptr, endPtr);
if (end)
endPtr = skipUntil(str, endPtr, ',', end, end !== ']');
return [parsed, endPtr];
}
endPtr = skipUntil(str, ptr, ',', end);
let slice = sliceAndTrimEndOf(str, ptr, endPtr - (+(str[endPtr - 1] === ',')), end === ']');
Expand All @@ -63533,7 +63539,7 @@ function extractValue(str, ptr, end) {
];
}

;// CONCATENATED MODULE: ./node_modules/smol-toml/dist/struct.js
;// CONCATENATED MODULE: ../smol-toml/dist/struct.js
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
Expand Down Expand Up @@ -63737,7 +63743,7 @@ function parseArray(str, ptr) {
return [res, ptr];
}

;// CONCATENATED MODULE: ./node_modules/smol-toml/dist/parse.js
;// CONCATENATED MODULE: ../smol-toml/dist/parse.js
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
Expand Down Expand Up @@ -63887,7 +63893,7 @@ function parse(toml) {
return res;
}

;// CONCATENATED MODULE: ./node_modules/smol-toml/dist/index.js
;// CONCATENATED MODULE: ../smol-toml/dist/index.js
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
Expand Down
28 changes: 17 additions & 11 deletions dist/save/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5994,7 +5994,7 @@ class OidcClient {
.catch(error => {
throw new Error(`Failed to get ID Token. \n
Error Code : ${error.statusCode}\n
Error Message: ${error.result.message}`);
Error Message: ${error.message}`);
});
const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;
if (!id_token) {
Expand Down Expand Up @@ -62973,7 +62973,7 @@ var promises_default = /*#__PURE__*/__nccwpck_require__.n(promises_);
// EXTERNAL MODULE: external "os"
var external_os_ = __nccwpck_require__(2037);
var external_os_default = /*#__PURE__*/__nccwpck_require__.n(external_os_);
;// CONCATENATED MODULE: ./node_modules/smol-toml/dist/error.js
;// CONCATENATED MODULE: ../smol-toml/dist/error.js
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
Expand Down Expand Up @@ -63038,7 +63038,7 @@ class TomlError extends Error {
}
}

;// CONCATENATED MODULE: ./node_modules/smol-toml/dist/date.js
;// CONCATENATED MODULE: ../smol-toml/dist/date.js
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
Expand Down Expand Up @@ -63165,7 +63165,7 @@ class TomlDate extends Date {
}
}

;// CONCATENATED MODULE: ./node_modules/smol-toml/dist/util.js
;// CONCATENATED MODULE: ../smol-toml/dist/util.js
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
Expand Down Expand Up @@ -63224,7 +63224,7 @@ function skipVoid(str, ptr, banNewLines, banComments) {
? ptr
: skipVoid(str, skipComment(str, ptr), banNewLines);
}
function skipUntil(str, ptr, sep, end) {
function skipUntil(str, ptr, sep, end, banNewLines = false) {
if (!end) {
ptr = indexOfNewline(str, ptr);
return ptr < 0 ? str.length : ptr;
Expand All @@ -63240,6 +63240,9 @@ function skipUntil(str, ptr, sep, end) {
else if (c === end) {
return i;
}
else if (banNewLines && (c === '\n' || c === '\r' && str[i + 1] === '\n')) {
return i;
}
}
throw new TomlError('cannot find end of structure', {
toml: str,
Expand Down Expand Up @@ -63267,7 +63270,7 @@ function getStringEnd(str, seek) {
return seek;
}

;// CONCATENATED MODULE: ./node_modules/smol-toml/dist/primitive.js
;// CONCATENATED MODULE: ../smol-toml/dist/primitive.js
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
Expand Down Expand Up @@ -63441,7 +63444,7 @@ function parseValue(value, toml, ptr) {
return date;
}

;// CONCATENATED MODULE: ./node_modules/smol-toml/dist/extract.js
;// CONCATENATED MODULE: ../smol-toml/dist/extract.js
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
Expand Down Expand Up @@ -63515,7 +63518,10 @@ function extractValue(str, ptr, end) {
let endPtr;
if (c === '"' || c === "'") {
endPtr = getStringEnd(str, ptr);
return [parseString(str, ptr, endPtr), endPtr + +(!!end && str[endPtr] === ',')];
let parsed = parseString(str, ptr, endPtr);
if (end)
endPtr = skipUntil(str, endPtr, ',', end, end !== ']');
return [parsed, endPtr];
}
endPtr = skipUntil(str, ptr, ',', end);
let slice = sliceAndTrimEndOf(str, ptr, endPtr - (+(str[endPtr - 1] === ',')), end === ']');
Expand All @@ -63535,7 +63541,7 @@ function extractValue(str, ptr, end) {
];
}

;// CONCATENATED MODULE: ./node_modules/smol-toml/dist/struct.js
;// CONCATENATED MODULE: ../smol-toml/dist/struct.js
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
Expand Down Expand Up @@ -63739,7 +63745,7 @@ function parseArray(str, ptr) {
return [res, ptr];
}

;// CONCATENATED MODULE: ./node_modules/smol-toml/dist/parse.js
;// CONCATENATED MODULE: ../smol-toml/dist/parse.js
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
Expand Down Expand Up @@ -63889,7 +63895,7 @@ function parse(toml) {
return res;
}

;// CONCATENATED MODULE: ./node_modules/smol-toml/dist/index.js
;// CONCATENATED MODULE: ../smol-toml/dist/index.js
/*!
* Copyright (c) Squirrel Chat et al., All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
Expand Down
55 changes: 35 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@
"dependencies": {
"@actions/buildjet-cache": "npm:github-actions.cache-buildjet@0.2.0",
"@actions/cache": "^3.2.2",
"@actions/core": "^1.10.0",
"@actions/core": "^1.10.1",
"@actions/exec": "^1.1.1",
"@actions/glob": "^0.4.0",
"@actions/io": "^1.1.3",
"smol-toml": "^1.1.1"
"smol-toml": "file:../smol-toml"
},
"devDependencies": {
"@vercel/ncc": "^0.36.1",
"@vercel/ncc": "^0.38.0",
"linefix": "^0.1.1",
"typescript": "5.1.6"
"typescript": "5.2.2"
},
"scripts": {
"prepare": "ncc build --target es2020 -o dist/restore src/restore.ts && ncc build --target es2020 -o dist/save src/save.ts && linefix dist"
Expand Down

0 comments on commit 3351704

Please sign in to comment.