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

jcampconverter

Package Overview
Dependencies
Maintainers
6
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.11.0 to 3.0.0

2

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

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

@@ -308,3 +308,10 @@ 'use strict';

if (dataLabel.match(options.keepRecordsRegExp)) {
result.info[dataLabel] = dataValue.trim();
if (result.info[dataLabel]) {
if (!Array.isArray(result.info[dataLabel])) {
result.info[dataLabel] = [result.info[dataLabel]];
}
result.info[dataLabel].push(dataValue.trim());
} else {
result.info[dataLabel] = dataValue.trim();
}
}

@@ -311,0 +318,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