Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ml-regression-base

Package Overview
Dependencies
Maintainers
7
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ml-regression-base - npm Package Compare versions

Comparing version 1.2.1 to 2.0.0

14

History.md

@@ -0,1 +1,15 @@

# [2.0.0](https://github.com/mljs/regression-base/compare/v1.2.1...v2.0.0) (2019-04-30)
### chore
* remove support for Node.js 6 ([d7031cd](https://github.com/mljs/regression-base/commit/d7031cd))
### BREAKING CHANGES
* Support for Node.js 6 was removed.
## [1.2.1](https://github.com/mljs/regression-base/compare/v1.2.0...v1.2.1) (2019-04-15)

@@ -2,0 +16,0 @@

4

lib/index.js

@@ -42,5 +42,5 @@ 'use strict';

} else if (Array.isArray(x)) {
const y = new Array(x.length);
const y = [];
for (let i = 0; i < x.length; i++) {
y[i] = this._predict(x[i]);
y.push(this._predict(x[i]));
}

@@ -47,0 +47,0 @@ return y;

{
"name": "ml-regression-base",
"version": "1.2.1",
"version": "2.0.0",
"description": "Base class for regression modules",
"main": "lib/index.js",
"module": "src/index.js",
"types": "regression-base.d.ts",
"sideEffects": false,
"files": [

@@ -12,5 +14,6 @@ "lib",

"scripts": {
"compile": "rollup -c",
"eslint": "eslint src",
"eslint-fix": "npm run eslint -- --fix",
"prepublish": "rollup -c",
"prepublishOnly": "npm run compile",
"test": "npm run test-coverage && npm run eslint",

@@ -36,11 +39,12 @@ "test-coverage": "jest --coverage",

"babel-jest": "^24.7.1",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"@babel/plugin-transform-modules-commonjs": "^7.4.4",
"eslint": "^5.16.0",
"eslint-config-cheminfo": "^1.20.1",
"eslint-plugin-import": "^2.17.1",
"eslint-plugin-jest": "^22.4.1",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-jest": "^22.5.1",
"eslint-plugin-no-only-tests": "^2.3.0",
"jest": "^24.7.1",
"rollup": "^1.10.0"
}
"rollup": "^1.10.1"
},
"dependencies": {}
}

@@ -15,5 +15,5 @@ export { default as maybeToPrecision } from './maybeToPrecision';

} else if (Array.isArray(x)) {
const y = new Array(x.length);
const y = [];
for (let i = 0; i < x.length; i++) {
y[i] = this._predict(x[i]);
y.push(this._predict(x[i]));
}

@@ -20,0 +20,0 @@ return y;

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