Skip to content

Commit 0ab8f61

Browse files
authored
Merge pull request #991 from arduino/dependabot/npm_and_yarn/typed-rest-client-2.0.0
build(deps): bump typed-rest-client from 1.8.11 to 2.0.0
2 parents d151606 + e087429 commit 0ab8f61

8 files changed

+189
-20
lines changed

.licenses/npm/des.js.dep.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: des.js
3+
version: 1.1.0
4+
type: npm
5+
summary: DES implementation
6+
homepage: https://github.com/indutny/des.js#readme
7+
license: mit
8+
licenses:
9+
- sources: README.md
10+
text: |-
11+
This software is licensed under the MIT License.
12+
13+
Copyright Fedor Indutny, 2015.
14+
15+
Permission is hereby granted, free of charge, to any person obtaining a
16+
copy of this software and associated documentation files (the
17+
"Software"), to deal in the Software without restriction, including
18+
without limitation the rights to use, copy, modify, merge, publish,
19+
distribute, sublicense, and/or sell copies of the Software, and to permit
20+
persons to whom the Software is furnished to do so, subject to the
21+
following conditions:
22+
23+
The above copyright notice and this permission notice shall be included
24+
in all copies or substantial portions of the Software.
25+
26+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
27+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
28+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
29+
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
30+
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
31+
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
32+
USE OR OTHER DEALINGS IN THE SOFTWARE.
33+
notices: []

.licenses/npm/inherits.dep.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: inherits
3+
version: 2.0.4
4+
type: npm
5+
summary: Browser-friendly inheritance fully compatible with standard node.js inherits()
6+
homepage:
7+
license: isc
8+
licenses:
9+
- sources: LICENSE
10+
text: |+
11+
The ISC License
12+
13+
Copyright (c) Isaac Z. Schlueter
14+
15+
Permission to use, copy, modify, and/or distribute this software for any
16+
purpose with or without fee is hereby granted, provided that the above
17+
copyright notice and this permission notice appear in all copies.
18+
19+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
20+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
21+
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
22+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
23+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
24+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
25+
PERFORMANCE OF THIS SOFTWARE.
26+
27+
notices: []

