Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@microsoft/kiota-http-fetchlibrary

Package Overview
Dependencies
Maintainers
0
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/kiota-http-fetchlibrary - npm Package Compare versions

Comparing version 1.0.0-preview.56 to 1.0.0-preview.57

2

dist/es/src/fetchRequestAdapter.js

@@ -432,3 +432,3 @@ /**

});
const factory = errorMappings ? (_c = (_b = (_a = errorMappings[statusCode]) !== null && _a !== void 0 ? _a : (statusCode >= 400 && statusCode < 500 ? errorMappings._4XX : undefined)) !== null && _b !== void 0 ? _b : (statusCode >= 500 && statusCode < 600 ? errorMappings._5XX : undefined)) !== null && _c !== void 0 ? _c : errorMappings.XXX : undefined;
const factory = errorMappings ? ((_c = (_b = (_a = errorMappings[statusCode]) !== null && _a !== void 0 ? _a : (statusCode >= 400 && statusCode < 500 ? errorMappings._4XX : undefined)) !== null && _b !== void 0 ? _b : (statusCode >= 500 && statusCode < 600 ? errorMappings._5XX : undefined)) !== null && _c !== void 0 ? _c : errorMappings.XXX) : undefined;
if (!factory) {

@@ -435,0 +435,0 @@ spanForAttributes.setAttribute(FetchRequestAdapter.errorMappingFoundAttributeName, false);

{
"name": "@microsoft/kiota-http-fetchlibrary",
"version": "1.0.0-preview.56",
"version": "1.0.0-preview.57",
"description": "Kiota request adapter implementation with fetch",

@@ -31,3 +31,3 @@ "keywords": [

"lint:fix": "eslint . --ext .ts --fix",
"test:browser": "vitest run --browser.name=chrome --browser.headless",
"test:browser": "vitest run --browser.name=chrome --browser.headless --browser.provider=webdriverio",
"test:node": "vitest --run",

@@ -45,3 +45,3 @@ "test": "npm run test:node && npm run test:browser"

},
"gitHead": "d2049023e3e60fedd031bc73ee3edf5ffa8693d2"
"gitHead": "c11f92d3dfde91d52387da13dddb4ebfbfd933a3"
}
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "../../../tsconfig.base.json",

@@ -9,2 +10,2 @@ "compilerOptions": {

],
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc