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

azure-iot-common

Package Overview
Dependencies
Maintainers
4
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azure-iot-common - npm Package Compare versions

Comparing version 1.6.1-modules-preview.2 to 1.7.0-modules-preview.1

0

common.d.ts

@@ -0,0 +0,0 @@ // Copyright (c) Microsoft. All rights reserved.

@@ -0,0 +0,0 @@ // Copyright (c) Microsoft. All rights reserved.

@@ -0,0 +0,0 @@ /// <reference types="node" />

@@ -0,0 +0,0 @@ // Copyright (c) Microsoft. All rights reserved.

@@ -0,0 +0,0 @@ /// <reference types="node" />

@@ -0,0 +0,0 @@ /*! Copyright (c) Microsoft. All rights reserved.

@@ -0,0 +0,0 @@ /*! Copyright (c) Microsoft. All rights reserved.

@@ -0,0 +0,0 @@ /*! Copyright (c) Microsoft. All rights reserved.

@@ -0,0 +0,0 @@ /*! Copyright (c) Microsoft. All rights reserved.

@@ -0,0 +0,0 @@ /*! Copyright (c) Microsoft. All rights reserved.

@@ -0,0 +0,0 @@ /*! Copyright (c) Microsoft. All rights reserved.

@@ -0,0 +0,0 @@ /*! Copyright (c) Microsoft. All rights reserved.

@@ -0,0 +0,0 @@ /// <reference types="node" />

@@ -0,0 +0,0 @@ /*! Copyright (c) Microsoft. All rights reserved.

@@ -0,0 +0,0 @@ /// <reference types="node" />

@@ -0,0 +0,0 @@ /*! Copyright (c) Microsoft. All rights reserved.

@@ -0,0 +0,0 @@ /*! Copyright (c) Microsoft. All rights reserved.

@@ -0,0 +0,0 @@ /*! Copyright (c) Microsoft. All rights reserved.

@@ -0,0 +0,0 @@ /*! Copyright (c) Microsoft. All rights reserved.

@@ -0,0 +0,0 @@ /*! Copyright (c) Microsoft. All rights reserved.

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

@@ -0,0 +0,0 @@ // Copyright (c) Microsoft. All rights reserved.

@@ -0,0 +0,0 @@ /// <reference types="node" />

@@ -0,0 +0,0 @@ // Copyright (c) Microsoft. All rights reserved.

@@ -0,0 +0,0 @@ /// <reference types="node" />

@@ -0,0 +0,0 @@ // Copyright (c) Microsoft. All rights reserved.

@@ -0,0 +0,0 @@ /// <reference types="node" />

8

lib/shared_access_signature.js

@@ -120,4 +120,8 @@ /*! Copyright (c) Microsoft. All rights reserved.

var sas = new SharedAccessSignature();
/*Codes_SRS_NODE_COMMON_SAS_06_002: [The `createWithSigningFunction` shall create a `SharedAccessSignature` object with an `sr` property formed by url encoding `credentials.host` + `/devices/` + `credentials.deviceId`.] */
sas.sr = authorization.encodeUriComponentStrict(credentials.host + '/devices/' + credentials.deviceId);
/*Codes_SRS_NODE_COMMON_SAS_06_002: [The `createWithSigningFunction` shall create a `SharedAccessSignature` object with an `sr` property formed by url encoding `credentials.host` + `/devices/` + `credentials.deviceId` + `/modules/` + `credentials.moduleId`.] */
var resource = credentials.host + '/devices/' + credentials.deviceId;
if (credentials.moduleId) {
resource += "/modules/" + credentials.moduleId;
}
sas.sr = authorization.encodeUriComponentStrict(resource);
/*Codes_SRS_NODE_COMMON_SAS_06_003: [** The `createWithSigningFunction` shall create a `SharedAccessSignature` object with an `se` property containing the value of the parameter `expiry`.] */

@@ -124,0 +128,0 @@ sas.se = expiry;

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

@@ -0,0 +0,0 @@ // Copyright (c) Microsoft. All rights reserved.

{
"name": "azure-iot-common",
"version": "1.6.1-modules-preview.2",
"version": "1.7.0-modules-preview.1",
"description": "Common components shared by Azure IoT device and service SDKs",

@@ -32,3 +32,3 @@ "author": "Microsoft Corporation",

"test": "npm -s run lint && npm -s run build && npm -s run unittest",
"check-cover": "istanbul check-coverage --statements 99 --branches 96 --functions 98 --lines 99"
"check-cover": "istanbul check-coverage --statements 99 --branches 96 --functions 99 --lines 99"
},

@@ -35,0 +35,0 @@ "engines": {

@@ -0,0 +0,0 @@ #azure-iot-common

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