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
330
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.1.3-alpha.20210610.1 to 1.1.3-alpha.20210611.1

5

CHANGELOG.md

@@ -5,5 +5,10 @@ # Release History

### Key Bugs Fixed
- Fix an issue of lost properties when flattening array in deserialization [issue 15653](https://github.com/azure/azure-sdk-for-js/issues/15653)
## 1.1.2 (2021-05-20)
### Fixed
- Fixed an issue to check for the mandatory parameter in the header and query values. [PR 15278](https://github.com/Azure/azure-sdk-for-js/pull/15278)

@@ -10,0 +15,0 @@

10

dist-esm/src/serializer.js

@@ -733,3 +733,11 @@ // Copyright (c) Microsoft Corporation.

propertyInstance = responseBody[key];
instance = serializer.deserialize(propertyMapper, propertyInstance, propertyObjectName, options);
const arrayInstance = serializer.deserialize(propertyMapper, propertyInstance, propertyObjectName, options);
// Copy over any properties that have already been added into the instance, where they do
// not exist on the newly de-serialized array
for (const [k, v] of Object.entries(instance)) {
if (!Object.prototype.hasOwnProperty.call(arrayInstance, k)) {
arrayInstance[k] = v;
}
}
instance = arrayInstance;
}

@@ -736,0 +744,0 @@ else if (propertyInstance !== undefined || propertyMapper.defaultValue !== undefined) {

2

package.json
{
"name": "@azure/core-client",
"version": "1.1.3-alpha.20210610.1",
"version": "1.1.3-alpha.20210611.1",
"description": "Core library for interfacing with AutoRest generated code",

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

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