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

mf-utilities

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mf-utilities - npm Package Compare versions

Comparing version 0.6.2 to 0.6.3

6

package.json
{
"name": "mf-utilities",
"version": "0.6.2",
"version": "0.6.3",
"description": "Small utilities dealing with molecular formula",

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

"dependencies": {
"chemical-elements": "^0.6.2",
"mf-parser": "^0.6.2"
"chemical-elements": "^0.6.3",
"mf-parser": "^0.6.3"
}
}

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

forceIonization = false,
targetMass,
targetMass
} = options;

@@ -26,3 +26,3 @@

em: 0,
charge: entry.charge + realIonization.charge,
charge: entry.charge + realIonization.charge
};

@@ -37,5 +37,5 @@

result.delta = result.em - targetMass;
result.ppm = Math.abs((targetMass - result.em) / targetMass * 1e6);
result.ppm = Math.abs(((targetMass - result.em) / targetMass) * 1e6);
}
return result;
};
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