mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-19 04:58:25 +02:00
feat: update dependencies, node
This commit is contained in:
parent
0ec953ee6d
commit
29cb413d63
507 changed files with 84113 additions and 61309 deletions
23
node_modules/@azure/core-http/dist/index.js
generated
vendored
23
node_modules/@azure/core-http/dist/index.js
generated
vendored
|
@ -7,6 +7,7 @@ var util = require('util');
|
|||
var tslib = require('tslib');
|
||||
var xml2js = require('xml2js');
|
||||
var abortController = require('@azure/abort-controller');
|
||||
var coreUtil = require('@azure/core-util');
|
||||
var logger$1 = require('@azure/logger');
|
||||
var coreAuth = require('@azure/core-auth');
|
||||
var os = require('os');
|
||||
|
@ -235,7 +236,7 @@ const Constants = {
|
|||
/**
|
||||
* The core-http version
|
||||
*/
|
||||
coreHttpVersion: "2.2.5",
|
||||
coreHttpVersion: "2.2.7",
|
||||
/**
|
||||
* Specifies HTTP.
|
||||
*/
|
||||
|
@ -536,6 +537,7 @@ class Serializer {
|
|||
* @param mapper - The definition of data models.
|
||||
* @param value - The value.
|
||||
* @param objectName - Name of the object. Used in the error messages.
|
||||
* @deprecated Removing the constraints validation on client side.
|
||||
*/
|
||||
validateConstraints(mapper, value, objectName) {
|
||||
const failValidation = (constraintName, constraintValue) => {
|
||||
|
@ -634,8 +636,6 @@ class Serializer {
|
|||
payload = object;
|
||||
}
|
||||
else {
|
||||
// Validate Constraints if any
|
||||
this.validateConstraints(mapper, object, objectName);
|
||||
if (mapperType.match(/^any$/i) !== null) {
|
||||
payload = object;
|
||||
}
|
||||
|
@ -3123,7 +3123,7 @@ function deserializeResponseBody(jsonContentTypes, xmlContentTypes, response, op
|
|||
parsedResponse.parsedBody = response.status >= 200 && response.status < 300;
|
||||
}
|
||||
if (responseSpec.headersMapper) {
|
||||
parsedResponse.parsedHeaders = operationSpec.serializer.deserialize(responseSpec.headersMapper, parsedResponse.headers.rawHeaders(), "operationRes.parsedHeaders", options);
|
||||
parsedResponse.parsedHeaders = operationSpec.serializer.deserialize(responseSpec.headersMapper, parsedResponse.headers.toJson(), "operationRes.parsedHeaders", options);
|
||||
}
|
||||
}
|
||||
return parsedResponse;
|
||||
|
@ -3189,7 +3189,7 @@ function handleErrorResponse(parsedResponse, operationSpec, responseSpec) {
|
|||
}
|
||||
// If error response has headers, try to deserialize it using default header mapper
|
||||
if (parsedResponse.headers && defaultHeadersMapper) {
|
||||
error.response.parsedHeaders = operationSpec.serializer.deserialize(defaultHeadersMapper, parsedResponse.headers.rawHeaders(), "operationRes.parsedHeaders");
|
||||
error.response.parsedHeaders = operationSpec.serializer.deserialize(defaultHeadersMapper, parsedResponse.headers.toJson(), "operationRes.parsedHeaders");
|
||||
}
|
||||
}
|
||||
catch (defaultError) {
|
||||
|
@ -3390,17 +3390,6 @@ function updateRetryData(retryOptions, retryData = { retryCount: 0, retryInterva
|
|||
return retryData;
|
||||
}
|
||||
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT license.
|
||||
/**
|
||||
* Helper TypeGuard that checks if the value is not null or undefined.
|
||||
* @param thing - Anything
|
||||
* @internal
|
||||
*/
|
||||
function isDefined(thing) {
|
||||
return typeof thing !== "undefined" && thing !== null;
|
||||
}
|
||||
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
const StandardAbortMessage$1 = "The operation was aborted.";
|
||||
/**
|
||||
|
@ -3425,7 +3414,7 @@ function delay(delayInMs, value, options) {
|
|||
}
|
||||
};
|
||||
onAborted = () => {
|
||||
if (isDefined(timer)) {
|
||||
if (coreUtil.isDefined(timer)) {
|
||||
clearTimeout(timer);
|
||||
}
|
||||
removeListeners();
|
||||
|
|
2
node_modules/@azure/core-http/dist/index.js.map
generated
vendored
2
node_modules/@azure/core-http/dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue