Socket
Socket
Sign inDemoInstall

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.2.0 to 0.2.1

2

component.json

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

"description": "Work with objects of different cased keys",
"version": "0.2.0",
"version": "0.2.1",
"keywords": [],

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

@@ -0,1 +1,4 @@

0.2.1 / 2015-02-25
==================
* Fix leaking global

@@ -2,0 +5,0 @@ 0.2.0 / 2014-12-15

@@ -39,3 +39,3 @@

return function (obj, path, val, options) {
normalize = options && isFunction(options.normalizer) ? options.normalizer : defaultNormalize;
var normalize = options && isFunction(options.normalizer) ? options.normalizer : defaultNormalize;
path = normalize(path);

@@ -42,0 +42,0 @@

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

@@ -23,5 +23,6 @@ "main": "index.js",

"devDependencies": {
"mocha": "~1.12.0",
"expect.js": "*"
"expect.js": "*",
"make-lint": "^1.0.1",
"mocha": "~1.12.0"
}
}
}

@@ -39,3 +39,3 @@

Replaces a nested key
Replaces a nested key's value

@@ -42,0 +42,0 @@ ```javascript

@@ -9,7 +9,7 @@

it('should be a function', function () {
objCase.find.should.be.a.Function;
expect(objCase.find).to.be.a.Function;
});
it('should be the main export', function () {
objCase.find.should.eql(objCase);
expect(objCase.find).to.be(objCase);
});

@@ -16,0 +16,0 @@

Sorry, the diff of this file is not supported yet

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