Upgrade eslint-plugin-import

R=jacktfranklin@chromium.org

Bug: none
Change-Id: I0ad7ba9133af3db19c448a284d79bdfc08101dea
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3268294
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
This commit is contained in:
Tim van der Lippe
2021-11-08 16:05:33 +00:00
committed by Devtools-frontend LUCI CQ
parent aaaa9e0109
commit bc3a0b7a2b
562 changed files with 11471 additions and 13474 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
"HasProperty",
"IsArray",
"Set",
"ToInteger",
"ToIntegerOrInfinity",
"ToLength",
"ToObject",
"ToString"
-4
View File
@@ -2,10 +2,6 @@
"all": true,
"check-coverage": false,
"reporter": ["text-summary", "text", "html", "json"],
"lines": 96,
"statements": 96,
"functions": 80,
"branches": 87,
"exclude": [
"coverage",
"test"
+22
View File
@@ -1,3 +1,25 @@
1.2.5 / 2021-10-01
=================
* [readme] add github actions/codecov badges; remove travis badge
* [Deps] update `call-bind`, `es-abstract`
* [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `@es-shims/api`, `aud`, `has-strict-mode`, `object-inspect`, `tape`
* [meta] use `prepublishOnly`, for npm 7+
* [actions] use `node/install` instead of `node/run`; use `codecov` action
* [actions] update workflows
* [Tests] increase coverage
* [meta] fix changelog for v1.2.4
1.2.4 / 2020-11-18
=================
* [meta] do not publish Github Action workflows
* [Deps] update `es-abstract`; add `call-bind` where applicable
* [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `object-inspect`, `tape`
* [Tests] run `nyc` on all tests
* [Tests] add `implementation` test; run `es-shim-api` in postlint; use `tape` runner
* [Tests] migrate tests to Github Actions
* [actions] add "Allow Edits" workflow
* [actions] switch Automatic Rebase workflow to `pull_request_target` event
1.2.3 / 2019-12-12
=================
* [Refactor] use split-up `es-abstract` (65% bundle size decrease)
+10 -7
View File
@@ -1,6 +1,7 @@
# array.prototype.flat <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]
[![dev dependency status][dev-deps-svg]][dev-deps-url]
[![License][license-image]][license-url]
@@ -58,15 +59,17 @@ assert.deepEqual(arr.flat(mapper), flat(arr, mapper));
Simply clone the repo, `npm install`, and run `npm test`
[package-url]: https://npmjs.org/package/array.prototype.flat
[npm-version-svg]: http://versionbadg.es/es-shims/Array.prototype.flat.svg
[travis-svg]: https://travis-ci.org/es-shims/Array.prototype.flat.svg
[travis-url]: https://travis-ci.org/es-shims/Array.prototype.flat
[npm-version-svg]: https://versionbadg.es/es-shims/Array.prototype.flat.svg
[deps-svg]: https://david-dm.org/es-shims/Array.prototype.flat.svg
[deps-url]: https://david-dm.org/es-shims/Array.prototype.flat
[dev-deps-svg]: https://david-dm.org/es-shims/Array.prototype.flat/dev-status.svg
[dev-deps-url]: https://david-dm.org/es-shims/Array.prototype.flat#info=devDependencies
[npm-badge-png]: https://nodei.co/npm/array.prototype.flat.png?downloads=true&stars=true
[license-image]: http://img.shields.io/npm/l/array.prototype.flat.svg
[license-image]: https://img.shields.io/npm/l/array.prototype.flat.svg
[license-url]: LICENSE
[downloads-image]: http://img.shields.io/npm/dm/array.prototype.flat.svg
[downloads-url]: http://npm-stat.com/charts.html?package=array.prototype.flat
[downloads-image]: https://img.shields.io/npm/dm/array.prototype.flat.svg
[downloads-url]: https://npm-stat.com/charts.html?package=array.prototype.flat
[codecov-image]: https://codecov.io/gh/es-shims/Array.prototype.flat/branch/main/graphs/badge.svg
[codecov-url]: https://app.codecov.io/gh/es-shims/Array.prototype.flat/
[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/Array.prototype.flat
[actions-url]: https://github.com/es-shims/Array.prototype.flat/actions
+7 -7
View File
@@ -1,11 +1,11 @@
'use strict';
var ArraySpeciesCreate = require('es-abstract/2020/ArraySpeciesCreate');
var FlattenIntoArray = require('es-abstract/2020/FlattenIntoArray');
var Get = require('es-abstract/2020/Get');
var ToInteger = require('es-abstract/2020/ToInteger');
var ToLength = require('es-abstract/2020/ToLength');
var ToObject = require('es-abstract/2020/ToObject');
var ArraySpeciesCreate = require('es-abstract/2021/ArraySpeciesCreate');
var FlattenIntoArray = require('es-abstract/2021/FlattenIntoArray');
var Get = require('es-abstract/2021/Get');
var ToIntegerOrInfinity = require('es-abstract/2021/ToIntegerOrInfinity');
var ToLength = require('es-abstract/2021/ToLength');
var ToObject = require('es-abstract/2021/ToObject');
module.exports = function flat() {
var O = ToObject(this);
@@ -13,7 +13,7 @@ module.exports = function flat() {
var depthNum = 1;
if (arguments.length > 0 && typeof arguments[0] !== 'undefined') {
depthNum = ToInteger(arguments[0]);
depthNum = ToIntegerOrInfinity(arguments[0]);
}
var A = ArraySpeciesCreate(O, 0);
+12 -11
View File
@@ -1,6 +1,6 @@
{
"name": "array.prototype.flat",
"version": "1.2.4",
"version": "1.2.5",
"author": {
"name": "Jordan Harband",
"email": "ljharb@gmail.com",
@@ -20,7 +20,8 @@
"license": "MIT",
"main": "index.js",
"scripts": {
"prepublish": "safe-publish-latest",
"prepublish": "not-in-publish || npm run prepublishOnly",
"prepublishOnly": "safe-publish-latest",
"pretest": "npm run --silent lint && evalmd README.md",
"test": "npm run tests-only",
"posttest": "aud --production",
@@ -46,23 +47,23 @@
"es-shim API"
],
"dependencies": {
"call-bind": "^1.0.0",
"call-bind": "^1.0.2",
"define-properties": "^1.1.3",
"es-abstract": "^1.18.0-next.1"
"es-abstract": "^1.19.0"
},
"devDependencies": {
"@es-shims/api": "^2.1.2",
"@ljharb/eslint-config": "^17.2.0",
"aud": "^1.1.3",
"@es-shims/api": "^2.2.1",
"@ljharb/eslint-config": "^18.0.0",
"aud": "^1.1.5",
"covert": "^1.1.1",
"eslint": "^7.13.0",
"eslint": "^7.32.0",
"evalmd": "^0.0.19",
"function-bind": "^1.1.1",
"has-strict-mode": "^1.0.0",
"has-strict-mode": "^1.0.1",
"nyc": "^10.3.2",
"object-inspect": "^1.8.0",
"object-inspect": "^1.11.0",
"safe-publish-latest": "^1.1.4",
"tape": "^5.0.1"
"tape": "^5.3.1"
},
"testling": {
"files": [
+1 -1
View File
@@ -1,6 +1,6 @@
'use strict';
require('../shim')();
require('../auto');
var test = require('tape');
var defineProperties = require('define-properties');