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

emdb

Package Overview
Dependencies
Maintainers
2
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emdb - npm Package Compare versions

Comparing version 1.4.12 to 1.4.13

10

package.json
{
"name": "emdb",
"version": "1.4.12",
"version": "1.4.13",
"description": "Database manager for exact mass query",

@@ -27,4 +27,4 @@ "main": "src/index.js",

"mf-finder": "^1.1.19",
"mf-from-google-sheet": "^1.1.20",
"mf-generator": "^1.3.8",
"mf-from-google-sheet": "^1.1.21",
"mf-generator": "^1.3.9",
"mf-matcher": "^1.1.19",

@@ -36,3 +36,3 @@ "mf-parser": "^1.4.0",

"ml-regression-theil-sen": "^2.0.0",
"ms-spectrum": "^1.4.1",
"ms-spectrum": "^1.4.2",
"nucleotide": "^1.2.14",

@@ -42,3 +42,3 @@ "peaks-similarity": "^2.3.1",

},
"gitHead": "8bb060a1741054f90e42ddbd1a3d411a91b63681"
"gitHead": "095f36ed651b5cbc026f1169ebaf4f146d6bbc29"
}

@@ -32,2 +32,27 @@ 'use strict';

it('AAKK with callback', () => {
let dbManager = new DBManager();
dbManager.fromPeptidicSequence('AAKK', {
allowNeutralLoss: false,
protonation: false,
protonationPH: 7,
ionizations: 'H+,Na+',
fragmentation: {
a: true,
},
filter: {
callback: (value) => {
return value.parts[0].includes('AlaAlaLys');
},
},
});
const peptidic = dbManager.databases.peptidic.sort(
(a, b) => a.ms.em - b.ms.em,
);
expect(peptidic).toHaveLength(4);
expect(peptidic).toMatchSnapshot();
});
it('AAKKKKKKKKKKKKKKKKKK allowNeutralLoss', () => {

@@ -34,0 +59,0 @@ let dbManager = new DBManager();

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