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

get-value

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-value - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

7

index.js

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

var noncharacters = require('noncharacters');
var isObject = require('isobject');

@@ -27,7 +28,5 @@

} else if (fn === true) {
// guaranteed non-characters
// See http://en.wikipedia.org/wiki/Mapping_of_Unicode_characters#Noncharacters
str = str.split('\\.').join('\uffff');
str = str.split('\\.').join(noncharacters[0]);
path = str.split('.').map(function (seg) {
return seg.split('\uffff').join('.');
return seg.split(noncharacters[0]).join('.');
});

@@ -34,0 +33,0 @@ } else {

{
"name": "get-value",
"description": "Use property paths (`a.b.c`) get a nested value from an object.",
"version": "1.0.3",
"version": "1.0.4",
"homepage": "https://github.com/jonschlinkert/get-value",

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

"dependencies": {
"isobject": "^0.2.0"
"isobject": "^0.2.0",
"noncharacters": "^1.0.0"
},

@@ -35,0 +36,0 @@ "devDependencies": {

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