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

nucleotide

Package Overview
Dependencies
Maintainers
0
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nucleotide - npm Package Compare versions

Comparing version 3.1.7 to 3.2.0

4

lib/src/sequenceToMF.js

@@ -5,3 +5,3 @@ "use strict";

const chemical_groups_1 = require("chemical-groups");
const ensureUppercaseSequence_1 = require("./ensureUppercaseSequence");
const mf_utilities_1 = require("mf-utilities");
/**

@@ -23,3 +23,3 @@ * Convert a nucleic sequence to a MF

return '';
sequence = (0, ensureUppercaseSequence_1.ensureUppercaseSequence)(sequence);
sequence = (0, mf_utilities_1.ensureUppercaseSequence)(sequence);
// if the sequence is in lowercase but the parenthesis we should convert it to uppercase

@@ -26,0 +26,0 @@ if (sequence.match(/^[a-z]+$/)) {

@@ -24,3 +24,3 @@ {

},
"version": "3.1.7",
"version": "3.2.0",
"devDependencies": {

@@ -31,5 +31,5 @@ "mf-parser": "^3.2.5"

"chemical-groups": "^2.2.1",
"mf-utilities": "^3.2.6"
"mf-utilities": "^3.3.0"
},
"gitHead": "ead08ac8b436c6d4eb0016e938cb17a0dc5e2b06"
"gitHead": "78eda3ed5d6830f7570d3867af21af2d5345a39e"
}
import { groups } from 'chemical-groups';
import { ensureUppercaseSequence } from 'mf-utilities';
import { ensureUppercaseSequence } from './ensureUppercaseSequence';
/**

@@ -6,0 +5,0 @@ * Convert a nucleic sequence to a MF

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