Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "z-score", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "", | ||
"main": "lib/ZScore.js", | ||
"main": "dist/ZScore.js", | ||
"scripts": { | ||
"test": "mocha --compilers js:babel-core/register --colors ./test/*.js", | ||
"build:minified": "WEBPACK_ENV=build webpack", | ||
"build": "webpack", | ||
"watch": "mocha --compilers js:babel-core/register --colors -w ./test/*.js" | ||
"test": "mocha --compilers js:babel-register --colors ./test/*.js", | ||
"watch": "mocha --compilers js:babel-register --colors -w ./test/*.js", | ||
"build": "babel src --presets babel-preset-es2015 --out-dir dist", | ||
"prepublish": "npm run build" | ||
}, | ||
@@ -15,12 +15,12 @@ "author": "Jaakko Ojalehto", | ||
"babel": "^6.5.2", | ||
"babel-cli": "^6.7.5", | ||
"babel-core": "^6.7.6", | ||
"babel-eslint": "^6.0.2", | ||
"babel-loader": "^6.2.4", | ||
"babel-plugin-add-module-exports": "^0.1.2", | ||
"babel-preset-es2015": "^6.6.0", | ||
"babel-register": "^6.7.2", | ||
"chai": "^3.5.0", | ||
"eslint": "^2.7.0", | ||
"eslint-loader": "^1.3.0", | ||
"mocha": "^2.4.5", | ||
"webpack": "^1.12.15" | ||
"mocha": "^2.4.5" | ||
}, | ||
@@ -27,0 +27,0 @@ "dependencies": { |
@@ -7,2 +7,3 @@ # Z-Score | ||
```npm install z-score``` | ||
@@ -12,2 +13,3 @@ ## Usage | ||
```javascript | ||
var ZScore = require('z-score').default | ||
var zScore = new ZScore() | ||
@@ -14,0 +16,0 @@ zScore.train([{ |
import { expect } from 'chai' | ||
var ZScore = require('../src/index') | ||
var ZScore = require('../dist/index').default | ||
@@ -4,0 +4,0 @@ describe('Readme example', () => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
29
1
9473
12
223
1