jcampconverter
Advanced tools
Comparing version 8.0.2 to 8.1.0
# 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 @@ |
@@ -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; |
{ | ||
"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; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
95304
2242