Skip to content

Commit b2f942c

Browse files
committed
1.0.2
+ Prototype Pollution fix + dependencies are up to date
1 parent 102cc6b commit b2f942c

File tree

5 files changed

+884
-924
lines changed

5 files changed

+884
-924
lines changed

Diff for: .travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
language: node_js
22
node_js:
3+
- "16"
4+
- "14"
35
- "12"
46
- "10"
57
before_script:

Diff for: main.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
'use strict';
22

3-
/* eslint-disable no-continue */
3+
/* eslint-disable no-continue, eqeqeq */
44

55
const isObject = (val) => typeof val === 'object' || typeof val === 'function';
6-
const isProto = (val, obj) => val === '__proto__' || (val === 'constructor' && typeof obj.constructor === 'function');
6+
const isProto = (val, obj) => val == '__proto__' || (val == 'constructor' && typeof obj.constructor === 'function');
77
const set = (obj, parts, length, val) => {
88
let tmp = obj;
99
let i = 0;

0 commit comments

Comments
 (0)