Comparing version 1.1.1 to 1.1.2
{ | ||
"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 |
34557
Updatedatom-sorter@^1.1.2
Updatedchemical-elements@^1.1.2
Updatedmf-parser@^1.1.2
Updatedmf-utilities@^1.1.2