New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

peptide

Package Overview
Dependencies
Maintainers
2
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

peptide - npm Package Compare versions

Comparing version 1.3.1 to 1.4.0

2

bower.json
{
"name": "peptide",
"version": "1.3.1",
"version": "1.4.0",
"description": "Peptide",

@@ -5,0 +5,0 @@ "keywords": [

{
"name": "peptide",
"version": "1.3.1",
"version": "1.4.0",
"description": "Peptide",

@@ -5,0 +5,0 @@ "keywords": [

@@ -8,2 +8,13 @@ 'use strict';

function chargePeptide(mf, options) {
if (Array.isArray(mf)) {
for (var i=0; i<mf.length; i++) {
mf[i]=chargeOnePeptide(mf[i], options);
}
return mf;
} else {
return chargeOnePeptide(mf, options);
}
}
function chargeOnePeptide(mf, options) {
var options=options || {};

@@ -10,0 +21,0 @@ if (options.pH === undefined) options.pH=0;

@@ -5,2 +5,12 @@ 'use strict';

/*
Iotuibs:
* minMissed (default: 0)
* maxMissed (default: 0)
* minResidue: 0;
* maxResidue: infinity
* enzyme: chymotrypsin, trypsin, glucph4, glucph8, thermolysin, cyanogenbromide : Mandatory, no default value !
*/
function digestSequence(sequence, options) {

@@ -7,0 +17,0 @@ var options=options || {};

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