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

obj-case

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

obj-case - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

2

component.json

@@ -5,3 +5,3 @@ {

"description": "Work with objects of different cased keys",
"version": "0.0.8",
"version": "0.0.9",
"keywords": [],

@@ -8,0 +8,0 @@ "dependencies": {

0.0.9 / 2014-08-30
==================
* Merge pull request #5 from segmentio/fix/test
* work on blank objects
0.0.8 / 2014-08-29

@@ -3,0 +9,0 @@ ==================

@@ -97,2 +97,4 @@

if (!key) return;
// the `obj` and `key` is one above the leaf object and key, so

@@ -99,0 +101,0 @@ // start object: { a: { 'b.c': 10 } }

{
"name": "obj-case",
"version": "0.0.8",
"version": "0.0.9",
"description": "Work with objects of different cased keys",

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

@@ -38,2 +38,7 @@

it('should work on blank objects', function () {
var obj = {};
expect(objCase(obj, 'a.b.c')).to.eql(undefined);
});
describe('casing', function(){

@@ -40,0 +45,0 @@ it('should find crazy looking paths', function () {

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