azure-iot-http-base
Advanced tools
Comparing version 1.12.0-preview.2 to 1.12.0
// 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" | ||
] | ||
} | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
47439
787
0
5
10
3
+ Addedasync@^3.2.3
+ Addedes5-ext@0.10.53
+ Addedazure-iot-common@1.13.0(transitive)
+ Addedd@1.0.2(transitive)
+ Addedes5-ext@0.10.530.10.64(transitive)
+ Addedes6-iterator@2.0.3(transitive)
+ Addedes6-symbol@3.1.4(transitive)
+ Addedesniff@2.0.1(transitive)
+ Addedevent-emitter@0.3.5(transitive)
+ Addedext@1.7.0(transitive)
+ Addednext-tick@1.0.01.1.0(transitive)
+ Addedtype@2.7.3(transitive)
+ Addeduuid@8.3.2(transitive)
- Removedazure-iot-common@1.12.0-preview.2(transitive)
- Removeduuid@3.4.0(transitive)
Updatedazure-iot-common@1.13.0
Updateddebug@^4.3.1
Updateduuid@^8.3.2