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

baselines

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baselines - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

8

lib/index.js

@@ -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": {

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