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 8.0.2 to 8.1.0

7

CHANGELOG.md
# Changelog
## [8.1.0](https://www.github.com/cheminfo/jcampconverter/compare/v8.0.2...v8.1.0) (2021-05-05)
### Features
* remove the cheminfo hack that was parsing cheminfo meta ([1fe8dd5](https://www.github.com/cheminfo/jcampconverter/commit/1fe8dd51c97a98c65818c4f4af712d6c377969e0))
### [8.0.2](https://www.github.com/cheminfo/jcampconverter/compare/v8.0.1...v8.0.2) (2021-04-28)

@@ -4,0 +11,0 @@

11

lib/index.js

@@ -800,13 +800,2 @@ 'use strict';

}
for (let key in entry.meta) {
if (key.toLowerCase() === 'cheminfo') {
try {
let parsed = JSON.parse(entry.meta[key]);
delete entry.meta[key];
entry.meta.cheminfo = parsed;
} catch (e) {
//do nothing
}
}
}

@@ -813,0 +802,0 @@ delete entry.tmp;

6

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

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

"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.13.8",
"@babel/plugin-transform-modules-commonjs": "^7.14.0",
"@types/jest": "^26.0.23",

@@ -63,3 +63,3 @@ "benchmark": "^2.1.4",

"prettier": "^2.2.1",
"rollup": "^2.45.2"
"rollup": "^2.47.0"
},

@@ -66,0 +66,0 @@ "dependencies": {

@@ -45,13 +45,2 @@ import add2D from './2d/add2D';

}
for (let key in entry.meta) {
if (key.toLowerCase() === 'cheminfo') {
try {
let parsed = JSON.parse(entry.meta[key]);
delete entry.meta[key];
entry.meta.cheminfo = parsed;
} catch (e) {
//do nothing
}
}
}

@@ -58,0 +47,0 @@ delete entry.tmp;

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