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

azure-iot-http-base

Package Overview
Dependencies
Maintainers
7
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azure-iot-http-base - npm Package Compare versions

Comparing version 1.12.0-preview.2 to 1.12.0

dist/http.d.ts

6

index.d.ts
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
export { Http, HttpRequestOptions } from './lib/http';
export { RestApiClient } from './lib/rest_api_client';
export { HttpTransportError } from './lib/rest_api_client';
export { Http, HttpRequestOptions } from './dist/http';
export { RestApiClient } from './dist/rest_api_client';
export { HttpTransportError } from './dist/rest_api_client';

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

module.exports = {
Http: require('./lib/http.js').Http,
HttpTransportError: require('./lib/rest_api_client.js').HttpTransportError,
RestApiClient: require('./lib/rest_api_client.js').RestApiClient
Http: require('./dist/http.js').Http,
HttpTransportError: require('./dist/rest_api_client.js').HttpTransportError,
RestApiClient: require('./dist/rest_api_client.js').RestApiClient
};
{
"name": "azure-iot-http-base",
"version": "1.12.0-preview.2",
"version": "1.12.0",
"description": "HTTP operations used by Azure IoT device and service SDKs",

@@ -10,28 +10,65 @@ "author": "Microsoft Corporation",

"dependencies": {
"azure-iot-common": "1.12.0-preview.2",
"debug": "^4.1.1",
"uuid": "^3.3.2"
"async": "^3.2.3",
"es5-ext": "0.10.53",
"debug": "^4.3.1",
"azure-iot-common": "1.13.0",
"uuid": "^8.3.2"
},
"devDependencies": {
"@types/node": "^9.6.50",
"chai": "^4.2.0",
"istanbul": "^0.4.5",
"mocha": "^5.2.0",
"sinon": "^7.4.1",
"tslint": "^5.18.0",
"typescript": "2.9.2"
"@azure/core-http": "1.2.3",
"@types/node": "^16.10.2",
"chai": "^4.3.3",
"mocha": "^9.2.1",
"nyc": "^15.0.0",
"sinon": "^11.1.2",
"source-map-support": "^0.5.16",
"ts-node": "^8.6.2",
"tslint": "^6.1.3",
"typescript": "4.4.4"
},
"scripts": {
"npmlockrefresh": "npm i --package-lock-only",
"lint": "tslint --project . -c ../../../tslint.json",
"build": "tsc",
"unittest-min": "istanbul cover --report none ../../../node_modules/mocha/bin/_mocha -- --reporter dot test/_*_test.js",
"alltest-min": "istanbul cover --report none ../../../node_modules/mocha/bin/_mocha -- --reporter dot test/_*_test*.js",
"unittest": "istanbul cover ../../../node_modules/mocha/bin/_mocha -- --reporter spec test/_*_test.js",
"alltest": "istanbul cover ../../../node_modules/mocha/bin/_mocha -- --reporter spec test/_*_test*.js",
"ci": "npm -s run lint && npm -s run build && npm -s run alltest-min && npm -s run check-cover",
"test": "npm -s run lint && npm -s run build && npm -s run unittest",
"check-cover": "istanbul check-coverage --statements 94 --branches 87 --functions 100 --lines 94"
"unittest-min": "tsc && nyc --reporter lcov ../../../node_modules/mocha/bin/_mocha --reporter dot",
"alltest-min": "tsc && nyc --reporter lcov ../../../node_modules/mocha/bin/_mocha --reporter dot test/_*_test*.js",
"unittest": "tsc && nyc --reporter lcov --reporter text ../../../node_modules/mocha/bin/_mocha",
"alltest": "tsc && nyc --reporter lcov --reporter text ../../../node_modules/mocha/bin/_mocha test/_*_test*.js",
"ci": "npm -s run lint && npm -s run build && npm -s run alltest-min",
"test": "npm -s run lint && npm -s run build && npm -s run alltest"
},
"nyc": {
"exclude": [
"coverage/**",
"**/*.d.ts",
"test{,s}/**",
"test{,-*}.{js,cjs,mjs,ts}",
"**/*{.,-}test.{js,cjs,mjs,ts}",
"**/__tests__/**",
"**/{ava,nyc}.config.{js,cjs,mjs}",
"**/jest.config.{js,cjs,mjs,ts}",
"**/{karma,rollup,webpack}.config.js",
"**/{babel.config,.eslintrc,.mocharc}.{js,cjs}"
],
"extension": [
".ts",
".tsx"
],
"check-coverage": true,
"lines": 88,
"functions": 86,
"branches": 84,
"statements": 87
},
"mocha": {
"require": [
"ts-node/register",
"source-map-support/register"
],
"full-trace": true,
"bail": true,
"spec": "test/**/_*_test.js"
},
"engines": {
"node": ">= 8.0.0"
"node": ">= 14.0.0"
},

@@ -38,0 +75,0 @@ "repository": {

{
"compilerOptions": {
"outDir": "./lib",
"target":"es5",
"outDir": "./dist",
"target":"es2018",
"module": "commonjs",
"sourceMap": true,
"declaration": true,
"noUnusedLocals": true
"noUnusedLocals": true,
"noUnusedParameters": true,
"removeComments": false
},
"include": [
"./src/**/*"
"./src/**/*.ts"
]
}
}
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