Comparing version 1.1.0 to 1.1.1
@@ -41,5 +41,5 @@ 'use strict'; | ||
if (!x) { | ||
x = sequentialFill__default['default']({ from: 0, to: numberPoints - 1, size: numberPoints }); | ||
x = sequentialFill__default["default"]({ from: 0, to: numberPoints - 1, size: numberPoints }); | ||
} | ||
let output = airpls__default['default'](x, ys, regressionOptions); | ||
let output = airpls__default["default"](x, ys, regressionOptions); | ||
@@ -75,6 +75,6 @@ return { baseline: output.baseline, correctedSpectrum: output.corrected }; | ||
if (!x) { | ||
x = sequentialFill__default['default']({ from: 0, to: numberPoints - 1, size: numberPoints }); | ||
x = sequentialFill__default["default"]({ from: 0, to: numberPoints - 1, size: numberPoints }); | ||
} | ||
let output = baselineCorrection__default['default'](x, ys, regressionOptions); | ||
let output = baselineCorrection__default["default"](x, ys, regressionOptions); | ||
@@ -81,0 +81,0 @@ return { baseline: output.baseline, correctedSpectrum: output.corrected }; |
{ | ||
"name": "baselines", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "baselines provides a collection of baseline correction methods.", | ||
@@ -15,3 +15,5 @@ "main": "lib/index.js", | ||
"prepublishOnly": "rollup -c", | ||
"test": "npm run test-coverage && npm run eslint", | ||
"prettier": "prettier --check src", | ||
"prettier-write": "prettier --write src", | ||
"test": "npm run test-coverage && npm run eslint && npm run prettier", | ||
"test-coverage": "jest --coverage", | ||
@@ -43,17 +45,17 @@ "test-only": "jest", | ||
"devDependencies": { | ||
"@babel/plugin-transform-modules-commonjs": "^7.13.8", | ||
"@types/jest": "^26.0.22", | ||
"cheminfo-build": "^1.1.10", | ||
"eslint": "^7.24.0", | ||
"eslint-config-cheminfo": "^5.2.3", | ||
"jest": "^26.6.3", | ||
"prettier": "^2.2.1", | ||
"rollup": "^2.45.2" | ||
"@babel/plugin-transform-modules-commonjs": "^7.16.5", | ||
"@types/jest": "^27.0.3", | ||
"cheminfo-build": "^1.1.11", | ||
"eslint": "^8.4.1", | ||
"eslint-config-cheminfo": "^7.2.1", | ||
"jest": "^27.4.5", | ||
"prettier": "^2.5.1", | ||
"rollup": "^2.61.1" | ||
}, | ||
"dependencies": { | ||
"ml-airpls": "^1.0.0", | ||
"ml-array-sequential-fill": "^1.1.6", | ||
"ml-array-sequential-fill": "^1.1.7", | ||
"ml-baseline-correction-regression": "^1.0.0", | ||
"ml-rolling-ball-baseline": "^1.0.0", | ||
"ml-spectra-processing": "^5.9.0" | ||
"ml-spectra-processing": "^8.0.3" | ||
}, | ||
@@ -60,0 +62,0 @@ "info": { |
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
19561
10
+ Addedcheminfo-types@0.9.1(transitive)
+ Addedml-spectra-processing@8.3.1(transitive)
- Removedassign-deep@1.0.1(transitive)
- Removedassign-symbols@2.0.2(transitive)
- Removedcheminfo-types@0.5.0(transitive)
- Removedis-any-array@1.0.1(transitive)
- Removedml-gsd@6.9.2(transitive)
- Removedml-levenberg-marquardt@3.1.1(transitive)
- Removedml-peak-shape-generator@1.0.02.0.2(transitive)
- Removedml-savitzky-golay-generalized@2.0.3(transitive)
- Removedml-spectra-fitting@1.0.0(transitive)
- Removedml-spectra-processing@5.10.06.8.0(transitive)
Updatedml-spectra-processing@^8.0.3