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

openchemlib-utils

Package Overview
Dependencies
Maintainers
4
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openchemlib-utils - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

src/misc/dwar/parseDwar.js

10

package.json
{
"name": "openchemlib-utils",
"version": "2.2.0",
"version": "2.3.0",
"description": "Various utilities that extends openchemlib-js like HOSE codes or diastereotopic IDs",

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

"@babel/plugin-transform-modules-commonjs": "^7.20.11",
"@types/jest": "^29.2.5",
"@types/jest": "^29.4.0",
"cheminfo-build": "^1.1.11",

@@ -40,7 +40,7 @@ "eslint": "^8.32.0",

"eslint-plugin-import": "^2.27.5",
"jest": "^29.3.1",
"jest": "^29.4.0",
"jest-matcher-deep-close-to": "^3.0.2",
"openchemlib": "8.0.0",
"openchemlib": "^8.2.0",
"prettier": "^2.8.3",
"rollup": "^3.10.0"
"rollup": "^3.10.1"
},

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

@@ -9,5 +9,5 @@ import OCL from 'openchemlib';

let svg = toDiastereotopicSVG(molecule);
expect(svg).toHaveLength(996);
expect(svg).toMatchSnapshot();
expect(svg).toHaveLength(1028);
});
});

@@ -37,3 +37,6 @@ export * from './diastereotopic/addDiastereotopicMissingChirality';

export * from './misc/toVisualizerMolfile';
export * from './misc/dwar/parseDwar';
export * from './fragment/fragmentAcyclicSingleBonds';
export * from './reaction/applyReactions.js';

@@ -25,5 +25,8 @@ let xAtomicNumber = 0;

const OCL = molecule.getOCL();
xAtomicNumber = OCL.Molecule.getAtomicNoFromLabel('X');
xAtomicNumber = OCL.Molecule.getAtomicNoFromLabel(
'X',
OCL.Molecule.cPseudoAtomX,
);
}
return xAtomicNumber;
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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