nats-hemera
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -13,5 +13,3 @@ // | ||
_ = require('lodash'), | ||
Crypto = require('crypto'), | ||
SafeStringify = require('fast-safe-stringify'), | ||
Parse = require('fast-json-parse') | ||
Crypto = require('crypto') | ||
@@ -64,26 +62,2 @@ /** | ||
/** | ||
* @static | ||
* @param {any} msg | ||
* @returns | ||
* | ||
* @memberOf Util | ||
*/ | ||
static parseJSON(msg) { | ||
return Parse(msg) | ||
} | ||
/** | ||
* @static | ||
* @param {any} msg | ||
* @returns | ||
* | ||
* @memberOf Util | ||
*/ | ||
static stringifyJSON(msg) { | ||
return SafeStringify(msg) | ||
} | ||
/** | ||
* @param {any} args | ||
@@ -90,0 +64,0 @@ * @returns |
{ | ||
"name": "nats-hemera", | ||
"author": "Dustin Deus (https://github.com/StarpTech)", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"main": "index.js", | ||
@@ -39,2 +39,3 @@ "homepage": "https://hemerajs.github.io/hemera/", | ||
"build": "flow-remove-types --pretty lib/ --out-dir build/", | ||
"postinstall": "npm run build", | ||
"prepublish": "npm run flow && npm run build", | ||
@@ -41,0 +42,0 @@ "lint": "eslint --ext .js lib" |
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
82504
963
1