object.entries
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -8,2 +8,24 @@ # Changelog | ||
## [v1.1.4](https://github.com/ljharb/Object.entries/compare/v1.1.3...v1.1.4) - 2021-05-26 | ||
### Commits | ||
- [actions] use `node/install` instead of `node/run`; use `codecov` action [`502a2d7`](https://github.com/ljharb/Object.entries/commit/502a2d729a36dbe92f03a2416be5d9cf3f3cd5fa) | ||
- [meta] do not publish github action workflow files [`f38243c`](https://github.com/ljharb/Object.entries/commit/f38243c9c9e4b0478219d9313316e6d7af433496) | ||
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `functions-have-names`, `has-strict-mode`, `tape` [`28b8c53`](https://github.com/ljharb/Object.entries/commit/28b8c53aa2f3671e8d500d332d4b658afd27ced7) | ||
- [readme] fix repo URLs; remove travis badge [`01eb2bc`](https://github.com/ljharb/Object.entries/commit/01eb2bc33977dba3e25f9e8ce4341a8eac24662f) | ||
- [readme] add actions and codecov badges [`e9455ce`](https://github.com/ljharb/Object.entries/commit/e9455ce300168157a448f695b1be983bda974a8a) | ||
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog` [`3f26a81`](https://github.com/ljharb/Object.entries/commit/3f26a81ba0dff813c5828e1d818bf02330c1ddc7) | ||
- [actions] update workflows [`2447f74`](https://github.com/ljharb/Object.entries/commit/2447f740f3b963221f7525588879f628c1a4538b) | ||
- [Refactor] `propertyIsEnumerable` checks own-ness; remove `has` [`a65ae8d`](https://github.com/ljharb/Object.entries/commit/a65ae8d8349464d7d9fb2621c5e2ee02533cd9e3) | ||
- [actions] update workflows [`2465bef`](https://github.com/ljharb/Object.entries/commit/2465befa1132bf327853ed134e9640b6d7cb7d90) | ||
- [Tests] swap `array-map` for `array.prototype.map` [`37d5157`](https://github.com/ljharb/Object.entries/commit/37d51574118272e90cbbe6356ecca505e399e7ed) | ||
- [Dev Deps] update `eslint`, `tape` [`3878db8`](https://github.com/ljharb/Object.entries/commit/3878db8f4b120e35e7e2ab9c3906983a6a3c98a9) | ||
- [Deps] update `call-bind`, `es-abstract` [`9ff20ec`](https://github.com/ljharb/Object.entries/commit/9ff20ec9bb0b079e652eaabb5f4e15b785d6abd2) | ||
- [meta] use `prepublishOnly` script for npm 7+ [`052d1ca`](https://github.com/ljharb/Object.entries/commit/052d1caf5f9b56be1948fa68ddd47a6ee36bdb0f) | ||
- [Tests] increase coverage [`1e84c9c`](https://github.com/ljharb/Object.entries/commit/1e84c9ce0eb2dd5178ccea5e659384c70f29e758) | ||
- [Deps] update `es-abstract` [`65af70d`](https://github.com/ljharb/Object.entries/commit/65af70d1c31bce6eb630ffa100dde99a0cb53529) | ||
- [Deps] update `es-abstract` [`2a633ce`](https://github.com/ljharb/Object.entries/commit/2a633ce6ec8b363e865a41783758c1b5ab55f6e8) | ||
- [meta] gitignore coverage output [`5f4a0c1`](https://github.com/ljharb/Object.entries/commit/5f4a0c10918a492ce09fbab6ea104bc9f8567fa7) | ||
## [v1.1.3](https://github.com/ljharb/Object.entries/compare/v1.1.2...v1.1.3) - 2020-11-26 | ||
@@ -10,0 +32,0 @@ |
'use strict'; | ||
var RequireObjectCoercible = require('es-abstract/2020/RequireObjectCoercible'); | ||
var has = require('has'); | ||
var callBound = require('call-bind/callBound'); | ||
@@ -12,3 +11,3 @@ var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable'); | ||
for (var key in obj) { | ||
if (has(obj, key) && $isEnumerable(obj, key)) { | ||
if ($isEnumerable(obj, key)) { // checks own-ness as well | ||
entrys.push([key, obj[key]]); | ||
@@ -15,0 +14,0 @@ } |
{ | ||
"name": "object.entries", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"author": "Jordan Harband", | ||
@@ -9,3 +9,4 @@ "description": "ES2017 spec-compliant Object.entries shim.", | ||
"scripts": { | ||
"prepublish": "safe-publish-latest", | ||
"prepublish": "not-in-publish || npm run prepublishOnly", | ||
"prepublishOnly": "safe-publish-latest", | ||
"lint": "eslint .", | ||
@@ -40,19 +41,18 @@ "postlint": "es-shim-api --bound", | ||
"dependencies": { | ||
"call-bind": "^1.0.0", | ||
"call-bind": "^1.0.2", | ||
"define-properties": "^1.1.3", | ||
"es-abstract": "^1.18.0-next.1", | ||
"has": "^1.0.3" | ||
"es-abstract": "^1.18.2" | ||
}, | ||
"devDependencies": { | ||
"@es-shims/api": "^2.1.2", | ||
"@ljharb/eslint-config": "^17.3.0", | ||
"array-map": "^0.0.0", | ||
"aud": "^1.1.3", | ||
"auto-changelog": "^2.2.1", | ||
"eslint": "^7.14.0", | ||
"functions-have-names": "^1.2.1", | ||
"has-strict-mode": "^1.0.0", | ||
"@ljharb/eslint-config": "^17.6.0", | ||
"array.prototype.map": "^1.0.3", | ||
"aud": "^1.1.5", | ||
"auto-changelog": "^2.3.0", | ||
"eslint": "^7.27.0", | ||
"functions-have-names": "^1.2.2", | ||
"has-strict-mode": "^1.0.1", | ||
"nyc": "^10.3.2", | ||
"safe-publish-latest": "^1.1.4", | ||
"tape": "^5.0.1" | ||
"tape": "^5.2.2" | ||
}, | ||
@@ -59,0 +59,0 @@ "testling": { |
# object.entries <sup>[![Version Badge][npm-version-svg]][package-url]</sup> | ||
[![Build Status][travis-svg]][travis-url] | ||
[![github actions][actions-image]][actions-url] | ||
[![coverage][codecov-image]][codecov-url] | ||
[![dependency status][deps-svg]][deps-url] | ||
@@ -11,4 +12,2 @@ [![dev dependency status][dev-deps-svg]][dev-deps-url] | ||
[![browser support][testling-svg]][testling-url] | ||
An ES2017 spec-compliant `Object.entries` shim. Invoke its "shim" method to shim `Object.entries` if it is unavailable or noncompliant. | ||
@@ -47,5 +46,3 @@ | ||
[package-url]: https://npmjs.com/package/object.entries | ||
[npm-version-svg]: http://versionbadg.es/es-shims/Object.entries.svg | ||
[travis-svg]: https://travis-ci.org/es-shims/Object.entries.svg | ||
[travis-url]: https://travis-ci.org/es-shims/Object.entries | ||
[npm-version-svg]: https://versionbadg.es/es-shims/Object.entries.svg | ||
[deps-svg]: https://david-dm.org/es-shims/Object.entries.svg | ||
@@ -55,8 +52,10 @@ [deps-url]: https://david-dm.org/es-shims/Object.entries | ||
[dev-deps-url]: https://david-dm.org/es-shims/Object.entries#info=devDependencies | ||
[testling-svg]: https://ci.testling.com/es-shims/Object.entries.png | ||
[testling-url]: https://ci.testling.com/es-shims/Object.entries | ||
[npm-badge-png]: https://nodei.co/npm/object.entries.png?downloads=true&stars=true | ||
[license-image]: http://img.shields.io/npm/l/object.entries.svg | ||
[license-image]: https://img.shields.io/npm/l/object.entries.svg | ||
[license-url]: LICENSE | ||
[downloads-image]: http://img.shields.io/npm/dm/object.entries.svg | ||
[downloads-url]: http://npm-stat.com/charts.html?package=object.entries | ||
[downloads-image]: https://img.shields.io/npm/dm/object.entries.svg | ||
[downloads-url]: https://npm-stat.com/charts.html?package=object.entries | ||
[codecov-image]: https://codecov.io/gh/es-shims/Object.entries/branch/main/graphs/badge.svg | ||
[codecov-url]: https://app.codecov.io/gh/es-shims/Object.entries/ | ||
[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/Object.entries | ||
[actions-url]: https://github.com/es-shims/Object.entries/actions |
'use strict'; | ||
var entries = require('../'); | ||
entries.shim(); | ||
require('../auto'); | ||
@@ -6,0 +5,0 @@ var test = require('tape'); |
'use strict'; | ||
var keys = require('object-keys'); | ||
var map = require('array-map'); | ||
var map = require('array.prototype.map'); | ||
var define = require('define-properties'); | ||
@@ -6,0 +6,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3
179
29273
19
59
- Removedhas@^1.0.3
- Removedhas@1.0.4(transitive)
Updatedcall-bind@^1.0.2
Updatedes-abstract@^1.18.2