Skip to content

Commit fdb79d5

Browse files
committedAug 6, 2020
Update dependencies, refresh lockfile, format with standard.
1 parent e52185d commit fdb79d5

File tree

3 files changed

+885
-403
lines changed

3 files changed

+885
-403
lines changed
 

‎package-lock.json

+872-390
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"license": "BSD-3-Clause",
1010
"description": "Take a nested Javascript object and flatten it, or unflatten an object with delimited keys",
1111
"devDependencies": {
12-
"mocha": "~6.2.2",
13-
"standard": "^14.3.1"
12+
"mocha": "~8.1.1",
13+
"standard": "^14.3.4"
1414
},
1515
"directories": {
1616
"test": "test"

‎test/test.js

+11-11
Original file line numberDiff line numberDiff line change
@@ -533,17 +533,17 @@ suite('Unflatten', function () {
533533
}
534534

535535
test('should not pollute prototype', function () {
536-
unflatten({
537-
'__proto__.polluted': true
538-
});
539-
unflatten({
540-
'prefix.__proto__.polluted': true
541-
});
542-
unflatten({
543-
'prefix.0.__proto__.polluted': true
544-
});
545-
546-
assert.notStrictEqual({}.polluted, true);
536+
unflatten({
537+
'__proto__.polluted': true
538+
})
539+
unflatten({
540+
'prefix.__proto__.polluted': true
541+
})
542+
unflatten({
543+
'prefix.0.__proto__.polluted': true
544+
})
545+
546+
assert.notStrictEqual({}.polluted, true)
547547
})
548548
})
549549

0 commit comments

Comments
 (0)
Please sign in to comment.