Skip to content

Commit

Permalink
[Dev Deps] update eslint, @ljharb/eslint-config, covert, `repla…
Browse files Browse the repository at this point in the history
…ce`, `semver`, `tape`
  • Loading branch information
ljharb committed Jul 23, 2019
1 parent bb00b15 commit fcbc11d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions package.json
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions test/index.js
Expand Up @@ -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();
});

Expand Down
4 changes: 2 additions & 2 deletions test/shimmed.js
Expand Up @@ -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();
});

Expand Down

0 comments on commit fcbc11d

Please sign in to comment.