mirror of
https://github.com/github/codeql-action.git
synced 2025-12-24 08:10:06 +08:00
Bump eslint-plugin-import to avoid vulnerability in dependency
This commit is contained in:
7
node_modules/is-string/CHANGELOG.md
generated
vendored
7
node_modules/is-string/CHANGELOG.md
generated
vendored
@@ -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
2
node_modules/is-string/index.js
generated
vendored
@@ -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
13
node_modules/is-string/package.json
generated
vendored
@@ -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",
|
||||
|
||||
4
node_modules/is-string/test/index.js
generated
vendored
4
node_modules/is-string/test/index.js
generated
vendored
@@ -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'; }
|
||||
|
||||
Reference in New Issue
Block a user