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

@azure/core-client

Package Overview
Dependencies
Maintainers
3
Versions
337
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/core-client - npm Package Compare versions

Comparing version 1.2.3-alpha.20210716.1 to 1.3.0

8

CHANGELOG.md
# Release History
## 1.2.3 (Unreleased)
## 1.3.0 (2021-08-04)
### Features Added
### Breaking Changes
- Updated to use version 1.0.0-preview.13 of `@azure/core-tracing`.
### Bugs Fixed
### Key Bugs Fixed
### Other Changes
- Fixed an issue where APIs that accepted a Blob didn't work with File objects. See [#16754](https://github.com/Azure/azure-sdk-for-js/issues/16754) for more details.

@@ -13,0 +13,0 @@ ## 1.2.2 (2021-07-13)

@@ -320,3 +320,2 @@ // Copyright (c) Microsoft Corporation.

function serializeBasicTypes(typeName, objectName, value) {
var _a;
if (value !== null && value !== undefined) {

@@ -349,3 +348,4 @@ if (typeName.match(/^Number$/i) !== null) {

!ArrayBuffer.isView(value) &&
!(((_a = value === null || value === void 0 ? void 0 : value.constructor) === null || _a === void 0 ? void 0 : _a.name) === "Blob")) {
// File objects count as a type of Blob, so we want to use instanceof explicitly
!((typeof Blob === "function" || typeof Blob === "object") && value instanceof Blob)) {
throw new Error(`${objectName} must be a string, Blob, ArrayBuffer, ArrayBufferView, or NodeJS.ReadableStream.`);

@@ -352,0 +352,0 @@ }

{
"name": "@azure/core-client",
"version": "1.2.3-alpha.20210716.1",
"version": "1.3.0",
"description": "Core library for interfacing with AutoRest generated code",

@@ -85,4 +85,4 @@ "sdk-type": "client",

"@types/sinon": "^9.0.4",
"@azure/eslint-plugin-azure-sdk": "^3.0.0-alpha",
"@azure/dev-tool": "^1.0.0-alpha",
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
"@azure/dev-tool": "^1.0.0",
"chai": "^4.2.0",

@@ -89,0 +89,0 @@ "downlevel-dts": "~0.4.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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