Bump eslint-plugin-import to avoid vulnerability in dependency
This commit is contained in:
parent
10695e6a20
commit
ed9506bbaf
1660 changed files with 67726 additions and 27926 deletions
4
node_modules/is-bigint/.eslintrc
generated
vendored
4
node_modules/is-bigint/.eslintrc
generated
vendored
|
|
@ -3,10 +3,6 @@
|
|||
|
||||
"extends": "@ljharb",
|
||||
|
||||
"globals": {
|
||||
"BigInt": true,
|
||||
},
|
||||
|
||||
"rules": {
|
||||
"new-cap": [2, { "capIsNewExceptions": ["BigInt"] }],
|
||||
"operator-linebreak": [2, "before"],
|
||||
|
|
|
|||
17
node_modules/is-bigint/CHANGELOG.md
generated
vendored
17
node_modules/is-bigint/CHANGELOG.md
generated
vendored
|
|
@ -5,6 +5,23 @@ 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.4](https://github.com/inspect-js/is-bigint/compare/v1.0.3...v1.0.4) - 2021-08-11
|
||||
|
||||
### Commits
|
||||
|
||||
- [eslint] remove unnecessary eslintrc file [`7220aa5`](https://github.com/inspect-js/is-bigint/commit/7220aa515c51649b48ba57bb77f92d85e27557d8)
|
||||
- [readme] add github actions/codecov badges [`053a071`](https://github.com/inspect-js/is-bigint/commit/053a07123511eef5a91fd7889ae2d8323fbcf7d7)
|
||||
- [Deps] add `has-bigints` as a runtime dependency [`0fc3c9d`](https://github.com/inspect-js/is-bigint/commit/0fc3c9d5165f62500ea9c27943cb302df65432f7)
|
||||
- [Dev Deps] update `tape` [`145f11d`](https://github.com/inspect-js/is-bigint/commit/145f11d1d285d92b3144f48178fe0fb3b2f828d9)
|
||||
|
||||
## [v1.0.3](https://github.com/inspect-js/is-bigint/compare/v1.0.2...v1.0.3) - 2021-08-06
|
||||
|
||||
### Commits
|
||||
|
||||
- [Tests] use `has-tostringtag` for easier checking of Symbol.toStringTag [`3b44080`](https://github.com/inspect-js/is-bigint/commit/3b440801b69689d907b33184134f00d7e8a35f9f)
|
||||
- [Dev Deps] update `auto-changelog`, `eslint`, `object-inspect`, `tape` [`e4d4a6c`](https://github.com/inspect-js/is-bigint/commit/e4d4a6c2ab743b52eda906abd1ed4b0608952533)
|
||||
- [Fix] use `has-bigints` for more robust BigInt detection [`7bb9d7a`](https://github.com/inspect-js/is-bigint/commit/7bb9d7ab42214c12ce25e9f0cfe2af769388c3bb)
|
||||
|
||||
## [v1.0.2](https://github.com/inspect-js/is-bigint/compare/v1.0.1...v1.0.2) - 2021-05-04
|
||||
|
||||
### Commits
|
||||
|
|
|
|||
6
node_modules/is-bigint/README.md
generated
vendored
6
node_modules/is-bigint/README.md
generated
vendored
|
|
@ -1,5 +1,7 @@
|
|||
# is-bigint <sup>[![Version Badge][2]][1]</sup>
|
||||
|
||||
[![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]
|
||||
|
|
@ -36,3 +38,7 @@ Simply clone the repo, `npm install`, and run `npm test`
|
|||
[license-url]: LICENSE
|
||||
[downloads-image]: https://img.shields.io/npm/dm/is-bigint.svg
|
||||
[downloads-url]: https://npm-stat.com/charts.html?package=is-bigint
|
||||
[codecov-image]: https://codecov.io/gh/inspect-js/is-bigint/branch/main/graphs/badge.svg
|
||||
[codecov-url]: https://app.codecov.io/gh/inspect-js/is-bigint/
|
||||
[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-bigint
|
||||
[actions-url]: https://github.com/inspect-js/is-bigint/actions
|
||||
|
|
|
|||
4
node_modules/is-bigint/index.js
generated
vendored
4
node_modules/is-bigint/index.js
generated
vendored
|
|
@ -1,6 +1,8 @@
|
|||
'use strict';
|
||||
|
||||
if (typeof BigInt === 'function') {
|
||||
var hasBigInts = require('has-bigints')();
|
||||
|
||||
if (hasBigInts) {
|
||||
var bigIntValueOf = BigInt.prototype.valueOf;
|
||||
var tryBigInt = function tryBigIntObject(value) {
|
||||
try {
|
||||
|
|
|
|||
13
node_modules/is-bigint/package.json
generated
vendored
13
node_modules/is-bigint/package.json
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "is-bigint",
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.4",
|
||||
"description": "Is this value an ES BigInt?",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
|
@ -33,16 +33,19 @@
|
|||
"url": "https://github.com/inspect-js/is-bigint/issues"
|
||||
},
|
||||
"homepage": "https://github.com/inspect-js/is-bigint#readme",
|
||||
"dependencies": {
|
||||
"has-bigints": "^1.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@ljharb/eslint-config": "^17.6.0",
|
||||
"aud": "^1.1.5",
|
||||
"auto-changelog": "^2.2.1",
|
||||
"eslint": "^7.25.0",
|
||||
"auto-changelog": "^2.3.0",
|
||||
"eslint": "^7.32.0",
|
||||
"has-symbols": "^1.0.2",
|
||||
"nyc": "^10.3.2",
|
||||
"object-inspect": "^1.10.2",
|
||||
"object-inspect": "^1.11.0",
|
||||
"safe-publish-latest": "^1.1.4",
|
||||
"tape": "^5.2.2"
|
||||
"tape": "^5.3.1"
|
||||
},
|
||||
"auto-changelog": {
|
||||
"output": "CHANGELOG.md",
|
||||
|
|
|
|||
7
node_modules/is-bigint/test/.eslintrc
generated
vendored
7
node_modules/is-bigint/test/.eslintrc
generated
vendored
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"rules": {
|
||||
"max-statements-per-line": [2, { "max": 2 }],
|
||||
"no-restricted-properties": 0,
|
||||
"symbol-description": 0,
|
||||
}
|
||||
}
|
||||
11
node_modules/is-bigint/test/index.js
generated
vendored
11
node_modules/is-bigint/test/index.js
generated
vendored
|
|
@ -2,7 +2,11 @@
|
|||
|
||||
var test = require('tape');
|
||||
var inspect = require('object-inspect');
|
||||
var isBigInt = require('..');
|
||||
var hasBigInts = require('has-bigints')();
|
||||
var hasSymbols = require('has-symbols')();
|
||||
var hasToStringTag = require('has-tostringtag/shams')();
|
||||
|
||||
var isBigInt = require('../');
|
||||
|
||||
var debug = function (v, m) { return inspect(v) + ' ' + m; };
|
||||
|
||||
|
|
@ -13,9 +17,6 @@ var forEach = function (arr, func) {
|
|||
}
|
||||
};
|
||||
|
||||
var hasSymbols = require('has-symbols')();
|
||||
var hasBigInts = typeof BigInt === 'function';
|
||||
|
||||
test('non-BigInt values', function (t) {
|
||||
var nonBigInts = [
|
||||
true,
|
||||
|
|
@ -50,7 +51,7 @@ test('faked BigInt values', function (t) {
|
|||
st.end();
|
||||
});
|
||||
|
||||
t.test('faked @@toStringTag', { skip: !hasBigInts || !hasSymbols || !Symbol.toStringTag }, function (st) {
|
||||
t.test('faked @@toStringTag', { skip: !hasBigInts || !hasToStringTag }, function (st) {
|
||||
var fakeBigInt = { valueOf: function () { return BigInt(42); } };
|
||||
fakeBigInt[Symbol.toStringTag] = 'BigInt';
|
||||
st.equal(false, isBigInt(fakeBigInt), 'object with fake BigInt @@toStringTag and valueOf returning a BigInt is not a BigInt');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue