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-string/CHANGELOG.md b/node_modules/is-string/CHANGELOG.md
index 9334c53..6f62043 100644
--- a/node_modules/is-string/CHANGELOG.md
+++ b/node_modules/is-string/CHANGELOG.md
@@ -7,6 +7,13 @@
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
+## [v1.0.7](https://github.com/inspect-js/is-string/compare/v1.0.6...v1.0.7) - 2021-08-05
+
+### Commits
+
+- [Refactor] use `has-tostringtag` to behave correctly in the presence of symbol shams [`d973ffd`](https://github.com/inspect-js/is-string/commit/d973ffd2268e10c0e2cd4f0c57ecf8ce0a8d8578)
+- [Dev Deps] update `auto-changelog`, `core-js`, `eslint`, `tape` [`4bfaabf`](https://github.com/inspect-js/is-string/commit/4bfaabf877e874ca21d2c44be26f13add8ee2761)
+
## [v1.0.6](https://github.com/inspect-js/is-string/compare/v1.0.5...v1.0.6) - 2021-05-07
### Commits
diff --git a/node_modules/is-string/index.js b/node_modules/is-string/index.js
index 5f77f03..f44f7bb 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' && !!Symbol.toStringTag;
+var hasToStringTag = require('has-tostringtag/shams')();
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 49758a3..d434396 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.6",
+ "version": "1.0.7",
"author": "Jordan Harband <ljharb@gmail.com>",
"funding": {
"url": "https://github.com/sponsors/ljharb"
@@ -33,19 +33,22 @@
"@@toStringTag",
"String object"
],
+ "dependencies": {
+ "has-tostringtag": "^1.0.0"
+ },
"devDependencies": {
"@ljharb/eslint-config": "^17.6.0",
"aud": "^1.1.5",
- "auto-changelog": "^2.2.1",
- "core-js": "^3.12.0",
+ "auto-changelog": "^2.3.0",
+ "core-js": "^3.16.0",
"eclint": "^2.8.1",
- "eslint": "^7.26.0",
+ "eslint": "^7.32.0",
"foreach": "^2.0.5",
"indexof": "^0.0.1",
"is": "^3.3.0",
"nyc": "^10.3.2",
"safe-publish-latest": "^1.1.4",
- "tape": "^5.2.2"
+ "tape": "^5.3.0"
},
"testling": {
"files": "test/index.js",
diff --git a/node_modules/is-string/test/index.js b/node_modules/is-string/test/index.js
index 8fbba42..5239dfa 100644
--- a/node_modules/is-string/test/index.js
+++ b/node_modules/is-string/test/index.js
@@ -2,7 +2,7 @@
var test = require('tape');
var isString = require('../');
-var hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator !== 'undefined';
+var hasToStringTag = require('has-tostringtag/shams')();
test('not Strings', function (t) {
t.notOk(isString(), 'undefined is not String');
@@ -22,7 +22,7 @@
t.end();
});
-test('@@toStringTag', { skip: !hasSymbols || !Symbol.toStringTag }, function (t) {
+test('@@toStringTag', { skip: !hasToStringTag }, function (t) {
var fakeString = {
toString: function () { return '7'; },
valueOf: function () { return '42'; }