🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

peptide

Package Overview
Dependencies
Maintainers
2
Versions
44
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

to
2.1.1

3

lib/index.js

@@ -429,3 +429,2 @@ 'use strict';

function chargePeptide(mf, options = {}) {
if (options.pH === undefined) options.pH = 0;
if (Array.isArray(mf)) {

@@ -442,3 +441,3 @@ for (let i = 0; i < mf.length; i++) {

function chargeOnePeptide(mf, options) {
let pH = options.pH;
const { pH = 0 } = options;
// we will allow to charge the peptide at a specific pH

@@ -445,0 +444,0 @@

{
"name": "peptide",
"version": "2.1.0",
"version": "2.1.1",
"description": "Peptide",

@@ -26,3 +26,3 @@ "keywords": [

],
"gitHead": "5c97fecfd23faf2cc4120ce5e22f0c85b8e734b1"
"gitHead": "3300321a615311f64760cb500afac49f1f0f7d23"
}

@@ -6,3 +6,2 @@ import { getAA } from './getAA';

export function chargePeptide(mf, options = {}) {
if (options.pH === undefined) options.pH = 0;
if (Array.isArray(mf)) {

@@ -19,3 +18,3 @@ for (let i = 0; i < mf.length; i++) {

function chargeOnePeptide(mf, options) {
let pH = options.pH;
const { pH = 0 } = options;
// we will allow to charge the peptide at a specific pH

@@ -22,0 +21,0 @@