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

nyks

Package Overview
Dependencies
Maintainers
3
Versions
254
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

to
6.7.2

2

package.json
{
"name": "nyks",
"version": "6.7.0",
"version": "6.7.2",
"description": "nodejs exupery style",

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

"use strict";
const startsWith = require('mout/string/startsWith');
const isArray = require('mout/lang/isArray');
const startsWith = require('mout/string/startsWith');
const isArray = require('mout/lang/isArray');
const binaryReviver = require('../lang/binaryReviver');
const JSON_ARGS = new RegExp("::json$");
const B64_ARGS = new RegExp("::base64$");
const JSONB_ARGS = new RegExp("::jsonb$");
const JSON_ARGS = new RegExp("::json$");
const B64_ARGS = new RegExp("::base64$");

@@ -45,3 +47,8 @@ module.exports = function(argv) {

if(JSONB_ARGS.test(k)) {
k = k.substr(0, k.length - 7);
v = JSON.parse(v, binaryReviver);
}
if(typeof v === 'string' && v !== '' && isFinite(v)) //mout isFinite force parseFloat

@@ -48,0 +55,0 @@ v = parseFloat(v);