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>
diff --git a/node_modules/is-shared-array-buffer/.eslintignore b/node_modules/is-shared-array-buffer/.eslintignore
new file mode 100644
index 0000000..404abb2
--- /dev/null
+++ b/node_modules/is-shared-array-buffer/.eslintignore
@@ -0,0 +1 @@
+coverage/
diff --git a/node_modules/is-shared-array-buffer/.eslintrc b/node_modules/is-shared-array-buffer/.eslintrc
new file mode 100644
index 0000000..be05ad8
--- /dev/null
+++ b/node_modules/is-shared-array-buffer/.eslintrc
@@ -0,0 +1,18 @@
+{
+	"root": true,
+
+	"extends": "@ljharb",
+
+	"rules": {
+		"operator-linebreak": [2, "before"],
+	},
+
+	"overrides": [
+		{
+			"files": "test/**",
+			"globals": {
+				"SharedArrayBuffer": false,
+			},
+		},
+	],
+}
diff --git a/node_modules/is-shared-array-buffer/.github/FUNDING.yml b/node_modules/is-shared-array-buffer/.github/FUNDING.yml
new file mode 100644
index 0000000..61db3c4
--- /dev/null
+++ b/node_modules/is-shared-array-buffer/.github/FUNDING.yml
@@ -0,0 +1,12 @@
+# These are supported funding model platforms
+
+github: [ljharb]
+patreon: # Replace with a single Patreon username
+open_collective: # Replace with a single Open Collective username
+ko_fi: # Replace with a single Ko-fi username
+tidelift: npm/is-shared-array-buffer
+community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
+liberapay: # Replace with a single Liberapay username
+issuehunt: # Replace with a single IssueHunt username
+otechie: # Replace with a single Otechie username
+custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
diff --git a/node_modules/is-shared-array-buffer/.nycrc b/node_modules/is-shared-array-buffer/.nycrc
new file mode 100644
index 0000000..1826526
--- /dev/null
+++ b/node_modules/is-shared-array-buffer/.nycrc
@@ -0,0 +1,13 @@
+{
+	"all": true,
+	"check-coverage": false,
+	"reporter": ["text-summary", "text", "html", "json"],
+	"lines": 86,
+	"statements": 85.93,
+	"functions": 82.43,
+	"branches": 76.06,
+	"exclude": [
+		"coverage",
+		"test"
+	]
+}
diff --git a/node_modules/is-shared-array-buffer/CHANGELOG.md b/node_modules/is-shared-array-buffer/CHANGELOG.md
new file mode 100644
index 0000000..572eea2
--- /dev/null
+++ b/node_modules/is-shared-array-buffer/CHANGELOG.md
@@ -0,0 +1,28 @@
+# Changelog
+
+All notable changes to this project will be documented in this file.
+
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+
+## [v1.0.1](https://github.com/inspect-js/is-shared-array-buffer/compare/v1.0.0...v1.0.1) - 2021-03-04
+
+### Commits
+
+- [readme] fix repo URLs [`37c38f3`](https://github.com/inspect-js/is-shared-array-buffer/commit/37c38f347392da177197dd2fd518b61240a56203)
+
+## v1.0.0 - 2021-03-04
+
+### Commits
+
+- [Tests] add tests [`9c7b806`](https://github.com/inspect-js/is-shared-array-buffer/commit/9c7b806ab1528814308a7420f8198644f55c916f)
+- Initial commit [`4e65c5e`](https://github.com/inspect-js/is-shared-array-buffer/commit/4e65c5ecdaa255162bc6507de4ff98cea2472e3b)
+- [meta] do not publish github action workflow files [`ac3693d`](https://github.com/inspect-js/is-shared-array-buffer/commit/ac3693db8ec26db5444ef4b46aa38a81e8841d30)
+- readme [`7a984d0`](https://github.com/inspect-js/is-shared-array-buffer/commit/7a984d0db73b77943f6731098134e3351a36793b)
+- npm init [`a586c99`](https://github.com/inspect-js/is-shared-array-buffer/commit/a586c99316f3c8ae4fd5125621ea933e97a1bf1b)
+- [actions] add automatic rebasing / merge commit blocking [`184fe62`](https://github.com/inspect-js/is-shared-array-buffer/commit/184fe622680d523e89ac322fa1a52dbba46a8fc0)
+- Implementation [`207e26d`](https://github.com/inspect-js/is-shared-array-buffer/commit/207e26d1128930f28384cb213b38d69fd52bbd7c)
+- [meta] create `FUNDING.yml`; add "funding" field [`3cad3fc`](https://github.com/inspect-js/is-shared-array-buffer/commit/3cad3fc9509f91fbc71e84565529f53a94d538d4)
+- [meta] add auto-changelog [`31f1f2c`](https://github.com/inspect-js/is-shared-array-buffer/commit/31f1f2cbcd616d6c09089d62198d5cc775053324)
+- [Tests] add `npm run lint` [`2e5146e`](https://github.com/inspect-js/is-shared-array-buffer/commit/2e5146e18f44533382a781fa09a50d4f47caa0e5)
+- Only apps should have lockfiles [`7b2adfa`](https://github.com/inspect-js/is-shared-array-buffer/commit/7b2adfad6dcd95271ab6ba34658a9a1a21dbeacf)
diff --git a/node_modules/is-shared-array-buffer/LICENSE b/node_modules/is-shared-array-buffer/LICENSE
new file mode 100644
index 0000000..7948bc0
--- /dev/null
+++ b/node_modules/is-shared-array-buffer/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2021 Inspect JS
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/node_modules/is-shared-array-buffer/README.md b/node_modules/is-shared-array-buffer/README.md
new file mode 100644
index 0000000..b5d4d4d
--- /dev/null
+++ b/node_modules/is-shared-array-buffer/README.md
@@ -0,0 +1,52 @@
+# is-shared-array-buffer <sup>[![Version Badge][2]][1]</sup>
+
+[![dependency status][5]][6]
+[![dev dependency status][7]][8]
+[![License][license-image]][license-url]
+[![Downloads][downloads-image]][downloads-url]
+
+[![npm badge][11]][1]
+
+Is this value a JS SharedArrayBuffer? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.
+
+## Example
+
+```js
+var assert = require('assert');
+var isSharedArrayBuffer = require('is-shared-array-buffer');
+
+assert(!isSharedArrayBuffer(function () {}));
+assert(!isSharedArrayBuffer(null));
+assert(!isSharedArrayBuffer(function* () { yield 42; return Infinity; });
+assert(!isSharedArrayBuffer(Symbol('foo')));
+assert(!isSharedArrayBuffer(1n));
+assert(!isSharedArrayBuffer(Object(1n)));
+
+assert(!isSharedArrayBuffer(new Set()));
+assert(!isSharedArrayBuffer(new WeakSet()));
+assert(!isSharedArrayBuffer(new Map()));
+assert(!isSharedArrayBuffer(new WeakMap()));
+assert(!isSharedArrayBuffer(new WeakRef({})));
+assert(!isSharedArrayBuffer(new FinalizationRegistry(() => {})));
+assert(!isSharedArrayBuffer(new ArrayBuffer()));
+
+assert(isSharedArrayBuffer(new SharedArrayBuffer()));
+
+class MySharedArrayBuffer extends SharedArrayBuffer {}
+assert(isSharedArrayBuffer(new MySharedArrayBuffer()));
+```
+
+## Tests
+Simply clone the repo, `npm install`, and run `npm test`
+
+[1]: https://npmjs.org/package/is-shared-array-buffer
+[2]: https://versionbadg.es/inspect-js/is-shared-array-buffer.svg
+[5]: https://david-dm.org/inspect-js/is-shared-array-buffer.svg
+[6]: https://david-dm.org/inspect-js/is-shared-array-buffer
+[7]: https://david-dm.org/inspect-js/is-shared-array-buffer/dev-status.svg
+[8]: https://david-dm.org/inspect-js/is-shared-array-buffer#info=devDependencies
+[11]: https://nodei.co/npm/is-shared-array-buffer.png?downloads=true&stars=true
+[license-image]: https://img.shields.io/npm/l/is-shared-array-buffer.svg
+[license-url]: LICENSE
+[downloads-image]: https://img.shields.io/npm/dm/is-shared-array-buffer.svg
+[downloads-url]: https://npm-stat.com/charts.html?package=is-shared-array-buffer
diff --git a/node_modules/is-shared-array-buffer/index.js b/node_modules/is-shared-array-buffer/index.js
new file mode 100644
index 0000000..8704304
--- /dev/null
+++ b/node_modules/is-shared-array-buffer/index.js
@@ -0,0 +1,21 @@
+'use strict';
+
+var callBound = require('call-bind/callBound');
+
+var $byteLength = callBound('SharedArrayBuffer.prototype.byteLength', true);
+
+module.exports = $byteLength
+	? function isSharedArrayBuffer(obj) {
+		if (!obj || typeof obj !== 'object') {
+			return false;
+		}
+		try {
+			$byteLength(obj);
+			return true;
+		} catch (e) {
+			return false;
+		}
+	}
+	: function isSharedArrayBuffer(obj) { // eslint-disable-line no-unused-vars
+		return false;
+	};
diff --git a/node_modules/is-shared-array-buffer/package.json b/node_modules/is-shared-array-buffer/package.json
new file mode 100644
index 0000000..1bee69d
--- /dev/null
+++ b/node_modules/is-shared-array-buffer/package.json
@@ -0,0 +1,64 @@
+{
+  "name": "is-shared-array-buffer",
+  "version": "1.0.1",
+  "author": {
+    "name": "Jordan Harband",
+    "email": "ljharb@gmail.com",
+    "url": "http://ljharb.codes"
+  },
+  "funding": {
+    "url": "https://github.com/sponsors/ljharb"
+  },
+  "description": "Is this value a JS SharedArrayBuffer?",
+  "license": "MIT",
+  "main": "index.js",
+  "exports": {
+    ".": "./index.js",
+    "./package.json": "./package.json"
+  },
+  "scripts": {
+    "lint": "eslint --ext=.js,.mjs .",
+    "pretest": "npm run lint",
+    "tests-only": "nyc tape 'test/**/*.js'",
+    "test": "npm run tests-only --",
+    "posttest": "aud --production",
+    "version": "auto-changelog && git add CHANGELOG.md",
+    "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
+  },
+  "repository": {
+    "type": "git",
+    "url": "git+https://github.com/inspect-js/is-shared-array-buffer.git"
+  },
+  "keywords": [
+    "javascript",
+    "ecmascript",
+    "is",
+    "sharedarraybuffer",
+    "shared",
+    "array",
+    "buffer"
+  ],
+  "bugs": {
+    "url": "https://github.com/inspect-js/is-shared-array-buffer/issues"
+  },
+  "homepage": "https://github.com/inspect-js/is-shared-array-buffer#readme",
+  "devDependencies": {
+    "@ljharb/eslint-config": "^17.5.1",
+    "aud": "^1.1.4",
+    "auto-changelog": "^2.2.1",
+    "es-value-fixtures": "^1.2.1",
+    "eslint": "^7.21.0",
+    "for-each": "^0.3.3",
+    "nyc": "^10.3.2",
+    "object-inspect": "^1.9.0",
+    "tape": "^5.2.2"
+  },
+  "auto-changelog": {
+    "output": "CHANGELOG.md",
+    "template": "keepachangelog",
+    "unreleased": false,
+    "commitLimit": false,
+    "backfillLimit": false,
+    "hideCredit": true
+  }
+}
diff --git a/node_modules/is-shared-array-buffer/test/index.js b/node_modules/is-shared-array-buffer/test/index.js
new file mode 100644
index 0000000..9bc2c56
--- /dev/null
+++ b/node_modules/is-shared-array-buffer/test/index.js
@@ -0,0 +1,27 @@
+'use strict';
+
+var test = require('tape');
+var inspect = require('object-inspect');
+var forEach = require('for-each');
+var v = require('es-value-fixtures');
+
+var isSharedArrayBuffer = require('..');
+
+test('isSharedArrayBuffer', function (t) {
+	t.equal(typeof isSharedArrayBuffer, 'function', 'is a function');
+
+	var nonSABs = v.primitives.concat(v.objects);
+	forEach(nonSABs, function (nonSAB) {
+		t.equal(isSharedArrayBuffer(nonSAB), false, inspect(nonSAB) + ' is not a SharedArrayBuffer');
+	});
+
+	t.test('actual SharedArrayBuffer instances', { skip: typeof SharedArrayBuffer === 'undefined' }, function (st) {
+		var sab = new SharedArrayBuffer();
+
+		st.equal(isSharedArrayBuffer(sab), true, inspect(sab) + ' is a SharedArrayBuffer');
+
+		st.end();
+	});
+
+	t.end();
+});