From fcbc11d4af9be65f4f7eb4aec20498c7a33a004f Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Tue, 23 Jul 2019 11:56:44 -0700 Subject: [PATCH] [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `covert`, `replace`, `semver`, `tape` --- package.json | 12 ++++++------ test/index.js | 4 ++-- test/shimmed.js | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 1ed5aab..366fe58 100644 --- a/package.json +++ b/package.json @@ -46,12 +46,12 @@ }, "devDependencies": { "@es-shims/api": "^2.1.2", - "@ljharb/eslint-config": "^6.0.0", - "covert": "^1.1.0", - "eslint": "^3.0.1", - "replace": "^0.3.0", - "semver": "^5.2.0", - "tape": "^4.6.0" + "@ljharb/eslint-config": "^13.1.1", + "covert": "^1.1.1", + "eslint": "^5.16.0", + "replace": "^1.1.0", + "semver": "^6.2.0", + "tape": "^4.11.0" }, "testling": { "files": "test/index.js", diff --git a/test/index.js b/test/index.js index a735984..cc90851 100644 --- a/test/index.js +++ b/test/index.js @@ -6,8 +6,8 @@ var runTests = require('./tests'); test('as a function', function (t) { t.test('bad array/this value', function (st) { - st.throws(function () { trim(undefined, 'a'); }, TypeError, 'undefined is not an object'); - st.throws(function () { trim(null, 'a'); }, TypeError, 'null is not an object'); + st['throws'](function () { trim(undefined, 'a'); }, TypeError, 'undefined is not an object'); + st['throws'](function () { trim(null, 'a'); }, TypeError, 'null is not an object'); st.end(); }); diff --git a/test/shimmed.js b/test/shimmed.js index 95d9b2d..2c91025 100644 --- a/test/shimmed.js +++ b/test/shimmed.js @@ -26,8 +26,8 @@ test('shimmed', function (t) { var supportsStrictMode = (function () { return typeof this === 'undefined'; }()); t.test('bad string/this value', { skip: !supportsStrictMode }, function (st) { - st.throws(function () { return trim(undefined, 'a'); }, TypeError, 'undefined is not an object'); - st.throws(function () { return trim(null, 'a'); }, TypeError, 'null is not an object'); + st['throws'](function () { return trim(undefined, 'a'); }, TypeError, 'undefined is not an object'); + st['throws'](function () { return trim(null, 'a'); }, TypeError, 'null is not an object'); st.end(); });