Comparing version 1.0.3 to 1.0.4
@@ -118,3 +118,3 @@ const mqtt = require('mqtt'); | ||
if (typeof (msg) === 'object') { | ||
finalMsg = new Buffer.from(JSON.stringify(msg)); | ||
finalMsg = new Buffer.from(JSON.stringify(msg), 'utf8'); | ||
} | ||
@@ -121,0 +121,0 @@ |
{ | ||
"name": "mqtt-agent", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "This is a MQTT Agent", | ||
@@ -28,8 +28,5 @@ "homepage": "https://www.npmjs.com/package/mqtt-agent", | ||
"lint-staged": "^4.2.1", | ||
"mocha": "^4.1.0", | ||
"nsp": "^2.6.3", | ||
"nyc": "^11.3.0" | ||
"mocha": "^4.1.0" | ||
}, | ||
"scripts": { | ||
"prepublish": "nsp check", | ||
"test": "nyc mocha ./lib/test --recursive --exit --reporter=xunit --reporter=list --reporter-options output=./.result_tests/tests.xml" | ||
@@ -36,0 +33,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8
12179