Update ESLint-related packages
R=jacktfranklin@chromium.org
No-Presubmit: True
Bug: none
Change-Id: I52dc24b12e350787085c5e3d131cface7ea87142
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3060705
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
diff --git a/node_modules/is-string/.eslintignore b/node_modules/is-string/.eslintignore
new file mode 100644
index 0000000..404abb2
--- /dev/null
+++ b/node_modules/is-string/.eslintignore
@@ -0,0 +1 @@
+coverage/
diff --git a/node_modules/is-string/.github/workflows/rebase.yml b/node_modules/is-string/.github/workflows/rebase.yml
deleted file mode 100644
index 436cb79..0000000
--- a/node_modules/is-string/.github/workflows/rebase.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-name: Automatic Rebase
-
-on: [pull_request]
-
-jobs:
- _:
- name: "Automatic Rebase"
-
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v1
- - uses: ljharb/rebase@master
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/node_modules/is-string/.nycrc b/node_modules/is-string/.nycrc
new file mode 100644
index 0000000..a69aa2d
--- /dev/null
+++ b/node_modules/is-string/.nycrc
@@ -0,0 +1,10 @@
+{
+ "all": true,
+ "check-coverage": false,
+ "reporter": ["text-summary", "text", "html", "json"],
+ "exclude": [
+ "coverage",
+ "test",
+ "test-corejs.js"
+ ]
+}
diff --git a/node_modules/is-string/.travis.yml b/node_modules/is-string/.travis.yml
deleted file mode 100644
index 2d1c1d2..0000000
--- a/node_modules/is-string/.travis.yml
+++ /dev/null
@@ -1,12 +0,0 @@
-version: ~> 1.0
-language: node_js
-os:
- - linux
-import:
- - ljharb/travis-ci:node/all.yml
- - ljharb/travis-ci:node/pretest.yml
- - ljharb/travis-ci:node/posttest.yml
- - ljharb/travis-ci:node/coverage.yml
-matrix:
- allow_failures:
- - env: COVERAGE=true
diff --git a/node_modules/is-string/CHANGELOG.md b/node_modules/is-string/CHANGELOG.md
index 217c2ad..9334c53 100644
--- a/node_modules/is-string/CHANGELOG.md
+++ b/node_modules/is-string/CHANGELOG.md
@@ -7,7 +7,30 @@
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
-## [v1.0.5](https://github.com/inspect-js/is-string/compare/v1.0.4...v1.0.5) - 2019-12-19
+## [v1.0.6](https://github.com/inspect-js/is-string/compare/v1.0.5...v1.0.6) - 2021-05-07
+
+### Commits
+
+- [Tests] migrate tests to Github Actions [`c7790c8`](https://github.com/inspect-js/is-string/commit/c7790c89e5077251fe7ca32ac29eeee02f1b2751)
+- [actions] use `node/install` instead of `node/run`; use `codecov` action [`1e52bbd`](https://github.com/inspect-js/is-string/commit/1e52bbd19b1608f6932c0335d9981824584c3186)
+- [Fix] do not use `Object.prototype.toString` when `Symbol.toStringTag` is shammed [`83337eb`](https://github.com/inspect-js/is-string/commit/83337ebf55308b7bb9c1befae420760e0f8d8016)
+- [meta] do not publish github action workflow files [`b25aea2`](https://github.com/inspect-js/is-string/commit/b25aea2e8a53ed9e9090cf96481590cdc00a0957)
+- [readme] update badges [`759ccd9`](https://github.com/inspect-js/is-string/commit/759ccd94de4a2000231a179f91af6b5c12c11e00)
+- [Tests] run `nyc` on all tests [`dc02f70`](https://github.com/inspect-js/is-string/commit/dc02f7080c355f0d24368c1622db09f7cc30cdbd)
+- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `auto-changelog`, `tape`; add `aud` [`a0f76fa`](https://github.com/inspect-js/is-string/commit/a0f76fa1990bb580948f9e2daa89bdcda3fae7f0)
+- [actions] add "Allow Edits" workflow [`9ec3902`](https://github.com/inspect-js/is-string/commit/9ec390295b4faef7744d2b579c1050be66168cb7)
+- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`57fbe21`](https://github.com/inspect-js/is-string/commit/57fbe215da83a3b601855a9c6543ad1a96de5702)
+- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`191e55f`](https://github.com/inspect-js/is-string/commit/191e55ff1fa782654ffcce2df922e23345b56690)
+- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog` [`1ea2b81`](https://github.com/inspect-js/is-string/commit/1ea2b81e866775a7890e75c44c742204124aa354)
+- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`105d1b9`](https://github.com/inspect-js/is-string/commit/105d1b9851e366ef23c2a27d4064e0d36da25939)
+- [Dev Deps] update `auto-changelog`, `tape`; add `aud` [`114cfad`](https://github.com/inspect-js/is-string/commit/114cfad854d8860421f847cd99a3bdb8ef1353dc)
+- [meta] use `prepublishOnly` script for npm 7+ [`fc38f26`](https://github.com/inspect-js/is-string/commit/fc38f26adb486f50880c5771d145ab2bffb6247a)
+- [meta] gitignore coverage output [`3419127`](https://github.com/inspect-js/is-string/commit/34191278f1fa09ba4da801a6fd7a32e31050e759)
+- [actions] update rebase action to use checkout v2 [`334eca0`](https://github.com/inspect-js/is-string/commit/334eca02d40f4cf7dc15a8e7d5ff06852028abb5)
+- [actions] switch Automatic Rebase workflow to `pull_request_target` event [`7a332e9`](https://github.com/inspect-js/is-string/commit/7a332e963f1ab717fafa671e0fa8a1b20c53d861)
+- [meta] remove explicit audit level config [`04630b1`](https://github.com/inspect-js/is-string/commit/04630b1b535084322ddeae8efb79a8810d7cf325)
+
+## [v1.0.5](https://github.com/inspect-js/is-string/compare/v1.0.4...v1.0.5) - 2019-12-18
### Commits
@@ -46,7 +69,7 @@
- Test on `io.js` `v2.3` [`ca6e796`](https://github.com/inspect-js/is-string/commit/ca6e796f16ec433b88962162fde8012f28e18f1e)
- Fix tests for faked @@toStringTag [`3cce832`](https://github.com/inspect-js/is-string/commit/3cce8329133dfd233987359df151018b3b136be1)
-## [v1.0.4](https://github.com/inspect-js/is-string/compare/v1.0.3...v1.0.4) - 2015-01-30
+## [v1.0.4](https://github.com/inspect-js/is-string/compare/v1.0.3...v1.0.4) - 2015-01-29
### Commits
@@ -71,7 +94,7 @@
- Fix eslint config. [`c4e05bd`](https://github.com/inspect-js/is-string/commit/c4e05bd171da6002d432e451fd48912db8b048e0)
- Add early exits for typeof "string", or typeof not "object". [`82f41d3`](https://github.com/inspect-js/is-string/commit/82f41d36a599bc6a06152792c84c7683e412c513)
-## v1.0.0 - 2015-01-28
+## v1.0.0 - 2015-01-29
### Commits
diff --git a/node_modules/is-string/README.md b/node_modules/is-string/README.md
index 13895e5..d9d7edf 100644
--- a/node_modules/is-string/README.md
+++ b/node_modules/is-string/README.md
@@ -1,6 +1,7 @@
# is-string <sup>[![Version Badge][2]][1]</sup>
-[![Build Status][3]][4]
+[![github actions][actions-image]][actions-url]
+[![coverage][codecov-image]][codecov-url]
[![dependency status][5]][6]
[![dev dependency status][7]][8]
[![License][license-image]][license-url]
@@ -8,8 +9,6 @@
[![npm badge][11]][1]
-[![browser support][9]][10]
-
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
## Example
@@ -41,17 +40,17 @@
Simply clone the repo, `npm install`, and run `npm test`
[1]: https://npmjs.org/package/is-string
-[2]: http://versionbadg.es/ljharb/is-string.svg
-[3]: https://travis-ci.org/ljharb/is-string.svg
-[4]: https://travis-ci.org/ljharb/is-string
-[5]: https://david-dm.org/ljharb/is-string.svg
-[6]: https://david-dm.org/ljharb/is-string
-[7]: https://david-dm.org/ljharb/is-string/dev-status.svg
-[8]: https://david-dm.org/ljharb/is-string#info=devDependencies
-[9]: https://ci.testling.com/ljharb/is-string.png
-[10]: https://ci.testling.com/ljharb/is-string
+[2]: https://versionbadg.es/inspect-js/is-string.svg
+[5]: https://david-dm.org/inspect-js/is-string.svg
+[6]: https://david-dm.org/inspect-js/is-string
+[7]: https://david-dm.org/inspect-js/is-string/dev-status.svg
+[8]: https://david-dm.org/inspect-js/is-string#info=devDependencies
[11]: https://nodei.co/npm/is-string.png?downloads=true&stars=true
-[license-image]: http://img.shields.io/npm/l/is-string.svg
+[license-image]: https://img.shields.io/npm/l/is-string.svg
[license-url]: LICENSE
-[downloads-image]: http://img.shields.io/npm/dm/is-string.svg
-[downloads-url]: http://npm-stat.com/charts.html?package=is-string
+[downloads-image]: https://img.shields.io/npm/dm/is-string.svg
+[downloads-url]: https://npm-stat.com/charts.html?package=is-string
+[codecov-image]: https://codecov.io/gh/inspect-js/is-string/branch/main/graphs/badge.svg
+[codecov-url]: https://app.codecov.io/gh/inspect-js/is-string/
+[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-string
+[actions-url]: https://github.com/inspect-js/is-string/actions
diff --git a/node_modules/is-string/index.js b/node_modules/is-string/index.js
index 95b7050..5f77f03 100644
--- a/node_modules/is-string/index.js
+++ b/node_modules/is-string/index.js
@@ -11,7 +11,7 @@
};
var toStr = Object.prototype.toString;
var strClass = '[object String]';
-var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
+var hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag;
module.exports = function isString(value) {
if (typeof value === 'string') {
diff --git a/node_modules/is-string/package.json b/node_modules/is-string/package.json
index f27325d..49758a3 100644
--- a/node_modules/is-string/package.json
+++ b/node_modules/is-string/package.json
@@ -1,6 +1,6 @@
{
"name": "is-string",
- "version": "1.0.5",
+ "version": "1.0.6",
"author": "Jordan Harband <ljharb@gmail.com>",
"funding": {
"url": "https://github.com/sponsors/ljharb"
@@ -9,12 +9,13 @@
"license": "MIT",
"main": "index.js",
"scripts": {
- "prepublish": "safe-publish-latest",
+ "prepublishOnly": "safe-publish-latest",
+ "prepublish": "not-in-publish || npm run prepublishOnly",
"pretest": "npm run lint",
- "tests-only": "node --harmony --es-staging test",
- "test": "npm run tests-only",
- "posttest": "npx aud",
- "coverage": "covert test/index.js",
+ "tests-only": "nyc tape 'test/**/*.js'",
+ "test:corejs": "nyc tape test-corejs.js",
+ "test": "npm run tests-only && npm run test:corejs",
+ "posttest": "npx aud --production",
"lint": "eslint .",
"eccheck": "eclint check *.js **/*.js > /dev/null",
"version": "auto-changelog && git add CHANGELOG.md",
@@ -32,18 +33,19 @@
"@@toStringTag",
"String object"
],
- "dependencies": {},
"devDependencies": {
- "@ljharb/eslint-config": "^15.0.2",
- "auto-changelog": "^1.16.2",
- "covert": "^1.1.1",
+ "@ljharb/eslint-config": "^17.6.0",
+ "aud": "^1.1.5",
+ "auto-changelog": "^2.2.1",
+ "core-js": "^3.12.0",
"eclint": "^2.8.1",
- "eslint": "^6.7.2",
+ "eslint": "^7.26.0",
"foreach": "^2.0.5",
"indexof": "^0.0.1",
"is": "^3.3.0",
+ "nyc": "^10.3.2",
"safe-publish-latest": "^1.1.4",
- "tape": "^4.12.0"
+ "tape": "^5.2.2"
},
"testling": {
"files": "test/index.js",
diff --git a/node_modules/is-string/test/index.js b/node_modules/is-string/test/index.js
index 03c0874..8fbba42 100644
--- a/node_modules/is-string/test/index.js
+++ b/node_modules/is-string/test/index.js
@@ -1,8 +1,8 @@
'use strict';
var test = require('tape');
-var isString = require('..');
-var hasSymbols = typeof Symbol === 'function' && typeof Symbol('') === 'symbol';
+var isString = require('../');
+var hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator !== 'undefined';
test('not Strings', function (t) {
t.notOk(isString(), 'undefined is not String');