New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@azure/core-rest-pipeline

Package Overview
Dependencies
Maintainers
2
Versions
392
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/core-rest-pipeline - npm Package Compare versions

Comparing version 1.18.2-alpha.20241202.2 to 1.18.2-alpha.20241203.2

11

dist/browser/policies/tracingPolicy.js

@@ -118,5 +118,10 @@ // Copyright (c) Microsoft Corporation.

}
span.setStatus({
status: "success",
});
// Per semantic conventions, only set the status to error if the status code is 4xx or 5xx.
// Otherwise, the status MUST remain unset.
// https://opentelemetry.io/docs/specs/semconv/http/http-spans/#status
if (response.status >= 400) {
span.setStatus({
status: "error",
});
}
span.end();

@@ -123,0 +128,0 @@ }

@@ -9,2 +9,5 @@ // Copyright (c) Microsoft Corporation.

},
bytes: () => {
throw new Error("Not implemented");
},
slice: () => {

@@ -11,0 +14,0 @@ throw new Error("Not implemented");

@@ -122,5 +122,10 @@ "use strict";

}
span.setStatus({
status: "success",
});
// Per semantic conventions, only set the status to error if the status code is 4xx or 5xx.
// Otherwise, the status MUST remain unset.
// https://opentelemetry.io/docs/specs/semconv/http/http-spans/#status
if (response.status >= 400) {
span.setStatus({
status: "error",
});
}
span.end();

@@ -127,0 +132,0 @@ }

@@ -14,2 +14,5 @@ "use strict";

},
bytes: () => {
throw new Error("Not implemented");
},
slice: () => {

@@ -16,0 +19,0 @@ throw new Error("Not implemented");

@@ -118,5 +118,10 @@ // Copyright (c) Microsoft Corporation.

}
span.setStatus({
status: "success",
});
// Per semantic conventions, only set the status to error if the status code is 4xx or 5xx.
// Otherwise, the status MUST remain unset.
// https://opentelemetry.io/docs/specs/semconv/http/http-spans/#status
if (response.status >= 400) {
span.setStatus({
status: "error",
});
}
span.end();

@@ -123,0 +128,0 @@ }

@@ -9,2 +9,5 @@ // Copyright (c) Microsoft Corporation.

},
bytes: () => {
throw new Error("Not implemented");
},
slice: () => {

@@ -11,0 +14,0 @@ throw new Error("Not implemented");

@@ -118,5 +118,10 @@ // Copyright (c) Microsoft Corporation.

}
span.setStatus({
status: "success",
});
// Per semantic conventions, only set the status to error if the status code is 4xx or 5xx.
// Otherwise, the status MUST remain unset.
// https://opentelemetry.io/docs/specs/semconv/http/http-spans/#status
if (response.status >= 400) {
span.setStatus({
status: "error",
});
}
span.end();

@@ -123,0 +128,0 @@ }

@@ -9,2 +9,5 @@ // Copyright (c) Microsoft Corporation.

},
bytes: () => {
throw new Error("Not implemented");
},
slice: () => {

@@ -11,0 +14,0 @@ throw new Error("Not implemented");

{
"name": "@azure/core-rest-pipeline",
"version": "1.18.2-alpha.20241202.2",
"version": "1.18.2-alpha.20241203.2",
"description": "Isomorphic client library for making HTTP requests in node.js and browser.",

@@ -5,0 +5,0 @@ "sdk-type": "client",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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