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

mf-finder

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mf-finder - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

12

package.json
{
"name": "mf-finder",
"version": "1.1.1",
"version": "1.1.2",
"description": "Find a molecular formula from a monoisotopic mass",

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

"dependencies": {
"atom-sorter": "^1.1.1",
"chemical-elements": "^1.1.1",
"mf-parser": "^1.1.1",
"mf-utilities": "^1.1.1"
"atom-sorter": "^1.1.2",
"chemical-elements": "^1.1.2",
"mf-parser": "^1.1.2",
"mf-utilities": "^1.1.2"
},
"gitHead": "6b2d07885895d1eb6ffdbb51bbccdf15cc8d0aec"
"gitHead": "03f4aca58a117f78aaceffce4b968507cd964b74"
}
'use strict';
const atomSorter = require('atom-sorter');
const getMsInfo = require('mf-utilities/src/getMsInfo');
const preprocessIonizations = require('mf-utilities/src/preprocessIonizations');
const getMsInfo = require('mf-utilities/src/getMsInfo');
const TargetMassCache = require('./TargetMassCache');
const preprocessRanges = require('./preprocessRanges');
const TargetMassCache = require('./TargetMassCache');

@@ -20,3 +20,3 @@ /**

module.exports = function(targetMass, options = {}) {
module.exports = function (targetMass, options = {}) {
const {

@@ -23,0 +23,0 @@ minCharge = Number.MIN_SAFE_INTEGER,

'use strict';
const Kind = require('mf-parser/src/Kind');
const MF = require('mf-parser/src/MF');
const parse = require('mf-parser/src/parse');
const Kind = require('mf-parser/src/Kind');

@@ -7,0 +7,0 @@ module.exports = function preprocessRanges(ranges) {

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

TargetMassCache.prototype.getMinMass = function(charge) {
TargetMassCache.prototype.getMinMass = function (charge) {
return this.data[charge - this.minCharge]

@@ -77,3 +77,3 @@ ? this.data[charge - this.minCharge].minMass

TargetMassCache.prototype.getMaxMass = function(charge) {
TargetMassCache.prototype.getMaxMass = function (charge) {
return this.data[charge - this.minCharge]

@@ -80,0 +80,0 @@ ? this.data[charge - this.minCharge].maxMass

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