Update checked-in dependencies
This commit is contained in:
parent
3fe5410805
commit
931cd264c2
72 changed files with 2295 additions and 1569 deletions
40
node_modules/.package-lock.json
generated
vendored
40
node_modules/.package-lock.json
generated
vendored
|
|
@ -455,9 +455,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@eslint/js": {
|
||||
"version": "9.11.0",
|
||||
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.11.0.tgz",
|
||||
"integrity": "sha512-LPkkenkDqyzTFauZLLAPhIb48fj6drrfMvRGSL9tS3AcZBSVTllemLSNyCvHNNL2t797S/6DJNSIwRwXgMO/eQ==",
|
||||
"version": "9.11.1",
|
||||
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.11.1.tgz",
|
||||
"integrity": "sha512-/qu+TWz8WwPWc7/HcIJKi+c+MOm46GdVaSlTTQcaqaL53+GsoA6MxWp5PtTx48qbSP7ylM1Kn7nhvkugfJvRSA==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||
|
|
@ -762,8 +762,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@octokit/types": {
|
||||
"version": "13.5.0",
|
||||
"license": "MIT",
|
||||
"version": "13.6.0",
|
||||
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.6.0.tgz",
|
||||
"integrity": "sha512-CrooV/vKCXqwLa+osmHLIMUb87brpgUqlqkPGc6iE2wCkUvTrHiXFMhAKoDDaAAYJrtKtrFTgSQTg5nObBEaew==",
|
||||
"dependencies": {
|
||||
"@octokit/openapi-types": "^22.2.0"
|
||||
}
|
||||
|
|
@ -803,6 +804,12 @@
|
|||
"dev": true,
|
||||
"license": "0BSD"
|
||||
},
|
||||
"node_modules/@rtsao/scc": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@rtsao/scc/-/scc-1.1.0.tgz",
|
||||
"integrity": "sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@schemastore/package": {
|
||||
"version": "0.0.10",
|
||||
"license": "MIT"
|
||||
|
|
@ -2766,26 +2773,27 @@
|
|||
}
|
||||
},
|
||||
"node_modules/eslint-plugin-import": {
|
||||
"version": "2.29.1",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz",
|
||||
"integrity": "sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==",
|
||||
"version": "2.30.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.30.0.tgz",
|
||||
"integrity": "sha512-/mHNE9jINJfiD2EKkg1BKyPyUk4zdnT54YgbOgfjSakWT5oyX/qQLVNTkehyfpcMxZXMy1zyonZ2v7hZTX43Yw==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"array-includes": "^3.1.7",
|
||||
"array.prototype.findlastindex": "^1.2.3",
|
||||
"@rtsao/scc": "^1.1.0",
|
||||
"array-includes": "^3.1.8",
|
||||
"array.prototype.findlastindex": "^1.2.5",
|
||||
"array.prototype.flat": "^1.3.2",
|
||||
"array.prototype.flatmap": "^1.3.2",
|
||||
"debug": "^3.2.7",
|
||||
"doctrine": "^2.1.0",
|
||||
"eslint-import-resolver-node": "^0.3.9",
|
||||
"eslint-module-utils": "^2.8.0",
|
||||
"hasown": "^2.0.0",
|
||||
"is-core-module": "^2.13.1",
|
||||
"eslint-module-utils": "^2.9.0",
|
||||
"hasown": "^2.0.2",
|
||||
"is-core-module": "^2.15.1",
|
||||
"is-glob": "^4.0.3",
|
||||
"minimatch": "^3.1.2",
|
||||
"object.fromentries": "^2.0.7",
|
||||
"object.groupby": "^1.0.1",
|
||||
"object.values": "^1.1.7",
|
||||
"object.fromentries": "^2.0.8",
|
||||
"object.groupby": "^1.0.3",
|
||||
"object.values": "^1.2.0",
|
||||
"semver": "^6.3.1",
|
||||
"tsconfig-paths": "^3.15.0"
|
||||
},
|
||||
|
|
|
|||
2
node_modules/@eslint/js/package.json
generated
vendored
2
node_modules/@eslint/js/package.json
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@eslint/js",
|
||||
"version": "9.11.0",
|
||||
"version": "9.11.1",
|
||||
"description": "ESLint JavaScript language implementation",
|
||||
"main": "./src/index.js",
|
||||
"scripts": {},
|
||||
|
|
|
|||
10
node_modules/@octokit/types/dist-types/AuthInterface.d.ts
generated
vendored
10
node_modules/@octokit/types/dist-types/AuthInterface.d.ts
generated
vendored
|
|
@ -1,8 +1,8 @@
|
|||
import type { EndpointOptions } from "./EndpointOptions";
|
||||
import type { OctokitResponse } from "./OctokitResponse";
|
||||
import type { RequestInterface } from "./RequestInterface";
|
||||
import type { RequestParameters } from "./RequestParameters";
|
||||
import type { Route } from "./Route";
|
||||
import type { EndpointOptions } from "./EndpointOptions.js";
|
||||
import type { OctokitResponse } from "./OctokitResponse.js";
|
||||
import type { RequestInterface } from "./RequestInterface.js";
|
||||
import type { RequestParameters } from "./RequestParameters.js";
|
||||
import type { Route } from "./Route.js";
|
||||
/**
|
||||
* Interface to implement complex authentication strategies for Octokit.
|
||||
* An object Implementing the AuthInterface can directly be passed as the
|
||||
|
|
|
|||
8
node_modules/@octokit/types/dist-types/EndpointDefaults.d.ts
generated
vendored
8
node_modules/@octokit/types/dist-types/EndpointDefaults.d.ts
generated
vendored
|
|
@ -1,7 +1,7 @@
|
|||
import type { RequestHeaders } from "./RequestHeaders";
|
||||
import type { RequestMethod } from "./RequestMethod";
|
||||
import type { RequestParameters } from "./RequestParameters";
|
||||
import type { Url } from "./Url";
|
||||
import type { RequestHeaders } from "./RequestHeaders.js";
|
||||
import type { RequestMethod } from "./RequestMethod.js";
|
||||
import type { RequestParameters } from "./RequestParameters.js";
|
||||
import type { Url } from "./Url.js";
|
||||
/**
|
||||
* The `.endpoint()` method is guaranteed to set all keys defined by RequestParameters
|
||||
* as well as the method property.
|
||||
|
|
|
|||
10
node_modules/@octokit/types/dist-types/EndpointInterface.d.ts
generated
vendored
10
node_modules/@octokit/types/dist-types/EndpointInterface.d.ts
generated
vendored
|
|
@ -1,8 +1,8 @@
|
|||
import type { EndpointDefaults } from "./EndpointDefaults";
|
||||
import type { RequestOptions } from "./RequestOptions";
|
||||
import type { RequestParameters } from "./RequestParameters";
|
||||
import type { Route } from "./Route";
|
||||
import type { Endpoints } from "./generated/Endpoints";
|
||||
import type { EndpointDefaults } from "./EndpointDefaults.js";
|
||||
import type { RequestOptions } from "./RequestOptions.js";
|
||||
import type { RequestParameters } from "./RequestParameters.js";
|
||||
import type { Route } from "./Route.js";
|
||||
import type { Endpoints } from "./generated/Endpoints.js";
|
||||
export interface EndpointInterface<D extends object = object> {
|
||||
/**
|
||||
* Transforms a GitHub REST API endpoint into generic request options
|
||||
|
|
|
|||
6
node_modules/@octokit/types/dist-types/EndpointOptions.d.ts
generated
vendored
6
node_modules/@octokit/types/dist-types/EndpointOptions.d.ts
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
import type { RequestMethod } from "./RequestMethod";
|
||||
import type { Url } from "./Url";
|
||||
import type { RequestParameters } from "./RequestParameters";
|
||||
import type { RequestMethod } from "./RequestMethod.js";
|
||||
import type { Url } from "./Url.js";
|
||||
import type { RequestParameters } from "./RequestParameters.js";
|
||||
export type EndpointOptions = RequestParameters & {
|
||||
method: RequestMethod;
|
||||
url: Url;
|
||||
|
|
|
|||
4
node_modules/@octokit/types/dist-types/OctokitResponse.d.ts
generated
vendored
4
node_modules/@octokit/types/dist-types/OctokitResponse.d.ts
generated
vendored
|
|
@ -1,5 +1,5 @@
|
|||
import type { ResponseHeaders } from "./ResponseHeaders";
|
||||
import type { Url } from "./Url";
|
||||
import type { ResponseHeaders } from "./ResponseHeaders.js";
|
||||
import type { Url } from "./Url.js";
|
||||
export interface OctokitResponse<T, S extends number = number> {
|
||||
headers: ResponseHeaders;
|
||||
/**
|
||||
|
|
|
|||
10
node_modules/@octokit/types/dist-types/RequestInterface.d.ts
generated
vendored
10
node_modules/@octokit/types/dist-types/RequestInterface.d.ts
generated
vendored
|
|
@ -1,8 +1,8 @@
|
|||
import type { EndpointInterface } from "./EndpointInterface";
|
||||
import type { OctokitResponse } from "./OctokitResponse";
|
||||
import type { RequestParameters } from "./RequestParameters";
|
||||
import type { Route } from "./Route";
|
||||
import type { Endpoints } from "./generated/Endpoints";
|
||||
import type { EndpointInterface } from "./EndpointInterface.js";
|
||||
import type { OctokitResponse } from "./OctokitResponse.js";
|
||||
import type { RequestParameters } from "./RequestParameters.js";
|
||||
import type { Route } from "./Route.js";
|
||||
import type { Endpoints } from "./generated/Endpoints.js";
|
||||
export interface RequestInterface<D extends object = object> {
|
||||
/**
|
||||
* Sends a request based on endpoint options
|
||||
|
|
|
|||
8
node_modules/@octokit/types/dist-types/RequestOptions.d.ts
generated
vendored
8
node_modules/@octokit/types/dist-types/RequestOptions.d.ts
generated
vendored
|
|
@ -1,7 +1,7 @@
|
|||
import type { RequestHeaders } from "./RequestHeaders";
|
||||
import type { RequestMethod } from "./RequestMethod";
|
||||
import type { RequestRequestOptions } from "./RequestRequestOptions";
|
||||
import type { Url } from "./Url";
|
||||
import type { RequestHeaders } from "./RequestHeaders.js";
|
||||
import type { RequestMethod } from "./RequestMethod.js";
|
||||
import type { RequestRequestOptions } from "./RequestRequestOptions.js";
|
||||
import type { Url } from "./Url.js";
|
||||
/**
|
||||
* Generic request options as they are returned by the `endpoint()` method
|
||||
*/
|
||||
|
|
|
|||
6
node_modules/@octokit/types/dist-types/RequestParameters.d.ts
generated
vendored
6
node_modules/@octokit/types/dist-types/RequestParameters.d.ts
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
import type { RequestRequestOptions } from "./RequestRequestOptions";
|
||||
import type { RequestHeaders } from "./RequestHeaders";
|
||||
import type { Url } from "./Url";
|
||||
import type { RequestRequestOptions } from "./RequestRequestOptions.js";
|
||||
import type { RequestHeaders } from "./RequestHeaders.js";
|
||||
import type { Url } from "./Url.js";
|
||||
/**
|
||||
* Parameters that can be passed into `request(route, parameters)` or `endpoint(route, parameters)` methods
|
||||
*/
|
||||
|
|
|
|||
6
node_modules/@octokit/types/dist-types/RequestRequestOptions.d.ts
generated
vendored
6
node_modules/@octokit/types/dist-types/RequestRequestOptions.d.ts
generated
vendored
|
|
@ -1,5 +1,5 @@
|
|||
import type { Fetch } from "./Fetch";
|
||||
import type { Signal } from "./Signal";
|
||||
/// <reference types="node" resolution-mode="require"/>
|
||||
import type { Fetch } from "./Fetch.js";
|
||||
/**
|
||||
* Octokit-specific request options which are ignored for the actual request, but can be used by Octokit or plugins to manipulate how the request is sent or how a response is handled
|
||||
*/
|
||||
|
|
@ -11,7 +11,7 @@ export type RequestRequestOptions = {
|
|||
/**
|
||||
* Use an `AbortController` instance to cancel a request. In node you can only cancel streamed requests.
|
||||
*/
|
||||
signal?: Signal;
|
||||
signal?: AbortSignal;
|
||||
/**
|
||||
* If set to `false`, the response body will not be parsed and will be returned as a stream.
|
||||
*/
|
||||
|
|
|
|||
6
node_modules/@octokit/types/dist-types/Signal.d.ts
generated
vendored
6
node_modules/@octokit/types/dist-types/Signal.d.ts
generated
vendored
|
|
@ -1,6 +0,0 @@
|
|||
/**
|
||||
* Abort signal
|
||||
*
|
||||
* @see https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal
|
||||
*/
|
||||
export type Signal = any;
|
||||
2
node_modules/@octokit/types/dist-types/StrategyInterface.d.ts
generated
vendored
2
node_modules/@octokit/types/dist-types/StrategyInterface.d.ts
generated
vendored
|
|
@ -1,4 +1,4 @@
|
|||
import type { AuthInterface } from "./AuthInterface";
|
||||
import type { AuthInterface } from "./AuthInterface.js";
|
||||
export interface StrategyInterface<StrategyOptions extends any[], AuthOptions extends any[], Authentication extends object> {
|
||||
(...args: StrategyOptions): AuthInterface<AuthOptions, Authentication>;
|
||||
}
|
||||
|
|
|
|||
2
node_modules/@octokit/types/dist-types/VERSION.d.ts
generated
vendored
2
node_modules/@octokit/types/dist-types/VERSION.d.ts
generated
vendored
|
|
@ -1 +1 @@
|
|||
export declare const VERSION = "13.5.0";
|
||||
export declare const VERSION = "13.6.0";
|
||||
|
|
|
|||
6
node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts
generated
vendored
6
node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts
generated
vendored
|
|
@ -1,7 +1,7 @@
|
|||
import type { paths } from "@octokit/openapi-types";
|
||||
import type { OctokitResponse } from "../OctokitResponse";
|
||||
import type { RequestHeaders } from "../RequestHeaders";
|
||||
import type { RequestRequestOptions } from "../RequestRequestOptions";
|
||||
import type { OctokitResponse } from "../OctokitResponse.js";
|
||||
import type { RequestHeaders } from "../RequestHeaders.js";
|
||||
import type { RequestRequestOptions } from "../RequestRequestOptions.js";
|
||||
/**
|
||||
* @license (MIT OR CC0-1.0)
|
||||
* @source https://github.com/sindresorhus/type-fest/blob/570e27f8fdaee37ef5d5e0fbf241e0212ff8fc1a/source/simplify.d.ts
|
||||
|
|
|
|||
41
node_modules/@octokit/types/dist-types/index.d.ts
generated
vendored
41
node_modules/@octokit/types/dist-types/index.d.ts
generated
vendored
|
|
@ -1,21 +1,20 @@
|
|||
export * from "./AuthInterface";
|
||||
export * from "./EndpointDefaults";
|
||||
export * from "./EndpointInterface";
|
||||
export * from "./EndpointOptions";
|
||||
export * from "./Fetch";
|
||||
export * from "./OctokitResponse";
|
||||
export * from "./RequestError";
|
||||
export * from "./RequestHeaders";
|
||||
export * from "./RequestInterface";
|
||||
export * from "./RequestMethod";
|
||||
export * from "./RequestOptions";
|
||||
export * from "./RequestParameters";
|
||||
export * from "./RequestRequestOptions";
|
||||
export * from "./ResponseHeaders";
|
||||
export * from "./Route";
|
||||
export * from "./Signal";
|
||||
export * from "./StrategyInterface";
|
||||
export * from "./Url";
|
||||
export * from "./VERSION";
|
||||
export * from "./GetResponseTypeFromEndpointMethod";
|
||||
export * from "./generated/Endpoints";
|
||||
export * from "./AuthInterface.js";
|
||||
export * from "./EndpointDefaults.js";
|
||||
export * from "./EndpointInterface.js";
|
||||
export * from "./EndpointOptions.js";
|
||||
export * from "./Fetch.js";
|
||||
export * from "./OctokitResponse.js";
|
||||
export * from "./RequestError.js";
|
||||
export * from "./RequestHeaders.js";
|
||||
export * from "./RequestInterface.js";
|
||||
export * from "./RequestMethod.js";
|
||||
export * from "./RequestOptions.js";
|
||||
export * from "./RequestParameters.js";
|
||||
export * from "./RequestRequestOptions.js";
|
||||
export * from "./ResponseHeaders.js";
|
||||
export * from "./Route.js";
|
||||
export * from "./StrategyInterface.js";
|
||||
export * from "./Url.js";
|
||||
export * from "./VERSION.js";
|
||||
export * from "./GetResponseTypeFromEndpointMethod.js";
|
||||
export * from "./generated/Endpoints.js";
|
||||
|
|
|
|||
11
node_modules/@octokit/types/package.json
generated
vendored
11
node_modules/@octokit/types/package.json
generated
vendored
|
|
@ -1,10 +1,11 @@
|
|||
{
|
||||
"name": "@octokit/types",
|
||||
"version": "13.5.0",
|
||||
"version": "13.6.0",
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
"provenance": true
|
||||
},
|
||||
"type": "module",
|
||||
"description": "Shared TypeScript definitions for Octokit projects",
|
||||
"dependencies": {
|
||||
"@octokit/openapi-types": "^22.2.0"
|
||||
|
|
@ -20,20 +21,20 @@
|
|||
"author": "Gregor Martynus (https://twitter.com/gr2m)",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@octokit/tsconfig": "^2.0.0",
|
||||
"@octokit/tsconfig": "^4.0.0",
|
||||
"@types/node": ">= 8",
|
||||
"github-openapi-graphql-query": "^4.0.0",
|
||||
"handlebars": "^4.7.6",
|
||||
"json-schema-to-typescript": "^14.0.0",
|
||||
"json-schema-to-typescript": "^15.0.0",
|
||||
"lodash.set": "^4.3.2",
|
||||
"npm-run-all2": "^6.0.0",
|
||||
"pascal-case": "^4.0.0",
|
||||
"prettier": "^3.0.0",
|
||||
"semantic-release": "^23.0.0",
|
||||
"semantic-release": "^24.0.0",
|
||||
"semantic-release-plugin-update-version-in-files": "^1.0.0",
|
||||
"sort-keys": "^5.0.0",
|
||||
"string-to-jsdoc-comment": "^1.0.0",
|
||||
"typedoc": "^0.25.0",
|
||||
"typedoc": "^0.26.0",
|
||||
"typescript": "^5.0.0"
|
||||
},
|
||||
"octokit": {
|
||||
|
|
|
|||
21
node_modules/@rtsao/scc/LICENSE
generated
vendored
Normal file
21
node_modules/@rtsao/scc/LICENSE
generated
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2019 Ryan Tsao
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
49
node_modules/@rtsao/scc/README.md
generated
vendored
Normal file
49
node_modules/@rtsao/scc/README.md
generated
vendored
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
# `@rtsao/scc`
|
||||
|
||||
Find strongly connected components of a directed graph using [Tarjan's algorithm](https://en.wikipedia.org/wiki/Tarjan%27s_strongly_connected_components_algorithm).
|
||||
|
||||
This algorithm efficiently yields both a topological order and list of any cycles.
|
||||
|
||||
## Installation
|
||||
|
||||
```
|
||||
yarn add @rtsao/scc
|
||||
```
|
||||
|
||||
```
|
||||
npm install @rtsao/scc
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const scc = require("@rtsao/scc");
|
||||
|
||||
const digraph = new Map([
|
||||
["a", new Set(["c", "d"])],
|
||||
["b", new Set(["a"])],
|
||||
["c", new Set(["b"])],
|
||||
["d", new Set(["e"])],
|
||||
["e", new Set()]
|
||||
]);
|
||||
|
||||
const components = scc(digraph);
|
||||
// [ Set { 'e' }, Set { 'd' }, Set { 'b', 'c', 'a' } ]
|
||||
```
|
||||
|
||||
#### Illustration of example input digraph
|
||||
```
|
||||
┌───┐ ┌───┐
|
||||
│ d │ ◀── │ a │ ◀┐
|
||||
└───┘ └───┘ │
|
||||
│ │ │
|
||||
▼ ▼ │
|
||||
┌───┐ ┌───┐ │
|
||||
│ e │ │ c │ │
|
||||
└───┘ └───┘ │
|
||||
│ │
|
||||
▼ │
|
||||
┌───┐ │
|
||||
│ b │ ─┘
|
||||
└───┘
|
||||
```
|
||||
1
node_modules/@rtsao/scc/index.d.ts
generated
vendored
Normal file
1
node_modules/@rtsao/scc/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
export default function tarjan<T>(graph: Map<T, Set<T>>): Array<Set<T>>
|
||||
51
node_modules/@rtsao/scc/index.js
generated
vendored
Normal file
51
node_modules/@rtsao/scc/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
"use strict";
|
||||
|
||||
module.exports = tarjan;
|
||||
|
||||
// Adapted from https://en.wikipedia.org/wiki/Tarjan%27s_strongly_connected_components_algorithm#The_algorithm_in_pseudocode
|
||||
|
||||
function tarjan(graph) {
|
||||
const indices = new Map();
|
||||
const lowlinks = new Map();
|
||||
const onStack = new Set();
|
||||
const stack = [];
|
||||
const scc = [];
|
||||
let idx = 0;
|
||||
|
||||
function strongConnect(v) {
|
||||
indices.set(v, idx);
|
||||
lowlinks.set(v, idx);
|
||||
idx++;
|
||||
stack.push(v);
|
||||
onStack.add(v);
|
||||
|
||||
const deps = graph.get(v);
|
||||
for (const dep of deps) {
|
||||
if (!indices.has(dep)) {
|
||||
strongConnect(dep);
|
||||
lowlinks.set(v, Math.min(lowlinks.get(v), lowlinks.get(dep)));
|
||||
} else if (onStack.has(dep)) {
|
||||
lowlinks.set(v, Math.min(lowlinks.get(v), indices.get(dep)));
|
||||
}
|
||||
}
|
||||
|
||||
if (lowlinks.get(v) === indices.get(v)) {
|
||||
const vertices = new Set();
|
||||
let w = null;
|
||||
while (v !== w) {
|
||||
w = stack.pop();
|
||||
onStack.delete(w);
|
||||
vertices.add(w);
|
||||
}
|
||||
scc.push(vertices);
|
||||
}
|
||||
}
|
||||
|
||||
for (const v of graph.keys()) {
|
||||
if (!indices.has(v)) {
|
||||
strongConnect(v);
|
||||
}
|
||||
}
|
||||
|
||||
return scc;
|
||||
}
|
||||
5
node_modules/@rtsao/scc/index.js.flow
generated
vendored
Normal file
5
node_modules/@rtsao/scc/index.js.flow
generated
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// @flow
|
||||
|
||||
declare function tarjan<T>(graph: Map<T, Set<T>>): Array<Set<T>>;
|
||||
|
||||
declare module.exports: typeof tarjan;
|
||||
7
node_modules/@rtsao/scc/package.json
generated
vendored
Normal file
7
node_modules/@rtsao/scc/package.json
generated
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"name": "@rtsao/scc",
|
||||
"version": "1.1.0",
|
||||
"repository": "rtsao/scc",
|
||||
"main": "index.js",
|
||||
"license": "MIT"
|
||||
}
|
||||
68
node_modules/eslint-plugin-import/CHANGELOG.md
generated
vendored
68
node_modules/eslint-plugin-import/CHANGELOG.md
generated
vendored
|
|
@ -6,6 +6,34 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.30.0] - 2024-09-02
|
||||
|
||||
### Added
|
||||
- [`dynamic-import-chunkname`]: add `allowEmpty` option to allow empty leading comments ([#2942], thanks [@JiangWeixian])
|
||||
- [`dynamic-import-chunkname`]: Allow empty chunk name when webpackMode: 'eager' is set; add suggestions to remove name in eager mode ([#3004], thanks [@amsardesai])
|
||||
- [`no-unused-modules`]: Add `ignoreUnusedTypeExports` option ([#3011], thanks [@silverwind])
|
||||
- add support for Flat Config ([#3018], thanks [@michaelfaith])
|
||||
|
||||
### Fixed
|
||||
- [`no-extraneous-dependencies`]: allow wrong path ([#3012], thanks [@chabb])
|
||||
- [`no-cycle`]: use scc algorithm to optimize ([#2998], thanks [@soryy708])
|
||||
- [`no-duplicates`]: Removing duplicates breaks in TypeScript ([#3033], thanks [@yesl-kim])
|
||||
- [`newline-after-import`]: fix considerComments option when require ([#2952], thanks [@developer-bandi])
|
||||
- [`order`]: do not compare first path segment for relative paths ([#2682]) ([#2885], thanks [@mihkeleidast])
|
||||
|
||||
### Changed
|
||||
- [Docs] `no-extraneous-dependencies`: Make glob pattern description more explicit ([#2944], thanks [@mulztob])
|
||||
- [`no-unused-modules`]: add console message to help debug [#2866]
|
||||
- [Refactor] `ExportMap`: make procedures static instead of monkeypatching exportmap ([#2982], thanks [@soryy708])
|
||||
- [Refactor] `ExportMap`: separate ExportMap instance from its builder logic ([#2985], thanks [@soryy708])
|
||||
- [Docs] `order`: Add a quick note on how unbound imports and --fix ([#2640], thanks [@minervabot])
|
||||
- [Tests] appveyor -> GHA (run tests on Windows in both pwsh and WSL + Ubuntu) ([#2987], thanks [@joeyguerra])
|
||||
- [actions] migrate OSX tests to GHA ([ljharb#37], thanks [@aks-])
|
||||
- [Refactor] `exportMapBuilder`: avoid hoisting ([#2989], thanks [@soryy708])
|
||||
- [Refactor] `ExportMap`: extract "builder" logic to separate files ([#2991], thanks [@soryy708])
|
||||
- [Docs] [`order`]: update the description of the `pathGroupsExcludedImportTypes` option ([#3036], thanks [@liby])
|
||||
- [readme] Clarify how to install the plugin ([#2993], thanks [@jwbth])
|
||||
|
||||
## [2.29.1] - 2023-12-14
|
||||
|
||||
### Fixed
|
||||
|
|
@ -1101,8 +1129,26 @@ for info on changes for earlier releases.
|
|||
|
||||
[`memo-parser`]: ./memo-parser/README.md
|
||||
|
||||
[#3036]: https://github.com/import-js/eslint-plugin-import/pull/3036
|
||||
[#3033]: https://github.com/import-js/eslint-plugin-import/pull/3033
|
||||
[#3018]: https://github.com/import-js/eslint-plugin-import/pull/3018
|
||||
[#3012]: https://github.com/import-js/eslint-plugin-import/pull/3012
|
||||
[#3011]: https://github.com/import-js/eslint-plugin-import/pull/3011
|
||||
[#3004]: https://github.com/import-js/eslint-plugin-import/pull/3004
|
||||
[#2998]: https://github.com/import-js/eslint-plugin-import/pull/2998
|
||||
[#2993]: https://github.com/import-js/eslint-plugin-import/pull/2993
|
||||
[#2991]: https://github.com/import-js/eslint-plugin-import/pull/2991
|
||||
[#2989]: https://github.com/import-js/eslint-plugin-import/pull/2989
|
||||
[#2987]: https://github.com/import-js/eslint-plugin-import/pull/2987
|
||||
[#2985]: https://github.com/import-js/eslint-plugin-import/pull/2985
|
||||
[#2982]: https://github.com/import-js/eslint-plugin-import/pull/2982
|
||||
[#2952]: https://github.com/import-js/eslint-plugin-import/pull/2952
|
||||
[#2944]: https://github.com/import-js/eslint-plugin-import/pull/2944
|
||||
[#2942]: https://github.com/import-js/eslint-plugin-import/pull/2942
|
||||
[#2919]: https://github.com/import-js/eslint-plugin-import/pull/2919
|
||||
[#2885]: https://github.com/import-js/eslint-plugin-import/pull/2885
|
||||
[#2884]: https://github.com/import-js/eslint-plugin-import/pull/2884
|
||||
[#2866]: https://github.com/import-js/eslint-plugin-import/pull/2866
|
||||
[#2854]: https://github.com/import-js/eslint-plugin-import/pull/2854
|
||||
[#2851]: https://github.com/import-js/eslint-plugin-import/pull/2851
|
||||
[#2850]: https://github.com/import-js/eslint-plugin-import/pull/2850
|
||||
|
|
@ -1116,6 +1162,7 @@ for info on changes for earlier releases.
|
|||
[#2735]: https://github.com/import-js/eslint-plugin-import/pull/2735
|
||||
[#2699]: https://github.com/import-js/eslint-plugin-import/pull/2699
|
||||
[#2664]: https://github.com/import-js/eslint-plugin-import/pull/2664
|
||||
[#2640]: https://github.com/import-js/eslint-plugin-import/pull/2640
|
||||
[#2613]: https://github.com/import-js/eslint-plugin-import/pull/2613
|
||||
[#2608]: https://github.com/import-js/eslint-plugin-import/pull/2608
|
||||
[#2605]: https://github.com/import-js/eslint-plugin-import/pull/2605
|
||||
|
|
@ -1440,9 +1487,12 @@ for info on changes for earlier releases.
|
|||
[#164]: https://github.com/import-js/eslint-plugin-import/pull/164
|
||||
[#157]: https://github.com/import-js/eslint-plugin-import/pull/157
|
||||
|
||||
[ljharb#37]: https://github.com/ljharb/eslint-plugin-import/pull/37
|
||||
|
||||
[#2930]: https://github.com/import-js/eslint-plugin-import/issues/2930
|
||||
[#2687]: https://github.com/import-js/eslint-plugin-import/issues/2687
|
||||
[#2684]: https://github.com/import-js/eslint-plugin-import/issues/2684
|
||||
[#2682]: https://github.com/import-js/eslint-plugin-import/issues/2682
|
||||
[#2674]: https://github.com/import-js/eslint-plugin-import/issues/2674
|
||||
[#2668]: https://github.com/import-js/eslint-plugin-import/issues/2668
|
||||
[#2666]: https://github.com/import-js/eslint-plugin-import/issues/2666
|
||||
|
|
@ -1567,7 +1617,8 @@ for info on changes for earlier releases.
|
|||
[#119]: https://github.com/import-js/eslint-plugin-import/issues/119
|
||||
[#89]: https://github.com/import-js/eslint-plugin-import/issues/89
|
||||
|
||||
[Unreleased]: https://github.com/import-js/eslint-plugin-import/compare/v2.29.1...HEAD
|
||||
[Unreleased]: https://github.com/import-js/eslint-plugin-import/compare/v2.30.0...HEAD
|
||||
[2.30.0]: https://github.com/import-js/eslint-plugin-import/compare/v2.29.1...v2.30.0
|
||||
[2.29.1]: https://github.com/import-js/eslint-plugin-import/compare/v2.29.0...v2.29.1
|
||||
[2.29.0]: https://github.com/import-js/eslint-plugin-import/compare/v2.28.1...v2.29.0
|
||||
[2.28.1]: https://github.com/import-js/eslint-plugin-import/compare/v2.28.0...v2.28.1
|
||||
|
|
@ -1672,9 +1723,11 @@ for info on changes for earlier releases.
|
|||
[@adjerbetian]: https://github.com/adjerbetian
|
||||
[@AdriAt360]: https://github.com/AdriAt360
|
||||
[@ai]: https://github.com/ai
|
||||
[@aks-]: https://github.com/aks-
|
||||
[@aladdin-add]: https://github.com/aladdin-add
|
||||
[@alex-page]: https://github.com/alex-page
|
||||
[@alexgorbatchev]: https://github.com/alexgorbatchev
|
||||
[@amsardesai]: https://github.com/amsardesai
|
||||
[@andreubotella]: https://github.com/andreubotella
|
||||
[@AndrewLeedham]: https://github.com/AndrewLeedham
|
||||
[@andyogo]: https://github.com/andyogo
|
||||
|
|
@ -1699,11 +1752,13 @@ for info on changes for earlier releases.
|
|||
[@bicstone]: https://github.com/bicstone
|
||||
[@Blasz]: https://github.com/Blasz
|
||||
[@bmish]: https://github.com/bmish
|
||||
[@developer-bandi]: https://github.com/developer-bandi
|
||||
[@borisyankov]: https://github.com/borisyankov
|
||||
[@bradennapier]: https://github.com/bradennapier
|
||||
[@bradzacher]: https://github.com/bradzacher
|
||||
[@brendo]: https://github.com/brendo
|
||||
[@brettz9]: https://github.com/brettz9
|
||||
[@chabb]: https://github.com/chabb
|
||||
[@Chamion]: https://github.com/Chamion
|
||||
[@charlessuh]: https://github.com/charlessuh
|
||||
[@charpeni]: https://github.com/charpeni
|
||||
|
|
@ -1770,10 +1825,12 @@ for info on changes for earlier releases.
|
|||
[@jeffshaver]: https://github.com/jeffshaver
|
||||
[@jf248]: https://github.com/jf248
|
||||
[@jfmengels]: https://github.com/jfmengels
|
||||
[@JiangWeixian]: https://github.com/JiangWeixian
|
||||
[@jimbolla]: https://github.com/jimbolla
|
||||
[@jkimbo]: https://github.com/jkimbo
|
||||
[@joaovieira]: https://github.com/joaovieira
|
||||
[@joe-matsec]: https://github.com/joe-matsec
|
||||
[@joeyguerra]: https://github.com/joeyguerra
|
||||
[@johndevedu]: https://github.com/johndevedu
|
||||
[@johnthagen]: https://github.com/johnthagen
|
||||
[@jonboiser]: https://github.com/jonboiser
|
||||
|
|
@ -1783,6 +1840,7 @@ for info on changes for earlier releases.
|
|||
[@jseminck]: https://github.com/jseminck
|
||||
[@julien1619]: https://github.com/julien1619
|
||||
[@justinanastos]: https://github.com/justinanastos
|
||||
[@jwbth]: https://github.com/jwbth
|
||||
[@k15a]: https://github.com/k15a
|
||||
[@kentcdodds]: https://github.com/kentcdodds
|
||||
[@kevin940726]: https://github.com/kevin940726
|
||||
|
|
@ -1830,11 +1888,15 @@ for info on changes for earlier releases.
|
|||
[@meowtec]: https://github.com/meowtec
|
||||
[@mgwalker]: https://github.com/mgwalker
|
||||
[@mhmadhamster]: https://github.com/MhMadHamster
|
||||
[@michaelfaith]: https://github.com/michaelfaith
|
||||
[@mihkeleidast]: https://github.com/mihkeleidast
|
||||
[@MikeyBeLike]: https://github.com/MikeyBeLike
|
||||
[@minervabot]: https://github.com/minervabot
|
||||
[@mpint]: https://github.com/mpint
|
||||
[@mplewis]: https://github.com/mplewis
|
||||
[@mrmckeb]: https://github.com/mrmckeb
|
||||
[@msvab]: https://github.com/msvab
|
||||
[@mulztob]: https://github.com/mulztob
|
||||
[@mx-bernhard]: https://github.com/mx-bernhard
|
||||
[@Nfinished]: https://github.com/Nfinished
|
||||
[@nickofthyme]: https://github.com/nickofthyme
|
||||
|
|
@ -1843,9 +1905,9 @@ for info on changes for earlier releases.
|
|||
[@ntdb]: https://github.com/ntdb
|
||||
[@nwalters512]: https://github.com/nwalters512
|
||||
[@ombene]: https://github.com/ombene
|
||||
[@Pandemic1617]: https://github.com/Pandemic1617
|
||||
[@ota-meshi]: https://github.com/ota-meshi
|
||||
[@OutdatedVersion]: https://github.com/OutdatedVersion
|
||||
[@Pandemic1617]: https://github.com/Pandemic1617
|
||||
[@panrafal]: https://github.com/panrafal
|
||||
[@paztis]: https://github.com/paztis
|
||||
[@pcorpet]: https://github.com/pcorpet
|
||||
|
|
@ -1877,6 +1939,7 @@ for info on changes for earlier releases.
|
|||
[@sergei-startsev]: https://github.com/sergei-startsev
|
||||
[@sharmilajesupaul]: https://github.com/sharmilajesupaul
|
||||
[@sheepsteak]: https://github.com/sheepsteak
|
||||
[@silverwind]: https://github.com/silverwind
|
||||
[@silviogutierrez]: https://github.com/silviogutierrez
|
||||
[@SimenB]: https://github.com/SimenB
|
||||
[@simmo]: https://github.com/simmo
|
||||
|
|
@ -1919,6 +1982,7 @@ for info on changes for earlier releases.
|
|||
[@wtgtybhertgeghgtwtg]: https://github.com/wtgtybhertgeghgtwtg
|
||||
[@xM8WVqaG]: https://github.com/xM8WVqaG
|
||||
[@xpl]: https://github.com/xpl
|
||||
[@yesl-kim]: https://github.com/yesl-kim
|
||||
[@yndajas]: https://github.com/yndajas
|
||||
[@yordis]: https://github.com/yordis
|
||||
[@Zamiell]: https://github.com/Zamiell
|
||||
|
|
|
|||
84
node_modules/eslint-plugin-import/CONTRIBUTING.md
generated
vendored
84
node_modules/eslint-plugin-import/CONTRIBUTING.md
generated
vendored
|
|
@ -1,84 +0,0 @@
|
|||
# Contributing
|
||||
|
||||
Thanks for your interest in helping out! Here are a **few** _weird_ tricks to ~~cut your mortgage in half~~ maximize the global net efficiency of your efforts!
|
||||
|
||||
## TL;DR: Checklist
|
||||
|
||||
When opening an [issue](#issues):
|
||||
|
||||
- [ ] search open/closed issues
|
||||
- [ ] discuss bug/enhancement in new or old issue
|
||||
|
||||
[PR](#prs) time:
|
||||
|
||||
- [ ] write tests
|
||||
- [ ] implement feature/fix bug
|
||||
- [ ] update docs
|
||||
- [ ] make a note in change log
|
||||
|
||||
Remember, you don't need to do it all yourself; any of these are helpful! 😎
|
||||
|
||||
## How to get started
|
||||
|
||||
If you are new to `eslint`, below are a few resources that will help you to familiarize yourself with the project.
|
||||
|
||||
- Watch [this presentation](https://www.youtube.com/watch?v=2W9tUnALrLg) to learn the fundamental concept of Abstract Syntax Trees (AST) and the way `eslint` works under the hood.
|
||||
- Familiarize yourself with the [AST explorer](https://astexplorer.net/) tool. Look into rules in `docs/rules`, create patterns in the rules, then analyze its AST.
|
||||
- Explore the blog posts on how to create a custom rule. [One blog post](https://blog.yonatan.dev/writing-a-custom-eslint-rule-to-spot-undeclared-props/). [Second blog post](https://betterprogramming.pub/creating-custom-eslint-rules-cdc579694608).
|
||||
- Read the official `eslint` [developer guide](https://eslint.org/docs/latest/developer-guide/architecture/).
|
||||
|
||||
## Issues
|
||||
|
||||
### Search open + closed issues for similar cases
|
||||
|
||||
You may find an open issue that closely matches what you are thinking. You may also find a closed issue with discussion that either solves your problem or explains why we are unlikely to solve it in the near future.
|
||||
|
||||
If you find a matching issue that is open, and marked `accepted` and/or `help wanted`, you might want to [open a PR](#prs).
|
||||
|
||||
### Open an issue
|
||||
|
||||
Let's discuss your issue. Could be as simple as unclear documentation or a wonky config file.
|
||||
If you're suggesting a feature, it might exist and need better documentation, or it might be in process. Even given those, some discussion might be warranted to ensure the enhancement is clear.
|
||||
|
||||
You're welcome to jump right to a PR, but without a discussion, can't make any guarantees about merging.
|
||||
|
||||
That said: sometimes seeing the code makes the discussion clearer.😄
|
||||
|
||||
This is a helpful contribution all by itself. Thanks!
|
||||
|
||||
## PRs
|
||||
|
||||
If you would like to implement something, firstly: thanks! Community contributions are a magical thing. Like Redux or [the flux capacitor](https://youtu.be/SR5BfQ4rEqQ?t=2m25s), they make open source possible.
|
||||
|
||||
**Working on your first Pull Request?**
|
||||
You can learn how from this _free_ series [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github).
|
||||
|
||||
Here are some things to keep in mind when working on a PR:
|
||||
|
||||
**Trying to update an inactive Pull Request?**
|
||||
If a PR is open, but unfortunately the author is, for any reason, not available to apply code review fixes or rebase the source branch, then please **do not open a new PR**.
|
||||
Instead, paste a link to your own branch in the PR, and the maintainers can pull in your changes and update the existing PR in-place.
|
||||
|
||||
### Tests
|
||||
|
||||
A PR that is just failing test cases for an existing issue is very helpful, as this can take as much time (if not more) as it takes to implement a new feature or fix a bug.
|
||||
|
||||
If you only have enough time to write tests, fantastic! Submit away. This is a great jumping-off point for a core contributor or even another PR to continue what you've started.
|
||||
|
||||
### Docs
|
||||
|
||||
For enhancements to rules, please update the docs in `docs/rules` matching the rule filename from `src/rules` or the rule description in `meta.docs.description`. Running `npm run update:eslint-docs` will update the [README.md] and rule doc header.
|
||||
|
||||
Bugfixes may not warrant docs changes, though it's worth skimming the existing docs to see if there are any relevant caveats that need to be removed.
|
||||
|
||||
### Changelog
|
||||
|
||||
Please add a quick blurb to the [**Unreleased**](./CHANGELOG.md#unreleased) section of the change log. Give yourself some credit, and please link back to the PR for future reference. This is especially helpful for resolver changes, as the resolvers are less frequently modified and published.
|
||||
|
||||
Note also that the change log can't magically link back to Github entities (i.e. PRs, issues, users) or rules; there are a handful of footnote URL definitions at the bottom. You may need to add one or more URL if you've square-bracketed any such items.
|
||||
|
||||
## Code of Conduct
|
||||
|
||||
Please familiarize yourself with the [Code of Conduct](https://github.com/import-js/.github/blob/main/CODE_OF_CONDUCT.md).
|
||||
|
||||
[README.md]: ./README.md
|
||||
201
node_modules/eslint-plugin-import/README.md
generated
vendored
201
node_modules/eslint-plugin-import/README.md
generated
vendored
|
|
@ -23,7 +23,7 @@ This plugin intends to support linting of ES2015+ (ES6+) import/export syntax, a
|
|||
⌨️ Set in the `typescript` configuration.\
|
||||
🚸 Set in the `warnings` configuration.\
|
||||
🔧 Automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/user-guide/command-line-interface#--fix).\
|
||||
💡 Manually fixable by [editor suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).\
|
||||
💡 Manually fixable by [editor suggestions](https://eslint.org/docs/latest/use/core-concepts#rule-suggestions).\
|
||||
❌ Deprecated.
|
||||
|
||||
### Helpful warnings
|
||||
|
|
@ -73,7 +73,7 @@ This plugin intends to support linting of ES2015+ (ES6+) import/export syntax, a
|
|||
| Name | Description | 💼 | ⚠️ | 🚫 | 🔧 | 💡 | ❌ |
|
||||
| :------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :- | :---- | :- | :- | :- | :- |
|
||||
| [consistent-type-specifier-style](docs/rules/consistent-type-specifier-style.md) | Enforce or ban the use of inline type-only markers for named imports. | | | | 🔧 | | |
|
||||
| [dynamic-import-chunkname](docs/rules/dynamic-import-chunkname.md) | Enforce a leading comment with the webpackChunkName for dynamic imports. | | | | | | |
|
||||
| [dynamic-import-chunkname](docs/rules/dynamic-import-chunkname.md) | Enforce a leading comment with the webpackChunkName for dynamic imports. | | | | | 💡 | |
|
||||
| [exports-last](docs/rules/exports-last.md) | Ensure all exports appear after other statements. | | | | | | |
|
||||
| [extensions](docs/rules/extensions.md) | Ensure consistent use of file extension within the import path. | | | | | | |
|
||||
| [first](docs/rules/first.md) | Ensure all imports appear before other statements. | | | | 🔧 | | |
|
||||
|
|
@ -106,29 +106,60 @@ The maintainers of `eslint-plugin-import` and thousands of other packages are wo
|
|||
npm install eslint-plugin-import --save-dev
|
||||
```
|
||||
|
||||
All rules are off by default. However, you may configure them manually
|
||||
in your `.eslintrc.(yml|json|js)`, or extend one of the canned configs:
|
||||
### Config - Legacy (`.eslintrc`)
|
||||
|
||||
```yaml
|
||||
---
|
||||
extends:
|
||||
- eslint:recommended
|
||||
- plugin:import/recommended
|
||||
# alternatively, 'recommended' is the combination of these two rule sets:
|
||||
- plugin:import/errors
|
||||
- plugin:import/warnings
|
||||
All rules are off by default. However, you may extend one of the preset configs, or configure them manually in your `.eslintrc.(yml|json|js)`.
|
||||
|
||||
# or configure manually:
|
||||
plugins:
|
||||
- import
|
||||
- Extending a preset config:
|
||||
|
||||
rules:
|
||||
import/no-unresolved: [2, {commonjs: true, amd: true}]
|
||||
import/named: 2
|
||||
import/namespace: 2
|
||||
import/default: 2
|
||||
import/export: 2
|
||||
# etc...
|
||||
```jsonc
|
||||
{
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:import/recommended",
|
||||
],
|
||||
}
|
||||
```
|
||||
|
||||
- Configuring manually:
|
||||
|
||||
```jsonc
|
||||
{
|
||||
"rules": {
|
||||
"import/no-unresolved": ["error", { "commonjs": true, "amd": true }]
|
||||
"import/named": "error",
|
||||
"import/namespace": "error",
|
||||
"import/default": "error",
|
||||
"import/export": "error",
|
||||
// etc...
|
||||
},
|
||||
},
|
||||
```
|
||||
|
||||
### Config - Flat (`eslint.config.js`)
|
||||
|
||||
All rules are off by default. However, you may configure them manually in your `eslint.config.(js|cjs|mjs)`, or extend one of the preset configs:
|
||||
|
||||
```js
|
||||
import importPlugin from 'eslint-plugin-import';
|
||||
import js from '@eslint/js';
|
||||
|
||||
export default [
|
||||
js.configs.recommended,
|
||||
importPlugin.flatConfigs.recommended,
|
||||
{
|
||||
files: ['**/*.{js,mjs,cjs}'],
|
||||
languageOptions: {
|
||||
ecmaVersion: 'latest',
|
||||
sourceType: 'module',
|
||||
},
|
||||
rules: {
|
||||
'no-unused-vars': 'off',
|
||||
'import/no-dynamic-require': 'warn',
|
||||
'import/no-nodejs-modules': 'warn',
|
||||
},
|
||||
},
|
||||
];
|
||||
```
|
||||
|
||||
## TypeScript
|
||||
|
|
@ -137,18 +168,23 @@ You may use the following snippet or assemble your own config using the granular
|
|||
|
||||
Make sure you have installed [`@typescript-eslint/parser`] and [`eslint-import-resolver-typescript`] which are used in the following configuration.
|
||||
|
||||
```yaml
|
||||
extends:
|
||||
- eslint:recommended
|
||||
- plugin:import/recommended
|
||||
# the following lines do the trick
|
||||
- plugin:import/typescript
|
||||
settings:
|
||||
import/resolver:
|
||||
# You will also need to install and configure the TypeScript resolver
|
||||
# See also https://github.com/import-js/eslint-import-resolver-typescript#configuration
|
||||
typescript: true
|
||||
node: true
|
||||
```jsonc
|
||||
{
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:import/recommended",
|
||||
// the following lines do the trick
|
||||
"plugin:import/typescript",
|
||||
],
|
||||
"settings": {
|
||||
"import/resolver": {
|
||||
// You will also need to install and configure the TypeScript resolver
|
||||
// See also https://github.com/import-js/eslint-import-resolver-typescript#configuration
|
||||
"typescript": true,
|
||||
"node": true,
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
[`@typescript-eslint/parser`]: https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser
|
||||
|
|
@ -177,6 +213,16 @@ You can reference resolvers in several ways (in order of precedence):
|
|||
|
||||
- as a conventional `eslint-import-resolver` name, like `eslint-import-resolver-foo`:
|
||||
|
||||
```jsonc
|
||||
// .eslintrc
|
||||
{
|
||||
"settings": {
|
||||
// uses 'eslint-import-resolver-foo':
|
||||
"import/resolver": "foo",
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
```yaml
|
||||
# .eslintrc.yml
|
||||
settings:
|
||||
|
|
@ -197,6 +243,15 @@ module.exports = {
|
|||
|
||||
- with a full npm module name, like `my-awesome-npm-module`:
|
||||
|
||||
```jsonc
|
||||
// .eslintrc
|
||||
{
|
||||
"settings": {
|
||||
"import/resolver": "my-awesome-npm-module",
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
```yaml
|
||||
# .eslintrc.yml
|
||||
settings:
|
||||
|
|
@ -292,11 +347,15 @@ In practice, this means rules other than [`no-unresolved`](./docs/rules/no-unres
|
|||
|
||||
`no-unresolved` has its own [`ignore`](./docs/rules/no-unresolved.md#ignore) setting.
|
||||
|
||||
```yaml
|
||||
settings:
|
||||
import/ignore:
|
||||
- \.coffee$ # fraught with parse errors
|
||||
- \.(scss|less|css)$ # can't parse unprocessed CSS modules, either
|
||||
```jsonc
|
||||
{
|
||||
"settings": {
|
||||
"import/ignore": [
|
||||
"\.coffee$", // fraught with parse errors
|
||||
"\.(scss|less|css)$", // can't parse unprocessed CSS modules, either
|
||||
],
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
### `import/core-modules`
|
||||
|
|
@ -315,10 +374,13 @@ import 'electron' // without extra config, will be flagged as unresolved!
|
|||
that would otherwise be unresolved. To avoid this, you may provide `electron` as a
|
||||
core module:
|
||||
|
||||
```yaml
|
||||
# .eslintrc.yml
|
||||
settings:
|
||||
import/core-modules: [ electron ]
|
||||
```jsonc
|
||||
// .eslintrc
|
||||
{
|
||||
"settings": {
|
||||
"import/core-modules": ["electron"],
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
In Electron's specific case, there is a shared config named `electron`
|
||||
|
|
@ -351,11 +413,15 @@ dependency parser will require and use the map key as the parser instead of the
|
|||
configured ESLint parser. This is useful if you're inter-op-ing with TypeScript
|
||||
directly using webpack, for example:
|
||||
|
||||
```yaml
|
||||
# .eslintrc.yml
|
||||
settings:
|
||||
import/parsers:
|
||||
"@typescript-eslint/parser": [ .ts, .tsx ]
|
||||
```jsonc
|
||||
// .eslintrc
|
||||
{
|
||||
"settings": {
|
||||
"import/parsers": {
|
||||
"@typescript-eslint/parser": [".ts", ".tsx"],
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
In this case, [`@typescript-eslint/parser`](https://www.npmjs.com/package/@typescript-eslint/parser)
|
||||
|
|
@ -385,20 +451,28 @@ For long-lasting processes, like [`eslint_d`] or [`eslint-loader`], however, it'
|
|||
|
||||
If you never use [`eslint_d`] or [`eslint-loader`], you may set the cache lifetime to `Infinity` and everything should be fine:
|
||||
|
||||
```yaml
|
||||
# .eslintrc.yml
|
||||
settings:
|
||||
import/cache:
|
||||
lifetime: ∞ # or Infinity
|
||||
```jsonc
|
||||
// .eslintrc
|
||||
{
|
||||
"settings": {
|
||||
"import/cache": {
|
||||
"lifetime": "∞", // or Infinity, in a JS config
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
Otherwise, set some integer, and cache entries will be evicted after that many seconds have elapsed:
|
||||
|
||||
```yaml
|
||||
# .eslintrc.yml
|
||||
settings:
|
||||
import/cache:
|
||||
lifetime: 5 # 30 is the default
|
||||
```jsonc
|
||||
// .eslintrc
|
||||
{
|
||||
"settings": {
|
||||
"import/cache": {
|
||||
"lifetime": 5, // 30 is the default
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
[`eslint_d`]: https://www.npmjs.com/package/eslint_d
|
||||
|
|
@ -412,10 +486,13 @@ By default, any package referenced from [`import/external-module-folders`](#impo
|
|||
|
||||
For example, if your packages in a monorepo are all in `@scope`, you can configure `import/internal-regex` like this
|
||||
|
||||
```yaml
|
||||
# .eslintrc.yml
|
||||
settings:
|
||||
import/internal-regex: ^@scope/
|
||||
```jsonc
|
||||
// .eslintrc
|
||||
{
|
||||
"settings": {
|
||||
"import/internal-regex": "^@scope/",
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
## SublimeLinter-eslint
|
||||
|
|
|
|||
54
node_modules/eslint-plugin-import/RELEASE.md
generated
vendored
54
node_modules/eslint-plugin-import/RELEASE.md
generated
vendored
|
|
@ -1,54 +0,0 @@
|
|||
# Release steps
|
||||
|
||||
1. create a `release-[x.y.z]` branch from tip of `main` (or whatever release commit)
|
||||
|
||||
```bash
|
||||
git checkout main && git pull && git checkout -b release-2.1.0
|
||||
```
|
||||
|
||||
2. bump `package.json` + update CHANGELOG version links for all releasing packages (i.e., root + any resolvers)
|
||||
|
||||
In changelog for core plugin, normally leave [Unreleased] but update its link at the bottom
|
||||
to be rooted at the new version's tag, and add a link for the new version rooted
|
||||
at last version's tag.
|
||||
|
||||
```markdown
|
||||
[Unreleased]: https://github.com/import-js/eslint-plugin-import/compare/v2.0.1...HEAD
|
||||
[2.0.1]: https://github.com/import-js/eslint-plugin-import/compare/v2.0.0...v2.0.1
|
||||
```
|
||||
|
||||
becomes
|
||||
|
||||
```markdown
|
||||
[Unreleased]: https://github.com/import-js/eslint-plugin-import/compare/v2.1.0...HEAD
|
||||
[2.1.0]: https://github.com/import-js/eslint-plugin-import/compare/v2.0.1...v2.1.0
|
||||
[2.0.1]: https://github.com/import-js/eslint-plugin-import/compare/v2.0.0...v2.0.1
|
||||
```
|
||||
|
||||
Generally, don't use `npm version` for this because it creates a tag, which I normally
|
||||
wait until signoff from contributors and actually `npm publish`-ing to snap the tag.
|
||||
|
||||
3. create pull request from `release-[x.y.z]` into `release` branch
|
||||
|
||||
I like this because it
|
||||
- lists all commits in the release
|
||||
- provides a commentary location to discuss the release
|
||||
- builds in CI and provides test results
|
||||
|
||||
4. iterate on feedback
|
||||
- handle other issues
|
||||
- merge more PRs
|
||||
- fix issues in changelog/docs
|
||||
|
||||
5. `npm publish` from `release-[x.y.z]` branch
|
||||
- don't forget resolvers!
|
||||
|
||||
6. tag commit (`v[x.y.z]`)
|
||||
- again, not forgetting resolvers, if needed (`resolvers/[name]/v[t.u.v]`)
|
||||
|
||||
7. merge `release-[x.y.z]` into `release` (
|
||||
- ideally fast-forward, probably with Git CLI instead of Github
|
||||
|
||||
8. merge `release` into `main`
|
||||
|
||||
Done!
|
||||
14
node_modules/eslint-plugin-import/config/flat/errors.js
generated
vendored
Normal file
14
node_modules/eslint-plugin-import/config/flat/errors.js
generated
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* unopinionated config. just the things that are necessarily runtime errors
|
||||
* waiting to happen.
|
||||
* @type {Object}
|
||||
*/
|
||||
module.exports = {
|
||||
rules: {
|
||||
'import/no-unresolved': 2,
|
||||
'import/named': 2,
|
||||
'import/namespace': 2,
|
||||
'import/default': 2,
|
||||
'import/export': 2,
|
||||
},
|
||||
};
|
||||
19
node_modules/eslint-plugin-import/config/flat/react.js
generated
vendored
Normal file
19
node_modules/eslint-plugin-import/config/flat/react.js
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/**
|
||||
* Adds `.jsx` as an extension, and enables JSX parsing.
|
||||
*
|
||||
* Even if _you_ aren't using JSX (or .jsx) directly, if your dependencies
|
||||
* define jsnext:main and have JSX internally, you may run into problems
|
||||
* if you don't enable these settings at the top level.
|
||||
*/
|
||||
module.exports = {
|
||||
settings: {
|
||||
'import/extensions': ['.js', '.jsx', '.mjs', '.cjs'],
|
||||
},
|
||||
languageOptions: {
|
||||
parserOptions: {
|
||||
ecmaFeatures: {
|
||||
jsx: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
26
node_modules/eslint-plugin-import/config/flat/recommended.js
generated
vendored
Normal file
26
node_modules/eslint-plugin-import/config/flat/recommended.js
generated
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/**
|
||||
* The basics.
|
||||
* @type {Object}
|
||||
*/
|
||||
module.exports = {
|
||||
rules: {
|
||||
// analysis/correctness
|
||||
'import/no-unresolved': 'error',
|
||||
'import/named': 'error',
|
||||
'import/namespace': 'error',
|
||||
'import/default': 'error',
|
||||
'import/export': 'error',
|
||||
|
||||
// red flags (thus, warnings)
|
||||
'import/no-named-as-default': 'warn',
|
||||
'import/no-named-as-default-member': 'warn',
|
||||
'import/no-duplicates': 'warn',
|
||||
},
|
||||
|
||||
// need all these for parsing dependencies (even if _your_ code doesn't need
|
||||
// all of them)
|
||||
languageOptions: {
|
||||
ecmaVersion: 2018,
|
||||
sourceType: 'module',
|
||||
},
|
||||
};
|
||||
11
node_modules/eslint-plugin-import/config/flat/warnings.js
generated
vendored
Normal file
11
node_modules/eslint-plugin-import/config/flat/warnings.js
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* more opinionated config.
|
||||
* @type {Object}
|
||||
*/
|
||||
module.exports = {
|
||||
rules: {
|
||||
'import/no-named-as-default': 1,
|
||||
'import/no-named-as-default-member': 1,
|
||||
'import/no-duplicates': 1,
|
||||
},
|
||||
};
|
||||
2
node_modules/eslint-plugin-import/config/react.js
generated
vendored
2
node_modules/eslint-plugin-import/config/react.js
generated
vendored
|
|
@ -6,7 +6,6 @@
|
|||
* if you don't enable these settings at the top level.
|
||||
*/
|
||||
module.exports = {
|
||||
|
||||
settings: {
|
||||
'import/extensions': ['.js', '.jsx'],
|
||||
},
|
||||
|
|
@ -14,5 +13,4 @@ module.exports = {
|
|||
parserOptions: {
|
||||
ecmaFeatures: { jsx: true },
|
||||
},
|
||||
|
||||
};
|
||||
|
|
|
|||
2
node_modules/eslint-plugin-import/config/typescript.js
generated
vendored
2
node_modules/eslint-plugin-import/config/typescript.js
generated
vendored
|
|
@ -9,7 +9,7 @@
|
|||
// `.ts`/`.tsx`/`.js`/`.jsx` implementation.
|
||||
const typeScriptExtensions = ['.ts', '.cts', '.mts', '.tsx'];
|
||||
|
||||
const allExtensions = [...typeScriptExtensions, '.js', '.jsx'];
|
||||
const allExtensions = [...typeScriptExtensions, '.js', '.jsx', '.mjs', '.cjs'];
|
||||
|
||||
module.exports = {
|
||||
settings: {
|
||||
|
|
|
|||
44
node_modules/eslint-plugin-import/docs/rules/dynamic-import-chunkname.md
generated
vendored
44
node_modules/eslint-plugin-import/docs/rules/dynamic-import-chunkname.md
generated
vendored
|
|
@ -1,5 +1,7 @@
|
|||
# import/dynamic-import-chunkname
|
||||
|
||||
💡 This rule is manually fixable by [editor suggestions](https://eslint.org/docs/latest/use/core-concepts#rule-suggestions).
|
||||
|
||||
<!-- end auto-generated rule header -->
|
||||
|
||||
This rule reports any dynamic imports without a webpackChunkName specified in a leading block comment in the proper format.
|
||||
|
|
@ -15,7 +17,8 @@ You can also configure the regex format you'd like to accept for the webpackChun
|
|||
{
|
||||
"dynamic-import-chunkname": [2, {
|
||||
importFunctions: ["dynamicImport"],
|
||||
webpackChunknameFormat: "[a-zA-Z0-57-9-/_]+"
|
||||
webpackChunknameFormat: "[a-zA-Z0-57-9-/_]+",
|
||||
allowEmpty: false
|
||||
}]
|
||||
}
|
||||
```
|
||||
|
|
@ -55,6 +58,13 @@ import(
|
|||
// webpackChunkName: "someModule"
|
||||
'someModule',
|
||||
);
|
||||
|
||||
// chunk names are disallowed when eager mode is set
|
||||
import(
|
||||
/* webpackMode: "eager" */
|
||||
/* webpackChunkName: "someModule" */
|
||||
'someModule',
|
||||
)
|
||||
```
|
||||
|
||||
### valid
|
||||
|
|
@ -87,6 +97,38 @@ The following patterns are valid:
|
|||
);
|
||||
```
|
||||
|
||||
### `allowEmpty: true`
|
||||
|
||||
If you want to allow dynamic imports without a webpackChunkName, you can set `allowEmpty: true` in the rule config. This will allow dynamic imports without a leading comment, or with a leading comment that does not contain a webpackChunkName.
|
||||
|
||||
Given `{ "allowEmpty": true }`:
|
||||
|
||||
<!-- markdownlint-disable-next-line MD024 -- duplicate header -->
|
||||
### valid
|
||||
|
||||
The following patterns are valid:
|
||||
|
||||
```javascript
|
||||
import('someModule');
|
||||
|
||||
import(
|
||||
/* webpackChunkName: "someModule" */
|
||||
'someModule',
|
||||
);
|
||||
```
|
||||
<!-- markdownlint-disable-next-line MD024 -- duplicate header -->
|
||||
### invalid
|
||||
|
||||
The following patterns are invalid:
|
||||
|
||||
```javascript
|
||||
// incorrectly formatted comment
|
||||
import(
|
||||
/*webpackChunkName:"someModule"*/
|
||||
'someModule',
|
||||
);
|
||||
```
|
||||
|
||||
## When Not To Use It
|
||||
|
||||
If you don't care that webpack will autogenerate chunk names and may blow up browser caches and bundle size reports.
|
||||
|
|
|
|||
2
node_modules/eslint-plugin-import/docs/rules/no-empty-named-blocks.md
generated
vendored
2
node_modules/eslint-plugin-import/docs/rules/no-empty-named-blocks.md
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
# import/no-empty-named-blocks
|
||||
|
||||
🔧💡 This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix) and manually fixable by [editor suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
|
||||
🔧💡 This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix) and manually fixable by [editor suggestions](https://eslint.org/docs/latest/use/core-concepts#rule-suggestions).
|
||||
|
||||
<!-- end auto-generated rule header -->
|
||||
|
||||
|
|
|
|||
2
node_modules/eslint-plugin-import/docs/rules/no-extraneous-dependencies.md
generated
vendored
2
node_modules/eslint-plugin-import/docs/rules/no-extraneous-dependencies.md
generated
vendored
|
|
@ -32,7 +32,7 @@ You can also use an array of globs instead of literal booleans:
|
|||
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["**/*.test.js", "**/*.spec.js"]}]
|
||||
```
|
||||
|
||||
When using an array of globs, the setting will be set to `true` (no errors reported) if the name of the file being linted matches a single glob in the array, and `false` otherwise.
|
||||
When using an array of globs, the setting will be set to `true` (no errors reported) if the name of the file being linted (i.e. not the imported file/module) matches a single glob in the array, and `false` otherwise.
|
||||
|
||||
There are 2 boolean options to opt into checking extra imports that are normally ignored: `includeInternal`, which enables the checking of internal modules, and `includeTypes`, which enables checking of type imports in TypeScript.
|
||||
|
||||
|
|
|
|||
15
node_modules/eslint-plugin-import/docs/rules/no-unused-modules.md
generated
vendored
15
node_modules/eslint-plugin-import/docs/rules/no-unused-modules.md
generated
vendored
|
|
@ -29,8 +29,9 @@ This rule takes the following option:
|
|||
|
||||
- **`missingExports`**: if `true`, files without any exports are reported (defaults to `false`)
|
||||
- **`unusedExports`**: if `true`, exports without any static usage within other modules are reported (defaults to `false`)
|
||||
- `src`: an array with files/paths to be analyzed. It only applies to unused exports. Defaults to `process.cwd()`, if not provided
|
||||
- `ignoreExports`: an array with files/paths for which unused exports will not be reported (e.g module entry points in a published package)
|
||||
- **`ignoreUnusedTypeExports`**: if `true`, TypeScript type exports without any static usage within other modules are reported (defaults to `false` and has no effect unless `unusedExports` is `true`)
|
||||
- **`src`**: an array with files/paths to be analyzed. It only applies to unused exports. Defaults to `process.cwd()`, if not provided
|
||||
- **`ignoreExports`**: an array with files/paths for which unused exports will not be reported (e.g module entry points in a published package)
|
||||
|
||||
### Example for missing exports
|
||||
|
||||
|
|
@ -116,6 +117,16 @@ export function doAnything() {
|
|||
export default 5 // will not be reported
|
||||
```
|
||||
|
||||
### Unused exports with `ignoreUnusedTypeExports` set to `true`
|
||||
|
||||
The following will not be reported:
|
||||
|
||||
```ts
|
||||
export type Foo = {}; // will not be reported
|
||||
export interface Foo = {}; // will not be reported
|
||||
export enum Foo {}; // will not be reported
|
||||
```
|
||||
|
||||
#### Important Note
|
||||
|
||||
Exports from files listed as a main file (`main`, `browser`, or `bin` fields in `package.json`) will be ignored by default. This only applies if the `package.json` is not set to `private: true`
|
||||
|
|
|
|||
45
node_modules/eslint-plugin-import/docs/rules/order.md
generated
vendored
45
node_modules/eslint-plugin-import/docs/rules/order.md
generated
vendored
|
|
@ -77,6 +77,25 @@ import foo from './foo';
|
|||
var path = require('path');
|
||||
```
|
||||
|
||||
## Limitations of `--fix`
|
||||
|
||||
Unbound imports are assumed to have side effects, and will never be moved/reordered. This can cause other imports to get "stuck" around them, and the fix to fail.
|
||||
|
||||
```javascript
|
||||
import b from 'b'
|
||||
import 'format.css'; // This will prevent --fix from working.
|
||||
import a from 'a'
|
||||
```
|
||||
|
||||
As a workaround, move unbound imports to be entirely above or below bound ones.
|
||||
|
||||
```javascript
|
||||
import 'format1.css'; // OK
|
||||
import b from 'b'
|
||||
import a from 'a'
|
||||
import 'format2.css'; // OK
|
||||
```
|
||||
|
||||
## Options
|
||||
|
||||
This rule supports the following options:
|
||||
|
|
@ -174,7 +193,7 @@ Example:
|
|||
### `pathGroupsExcludedImportTypes: [array]`
|
||||
|
||||
This defines import types that are not handled by configured pathGroups.
|
||||
This is mostly needed when you want to handle path groups that look like external imports.
|
||||
If you have added path groups with patterns that look like `"builtin"` or `"external"` imports, you have to remove this group (`"builtin"` and/or `"external"`) from the default exclusion list (e.g., `["builtin", "external", "object"]`, etc) to sort these path groups correctly.
|
||||
|
||||
Example:
|
||||
|
||||
|
|
@ -193,29 +212,7 @@ Example:
|
|||
}
|
||||
```
|
||||
|
||||
You can also use `patterns`(e.g., `react`, `react-router-dom`, etc).
|
||||
|
||||
Example:
|
||||
|
||||
```json
|
||||
{
|
||||
"import/order": [
|
||||
"error",
|
||||
{
|
||||
"pathGroups": [
|
||||
{
|
||||
"pattern": "react",
|
||||
"group": "builtin",
|
||||
"position": "before"
|
||||
}
|
||||
],
|
||||
"pathGroupsExcludedImportTypes": ["react"]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
The default value is `["builtin", "external", "object"]`.
|
||||
[Import Type](https://github.com/import-js/eslint-plugin-import/blob/HEAD/src/core/importType.js#L90) is resolved as a fixed string in predefined set, it can't be a `patterns`(e.g., `react`, `react-router-dom`, etc). See [#2156] for details.
|
||||
|
||||
### `newlines-between: [ignore|always|always-and-inside-groups|never]`
|
||||
|
||||
|
|
|
|||
856
node_modules/eslint-plugin-import/lib/ExportMap.js
generated
vendored
856
node_modules/eslint-plugin-import/lib/ExportMap.js
generated
vendored
File diff suppressed because one or more lines are too long
49
node_modules/eslint-plugin-import/lib/core/fsWalk.js
generated
vendored
Normal file
49
node_modules/eslint-plugin-import/lib/core/fsWalk.js
generated
vendored
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
'use strict';Object.defineProperty(exports, "__esModule", { value: true });exports.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
walkSync = walkSync;var _path = require('path');var _path2 = _interopRequireDefault(_path);var _fs = require('fs');function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { 'default': obj };} /** @typedef {{ name: string, path: string, dirent: import('fs').Dirent }} Entry */ /**
|
||||
* Do a comprehensive walk of the provided src directory, and collect all entries. Filter out
|
||||
* any directories or entries using the optional filter functions.
|
||||
* @param {string} root - path to the root of the folder we're walking
|
||||
* @param {{ deepFilter?: (entry: Entry) => boolean, entryFilter?: (entry: Entry) => boolean }} options
|
||||
* @param {Entry} currentEntry - entry for the current directory we're working in
|
||||
* @param {Entry[]} existingEntries - list of all entries so far
|
||||
* @returns {Entry[]} an array of directory entries
|
||||
*/ /**
|
||||
* This is intended to provide similar capability as the sync api from @nodelib/fs.walk, until `eslint-plugin-import`
|
||||
* is willing to modernize and update their minimum node version to at least v16. I intentionally made the
|
||||
* shape of the API (for the part we're using) the same as @nodelib/fs.walk so that that can be swapped in
|
||||
* when the repo is ready for it.
|
||||
*/function walkSync(root, options, currentEntry, existingEntries) {// Extract the filter functions. Default to evaluating true, if no filter passed in.
|
||||
var _options$deepFilter = options.deepFilter,deepFilter = _options$deepFilter === undefined ? function () {return true;} : _options$deepFilter,_options$entryFilter = options.entryFilter,entryFilter = _options$entryFilter === undefined ? function () {return true;} : _options$entryFilter;var entryList = existingEntries || [];var currentRelativePath = currentEntry ? currentEntry.path : '.';var fullPath = currentEntry ? _path2['default'].join(root, currentEntry.path) : root;var dirents = (0, _fs.readdirSync)(fullPath, { withFileTypes: true });dirents.forEach(function (dirent) {/** @type {Entry} */var entry = { name: dirent.name, path: _path2['default'].join(currentRelativePath, dirent.name), dirent: dirent };
|
||||
|
||||
|
||||
if (dirent.isDirectory() && deepFilter(entry)) {
|
||||
entryList.push(entry);
|
||||
entryList = walkSync(root, options, entry, entryList);
|
||||
} else if (dirent.isFile() && entryFilter(entry)) {
|
||||
entryList.push(entry);
|
||||
}
|
||||
});
|
||||
|
||||
return entryList;
|
||||
}
|
||||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb3JlL2ZzV2Fsay5qcyJdLCJuYW1lcyI6WyJ3YWxrU3luYyIsInJvb3QiLCJvcHRpb25zIiwiY3VycmVudEVudHJ5IiwiZXhpc3RpbmdFbnRyaWVzIiwiZGVlcEZpbHRlciIsImVudHJ5RmlsdGVyIiwiZW50cnlMaXN0IiwiY3VycmVudFJlbGF0aXZlUGF0aCIsInBhdGgiLCJmdWxsUGF0aCIsImpvaW4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gPT4gdHJ1ZSwgZW50cnlGaWx0ZXIgPSAoKSA9PiB0cnVlIH0gPSBvcHRpb25zO1xuXG4gIGxldCBlbnRyeUxpc3QgPSBleGlzdGluZ0VudHJpZXMgfHwgW107XG4gIGNvbnN0IGN1cnJlbnRSZWxhdGl2ZVBhdGggPSBjdXJyZW50RW50cnkgPyBjdXJyZW50RW50cnkucGF0aCA6ICcuJztcbiAgY29uc3QgZnVsbFBhdGggPSBjdXJyZW50RW50cnkgPyBwYXRoLmpvaW4ocm9vdCwgY3VycmVudEVudHJ5LnBhdGgpIDogcm9vdDtcblxuICBjb25zdCBkaXJlbnRzID0gcmVhZGRpclN5bmMoZnVsbFBhdGgsIHsgd2l0aEZpbGVUeXBlczogdHJ1ZSB9KTtcbiAgZGlyZW50cy5mb3JFYWNoKChkaXJlbnQpID0+IHtcbiAgICAvKiogQHR5cGUge0VudHJ5fSAqL1xuICAgIGNvbnN0IGVudHJ5ID0ge1xuICAgICAgbmFtZTogZGlyZW50Lm5hbWUsXG4gICAgICBwYXRoOiBwYXRoLmpvaW4oY3VycmVudFJlbGF0aXZlUGF0aCwgZGlyZW50Lm5hbWUpLFxuICAgICAgZGlyZW50LFxuICAgIH07XG5cbiAgICBpZiAoZGlyZW50LmlzRGlyZWN0b3J5KCkgJiYgZGVlcEZpbHRlcihlbnRyeSkpIHtcbiAgICAgIGVudHJ5TGlzdC5wdXNoKGVudHJ5KTtcbiAgICAgIGVudHJ5TGlzdCA9IHdhbGtTeW5jKHJvb3QsIG9wdGlvbnMsIGVudHJ5LCBlbnRyeUxpc3QpO1xuICAgIH0gZWxzZSBpZiAoZGlyZW50LmlzRmlsZSgpICYmIGVudHJ5RmlsdGVyKGVudHJ5KSkge1xuICAgICAgZW50cnlMaXN0LnB1c2goZW50cnkpO1xuICAgIH1cbiAgfSk7XG5cbiAgcmV0dXJuIGVudHJ5TGlzdDtcbn1cbiJdfQ==
|
||||
153
node_modules/eslint-plugin-import/lib/core/importType.js
generated
vendored
153
node_modules/eslint-plugin-import/lib/core/importType.js
generated
vendored
File diff suppressed because one or more lines are too long
12
node_modules/eslint-plugin-import/lib/core/packagePath.js
generated
vendored
12
node_modules/eslint-plugin-import/lib/core/packagePath.js
generated
vendored
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
|
||||
|
||||
getContextPackagePath = getContextPackagePath;exports.
|
||||
|
||||
|
||||
|
||||
getFilePackagePath = getFilePackagePath;exports.
|
||||
|
||||
|
||||
|
||||
|
||||
getFilePackageName = getFilePackageName;var _path = require('path');var _pkgUp = require('eslint-module-utils/pkgUp');var _pkgUp2 = _interopRequireDefault(_pkgUp);var _readPkgUp2 = require('eslint-module-utils/readPkgUp');var _readPkgUp3 = _interopRequireDefault(_readPkgUp2);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { 'default': obj };}function getContextPackagePath(context) {return getFilePackagePath(context.getPhysicalFilename ? context.getPhysicalFilename() : context.getFilename());}function getFilePackagePath(filePath) {var fp = (0, _pkgUp2['default'])({ cwd: filePath });return (0, _path.dirname)(fp);}function getFilePackageName(filePath) {var _readPkgUp =
|
||||
getContextPackagePath = getContextPackagePath;exports.
|
||||
|
||||
|
||||
|
||||
getFilePackageName = getFilePackageName;var _path = require('path');var _pkgUp = require('eslint-module-utils/pkgUp');var _pkgUp2 = _interopRequireDefault(_pkgUp);var _readPkgUp2 = require('eslint-module-utils/readPkgUp');var _readPkgUp3 = _interopRequireDefault(_readPkgUp2);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { 'default': obj };}function getFilePackagePath(filePath) {var fp = (0, _pkgUp2['default'])({ cwd: filePath });return (0, _path.dirname)(fp);}function getContextPackagePath(context) {return getFilePackagePath(context.getPhysicalFilename ? context.getPhysicalFilename() : context.getFilename());}function getFilePackageName(filePath) {var _readPkgUp =
|
||||
(0, _readPkgUp3['default'])({ cwd: filePath, normalize: false }),pkg = _readPkgUp.pkg,path = _readPkgUp.path;
|
||||
if (pkg) {
|
||||
// recursion in case of intermediate esm package.json without name found
|
||||
|
|
@ -19,4 +19,4 @@ getFilePackageName = getFilePackageName;var _path = require('path');var _pkgUp =
|
|||
}
|
||||
return null;
|
||||
}
|
||||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb3JlL3BhY2thZ2VQYXRoLmpzIl0sIm5hbWVzIjpbImdldENvbnRleHRQYWNrYWdlUGF0aCIsImdldEZpbGVQYWNrYWdlUGF0aCIsImdldEZpbGVQYWNrYWdlTmFtZSIsImNvbnRleHQiLCJnZXRQaHlzaWNhbEZpbGVuYW1lIiwiZ2V0RmlsZW5hbWUiLCJmaWxlUGF0aCIsImZwIiwiY3dkIiwibm9ybWFsaXplIiwicGtnIiwicGF0aCIsIm5hbWUiXSwibWFwcGluZ3MiOiI7Ozs7QUFJZ0JBLHFCLEdBQUFBLHFCOzs7O0FBSUFDLGtCLEdBQUFBLGtCOzs7OztBQUtBQyxrQixHQUFBQSxrQixDQWJoQiw0QkFDQSxrRCw2Q0FDQSwyRCxxSkFFTyxTQUFTRixxQkFBVCxDQUErQkcsT0FBL0IsRUFBd0MsQ0FDN0MsT0FBT0YsbUJBQW1CRSxRQUFRQyxtQkFBUixHQUE4QkQsUUFBUUMsbUJBQVIsRUFBOUIsR0FBOERELFFBQVFFLFdBQVIsRUFBakYsQ0FBUCxDQUNELENBRU0sU0FBU0osa0JBQVQsQ0FBNEJLLFFBQTVCLEVBQXNDLENBQzNDLElBQU1DLEtBQUssd0JBQU0sRUFBRUMsS0FBS0YsUUFBUCxFQUFOLENBQVgsQ0FDQSxPQUFPLG1CQUFRQyxFQUFSLENBQVAsQ0FDRCxDQUVNLFNBQVNMLGtCQUFULENBQTRCSSxRQUE1QixFQUFzQztBQUNyQiw4QkFBVSxFQUFFRSxLQUFLRixRQUFQLEVBQWlCRyxXQUFXLEtBQTVCLEVBQVYsQ0FEcUIsQ0FDbkNDLEdBRG1DLGNBQ25DQSxHQURtQ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GlmIChwa2cpIHtcbiAgICAvLyByZWN1cnNpb24gaW4gY2FzZSBvZiBpbnRlcm1lZGlhdGUgZXNtIHBhY2thZ2UuanNvbiB3aXRob3V0IG5hbWUgZm91bmRcbiAgICByZXR1cm4gcGtnLm5hbWUgfHwgZ2V0RmlsZVBhY2thZ2VOYW1lKGRpcm5hbWUoZGlybmFtZShwYXRoKSkpO1xuICB9XG4gIHJldHVybiBudWxsO1xufVxuIl19
|
||||
206
node_modules/eslint-plugin-import/lib/exportMap/builder.js
generated
vendored
Normal file
206
node_modules/eslint-plugin-import/lib/exportMap/builder.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
61
node_modules/eslint-plugin-import/lib/exportMap/captureDependency.js
generated
vendored
Normal file
61
node_modules/eslint-plugin-import/lib/exportMap/captureDependency.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
33
node_modules/eslint-plugin-import/lib/exportMap/childContext.js
generated
vendored
Normal file
33
node_modules/eslint-plugin-import/lib/exportMap/childContext.js
generated
vendored
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
'use strict';Object.defineProperty(exports, "__esModule", { value: true });exports['default'] =
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
childContext;var _hash = require('eslint-module-utils/hash');var parserOptionsHash = '';var prevParserOptions = '';var settingsHash = '';var prevSettings = ''; /**
|
||||
* don't hold full context object in memory, just grab what we need.
|
||||
* also calculate a cacheKey, where parts of the cacheKey hash are memoized
|
||||
*/function childContext(path, context) {var settings = context.settings,parserOptions = context.parserOptions,parserPath = context.parserPath;if (JSON.stringify(settings) !== prevSettings) {
|
||||
settingsHash = (0, _hash.hashObject)({ settings: settings }).digest('hex');
|
||||
prevSettings = JSON.stringify(settings);
|
||||
}
|
||||
|
||||
if (JSON.stringify(parserOptions) !== prevParserOptions) {
|
||||
parserOptionsHash = (0, _hash.hashObject)({ parserOptions: parserOptions }).digest('hex');
|
||||
prevParserOptions = JSON.stringify(parserOptions);
|
||||
}
|
||||
|
||||
return {
|
||||
cacheKey: String(parserPath) + parserOptionsHash + settingsHash + String(path),
|
||||
settings: settings,
|
||||
parserOptions: parserOptions,
|
||||
parserPath: parserPath,
|
||||
path: path };
|
||||
|
||||
}
|
||||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9leHBvcnRNYXAvY2hpbGRDb250ZXh0LmpzIl0sIm5hbWVzIjpbImNoaWxkQ29udGV4dCIsInBhcnNlck9wdGlvbnNIYXNoIiwicHJldlBhcnNlck9wdGlvbnMiLCJzZXR0aW5nc0hhc2giLCJwcmV2U2V0dGluZ3MiLCJwYXRoIiwiY29udGV4dCIsInNldHRpbmdzIiwicGFyc2VyT3B0aW9ucyIsInBhcnNlclBhdGgiLCJKU09OIiwic3RyaW5naWZ5IiwiZGlnZXN0IiwiY2FjaGVLZXkiLCJTdHJpbmciXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBV3dCQSxZLENBWHhCLGdEQUVBLElBQUlDLG9CQUFvQixFQUF4QixDQUNBLElBQUlDLG9CQUFvQixFQUF4QixDQUNBLElBQUlDLGVBQWUsRUFBbkIsQ0FDQSxJQUFJQyxlQUFlLEVBQW5CLEMsQ0FFQTs7O21LQUllLFNBQVNKLFlBQVQsQ0FBc0JLLElBQXRCLEVBQTRCQyxPQUE1QixFQUFxQyxLQUMxQ0MsUUFEMEMsR0FDRkQsT0FERSxDQUMxQ0MsUUFEMEMsQ0FDaENDLGFBRGdDLEdBQ0ZGLE9BREUsQ0FDaENFLGFBRGdDLENBQ2pCQyxVQURpQixHQUNGSCxPQURFLENBQ2pCRyxVQURpQixDQUdsRCxJQUFJQyxLQUFLQyxTQUFMLENBQWVKLFFBQWYsTUFBNkJILFlBQWpDLEVBQStDO0FBQzdDRCxtQkFBZSxzQkFBVyxFQUFFSSxrQkFBRixFQUFYLEVBQXlCSyxNQUF6QixDQUF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vbnRleHQpIHtcbiAgY29uc3QgeyBzZXR0aW5ncywgcGFyc2VyT3B0aW9ucywgcGFyc2VyUGF0aCB9ID0gY29udGV4dDtcblxuICBpZiAoSlNPTi5zdHJpbmdpZnkoc2V0dGluZ3MpICE9PSBwcmV2U2V0dGluZ3MpIHtcbiAgICBzZXR0aW5nc0hhc2ggPSBoYXNoT2JqZWN0KHsgc2V0dGluZ3MgfSkuZGlnZXN0KCdoZXgnKTtcbiAgICBwcmV2U2V0dGluZ3MgPSBKU09OLnN0cmluZ2lmeShzZXR0aW5ncyk7XG4gIH1cblxuICBpZiAoSlNPTi5zdHJpbmdpZnkocGFyc2VyT3B0aW9ucykgIT09IHByZXZQYXJzZXJPcHRpb25zKSB7XG4gICAgcGFyc2VyT3B0aW9uc0hhc2ggPSBoYXNoT2JqZWN0KHsgcGFyc2VyT3B0aW9ucyB9KS5kaWdlc3QoJ2hleCcpO1xuICAgIHByZXZQYXJzZXJPcHRpb25zID0gSlNPTi5zdHJpbmdpZnkocGFyc2VyT3B0aW9ucyk7XG4gIH1cblxuICByZXR1cm4ge1xuICAgIGNhY2hlS2V5OiBTdHJpbmcocGFyc2VyUGF0aCkgKyBwYXJzZXJPcHRpb25zSGFzaCArIHNldHRpbmdzSGFzaCArIFN0cmluZyhwYXRoKSxcbiAgICBzZXR0aW5ncyxcbiAgICBwYXJzZXJPcHRpb25zLFxuICAgIHBhcnNlclBhdGgsXG4gICAgcGF0aCxcbiAgfTtcbn1cbiJdfQ==
|
||||
90
node_modules/eslint-plugin-import/lib/exportMap/doc.js
generated
vendored
Normal file
90
node_modules/eslint-plugin-import/lib/exportMap/doc.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
180
node_modules/eslint-plugin-import/lib/exportMap/index.js
generated
vendored
Normal file
180
node_modules/eslint-plugin-import/lib/exportMap/index.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
39
node_modules/eslint-plugin-import/lib/exportMap/namespace.js
generated
vendored
Normal file
39
node_modules/eslint-plugin-import/lib/exportMap/namespace.js
generated
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
'use strict';Object.defineProperty(exports, "__esModule", { value: true });var _createClass = function () {function defineProperties(target, props) {for (var i = 0; i < props.length; i++) {var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if ("value" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);}}return function (Constructor, protoProps, staticProps) {if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;};}();var _childContext = require('./childContext');var _childContext2 = _interopRequireDefault(_childContext);
|
||||
var _remotePath = require('./remotePath');function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { 'default': obj };}function _classCallCheck(instance, Constructor) {if (!(instance instanceof Constructor)) {throw new TypeError("Cannot call a class as a function");}}var
|
||||
|
||||
Namespace = function () {
|
||||
function Namespace(
|
||||
path,
|
||||
context,
|
||||
ExportMapBuilder)
|
||||
{_classCallCheck(this, Namespace);
|
||||
this.remotePathResolver = new _remotePath.RemotePath(path, context);
|
||||
this.context = context;
|
||||
this.ExportMapBuilder = ExportMapBuilder;
|
||||
this.namespaces = new Map();
|
||||
}_createClass(Namespace, [{ key: 'resolveImport', value: function () {function resolveImport(
|
||||
|
||||
value) {
|
||||
var rp = this.remotePathResolver.resolve(value);
|
||||
if (rp == null) {return null;}
|
||||
return this.ExportMapBuilder['for']((0, _childContext2['default'])(rp, this.context));
|
||||
}return resolveImport;}() }, { key: 'getNamespace', value: function () {function getNamespace(
|
||||
|
||||
identifier) {var _this = this;
|
||||
if (!this.namespaces.has(identifier.name)) {return;}
|
||||
return function () {return _this.resolveImport(_this.namespaces.get(identifier.name));};
|
||||
}return getNamespace;}() }, { key: 'add', value: function () {function add(
|
||||
|
||||
object, identifier) {
|
||||
var nsfn = this.getNamespace(identifier);
|
||||
if (nsfn) {
|
||||
Object.defineProperty(object, 'namespace', { get: nsfn });
|
||||
}
|
||||
|
||||
return object;
|
||||
}return add;}() }, { key: 'rawSet', value: function () {function rawSet(
|
||||
|
||||
name, value) {
|
||||
this.namespaces.set(name, value);
|
||||
}return rawSet;}() }]);return Namespace;}();exports['default'] = Namespace;
|
||||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9leHBvcnRNYXAvbmFtZXNwYWNlLmpzIl0sIm5hbWVzIjpbIk5hbWVzcGFjZSIsInBhdGgiLCJjb250ZXh0IiwiRXhwb3J0TWFwQnVpbGRlciIsInJlbW90ZVBhdGhSZXNvbHZlciIsIlJlbW90ZVBhdGgiLCJuYW1lc3BhY2VzIiwiTWFwIiwidmFsdWUiLCJycCIsInJlc29sdmUiLCJpZGVudGlmaWVyIiwiaGFzIiwibmFtZSIsInJlc29sdmVJbXBvcnQiLCJnZXQiLCJvYmplY3QiLCJuc2ZuIiwiZ2V0TmFtZXNwYWNlIiwiT2JqZWN0IiwiZGVmaW5lUHJvcGVydHkiLCJzZXQiXSwibWFwcGluZ3MiOiJnbkJBQUEsOEM7QUFDQSwwQzs7QUFFcUJBLFM7QUFDbkI7QUFDRUMsTUFERjtBQUVFQyxTQUZGO0FBR0VDLGtCQUhGO0FBSUU7QUFDQSxTQUFLQyxrQkFBTCxHQUEwQixJQUFJQyxzQkFBSixDQUFlSixJQUFmLEVBQXFCQyxPQUFyQixDQUExQjtBQUNBLFNBQUtBLE9BQUwsR0FBZUEsT0FBZjtBQUNBLFNBQUtDLGdCQUFMLEdBQXdCQSxnQkFBeEI7QUFDQSxTQUFLRyxVQUFMLEdBQWtCLElBQUlDLEdBQUosRUFBbEI7QUFDRCxHOztBQUVhQyxXLEVBQU87QUFDbkIsWUFBTUMsS0FBSyxLQUFLTCxrQkFBTCxDQUF3Qk0sT0FBeEIsQ0FBZ0NGLEtBQWhDLENBQVg7QUFDQSxZQUFJQyxNQUFNLElBQVYsRUFBZ0IsQ0FBRSxPQUFPLEl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QobmFtZSwgdmFsdWUpO1xuICB9XG59XG4iXX0=
|
||||
41
node_modules/eslint-plugin-import/lib/exportMap/patternCapture.js
generated
vendored
Normal file
41
node_modules/eslint-plugin-import/lib/exportMap/patternCapture.js
generated
vendored
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
'use strict';Object.defineProperty(exports, "__esModule", { value: true });exports['default'] =
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
recursivePatternCapture; /**
|
||||
* Traverse a pattern/identifier node, calling 'callback'
|
||||
* for each leaf identifier.
|
||||
* @param {node} pattern
|
||||
* @param {Function} callback
|
||||
* @return {void}
|
||||
*/function recursivePatternCapture(pattern, callback) {switch (pattern.type) {case 'Identifier': // base case
|
||||
callback(pattern);break;case 'ObjectPattern':pattern.properties.forEach(function (p) {
|
||||
if (p.type === 'ExperimentalRestProperty' || p.type === 'RestElement') {
|
||||
callback(p.argument);
|
||||
return;
|
||||
}
|
||||
recursivePatternCapture(p.value, callback);
|
||||
});
|
||||
break;
|
||||
|
||||
case 'ArrayPattern':
|
||||
pattern.elements.forEach(function (element) {
|
||||
if (element == null) {return;}
|
||||
if (element.type === 'ExperimentalRestProperty' || element.type === 'RestElement') {
|
||||
callback(element.argument);
|
||||
return;
|
||||
}
|
||||
recursivePatternCapture(element, callback);
|
||||
});
|
||||
break;
|
||||
|
||||
case 'AssignmentPattern':
|
||||
callback(pattern.left);
|
||||
break;
|
||||
default:}
|
||||
|
||||
}
|
||||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9leHBvcnRNYXAvcGF0dGVybkNhcHR1cmUuanMiXSwibmFtZXMiOlsicmVjdXJzaXZlUGF0dGVybkNhcHR1cmUiLCJwYXR0ZXJuIiwiY2FsbGJhY2siLCJ0eXBlIiwicHJvcGVydGllcyIsImZvckVhY2giLCJwIiwiYXJndW1lbnQiLCJ2YWx1ZSIsImVsZW1lbnRzIiwiZ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0gJ1Jlc3RFbGVtZW50Jykge1xuICAgICAgICAgIGNhbGxiYWNrKGVsZW1lbnQuYXJndW1lbnQpO1xuICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuICAgICAgICByZWN1cnNpdmVQYXR0ZXJuQ2FwdHVyZShlbGVtZW50LCBjYWxsYmFjayk7XG4gICAgICB9KTtcbiAgICAgIGJyZWFrO1xuXG4gICAgY2FzZSAnQXNzaWdubWVudFBhdHRlcm4nOlxuICAgICAgY2FsbGJhY2socGF0dGVybi5sZWZ0KTtcbiAgICAgIGJyZWFrO1xuICAgIGRlZmF1bHQ6XG4gIH1cbn1cbiJdfQ==
|
||||
12
node_modules/eslint-plugin-import/lib/exportMap/remotePath.js
generated
vendored
Normal file
12
node_modules/eslint-plugin-import/lib/exportMap/remotePath.js
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
'use strict';Object.defineProperty(exports, "__esModule", { value: true });exports.RemotePath = undefined;var _createClass = function () {function defineProperties(target, props) {for (var i = 0; i < props.length; i++) {var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if ("value" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);}}return function (Constructor, protoProps, staticProps) {if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;};}();var _resolve2 = require('eslint-module-utils/resolve');var _resolve3 = _interopRequireDefault(_resolve2);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { 'default': obj };}function _classCallCheck(instance, Constructor) {if (!(instance instanceof Constructor)) {throw new TypeError("Cannot call a class as a function");}}var
|
||||
|
||||
RemotePath = exports.RemotePath = function () {
|
||||
function RemotePath(path, context) {_classCallCheck(this, RemotePath);
|
||||
this.path = path;
|
||||
this.context = context;
|
||||
}_createClass(RemotePath, [{ key: 'resolve', value: function () {function resolve(
|
||||
|
||||
value) {
|
||||
return _resolve3['default'].relative(value, this.path, this.context.settings);
|
||||
}return resolve;}() }]);return RemotePath;}();
|
||||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9leHBvcnRNYXAvcmVtb3RlUGF0aC5qcyJdLCJuYW1lcyI6WyJSZW1vdGVQYXRoIiwicGF0aCIsImNvbnRleHQiLCJ2YWx1ZSIsInJlc29sdmUiLCJyZWxhdGl2ZSIsInNldHRpbmdzIl0sIm1hcHBpbmdzIjoiK29CQUFBLHVEOztBQUVhQSxVLFdBQUFBLFU7QUFDWCxzQkFBWUMsSUFBWixFQUFrQkMsT0FBbEIsRUFBMkI7QUFDekIsU0FBS0QsSUFBTCxHQUFZQSxJQUFaO0FBQ0EsU0FBS0MsT0FBTCxHQUFlQSxPQUFmO0FBQ0QsRzs7QUFFT0MsVyxFQUFPO0FBQ2IsZUFBT0MscUJBQVFDLFFBQVIsQ0FBaUJGLEtBQWpCLEVBQXdCLEtBQUtGLElBQTdCLEVBQW1DLEtBQUtDLE9BQUwsQ0FBYUksUUFBaEQsQ0FBUDtBQUNELE8iLCJmaWxlIjoicmVtb3RlUGF0aC5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCByZXNvbHZlIGZyb20gJ2VzbGludC1tb2R1bGUtdXRpbHMvcmVzb2x2ZSc7XG5cbmV4cG9ydCBjbGFzcyBSZW1vdGVQYXRoIHtcbiAgY29uc3RydWN0b3IocGF0aCwgY29udGV4dCkge1xuICAgIHRoaXMucGF0aCA9IHBhdGg7XG4gICAgdGhpcy5jb250ZXh0ID0gY29udGV4dDtcbiAgfVxuXG4gIHJlc29sdmUodmFsdWUpIHtcbiAgICByZXR1cm4gcmVzb2x2ZS5yZWxhdGl2ZSh2YWx1ZSwgdGhpcy5wYXRoLCB0aGlzLmNvbnRleHQuc2V0dGluZ3MpO1xuICB9XG59XG4iXX0=
|
||||
33
node_modules/eslint-plugin-import/lib/exportMap/specifier.js
generated
vendored
Normal file
33
node_modules/eslint-plugin-import/lib/exportMap/specifier.js
generated
vendored
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
'use strict';Object.defineProperty(exports, "__esModule", { value: true });exports['default'] = processSpecifier;function processSpecifier(specifier, astNode, exportMap, namespace) {
|
||||
var nsource = astNode.source && astNode.source.value;
|
||||
var exportMeta = {};
|
||||
var local = void 0;
|
||||
|
||||
switch (specifier.type) {
|
||||
case 'ExportDefaultSpecifier':
|
||||
if (!nsource) {return;}
|
||||
local = 'default';
|
||||
break;
|
||||
case 'ExportNamespaceSpecifier':
|
||||
exportMap.namespace.set(specifier.exported.name, Object.defineProperty(exportMeta, 'namespace', {
|
||||
get: function () {function get() {return namespace.resolveImport(nsource);}return get;}() }));
|
||||
|
||||
return;
|
||||
case 'ExportAllDeclaration':
|
||||
exportMap.namespace.set(specifier.exported.name || specifier.exported.value, namespace.add(exportMeta, specifier.source.value));
|
||||
return;
|
||||
case 'ExportSpecifier':
|
||||
if (!astNode.source) {
|
||||
exportMap.namespace.set(specifier.exported.name || specifier.exported.value, namespace.add(exportMeta, specifier.local));
|
||||
return;
|
||||
}
|
||||
// else falls through
|
||||
default:
|
||||
local = specifier.local.name;
|
||||
break;}
|
||||
|
||||
|
||||
// todo: JSDoc
|
||||
exportMap.reexports.set(specifier.exported.name, { local: local, getImport: function () {function getImport() {return namespace.resolveImport(nsource);}return getImport;}() });
|
||||
}
|
||||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9leHBvcnRNYXAvc3BlY2lmaWVyLmpzIl0sIm5hbWVzIjpbInByb2Nlc3NTcGVjaWZpZXIiLCJzcGVjaWZpZXIiLCJhc3ROb2RlIiwiZXhwb3J0TWFwIiwibmFtZXNwYWNlIiwibnNvdXJjZSIsInNvdXJjZSIsInZhbHVlIiwiZXhwb3J0TWV0YSIsImxvY2FsIiwidHlwZSIsInNldCIsImV4cG9ydGVkIiwibmFtZSIsIk9iamVjdCIs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QobnNvdXJjZSkgfSk7XG59XG4iXX0=
|
||||
44
node_modules/eslint-plugin-import/lib/exportMap/typescript.js
generated
vendored
Normal file
44
node_modules/eslint-plugin-import/lib/exportMap/typescript.js
generated
vendored
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
'use strict';Object.defineProperty(exports, "__esModule", { value: true });exports.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
isEsModuleInterop = isEsModuleInterop;var _path = require('path');var _tsconfigLoader = require('tsconfig-paths/lib/tsconfig-loader');var _hash = require('eslint-module-utils/hash');var ts = void 0;var tsconfigCache = new Map();function readTsConfig(context) {var tsconfigInfo = (0, _tsconfigLoader.tsConfigLoader)({ cwd: context.parserOptions && context.parserOptions.tsconfigRootDir || process.cwd(), getEnv: function () {function getEnv(key) {return process.env[key];}return getEnv;}() });try {if (tsconfigInfo.tsConfigPath !== undefined) {// Projects not using TypeScript won't have `typescript` installed.
|
||||
if (!ts) {ts = require('typescript');} // eslint-disable-line import/no-extraneous-dependencies
|
||||
var configFile = ts.readConfigFile(tsconfigInfo.tsConfigPath, ts.sys.readFile);return ts.parseJsonConfigFileContent(configFile.config, ts.sys, (0, _path.dirname)(tsconfigInfo.tsConfigPath));}} catch (e) {// Catch any errors
|
||||
}return null;}function isEsModuleInterop(context) {var cacheKey = (0, _hash.hashObject)({ tsconfigRootDir: context.parserOptions && context.parserOptions.tsconfigRootDir }).digest('hex');
|
||||
var tsConfig = tsconfigCache.get(cacheKey);
|
||||
if (typeof tsConfig === 'undefined') {
|
||||
tsConfig = readTsConfig(context);
|
||||
tsconfigCache.set(cacheKey, tsConfig);
|
||||
}
|
||||
|
||||
return tsConfig && tsConfig.options ? tsConfig.options.esModuleInterop : false;
|
||||
}
|
||||
//# source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oXG4gICAgICAgIGNvbmZpZ0ZpbGUuY29uZmlnLFxuICAgICAgICB0cy5zeXMsXG4gICAgICAgIGRpcm5hbWUodHNjb25maWdJbmZvLnRzQ29uZmlnUGF0aCksXG4gICAgICApO1xuICAgIH1cbiAgfSBjYXRjaCAoZSkge1xuICAgIC8vIENhdGNoIGFueSBlcnJvcnNcbiAgfVxuXG4gIHJldHVybiBudWxsO1xufVxuXG5leHBvcnQgZnVuY3Rpb24gaXNFc01vZHVsZUludGVyb3AoY29udGV4dCkge1xuICBjb25zdCBjYWNoZUtleSA9IGhhc2hPYmplY3Qoe1xuICAgIHRzY29uZmlnUm9vdERpcjogY29udGV4dC5wYXJzZXJPcHRpb25zICYmIGNvbnRleHQucGFyc2VyT3B0aW9ucy50c2NvbmZpZ1Jvb3REaXIsXG4gIH0pLmRpZ2VzdCgnaGV4Jyk7XG4gIGxldCB0c0NvbmZpZyA9IHRzY29uZmlnQ2FjaGUuZ2V0KGNhY2hlS2V5KTtcbiAgaWYgKHR5cGVvZiB0c0NvbmZpZyA9PT0gJ3VuZGVmaW5lZCcpIHtcbiAgICB0c0NvbmZpZyA9IHJlYWRUc0NvbmZpZyhjb250ZXh0KTtcbiAgICB0c2NvbmZpZ0NhY2hlLnNldChjYWNoZUtleSwgdHNDb25maWcpO1xuICB9XG5cbiAgcmV0dXJuIHRzQ29uZmlnICYmIHRzQ29uZmlnLm9wdGlvbnMgPyB0c0NvbmZpZy5vcHRpb25zLmVzTW9kdWxlSW50ZXJvcCA6IGZhbHNlO1xufVxuIl19
|
||||
171
node_modules/eslint-plugin-import/lib/exportMap/visitor.js
generated
vendored
Normal file
171
node_modules/eslint-plugin-import/lib/exportMap/visitor.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
35
node_modules/eslint-plugin-import/lib/index.js
generated
vendored
35
node_modules/eslint-plugin-import/lib/index.js
generated
vendored
File diff suppressed because one or more lines are too long
6
node_modules/eslint-plugin-import/lib/rules/default.js
generated
vendored
6
node_modules/eslint-plugin-import/lib/rules/default.js
generated
vendored
|
|
@ -1,4 +1,4 @@
|
|||
'use strict';var _ExportMap = require('../ExportMap');var _ExportMap2 = _interopRequireDefault(_ExportMap);
|
||||
'use strict';var _builder = require('../exportMap/builder');var _builder2 = _interopRequireDefault(_builder);
|
||||
var _docsUrl = require('../docsUrl');var _docsUrl2 = _interopRequireDefault(_docsUrl);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { 'default': obj };}
|
||||
|
||||
module.exports = {
|
||||
|
|
@ -19,7 +19,7 @@ module.exports = {
|
|||
|
||||
|
||||
if (!defaultSpecifier) {return;}
|
||||
var imports = _ExportMap2['default'].get(node.source.value, context);
|
||||
var imports = _builder2['default'].get(node.source.value, context);
|
||||
if (imports == null) {return;}
|
||||
|
||||
if (imports.errors.length) {
|
||||
|
|
@ -37,4 +37,4 @@ module.exports = {
|
|||
ExportNamedDeclaration: checkDefault.bind(null, 'ExportDefaultSpecifier') };
|
||||
|
||||
}return create;}() };
|
||||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ydWxlcy9kZWZhdWx0LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJtZXRhIiwidHlwZSIsImRvY3MiLCJjYXRlZ29yeSIsImRlc2NyaXB0aW9uIiwidXJsIiwic2NoZW1hIiwiY3JlYXRlIiwiY29udGV4dCIsImNoZWNrRGVmYXVsdCIsInNwZWNpZmllclR5cGUiLCJub2RlIiwiZGVmYXVsdFNwZWNpZmllciIsInNwZWNpZmllcnMiLCJmaW5kIiwic3BlY2lmaWVyIiwiaW1wb3J0cyIsIkV4cG9ydHMiLCJnZXQiLCJzb3VyY2UiLCJ2YWx1ZSIsImVycm9ycyIsImxlbmd0aCIsInJlcG9ydEVycm9ycyIsInVuZGVmaW5lZCIsInJlcG9ydCIsIm1lc3NhZ2UiLCJJbXBvcnREZWNsYXJhdGlvbiI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ZSwgY29udGV4dCk7XG4gICAgICBpZiAoaW1wb3J0cyA9PSBudWxsKSB7IHJldHVybjsgfVxuXG4gICAgICBpZiAoaW1wb3J0cy5lcnJvcnMubGVuZ3RoKSB7XG4gICAgICAgIGltcG9ydHMucmVwb3J0RXJyb3JzKGNvbnRleHQsIG5vZGUpO1xuICAgICAgfSBlbHNlIGlmIChpbXBvcnRzLmdldCgnZGVmYXVsdCcpID09PSB1bmRlZmluZWQpIHtcbiAgICAgICAgY29udGV4dC5yZXBvcnQoe1xuICAgICAgICAgIG5vZGU6IGRlZmF1bHRTcGVjaWZpZXIsXG4gICAgICAgICAgbWVzc2FnZTogYE5vIGRlZmF1bHQgZXhwb3J0IGZvdW5kIGluIGltcG9ydGVkIG1vZHVsZSBcIiR7bm9kZS5zb3VyY2UudmFsdWV9XCIuYCxcbiAgICAgICAgfSk7XG4gICAgICB9XG4gICAgfVxuXG4gICAgcmV0dXJuIHtcbiAgICAgIEltcG9ydERlY2xhcmF0aW9uOiBjaGVja0RlZmF1bHQuYmluZChudWxsLCAnSW1wb3J0RGVmYXVsdFNwZWNpZmllcicpLFxuICAgICAgRXhwb3J0TmFtZWREZWNsYXJhdGlvbjogY2hlY2tEZWZhdWx0LmJpbmQobnVsbCwgJ0V4cG9ydERlZmF1bHRTcGVjaWZpZXInKSxcbiAgICB9O1xuICB9LFxufTtcbiJdfQ==
|
||||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ydWxlcy9kZWZhdWx0LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJtZXRhIiwidHlwZSIsImRvY3MiLCJjYXRlZ29yeSIsImRlc2NyaXB0aW9uIiwidXJsIiwic2NoZW1hIiwiY3JlYXRlIiwiY29udGV4dCIsImNoZWNrRGVmYXVsdCIsInNwZWNpZmllclR5cGUiLCJub2RlIiwiZGVmYXVsdFNwZWNpZmllciIsInN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0U3BlY2lmaWVyID0gbm9kZS5zcGVjaWZpZXJzLmZpbmQoXG4gICAgICAgIChzcGVjaWZpZXIpID0+IHNwZWNpZmllci50eXBlID09PSBzcGVjaWZpZXJUeXBlLFxuICAgICAgKTtcblxuICAgICAgaWYgKCFkZWZhdWx0U3BlY2lmaWVyKSB7IHJldHVybjsgfVxuICAgICAgY29uc3QgaW1wb3J0cyA9IEV4cG9ydE1hcEJ1aWxkZXIuZ2V0KG5vZGUuc291cmNlLnZhbHVlLCBjb250ZXh0KTtcbiAgICAgIGlmIChpbXBvcnRzID09IG51bGwpIHsgcmV0dXJuOyB9XG5cbiAgICAgIGlmIChpbXBvcnRzLmVycm9ycy5sZW5ndGgpIHtcbiAgICAgICAgaW1wb3J0cy5yZXBvcnRFcnJvcnMoY29udGV4dCwgbm9kZSk7XG4gICAgICB9IGVsc2UgaWYgKGltcG9ydHMuZ2V0KCdkZWZhdWx0JykgPT09IHVuZGVmaW5lZCkge1xuICAgICAgICBjb250ZXh0LnJlcG9ydCh7XG4gICAgICAgICAgbm9kZTogZGVmYXVsdFNwZWNpZmllcixcbiAgICAgICAgICBtZXNzYWdlOiBgTm8gZGVmYXVsdCBleHBvcnQgZm91bmQgaW4gaW1wb3J0ZWQgbW9kdWxlIFwiJHtub2RlLnNvdXJjZS52YWx1ZX1cIi5gLFxuICAgICAgICB9KTtcbiAgICAgIH1cbiAgICB9XG5cbiAgICByZXR1cm4ge1xuICAgICAgSW1wb3J0RGVjbGFyYXRpb246IGNoZWNrRGVmYXVsdC5iaW5kKG51bGwsICdJbXBvcnREZWZhdWx0U3BlY2lmaWVyJyksXG4gICAgICBFeHBvcnROYW1lZERlY2xhcmF0aW9uOiBjaGVja0RlZmF1bHQuYmluZChudWxsLCAnRXhwb3J0RGVmYXVsdFNwZWNpZmllcicpLFxuICAgIH07XG4gIH0sXG59O1xuIl19
|
||||
64
node_modules/eslint-plugin-import/lib/rules/dynamic-import-chunkname.js
generated
vendored
64
node_modules/eslint-plugin-import/lib/rules/dynamic-import-chunkname.js
generated
vendored
File diff suppressed because one or more lines are too long
9
node_modules/eslint-plugin-import/lib/rules/export.js
generated
vendored
9
node_modules/eslint-plugin-import/lib/rules/export.js
generated
vendored
File diff suppressed because one or more lines are too long
8
node_modules/eslint-plugin-import/lib/rules/named.js
generated
vendored
8
node_modules/eslint-plugin-import/lib/rules/named.js
generated
vendored
File diff suppressed because one or more lines are too long
13
node_modules/eslint-plugin-import/lib/rules/namespace.js
generated
vendored
13
node_modules/eslint-plugin-import/lib/rules/namespace.js
generated
vendored
File diff suppressed because one or more lines are too long
20
node_modules/eslint-plugin-import/lib/rules/newline-after-import.js
generated
vendored
20
node_modules/eslint-plugin-import/lib/rules/newline-after-import.js
generated
vendored
File diff suppressed because one or more lines are too long
36
node_modules/eslint-plugin-import/lib/rules/no-cycle.js
generated
vendored
36
node_modules/eslint-plugin-import/lib/rules/no-cycle.js
generated
vendored
File diff suppressed because one or more lines are too long
9
node_modules/eslint-plugin-import/lib/rules/no-deprecated.js
generated
vendored
9
node_modules/eslint-plugin-import/lib/rules/no-deprecated.js
generated
vendored
File diff suppressed because one or more lines are too long
184
node_modules/eslint-plugin-import/lib/rules/no-duplicates.js
generated
vendored
184
node_modules/eslint-plugin-import/lib/rules/no-duplicates.js
generated
vendored
File diff suppressed because one or more lines are too long
19
node_modules/eslint-plugin-import/lib/rules/no-extraneous-dependencies.js
generated
vendored
19
node_modules/eslint-plugin-import/lib/rules/no-extraneous-dependencies.js
generated
vendored
File diff suppressed because one or more lines are too long
6
node_modules/eslint-plugin-import/lib/rules/no-named-as-default-member.js
generated
vendored
6
node_modules/eslint-plugin-import/lib/rules/no-named-as-default-member.js
generated
vendored
File diff suppressed because one or more lines are too long
6
node_modules/eslint-plugin-import/lib/rules/no-named-as-default.js
generated
vendored
6
node_modules/eslint-plugin-import/lib/rules/no-named-as-default.js
generated
vendored
|
|
@ -1,4 +1,4 @@
|
|||
'use strict';var _ExportMap = require('../ExportMap');var _ExportMap2 = _interopRequireDefault(_ExportMap);
|
||||
'use strict';var _builder = require('../exportMap/builder');var _builder2 = _interopRequireDefault(_builder);
|
||||
var _importDeclaration = require('../importDeclaration');var _importDeclaration2 = _interopRequireDefault(_importDeclaration);
|
||||
var _docsUrl = require('../docsUrl');var _docsUrl2 = _interopRequireDefault(_docsUrl);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { 'default': obj };}
|
||||
|
||||
|
|
@ -20,7 +20,7 @@ module.exports = {
|
|||
|
||||
var declaration = (0, _importDeclaration2['default'])(context);
|
||||
|
||||
var imports = _ExportMap2['default'].get(declaration.source.value, context);
|
||||
var imports = _builder2['default'].get(declaration.source.value, context);
|
||||
if (imports == null) {return;}
|
||||
|
||||
if (imports.errors.length) {
|
||||
|
|
@ -42,4 +42,4 @@ module.exports = {
|
|||
ExportDefaultSpecifier: checkDefault.bind(null, 'exported') };
|
||||
|
||||
}return create;}() };
|
||||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ydWxlcy9uby1uYW1lZC1hcy1kZWZhdWx0LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJtZXRhIiwidHlwZSIsImRvY3MiLCJjYXRlZ29yeSIsImRlc2NyaXB0aW9uIiwidXJsIiwic2NoZW1hIiwiY3JlYXRlIiwiY29udGV4dCIsImNoZWNrRGVmYXVsdCIsIm5hbWVLZXkiLCJkZWZhdWx0U3BlY2lmaWVyIiwibmFtZSIsImRlY2xhcmF0aW9uIiwiaW1wb3J0cyIsIkV4cG9ydHMiLCJnZXQiLCJzb3VyY2UiLCJ2YWx1ZSIsImVycm9ycyIsImxlbmd0aCIsInJlcG9ydEVycm9ycyIsImhhcyIsInJlcG9ydCIsIkltcG9ydERlZmF1bHRTcGVjaWZpZXIiLCJiaW5kIiwiRXhwb3J0RGVmYXVsdFNwZWNpZmllciJdLCJtYXBwaW5ncyI6ImFBQU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cyA9IEV4cG9ydHMuZ2V0KGRlY2xhcmF0aW9uLnNvdXJjZS52YWx1ZSwgY29udGV4dCk7XG4gICAgICBpZiAoaW1wb3J0cyA9PSBudWxsKSB7IHJldHVybjsgfVxuXG4gICAgICBpZiAoaW1wb3J0cy5lcnJvcnMubGVuZ3RoKSB7XG4gICAgICAgIGltcG9ydHMucmVwb3J0RXJyb3JzKGNvbnRleHQsIGRlY2xhcmF0aW9uKTtcbiAgICAgICAgcmV0dXJuO1xuICAgICAgfVxuXG4gICAgICBpZiAoaW1wb3J0cy5oYXMoJ2RlZmF1bHQnKSAmJiBpbXBvcnRzLmhhcyhkZWZhdWx0U3BlY2lmaWVyW25hbWVLZXldLm5hbWUpKSB7XG5cbiAgICAgICAgY29udGV4dC5yZXBvcnQoXG4gICAgICAgICAgZGVmYXVsdFNwZWNpZmllcixcbiAgICAgICAgICBgVXNpbmcgZXhwb3J0ZWQgbmFtZSAnJHtkZWZhdWx0U3BlY2lmaWVyW25hbWVLZXldLm5hbWV9JyBhcyBpZGVudGlmaWVyIGZvciBkZWZhdWx0IGV4cG9ydC5gLFxuICAgICAgICApO1xuXG4gICAgICB9XG4gICAgfVxuICAgIHJldHVybiB7XG4gICAgICBJbXBvcnREZWZhdWx0U3BlY2lmaWVyOiBjaGVja0RlZmF1bHQuYmluZChudWxsLCAnbG9jYWwnKSxcbiAgICAgIEV4cG9ydERlZmF1bHRTcGVjaWZpZXI6IGNoZWNrRGVmYXVsdC5iaW5kKG51bGwsICdleHBvcnRlZCcpLFxuICAgIH07XG4gIH0sXG59O1xuIl19
|
||||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ydWxlcy9uby1uYW1lZC1hcy1kZWZhdWx0LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJtZXRhIiwidHlwZSIsImRvY3MiLCJjYXRlZ29yeSIsImRlc2NyaXB0aW9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lZmF1bHRTcGVjaWZpZXI6IGNoZWNrRGVmYXVsdC5iaW5kKG51bGwsICdsb2NhbCcpLFxuICAgICAgRXhwb3J0RGVmYXVsdFNwZWNpZmllcjogY2hlY2tEZWZhdWx0LmJpbmQobnVsbCwgJ2V4cG9ydGVkJyksXG4gICAgfTtcbiAgfSxcbn07XG4iXX0=
|
||||
149
node_modules/eslint-plugin-import/lib/rules/no-namespace.js
generated
vendored
149
node_modules/eslint-plugin-import/lib/rules/no-namespace.js
generated
vendored
File diff suppressed because one or more lines are too long
20
node_modules/eslint-plugin-import/lib/rules/no-restricted-paths.js
generated
vendored
20
node_modules/eslint-plugin-import/lib/rules/no-restricted-paths.js
generated
vendored
File diff suppressed because one or more lines are too long
266
node_modules/eslint-plugin-import/lib/rules/no-unused-modules.js
generated
vendored
266
node_modules/eslint-plugin-import/lib/rules/no-unused-modules.js
generated
vendored
File diff suppressed because one or more lines are too long
20
node_modules/eslint-plugin-import/lib/rules/order.js
generated
vendored
20
node_modules/eslint-plugin-import/lib/rules/order.js
generated
vendored
File diff suppressed because one or more lines are too long
86
node_modules/eslint-plugin-import/lib/scc.js
generated
vendored
Normal file
86
node_modules/eslint-plugin-import/lib/scc.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
27
node_modules/eslint-plugin-import/package.json
generated
vendored
27
node_modules/eslint-plugin-import/package.json
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "eslint-plugin-import",
|
||||
"version": "2.29.1",
|
||||
"version": "2.30.0",
|
||||
"description": "Import with sanity.",
|
||||
"engines": {
|
||||
"node": ">=4"
|
||||
|
|
@ -11,6 +11,7 @@
|
|||
},
|
||||
"files": [
|
||||
"*.md",
|
||||
"!{CONTRIBUTING,RELEASE}.md",
|
||||
"LICENSE",
|
||||
"docs",
|
||||
"lib",
|
||||
|
|
@ -30,6 +31,9 @@
|
|||
"test": "npm run tests-only",
|
||||
"test-compiled": "npm run prepublish && BABEL_ENV=testCompiled mocha --compilers js:babel-register tests/src",
|
||||
"test-all": "node --require babel-register ./scripts/testAll",
|
||||
"test-examples": "npm run build && npm run test-example:legacy && npm run test-example:flat",
|
||||
"test-example:legacy": "cd examples/legacy && npm install && npm run lint",
|
||||
"test-example:flat": "cd examples/flat && npm install && npm run lint",
|
||||
"prepublishOnly": "safe-publish-latest && npm run build",
|
||||
"prepublish": "not-in-publish || npm run prepublishOnly",
|
||||
"preupdate:eslint-docs": "npm run build",
|
||||
|
|
@ -82,13 +86,15 @@
|
|||
"eslint-plugin-eslint-plugin": "^2.3.0",
|
||||
"eslint-plugin-import": "2.x",
|
||||
"eslint-plugin-json": "^2.1.2",
|
||||
"find-babel-config": "=1.2.0",
|
||||
"fs-copy-file-sync": "^1.1.1",
|
||||
"glob": "^7.2.3",
|
||||
"in-publish": "^2.0.1",
|
||||
"jackspeak": "=2.1.1",
|
||||
"jsonc-parser": "=3.2.0",
|
||||
"linklocal": "^2.8.2",
|
||||
"lodash.isarray": "^4.0.0",
|
||||
"markdownlint-cli": "^0.38.0",
|
||||
"markdownlint-cli": "~0.35",
|
||||
"mocha": "^3.5.3",
|
||||
"npm-which": "^3.0.1",
|
||||
"nyc": "^11.9.0",
|
||||
|
|
@ -103,21 +109,22 @@
|
|||
"eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8"
|
||||
},
|
||||
"dependencies": {
|
||||
"array-includes": "^3.1.7",
|
||||
"array.prototype.findlastindex": "^1.2.3",
|
||||
"@rtsao/scc": "^1.1.0",
|
||||
"array-includes": "^3.1.8",
|
||||
"array.prototype.findlastindex": "^1.2.5",
|
||||
"array.prototype.flat": "^1.3.2",
|
||||
"array.prototype.flatmap": "^1.3.2",
|
||||
"debug": "^3.2.7",
|
||||
"doctrine": "^2.1.0",
|
||||
"eslint-import-resolver-node": "^0.3.9",
|
||||
"eslint-module-utils": "^2.8.0",
|
||||
"hasown": "^2.0.0",
|
||||
"is-core-module": "^2.13.1",
|
||||
"eslint-module-utils": "^2.9.0",
|
||||
"hasown": "^2.0.2",
|
||||
"is-core-module": "^2.15.1",
|
||||
"is-glob": "^4.0.3",
|
||||
"minimatch": "^3.1.2",
|
||||
"object.fromentries": "^2.0.7",
|
||||
"object.groupby": "^1.0.1",
|
||||
"object.values": "^1.1.7",
|
||||
"object.fromentries": "^2.0.8",
|
||||
"object.groupby": "^1.0.3",
|
||||
"object.values": "^1.2.0",
|
||||
"semver": "^6.3.1",
|
||||
"tsconfig-paths": "^3.15.0"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue