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

nyks

Package Overview
Dependencies
Maintainers
1
Versions
251
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nyks - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

2

package.json
{
"name": "nyks",
"version": "1.2.3",
"version": "1.2.4",
"description": "nodejs exupery style",

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

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

var startsWith = require('mout/string/startsWith');
var isFinite = require('mout/lang/isFinite');
var isArray = require('mout/lang/isArray');

@@ -25,2 +26,4 @@

if(isFinite(v))
v = parseFloat(v);

@@ -27,0 +30,0 @@ if(dict[k] !== undefined) {

"use strict";
var isFinite = require('mout/lang/isFinite');
module.exports = function(str) {

@@ -17,2 +19,6 @@ var mask = "(\\s+)|([^\\s\\\"']+)|\\\"([^\\\"]*)\\\"|'([^']*)'";

if(isFinite(value))
value = parseFloat(value);
args.push(value);

@@ -19,0 +25,0 @@ }

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

expect(splitArgs("a \"'b c'\" c d") ).to.eql(["a", "'b c'", "c", "d"]);
expect(splitArgs("a 'b c' c d") ).to.eql(["a", "b c", "c", "d"]);
expect(splitArgs("a 'b c' c d 8") ).to.eql(["a", "b c", "c", "d", 8]);
expect(splitArgs("") ).to.eql([]);

@@ -39,0 +39,0 @@

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