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

chromatography

Package Overview
Dependencies
Maintainers
5
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chromatography - npm Package Compare versions

Comparing version 3.2.0 to 3.2.1

7

lib/index.js

@@ -1002,3 +1002,8 @@ 'use strict';

function applyFilter$1(serie, percentage) {
var basePeak = max(serie[1]);
var basePeak;
try {
basePeak = max(serie[1]);
} catch (e) {
basePeak = 0;
}
var filtered = [[], []];

@@ -1005,0 +1010,0 @@ for (var i = 0; i < serie[0].length; i++) {

2

package.json
{
"name": "chromatography",
"version": "3.2.0",
"version": "3.2.1",
"description": "Tools for storing, search and analize GC/MS spectra",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -20,3 +20,8 @@ import arrayMax from 'ml-array-max';

function applyFilter(serie, percentage) {
var basePeak = arrayMax(serie[1]);
var basePeak;
try {
basePeak = arrayMax(serie[1]);
} catch (e) {
basePeak = 0;
}
var filtered = [[], []];

@@ -23,0 +28,0 @@ for (var i = 0; i < serie[0].length; i++) {

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