Skip to content

Commit

Permalink
[Dev Deps] update @ljharb/eslint-config, tape
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jan 31, 2020
1 parent 87624cf commit c1814a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"which-collection": "^1.0.1"
},
"devDependencies": {
"@ljharb/eslint-config": "^15.1.0",
"@ljharb/eslint-config": "^16.0.0",
"auto-changelog": "^1.16.2",
"eslint": "^6.8.0",
"has-symbols": "^1.0.1",
Expand All @@ -52,7 +52,7 @@
"object.getownpropertydescriptors": "^2.1.0",
"safe-publish-latest": "^1.1.4",
"semver": "^6.3.0",
"tape": "^4.12.1"
"tape": "^5.0.0-next.4"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions test/cmp.js
Original file line number Diff line number Diff line change
Expand Up @@ -643,15 +643,15 @@ test('[[Prototypes]]', function (t) {
var d1 = new Date(0);
var d2 = new Date(0);

t.deepEqualTest(d1, d2, 'two dates with the same timestamp', true, true);
st.deepEqualTest(d1, d2, 'two dates with the same timestamp', true, true);

var newProto = {
__proto__: Date.prototype
};
d2.__proto__ = newProto; // eslint-disable-line no-proto
st.ok(d2 instanceof Date, 'd2 is still a Date instance after tweaking [[Prototype]]');

t.deepEqualTest(d1, d2, 'two dates with the same timestamp and different [[Prototype]]', true, false);
st.deepEqualTest(d1, d2, 'two dates with the same timestamp and different [[Prototype]]', true, false);

st.end();
});
Expand Down

0 comments on commit c1814a1

Please sign in to comment.