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

mf-parser

Package Overview
Dependencies
Maintainers
4
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mf-parser - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

6

package.json
{
"name": "mf-parser",
"version": "1.4.0",
"version": "1.4.1",
"description": "Parse a molecular formula",

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

"devDependencies": {
"jest-matcher-deep-close-to": "^2.0.1"
"jest-matcher-deep-close-to": "^3.0.2"
},
"gitHead": "b044512a459c82c7bb816c52d0e90d48b8ffeae3"
"gitHead": "3b0b2e28aa8079acba9cbd23ffb2886767badca7"
}

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

expect(new MF('C').getEA()).toMatchCloseTo(
[{ element: 'C', mass: 12.01, ratio: 1 }],
[{ element: 'C', mass: 12.011, ratio: 1 }],
3,

@@ -30,3 +30,3 @@ );

expect(new MF('C{50,50}10').getEA()).toMatchCloseTo(
[{ element: 'C', mass: 125.016, ratio: 1 }],
[{ element: 'C', mass: 125.01677, ratio: 1 }],
3,

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