Comparing version 8.0.0 to 8.0.1
{ | ||
"name": "ngx-mqtt", | ||
"description": "ngx mqtt client library", | ||
"version": "8.0.0", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/sclausen/ngx-mqtt.git" | ||
}, | ||
"keywords": [ | ||
"angular", | ||
"angular9", | ||
"angular10", | ||
"angular11", | ||
"ngx", | ||
"mqtt" | ||
], | ||
"author": { | ||
"name": "sclausen" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "lpeterse" | ||
}, | ||
{ | ||
"name": "nosovk" | ||
} | ||
], | ||
"license": "MIT", | ||
"scripts": { | ||
"ng": "ng", | ||
"start": "ng serve", | ||
"postinstall": "npm i --prefix ./projects/ngx-mqtt; npm-install-peers", | ||
"build": "ng build", | ||
"build:prod": "ng build --prod", | ||
"publishx": "npm run build:prod && npm publish dist/ngx-mqtt/", | ||
"test": "ng test --watch false --browsers ChromeHeadless", | ||
"lint": "ng lint", | ||
"e2e": "ng e2e", | ||
"typecheck": "tsc --noEmit --skipLibCheck", | ||
"release": "standard-version", | ||
"release:patch": "npm run release -- --release-as patch", | ||
"release:minor": "npm run release -- --release-as minor", | ||
"release:major": "npm run release -- --release-as major" | ||
"postinstall": "node postinstall" | ||
}, | ||
"version": "8.0.1", | ||
"peerDependencies": { | ||
"@angular/animations": ">=9.1.12", | ||
"@angular/common": ">=9.1.12", | ||
"@angular/compiler": ">=9.1.12", | ||
"@angular/core": ">=9.1.12", | ||
"@angular/forms": ">=9.1.12", | ||
"@angular/platform-browser": ">=9.1.12", | ||
"@angular/platform-browser-dynamic": ">=9.1.12", | ||
"@angular/router": ">=9.1.12", | ||
"rxjs": "^6.5.4", | ||
"tslib": "^1.10.0", | ||
"zone.js": "^0.10.2" | ||
"@angular/core": ">=9.1.12" | ||
}, | ||
"devDependencies": { | ||
"@angular-devkit/build-angular": ">=0.901.12", | ||
"@angular-devkit/build-ng-packagr": ">=0.901.12", | ||
"@angular/cli": ">=9.1.12", | ||
"@angular/compiler-cli": ">=9.1.12", | ||
"@types/jasmine": "^3.5.0", | ||
"@types/jasminewd2": "^2.0.3", | ||
"@types/node": ">=12.11.1", | ||
"codelyzer": ">=5.1.2", | ||
"husky": "^4.2.5", | ||
"jasmine-core": "^3.5.0", | ||
"jasmine-spec-reporter": ">=4.2.1", | ||
"karma": "^5.0.0", | ||
"karma-chrome-launcher": "~3.1.0", | ||
"karma-coverage-istanbul-reporter": ">=2.1.0", | ||
"karma-jasmine": ">=3.0.1", | ||
"karma-jasmine-html-reporter": "^1.4.2", | ||
"ng-packagr": ">=9.0.0", | ||
"npm-install-peers": "^1.2.1", | ||
"protractor": "~7.0.0", | ||
"standard-version": ">=8.0.2", | ||
"ts-node": ">=8.3.0", | ||
"tslint": "~6.1.0", | ||
"typescript": ">=3.8.3" | ||
"dependencies": { | ||
"mqtt": "4.2.1", | ||
"tslib": ">=1.10.0" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "npm run typecheck" | ||
} | ||
}, | ||
"standard-version": { | ||
"scripts": { | ||
"postbump": "node scripts/syncVersions.js && git add **/package.json" | ||
} | ||
} | ||
"main": "bundles/ngx-mqtt.umd.js", | ||
"module": "fesm2015/ngx-mqtt.js", | ||
"es2015": "fesm2015/ngx-mqtt.js", | ||
"esm2015": "esm2015/ngx-mqtt.js", | ||
"fesm2015": "fesm2015/ngx-mqtt.js", | ||
"typings": "ngx-mqtt.d.ts", | ||
"metadata": "ngx-mqtt.metadata.json", | ||
"sideEffects": false | ||
} |
@@ -11,21 +11,2 @@ # ngx-mqtt [![npm](https://img.shields.io/npm/v/ngx-mqtt.svg)](https://www.npmjs.com/package/ngx-mqtt) [![Travis](https://img.shields.io/travis/sclausen/ngx-mqtt.svg)](https://travis-ci.org/sclausen/ngx-mqtt) | ||
## **ngx-mqtt >= 7 is only compatible with angular >= 9** | ||
## Local development | ||
For local development all peer dependency automatically installed during install. | ||
Also please be aware that exact MQTT version used as dependency, you need to manually bump it if it will update. | ||
## Publish new version | ||
To follow semver helper scripts was added `npm run release:patch` etc. | ||
Those commands will autoupdate changelog and dependant package.json's | ||
Unfortunately command `npm publish` is broken due to nature of ng-packager. | ||
It's substituted with `npm run publish`, which will correctly build and publish production build | ||
## Webpack shimming | ||
ngx-mqtt depends on mqtt package which uses node globals. | ||
In order to make it run inside browser it includes a postinstall script which patches Angular webpack config of the project it was imported into. | ||
To disable this, you have to set `MQTT_DISABLE_HOOK` environmental variable while installing this package. | ||
`MQTT_DISABLE_HOOK=true npm i` | ||
## **ngx-mqtt >= 6 is only compatible with angular >= 6** |
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
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
189916
4
0
1482
1
20
1
2
2
12
+ Addedmqtt@4.2.1
+ Addedtslib@>=1.10.0
+ Added@angular/common@19.1.4(transitive)
+ Added@angular/core@19.1.4(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbase64-js@1.5.1(transitive)
+ Addedbl@4.1.0(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedbuffer@5.7.1(transitive)
+ Addedbuffer-from@1.1.2(transitive)
+ Addedcallback-stream@1.1.0(transitive)
+ Addedcommist@1.1.0(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addedconcat-stream@1.6.2(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addedd@1.0.2(transitive)
+ Addeddebug@4.4.0(transitive)
+ Addedduplexify@3.7.1(transitive)
+ Addedend-of-stream@1.4.4(transitive)
+ Addedes5-ext@0.10.64(transitive)
+ Addedes6-iterator@2.0.3(transitive)
+ Addedes6-map@0.1.5(transitive)
+ Addedes6-set@0.1.6(transitive)
+ Addedes6-symbol@3.1.4(transitive)
+ Addedesniff@2.0.1(transitive)
+ Addedevent-emitter@0.3.5(transitive)
+ Addedext@1.7.0(transitive)
+ Addedextend@3.0.2(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedglob@7.2.3(transitive)
+ Addedglob-parent@3.1.0(transitive)
+ Addedglob-stream@6.1.0(transitive)
+ Addedhelp-me@1.1.0(transitive)
+ Addedieee754@1.2.1(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-absolute@1.0.0(transitive)
+ Addedis-extglob@2.1.1(transitive)
+ Addedis-glob@3.1.0(transitive)
+ Addedis-negated-glob@1.0.0(transitive)
+ Addedis-relative@1.0.0(transitive)
+ Addedis-unc-path@1.0.0(transitive)
+ Addedis-windows@1.0.2(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedjson-stable-stringify-without-jsonify@1.0.1(transitive)
+ Addedleven@2.1.0(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmqtt@4.2.1(transitive)
+ Addedmqtt-packet@6.10.0(transitive)
+ Addedms@2.1.3(transitive)
+ Addednext-tick@1.1.0(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedordered-read-streams@1.0.1(transitive)
+ Addedpath-dirname@1.0.2(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedpump@2.0.13.0.2(transitive)
+ Addedpumpify@1.5.1(transitive)
+ Addedreadable-stream@2.3.83.6.2(transitive)
+ Addedreinterval@1.1.0(transitive)
+ Addedremove-trailing-separator@1.1.0(transitive)
+ Addedrxjs@7.8.1(transitive)
+ Addedsafe-buffer@5.1.25.2.1(transitive)
+ Addedsplit2@3.2.2(transitive)
+ Addedstream-shift@1.0.3(transitive)
+ Addedstring_decoder@1.1.11.3.0(transitive)
+ Addedthrough2@2.0.54.0.2(transitive)
+ Addedthrough2-filter@3.1.0(transitive)
+ Addedto-absolute-glob@2.0.2(transitive)
+ Addedtype@2.7.3(transitive)
+ Addedtypedarray@0.0.6(transitive)
+ Addedunc-path-regex@0.1.2(transitive)
+ Addedunique-stream@2.3.1(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedwrappy@1.0.2(transitive)
+ Addedws@7.5.10(transitive)
+ Addedxtend@4.0.2(transitive)
- Removed@angular/animations@19.1.5(transitive)
- Removed@angular/common@19.1.5(transitive)
- Removed@angular/compiler@19.1.5(transitive)
- Removed@angular/core@19.1.5(transitive)
- Removed@angular/forms@19.1.5(transitive)
- Removed@angular/platform-browser@19.1.5(transitive)
- Removed@angular/platform-browser-dynamic@19.1.5(transitive)
- Removed@angular/router@19.1.5(transitive)
- Removedrxjs@6.6.7(transitive)
- Removedtslib@1.14.1(transitive)
- Removedzone.js@0.10.3(transitive)