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

ngx-mqtt

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-mqtt - npm Package Compare versions

Comparing version 8.0.0 to 8.0.1

bundles/ngx-mqtt.umd.js

98

package.json
{
"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**
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