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.4 to 3.2.5

6

lib/index.js

@@ -254,3 +254,7 @@ 'use strict';

for (var massSpectrum of massSpectra) {
bpc.push(max(massSpectrum[1]));
if (massSpectrum[1].length > 0) {
bpc.push(max(massSpectrum[1]));
} else {
bpc.push(0);
}
}

@@ -257,0 +261,0 @@

4

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

@@ -46,3 +46,3 @@ "main": "lib/index.js",

"documentation": "^5.3.3",
"eslint": "^4.11.0",
"eslint": "^4.12.0",
"eslint-config-cheminfo": "^1.8.0",

@@ -49,0 +49,0 @@ "eslint-plugin-no-only-tests": "^2.0.0",

@@ -16,3 +16,7 @@ import max from 'ml-array-max';

for (var massSpectrum of massSpectra) {
bpc.push(max(massSpectrum[1]));
if (massSpectrum[1].length > 0) {
bpc.push(max(massSpectrum[1]));
} else {
bpc.push(0);
}
}

@@ -19,0 +23,0 @@

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