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

@azure/core-util

Package Overview
Dependencies
Maintainers
1
Versions
214
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/core-util - npm Package Compare versions

Comparing version 1.5.1-alpha.20231002.2 to 1.5.1-alpha.20231010.2

4

dist-esm/src/bytesEncoding.browser.js

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

export function uint8ArrayToUtf8String(uint8Array) {
const decoder = new TextDecoder("utf-8");
const decoder = new TextDecoder();
const dataString = decoder.decode(uint8Array);

@@ -66,3 +66,3 @@ return dataString;

export function utf8StringToUint8Array(value) {
return new TextEncoder("utf-8").encode(value);
return new TextEncoder().encode(value);
}

@@ -69,0 +69,0 @@ /**

{
"name": "@azure/core-util",
"version": "1.5.1-alpha.20231002.2",
"version": "1.5.1-alpha.20231010.2",
"description": "Core library for shared utility methods",

@@ -68,3 +68,3 @@ "sdk-type": "client",

"engines": {
"node": ">=14.0.0"
"node": ">=16.0.0"
},

@@ -84,3 +84,3 @@ "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-util/",

"@types/mocha": "^10.0.0",
"@types/node": "^14.0.0",
"@types/node": "^16.0.0",
"@types/sinon": "^10.0.0",

@@ -87,0 +87,0 @@ "@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",

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