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

jcampconverter

Package Overview
Dependencies
Maintainers
4
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jcampconverter - npm Package Compare versions

Comparing version 2.5.0 to 2.5.1

2

package.json
{
"name": "jcampconverter",
"version": "2.5.0",
"version": "2.5.1",
"description": "Parse and convert JCAMP data",

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

@@ -276,3 +276,3 @@ 'use strict';

if (result.twoD) {
if (result.twoD && wantXY) {
add2D(result, options);

@@ -293,3 +293,3 @@ if (result.profiling) result.profiling.push({

if (options.xy) { // the spectraData should not be a oneD array but an object with x and y
if (options.xy && wantXY) { // the spectraData should not be a oneD array but an object with x and y
if (spectra.length > 0) {

@@ -319,3 +319,3 @@ for (var i = 0; i < spectra.length; i++) {

// maybe it is a GC (HPLC) / MS. In this case we add a new format
if (isGCMS) {
if (isGCMS && wantXY) {
if (options.newGCMS) {

@@ -322,0 +322,0 @@ addNewGCMS(result);

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