ml-baseline-correction-regression
Advanced tools
Comparing version 0.3.0 to 1.0.0
@@ -0,1 +1,3 @@ | ||
## [1.0.0](https://github.com/mljs/baseline-correction-regression/compare/v0.3.0...v1.0.0) (2021-03-24) | ||
# [0.3.0](https://github.com/mljs/baseline-correction-regression/compare/v0.2.0...v0.3.0) (2020-02-08) | ||
@@ -2,0 +4,0 @@ |
@@ -5,6 +5,8 @@ 'use strict'; | ||
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var PolynomialRegression = require('ml-regression-polynomial'); | ||
var PolynomialRegression = _interopDefault(require('ml-regression-polynomial')); | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var PolynomialRegression__default = /*#__PURE__*/_interopDefaultLegacy(PolynomialRegression); | ||
/** | ||
@@ -24,3 +26,3 @@ * Iterative regression-based baseline correction | ||
maxIterations = 100, | ||
Regression = PolynomialRegression, | ||
Regression = PolynomialRegression__default['default'], | ||
regressionOptions, | ||
@@ -30,3 +32,3 @@ tolerance = 0.001, | ||
if (!regressionOptions && Regression === PolynomialRegression) { | ||
if (!regressionOptions && Regression === PolynomialRegression__default['default']) { | ||
regressionOptions = 3; | ||
@@ -33,0 +35,0 @@ } |
{ | ||
"name": "ml-baseline-correction-regression", | ||
"version": "0.3.0", | ||
"version": "1.0.0", | ||
"description": "Iterative regression based baseline correction", | ||
@@ -14,6 +14,6 @@ "main": "lib/index.js", | ||
"eslint-fix": "npm run eslint -- --fix", | ||
"prepublish": "rollup -c", | ||
"test": "run-s testonly eslint", | ||
"test-travis": "jest --coverage && codecov", | ||
"testonly": "jest" | ||
"prepublishOnly": "rollup -c", | ||
"test": "npm run test-coverage && npm run eslint", | ||
"test-coverage": "jest --coverage", | ||
"test-only": "jest" | ||
}, | ||
@@ -35,14 +35,8 @@ "repository": { | ||
"devDependencies": { | ||
"@babel/plugin-transform-modules-commonjs": "^7.8.3", | ||
"codecov": "^3.6.4", | ||
"eslint": "^6.8.0", | ||
"eslint-config-cheminfo": "^2.0.4", | ||
"eslint-plugin-import": "^2.20.1", | ||
"eslint-plugin-jest": "^23.6.0", | ||
"eslint-plugin-no-only-tests": "^2.4.0", | ||
"eslint-plugin-prettier": "^3.1.2", | ||
"jest": "^25.1.0", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^1.19.1", | ||
"rollup": "^1.31.0" | ||
"@babel/plugin-transform-modules-commonjs": "^7.13.8", | ||
"eslint": "^7.22.0", | ||
"eslint-config-cheminfo": "^5.2.3", | ||
"jest": "^26.6.3", | ||
"prettier": "^2.2.1", | ||
"rollup": "^2.42.3" | ||
}, | ||
@@ -49,0 +43,0 @@ "dependencies": { |
# baseline-correction-regression | ||
[![NPM version][npm-image]][npm-url] | ||
[![build status][travis-image]][travis-url] | ||
[![Test coverage][codecov-image]][codecov-url] | ||
[![David deps][david-image]][david-url] | ||
[![npm download][download-image]][download-url] | ||
[![NPM version][npm-image]][npm-url] | ||
[![build status][ci-image]][ci-url] | ||
[![Test coverage][codecov-image]][codecov-url] | ||
[![npm download][download-image]][download-url] | ||
@@ -15,3 +14,3 @@ Iterative regression-based baseline correction. | ||
`$ npm install --save ml-baseline-correction-regression` | ||
`$ npm i ml-baseline-correction-regression` | ||
@@ -34,11 +33,9 @@ ## Usage | ||
[npm-image]: https://img.shields.io/npm/v/ml-baseline-correction-regression.svg?style=flat-square | ||
[npm-image]: https://img.shields.io/npm/v/ml-baseline-correction-regression.svg | ||
[npm-url]: https://npmjs.org/package/ml-baseline-correction-regression | ||
[travis-image]: https://img.shields.io/travis/mljs/baseline-correction-regression/master.svg?style=flat-square | ||
[travis-url]: https://travis-ci.org/mljs/baseline-correction-regression | ||
[codecov-image]: https://img.shields.io/codecov/c/github/mljs/baseline-correction-regression.svg?style=flat-square | ||
[codecov-image]: https://img.shields.io/codecov/c/github/mljs/baseline-correction-regression.svg | ||
[codecov-url]: https://codecov.io/gh/mljs/baseline-correction-regression | ||
[david-image]: https://img.shields.io/david/mljs/baseline-correction-regression.svg?style=flat-square | ||
[david-url]: https://david-dm.org/mljs/baseline-correction-regression | ||
[download-image]: https://img.shields.io/npm/dm/ml-baseline-correction-regression.svg?style=flat-square | ||
[ci-image]: https://github.com/mljs/baseline-correction-regression/workflows/Node.js%20CI/badge.svg?branch=master | ||
[ci-url]: https://github.com/mljs/baseline-correction-regression/actions?query=workflow%3A%22Node.js+CI%22 | ||
[download-image]: https://img.shields.io/npm/dm/ml-baseline-correction-regression.svg | ||
[download-url]: https://npmjs.org/package/ml-baseline-correction-regression |
@@ -0,0 +0,0 @@ import PolynomialRegression from 'ml-regression-polynomial'; |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
6
0
9261
6
125
40
1