.licenses/npm/js-md4.dep.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: js-md4
3+
version: 0.3.2
4+
type: npm
5+
summary: A simple MD4 hash function for JavaScript supports UTF-8 encoding.
6+
homepage: https://github.com/emn178/js-md4
7+
license: mit
8+
licenses:
9+
- sources: LICENSE.txt
10+
text: |
11+
Copyright 2015-2017 Yi-Cyuan Chen
12+
13+
Permission is hereby granted, free of charge, to any person obtaining
14+
a copy of this software and associated documentation files (the
15+
"Software"), to deal in the Software without restriction, including
16+
without limitation the rights to use, copy, modify, merge, publish,
17+
distribute, sublicense, and/or sell copies of the Software, and to
18+
permit persons to whom the Software is furnished to do so, subject to
19+
the following conditions:
20+
21+
The above copyright notice and this permission notice shall be
22+
included in all copies or substantial portions of the Software.
23+
24+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
25+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
27+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
28+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
29+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
30+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31+
- sources: README.md
32+
text: The project is released under the [MIT license](http://www.opensource.org/licenses/MIT).
33+
notices: []
+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: minimalistic-assert
3+
version: 1.0.1
4+
type: npm
5+
summary: minimalistic-assert ===
6+
homepage: https://github.com/calvinmetcalf/minimalistic-assert
7+
license: isc
8+
licenses:
9+
- sources: LICENSE
10+
text: |-
11+
Copyright 2015 Calvin Metcalf
12+
13+
Permission to use, copy, modify, and/or distribute this software for any purpose
14+
with or without fee is hereby granted, provided that the above copyright notice
15+
and this permission notice appear in all copies.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
18+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
19+
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
20+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
21+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
22+
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
23+
PERFORMANCE OF THIS SOFTWARE.
24+
notices: []

.licenses/npm/typed-rest-client.dep.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: typed-rest-client
3-
version: 1.8.11
3+
version: 2.0.0
44
type: npm
55
summary: Node Rest and Http Clients for use with TypeScript
66
homepage: https://github.com/Microsoft/typed-rest-client#readme

dist/index.js

+14-5
Original file line numberDiff line numberDiff line change
@@ -11765,14 +11765,16 @@ exports.debug = debug; // for test
1176511765
// Copyright (c) Microsoft. All rights reserved.
1176611766
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
1176711767
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
11768+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
1176811769
return new (P || (P = Promise))(function (resolve, reject) {
1176911770
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
1177011771
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
11771-
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
11772+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
1177211773
step((generator = generator.apply(thisArg, _arguments || [])).next());
1177311774
});
1177411775
};
1177511776
Object.defineProperty(exports, "__esModule", ({ value: true }));
11777+
exports.HttpClient = exports.isHttps = exports.HttpClientResponse = exports.HttpCodes = void 0;
1177611778
const url = __nccwpck_require__(7310);
1177711779
const http = __nccwpck_require__(3685);
1177811780
const https = __nccwpck_require__(5687);
@@ -11808,7 +11810,7 @@ var HttpCodes;
1180811810
HttpCodes[HttpCodes["BadGateway"] = 502] = "BadGateway";
1180911811
HttpCodes[HttpCodes["ServiceUnavailable"] = 503] = "ServiceUnavailable";
1181011812
HttpCodes[HttpCodes["GatewayTimeout"] = 504] = "GatewayTimeout";
11811-
})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {}));
11813+
})(HttpCodes || (exports.HttpCodes = HttpCodes = {}));
1181211814
const HttpRedirectCodes = [HttpCodes.MovedPermanently, HttpCodes.ResourceMoved, HttpCodes.SeeOther, HttpCodes.TemporaryRedirect, HttpCodes.PermanentRedirect];
1181311815
const HttpResponseRetryCodes = [HttpCodes.BadGateway, HttpCodes.ServiceUnavailable, HttpCodes.GatewayTimeout];
1181411816
const NetworkRetryErrors = ['ECONNRESET', 'ENOTFOUND', 'ESOCKETTIMEDOUT', 'ETIMEDOUT', 'ECONNREFUSED'];
@@ -12275,14 +12277,16 @@ exports.HttpClient = HttpClient;
1227512277
// Copyright (c) Microsoft. All rights reserved.
1227612278
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
1227712279
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
12280+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
1227812281
return new (P || (P = Promise))(function (resolve, reject) {
1227912282
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
1228012283
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
12281-
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
12284+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
1228212285
step((generator = generator.apply(thisArg, _arguments || [])).next());
1228312286
});
1228412287
};
1228512288
Object.defineProperty(exports, "__esModule", ({ value: true }));
12289+
exports.RestClient = void 0;
1228612290
const httpm = __nccwpck_require__(5538);
1228712291
const util = __nccwpck_require__(9470);
1228812292
class RestClient {
@@ -12503,14 +12507,16 @@ exports.RestClient = RestClient;
1250312507
// Copyright (c) Microsoft. All rights reserved.
1250412508
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
1250512509
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
12510+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
1250612511
return new (P || (P = Promise))(function (resolve, reject) {
1250712512
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
1250812513
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
12509-
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
12514+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
1251012515
step((generator = generator.apply(thisArg, _arguments || [])).next());
1251112516
});
1251212517
};
1251312518
Object.defineProperty(exports, "__esModule", ({ value: true }));
12519+
exports.obtainContentCharset = exports.buildProxyBypassRegexFromEnv = exports.decompressGzippedContent = exports.getUrl = void 0;
1251412520
const qs = __nccwpck_require__(2760);
1251512521
const url = __nccwpck_require__(7310);
1251612522
const path = __nccwpck_require__(1017);
@@ -12639,7 +12645,10 @@ function obtainContentCharset(response) {
1263912645
const nodeSupportedEncodings = ['ascii', 'utf8', 'utf16le', 'ucs2', 'base64', 'binary', 'hex'];
1264012646
const contentType = response.message.headers['content-type'] || '';
1264112647
const matches = contentType.match(/charset=([^;,\r\n]+)/i);
12642-
return (matches && matches[1] && nodeSupportedEncodings.indexOf(matches[1]) != -1) ? matches[1] : 'utf-8';
12648+
if (matches && matches[1] && nodeSupportedEncodings.indexOf(matches[1]) != -1) {
12649+
return matches[1];
12650+
}
12651+
return 'utf-8';
1264312652
}
1264412653
exports.obtainContentCharset = obtainContentCharset;
1264512654

package-lock.json

+56-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@actions/core": "^1.10.1",
2020
"@actions/tool-cache": "^2.0.1",
2121
"semver": "^7.6.0",
22-
"typed-rest-client": "^1.8.11"
22+
"typed-rest-client": "^2.0.0"
2323
},
2424
"devDependencies": {
2525
"@actions/io": "^1.1.3",

0 commit comments

Comments
 (0)