build(deps): bump typed-rest-client from 1.8.4 to 1.8.5
Bumps [typed-rest-client](https://github.com/Microsoft/typed-rest-client) from 1.8.4 to 1.8.5. - [Release notes](https://github.com/Microsoft/typed-rest-client/releases) - [Commits](https://github.com/Microsoft/typed-rest-client/commits) --- updated-dependencies: - dependency-name: typed-rest-client dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
Vendored
+19
-10
@@ -9710,6 +9710,18 @@ 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:
|
||||
@@ -10466,6 +10478,7 @@ 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
|
||||
@@ -10557,17 +10570,13 @@ exports.decompressGzippedContent = decompressGzippedContent;
|
||||
* @return {RegExp}
|
||||
*/
|
||||
function buildProxyBypassRegexFromEnv(bypass) {
|
||||
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;
|
||||
// check if expression starts with asterisk and replace it with .*
|
||||
if (bypass && bypass.startsWith("*")) {
|
||||
bypass = bypass.replace("*", ".*");
|
||||
}
|
||||
// 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;
|
||||
/**
|
||||
|
||||
Generated
+3
-3
@@ -10138,9 +10138,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"typed-rest-client": {
|
||||
"version": "1.8.4",
|
||||
"resolved": "https://registry.npmjs.org/typed-rest-client/-/typed-rest-client-1.8.4.tgz",
|
||||
"integrity": "sha512-MyfKKYzk3I6/QQp6e1T50py4qg+c+9BzOEl2rBmQIpStwNUoqQ73An+Tkfy9YuV7O+o2mpVVJpe+fH//POZkbg==",
|
||||
"version": "1.8.5",
|
||||
"resolved": "https://registry.npmjs.org/typed-rest-client/-/typed-rest-client-1.8.5.tgz",
|
||||
"integrity": "sha512-952/Aegu3lTqUAI1anbDLbewojnF/gh8at9iy1CIrfS1h/+MtNjB1Y9z6ZF5n2kZd+97em56lZ9uu7Zz3y/pwg==",
|
||||
"requires": {
|
||||
"qs": "^6.9.1",
|
||||
"tunnel": "0.0.6",
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@
|
||||
"@actions/core": "^1.4.0",
|
||||
"@actions/tool-cache": "^1.7.1",
|
||||
"semver": "^7.3.5",
|
||||
"typed-rest-client": "^1.8.4"
|
||||
"typed-rest-client": "^1.8.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@actions/io": "^1.1.1",
|
||||
|
||||
Reference in New Issue
Block a user