Socket
Socket
Sign inDemoInstall

set-value

Package Overview
Dependencies
6
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

5

index.js

@@ -11,2 +11,3 @@ /*!

var isObject = require('isobject');
var nc = require('noncharacters');
var get = require('get-value');

@@ -61,7 +62,7 @@

function escape(str) {
return str.split('\\.').join('__DOT__');
return str.split('\\.').join(nc[1]);
}
function unescape(str) {
return str.split('__DOT__').join('.');
return str.split(nc[1]).join('.');
}

7

package.json
{
"name": "set-value",
"description": "Create nested values and any intermediaries dot notation (`'a.b.c'`) paths.",
"version": "0.1.0",
"version": "0.1.1",
"homepage": "https://github.com/jonschlinkert/set-value",

@@ -33,3 +33,4 @@ "author": {

"get-value": "^1.1.1",
"isobject": "^1.0.0"
"isobject": "^1.0.0",
"noncharacters": "^1.1.0"
},

@@ -57,2 +58,2 @@ "devDependencies": {

]
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc