mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Update eslint related packages (#48513)
* Update eslint related packages * add errorMessage to no-restricted-paths validation * add license to eslintrc file * ignore broken plugin fixture * upgrade tangled peer deps * give name to unnamed func to avoid typescript-eslint/typescript-eslint#1078 * migrate away from removed prefer-interface * migrate away from removed no-angle-bracket-type-assertions rule * migrate away from removed no-triple-slash-reference rule * old config was invalid and made this rule a noop * fix array-type rule config * fix readonly paramProperties that weren't being checked * fix propType ordering * remove references to non-existent rules * remove unnecessary disable that is improperly formatted * fix comment-related spacing * fix typo/invalid namespace overrides * rename fn to avoid hook-alike behavior * remove reference to old removed rule * use caret version for prettier * reference babel-eslint with absolute path
This commit is contained in:
parent
603e27edb1
commit
feceb0f98e
69 changed files with 361 additions and 291 deletions
|
@ -40,6 +40,7 @@ bower_components
|
|||
/x-pack/legacy/plugins/infra/public/graphql/types.ts
|
||||
/x-pack/legacy/plugins/infra/server/graphql/types.ts
|
||||
/x-pack/legacy/plugins/apm/cypress/**/snapshots.js
|
||||
/src/legacy/plugin_discovery/plugin_pack/__tests__/fixtures/plugins/broken
|
||||
**/graphql/types.ts
|
||||
**/*.js.snap
|
||||
!/.eslintrc.js
|
||||
|
|
20
.eslintrc.js
20
.eslintrc.js
|
@ -1,3 +1,22 @@
|
|||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
const { readdirSync } = require('fs');
|
||||
const { resolve } = require('path');
|
||||
|
||||
|
@ -622,7 +641,6 @@ module.exports = {
|
|||
// will introduced after the other warns are fixed
|
||||
// 'react/sort-comp': 'error',
|
||||
'react/void-dom-elements-no-children': 'error',
|
||||
'react/jsx-boolean-value': ['error', 'warn'],
|
||||
// will introduced after the other warns are fixed
|
||||
// 'react/jsx-no-bind': 'error',
|
||||
'react/jsx-no-comment-textnodes': 'error',
|
||||
|
|
2
kibana.d.ts
vendored
2
kibana.d.ts
vendored
|
@ -35,7 +35,7 @@ import * as LegacyKibanaServer from './src/legacy/server/kbn_server';
|
|||
/**
|
||||
* Re-export legacy types under a namespace.
|
||||
*/
|
||||
// eslint-disable-next-line @typescript/eslint-no-namespace
|
||||
// eslint-disable-next-line @typescript-eslint/no-namespace
|
||||
export namespace Legacy {
|
||||
export type IndexPatternsService = LegacyKibanaServer.IndexPatternsService;
|
||||
export type KibanaConfig = LegacyKibanaServer.KibanaConfig;
|
||||
|
|
36
package.json
36
package.json
|
@ -301,7 +301,7 @@
|
|||
"@types/delete-empty": "^2.0.0",
|
||||
"@types/elasticsearch": "^5.0.33",
|
||||
"@types/enzyme": "^3.9.0",
|
||||
"@types/eslint": "^4.16.8",
|
||||
"@types/eslint": "^6.1.2",
|
||||
"@types/execa": "^0.9.0",
|
||||
"@types/fetch-mock": "^7.3.1",
|
||||
"@types/getopts": "^2.0.1",
|
||||
|
@ -352,8 +352,8 @@
|
|||
"@types/uuid": "^3.4.4",
|
||||
"@types/vinyl-fs": "^2.4.11",
|
||||
"@types/zen-observable": "^0.8.0",
|
||||
"@typescript-eslint/eslint-plugin": "1.13.0",
|
||||
"@typescript-eslint/parser": "1.13.0",
|
||||
"@typescript-eslint/eslint-plugin": "^2.5.0",
|
||||
"@typescript-eslint/parser": "^2.5.0",
|
||||
"angular-mocks": "^1.7.8",
|
||||
"archiver": "^3.1.1",
|
||||
"babel-eslint": "^10.0.3",
|
||||
|
@ -373,21 +373,21 @@
|
|||
"enzyme-adapter-react-16": "^1.14.0",
|
||||
"enzyme-adapter-utils": "^1.12.0",
|
||||
"enzyme-to-json": "^3.3.4",
|
||||
"eslint": "5.16.0",
|
||||
"eslint-config-prettier": "6.3.0",
|
||||
"eslint": "^6.5.1",
|
||||
"eslint-config-prettier": "^6.4.0",
|
||||
"eslint-plugin-babel": "^5.3.0",
|
||||
"eslint-plugin-ban": "1.3.0",
|
||||
"eslint-plugin-cypress": "^2.6.1",
|
||||
"eslint-plugin-import": "2.18.2",
|
||||
"eslint-plugin-jest": "22.17.0",
|
||||
"eslint-plugin-jsx-a11y": "6.2.3",
|
||||
"eslint-plugin-mocha": "6.1.1",
|
||||
"eslint-plugin-no-unsanitized": "3.0.2",
|
||||
"eslint-plugin-node": "9.2.0",
|
||||
"eslint-plugin-prefer-object-spread": "1.2.1",
|
||||
"eslint-plugin-prettier": "3.1.1",
|
||||
"eslint-plugin-react": "7.13.0",
|
||||
"eslint-plugin-react-hooks": "1.6.0",
|
||||
"eslint-plugin-ban": "^1.3.0",
|
||||
"eslint-plugin-cypress": "^2.7.0",
|
||||
"eslint-plugin-import": "^2.18.2",
|
||||
"eslint-plugin-jest": "^22.19.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.2.3",
|
||||
"eslint-plugin-mocha": "^6.2.0",
|
||||
"eslint-plugin-no-unsanitized": "^3.0.2",
|
||||
"eslint-plugin-node": "^10.0.0",
|
||||
"eslint-plugin-prefer-object-spread": "^1.2.1",
|
||||
"eslint-plugin-prettier": "^3.1.1",
|
||||
"eslint-plugin-react": "^7.16.0",
|
||||
"eslint-plugin-react-hooks": "^2.1.2",
|
||||
"exit-hook": "^2.2.0",
|
||||
"faker": "1.1.0",
|
||||
"fetch-mock": "^7.3.9",
|
||||
|
@ -438,7 +438,7 @@
|
|||
"pngjs": "^3.4.0",
|
||||
"postcss": "^7.0.5",
|
||||
"postcss-url": "^8.0.0",
|
||||
"prettier": "1.18.2",
|
||||
"prettier": "^1.18.2",
|
||||
"proxyquire": "1.8.0",
|
||||
"regenerate": "^1.4.0",
|
||||
"sass-lint": "^1.12.1",
|
||||
|
|
|
@ -11,7 +11,7 @@ module.exports = {
|
|||
*/
|
||||
{
|
||||
files: ['**/*.js'],
|
||||
parser: 'babel-eslint',
|
||||
parser: require.resolve('babel-eslint'),
|
||||
|
||||
plugins: [
|
||||
'mocha',
|
||||
|
|
|
@ -15,19 +15,19 @@
|
|||
},
|
||||
"homepage": "https://github.com/elastic/eslint-config-kibana#readme",
|
||||
"peerDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "1.13.0",
|
||||
"@typescript-eslint/parser": "1.13.0",
|
||||
"@typescript-eslint/eslint-plugin": "^2.5.0",
|
||||
"@typescript-eslint/parser": "^2.5.0",
|
||||
"babel-eslint": "^10.0.3",
|
||||
"eslint": "5.16.0",
|
||||
"eslint": "^6.5.1",
|
||||
"eslint-plugin-babel": "^5.3.0",
|
||||
"eslint-plugin-ban": "1.3.0",
|
||||
"eslint-plugin-jsx-a11y": "6.2.3",
|
||||
"eslint-plugin-import": "2.18.2",
|
||||
"eslint-plugin-jest": "^22.17.0",
|
||||
"eslint-plugin-mocha": "^6.1.1",
|
||||
"eslint-plugin-no-unsanitized": "3.0.2",
|
||||
"eslint-plugin-prefer-object-spread": "1.2.1",
|
||||
"eslint-plugin-react": "7.13.0",
|
||||
"eslint-plugin-react-hooks": "1.6.0"
|
||||
"eslint-plugin-ban": "^1.3.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.2.3",
|
||||
"eslint-plugin-import": "^2.18.2",
|
||||
"eslint-plugin-jest": "^22.19.0",
|
||||
"eslint-plugin-mocha": "^6.2.0",
|
||||
"eslint-plugin-no-unsanitized": "^3.0.2",
|
||||
"eslint-plugin-prefer-object-spread": "^1.2.1",
|
||||
"eslint-plugin-react": "^7.16.0",
|
||||
"eslint-plugin-react-hooks": "^2.1.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -70,7 +70,7 @@ module.exports = {
|
|||
//
|
||||
// Old recommended tslint rules
|
||||
'@typescript-eslint/adjacent-overload-signatures': 'error',
|
||||
'@typescript-eslint/array-type': ['error', 'array-simple'],
|
||||
'@typescript-eslint/array-type': ['error', { default: 'array-simple', readonly: 'array-simple' }],
|
||||
'@typescript-eslint/ban-types': 'error',
|
||||
'camelcase': 'off',
|
||||
'@typescript-eslint/camelcase': ['error', {
|
||||
|
@ -92,15 +92,19 @@ module.exports = {
|
|||
'indent': 'off',
|
||||
'@typescript-eslint/indent': [ 'error', 2, { SwitchCase: 1 } ],
|
||||
'@typescript-eslint/prefer-function-type': 'error',
|
||||
'@typescript-eslint/prefer-interface': 'error',
|
||||
'@typescript-eslint/consistent-type-definitions': ['error', 'interface'],
|
||||
'@typescript-eslint/member-ordering': ['error', {
|
||||
'default': ['public-static-field', 'static-field', 'instance-field']
|
||||
}],
|
||||
'@typescript-eslint/no-angle-bracket-type-assertion': 'error',
|
||||
'@typescript-eslint/consistent-type-assertions': 'error',
|
||||
'@typescript-eslint/no-empty-interface': 'error',
|
||||
'@typescript-eslint/no-misused-new': 'error',
|
||||
'@typescript-eslint/no-namespace': 'error',
|
||||
'@typescript-eslint/no-triple-slash-reference': 'error',
|
||||
'@typescript-eslint/triple-slash-reference': ['error', {
|
||||
path: 'never',
|
||||
types: 'never',
|
||||
lib: 'never'
|
||||
}],
|
||||
'@typescript-eslint/no-var-requires': 'error',
|
||||
'@typescript-eslint/type-annotation-spacing': 'error',
|
||||
'@typescript-eslint/unified-signatures': 'error',
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
const os = require('os');
|
||||
const path = require('path');
|
||||
|
||||
function useBat(bin) {
|
||||
function maybeUseBat(bin) {
|
||||
return os.platform().startsWith('win') ? `${bin}.bat` : bin;
|
||||
}
|
||||
|
||||
|
@ -28,8 +28,8 @@ const tempDir = os.tmpdir();
|
|||
|
||||
exports.BASE_PATH = path.resolve(tempDir, 'kbn-es');
|
||||
|
||||
exports.GRADLE_BIN = useBat('./gradlew');
|
||||
exports.ES_BIN = useBat('bin/elasticsearch');
|
||||
exports.GRADLE_BIN = maybeUseBat('./gradlew');
|
||||
exports.ES_BIN = maybeUseBat('bin/elasticsearch');
|
||||
exports.ES_CONFIG = 'config/elasticsearch.yml';
|
||||
|
||||
exports.ES_KEYSTORE_BIN = useBat('./bin/elasticsearch-keystore');
|
||||
exports.ES_KEYSTORE_BIN = maybeUseBat('./bin/elasticsearch-keystore');
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"private": true,
|
||||
"license": "Apache-2.0",
|
||||
"peerDependencies": {
|
||||
"eslint": "5.16.0",
|
||||
"eslint": "6.5.1",
|
||||
"babel-eslint": "^10.0.3"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -22,7 +22,7 @@ const rule = require('../disallow_license_headers');
|
|||
const dedent = require('dedent');
|
||||
|
||||
const ruleTester = new RuleTester({
|
||||
parser: 'babel-eslint',
|
||||
parser: require.resolve('babel-eslint'),
|
||||
parserOptions: {
|
||||
ecmaVersion: 2018,
|
||||
},
|
||||
|
|
|
@ -32,7 +32,7 @@ const { RuleTester } = require('eslint');
|
|||
const rule = require('../no_restricted_paths');
|
||||
|
||||
const ruleTester = new RuleTester({
|
||||
parser: 'babel-eslint',
|
||||
parser: require.resolve('babel-eslint'),
|
||||
parserOptions: {
|
||||
sourceType: 'module',
|
||||
ecmaVersion: 2018,
|
||||
|
|
|
@ -22,7 +22,7 @@ const rule = require('../require_license_header');
|
|||
const dedent = require('dedent');
|
||||
|
||||
const ruleTester = new RuleTester({
|
||||
parser: 'babel-eslint',
|
||||
parser: require.resolve('babel-eslint'),
|
||||
parserOptions: {
|
||||
ecmaVersion: 2018,
|
||||
},
|
||||
|
|
|
@ -77,6 +77,7 @@ module.exports = {
|
|||
anyOf: [{ type: 'string' }, { type: 'array', items: { type: 'string' } }],
|
||||
},
|
||||
allowSameFolder: { type: 'boolean' },
|
||||
errorMessage: { type: 'string' },
|
||||
},
|
||||
additionalProperties: false,
|
||||
},
|
||||
|
|
2
packages/kbn-test-subj-selector/index.d.ts
vendored
2
packages/kbn-test-subj-selector/index.d.ts
vendored
|
@ -18,4 +18,4 @@
|
|||
*/
|
||||
|
||||
// eslint-disable-next-line import/no-default-export
|
||||
export default function(selector: string): string;
|
||||
export default function kbnTestSubjSelector(selector: string): string;
|
||||
|
|
|
@ -71,7 +71,7 @@ export class PluginWrapper<
|
|||
private instance?: Plugin<TSetup, TStart, TPluginsSetup, TPluginsStart>;
|
||||
|
||||
constructor(
|
||||
readonly discoveredPlugin: DiscoveredPlugin,
|
||||
public readonly discoveredPlugin: DiscoveredPlugin,
|
||||
public readonly opaqueId: PluginOpaqueId,
|
||||
private readonly initializerContext: PluginInitializerContext
|
||||
) {
|
||||
|
|
|
@ -33,7 +33,6 @@ import { SavedObjectsClient } from './saved_objects_client';
|
|||
export class SimpleSavedObject<T extends SavedObjectAttributes> {
|
||||
public attributes: T;
|
||||
// We want to use the same interface this class had in JS
|
||||
// eslint-disable-next-line variable-name
|
||||
public _version?: SavedObjectType<T>['version'];
|
||||
public id: SavedObjectType<T>['id'];
|
||||
public type: SavedObjectType<T>['type'];
|
||||
|
|
|
@ -96,7 +96,7 @@ export class Env {
|
|||
/**
|
||||
* @internal
|
||||
*/
|
||||
constructor(readonly homeDir: string, options: EnvOptions) {
|
||||
constructor(public readonly homeDir: string, options: EnvOptions) {
|
||||
this.configDir = resolve(this.homeDir, 'config');
|
||||
this.binDir = resolve(this.homeDir, 'bin');
|
||||
this.logDir = resolve(this.homeDir, 'log');
|
||||
|
|
|
@ -38,7 +38,7 @@ export class RawConfigService {
|
|||
private readonly config$: Observable<Config>;
|
||||
|
||||
constructor(
|
||||
readonly configFiles: readonly string[],
|
||||
public readonly configFiles: readonly string[],
|
||||
configAdapter: (rawConfig: Record<string, any>) => Config = rawConfig =>
|
||||
new ObjectToConfigAdapter(rawConfig)
|
||||
) {
|
||||
|
|
|
@ -128,9 +128,9 @@ export class KibanaRequest<Params = unknown, Query = unknown, Body = unknown> {
|
|||
|
||||
constructor(
|
||||
request: Request,
|
||||
readonly params: Params,
|
||||
readonly query: Query,
|
||||
readonly body: Body,
|
||||
public readonly params: Params,
|
||||
public readonly query: Query,
|
||||
public readonly body: Body,
|
||||
// @ts-ignore we will use this flag as soon as http request proxy is supported in the core
|
||||
// until that time we have to expose all the headers
|
||||
private readonly withoutSecretHeaders: boolean
|
||||
|
|
|
@ -57,9 +57,9 @@ export function isKibanaResponse(response: Record<string, any>): response is IKi
|
|||
export class KibanaResponse<T extends HttpResponsePayload | ResponseError = any>
|
||||
implements IKibanaResponse<T> {
|
||||
constructor(
|
||||
readonly status: number,
|
||||
readonly payload?: T,
|
||||
readonly options: HttpResponseOptions = {}
|
||||
public readonly status: number,
|
||||
public readonly payload?: T,
|
||||
public readonly options: HttpResponseOptions = {}
|
||||
) {}
|
||||
}
|
||||
|
||||
|
|
|
@ -149,7 +149,7 @@ export class Router implements IRouter {
|
|||
public put: IRouter['put'];
|
||||
|
||||
constructor(
|
||||
readonly routerPath: string,
|
||||
public readonly routerPath: string,
|
||||
private readonly log: Logger,
|
||||
private readonly enhanceWithContext: ContextEnhancer<any, any, any>
|
||||
) {
|
||||
|
|
|
@ -68,7 +68,7 @@ export class LogLevel {
|
|||
}
|
||||
}
|
||||
|
||||
private constructor(readonly id: LogLevelId, readonly value: number) {}
|
||||
private constructor(public readonly id: LogLevelId, public readonly value: number) {}
|
||||
|
||||
/**
|
||||
* Indicates whether current log level covers the one that is passed as an argument.
|
||||
|
|
|
@ -61,7 +61,7 @@ export class PluginWrapper<
|
|||
private instance?: Plugin<TSetup, TStart, TPluginsSetup, TPluginsStart>;
|
||||
|
||||
constructor(
|
||||
readonly params: {
|
||||
public readonly params: {
|
||||
readonly path: string;
|
||||
readonly manifest: PluginManifest;
|
||||
readonly opaqueId: PluginOpaqueId;
|
||||
|
|
|
@ -53,12 +53,12 @@ import { validateConvertFilterToKueryNode } from './filter_utils';
|
|||
// BEWARE: The SavedObjectClient depends on the implementation details of the SavedObjectsRepository
|
||||
// so any breaking changes to this repository are considered breaking changes to the SavedObjectsClient.
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/prefer-interface
|
||||
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
|
||||
type Left<T> = {
|
||||
tag: 'Left';
|
||||
error: T;
|
||||
};
|
||||
// eslint-disable-next-line @typescript-eslint/prefer-interface
|
||||
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
|
||||
type Right<T> = {
|
||||
tag: 'Right';
|
||||
value: T;
|
||||
|
|
|
@ -55,8 +55,8 @@ export class Server {
|
|||
private readonly uiSettings: UiSettingsService;
|
||||
|
||||
constructor(
|
||||
readonly config$: Observable<Config>,
|
||||
readonly env: Env,
|
||||
public readonly config$: Observable<Config>,
|
||||
public readonly env: Env,
|
||||
private readonly logger: LoggerFactory
|
||||
) {
|
||||
this.log = this.logger.get('server');
|
||||
|
|
|
@ -31,7 +31,7 @@ export interface FilterableContainerInput extends ContainerInput {
|
|||
* https://github.com/microsoft/TypeScript/issues/15300 is fixed so we use a type
|
||||
* here instead
|
||||
*/
|
||||
// eslint-disable-next-line @typescript-eslint/prefer-interface
|
||||
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
|
||||
export type InheritedChildrenInput = {
|
||||
filters: Filter[];
|
||||
id?: string;
|
||||
|
|
|
@ -33,7 +33,7 @@ export const HELLO_WORLD_CONTAINER = 'HELLO_WORLD_CONTAINER';
|
|||
* https://github.com/microsoft/TypeScript/issues/15300 is fixed so we use a type
|
||||
* here instead
|
||||
*/
|
||||
// eslint-disable-next-line @typescript-eslint/prefer-interface
|
||||
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
|
||||
type InheritedInput = {
|
||||
id: string;
|
||||
viewMode: ViewMode;
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
|
||||
class FormattedData {
|
||||
constructor(readonly raw: any, readonly formatted: any) {}
|
||||
constructor(public readonly raw: any, public readonly formatted: any) {}
|
||||
}
|
||||
|
||||
export { FormattedData };
|
||||
|
|
|
@ -8,12 +8,12 @@
|
|||
// Which is basically the Haskel equivalent of Rust/ML/Scala's Result
|
||||
// I'll reach out to other's in Kibana to see if we can merge these into one type
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/prefer-interface
|
||||
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
|
||||
export type Ok<T> = {
|
||||
tag: 'ok';
|
||||
value: T;
|
||||
};
|
||||
// eslint-disable-next-line @typescript-eslint/prefer-interface
|
||||
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
|
||||
export type Err<E> = {
|
||||
tag: 'err';
|
||||
error: E;
|
||||
|
|
|
@ -4,9 +4,6 @@
|
|||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
// eslint-disable-next-line spaced-comment
|
||||
/// <reference types="cypress" />
|
||||
|
||||
declare namespace Cypress {
|
||||
interface Chainable<Subject> {
|
||||
snapshot: () => {};
|
||||
|
|
|
@ -4,9 +4,6 @@
|
|||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
// eslint-disable-next-line spaced-comment
|
||||
/// <reference types="cypress" />
|
||||
|
||||
import { loginAndWaitForPage } from './helpers';
|
||||
|
||||
describe('When clicking opbeans-go service', () => {
|
||||
|
|
|
@ -34,7 +34,7 @@ declare module 'elasticsearch' {
|
|||
[key: string]: any;
|
||||
};
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/prefer-interface
|
||||
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
|
||||
export type AggregationOptionMap = {
|
||||
aggs?: {
|
||||
[aggregationName: string]: {
|
||||
|
@ -47,7 +47,7 @@ declare module 'elasticsearch' {
|
|||
? AggregationResultMap<T['aggs']>
|
||||
: {};
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/prefer-interface
|
||||
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
|
||||
type BucketAggregation<SubAggregationMap, KeyType = string> = {
|
||||
buckets: Array<
|
||||
{
|
||||
|
@ -62,7 +62,7 @@ declare module 'elasticsearch' {
|
|||
doc_count: number;
|
||||
} & SubAggregation<SubAggregationMap>;
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/prefer-interface
|
||||
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
|
||||
type FiltersAggregation<SubAggregationMap> = {
|
||||
// The filters aggregation can have named filters or anonymous filters,
|
||||
// which changes the structure of the return
|
||||
|
|
|
@ -16,10 +16,6 @@ import { ComponentStrings } from '../../../i18n';
|
|||
const { App: strings } = ComponentStrings;
|
||||
|
||||
export class App extends React.PureComponent {
|
||||
static childContextTypes = {
|
||||
shortcuts: PropTypes.object.isRequired,
|
||||
};
|
||||
|
||||
static propTypes = {
|
||||
appState: PropTypes.object.isRequired,
|
||||
setAppReady: PropTypes.func.isRequired,
|
||||
|
@ -27,6 +23,10 @@ export class App extends React.PureComponent {
|
|||
onRouteChange: PropTypes.func.isRequired,
|
||||
};
|
||||
|
||||
static childContextTypes = {
|
||||
shortcuts: PropTypes.object.isRequired,
|
||||
};
|
||||
|
||||
getChildContext() {
|
||||
return { shortcuts: shortcutManager };
|
||||
}
|
||||
|
|
|
@ -27,7 +27,6 @@ class Interactive extends React.Component<{}, { hasButtons: boolean; value: stri
|
|||
/>
|
||||
<p style={{ marginTop: 20 }}>
|
||||
<label>
|
||||
{/* eslint-disable-next-line react-a11y-input-elements */}
|
||||
<input
|
||||
aria-checked={this.state.hasButtons}
|
||||
type="checkbox"
|
||||
|
|
|
@ -38,7 +38,6 @@ class Interactive extends React.Component<
|
|||
/>
|
||||
<p style={{ marginTop: 20 }}>
|
||||
<label>
|
||||
{/* eslint-disable-next-line react-a11y-input-elements */}
|
||||
<input
|
||||
aria-checked={this.state.hasButtons}
|
||||
type="checkbox"
|
||||
|
|
|
@ -36,7 +36,6 @@ class Interactive extends React.Component<
|
|||
/>
|
||||
<p style={{ marginTop: 20 }}>
|
||||
<label>
|
||||
{/* eslint-disable-next-line react-a11y-input-elements */}
|
||||
<input
|
||||
aria-checked={this.state.hasButtons}
|
||||
type="checkbox"
|
||||
|
|
|
@ -13,10 +13,6 @@ import { getTimeInterval } from '../../lib/time_interval';
|
|||
import { CanvasLoading } from './canvas_loading';
|
||||
|
||||
export class Router extends React.PureComponent {
|
||||
static childContextTypes = {
|
||||
router: PropTypes.object.isRequired,
|
||||
};
|
||||
|
||||
static propTypes = {
|
||||
showLoading: PropTypes.bool.isRequired,
|
||||
onLoad: PropTypes.func.isRequired,
|
||||
|
@ -27,6 +23,10 @@ export class Router extends React.PureComponent {
|
|||
setFullscreen: PropTypes.func.isRequired,
|
||||
};
|
||||
|
||||
static childContextTypes = {
|
||||
router: PropTypes.object.isRequired,
|
||||
};
|
||||
|
||||
state = {
|
||||
router: {},
|
||||
activeComponent: CanvasLoading,
|
||||
|
|
|
@ -18,9 +18,9 @@ export class BlameWidget implements Editor.IContentWidget {
|
|||
private containerNode: HTMLDivElement;
|
||||
|
||||
constructor(
|
||||
readonly blame: GitBlame,
|
||||
readonly isFirstLine: boolean,
|
||||
readonly editor: Editor.IStandaloneCodeEditor
|
||||
public readonly blame: GitBlame,
|
||||
public readonly isFirstLine: boolean,
|
||||
public readonly editor: Editor.IStandaloneCodeEditor
|
||||
) {
|
||||
this.containerNode = document.createElement('div');
|
||||
this.domNode = document.createElement('div');
|
||||
|
|
|
@ -31,7 +31,7 @@ export abstract class ContentWidget extends Disposable implements Editor.IConten
|
|||
private stoleFocus: boolean = false;
|
||||
private visible: boolean;
|
||||
|
||||
protected constructor(readonly id: string, readonly editor: Editor.ICodeEditor) {
|
||||
protected constructor(public readonly id: string, public readonly editor: Editor.ICodeEditor) {
|
||||
super();
|
||||
this.containerDomNode = document.createElement('div');
|
||||
this.domNode = document.createElement('div');
|
||||
|
|
|
@ -17,7 +17,7 @@ export class HoverController implements Editor.IEditorContribution {
|
|||
private contentWidget: ContentHoverWidget;
|
||||
private disposables: IDisposable[];
|
||||
|
||||
constructor(readonly editor: Editor.ICodeEditor) {
|
||||
constructor(public readonly editor: Editor.ICodeEditor) {
|
||||
this.disposables = [
|
||||
this.editor.onMouseMove((e: Editor.IEditorMouseEvent) => this.onEditorMouseMove(e)),
|
||||
this.editor.onKeyDown((e: IKeyboardEvent) => this.onKeyDown(e)),
|
||||
|
|
|
@ -19,10 +19,10 @@ export class Operation<T> {
|
|||
private timeout: any;
|
||||
|
||||
constructor(
|
||||
readonly computer: Computer<T>,
|
||||
readonly successCallback: (result: T) => void,
|
||||
readonly errorCallback: (error: Error) => void,
|
||||
readonly progressCallback: (progress: any) => void
|
||||
public readonly computer: Computer<T>,
|
||||
public readonly successCallback: (result: T) => void,
|
||||
public readonly errorCallback: (error: Error) => void,
|
||||
public readonly progressCallback: (progress: any) => void
|
||||
) {}
|
||||
|
||||
public setDelay(delay: number) {
|
||||
|
|
|
@ -9,7 +9,7 @@ import { Endpoint } from './resource_locator';
|
|||
import { RequestContext } from './service_definition';
|
||||
|
||||
export class LocalEndpoint implements Endpoint {
|
||||
constructor(readonly httpRequest: KibanaRequest, readonly resource: string) {}
|
||||
constructor(public readonly httpRequest: KibanaRequest, public readonly resource: string) {}
|
||||
|
||||
toContext(): RequestContext {
|
||||
return {
|
||||
|
|
|
@ -27,10 +27,10 @@ export abstract class AbstractLauncher implements ILanguageServerLauncher {
|
|||
private launchReject?: (reason?: any) => void;
|
||||
launchFailed: boolean = false;
|
||||
protected constructor(
|
||||
readonly name: string,
|
||||
readonly targetHost: string,
|
||||
readonly options: ServerOptions,
|
||||
readonly loggerFactory: LoggerFactory
|
||||
public readonly name: string,
|
||||
public readonly targetHost: string,
|
||||
public readonly options: ServerOptions,
|
||||
public readonly loggerFactory: LoggerFactory
|
||||
) {
|
||||
this.log = this.loggerFactory.getLogger([`${seqNo++}`, `${this.name}`, 'code']);
|
||||
}
|
||||
|
|
|
@ -50,11 +50,11 @@ export class LanguageServerController implements ILanguageServerHandler {
|
|||
private log: Logger;
|
||||
|
||||
constructor(
|
||||
readonly options: ServerOptions,
|
||||
readonly targetHost: string,
|
||||
readonly installManager: InstallManager,
|
||||
readonly loggerFactory: LoggerFactory,
|
||||
readonly repoConfigController: RepositoryConfigController
|
||||
public readonly options: ServerOptions,
|
||||
public readonly targetHost: string,
|
||||
public readonly installManager: InstallManager,
|
||||
public readonly loggerFactory: LoggerFactory,
|
||||
public readonly repoConfigController: RepositoryConfigController
|
||||
) {
|
||||
this.log = loggerFactory.getLogger([]);
|
||||
this.languageServers = enabledLanguageServers(options).map(def => ({
|
||||
|
|
|
@ -18,9 +18,9 @@ export class CtagsLauncher extends AbstractLauncher {
|
|||
private isRunning: boolean = false;
|
||||
private embed: EmbedCtagServer | null = null;
|
||||
constructor(
|
||||
readonly targetHost: string,
|
||||
readonly options: ServerOptions,
|
||||
readonly loggerFactory: LoggerFactory
|
||||
public readonly targetHost: string,
|
||||
public readonly options: ServerOptions,
|
||||
public readonly loggerFactory: LoggerFactory
|
||||
) {
|
||||
super('ctags', targetHost, options, loggerFactory);
|
||||
}
|
||||
|
|
|
@ -24,10 +24,10 @@ const GO_LANG_DETACH_PORT = 2091;
|
|||
|
||||
export class GoServerLauncher extends AbstractLauncher {
|
||||
constructor(
|
||||
readonly targetHost: string,
|
||||
readonly options: ServerOptions,
|
||||
readonly loggerFactory: LoggerFactory,
|
||||
readonly installationPath: string
|
||||
public readonly targetHost: string,
|
||||
public readonly options: ServerOptions,
|
||||
public readonly loggerFactory: LoggerFactory,
|
||||
public readonly installationPath: string
|
||||
) {
|
||||
super('go', targetHost, options, loggerFactory);
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ import { LanguageServerDefinition } from './language_servers';
|
|||
import { ServerFacade } from '../..';
|
||||
|
||||
export class InstallManager {
|
||||
constructor(public readonly server: ServerFacade, readonly serverOptions: ServerOptions) {}
|
||||
constructor(public readonly server: ServerFacade, public readonly serverOptions: ServerOptions) {}
|
||||
|
||||
public status(def: LanguageServerDefinition): LanguageServerStatus {
|
||||
if (def.installationType === InstallationType.Embed) {
|
||||
|
|
|
@ -24,10 +24,10 @@ export class JavaLauncher extends AbstractLauncher {
|
|||
private needModuleArguments: boolean = true;
|
||||
private readonly gradleHomeFolder = '.gradle';
|
||||
constructor(
|
||||
readonly targetHost: string,
|
||||
readonly options: ServerOptions,
|
||||
readonly loggerFactory: LoggerFactory,
|
||||
readonly installationPath: string
|
||||
public readonly targetHost: string,
|
||||
public readonly options: ServerOptions,
|
||||
public readonly loggerFactory: LoggerFactory,
|
||||
public readonly installationPath: string
|
||||
) {
|
||||
super('java', targetHost, options, loggerFactory);
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ import { EmbedProgram } from './embed_program';
|
|||
|
||||
export class EmbedCtagServer extends EmbedProgram {
|
||||
private connection: IConnection | null = null;
|
||||
constructor(readonly port: number, log: Logger) {
|
||||
constructor(public readonly port: number, log: Logger) {
|
||||
super(log);
|
||||
}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ let globalPid = 0;
|
|||
export abstract class EmbedProgram implements ControlledProgram {
|
||||
private eventEmitter = new EventEmitter();
|
||||
private _killed: boolean = false;
|
||||
protected constructor(readonly log: Logger) {
|
||||
protected constructor(public readonly log: Logger) {
|
||||
this.pid = globalPid++;
|
||||
}
|
||||
|
||||
|
|
|
@ -14,7 +14,11 @@ const OOM_SCORE_ADJ = 667;
|
|||
const OOM_ADJ = 10;
|
||||
|
||||
export class ExternalProgram implements ControlledProgram {
|
||||
constructor(readonly child: ChildProcess, readonly options: ServerOptions, readonly log: Logger) {
|
||||
constructor(
|
||||
public readonly child: ChildProcess,
|
||||
public readonly options: ServerOptions,
|
||||
public readonly log: Logger
|
||||
) {
|
||||
this.pid = child.pid;
|
||||
if (this.options.lsp.oomScoreAdj && process.platform === 'linux') {
|
||||
this.adjustOom(this.pid);
|
||||
|
|
|
@ -49,11 +49,11 @@ export class RequestExpander implements ILanguageServerHandler {
|
|||
|
||||
constructor(
|
||||
proxy: LanguageServerProxy,
|
||||
readonly builtinWorkspace: boolean,
|
||||
readonly maxWorkspace: number,
|
||||
readonly serverOptions: ServerOptions,
|
||||
readonly initialOptions: InitializeOptions,
|
||||
readonly log: Logger
|
||||
public readonly builtinWorkspace: boolean,
|
||||
public readonly maxWorkspace: number,
|
||||
public readonly serverOptions: ServerOptions,
|
||||
public readonly initialOptions: InitializeOptions,
|
||||
public readonly log: Logger
|
||||
) {
|
||||
this.proxy = proxy;
|
||||
const clearListener = () => {
|
||||
|
|
|
@ -19,10 +19,10 @@ const TS_LANG_DETACH_PORT = 2089;
|
|||
|
||||
export class TypescriptServerLauncher extends AbstractLauncher {
|
||||
constructor(
|
||||
readonly targetHost: string,
|
||||
readonly options: ServerOptions,
|
||||
readonly loggerFactory: LoggerFactory,
|
||||
readonly installationPath: string
|
||||
public readonly targetHost: string,
|
||||
public readonly options: ServerOptions,
|
||||
public readonly loggerFactory: LoggerFactory,
|
||||
public readonly installationPath: string
|
||||
) {
|
||||
super('typescript', targetHost, options, loggerFactory);
|
||||
}
|
||||
|
|
|
@ -14,10 +14,10 @@ import { Logger } from '../log';
|
|||
|
||||
export class WorkspaceCommand {
|
||||
constructor(
|
||||
readonly repoConfig: RepoConfig,
|
||||
readonly workspaceDir: string,
|
||||
readonly revision: string,
|
||||
readonly log: Logger
|
||||
public readonly repoConfig: RepoConfig,
|
||||
public readonly workspaceDir: string,
|
||||
public readonly revision: string,
|
||||
public readonly log: Logger
|
||||
) {}
|
||||
|
||||
public async runInit(force: boolean) {
|
||||
|
|
|
@ -40,7 +40,7 @@ export class WorkspaceHandler {
|
|||
private readonly objectClient: RepositoryObjectClient | undefined = undefined;
|
||||
|
||||
constructor(
|
||||
readonly gitOps: GitOperations,
|
||||
public readonly gitOps: GitOperations,
|
||||
private readonly workspacePath: string,
|
||||
private readonly client: EsClient,
|
||||
loggerFactory: LoggerFactory
|
||||
|
|
|
@ -13,7 +13,7 @@ export class RepositoryConfigController {
|
|||
private repositoryConfigCache: { [repoUri: string]: RepositoryConfig } = {};
|
||||
private repoObjectClient: RepositoryObjectClient;
|
||||
|
||||
constructor(readonly esClient: EsClient) {
|
||||
constructor(public readonly esClient: EsClient) {
|
||||
this.repoObjectClient = new RepositoryObjectClient(esClient);
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ import { IRouter, RequestHandler } from 'src/core/server';
|
|||
import { ServerRouteFacade, RouteOptionsFacade } from '..';
|
||||
|
||||
export class CodeServerRouter {
|
||||
constructor(readonly router: IRouter) {}
|
||||
constructor(public readonly router: IRouter) {}
|
||||
|
||||
route(route: CodeRoute) {
|
||||
const routeOptions: RouteOptionsFacade = (route.options || {}) as RouteOptionsFacade;
|
||||
|
|
|
@ -15,7 +15,9 @@ export class Cancelable<T> {
|
|||
private _cancel: Cancel | undefined = undefined;
|
||||
private resolved: boolean = false;
|
||||
|
||||
constructor(readonly fn: (resolve: Resolve<T>, reject: Reject, onCancel: OnCancel) => void) {
|
||||
constructor(
|
||||
public readonly fn: (resolve: Resolve<T>, reject: Reject, onCancel: OnCancel) => void
|
||||
) {
|
||||
this.promise = new Promise<T>((resolve, reject) => {
|
||||
this.resolve = resolve;
|
||||
this.reject = reject;
|
||||
|
|
|
@ -21,7 +21,7 @@ import { WithRequest } from './with_request';
|
|||
import { WithInternalRequest } from './with_internal_request';
|
||||
|
||||
export class EsIndexClient {
|
||||
constructor(readonly self: WithRequest | WithInternalRequest) {}
|
||||
constructor(public readonly self: WithRequest | WithInternalRequest) {}
|
||||
|
||||
public exists(params: IndicesExistsParams): Promise<any> {
|
||||
return this.self.callCluster('indices.exists', params);
|
||||
|
|
|
@ -12,7 +12,7 @@ import { WithRequest } from './with_request';
|
|||
export class EsClientWithRequest extends WithRequest implements EsClient {
|
||||
public readonly indices = new EsIndexClient(this);
|
||||
|
||||
constructor(readonly context: RequestHandlerContext, readonly req: KibanaRequest) {
|
||||
constructor(public readonly context: RequestHandlerContext, public readonly req: KibanaRequest) {
|
||||
super(context, req);
|
||||
}
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ const SPLITTER = '≤∞≥';
|
|||
export class FormatParser {
|
||||
private fields: Field[];
|
||||
|
||||
constructor(readonly format: Format) {
|
||||
constructor(public readonly format: Format) {
|
||||
this.fields = [];
|
||||
this.toFields(this.fields, format);
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ import { APICaller, KibanaRequest, RequestHandlerContext } from 'src/core/server
|
|||
export class WithRequest {
|
||||
public readonly callCluster: APICaller;
|
||||
|
||||
constructor(readonly context: RequestHandlerContext, readonly req: KibanaRequest) {
|
||||
constructor(public readonly context: RequestHandlerContext, public readonly req: KibanaRequest) {
|
||||
const securityPlugin = context.code.legacy.securityPlugin;
|
||||
const useRbac =
|
||||
securityPlugin &&
|
||||
|
|
|
@ -54,7 +54,6 @@ class UrlStateContainerLifecycle<UrlState> extends React.Component<
|
|||
this.handleInitialize(location);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/member-ordering this is really a method despite what eslint thinks
|
||||
private replaceStateInLocation = throttle(1000, (urlState: UrlState | undefined) => {
|
||||
const { history, location, urlStateKey } = this.props;
|
||||
|
||||
|
|
|
@ -584,7 +584,7 @@ describe('IndexPatternDimensionPanel', () => {
|
|||
const comboBox = wrapper.find(EuiComboBox);
|
||||
const options = comboBox.prop('options');
|
||||
|
||||
//options[1][2] is a `source` field of type `string` which doesn't support `avg` operation
|
||||
// options[1][2] is a `source` field of type `string` which doesn't support `avg` operation
|
||||
act(() => {
|
||||
comboBox.prop('onChange')!([options![1].options![2]]);
|
||||
});
|
||||
|
|
|
@ -97,7 +97,7 @@ describe('joinPropertiesToFeature', () => {
|
|||
|
||||
it('Should handle undefined values', () => {
|
||||
|
||||
const feature = {//this feature does not have the iso2 field
|
||||
const feature = { //this feature does not have the iso2 field
|
||||
properties: {
|
||||
zipcode: 40204
|
||||
}
|
||||
|
|
|
@ -116,7 +116,7 @@ StatefulFlyoutHeader.displayName = 'StatefulFlyoutHeader';
|
|||
|
||||
const emptyHistory: History[] = []; // stable reference
|
||||
|
||||
const emptyNotesId: string[] = []; //stable reference
|
||||
const emptyNotesId: string[] = []; // stable reference
|
||||
|
||||
const makeMapStateToProps = () => {
|
||||
const getTimeline = timelineSelectors.getTimelineByIdSelector();
|
||||
|
|
|
@ -17,7 +17,7 @@ import { TimeRange } from '../../../../../src/plugins/data/public';
|
|||
* https://github.com/microsoft/TypeScript/issues/15300 is fixed so we use a type
|
||||
* here instead
|
||||
*/
|
||||
// eslint-disable-next-line @typescript-eslint/prefer-interface
|
||||
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
|
||||
export type InheritedChildrenInput = {
|
||||
timeRange: TimeRange;
|
||||
id?: string;
|
||||
|
|
3
x-pack/test/mocha_decorations.d.ts
vendored
3
x-pack/test/mocha_decorations.d.ts
vendored
|
@ -6,7 +6,8 @@
|
|||
|
||||
import { Suite } from 'mocha';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-namespace We need to use the namespace here to match the Mocha definition
|
||||
// We need to use the namespace here to match the Mocha definition
|
||||
// eslint-disable-next-line @typescript-eslint/no-namespace
|
||||
declare module 'mocha' {
|
||||
interface Suite {
|
||||
/**
|
||||
|
|
334
yarn.lock
334
yarn.lock
|
@ -3279,10 +3279,10 @@
|
|||
resolved "https://registry.yarnpkg.com/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#1ee30d79544ca84d68d4b3cdb0af4f205663dd2d"
|
||||
integrity sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag==
|
||||
|
||||
"@types/eslint@^4.16.8":
|
||||
version "4.16.8"
|
||||
resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-4.16.8.tgz#856f0eb8a312d25a7989b6d0ab708e8d5f8cc7ee"
|
||||
integrity sha512-n0ZvaIpPeBxproRvV+tZoCHRxIoNAk+k+XMvQefKgx3qM3IundoogQBAwiNEnqW0GDP1j1ATe5lFy9xxutFAHg==
|
||||
"@types/eslint@^6.1.2":
|
||||
version "6.1.2"
|
||||
resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-6.1.2.tgz#297ece0f3815f93d699b18bdade5e6bee747284f"
|
||||
integrity sha512-t+smTKg1e9SshiIOI94Zi+Lvo3bfHF20MuKP8w3VGWdrS1dYm33A7xrSoyy9FQv6oE2TwYqEXVJ50I0or8+FWQ==
|
||||
dependencies:
|
||||
"@types/estree" "*"
|
||||
"@types/json-schema" "*"
|
||||
|
@ -4286,18 +4286,27 @@
|
|||
resolved "https://registry.yarnpkg.com/@types/zen-observable/-/zen-observable-0.8.0.tgz#8b63ab7f1aa5321248aad5ac890a485656dcea4d"
|
||||
integrity sha512-te5lMAWii1uEJ4FwLjzdlbw3+n0FZNOvFXHxQDKeT0dilh7HOzdMzV2TrJVUzq8ep7J4Na8OUYPRLSQkJHAlrg==
|
||||
|
||||
"@typescript-eslint/eslint-plugin@1.13.0":
|
||||
version "1.13.0"
|
||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-1.13.0.tgz#22fed9b16ddfeb402fd7bcde56307820f6ebc49f"
|
||||
integrity sha512-WQHCozMnuNADiqMtsNzp96FNox5sOVpU8Xt4meaT4em8lOG1SrOv92/mUbEHQVh90sldKSfcOc/I0FOb/14G1g==
|
||||
"@typescript-eslint/eslint-plugin@^2.5.0":
|
||||
version "2.5.0"
|
||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.5.0.tgz#101d96743ce3365b3223df73d641078c9b775903"
|
||||
integrity sha512-ddrJZxp5ns1Lh5ofZQYk3P8RyvKfyz/VcRR4ZiJLHO/ljnQAO8YvTfj268+WJOOadn99mvDiqJA65+HAKoeSPA==
|
||||
dependencies:
|
||||
"@typescript-eslint/experimental-utils" "1.13.0"
|
||||
eslint-utils "^1.3.1"
|
||||
"@typescript-eslint/experimental-utils" "2.5.0"
|
||||
eslint-utils "^1.4.2"
|
||||
functional-red-black-tree "^1.0.1"
|
||||
regexpp "^2.0.1"
|
||||
tsutils "^3.7.0"
|
||||
tsutils "^3.17.1"
|
||||
|
||||
"@typescript-eslint/experimental-utils@1.13.0", "@typescript-eslint/experimental-utils@^1.13.0":
|
||||
"@typescript-eslint/experimental-utils@2.5.0":
|
||||
version "2.5.0"
|
||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.5.0.tgz#383a97ded9a7940e5053449f6d73995e782b8fb1"
|
||||
integrity sha512-UgcQGE0GKJVChyRuN1CWqDW8Pnu7+mVst0aWrhiyuUD1J9c+h8woBdT4XddCvhcXDodTDVIfE3DzGHVjp7tUeQ==
|
||||
dependencies:
|
||||
"@types/json-schema" "^7.0.3"
|
||||
"@typescript-eslint/typescript-estree" "2.5.0"
|
||||
eslint-scope "^5.0.0"
|
||||
|
||||
"@typescript-eslint/experimental-utils@^1.13.0":
|
||||
version "1.13.0"
|
||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-1.13.0.tgz#b08c60d780c0067de2fb44b04b432f540138301e"
|
||||
integrity sha512-zmpS6SyqG4ZF64ffaJ6uah6tWWWgZ8m+c54XXgwFtUv0jNz8aJAVx8chMCvnk7yl6xwn8d+d96+tWp7fXzTuDg==
|
||||
|
@ -4306,15 +4315,15 @@
|
|||
"@typescript-eslint/typescript-estree" "1.13.0"
|
||||
eslint-scope "^4.0.0"
|
||||
|
||||
"@typescript-eslint/parser@1.13.0":
|
||||
version "1.13.0"
|
||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-1.13.0.tgz#61ac7811ea52791c47dc9fd4dd4a184fae9ac355"
|
||||
integrity sha512-ITMBs52PCPgLb2nGPoeT4iU3HdQZHcPaZVw+7CsFagRJHUhyeTgorEwHXhFf3e7Evzi8oujKNpHc8TONth8AdQ==
|
||||
"@typescript-eslint/parser@^2.5.0":
|
||||
version "2.5.0"
|
||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.5.0.tgz#858030ddd808fbbe88e03f42e5971efaccb8218a"
|
||||
integrity sha512-9UBMiAwIDWSl79UyogaBdj3hidzv6exjKUx60OuZuFnJf56tq/UMpdPcX09YmGqE8f4AnAueYtBxV8IcAT3jdQ==
|
||||
dependencies:
|
||||
"@types/eslint-visitor-keys" "^1.0.0"
|
||||
"@typescript-eslint/experimental-utils" "1.13.0"
|
||||
"@typescript-eslint/typescript-estree" "1.13.0"
|
||||
eslint-visitor-keys "^1.0.0"
|
||||
"@typescript-eslint/experimental-utils" "2.5.0"
|
||||
"@typescript-eslint/typescript-estree" "2.5.0"
|
||||
eslint-visitor-keys "^1.1.0"
|
||||
|
||||
"@typescript-eslint/typescript-estree@1.13.0":
|
||||
version "1.13.0"
|
||||
|
@ -4324,6 +4333,17 @@
|
|||
lodash.unescape "4.0.1"
|
||||
semver "5.5.0"
|
||||
|
||||
"@typescript-eslint/typescript-estree@2.5.0":
|
||||
version "2.5.0"
|
||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.5.0.tgz#40ada624d6217ef092a3a79ed30d947ad4f212ce"
|
||||
integrity sha512-AXURyF8NcA3IsnbjNX1v9qbwa0dDoY9YPcKYR2utvMHoUcu3636zrz0gRWtVAyxbPCkhyKuGg6WZIyi2Fc79CA==
|
||||
dependencies:
|
||||
debug "^4.1.1"
|
||||
glob "^7.1.4"
|
||||
is-glob "^4.0.1"
|
||||
lodash.unescape "4.0.1"
|
||||
semver "^6.3.0"
|
||||
|
||||
"@typescript-eslint/typescript-estree@^1.9.0":
|
||||
version "1.9.0"
|
||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-1.9.0.tgz#5d6d49be936e96fb0f859673480f89b070a5dd9b"
|
||||
|
@ -4619,10 +4639,10 @@ acorn-jsx@^3.0.0:
|
|||
dependencies:
|
||||
acorn "^3.0.4"
|
||||
|
||||
acorn-jsx@^5.0.0:
|
||||
version "5.0.1"
|
||||
resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.0.1.tgz#32a064fd925429216a09b141102bfdd185fae40e"
|
||||
integrity sha512-HJ7CfNHrfJLlNTzIEUTj43LNWGkqpRLxm3YjAlcD0ACydk9XynzYsCBHxut+iqt+1aBXkx9UP/w/ZqMr13XIzg==
|
||||
acorn-jsx@^5.0.2:
|
||||
version "5.1.0"
|
||||
resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.1.0.tgz#294adb71b57398b0680015f0a38c563ee1db5384"
|
||||
integrity sha512-tMUqwBWfLFbJbizRmEcWSLw6HnFzfdJs2sOJEOwwtVPMoH/0Ay+E703oZz78VSXZiiDcZrQ5XKjPIUQixhmgVw==
|
||||
|
||||
acorn-walk@^6.0.1:
|
||||
version "6.1.1"
|
||||
|
@ -4644,7 +4664,7 @@ acorn@^4.0.4, acorn@~4.0.2:
|
|||
resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787"
|
||||
integrity sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=
|
||||
|
||||
acorn@^6.0.1, acorn@^6.0.7:
|
||||
acorn@^6.0.1:
|
||||
version "6.1.1"
|
||||
resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.1.1.tgz#7d25ae05bb8ad1f9b699108e1094ecd7884adc1f"
|
||||
integrity sha512-jPTiwtOxaHNaAPg/dmrJ/beuzLRnXtB0kQPQ8JpotKJgTB6rX6c8mlf315941pyjBSaPg8NHXS9fhP4u17DpGA==
|
||||
|
@ -4654,6 +4674,11 @@ acorn@^6.0.2, acorn@^6.0.5, acorn@^6.2.1:
|
|||
resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.3.0.tgz#0087509119ffa4fc0a0041d1e93a417e68cb856e"
|
||||
integrity sha512-/czfa8BwS88b9gWQVhc8eknunSA2DoJpJyTQkhheIf5E48u1N0R4q/YxxsAeqRrmK9TQ/uYfgLDfZo91UlANIA==
|
||||
|
||||
acorn@^7.0.0:
|
||||
version "7.1.0"
|
||||
resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.1.0.tgz#949d36f2c292535da602283586c2477c57eb2d6c"
|
||||
integrity sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==
|
||||
|
||||
address@1.1.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/address/-/address-1.1.0.tgz#ef8e047847fcd2c5b6f50c16965f924fd99fe709"
|
||||
|
@ -4823,7 +4848,7 @@ ajv@^6.1.0, ajv@^6.5.5:
|
|||
json-schema-traverse "^0.4.1"
|
||||
uri-js "^4.2.2"
|
||||
|
||||
ajv@^6.10.2:
|
||||
ajv@^6.10.0, ajv@^6.10.2:
|
||||
version "6.10.2"
|
||||
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.10.2.tgz#d3cea04d6b017b2894ad69040fec8b623eb4bd52"
|
||||
integrity sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw==
|
||||
|
@ -11238,10 +11263,10 @@ escope@^3.6.0:
|
|||
esrecurse "^4.1.0"
|
||||
estraverse "^4.1.1"
|
||||
|
||||
eslint-config-prettier@6.3.0:
|
||||
version "6.3.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.3.0.tgz#e73b48e59dc49d950843f3eb96d519e2248286a3"
|
||||
integrity sha512-EWaGjlDAZRzVFveh2Jsglcere2KK5CJBhkNSa1xs3KfMUGdRiT7lG089eqPdvlzWHpAqaekubOsOMu8W8Yk71A==
|
||||
eslint-config-prettier@^6.4.0:
|
||||
version "6.4.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.4.0.tgz#0a04f147e31d33c6c161b2dd0971418ac52d0477"
|
||||
integrity sha512-YrKucoFdc7SEko5Sxe4r6ixqXPDP1tunGw91POeZTTRKItf/AMFYt/YLEQtZMkR2LVpAVhcAcZgcWpm1oGPW7w==
|
||||
dependencies:
|
||||
get-stdin "^6.0.0"
|
||||
|
||||
|
@ -11303,29 +11328,29 @@ eslint-plugin-babel@^5.3.0:
|
|||
dependencies:
|
||||
eslint-rule-composer "^0.3.0"
|
||||
|
||||
eslint-plugin-ban@1.3.0:
|
||||
eslint-plugin-ban@^1.3.0:
|
||||
version "1.3.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-ban/-/eslint-plugin-ban-1.3.0.tgz#be9714cb9e01a1adec6c86cdb182e97636eafe44"
|
||||
integrity sha512-A9A2z60UeVj7/BdKzeIjVEGAog/4QXAyOkZ98AUnZc7fsRp+J7YW7+U/YEVpBJqjSiU/FGUA5tGJoI34ul/TyA==
|
||||
dependencies:
|
||||
requireindex "~1.2.0"
|
||||
|
||||
eslint-plugin-cypress@^2.6.1:
|
||||
version "2.6.1"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-cypress/-/eslint-plugin-cypress-2.6.1.tgz#b2728663319709c57d21ee7d0dc055edc341dcaf"
|
||||
integrity sha512-OVdxKbQ5DGcAGxvgZJRng7g01w/4xqEk65FGc8xELMcTdTjzh1m7FFjEQSglv1Y/TIDsOHaA5b+/ojQp4I2QhA==
|
||||
eslint-plugin-cypress@^2.7.0:
|
||||
version "2.7.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-cypress/-/eslint-plugin-cypress-2.7.0.tgz#117f14ce63698e4c4f3afea3d7e27025c8d504f0"
|
||||
integrity sha512-52Lq5ePCD/8jc536e1RqtLfj33BAy1s7BlYgCjbG39J5kqUitcTlRY5i3NRoeAyPHueDwETsq0eASF44ugLosQ==
|
||||
dependencies:
|
||||
globals "^11.12.0"
|
||||
|
||||
eslint-plugin-es@^1.4.1:
|
||||
version "1.4.1"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-1.4.1.tgz#12acae0f4953e76ba444bfd1b2271081ac620998"
|
||||
integrity sha512-5fa/gR2yR3NxQf+UXkeLeP8FBBl6tSgdrAz1+cF84v1FMM4twGwQoqTnn+QxFLcPOrF4pdKEJKDB/q9GoyJrCA==
|
||||
eslint-plugin-es@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-2.0.0.tgz#0f5f5da5f18aa21989feebe8a73eadefb3432976"
|
||||
integrity sha512-f6fceVtg27BR02EYnBhgWLFQfK6bN4Ll0nQFrBHOlCsAyxeZkn0NHns5O0YZOPrV1B3ramd6cgFwaoFLcSkwEQ==
|
||||
dependencies:
|
||||
eslint-utils "^1.4.2"
|
||||
regexpp "^2.0.1"
|
||||
regexpp "^3.0.0"
|
||||
|
||||
eslint-plugin-import@2.18.2:
|
||||
eslint-plugin-import@^2.18.2:
|
||||
version "2.18.2"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.18.2.tgz#02f1180b90b077b33d447a17a2326ceb400aceb6"
|
||||
integrity sha512-5ohpsHAiUBRNaBWAF08izwUGlbrJoJJ+W9/TBwsGoR1MnlgfwMIKrFeSjWbt6moabiXW9xNvtFz+97KHRfI4HQ==
|
||||
|
@ -11342,14 +11367,14 @@ eslint-plugin-import@2.18.2:
|
|||
read-pkg-up "^2.0.0"
|
||||
resolve "^1.11.0"
|
||||
|
||||
eslint-plugin-jest@22.17.0:
|
||||
version "22.17.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-22.17.0.tgz#dc170ec8369cd1bff9c5dd8589344e3f73c88cf6"
|
||||
integrity sha512-WT4DP4RoGBhIQjv+5D0FM20fAdAUstfYAf/mkufLNTojsfgzc5/IYW22cIg/Q4QBavAZsROQlqppiWDpFZDS8Q==
|
||||
eslint-plugin-jest@^22.19.0:
|
||||
version "22.19.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-22.19.0.tgz#0cf90946a8c927d40a2c64458c89bb635d0f2a0b"
|
||||
integrity sha512-4zUc3rh36ds0SXdl2LywT4YWA3zRe8sfLhz8bPp8qQPIKvynTTkNGwmSCMpl5d9QiZE2JxSinGF+WD8yU+O0Lg==
|
||||
dependencies:
|
||||
"@typescript-eslint/experimental-utils" "^1.13.0"
|
||||
|
||||
eslint-plugin-jsx-a11y@6.2.3:
|
||||
eslint-plugin-jsx-a11y@^6.2.3:
|
||||
version "6.2.3"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.2.3.tgz#b872a09d5de51af70a97db1eea7dc933043708aa"
|
||||
integrity sha512-CawzfGt9w83tyuVekn0GDPU9ytYtxyxyFZ3aSWROmnRRFQFT2BiPJd7jvRdzNDi6oLWaS2asMeYSNMjWTV4eNg==
|
||||
|
@ -11364,59 +11389,61 @@ eslint-plugin-jsx-a11y@6.2.3:
|
|||
has "^1.0.3"
|
||||
jsx-ast-utils "^2.2.1"
|
||||
|
||||
eslint-plugin-mocha@6.1.1:
|
||||
version "6.1.1"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-mocha/-/eslint-plugin-mocha-6.1.1.tgz#5a036f2f806e1a5fb7d19f7538ebeff3afb15377"
|
||||
integrity sha512-p/otruG425jRYDa28HjbBYYXoFNzq3Qp++gn5dbE44Kz4NvmIsSUKSV1T+RLYUcZOcdJKKAftXbaqkHFqReKoA==
|
||||
eslint-plugin-mocha@^6.2.0:
|
||||
version "6.2.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-mocha/-/eslint-plugin-mocha-6.2.0.tgz#16ff9ce4d5a6a35af522d5db0ce3c8946566e4c1"
|
||||
integrity sha512-vE/+tHJVom2BkMOiwkOKcAM5YqGPk3C6gMvQ32DHihKkaXF6vmxtj3UEOg64wP3m8/Zk5V/UmQbFE5nqu1EXSg==
|
||||
dependencies:
|
||||
ramda "^0.26.1"
|
||||
|
||||
eslint-plugin-no-unsanitized@3.0.2:
|
||||
eslint-plugin-no-unsanitized@^3.0.2:
|
||||
version "3.0.2"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-no-unsanitized/-/eslint-plugin-no-unsanitized-3.0.2.tgz#83c6fcf8e34715112757e03dd4ee436dce29ed45"
|
||||
integrity sha512-JnwpoH8Sv4QOjrTDutENBHzSnyYtspdjtglYtqUtAHe6f6LLKqykJle+UwFPg23GGwt5hI3amS9CRDezW8GAww==
|
||||
|
||||
eslint-plugin-node@9.2.0:
|
||||
version "9.2.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-node/-/eslint-plugin-node-9.2.0.tgz#b1911f111002d366c5954a6d96d3cd5bf2a3036a"
|
||||
integrity sha512-2abNmzAH/JpxI4gEOwd6K8wZIodK3BmHbTxz4s79OIYwwIt2gkpEXlAouJXu4H1c9ySTnRso0tsuthSOZbUMlA==
|
||||
eslint-plugin-node@^10.0.0:
|
||||
version "10.0.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-node/-/eslint-plugin-node-10.0.0.tgz#fd1adbc7a300cf7eb6ac55cf4b0b6fc6e577f5a6"
|
||||
integrity sha512-1CSyM/QCjs6PXaT18+zuAXsjXGIGo5Rw630rSKwokSs2jrYURQc4R5JZpoanNCqwNmepg+0eZ9L7YiRUJb8jiQ==
|
||||
dependencies:
|
||||
eslint-plugin-es "^1.4.1"
|
||||
eslint-plugin-es "^2.0.0"
|
||||
eslint-utils "^1.4.2"
|
||||
ignore "^5.1.1"
|
||||
minimatch "^3.0.4"
|
||||
resolve "^1.10.1"
|
||||
semver "^6.1.0"
|
||||
|
||||
eslint-plugin-prefer-object-spread@1.2.1:
|
||||
eslint-plugin-prefer-object-spread@^1.2.1:
|
||||
version "1.2.1"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-prefer-object-spread/-/eslint-plugin-prefer-object-spread-1.2.1.tgz#27fb91853690cceb3ae6101d9c8aecc6a67a402c"
|
||||
integrity sha1-J/uRhTaQzOs65hAdnIrsxqZ6QCw=
|
||||
|
||||
eslint-plugin-prettier@3.1.1:
|
||||
eslint-plugin-prettier@^3.1.1:
|
||||
version "3.1.1"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.1.tgz#507b8562410d02a03f0ddc949c616f877852f2ba"
|
||||
integrity sha512-A+TZuHZ0KU0cnn56/9mfR7/KjUJ9QNVXUhwvRFSR7PGPe0zQR6PTkmyqg1AtUUEOzTqeRsUwyKFh0oVZKVCrtA==
|
||||
dependencies:
|
||||
prettier-linter-helpers "^1.0.0"
|
||||
|
||||
eslint-plugin-react-hooks@1.6.0:
|
||||
version "1.6.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-1.6.0.tgz#348efcda8fb426399ac7b8609607c7b4025a6f5f"
|
||||
integrity sha512-lHBVRIaz5ibnIgNG07JNiAuBUeKhEf8l4etNx5vfAEwqQ5tcuK3jV9yjmopPgQDagQb7HwIuQVsE3IVcGrRnag==
|
||||
eslint-plugin-react-hooks@^2.1.2:
|
||||
version "2.1.2"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-2.1.2.tgz#1358d2acb2c5e02b7e90c37e611ac258a488e3a7"
|
||||
integrity sha512-ZR+AyesAUGxJAyTFlF3MbzeVHAcQTFQt1fFVe5o0dzY/HFoj1dgQDMoIkiM+ltN/HhlHBYX4JpJwYonjxsyQMA==
|
||||
|
||||
eslint-plugin-react@7.13.0:
|
||||
version "7.13.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.13.0.tgz#bc13fd7101de67996ea51b33873cd9dc2b7e5758"
|
||||
integrity sha512-uA5LrHylu8lW/eAH3bEQe9YdzpPaFd9yAJTwTi/i/BKTD7j6aQMKVAdGM/ML72zD6womuSK7EiGtMKuK06lWjQ==
|
||||
eslint-plugin-react@^7.16.0:
|
||||
version "7.16.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.16.0.tgz#9928e4f3e2122ed3ba6a5b56d0303ba3e41d8c09"
|
||||
integrity sha512-GacBAATewhhptbK3/vTP09CbFrgUJmBSaaRcWdbQLFvUZy9yVcQxigBNHGPU/KE2AyHpzj3AWXpxoMTsIDiHug==
|
||||
dependencies:
|
||||
array-includes "^3.0.3"
|
||||
doctrine "^2.1.0"
|
||||
has "^1.0.3"
|
||||
jsx-ast-utils "^2.1.0"
|
||||
jsx-ast-utils "^2.2.1"
|
||||
object.entries "^1.1.0"
|
||||
object.fromentries "^2.0.0"
|
||||
object.values "^1.1.0"
|
||||
prop-types "^15.7.2"
|
||||
resolve "^1.10.1"
|
||||
resolve "^1.12.0"
|
||||
|
||||
eslint-rule-composer@^0.3.0:
|
||||
version "0.3.0"
|
||||
|
@ -11439,10 +11466,13 @@ eslint-scope@^4.0.3:
|
|||
esrecurse "^4.1.0"
|
||||
estraverse "^4.1.1"
|
||||
|
||||
eslint-utils@^1.3.1:
|
||||
version "1.3.1"
|
||||
resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-1.3.1.tgz#9a851ba89ee7c460346f97cf8939c7298827e512"
|
||||
integrity sha512-Z7YjnIldX+2XMcjr7ZkgEsOj/bREONV60qYeB/bjMAqqqZ4zxKyWX+BOUkdmRmA9riiIPVvo5x86m5elviOk0Q==
|
||||
eslint-scope@^5.0.0:
|
||||
version "5.0.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.0.0.tgz#e87c8887c73e8d1ec84f1ca591645c358bfc8fb9"
|
||||
integrity sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==
|
||||
dependencies:
|
||||
esrecurse "^4.1.0"
|
||||
estraverse "^4.1.1"
|
||||
|
||||
eslint-utils@^1.4.2:
|
||||
version "1.4.2"
|
||||
|
@ -11456,47 +11486,10 @@ eslint-visitor-keys@^1.0.0:
|
|||
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d"
|
||||
integrity sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ==
|
||||
|
||||
eslint@5.16.0:
|
||||
version "5.16.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.16.0.tgz#a1e3ac1aae4a3fbd8296fcf8f7ab7314cbb6abea"
|
||||
integrity sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg==
|
||||
dependencies:
|
||||
"@babel/code-frame" "^7.0.0"
|
||||
ajv "^6.9.1"
|
||||
chalk "^2.1.0"
|
||||
cross-spawn "^6.0.5"
|
||||
debug "^4.0.1"
|
||||
doctrine "^3.0.0"
|
||||
eslint-scope "^4.0.3"
|
||||
eslint-utils "^1.3.1"
|
||||
eslint-visitor-keys "^1.0.0"
|
||||
espree "^5.0.1"
|
||||
esquery "^1.0.1"
|
||||
esutils "^2.0.2"
|
||||
file-entry-cache "^5.0.1"
|
||||
functional-red-black-tree "^1.0.1"
|
||||
glob "^7.1.2"
|
||||
globals "^11.7.0"
|
||||
ignore "^4.0.6"
|
||||
import-fresh "^3.0.0"
|
||||
imurmurhash "^0.1.4"
|
||||
inquirer "^6.2.2"
|
||||
js-yaml "^3.13.0"
|
||||
json-stable-stringify-without-jsonify "^1.0.1"
|
||||
levn "^0.3.0"
|
||||
lodash "^4.17.11"
|
||||
minimatch "^3.0.4"
|
||||
mkdirp "^0.5.1"
|
||||
natural-compare "^1.4.0"
|
||||
optionator "^0.8.2"
|
||||
path-is-inside "^1.0.2"
|
||||
progress "^2.0.0"
|
||||
regexpp "^2.0.1"
|
||||
semver "^5.5.1"
|
||||
strip-ansi "^4.0.0"
|
||||
strip-json-comments "^2.0.1"
|
||||
table "^5.2.3"
|
||||
text-table "^0.2.0"
|
||||
eslint-visitor-keys@^1.1.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2"
|
||||
integrity sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==
|
||||
|
||||
eslint@^2.7.0:
|
||||
version "2.13.1"
|
||||
|
@ -11537,6 +11530,49 @@ eslint@^2.7.0:
|
|||
text-table "~0.2.0"
|
||||
user-home "^2.0.0"
|
||||
|
||||
eslint@^6.5.1:
|
||||
version "6.5.1"
|
||||
resolved "https://registry.yarnpkg.com/eslint/-/eslint-6.5.1.tgz#828e4c469697d43bb586144be152198b91e96ed6"
|
||||
integrity sha512-32h99BoLYStT1iq1v2P9uwpyznQ4M2jRiFB6acitKz52Gqn+vPaMDUTB1bYi1WN4Nquj2w+t+bimYUG83DC55A==
|
||||
dependencies:
|
||||
"@babel/code-frame" "^7.0.0"
|
||||
ajv "^6.10.0"
|
||||
chalk "^2.1.0"
|
||||
cross-spawn "^6.0.5"
|
||||
debug "^4.0.1"
|
||||
doctrine "^3.0.0"
|
||||
eslint-scope "^5.0.0"
|
||||
eslint-utils "^1.4.2"
|
||||
eslint-visitor-keys "^1.1.0"
|
||||
espree "^6.1.1"
|
||||
esquery "^1.0.1"
|
||||
esutils "^2.0.2"
|
||||
file-entry-cache "^5.0.1"
|
||||
functional-red-black-tree "^1.0.1"
|
||||
glob-parent "^5.0.0"
|
||||
globals "^11.7.0"
|
||||
ignore "^4.0.6"
|
||||
import-fresh "^3.0.0"
|
||||
imurmurhash "^0.1.4"
|
||||
inquirer "^6.4.1"
|
||||
is-glob "^4.0.0"
|
||||
js-yaml "^3.13.1"
|
||||
json-stable-stringify-without-jsonify "^1.0.1"
|
||||
levn "^0.3.0"
|
||||
lodash "^4.17.14"
|
||||
minimatch "^3.0.4"
|
||||
mkdirp "^0.5.1"
|
||||
natural-compare "^1.4.0"
|
||||
optionator "^0.8.2"
|
||||
progress "^2.0.0"
|
||||
regexpp "^2.0.1"
|
||||
semver "^6.1.2"
|
||||
strip-ansi "^5.2.0"
|
||||
strip-json-comments "^3.0.1"
|
||||
table "^5.2.3"
|
||||
text-table "^0.2.0"
|
||||
v8-compile-cache "^2.0.3"
|
||||
|
||||
espree@^3.1.6:
|
||||
version "3.5.4"
|
||||
resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.4.tgz#b0f447187c8a8bed944b815a660bddf5deb5d1a7"
|
||||
|
@ -11545,14 +11581,14 @@ espree@^3.1.6:
|
|||
acorn "^5.5.0"
|
||||
acorn-jsx "^3.0.0"
|
||||
|
||||
espree@^5.0.1:
|
||||
version "5.0.1"
|
||||
resolved "https://registry.yarnpkg.com/espree/-/espree-5.0.1.tgz#5d6526fa4fc7f0788a5cf75b15f30323e2f81f7a"
|
||||
integrity sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A==
|
||||
espree@^6.1.1:
|
||||
version "6.1.1"
|
||||
resolved "https://registry.yarnpkg.com/espree/-/espree-6.1.1.tgz#7f80e5f7257fc47db450022d723e356daeb1e5de"
|
||||
integrity sha512-EYbr8XZUhWbYCqQRW0duU5LxzL5bETN6AjKBGy1302qqzPaCH10QbRg3Wvco79Z8x9WbiE8HYB4e75xl6qUYvQ==
|
||||
dependencies:
|
||||
acorn "^6.0.7"
|
||||
acorn-jsx "^5.0.0"
|
||||
eslint-visitor-keys "^1.0.0"
|
||||
acorn "^7.0.0"
|
||||
acorn-jsx "^5.0.2"
|
||||
eslint-visitor-keys "^1.1.0"
|
||||
|
||||
esprima@2.7.x, esprima@^2.7.1:
|
||||
version "2.7.3"
|
||||
|
@ -15357,7 +15393,7 @@ inline-style@^2.0.0:
|
|||
dependencies:
|
||||
dashify "^0.1.0"
|
||||
|
||||
inquirer@6.2.2, inquirer@^6.2.2:
|
||||
inquirer@6.2.2:
|
||||
version "6.2.2"
|
||||
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.2.2.tgz#46941176f65c9eb20804627149b743a218f25406"
|
||||
integrity sha512-Z2rREiXA6cHRR9KBOarR3WuLlFzlIfAEIiB45ll5SSadMg7WqOh1MKEjjndfuH5ewXdixWCxqnVfGOQzPeiztA==
|
||||
|
@ -15530,6 +15566,25 @@ inquirer@^6.2.0:
|
|||
strip-ansi "^4.0.0"
|
||||
through "^2.3.6"
|
||||
|
||||
inquirer@^6.4.1:
|
||||
version "6.5.2"
|
||||
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.5.2.tgz#ad50942375d036d327ff528c08bd5fab089928ca"
|
||||
integrity sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ==
|
||||
dependencies:
|
||||
ansi-escapes "^3.2.0"
|
||||
chalk "^2.4.2"
|
||||
cli-cursor "^2.1.0"
|
||||
cli-width "^2.0.0"
|
||||
external-editor "^3.0.3"
|
||||
figures "^2.0.0"
|
||||
lodash "^4.17.12"
|
||||
mute-stream "0.0.7"
|
||||
run-async "^2.2.0"
|
||||
rxjs "^6.4.0"
|
||||
string-width "^2.1.0"
|
||||
strip-ansi "^5.1.0"
|
||||
through "^2.3.6"
|
||||
|
||||
inquirer@^7.0.0:
|
||||
version "7.0.0"
|
||||
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.0.0.tgz#9e2b032dde77da1db5db804758b8fea3a970519a"
|
||||
|
@ -17080,14 +17135,6 @@ js-yaml@3.13.1, js-yaml@3.x, js-yaml@^3.10.0, js-yaml@^3.13.1, js-yaml@^3.4.6, j
|
|||
argparse "^1.0.7"
|
||||
esprima "^4.0.0"
|
||||
|
||||
js-yaml@^3.13.0:
|
||||
version "3.13.0"
|
||||
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.0.tgz#38ee7178ac0eea2c97ff6d96fff4b18c7d8cf98e"
|
||||
integrity sha512-pZZoSxcCYco+DIKBTimr67J6Hy+EYGZDY/HCWC+iAEA9h1ByhMXAIVUXMcMFpOCxQ/xjXmPI2MkDL5HRm5eFrQ==
|
||||
dependencies:
|
||||
argparse "^1.0.7"
|
||||
esprima "^4.0.0"
|
||||
|
||||
jsbn@~0.1.0:
|
||||
version "0.1.1"
|
||||
resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513"
|
||||
|
@ -17382,13 +17429,6 @@ jsts@^1.6.2:
|
|||
resolved "https://registry.yarnpkg.com/jsts/-/jsts-1.6.2.tgz#c0efc885edae06ae84f78cbf2a0110ba929c5925"
|
||||
integrity sha512-JNfDQk/fo5MeXx4xefvCyHZD22/DHowHr5K07FdgCJ81MEqn02HsDV5FQvYTz60ZIOv/+hhGbsVzXX5cuDWWlA==
|
||||
|
||||
jsx-ast-utils@^2.1.0:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-2.1.0.tgz#0ee4e2c971fb9601c67b5641b71be80faecf0b36"
|
||||
integrity sha512-yDGDG2DS4JcqhA6blsuYbtsT09xL8AoLuUR2Gb5exrw7UEM19sBcOTq+YBBhrNbl0PUC4R4LnFu+dHg2HKeVvA==
|
||||
dependencies:
|
||||
array-includes "^3.0.3"
|
||||
|
||||
jsx-ast-utils@^2.2.1:
|
||||
version "2.2.1"
|
||||
resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-2.2.1.tgz#4d4973ebf8b9d2837ee91a8208cc66f3a2776cfb"
|
||||
|
@ -21980,7 +22020,7 @@ prettier@1.16.4:
|
|||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.16.4.tgz#73e37e73e018ad2db9c76742e2647e21790c9717"
|
||||
integrity sha512-ZzWuos7TI5CKUeQAtFd6Zhm2s6EpAD/ZLApIhsF9pRvRtM1RFo61dM/4MSRUA0SuLugA/zgrZD8m0BaY46Og7g==
|
||||
|
||||
prettier@1.18.2, prettier@^1.18.2:
|
||||
prettier@^1.18.2:
|
||||
version "1.18.2"
|
||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.18.2.tgz#6823e7c5900017b4bd3acf46fe9ac4b4d7bda9ea"
|
||||
integrity sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw==
|
||||
|
@ -24005,6 +24045,11 @@ regexpp@^2.0.1:
|
|||
resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-2.0.1.tgz#8d19d31cf632482b589049f8281f93dbcba4d07f"
|
||||
integrity sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==
|
||||
|
||||
regexpp@^3.0.0:
|
||||
version "3.0.0"
|
||||
resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.0.0.tgz#dd63982ee3300e67b41c1956f850aa680d9d330e"
|
||||
integrity sha512-Z+hNr7RAVWxznLPuA7DIh8UNX1j9CDrUQxskw9IrBE1Dxue2lyXT+shqEIeLUjrokxIP8CMy1WkjgG3rTsd5/g==
|
||||
|
||||
regexpu-core@^4.5.4:
|
||||
version "4.5.4"
|
||||
resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.5.4.tgz#080d9d02289aa87fe1667a4f5136bc98a6aebaae"
|
||||
|
@ -25156,7 +25201,7 @@ semver@^6.1.0:
|
|||
resolved "https://registry.yarnpkg.com/semver/-/semver-6.1.1.tgz#53f53da9b30b2103cd4f15eab3a18ecbcb210c9b"
|
||||
integrity sha512-rWYq2e5iYW+fFe/oPPtYJxYgjBm8sC4rmoGdUOgBB7VnwKt6HrL793l2voH1UlsyYZpJ4g0wfjnTEO1s1NP2eQ==
|
||||
|
||||
semver@^6.2.0, semver@^6.3.0:
|
||||
semver@^6.1.2, semver@^6.2.0, semver@^6.3.0:
|
||||
version "6.3.0"
|
||||
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
|
||||
integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==
|
||||
|
@ -26419,7 +26464,7 @@ strip-indent@^2.0.0:
|
|||
resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68"
|
||||
integrity sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g=
|
||||
|
||||
strip-json-comments@2.0.1, strip-json-comments@^2.0.1, strip-json-comments@~2.0.1:
|
||||
strip-json-comments@2.0.1, strip-json-comments@~2.0.1:
|
||||
version "2.0.1"
|
||||
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
|
||||
integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo=
|
||||
|
@ -27559,10 +27604,10 @@ tslib@^1.8.1, tslib@^1.9.0, tslib@^1.9.2, tslib@^1.9.3:
|
|||
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286"
|
||||
integrity sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ==
|
||||
|
||||
tsutils@^3.7.0:
|
||||
version "3.9.1"
|
||||
resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.9.1.tgz#2a40dc742943c71eca6d5c1994fcf999956be387"
|
||||
integrity sha512-hrxVtLtPqQr//p8/msPT1X1UYXUjizqSit5d9AQ5k38TcV38NyecL5xODNxa73cLe/5sdiJ+w1FqzDhRBA/anA==
|
||||
tsutils@^3.17.1:
|
||||
version "3.17.1"
|
||||
resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.17.1.tgz#ed719917f11ca0dee586272b2ac49e015a2dd759"
|
||||
integrity sha512-kzeQ5B8H3w60nFY2g8cJIuH7JDpsALXySGtwGJ0p2LSjLgay3NdIpqq5SoOBe46bKDW2iq25irHCr8wjomUS2g==
|
||||
dependencies:
|
||||
tslib "^1.8.1"
|
||||
|
||||
|
@ -28763,6 +28808,11 @@ v8-compile-cache@2.0.3:
|
|||
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.0.3.tgz#00f7494d2ae2b688cfe2899df6ed2c54bef91dbe"
|
||||
integrity sha512-CNmdbwQMBjwr9Gsmohvm0pbL954tJrNzf6gWL3K+QMQf00PF7ERGrEiLgjuU3mKreLC2MeGhUsNV9ybTbLgd3w==
|
||||
|
||||
v8-compile-cache@^2.0.3:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz#e14de37b31a6d194f5690d67efc4e7f6fc6ab30e"
|
||||
integrity sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g==
|
||||
|
||||
v8flags@^3.0.1:
|
||||
version "3.1.3"
|
||||
resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-3.1.3.tgz#fc9dc23521ca20c5433f81cc4eb9b3033bb105d8"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue