Skip to content

build(deps): bump typed-rest-client from 1.8.5 to 1.8.6 #178

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 10 additions & 19 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9740,18 +9740,6 @@ if (process.env.NODE_DEBUG && /\btunnel\b/.test(process.env.NODE_DEBUG)) {
exports.debug = debug; // for test


/***/ }),

/***/ 9026:
/***/ ((__unused_webpack_module, exports) => {

"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
// Used by buildProxyBypassRegexFromEnv for escaping dot symbols in NO_PROXY hosts' strings
exports.searchRegExpToReplaceSpecialChars = new RegExp('(?<!\\\\)([.])(?!\\*)', 'g');


/***/ }),

/***/ 5538:
Expand Down Expand Up @@ -10508,7 +10496,6 @@ const qs = __nccwpck_require__(9615);
const url = __nccwpck_require__(8835);
const path = __nccwpck_require__(5622);
const zlib = __nccwpck_require__(8761);
const Constants_1 = __nccwpck_require__(9026);
/**
* creates an url from a request url and optional base url (http://server:8080)
* @param {string} resource - a fully qualified url or relative path
Expand Down Expand Up @@ -10600,13 +10587,17 @@ exports.decompressGzippedContent = decompressGzippedContent;
* @return {RegExp}
*/
function buildProxyBypassRegexFromEnv(bypass) {
// check if expression starts with asterisk and replace it with .*
if (bypass && bypass.startsWith("*")) {
bypass = bypass.replace("*", ".*");
try {
// We need to keep this around for back-compat purposes
return new RegExp(bypass, 'i');
}
catch (err) {
if (err instanceof SyntaxError && (bypass || "").startsWith("*")) {
let wildcardEscaped = bypass.replace('*', '(.*)');
return new RegExp(wildcardEscaped, 'i');
}
throw err;
}
// replace all . symbols in string by \. because point is a special character
const safeRegex = (bypass || "").replace(Constants_1.searchRegExpToReplaceSpecialChars, '\\$1');
return new RegExp(safeRegex, 'i');
}
exports.buildProxyBypassRegexFromEnv = buildProxyBypassRegexFromEnv;
/**
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@actions/tool-cache": "^1.7.1",
"eslint-config-airbnb-base": "^14.2.1",
"semver": "^7.3.5",
"typed-rest-client": "^1.8.5"
"typed-rest-client": "^1.8.6"
},
"devDependencies": {
"@actions/io": "^1.1.1",
Expand Down