object.entries
Advanced tools
Comparing version 1.0.4 to 1.1.0
@@ -0,1 +1,11 @@ | ||
1.1.0 / 2019-01-01 | ||
================= | ||
* [New] add `auto` entry point` | ||
* [meta] exclude test.html from the npm package | ||
* [Deps] update `define-properties`, `es-abstract`, `function-bind`, `has` | ||
* [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `covert`, `tape` | ||
* [Tests] up to `node` `v11.6`, `v10.15`, `v9.11`, `v8.15`, `v7.10`, `v6.16`, `v4.9`; use `nvm install-latest-npm` | ||
* [Tests] use `npm audit` instead of `nsp` | ||
* [Tests] remove `jscs` | ||
1.0.4 / 2016-12-04 | ||
@@ -2,0 +12,0 @@ ================= |
{ | ||
"name": "object.entries", | ||
"version": "1.0.4", | ||
"version": "1.1.0", | ||
"author": "Jordan Harband", | ||
@@ -11,3 +11,3 @@ "description": "ES2017 spec-compliant Object.entries shim.", | ||
"test": "npm run --silent tests-only", | ||
"posttest": "npm run --silent security", | ||
"posttest": "npm run audit", | ||
"tests-only": "es-shim-api && npm run --silent test:shimmed && npm run --silent test:module", | ||
@@ -18,6 +18,6 @@ "test:shimmed": "node test/shimmed.js", | ||
"coverage-quiet": "covert test/*.js --quiet", | ||
"lint": "npm run --silent jscs && npm run --silent eslint", | ||
"eslint": "eslint test/*.js *.js", | ||
"jscs": "jscs test/*.js *.js", | ||
"security": "nsp check" | ||
"lint": "eslint .", | ||
"preaudit": "npm install --package-lock-only --package-lock", | ||
"audit": "npm audit", | ||
"postaudit": "rm package-lock.json" | ||
}, | ||
@@ -44,16 +44,14 @@ "repository": { | ||
"dependencies": { | ||
"define-properties": "^1.1.2", | ||
"es-abstract": "^1.6.1", | ||
"has": "^1.0.1", | ||
"function-bind": "^1.1.0" | ||
"define-properties": "^1.1.3", | ||
"es-abstract": "^1.12.0", | ||
"function-bind": "^1.1.1", | ||
"has": "^1.0.3" | ||
}, | ||
"devDependencies": { | ||
"tape": "^4.6.3", | ||
"@es-shims/api": "^2.1.2", | ||
"@ljharb/eslint-config": "^13.1.1", | ||
"array-map": "^0.0.0", | ||
"covert": "^1.1.0", | ||
"jscs": "^3.0.7", | ||
"nsp": "^2.6.2", | ||
"eslint": "^3.11.1", | ||
"@ljharb/eslint-config": "^9.0.1", | ||
"@es-shims/api": "^1.2.0" | ||
"covert": "^1.1.1", | ||
"eslint": "^5.11.1", | ||
"tape": "^4.9.2" | ||
}, | ||
@@ -60,0 +58,0 @@ "testling": { |
@@ -9,4 +9,4 @@ 'use strict'; | ||
t.test('bad array/this value', function (st) { | ||
st.throws(function () { entries(undefined); }, TypeError, 'undefined is not an object'); | ||
st.throws(function () { entries(null); }, TypeError, 'null is not an object'); | ||
st['throws'](function () { entries(undefined); }, TypeError, 'undefined is not an object'); | ||
st['throws'](function () { entries(null); }, TypeError, 'null is not an object'); | ||
st.end(); | ||
@@ -13,0 +13,0 @@ }); |
@@ -28,4 +28,4 @@ 'use strict'; | ||
t.test('bad object value', { skip: !supportsStrictMode }, function (st) { | ||
st.throws(function () { return Object.entries(undefined); }, TypeError, 'undefined is not an object'); | ||
st.throws(function () { return Object.entries(null); }, TypeError, 'null is not an object'); | ||
st['throws'](function () { return Object.entries(undefined); }, TypeError, 'undefined is not an object'); | ||
st['throws'](function () { return Object.entries(null); }, TypeError, 'null is not an object'); | ||
st.end(); | ||
@@ -32,0 +32,0 @@ }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
6
21021
16
159
Updateddefine-properties@^1.1.3
Updatedes-abstract@^1.12.0
Updatedfunction-bind@^1.1.1
Updatedhas@^1.0.3