Bump eslint-plugin-import to avoid vulnerability in dependency

This commit is contained in:
Henry Mercer
2023-01-18 20:26:59 +00:00
parent 10695e6a20
commit ed9506bbaf
1660 changed files with 67726 additions and 27926 deletions

View File

@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
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

2
node_modules/is-string/index.js generated vendored
View File

@@ -11,7 +11,7 @@ var tryStringObject = function tryStringObject(value) {
};
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') {

13
node_modules/is-string/package.json generated vendored
View File

@@ -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",

View File

@@ -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 @@ test('not Strings', function (t) {
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'; }