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

mql2

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mql2 - npm Package Compare versions

Comparing version 0.1.15 to 0.1.16

12

mql.js

@@ -110,7 +110,15 @@ import {

var [strs3, tails3] = tail();
strs2.splice(k+1, 0, strs3.map(str => str.replace(/\n/g, '\n' + spaces)));
var maped = strs3.map(str => str.replace(/\n/g, '\n' + spaces));
const splited = strs2[k].split('\n');
if (!last(splited).trim()) {
splited[splited.length-1] = maped[0].substr(1);
strs2[k] = splited.join('\n');
maped = maped.slice(1);
}
strs2.splice(k+1, 0, maped);
return tails3;
});
return [flatten(strs2), flatten(tails2)];
return [flatten(strs2).filter(str => str.trim()), flatten(tails2)];
}

@@ -117,0 +125,0 @@

2

package.json
{
"name": "mql2",
"version": "0.1.15",
"version": "0.1.16",
"description": "query builder",

@@ -5,0 +5,0 @@ "main": "index.js",

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