Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey committed Jul 25, 2022
1 parent aead9e0 commit c36ccc6
Show file tree
Hide file tree
Showing 3 changed files with 205 additions and 211 deletions.
46 changes: 32 additions & 14 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ var __copyProps = (to, from, except, desc) => {
}
return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
mod
));

// node_modules/@actions/core/lib/utils.js
var require_utils = __commonJS({
Expand Down Expand Up @@ -369,7 +372,10 @@ var require_tunnel = __commonJS({
connectReq.removeAllListeners();
socket.removeAllListeners();
if (res.statusCode !== 200) {
debug("tunneling socket could not be established, statusCode=%d", res.statusCode);
debug(
"tunneling socket could not be established, statusCode=%d",
res.statusCode
);
socket.destroy();
var error = new Error("tunneling socket could not be established, statusCode=" + res.statusCode);
error.code = "ECONNRESET";
Expand All @@ -392,7 +398,11 @@ var require_tunnel = __commonJS({
}
function onError(cause) {
connectReq.removeAllListeners();
debug("tunneling socket could not be established, cause=%s\n", cause.message, cause.stack);
debug(
"tunneling socket could not be established, cause=%s\n",
cause.message,
cause.stack
);
var error = new Error("tunneling socket could not be established, cause=" + cause.message);
error.code = "ECONNRESET";
options.request.emit("error", error);
Expand Down Expand Up @@ -4848,7 +4858,9 @@ var require_semver2 = __commonJS({
throw new TypeError(`Invalid Version: ${version2}`);
}
if (version2.length > MAX_LENGTH) {
throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);
throw new TypeError(
`version is longer than ${MAX_LENGTH} characters`
);
}
debug("SemVer", version2, options);
this.options = options;
Expand Down Expand Up @@ -6260,18 +6272,24 @@ async function main() {
const line = ((_a = diag.range) == null ? void 0 : _a.start.line) ?? 0;
const col = ((_b = diag.range) == null ? void 0 : _b.start.character) ?? 0;
const message = diagnosticToString(diag, true);
command.issueCommand(diag.severity, {
file: diag.file,
line: line + 1,
col: col + 1
}, message);
command.issueCommand(
diag.severity,
{
file: diag.file,
line: line + 1,
col: col + 1
},
message
);
});
const { errorCount, warningCount, informationCount } = report.summary;
core2.info([
pluralize(errorCount, "error", "errors"),
pluralize(warningCount, "warning", "warnings"),
pluralize(informationCount, "information", "informations")
].join(", "));
core2.info(
[
pluralize(errorCount, "error", "errors"),
pluralize(warningCount, "warning", "warnings"),
pluralize(informationCount, "information", "informations")
].join(", ")
);
if (status !== 0) {
core2.setFailed(pluralize(errorCount, "error", "errors"));
}
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@
"@types/semver-utils": "^1.1.1",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"esbuild": "^0.14.49",
"esbuild": "^0.14.50",
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"husky": "^8.0.1",
"jest": "^28.1.3",
"jest-serializer-path": "^0.1.15",
"klona": "^2.0.5",
"npm-check-updates": "^15.3.4",
"npm-check-updates": "^16.0.0",
"prettier": "2.7.1",
"release-it": "^15.1.3",
"release-it": "^15.1.4",
"rimraf": "^3.0.2",
"ts-jest": "^28.0.7",
"typescript": "~4.7.4"
Expand Down
Loading

0 comments on commit c36ccc6

Please sign in to comment.