Comparing version 0.2.0 to 0.2.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14205
3
9
1