diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6583908b372b..8dcc7fb1f8f2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,28 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [4.28.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.27.0...v4.28.0) (2021-06-21)
+
+
+### Bug Fixes
+
+* **eslint-plugin:** [prefer-regexp-exec] factor in union types ([#3434](https://github.com/typescript-eslint/typescript-eslint/issues/3434)) ([ac86a79](https://github.com/typescript-eslint/typescript-eslint/commit/ac86a79bd416f031beccc7bdac28a938cb354ba5))
+* **experimental-utils:** expand `RuleTester` config properties ([#3557](https://github.com/typescript-eslint/typescript-eslint/issues/3557)) ([ffbb3cf](https://github.com/typescript-eslint/typescript-eslint/commit/ffbb3cff18bc78467e70e794f9b1f0e79be4aff7))
+* **experimental-utils:** fix `eslint-utils`' negative predicates' return types ([#3462](https://github.com/typescript-eslint/typescript-eslint/issues/3462)) ([1e6016b](https://github.com/typescript-eslint/typescript-eslint/commit/1e6016b356ae40e4636a3cbe41fa02b6a61403ee))
+* **experimental-utils:** fix `eslint-utils`' negative predicates' return types in `ast-utils` ([#3461](https://github.com/typescript-eslint/typescript-eslint/issues/3461)) ([614b0a3](https://github.com/typescript-eslint/typescript-eslint/commit/614b0a38b4163eb4667cce7a415d534222d15dd3))
+* **experimental-utils:** make keys for `ReferenceTracker` options optional ([#3531](https://github.com/typescript-eslint/typescript-eslint/issues/3531)) ([a7fd7bb](https://github.com/typescript-eslint/typescript-eslint/commit/a7fd7bb25584cb3f72f0339025dc76efa6cccceb))
+
+
+### Features
+
+* **experimental-utils:** add `only` property to `RuleTester` types ([#3555](https://github.com/typescript-eslint/typescript-eslint/issues/3555)) ([2a36e3e](https://github.com/typescript-eslint/typescript-eslint/commit/2a36e3e737f935cc6b967befb022d10a83c8bc9b))
+* **experimental-utils:** expose ReferenceTracker.ESM ([#3532](https://github.com/typescript-eslint/typescript-eslint/issues/3532)) ([4ac67c4](https://github.com/typescript-eslint/typescript-eslint/commit/4ac67c4c9401c5ce0e947a6409efbc11afe1eb3b))
+* **experimental-utils:** use mergable interface for `settings` property ([#3556](https://github.com/typescript-eslint/typescript-eslint/issues/3556)) ([abfc19b](https://github.com/typescript-eslint/typescript-eslint/commit/abfc19bf9364d881bdf594ee166a1deb23240630))
+
+
+
+
+
# [4.27.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.26.1...v4.27.0) (2021-06-14)
diff --git a/lerna.json b/lerna.json
index ce8013f10bd6..b892eac80960 100644
--- a/lerna.json
+++ b/lerna.json
@@ -1,5 +1,5 @@
{
- "version": "4.27.0",
+ "version": "4.28.0",
"npmClient": "yarn",
"useWorkspaces": true,
"stream": true
diff --git a/package.json b/package.json
index e4c07d58f0ef..8b13e068b359 100644
--- a/package.json
+++ b/package.json
@@ -72,7 +72,7 @@
},
"devDependencies": {
"@babel/code-frame": "^7.12.13",
- "@babel/parser": "^7.14.4",
+ "@babel/parser": "^7.14.6",
"@babel/types": "^7.14.4",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
diff --git a/packages/ast-spec/CHANGELOG.md b/packages/ast-spec/CHANGELOG.md
index dc5f93812474..172eb878a20b 100644
--- a/packages/ast-spec/CHANGELOG.md
+++ b/packages/ast-spec/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [4.28.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.27.0...v4.28.0) (2021-06-21)
+
+**Note:** Version bump only for package @typescript-eslint/ast-spec
+
+
+
+
+
# [4.27.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.26.1...v4.27.0) (2021-06-14)
diff --git a/packages/ast-spec/package.json b/packages/ast-spec/package.json
index ed01fb3f7d3e..e7afe1aa8edd 100644
--- a/packages/ast-spec/package.json
+++ b/packages/ast-spec/package.json
@@ -1,6 +1,6 @@
{
"name": "@typescript-eslint/ast-spec",
- "version": "4.27.0",
+ "version": "4.28.0",
"description": "TypeScript-ESTree AST spec",
"private": true,
"keywords": [
diff --git a/packages/ast-spec/src/statement/ImportDeclaration/spec.ts b/packages/ast-spec/src/declaration/ImportDeclaration/spec.ts
similarity index 100%
rename from packages/ast-spec/src/statement/ImportDeclaration/spec.ts
rename to packages/ast-spec/src/declaration/ImportDeclaration/spec.ts
diff --git a/packages/ast-spec/src/declaration/spec.ts b/packages/ast-spec/src/declaration/spec.ts
index 8d29c3cd70a1..52ab7c72bab6 100644
--- a/packages/ast-spec/src/declaration/spec.ts
+++ b/packages/ast-spec/src/declaration/spec.ts
@@ -3,6 +3,7 @@ export * from './ExportAllDeclaration/spec';
export * from './ExportDefaultDeclaration/spec';
export * from './ExportNamedDeclaration/spec';
export * from './FunctionDeclaration/spec';
+export * from './ImportDeclaration/spec';
export * from './TSDeclareFunction/spec';
export * from './TSEnumDeclaration/spec';
export * from './TSImportEqualsDeclaration/spec';
diff --git a/packages/ast-spec/src/statement/spec.ts b/packages/ast-spec/src/statement/spec.ts
index d1ce293283e4..2621cf53004e 100644
--- a/packages/ast-spec/src/statement/spec.ts
+++ b/packages/ast-spec/src/statement/spec.ts
@@ -8,7 +8,6 @@ export * from './ForInStatement/spec';
export * from './ForOfStatement/spec';
export * from './ForStatement/spec';
export * from './IfStatement/spec';
-export * from './ImportDeclaration/spec';
export * from './LabeledStatement/spec';
export * from './ReturnStatement/spec';
export * from './SwitchStatement/spec';
diff --git a/packages/ast-spec/src/token/PunctuatorToken/PunctuatorTokenToText.ts b/packages/ast-spec/src/token/PunctuatorToken/PunctuatorTokenToText.ts
index a3ab12ee8564..174e98e6c6b0 100644
--- a/packages/ast-spec/src/token/PunctuatorToken/PunctuatorTokenToText.ts
+++ b/packages/ast-spec/src/token/PunctuatorToken/PunctuatorTokenToText.ts
@@ -44,6 +44,8 @@ export interface PunctuatorTokenToText {
[SyntaxKind.ColonToken]: ':';
[SyntaxKind.AtToken]: '@';
[SyntaxKind.QuestionQuestionToken]: '??';
+ [SyntaxKind.BacktickToken]: '`';
+ // [SyntaxKind.HashToken]: '#'; // new in PunctuationSyntaxKind in TS 4.4
[SyntaxKind.EqualsToken]: '=';
[SyntaxKind.PlusEqualsToken]: '+=';
[SyntaxKind.MinusEqualsToken]: '-=';
@@ -56,8 +58,8 @@ export interface PunctuatorTokenToText {
[SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken]: '>>>=';
[SyntaxKind.AmpersandEqualsToken]: '&=';
[SyntaxKind.BarEqualsToken]: '|=';
- [SyntaxKind.BarBarEqualsToken]: '||=';
- [SyntaxKind.AmpersandAmpersandEqualsToken]: '&&=';
- [SyntaxKind.QuestionQuestionEqualsToken]: '??=';
+ [SyntaxKind.BarBarEqualsToken]: '||='; // included in PunctuationSyntaxKind in TS 4.4
+ [SyntaxKind.AmpersandAmpersandEqualsToken]: '&&='; // included in PunctuationSyntaxKind in TS 4.4
+ [SyntaxKind.QuestionQuestionEqualsToken]: '??='; // included in PunctuationSyntaxKind in TS 4.4
[SyntaxKind.CaretEqualsToken]: '^=';
}
diff --git a/packages/ast-spec/src/unions/Node.ts b/packages/ast-spec/src/unions/Node.ts
index fe3435596a98..61c943af566a 100644
--- a/packages/ast-spec/src/unions/Node.ts
+++ b/packages/ast-spec/src/unions/Node.ts
@@ -3,6 +3,7 @@ import type { ExportAllDeclaration } from '../declaration/ExportAllDeclaration/s
import type { ExportDefaultDeclaration } from '../declaration/ExportDefaultDeclaration/spec';
import type { ExportNamedDeclaration } from '../declaration/ExportNamedDeclaration/spec';
import type { FunctionDeclaration } from '../declaration/FunctionDeclaration/spec';
+import type { ImportDeclaration } from '../declaration/ImportDeclaration/spec';
import type { TSDeclareFunction } from '../declaration/TSDeclareFunction/spec';
import type { TSEnumDeclaration } from '../declaration/TSEnumDeclaration/spec';
import type { TSImportEqualsDeclaration } from '../declaration/TSImportEqualsDeclaration/spec';
@@ -103,7 +104,6 @@ import type { ForInStatement } from '../statement/ForInStatement/spec';
import type { ForOfStatement } from '../statement/ForOfStatement/spec';
import type { ForStatement } from '../statement/ForStatement/spec';
import type { IfStatement } from '../statement/IfStatement/spec';
-import type { ImportDeclaration } from '../statement/ImportDeclaration/spec';
import type { LabeledStatement } from '../statement/LabeledStatement/spec';
import type { ReturnStatement } from '../statement/ReturnStatement/spec';
import type { SwitchStatement } from '../statement/SwitchStatement/spec';
diff --git a/packages/ast-spec/src/unions/Statement.ts b/packages/ast-spec/src/unions/Statement.ts
index 7345a159982e..e1af96b7fe5d 100644
--- a/packages/ast-spec/src/unions/Statement.ts
+++ b/packages/ast-spec/src/unions/Statement.ts
@@ -3,6 +3,7 @@ import type { ExportAllDeclaration } from '../declaration/ExportAllDeclaration/s
import type { ExportDefaultDeclaration } from '../declaration/ExportDefaultDeclaration/spec';
import type { ExportNamedDeclaration } from '../declaration/ExportNamedDeclaration/spec';
import type { FunctionDeclaration } from '../declaration/FunctionDeclaration/spec';
+import type { ImportDeclaration } from '../declaration/ImportDeclaration/spec';
import type { TSDeclareFunction } from '../declaration/TSDeclareFunction/spec';
import type { TSEnumDeclaration } from '../declaration/TSEnumDeclaration/spec';
import type { TSImportEqualsDeclaration } from '../declaration/TSImportEqualsDeclaration/spec';
@@ -21,7 +22,6 @@ import type { ForInStatement } from '../statement/ForInStatement/spec';
import type { ForOfStatement } from '../statement/ForOfStatement/spec';
import type { ForStatement } from '../statement/ForStatement/spec';
import type { IfStatement } from '../statement/IfStatement/spec';
-import type { ImportDeclaration } from '../statement/ImportDeclaration/spec';
import type { LabeledStatement } from '../statement/LabeledStatement/spec';
import type { ReturnStatement } from '../statement/ReturnStatement/spec';
import type { SwitchStatement } from '../statement/SwitchStatement/spec';
diff --git a/packages/ast-spec/tests/PunctuatorTokenToText.test.ts b/packages/ast-spec/tests/PunctuatorTokenToText.test.ts
new file mode 100644
index 000000000000..32deee0bea9a
--- /dev/null
+++ b/packages/ast-spec/tests/PunctuatorTokenToText.test.ts
@@ -0,0 +1,11 @@
+import type { PunctuationSyntaxKind } from 'typescript';
+
+import type { PunctuatorTokenToText } from '../src';
+
+// @ts-expect-error: purposely unused
+type _Test = {
+ readonly [T in PunctuationSyntaxKind]: PunctuatorTokenToText[T];
+ // If there are any PunctuationSyntaxKind members that don't have a
+ // corresponding PunctuatorTokenToText, then this line will error with
+ // "Type 'T' cannot be used to index type 'PunctuatorTokenToText'."
+};
diff --git a/packages/eslint-plugin-internal/CHANGELOG.md b/packages/eslint-plugin-internal/CHANGELOG.md
index 1a3541a5dbf8..b29583a5f9af 100644
--- a/packages/eslint-plugin-internal/CHANGELOG.md
+++ b/packages/eslint-plugin-internal/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [4.28.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.27.0...v4.28.0) (2021-06-21)
+
+**Note:** Version bump only for package @typescript-eslint/eslint-plugin-internal
+
+
+
+
+
# [4.27.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.26.1...v4.27.0) (2021-06-14)
**Note:** Version bump only for package @typescript-eslint/eslint-plugin-internal
diff --git a/packages/eslint-plugin-internal/package.json b/packages/eslint-plugin-internal/package.json
index 77d46e71b1f6..b8f176ae3ebd 100644
--- a/packages/eslint-plugin-internal/package.json
+++ b/packages/eslint-plugin-internal/package.json
@@ -1,6 +1,6 @@
{
"name": "@typescript-eslint/eslint-plugin-internal",
- "version": "4.27.0",
+ "version": "4.28.0",
"private": true,
"main": "dist/index.js",
"scripts": {
@@ -14,7 +14,7 @@
},
"dependencies": {
"@types/prettier": "*",
- "@typescript-eslint/experimental-utils": "4.27.0",
+ "@typescript-eslint/experimental-utils": "4.28.0",
"prettier": "*"
}
}
diff --git a/packages/eslint-plugin-tslint/CHANGELOG.md b/packages/eslint-plugin-tslint/CHANGELOG.md
index 7d18d1347758..636bd75f812d 100644
--- a/packages/eslint-plugin-tslint/CHANGELOG.md
+++ b/packages/eslint-plugin-tslint/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [4.28.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.27.0...v4.28.0) (2021-06-21)
+
+**Note:** Version bump only for package @typescript-eslint/eslint-plugin-tslint
+
+
+
+
+
# [4.27.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.26.1...v4.27.0) (2021-06-14)
**Note:** Version bump only for package @typescript-eslint/eslint-plugin-tslint
diff --git a/packages/eslint-plugin-tslint/package.json b/packages/eslint-plugin-tslint/package.json
index a2d1916e0008..2f20ebe305bf 100644
--- a/packages/eslint-plugin-tslint/package.json
+++ b/packages/eslint-plugin-tslint/package.json
@@ -1,6 +1,6 @@
{
"name": "@typescript-eslint/eslint-plugin-tslint",
- "version": "4.27.0",
+ "version": "4.28.0",
"main": "dist/index.js",
"typings": "src/index.ts",
"description": "TSLint wrapper plugin for ESLint",
@@ -38,7 +38,7 @@
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"dependencies": {
- "@typescript-eslint/experimental-utils": "4.27.0",
+ "@typescript-eslint/experimental-utils": "4.28.0",
"lodash": "^4.17.21"
},
"peerDependencies": {
@@ -48,6 +48,6 @@
},
"devDependencies": {
"@types/lodash": "*",
- "@typescript-eslint/parser": "4.27.0"
+ "@typescript-eslint/parser": "4.28.0"
}
}
diff --git a/packages/eslint-plugin/CHANGELOG.md b/packages/eslint-plugin/CHANGELOG.md
index 8df2fb68dbbf..7781ebcd4d2d 100644
--- a/packages/eslint-plugin/CHANGELOG.md
+++ b/packages/eslint-plugin/CHANGELOG.md
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [4.28.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.27.0...v4.28.0) (2021-06-21)
+
+
+### Bug Fixes
+
+* **eslint-plugin:** [prefer-regexp-exec] factor in union types ([#3434](https://github.com/typescript-eslint/typescript-eslint/issues/3434)) ([ac86a79](https://github.com/typescript-eslint/typescript-eslint/commit/ac86a79bd416f031beccc7bdac28a938cb354ba5))
+
+
+
+
+
# [4.27.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.26.1...v4.27.0) (2021-06-14)
diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json
index 47cc63e7719b..3bda91f3ddc1 100644
--- a/packages/eslint-plugin/package.json
+++ b/packages/eslint-plugin/package.json
@@ -1,6 +1,6 @@
{
"name": "@typescript-eslint/eslint-plugin",
- "version": "4.27.0",
+ "version": "4.28.0",
"description": "TypeScript plugin for ESLint",
"keywords": [
"eslint",
@@ -44,11 +44,10 @@
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"dependencies": {
- "@typescript-eslint/experimental-utils": "4.27.0",
- "@typescript-eslint/scope-manager": "4.27.0",
+ "@typescript-eslint/experimental-utils": "4.28.0",
+ "@typescript-eslint/scope-manager": "4.28.0",
"debug": "^4.3.1",
"functional-red-black-tree": "^1.0.1",
- "lodash": "^4.17.21",
"regexpp": "^3.1.0",
"semver": "^7.3.5",
"tsutils": "^3.21.0"
diff --git a/packages/eslint-plugin/src/rules/prefer-regexp-exec.ts b/packages/eslint-plugin/src/rules/prefer-regexp-exec.ts
index 636fe2b3825a..0d6693715bac 100644
--- a/packages/eslint-plugin/src/rules/prefer-regexp-exec.ts
+++ b/packages/eslint-plugin/src/rules/prefer-regexp-exec.ts
@@ -2,6 +2,8 @@ import {
AST_NODE_TYPES,
TSESTree,
} from '@typescript-eslint/experimental-utils';
+import * as tsutils from 'tsutils';
+import * as ts from 'typescript';
import {
createRule,
getParserServices,
@@ -10,6 +12,13 @@ import {
getWrappingFixer,
} from '../util';
+enum ArgumentType {
+ Other = 0,
+ String = 1 << 0,
+ RegExp = 1 << 1,
+ Both = String | RegExp,
+}
+
export default createRule({
name: 'prefer-regexp-exec',
defaultOptions: [],
@@ -37,25 +46,33 @@ export default createRule({
const sourceCode = context.getSourceCode();
/**
- * Check if a given node is a string.
- * @param node The node to check.
+ * Check if a given node type is a string.
+ * @param node The node type to check.
*/
- function isStringType(node: TSESTree.Node): boolean {
- const objectType = typeChecker.getTypeAtLocation(
- parserServices.esTreeNodeToTSNodeMap.get(node),
- );
- return getTypeName(typeChecker, objectType) === 'string';
+ function isStringType(type: ts.Type): boolean {
+ return getTypeName(typeChecker, type) === 'string';
}
/**
- * Check if a given node is a RegExp.
- * @param node The node to check.
+ * Check if a given node type is a RegExp.
+ * @param node The node type to check.
*/
- function isRegExpType(node: TSESTree.Node): boolean {
- const objectType = typeChecker.getTypeAtLocation(
- parserServices.esTreeNodeToTSNodeMap.get(node),
- );
- return getTypeName(typeChecker, objectType) === 'RegExp';
+ function isRegExpType(type: ts.Type): boolean {
+ return getTypeName(typeChecker, type) === 'RegExp';
+ }
+
+ function collectArgumentTypes(types: ts.Type[]): ArgumentType {
+ let result = ArgumentType.Other;
+
+ for (const type of types) {
+ if (isRegExpType(type)) {
+ result |= ArgumentType.RegExp;
+ } else if (isStringType(type)) {
+ result |= ArgumentType.String;
+ }
+ }
+
+ return result;
}
return {
@@ -67,7 +84,13 @@ export default createRule({
const argumentNode = callNode.arguments[0];
const argumentValue = getStaticValue(argumentNode, globalScope);
- if (!isStringType(objectNode)) {
+ if (
+ !isStringType(
+ typeChecker.getTypeAtLocation(
+ parserServices.esTreeNodeToTSNodeMap.get(objectNode),
+ ),
+ )
+ ) {
return;
}
@@ -97,38 +120,39 @@ export default createRule({
});
}
- if (isRegExpType(argumentNode)) {
- return context.report({
- node: memberNode.property,
- messageId: 'regExpExecOverStringMatch',
- fix: getWrappingFixer({
- sourceCode,
- node: callNode,
- innerNode: [objectNode, argumentNode],
- wrap: (objectCode, argumentCode) =>
- `${argumentCode}.exec(${objectCode})`,
- }),
- });
- }
+ const argumentType = typeChecker.getTypeAtLocation(
+ parserServices.esTreeNodeToTSNodeMap.get(argumentNode),
+ );
+ const argumentTypes = collectArgumentTypes(
+ tsutils.unionTypeParts(argumentType),
+ );
+ switch (argumentTypes) {
+ case ArgumentType.RegExp:
+ return context.report({
+ node: memberNode.property,
+ messageId: 'regExpExecOverStringMatch',
+ fix: getWrappingFixer({
+ sourceCode,
+ node: callNode,
+ innerNode: [objectNode, argumentNode],
+ wrap: (objectCode, argumentCode) =>
+ `${argumentCode}.exec(${objectCode})`,
+ }),
+ });
- if (isStringType(argumentNode)) {
- return context.report({
- node: memberNode.property,
- messageId: 'regExpExecOverStringMatch',
- fix: getWrappingFixer({
- sourceCode,
- node: callNode,
- innerNode: [objectNode, argumentNode],
- wrap: (objectCode, argumentCode) =>
- `RegExp(${argumentCode}).exec(${objectCode})`,
- }),
- });
+ case ArgumentType.String:
+ return context.report({
+ node: memberNode.property,
+ messageId: 'regExpExecOverStringMatch',
+ fix: getWrappingFixer({
+ sourceCode,
+ node: callNode,
+ innerNode: [objectNode, argumentNode],
+ wrap: (objectCode, argumentCode) =>
+ `RegExp(${argumentCode}).exec(${objectCode})`,
+ }),
+ });
}
-
- return context.report({
- node: memberNode.property,
- messageId: 'regExpExecOverStringMatch',
- });
},
};
},
diff --git a/packages/eslint-plugin/src/util/astUtils.ts b/packages/eslint-plugin/src/util/astUtils.ts
index 53ad3f116e60..3fe1c01e2968 100644
--- a/packages/eslint-plugin/src/util/astUtils.ts
+++ b/packages/eslint-plugin/src/util/astUtils.ts
@@ -1,5 +1,5 @@
import type { TSESLint, TSESTree } from '@typescript-eslint/experimental-utils';
-import escapeRegExp from 'lodash/escapeRegExp';
+import { escapeRegExp } from './escapeRegExp';
// deeply re-export, for convenience
export * from '@typescript-eslint/experimental-utils/dist/ast-utils';
diff --git a/packages/eslint-plugin/src/util/escapeRegExp.ts b/packages/eslint-plugin/src/util/escapeRegExp.ts
new file mode 100644
index 000000000000..52d161b3b207
--- /dev/null
+++ b/packages/eslint-plugin/src/util/escapeRegExp.ts
@@ -0,0 +1,12 @@
+/**
+ * Lodash
+ * Released under MIT license
+ */
+const reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
+const reHasRegExpChar = RegExp(reRegExpChar.source);
+
+export function escapeRegExp(string = ''): string {
+ return string && reHasRegExpChar.test(string)
+ ? string.replace(reRegExpChar, '\\$&')
+ : string;
+}
diff --git a/packages/eslint-plugin/tests/rules/prefer-regexp-exec.test.ts b/packages/eslint-plugin/tests/rules/prefer-regexp-exec.test.ts
index 95cb567d78bd..b45935108071 100644
--- a/packages/eslint-plugin/tests/rules/prefer-regexp-exec.test.ts
+++ b/packages/eslint-plugin/tests/rules/prefer-regexp-exec.test.ts
@@ -33,6 +33,29 @@ function f(s: string | string[]) {
s.match(/e/);
}
`,
+ "(Math.random() > 0.5 ? 'abc' : 123).match(2);",
+ "'212'.match(2);",
+ "'212'.match(+2);",
+ "'oNaNo'.match(NaN);",
+ "'Infinity contains -Infinity and +Infinity in JavaScript.'.match(Infinity);",
+ "'Infinity contains -Infinity and +Infinity in JavaScript.'.match(+Infinity);",
+ "'Infinity contains -Infinity and +Infinity in JavaScript.'.match(-Infinity);",
+ "'void and null'.match(null);",
+ `
+const matchers = ['package-lock.json', /regexp/];
+const file = '';
+matchers.some(matcher => !!file.match(matcher));
+ `,
+ `
+const matchers = [/regexp/, 'package-lock.json'];
+const file = '';
+matchers.some(matcher => !!file.match(matcher));
+ `,
+ `
+const matchers = [{ match: (s: RegExp) => false }];
+const file = '';
+matchers.some(matcher => !!file.match(matcher));
+ `,
],
invalid: [
{
@@ -95,76 +118,6 @@ const search = 'thing';
RegExp(search).exec(text);
`,
},
- {
- code: "'212'.match(2);",
- errors: [
- {
- messageId: 'regExpExecOverStringMatch',
- line: 1,
- column: 7,
- },
- ],
- },
- {
- code: "'212'.match(+2);",
- errors: [
- {
- messageId: 'regExpExecOverStringMatch',
- line: 1,
- column: 7,
- },
- ],
- },
- {
- code: "'oNaNo'.match(NaN);",
- errors: [
- {
- messageId: 'regExpExecOverStringMatch',
- line: 1,
- column: 9,
- },
- ],
- },
- {
- code: "'Infinity contains -Infinity and +Infinity in JavaScript.'.match(Infinity);",
- errors: [
- {
- messageId: 'regExpExecOverStringMatch',
- line: 1,
- column: 60,
- },
- ],
- },
- {
- code: "'Infinity contains -Infinity and +Infinity in JavaScript.'.match(+Infinity);",
- errors: [
- {
- messageId: 'regExpExecOverStringMatch',
- line: 1,
- column: 60,
- },
- ],
- },
- {
- code: "'Infinity contains -Infinity and +Infinity in JavaScript.'.match(-Infinity);",
- errors: [
- {
- messageId: 'regExpExecOverStringMatch',
- line: 1,
- column: 60,
- },
- ],
- },
- {
- code: "'void and null'.match(null);",
- errors: [
- {
- messageId: 'regExpExecOverStringMatch',
- line: 1,
- column: 17,
- },
- ],
- },
{
code: `
function f(s: 'a' | 'b') {
diff --git a/packages/experimental-utils/CHANGELOG.md b/packages/experimental-utils/CHANGELOG.md
index 9fc69e872a0e..2cf25f9799cc 100644
--- a/packages/experimental-utils/CHANGELOG.md
+++ b/packages/experimental-utils/CHANGELOG.md
@@ -3,6 +3,27 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [4.28.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.27.0...v4.28.0) (2021-06-21)
+
+
+### Bug Fixes
+
+* **experimental-utils:** expand `RuleTester` config properties ([#3557](https://github.com/typescript-eslint/typescript-eslint/issues/3557)) ([ffbb3cf](https://github.com/typescript-eslint/typescript-eslint/commit/ffbb3cff18bc78467e70e794f9b1f0e79be4aff7))
+* **experimental-utils:** fix `eslint-utils`' negative predicates' return types ([#3462](https://github.com/typescript-eslint/typescript-eslint/issues/3462)) ([1e6016b](https://github.com/typescript-eslint/typescript-eslint/commit/1e6016b356ae40e4636a3cbe41fa02b6a61403ee))
+* **experimental-utils:** fix `eslint-utils`' negative predicates' return types in `ast-utils` ([#3461](https://github.com/typescript-eslint/typescript-eslint/issues/3461)) ([614b0a3](https://github.com/typescript-eslint/typescript-eslint/commit/614b0a38b4163eb4667cce7a415d534222d15dd3))
+* **experimental-utils:** make keys for `ReferenceTracker` options optional ([#3531](https://github.com/typescript-eslint/typescript-eslint/issues/3531)) ([a7fd7bb](https://github.com/typescript-eslint/typescript-eslint/commit/a7fd7bb25584cb3f72f0339025dc76efa6cccceb))
+
+
+### Features
+
+* **experimental-utils:** add `only` property to `RuleTester` types ([#3555](https://github.com/typescript-eslint/typescript-eslint/issues/3555)) ([2a36e3e](https://github.com/typescript-eslint/typescript-eslint/commit/2a36e3e737f935cc6b967befb022d10a83c8bc9b))
+* **experimental-utils:** expose ReferenceTracker.ESM ([#3532](https://github.com/typescript-eslint/typescript-eslint/issues/3532)) ([4ac67c4](https://github.com/typescript-eslint/typescript-eslint/commit/4ac67c4c9401c5ce0e947a6409efbc11afe1eb3b))
+* **experimental-utils:** use mergable interface for `settings` property ([#3556](https://github.com/typescript-eslint/typescript-eslint/issues/3556)) ([abfc19b](https://github.com/typescript-eslint/typescript-eslint/commit/abfc19bf9364d881bdf594ee166a1deb23240630))
+
+
+
+
+
# [4.27.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.26.1...v4.27.0) (2021-06-14)
diff --git a/packages/experimental-utils/package.json b/packages/experimental-utils/package.json
index 89b3207346c7..6734be3e0a64 100644
--- a/packages/experimental-utils/package.json
+++ b/packages/experimental-utils/package.json
@@ -1,6 +1,6 @@
{
"name": "@typescript-eslint/experimental-utils",
- "version": "4.27.0",
+ "version": "4.28.0",
"description": "(Experimental) Utilities for working with TypeScript + ESLint together",
"keywords": [
"eslint",
@@ -40,9 +40,9 @@
},
"dependencies": {
"@types/json-schema": "^7.0.7",
- "@typescript-eslint/scope-manager": "4.27.0",
- "@typescript-eslint/types": "4.27.0",
- "@typescript-eslint/typescript-estree": "4.27.0",
+ "@typescript-eslint/scope-manager": "4.28.0",
+ "@typescript-eslint/types": "4.28.0",
+ "@typescript-eslint/typescript-estree": "4.28.0",
"eslint-scope": "^5.1.1",
"eslint-utils": "^3.0.0"
},
diff --git a/packages/experimental-utils/src/ast-utils/eslint-utils/ReferenceTracker.ts b/packages/experimental-utils/src/ast-utils/eslint-utils/ReferenceTracker.ts
index e0b472229499..40e5fa7c1793 100644
--- a/packages/experimental-utils/src/ast-utils/eslint-utils/ReferenceTracker.ts
+++ b/packages/experimental-utils/src/ast-utils/eslint-utils/ReferenceTracker.ts
@@ -7,6 +7,7 @@ const ReferenceTrackerREAD: unique symbol = eslintUtils.ReferenceTracker.READ;
const ReferenceTrackerCALL: unique symbol = eslintUtils.ReferenceTracker.CALL;
const ReferenceTrackerCONSTRUCT: unique symbol =
eslintUtils.ReferenceTracker.CONSTRUCT;
+const ReferenceTrackerESM: unique symbol = eslintUtils.ReferenceTracker.ESM;
interface ReferenceTracker {
/**
@@ -48,23 +49,25 @@ interface ReferenceTrackerStatic {
* If this is `"strict"`, the method binds CommonJS modules to the default export. Otherwise, the method binds
* CommonJS modules to both the default export and named exports. Optional. Default is `"strict"`.
*/
- mode: 'strict' | 'legacy';
+ mode?: 'strict' | 'legacy';
/**
* The name list of Global Object. Optional. Default is `["global", "globalThis", "self", "window"]`.
*/
- globalObjectNames: readonly string[];
+ globalObjectNames?: readonly string[];
},
): ReferenceTracker;
readonly READ: typeof ReferenceTrackerREAD;
readonly CALL: typeof ReferenceTrackerCALL;
readonly CONSTRUCT: typeof ReferenceTrackerCONSTRUCT;
+ readonly ESM: typeof ReferenceTrackerESM;
}
namespace ReferenceTracker {
export type READ = ReferenceTrackerStatic['READ'];
export type CALL = ReferenceTrackerStatic['CALL'];
export type CONSTRUCT = ReferenceTrackerStatic['CONSTRUCT'];
+ export type ESM = ReferenceTrackerStatic['ESM'];
export type ReferenceType = READ | CALL | CONSTRUCT;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export type TraceMap = Record>;
@@ -72,6 +75,7 @@ namespace ReferenceTracker {
[ReferenceTrackerREAD]?: T;
[ReferenceTrackerCALL]?: T;
[ReferenceTrackerCONSTRUCT]?: T;
+ [ReferenceTrackerESM]?: true;
[key: string]: TraceMapElement;
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
diff --git a/packages/experimental-utils/src/ast-utils/eslint-utils/predicates.ts b/packages/experimental-utils/src/ast-utils/eslint-utils/predicates.ts
index 55d20a3e40b0..290afca90eb3 100644
--- a/packages/experimental-utils/src/ast-utils/eslint-utils/predicates.ts
+++ b/packages/experimental-utils/src/ast-utils/eslint-utils/predicates.ts
@@ -1,47 +1,46 @@
import * as eslintUtils from 'eslint-utils';
import { TSESTree } from '../../ts-estree';
-const isArrowToken = eslintUtils.isArrowToken as (
+type IsPunctuatorTokenWithValueFunction = (
token: TSESTree.Token,
-) => token is TSESTree.PunctuatorToken & { value: '=>' };
-const isNotArrowToken = eslintUtils.isNotArrowToken as (
- token: TSESTree.Token,
-) => boolean;
+) => token is TSESTree.PunctuatorToken & { value: Value };
-const isClosingBraceToken = eslintUtils.isClosingBraceToken as (
- token: TSESTree.Token,
-) => token is TSESTree.PunctuatorToken & { value: '}' };
-const isNotClosingBraceToken = eslintUtils.isNotClosingBraceToken as (
+type IsNotPunctuatorTokenWithValueFunction = (
token: TSESTree.Token,
-) => boolean;
+) => token is Exclude<
+ TSESTree.Token,
+ TSESTree.PunctuatorToken & { value: Value }
+>;
-const isClosingBracketToken = eslintUtils.isClosingBracketToken as (
- token: TSESTree.Token,
-) => token is TSESTree.PunctuatorToken & { value: ']' };
-const isNotClosingBracketToken = eslintUtils.isNotClosingBracketToken as (
- token: TSESTree.Token,
-) => boolean;
+const isArrowToken =
+ eslintUtils.isArrowToken as IsPunctuatorTokenWithValueFunction<'=>'>;
+const isNotArrowToken =
+ eslintUtils.isNotArrowToken as IsNotPunctuatorTokenWithValueFunction<'=>'>;
-const isClosingParenToken = eslintUtils.isClosingParenToken as (
- token: TSESTree.Token,
-) => token is TSESTree.PunctuatorToken & { value: ')' };
-const isNotClosingParenToken = eslintUtils.isNotClosingParenToken as (
- token: TSESTree.Token,
-) => boolean;
+const isClosingBraceToken =
+ eslintUtils.isClosingBraceToken as IsPunctuatorTokenWithValueFunction<'}'>;
+const isNotClosingBraceToken =
+ eslintUtils.isNotClosingBraceToken as IsNotPunctuatorTokenWithValueFunction<'}'>;
-const isColonToken = eslintUtils.isColonToken as (
- token: TSESTree.Token,
-) => token is TSESTree.PunctuatorToken & { value: ':' };
-const isNotColonToken = eslintUtils.isNotColonToken as (
- token: TSESTree.Token,
-) => boolean;
+const isClosingBracketToken =
+ eslintUtils.isClosingBracketToken as IsPunctuatorTokenWithValueFunction<']'>;
+const isNotClosingBracketToken =
+ eslintUtils.isNotClosingBracketToken as IsNotPunctuatorTokenWithValueFunction<']'>;
-const isCommaToken = eslintUtils.isCommaToken as (
- token: TSESTree.Token,
-) => token is TSESTree.PunctuatorToken & { value: ',' };
-const isNotCommaToken = eslintUtils.isNotCommaToken as (
- token: TSESTree.Token,
-) => boolean;
+const isClosingParenToken =
+ eslintUtils.isClosingParenToken as IsPunctuatorTokenWithValueFunction<')'>;
+const isNotClosingParenToken =
+ eslintUtils.isNotClosingParenToken as IsNotPunctuatorTokenWithValueFunction<')'>;
+
+const isColonToken =
+ eslintUtils.isColonToken as IsPunctuatorTokenWithValueFunction<':'>;
+const isNotColonToken =
+ eslintUtils.isNotColonToken as IsNotPunctuatorTokenWithValueFunction<':'>;
+
+const isCommaToken =
+ eslintUtils.isCommaToken as IsPunctuatorTokenWithValueFunction<','>;
+const isNotCommaToken =
+ eslintUtils.isNotCommaToken as IsNotPunctuatorTokenWithValueFunction<','>;
const isCommentToken = eslintUtils.isCommentToken as (
token: TSESTree.Token,
@@ -50,33 +49,25 @@ const isNotCommentToken = eslintUtils.isNotCommentToken as (
token: TSESTree.Token,
) => token is Exclude;
-const isOpeningBraceToken = eslintUtils.isOpeningBraceToken as (
- token: TSESTree.Token,
-) => token is TSESTree.PunctuatorToken & { value: '{' };
-const isNotOpeningBraceToken = eslintUtils.isNotOpeningBraceToken as (
- token: TSESTree.Token,
-) => boolean;
+const isOpeningBraceToken =
+ eslintUtils.isOpeningBraceToken as IsPunctuatorTokenWithValueFunction<'{'>;
+const isNotOpeningBraceToken =
+ eslintUtils.isNotOpeningBraceToken as IsNotPunctuatorTokenWithValueFunction<'{'>;
-const isOpeningBracketToken = eslintUtils.isOpeningBracketToken as (
- token: TSESTree.Token,
-) => token is TSESTree.PunctuatorToken & { value: '[' };
-const isNotOpeningBracketToken = eslintUtils.isNotOpeningBracketToken as (
- token: TSESTree.Token,
-) => boolean;
+const isOpeningBracketToken =
+ eslintUtils.isOpeningBracketToken as IsPunctuatorTokenWithValueFunction<'['>;
+const isNotOpeningBracketToken =
+ eslintUtils.isNotOpeningBracketToken as IsNotPunctuatorTokenWithValueFunction<'['>;
-const isOpeningParenToken = eslintUtils.isOpeningParenToken as (
- token: TSESTree.Token,
-) => token is TSESTree.PunctuatorToken & { value: '(' };
-const isNotOpeningParenToken = eslintUtils.isNotOpeningParenToken as (
- token: TSESTree.Token,
-) => boolean;
+const isOpeningParenToken =
+ eslintUtils.isOpeningParenToken as IsPunctuatorTokenWithValueFunction<'('>;
+const isNotOpeningParenToken =
+ eslintUtils.isNotOpeningParenToken as IsNotPunctuatorTokenWithValueFunction<'('>;
-const isSemicolonToken = eslintUtils.isSemicolonToken as (
- token: TSESTree.Token,
-) => token is TSESTree.PunctuatorToken & { value: ';' };
-const isNotSemicolonToken = eslintUtils.isNotSemicolonToken as (
- token: TSESTree.Token,
-) => boolean;
+const isSemicolonToken =
+ eslintUtils.isSemicolonToken as IsPunctuatorTokenWithValueFunction<';'>;
+const isNotSemicolonToken =
+ eslintUtils.isNotSemicolonToken as IsNotPunctuatorTokenWithValueFunction<';'>;
export {
isArrowToken,
diff --git a/packages/experimental-utils/src/ast-utils/predicates.ts b/packages/experimental-utils/src/ast-utils/predicates.ts
index 3be38cbdf5c5..919820d7653d 100644
--- a/packages/experimental-utils/src/ast-utils/predicates.ts
+++ b/packages/experimental-utils/src/ast-utils/predicates.ts
@@ -5,7 +5,12 @@ function isOptionalChainPunctuator(
): token is TSESTree.PunctuatorToken & { value: '?.' } {
return token.type === AST_TOKEN_TYPES.Punctuator && token.value === '?.';
}
-function isNotOptionalChainPunctuator(token: TSESTree.Token): boolean {
+function isNotOptionalChainPunctuator(
+ token: TSESTree.Token,
+): token is Exclude<
+ TSESTree.Token,
+ TSESTree.PunctuatorToken & { value: '?.' }
+> {
return !isOptionalChainPunctuator(token);
}
@@ -14,7 +19,9 @@ function isNonNullAssertionPunctuator(
): token is TSESTree.PunctuatorToken & { value: '!' } {
return token.type === AST_TOKEN_TYPES.Punctuator && token.value === '!';
}
-function isNotNonNullAssertionPunctuator(token: TSESTree.Token): boolean {
+function isNotNonNullAssertionPunctuator(
+ token: TSESTree.Token,
+): token is Exclude {
return !isNonNullAssertionPunctuator(token);
}
diff --git a/packages/experimental-utils/src/ts-eslint/Linter.ts b/packages/experimental-utils/src/ts-eslint/Linter.ts
index 9abefbabe7d5..56476834cc03 100644
--- a/packages/experimental-utils/src/ts-eslint/Linter.ts
+++ b/packages/experimental-utils/src/ts-eslint/Linter.ts
@@ -3,7 +3,12 @@
import { Linter as ESLintLinter } from 'eslint';
import { TSESTree, ParserServices } from '../ts-estree';
import { ParserOptions as TSParserOptions } from './ParserOptions';
-import { RuleCreateFunction, RuleFix, RuleModule } from './Rule';
+import {
+ RuleCreateFunction,
+ RuleFix,
+ RuleModule,
+ SharedConfigurationSettings,
+} from './Rule';
import { Scope } from './Scope';
import { SourceCode } from './SourceCode';
@@ -164,7 +169,7 @@ namespace Linter {
/**
* The shared settings.
*/
- settings?: { [name: string]: unknown };
+ settings?: SharedConfigurationSettings;
}
export interface ConfigOverride extends BaseConfig {
diff --git a/packages/experimental-utils/src/ts-eslint/Rule.ts b/packages/experimental-utils/src/ts-eslint/Rule.ts
index 098ae411bc4e..20a7735f08b6 100644
--- a/packages/experimental-utils/src/ts-eslint/Rule.ts
+++ b/packages/experimental-utils/src/ts-eslint/Rule.ts
@@ -165,6 +165,14 @@ type ReportDescriptor =
ReportDescriptorWithSuggestion &
(ReportDescriptorNodeOptionalLoc | ReportDescriptorLocOnly);
+/**
+ * Plugins can add their settings using declaration
+ * merging against this interface.
+ */
+interface SharedConfigurationSettings {
+ [name: string]: unknown;
+}
+
interface RuleContext<
TMessageIds extends string,
TOptions extends readonly unknown[],
@@ -194,7 +202,7 @@ interface RuleContext<
* The shared settings from configuration.
* We do not have any shared settings in this plugin.
*/
- settings: Record;
+ settings: SharedConfigurationSettings;
/**
* Returns an array of the ancestors of the currently-traversed node, starting at
@@ -452,4 +460,5 @@ export {
RuleMetaData,
RuleMetaDataDocs,
RuleModule,
+ SharedConfigurationSettings,
};
diff --git a/packages/experimental-utils/src/ts-eslint/RuleTester.ts b/packages/experimental-utils/src/ts-eslint/RuleTester.ts
index e237586d151c..9a255b242070 100644
--- a/packages/experimental-utils/src/ts-eslint/RuleTester.ts
+++ b/packages/experimental-utils/src/ts-eslint/RuleTester.ts
@@ -1,7 +1,12 @@
import { RuleTester as ESLintRuleTester } from 'eslint';
import { AST_NODE_TYPES, AST_TOKEN_TYPES } from '../ts-estree';
import { ParserOptions } from './ParserOptions';
-import { RuleCreateFunction, RuleModule } from './Rule';
+import { Linter } from './Linter';
+import {
+ RuleCreateFunction,
+ RuleModule,
+ SharedConfigurationSettings,
+} from './Rule';
interface ValidTestCase> {
/**
@@ -35,7 +40,11 @@ interface ValidTestCase> {
/**
* Settings for the test case.
*/
- readonly settings?: Readonly>;
+ readonly settings?: Readonly;
+ /**
+ * Run this case exclusively for debugging in supported test frameworks.
+ */
+ readonly only?: boolean;
}
interface SuggestionOutput {
@@ -117,7 +126,7 @@ interface RunTests<
readonly valid: readonly (ValidTestCase | string)[];
readonly invalid: readonly InvalidTestCase[];
}
-interface RuleTesterConfig {
+interface RuleTesterConfig extends Linter.Config {
// should be require.resolve(parserPackageName)
readonly parser: string;
readonly parserOptions?: Readonly;
diff --git a/packages/experimental-utils/typings/eslint-utils.d.ts b/packages/experimental-utils/typings/eslint-utils.d.ts
index f99a3e840db8..5843e99466f8 100644
--- a/packages/experimental-utils/typings/eslint-utils.d.ts
+++ b/packages/experimental-utils/typings/eslint-utils.d.ts
@@ -35,6 +35,7 @@ declare module 'eslint-utils' {
readonly READ: never;
readonly CALL: never;
readonly CONSTRUCT: never;
+ readonly ESM: never;
new (): never;
};
}
diff --git a/packages/parser/CHANGELOG.md b/packages/parser/CHANGELOG.md
index 3233eb7a70ae..c47adb4351ff 100644
--- a/packages/parser/CHANGELOG.md
+++ b/packages/parser/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [4.28.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.27.0...v4.28.0) (2021-06-21)
+
+**Note:** Version bump only for package @typescript-eslint/parser
+
+
+
+
+
# [4.27.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.26.1...v4.27.0) (2021-06-14)
diff --git a/packages/parser/package.json b/packages/parser/package.json
index b60fefa206de..648323955a19 100644
--- a/packages/parser/package.json
+++ b/packages/parser/package.json
@@ -1,6 +1,6 @@
{
"name": "@typescript-eslint/parser",
- "version": "4.27.0",
+ "version": "4.28.0",
"description": "An ESLint custom parser which leverages TypeScript ESTree",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@@ -44,14 +44,14 @@
"eslint": "^5.0.0 || ^6.0.0 || ^7.0.0"
},
"dependencies": {
- "@typescript-eslint/scope-manager": "4.27.0",
- "@typescript-eslint/types": "4.27.0",
- "@typescript-eslint/typescript-estree": "4.27.0",
+ "@typescript-eslint/scope-manager": "4.28.0",
+ "@typescript-eslint/types": "4.28.0",
+ "@typescript-eslint/typescript-estree": "4.28.0",
"debug": "^4.3.1"
},
"devDependencies": {
"@types/glob": "*",
- "@typescript-eslint/experimental-utils": "4.27.0",
+ "@typescript-eslint/experimental-utils": "4.28.0",
"glob": "*",
"typescript": "*"
},
diff --git a/packages/scope-manager/CHANGELOG.md b/packages/scope-manager/CHANGELOG.md
index eafe71aee419..c1b9fd84f71c 100644
--- a/packages/scope-manager/CHANGELOG.md
+++ b/packages/scope-manager/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [4.28.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.27.0...v4.28.0) (2021-06-21)
+
+**Note:** Version bump only for package @typescript-eslint/scope-manager
+
+
+
+
+
# [4.27.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.26.1...v4.27.0) (2021-06-14)
**Note:** Version bump only for package @typescript-eslint/scope-manager
diff --git a/packages/scope-manager/package.json b/packages/scope-manager/package.json
index 330a99619bfe..7668b93bc94e 100644
--- a/packages/scope-manager/package.json
+++ b/packages/scope-manager/package.json
@@ -1,6 +1,6 @@
{
"name": "@typescript-eslint/scope-manager",
- "version": "4.27.0",
+ "version": "4.28.0",
"description": "TypeScript scope analyser for ESLint",
"keywords": [
"eslint",
@@ -39,12 +39,12 @@
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"dependencies": {
- "@typescript-eslint/types": "4.27.0",
- "@typescript-eslint/visitor-keys": "4.27.0"
+ "@typescript-eslint/types": "4.28.0",
+ "@typescript-eslint/visitor-keys": "4.28.0"
},
"devDependencies": {
"@types/glob": "*",
- "@typescript-eslint/typescript-estree": "4.27.0",
+ "@typescript-eslint/typescript-estree": "4.28.0",
"glob": "*",
"jest-specific-snapshot": "*",
"make-dir": "*",
diff --git a/packages/shared-fixtures/CHANGELOG.md b/packages/shared-fixtures/CHANGELOG.md
index 8c8d35582fb5..6bb5eb59097c 100644
--- a/packages/shared-fixtures/CHANGELOG.md
+++ b/packages/shared-fixtures/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [4.28.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.27.0...v4.28.0) (2021-06-21)
+
+**Note:** Version bump only for package @typescript-eslint/shared-fixtures
+
+
+
+
+
# [4.27.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.26.1...v4.27.0) (2021-06-14)
diff --git a/packages/shared-fixtures/package.json b/packages/shared-fixtures/package.json
index 34945d18889f..227ecf37a58c 100644
--- a/packages/shared-fixtures/package.json
+++ b/packages/shared-fixtures/package.json
@@ -1,5 +1,5 @@
{
"name": "@typescript-eslint/shared-fixtures",
- "version": "4.27.0",
+ "version": "4.28.0",
"private": true
}
diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md
index 4a1f19861b82..d42ad60b91f3 100644
--- a/packages/types/CHANGELOG.md
+++ b/packages/types/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [4.28.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.27.0...v4.28.0) (2021-06-21)
+
+**Note:** Version bump only for package @typescript-eslint/types
+
+
+
+
+
# [4.27.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.26.1...v4.27.0) (2021-06-14)
diff --git a/packages/types/package.json b/packages/types/package.json
index 4b81f6165290..505d62084225 100644
--- a/packages/types/package.json
+++ b/packages/types/package.json
@@ -1,6 +1,6 @@
{
"name": "@typescript-eslint/types",
- "version": "4.27.0",
+ "version": "4.28.0",
"description": "Types for the TypeScript-ESTree AST spec",
"keywords": [
"eslint",
diff --git a/packages/typescript-estree/CHANGELOG.md b/packages/typescript-estree/CHANGELOG.md
index 357f5300c1e9..b4ece6a7b86b 100644
--- a/packages/typescript-estree/CHANGELOG.md
+++ b/packages/typescript-estree/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [4.28.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.27.0...v4.28.0) (2021-06-21)
+
+**Note:** Version bump only for package @typescript-eslint/typescript-estree
+
+
+
+
+
# [4.27.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.26.1...v4.27.0) (2021-06-14)
diff --git a/packages/typescript-estree/package.json b/packages/typescript-estree/package.json
index 438a537f84cc..d0a69a2a596c 100644
--- a/packages/typescript-estree/package.json
+++ b/packages/typescript-estree/package.json
@@ -1,6 +1,6 @@
{
"name": "@typescript-eslint/typescript-estree",
- "version": "4.27.0",
+ "version": "4.28.0",
"description": "A parser that converts TypeScript source code into an ESTree compatible form",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@@ -41,8 +41,8 @@
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"dependencies": {
- "@typescript-eslint/types": "4.27.0",
- "@typescript-eslint/visitor-keys": "4.27.0",
+ "@typescript-eslint/types": "4.28.0",
+ "@typescript-eslint/visitor-keys": "4.28.0",
"debug": "^4.3.1",
"globby": "^11.0.3",
"is-glob": "^4.0.1",
@@ -59,7 +59,7 @@
"@types/is-glob": "*",
"@types/semver": "*",
"@types/tmp": "*",
- "@typescript-eslint/shared-fixtures": "4.27.0",
+ "@typescript-eslint/shared-fixtures": "4.28.0",
"glob": "*",
"jest-specific-snapshot": "*",
"make-dir": "*",
diff --git a/packages/typescript-estree/tests/ast-alignment/fixtures-to-test.ts b/packages/typescript-estree/tests/ast-alignment/fixtures-to-test.ts
index 92eb7909f457..cab81a426fe1 100644
--- a/packages/typescript-estree/tests/ast-alignment/fixtures-to-test.ts
+++ b/packages/typescript-estree/tests/ast-alignment/fixtures-to-test.ts
@@ -386,12 +386,6 @@ tester.addFixturePatternConfig('typescript/basics', {
* This is intentional; babel is not checking types
*/
'catch-clause-with-invalid-annotation',
- /**
- * [BABEL ERRORED, BUT TS-ESTREE DID NOT]
- * SyntaxError: Unexpected token, expected ","
- */
- 'class-with-constructor-and-parameter-property-with-modifiers',
- 'class-with-constructor-and-parameter-proptery-with-override-modifier',
],
ignoreSourceType: [
/**
diff --git a/packages/visitor-keys/CHANGELOG.md b/packages/visitor-keys/CHANGELOG.md
index 9805958418b9..1d0d57bf9a40 100644
--- a/packages/visitor-keys/CHANGELOG.md
+++ b/packages/visitor-keys/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [4.28.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.27.0...v4.28.0) (2021-06-21)
+
+**Note:** Version bump only for package @typescript-eslint/visitor-keys
+
+
+
+
+
# [4.27.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.26.1...v4.27.0) (2021-06-14)
**Note:** Version bump only for package @typescript-eslint/visitor-keys
diff --git a/packages/visitor-keys/package.json b/packages/visitor-keys/package.json
index 665bc6a4dc7a..2ba49478e373 100644
--- a/packages/visitor-keys/package.json
+++ b/packages/visitor-keys/package.json
@@ -1,6 +1,6 @@
{
"name": "@typescript-eslint/visitor-keys",
- "version": "4.27.0",
+ "version": "4.28.0",
"description": "Visitor keys used to help traverse the TypeScript-ESTree AST",
"keywords": [
"eslint",
@@ -38,7 +38,7 @@
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"dependencies": {
- "@typescript-eslint/types": "4.27.0",
+ "@typescript-eslint/types": "4.28.0",
"eslint-visitor-keys": "^2.0.0"
},
"devDependencies": {
diff --git a/yarn.lock b/yarn.lock
index dd47863227d5..555905851742 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3,11 +3,11 @@
"@babel/code-frame@*", "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13":
- version "7.12.13"
- resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.13.tgz#dcfc826beef65e75c50e21d3837d7d95798dd658"
- integrity sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==
+ version "7.14.5"
+ resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.14.5.tgz#23b08d740e83f49c5e59945fbf1b43e80bbf4edb"
+ integrity sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==
dependencies:
- "@babel/highlight" "^7.12.13"
+ "@babel/highlight" "^7.14.5"
"@babel/code-frame@7.12.11":
version "7.12.11"
@@ -141,10 +141,10 @@
dependencies:
"@babel/types" "^7.12.13"
-"@babel/helper-validator-identifier@^7.12.11", "@babel/helper-validator-identifier@^7.14.0":
- version "7.14.0"
- resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.0.tgz#d26cad8a47c65286b15df1547319a5d0bcf27288"
- integrity sha512-V3ts7zMSu5lfiwWDVWzRDGIN+lnCEUdaXgtVHJgLb1rGaA6jMrtB9EmE7L18foXJIE8Un/A/h6NJfGQp/e1J4A==
+"@babel/helper-validator-identifier@^7.14.0", "@babel/helper-validator-identifier@^7.14.5":
+ version "7.14.5"
+ resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz#d0f0e277c512e0c938277faa85a3968c9a44c0e8"
+ integrity sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==
"@babel/helper-validator-option@^7.12.17":
version "7.12.17"
@@ -160,16 +160,21 @@
"@babel/traverse" "^7.14.0"
"@babel/types" "^7.14.0"
-"@babel/highlight@^7.10.4", "@babel/highlight@^7.12.13":
- version "7.13.10"
- resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.13.10.tgz#a8b2a66148f5b27d666b15d81774347a731d52d1"
- integrity sha512-5aPpe5XQPzflQrFwL1/QoeHkP2MsA4JCntcXHRhEsdsfPVkvPi2w7Qix4iV7t5S/oC9OodGrggd8aco1g3SZFg==
+"@babel/highlight@^7.10.4", "@babel/highlight@^7.14.5":
+ version "7.14.5"
+ resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.14.5.tgz#6861a52f03966405001f6aa534a01a24d99e8cd9"
+ integrity sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==
dependencies:
- "@babel/helper-validator-identifier" "^7.12.11"
+ "@babel/helper-validator-identifier" "^7.14.5"
chalk "^2.0.0"
js-tokens "^4.0.0"
-"@babel/parser@*", "@babel/parser@^7.1.0", "@babel/parser@^7.12.13", "@babel/parser@^7.14.2", "@babel/parser@^7.14.3", "@babel/parser@^7.14.4", "@babel/parser@^7.7.2":
+"@babel/parser@*", "@babel/parser@^7.14.6":
+ version "7.14.6"
+ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.14.6.tgz#d85cc68ca3cac84eae384c06f032921f5227f4b2"
+ integrity sha512-oG0ej7efjEXxb4UgE+klVx+3j4MVo+A2vCzm7OUN4CLo6WhQ+vSOD2yJ8m7B+DghObxtLxt3EfgMWpq+AsWehQ==
+
+"@babel/parser@^7.1.0", "@babel/parser@^7.12.13", "@babel/parser@^7.14.2", "@babel/parser@^7.14.3", "@babel/parser@^7.7.2":
version "7.14.4"
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.14.4.tgz#a5c560d6db6cd8e6ed342368dea8039232cbab18"
integrity sha512-ArliyUsWDUqEGfWcmzpGUzNfLxTdTp6WU4IuP6QFSp9gGfWS6boxFCkJSJ/L4+RG8z/FnIU3WxCk6hPL9SSWeA==
@@ -296,11 +301,11 @@
globals "^11.1.0"
"@babel/types@*", "@babel/types@^7.0.0", "@babel/types@^7.12.13", "@babel/types@^7.13.12", "@babel/types@^7.14.0", "@babel/types@^7.14.2", "@babel/types@^7.14.4", "@babel/types@^7.3.0", "@babel/types@^7.3.3":
- version "7.14.4"
- resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.14.4.tgz#bfd6980108168593b38b3eb48a24aa026b919bc0"
- integrity sha512-lCj4aIs0xUefJFQnwwQv2Bxg7Omd6bgquZ6LGC+gGMh6/s5qDVfjuCMlDmYQ15SLsWHd9n+X3E75lKIhl5Lkiw==
+ version "7.14.5"
+ resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.14.5.tgz#3bb997ba829a2104cedb20689c4a5b8121d383ff"
+ integrity sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==
dependencies:
- "@babel/helper-validator-identifier" "^7.14.0"
+ "@babel/helper-validator-identifier" "^7.14.5"
to-fast-properties "^2.0.0"
"@bcoe/v8-coverage@^0.2.3":
@@ -455,25 +460,25 @@
dependencies:
chalk "^4.0.0"
-"@cspell/cspell-bundled-dicts@^5.6.0":
- version "5.6.0"
- resolved "https://registry.yarnpkg.com/@cspell/cspell-bundled-dicts/-/cspell-bundled-dicts-5.6.0.tgz#998410852abad3253dfe19a3786c34ad7a5ad618"
- integrity sha512-l9rFp7tNq5bpUlihh54a5Gtby2Ol9slsgTS4dq7VwbZcCye2BrVW0XhjmEWpl+bngOUMHnLLza+GQrDzELgXDA==
+"@cspell/cspell-bundled-dicts@^5.6.4":
+ version "5.6.4"
+ resolved "https://registry.yarnpkg.com/@cspell/cspell-bundled-dicts/-/cspell-bundled-dicts-5.6.4.tgz#09809441105711f545ef64950fb8ae7cb50c97cc"
+ integrity sha512-0Q7byfMiLpUocALf8WWoQgYJpCY2fOyoH20AF1lhzPhHkoNXw0G0TisBIqinLI/c5sLsOFrZtH+kD1+cgF/b1A==
dependencies:
"@cspell/dict-ada" "^1.1.2"
"@cspell/dict-aws" "^1.0.14"
- "@cspell/dict-bash" "^1.0.13"
+ "@cspell/dict-bash" "^1.0.15"
"@cspell/dict-companies" "^1.0.38"
"@cspell/dict-cpp" "^1.1.39"
"@cspell/dict-cryptocurrencies" "^1.0.10"
"@cspell/dict-csharp" "^1.0.11"
"@cspell/dict-css" "^1.0.11"
"@cspell/dict-django" "^1.0.26"
- "@cspell/dict-dotnet" "^1.0.25"
+ "@cspell/dict-dotnet" "^1.0.27"
"@cspell/dict-elixir" "^1.0.24"
- "@cspell/dict-en-gb" "^1.1.30"
- "@cspell/dict-en_us" "^1.2.43"
- "@cspell/dict-filetypes" "^1.1.5"
+ "@cspell/dict-en-gb" "^1.1.31"
+ "@cspell/dict-en_us" "^1.2.44"
+ "@cspell/dict-filetypes" "^1.1.7"
"@cspell/dict-fonts" "^1.0.14"
"@cspell/dict-fullstack" "^1.0.38"
"@cspell/dict-golang" "^1.1.24"
@@ -485,20 +490,20 @@
"@cspell/dict-lorem-ipsum" "^1.0.22"
"@cspell/dict-lua" "^1.0.16"
"@cspell/dict-node" "^1.0.12"
- "@cspell/dict-npm" "^1.0.13"
+ "@cspell/dict-npm" "^1.0.15"
"@cspell/dict-php" "^1.0.24"
"@cspell/dict-powershell" "^1.0.16"
"@cspell/dict-python" "^1.0.35"
"@cspell/dict-ruby" "^1.0.14"
"@cspell/dict-rust" "^1.0.22"
"@cspell/dict-scala" "^1.0.21"
- "@cspell/dict-software-terms" "^1.0.33"
+ "@cspell/dict-software-terms" "^1.0.37"
"@cspell/dict-typescript" "^1.0.19"
-"@cspell/cspell-types@^5.6.0":
- version "5.6.0"
- resolved "https://registry.yarnpkg.com/@cspell/cspell-types/-/cspell-types-5.6.0.tgz#e7c368545bcfb3313d586dc5c7a4db017016f0e8"
- integrity sha512-jbNHEQOmRaa15c5MDmaBOSRxpc3vUpAX9nhhcLrRgUk9eOIJzbIKsRJhMrwPcMd9F6V+mInAxdWGrsBETq9waw==
+"@cspell/cspell-types@^5.6.4":
+ version "5.6.4"
+ resolved "https://registry.yarnpkg.com/@cspell/cspell-types/-/cspell-types-5.6.4.tgz#c49c5a0196e4c95d151ce7147679251df757ae19"
+ integrity sha512-7XoM1lakuwEJmKjXcZlqAgY1wzamrJGtKP8ZM9RzHYTfYoP/bJ8APViwVsQFpG1YyZ5K83F+vdvDkKjlRk1ZpA==
"@cspell/dict-ada@^1.1.2":
version "1.1.2"
@@ -510,10 +515,10 @@
resolved "https://registry.yarnpkg.com/@cspell/dict-aws/-/dict-aws-1.0.14.tgz#beddede1053ce3622400e36c65da9fd2954e939d"
integrity sha512-K21CfB4ZpKYwwDQiPfic2zJA/uxkbsd4IQGejEvDAhE3z8wBs6g6BwwqdVO767M9NgZqc021yAVpr79N5pWe3w==
-"@cspell/dict-bash@^1.0.13":
- version "1.0.14"
- resolved "https://registry.yarnpkg.com/@cspell/dict-bash/-/dict-bash-1.0.14.tgz#b519aca2843ea206b034381aabcf37b18b4930b2"
- integrity sha512-Q5RKcyJfPzLraFGliKaRVMBFACCtcQZ4wPLRkLLFHKEUN6/hKqKB0owrVq225AByv3aY2CMEPIaPEU7F0QDlTA==
+"@cspell/dict-bash@^1.0.15":
+ version "1.0.15"
+ resolved "https://registry.yarnpkg.com/@cspell/dict-bash/-/dict-bash-1.0.15.tgz#ac70ab1572d9b8d0e3cf7777383b6caa2daad022"
+ integrity sha512-rY5Bq4RWTgJTioG8vqFbCmnalc/UEM+iBuAZBYvBfT3nU/6SN00Zjyvlh823ir2ODkUryT29CwRYwXcPnuM04w==
"@cspell/dict-companies@^1.0.38":
version "1.0.38"
@@ -545,30 +550,30 @@
resolved "https://registry.yarnpkg.com/@cspell/dict-django/-/dict-django-1.0.26.tgz#b97ce0112fbe8c3c3ada0387c68971b5e27483ab"
integrity sha512-mn9bd7Et1L2zuibc08GVHTiD2Go3/hdjyX5KLukXDklBkq06r+tb0OtKtf1zKodtFDTIaYekGADhNhA6AnKLkg==
-"@cspell/dict-dotnet@^1.0.25":
- version "1.0.25"
- resolved "https://registry.yarnpkg.com/@cspell/dict-dotnet/-/dict-dotnet-1.0.25.tgz#7e7ad82b730d4fa10af5d2383c452d69d23e2aaa"
- integrity sha512-3BFhdquYqqjeI8Jm1dYepZKGEg+fKFhw7UfPkVdx13C4ETo5VlsS4FAblC0pCY21pDU3QgRZOGL1Bj+KWCGp/w==
+"@cspell/dict-dotnet@^1.0.27":
+ version "1.0.27"
+ resolved "https://registry.yarnpkg.com/@cspell/dict-dotnet/-/dict-dotnet-1.0.27.tgz#bc1f27799553ac8780f32589e7b17ef9bfa51bf2"
+ integrity sha512-Ap/qpvZa6JTZI/I4ou3zJHKByjTMA6toaAUXDm4h9xVBiSESD1EkraZ/Z130w/NmJja7Xjv/UurH5IM6xGjTJQ==
"@cspell/dict-elixir@^1.0.24":
version "1.0.24"
resolved "https://registry.yarnpkg.com/@cspell/dict-elixir/-/dict-elixir-1.0.24.tgz#fc5c15b9f66b8aa5e25c98f54103c796fec70aba"
integrity sha512-pEX6GYlEx4Teusw/m+XmqoXzcHOqpcn1ZX4H33ONqR81XdPwbaKorBr1IG23Ic76IhwrFlOqs48tcnxrHYpFnA==
-"@cspell/dict-en-gb@^1.1.30":
- version "1.1.30"
- resolved "https://registry.yarnpkg.com/@cspell/dict-en-gb/-/dict-en-gb-1.1.30.tgz#eee3d16b0176f5a44667f966f83097c3d6a7d654"
- integrity sha512-xQUXZZ0ODBY9saso9e0BozS5FsX2o2+0fmbrekyITTTOCt/RN7bqByC7Hfj7HziQ3LxuC06EsS8ao8CKk9JTmQ==
+"@cspell/dict-en-gb@^1.1.31":
+ version "1.1.31"
+ resolved "https://registry.yarnpkg.com/@cspell/dict-en-gb/-/dict-en-gb-1.1.31.tgz#56a99d9bfec9ded8d6fe456a63c2454f42a97b98"
+ integrity sha512-4VtiDhMOWrgimmYYHO0oQDSs6izvAnAhpLHoBzFeME6XMpO15XDzMWvd8ICca7kk5hk+XEGnPF4Mpa5aHJh6Pg==
-"@cspell/dict-en_us@^1.2.43":
- version "1.2.43"
- resolved "https://registry.yarnpkg.com/@cspell/dict-en_us/-/dict-en_us-1.2.43.tgz#dae5a5cd1a47408a5d3a13c2f215793ecde5f400"
- integrity sha512-WAOtAZr3rNH4zpUXSeuxEo/C65o4Xp4sVdZ9cIqI+FPU7Vrgz0wuQZIL5TwbkuGUdtQtpRfgs2kTPXzns0fjGw==
+"@cspell/dict-en_us@^1.2.44":
+ version "1.2.44"
+ resolved "https://registry.yarnpkg.com/@cspell/dict-en_us/-/dict-en_us-1.2.44.tgz#1cd016013f069c62c6d37a6d463bae1d6e47461e"
+ integrity sha512-pdq/HXsrB34VRYZIv7jidikIQBVLSKyCLkRXBvmkbUg4NkfpNcmmA1bVXc3gOhgghDNctGXe5UIIl8hfY1nvEg==
-"@cspell/dict-filetypes@^1.1.5":
- version "1.1.5"
- resolved "https://registry.yarnpkg.com/@cspell/dict-filetypes/-/dict-filetypes-1.1.5.tgz#d1024eb0ae3b316e3e9411e2f36e624844345563"
- integrity sha512-yfkB37J+hL6W8qa4AknFp7u6CGECrw2ql2/y0lUKruLQYid0ApK+bH+ll+Sqgl2YS5QAOhclskc72aQHAcRJIQ==
+"@cspell/dict-filetypes@^1.1.7":
+ version "1.1.7"
+ resolved "https://registry.yarnpkg.com/@cspell/dict-filetypes/-/dict-filetypes-1.1.7.tgz#98c69f006041c145e3205c2f7fa617645a5b78ec"
+ integrity sha512-b0e+eiBzTiL1yJZgPBGHP8G7Z0Kkpr/35dXlR9LWoP/EnrAlVj0ulXwErPgTwSoFdxWBgbDJjKZsrMdxWCckuA==
"@cspell/dict-fonts@^1.0.14":
version "1.0.14"
@@ -625,10 +630,10 @@
resolved "https://registry.yarnpkg.com/@cspell/dict-node/-/dict-node-1.0.12.tgz#a7236be30340ff8fe365f62c8d13121fdbe7f51c"
integrity sha512-RPNn/7CSkflAWk0sbSoOkg0ORrgBARUjOW3QjB11KwV1gSu8f5W/ij/S50uIXtlrfoBLqd4OyE04jyON+g/Xfg==
-"@cspell/dict-npm@^1.0.13":
- version "1.0.14"
- resolved "https://registry.yarnpkg.com/@cspell/dict-npm/-/dict-npm-1.0.14.tgz#047043a1d44a3dfa56f33cb8070c05867050f84a"
- integrity sha512-RPaU6HJR03J9pg0yCgR59X55ozLhBkWvkHR3mD++ko5hKv0IXOfbS53nQwVN9yBAWjhCREJImemWPswoVu31zg==
+"@cspell/dict-npm@^1.0.15":
+ version "1.0.15"
+ resolved "https://registry.yarnpkg.com/@cspell/dict-npm/-/dict-npm-1.0.15.tgz#4eac51a4e5258b48e2fd1af277c12cb1fd189f4d"
+ integrity sha512-6N1G1rGi5AsCaDu9mu+VmrrAj5S9gHv8TvJlarauDeEMS6uVl+ce2JpzDf7ld3Qu/4Dkr0sKS63OeA0DKeQTkw==
"@cspell/dict-php@^1.0.24":
version "1.0.24"
@@ -660,10 +665,10 @@
resolved "https://registry.yarnpkg.com/@cspell/dict-scala/-/dict-scala-1.0.21.tgz#bfda392329061e2352fbcd33d228617742c93831"
integrity sha512-5V/R7PRbbminTpPS3ywgdAalI9BHzcEjEj9ug4kWYvBIGwSnS7T6QCFCiu+e9LvEGUqQC+NHgLY4zs1NaBj2vA==
-"@cspell/dict-software-terms@^1.0.33":
- version "1.0.35"
- resolved "https://registry.yarnpkg.com/@cspell/dict-software-terms/-/dict-software-terms-1.0.35.tgz#f3d75af834f4e051e41b85fcfc4fd092d993aef1"
- integrity sha512-b2q1Ja12WivVYDMkXpix+CY+PTDOHJriEZJpDWt7AG+DhwjqjASufjfBIV7U0t0e/eV7PLzbYCj0oj9lTT5eow==
+"@cspell/dict-software-terms@^1.0.37":
+ version "1.0.37"
+ resolved "https://registry.yarnpkg.com/@cspell/dict-software-terms/-/dict-software-terms-1.0.37.tgz#93001d423296cbfd4bf02f14d769c2f4e322ae35"
+ integrity sha512-dK4vdeohyVw60h4w6j9V4pfgi6Vv4vaxS67X6By7IXPIH+S/mBcHiXhqnGXqWFSfPNB7Oh+GP47nPLAHHFRZRg==
"@cspell/dict-typescript@^1.0.19":
version "1.0.19"
@@ -1716,55 +1721,53 @@
"@nodelib/fs.scandir" "2.1.3"
fastq "^1.6.0"
-"@nrwl/cli@12.3.5", "@nrwl/cli@^12.3.5":
- version "12.3.5"
- resolved "https://registry.yarnpkg.com/@nrwl/cli/-/cli-12.3.5.tgz#15a4011990cc8cfae660addc7abcf6a3f7402107"
- integrity sha512-iAH90jevQW3G9KPtEg9b14g1zMxrsxgRYQfkZDXijx21yJGDieJh1mCIewpy5jcEBS+ODQKvant0XdyhS/kUBw==
+"@nrwl/cli@12.4.0", "@nrwl/cli@^12.3.5":
+ version "12.4.0"
+ resolved "https://registry.yarnpkg.com/@nrwl/cli/-/cli-12.4.0.tgz#d313ddbabfef0d4b1b3e799dac5fa1dafe4819d4"
+ integrity sha512-ZU1NAjxEa9iMRRhUCYmD0ZLlK1j5l+zDseDE1a0A3KdgMVGh2eOchREnf6R75skQJHl4v9hKFweqiy0Xl14ZRQ==
dependencies:
- "@nrwl/tao" "12.3.5"
+ "@nrwl/tao" "12.4.0"
chalk "4.1.0"
v8-compile-cache "2.3.0"
yargs "15.4.1"
yargs-parser "20.0.0"
-"@nrwl/devkit@12.3.5":
- version "12.3.5"
- resolved "https://registry.yarnpkg.com/@nrwl/devkit/-/devkit-12.3.5.tgz#5b1a9382f9a51f12ce133a95eb4d6731fc2cda03"
- integrity sha512-bZi2WNHAAy/nSHAlA7r8zGpLuWPeurTbwBeNH9gm3It19fV5+hWoL1/pPlDBr2xEWjJQJNmWikxonxhw2ZIpGw==
+"@nrwl/devkit@12.4.0":
+ version "12.4.0"
+ resolved "https://registry.yarnpkg.com/@nrwl/devkit/-/devkit-12.4.0.tgz#6110327f1aed6d87d407929651e6f1140c779451"
+ integrity sha512-kGw5/SH4ze4j+rG6seEcslNenscrZFZMGpcoc3OIxfTTGlFA0mCFasFgzN8osgTX4+PgEOushvm3yRAaMmLqIg==
dependencies:
- "@nrwl/tao" "12.3.5"
+ "@nrwl/tao" "12.4.0"
ejs "^3.1.5"
ignore "^5.0.4"
semver "7.3.4"
- strip-json-comments "^3.1.1"
tslib "^2.0.0"
-"@nrwl/jest@12.3.5":
- version "12.3.5"
- resolved "https://registry.yarnpkg.com/@nrwl/jest/-/jest-12.3.5.tgz#6e74902cc290b8a7c6cdcf937d4634c4befea59e"
- integrity sha512-pFaDcr7tGbYQ7NrWlym0cKAXFtphqLq8KlEoWM0aQcBQxv9VZtj4N8dwYPXPMAiAGYKYqgt9e74rgvN+bGeS1g==
+"@nrwl/jest@12.4.0":
+ version "12.4.0"
+ resolved "https://registry.yarnpkg.com/@nrwl/jest/-/jest-12.4.0.tgz#d59b840ba1ad79ff969aefa353ad360e952bd86c"
+ integrity sha512-YZbo4+NYsSp7StJFvY7pKAArpYOP5AtZAu4ltshzdAWYM9KgPtoDtstRBksFzDq6jnApXuMb4eEcE4ttlMj3yQ==
dependencies:
- "@nrwl/devkit" "12.3.5"
+ "@nrwl/devkit" "12.4.0"
jest-resolve "^26.6.2"
rxjs "^6.5.4"
- strip-json-comments "^3.1.1"
tslib "^2.0.0"
-"@nrwl/linter@12.3.5":
- version "12.3.5"
- resolved "https://registry.yarnpkg.com/@nrwl/linter/-/linter-12.3.5.tgz#3224926a936b60e31c74b63efd7c97fce511610a"
- integrity sha512-6YhjlDZFb2dk0kphdLUELj99bAhG/So+CO1E8/eJsTvK4Mf7LySaTamabR9meSJW7yu2WKxiIIm4Z69IBI1bNQ==
+"@nrwl/linter@12.4.0":
+ version "12.4.0"
+ resolved "https://registry.yarnpkg.com/@nrwl/linter/-/linter-12.4.0.tgz#61afc3d1bfb9e71ceea1ed820d15f4163911c00b"
+ integrity sha512-n+xEKSAU5nVyMii7GtvBWDdjtrlCqMXrnozBs586k+bL0opogP4ZOrWxPZUjLnOlOHx1BuIl0nViSjBmh2y0wA==
dependencies:
- "@nrwl/devkit" "12.3.5"
+ "@nrwl/devkit" "12.4.0"
glob "7.1.4"
minimatch "3.0.4"
tmp "~0.2.1"
tslib "^2.0.0"
"@nrwl/nx-cloud@^12.1.3":
- version "12.1.3"
- resolved "https://registry.yarnpkg.com/@nrwl/nx-cloud/-/nx-cloud-12.1.3.tgz#a22b34b787ecebade1c7fcb21e6c1cf765b80d3b"
- integrity sha512-IC+CNSXGuInEnIwDS6wVl25vQJm5z9Duh1PzP5k0e30JcoUTqjL08KKwvzo8cmKpUvgLNo3rABc5J5F+fXaJGQ==
+ version "12.2.4"
+ resolved "https://registry.yarnpkg.com/@nrwl/nx-cloud/-/nx-cloud-12.2.4.tgz#a6b054a627e6c68741ce503ebb414e9e80b60561"
+ integrity sha512-q1tqh87VqPZhvByOMit6q9aWF0MjRx1ItqQFQvwXOBx0Hx8z/8UfRgSwPK5AQBL7Npue10KMgwAooR4r/nvvMw==
dependencies:
axios "^0.21.1"
chalk "4.1.0"
@@ -1772,33 +1775,32 @@
rxjs "6.5.5"
strip-json-comments "^3.1.1"
tar "5.0.5"
- uuid "^3.3.3"
-"@nrwl/tao@12.3.5", "@nrwl/tao@^12.3.5":
- version "12.3.5"
- resolved "https://registry.yarnpkg.com/@nrwl/tao/-/tao-12.3.5.tgz#7cbc65a561e5f9255403dc55bddf0f9a6743397c"
- integrity sha512-K/Q0GsrLzqXubmLgm8tFSjvrG61lQ00DrtNZ5dHywOAXREeV11A0bR7lXVDTohABk3D9Wgly5IKZPZ3iUwscsg==
+"@nrwl/tao@12.4.0", "@nrwl/tao@^12.3.5":
+ version "12.4.0"
+ resolved "https://registry.yarnpkg.com/@nrwl/tao/-/tao-12.4.0.tgz#90620513fc66faca22c98a64623b2d1c058bb1a4"
+ integrity sha512-WH8SqOuJuuBwXpLX9vIVVWEovDqfLmiyFQS4Ebz35KWXNoIv9MS3QgItXKCu7X463hiJnxjAA3RqVYIt8U1vXg==
dependencies:
chalk "4.1.0"
enquirer "~2.3.6"
fs-extra "^9.1.0"
+ jsonc-parser "3.0.0"
rxjs "^6.5.4"
rxjs-for-await "0.0.2"
semver "7.3.4"
- strip-json-comments "^3.1.1"
tmp "~0.2.1"
tslib "^2.0.0"
yargs-parser "20.0.0"
"@nrwl/workspace@^12.3.5":
- version "12.3.5"
- resolved "https://registry.yarnpkg.com/@nrwl/workspace/-/workspace-12.3.5.tgz#1e3c0ba31bf45ba18a958a7bf99b938631eae9eb"
- integrity sha512-mawmYJBxjjiqGKQPu7bqtAhuWFj1vzK+VVUuGlItDM+mJuDFLrOZqVAQL/SJOVPS0qRpYTBiWrdF4ZsLTEa8LQ==
- dependencies:
- "@nrwl/cli" "12.3.5"
- "@nrwl/devkit" "12.3.5"
- "@nrwl/jest" "12.3.5"
- "@nrwl/linter" "12.3.5"
+ version "12.4.0"
+ resolved "https://registry.yarnpkg.com/@nrwl/workspace/-/workspace-12.4.0.tgz#095d29bbb1d19f6266af06c528ebc83392d07654"
+ integrity sha512-RjcvP4rQCj6CQPDrRTLlzviF6kskfDBfBlyrQfDjh4CC9HasjlRCOfB39OQynT2M4iZqckXl5upG7Ph1gP5+dg==
+ dependencies:
+ "@nrwl/cli" "12.4.0"
+ "@nrwl/devkit" "12.4.0"
+ "@nrwl/jest" "12.4.0"
+ "@nrwl/linter" "12.4.0"
chalk "4.1.0"
cosmiconfig "^4.0.0"
dotenv "8.2.0"
@@ -1810,10 +1812,8 @@
minimatch "3.0.4"
npm-run-all "^4.1.5"
open "^7.4.2"
- resolve "1.17.0"
rxjs "^6.5.4"
semver "7.3.4"
- strip-json-comments "^3.1.1"
tmp "~0.2.1"
tslib "^2.0.0"
yargs "15.4.1"
@@ -2166,9 +2166,9 @@
integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==
"@types/prettier@*", "@types/prettier@^2.1.5", "@types/prettier@^2.2.3":
- version "2.2.3"
- resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.2.3.tgz#ef65165aea2924c9359205bf748865b8881753c0"
- integrity sha512-PijRCG/K3s3w1We6ynUKdxEc5AcuuH3NBmMDP8uvKVp6X43UY7NQlTzczakXP3DJR0F4dfNQIGjU2cUeRYs2AA==
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.3.0.tgz#2e8332cc7363f887d32ec5496b207d26ba8052bb"
+ integrity sha512-hkc1DATxFLQo4VxPDpMH1gCkPpBbpOoJ/4nhuXw4n63/0R6bCpQECj4+K226UJ4JO/eJQz+1mC2I7JsWanAdQw==
"@types/rimraf@^3.0.0":
version "3.0.0"
@@ -3440,35 +3440,35 @@ crypto-random-string@^2.0.0:
resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-2.0.0.tgz#ef2a7a966ec11083388369baa02ebead229b30d5"
integrity sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==
-cspell-glob@^5.6.0:
- version "5.6.0"
- resolved "https://registry.yarnpkg.com/cspell-glob/-/cspell-glob-5.6.0.tgz#25c459d23ceae071fb845e4affc3b32d88499150"
- integrity sha512-2VLuKwm7fJmB/U3Y30GXaQiqy1Zu3Qt5lQNkWYW1i1FTjp7seodTXQUUntkILTOdMGsOgCwsQmEP9WmqVkAKUg==
+cspell-glob@^5.6.4:
+ version "5.6.4"
+ resolved "https://registry.yarnpkg.com/cspell-glob/-/cspell-glob-5.6.4.tgz#282810958f253c665e052df70b8d6fc9b14e5bb7"
+ integrity sha512-aSXLEOPGYAy/b97NNqw0jyB3T/JTwFtoh2n5lWisUHhqOufpcPnVbbZmX8UWIwFPs6fD4M0oFyhUCAMDg9sfhQ==
dependencies:
micromatch "^4.0.4"
-cspell-io@^5.6.0:
- version "5.6.0"
- resolved "https://registry.yarnpkg.com/cspell-io/-/cspell-io-5.6.0.tgz#2e6463e6a83aba8c7707d09a54569d62bb95fd9d"
- integrity sha512-PIUl7UNLcM3d/BNWD5TphuhxM0Dwpg+MkmahEjuvoYR0S67q6twNj5MOPfmih08KB1hkFecHZJDTkfUS/8a9Hg==
+cspell-io@^5.6.4:
+ version "5.6.4"
+ resolved "https://registry.yarnpkg.com/cspell-io/-/cspell-io-5.6.4.tgz#ce282d15c61eb631156cc92eed067362915de834"
+ integrity sha512-N0jgFupRsVNKt/UXx3HwGeOQJU7W+IfIKoBP0PIZuJe7MsuT+YofpQYwLcNxEQ7n5sOqRlPvS/6qRL8epClGPw==
dependencies:
iconv-lite "^0.6.3"
iterable-to-stream "^2.0.0"
-cspell-lib@^5.6.0:
- version "5.6.0"
- resolved "https://registry.yarnpkg.com/cspell-lib/-/cspell-lib-5.6.0.tgz#913e5ccdc12f4d333e8611d70eab5cf8f37294a9"
- integrity sha512-Knep49uDKH/UWKrkRrwxUzo3EB8gDIL47ikJk9KMcT7EynYW8EJmoeRqDCMbagmBSID8FEHsuDV3SHR9q0FYIw==
+cspell-lib@^5.6.4:
+ version "5.6.4"
+ resolved "https://registry.yarnpkg.com/cspell-lib/-/cspell-lib-5.6.4.tgz#fd19b8bc5ac54d394aa76075697ad3b62c000fe6"
+ integrity sha512-54esfuMa+DTyvrRgsoo30E9u/sHH5QEB0yyQ5LeyzlxlTmaUq5kTE/gssH9jkwXt1gd4rmb8jfE55Y+tQkXWWg==
dependencies:
- "@cspell/cspell-bundled-dicts" "^5.6.0"
- "@cspell/cspell-types" "^5.6.0"
+ "@cspell/cspell-bundled-dicts" "^5.6.4"
+ "@cspell/cspell-types" "^5.6.4"
clear-module "^4.1.1"
comment-json "^4.1.0"
configstore "^5.0.1"
cosmiconfig "^7.0.0"
- cspell-glob "^5.6.0"
- cspell-io "^5.6.0"
- cspell-trie-lib "^5.6.0"
+ cspell-glob "^5.6.4"
+ cspell-io "^5.6.4"
+ cspell-trie-lib "^5.6.4"
find-up "^5.0.0"
fs-extra "^10.0.0"
gensequence "^3.1.1"
@@ -3477,29 +3477,30 @@ cspell-lib@^5.6.0:
resolve-global "^1.0.0"
vscode-uri "^3.0.2"
-cspell-trie-lib@^5.6.0:
- version "5.6.0"
- resolved "https://registry.yarnpkg.com/cspell-trie-lib/-/cspell-trie-lib-5.6.0.tgz#57199083f715a435d995e02f765d7435d65bc9c9"
- integrity sha512-ZnEiKgWQv+D0HWQssSwDReTVRSXK8stl8meyu8To0Tdm/y1gTHx3JWhdBToRMFSmodLARVu4hp7mIArzcAyO1g==
+cspell-trie-lib@^5.6.4:
+ version "5.6.4"
+ resolved "https://registry.yarnpkg.com/cspell-trie-lib/-/cspell-trie-lib-5.6.4.tgz#e737e842a05f6130141eb53e45802294db257dd3"
+ integrity sha512-5BFPqkRUZLk1OCUyHExUmHQTnrie4z1TMwXRk0Ur4nE7pZ90Mu7YrPnujyXt9RAo1Wh8REhTlQoZpN60wOrBJQ==
dependencies:
fs-extra "^10.0.0"
gensequence "^3.1.1"
cspell@^5.5.2:
- version "5.6.0"
- resolved "https://registry.yarnpkg.com/cspell/-/cspell-5.6.0.tgz#5abb52081c9386e846a989b755486a87dbb7019d"
- integrity sha512-keruL7u2yKuWAOW28C6NHknyHX3zpY3PtIobaS8bZ2REGVepFi28oES3S5ZquK/fLVy9WdsbUCg9pA/sUMmIAg==
+ version "5.6.4"
+ resolved "https://registry.yarnpkg.com/cspell/-/cspell-5.6.4.tgz#572fc72669c5a4cad68553b6f8943f30060c2b52"
+ integrity sha512-pdOvCv5Cn3mN+NPk10hZDI8Y8TDqZq//9lMC9r31xJJCqcUvWHz0FLbiEzqBbUwQJJ2KaCDUcOybZAsaRiY27w==
dependencies:
- "@cspell/cspell-types" "^5.6.0"
+ "@cspell/cspell-types" "^5.6.4"
chalk "^4.1.1"
commander "^7.2.0"
comment-json "^4.1.0"
- cspell-glob "^5.6.0"
- cspell-lib "^5.6.0"
+ cspell-glob "^5.6.4"
+ cspell-lib "^5.6.4"
fs-extra "^10.0.0"
get-stdin "^8.0.0"
glob "^7.1.7"
strip-ansi "^6.0.0"
+ vscode-uri "^3.0.2"
cssom@^0.4.4:
version "0.4.4"
@@ -4022,9 +4023,9 @@ eslint-plugin-eslint-comments@^3.2.0:
ignore "^5.0.5"
eslint-plugin-eslint-plugin@^3.0.3:
- version "3.0.3"
- resolved "https://registry.yarnpkg.com/eslint-plugin-eslint-plugin/-/eslint-plugin-eslint-plugin-3.0.3.tgz#3356adec58bd4904f98001779f61eff5b7006ec8"
- integrity sha512-vVNx9qexy0iQwqtOzzJPFAfC6j6i4L6QE//JqwJOnAC5aUHJA4yFQy56kX9JOJ2rx3iKlpTt3h/adErgbqU/SA==
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/eslint-plugin-eslint-plugin/-/eslint-plugin-eslint-plugin-3.1.0.tgz#1d5c54f30b1bddf9b34b1f1dc1a4dff0efec4f79"
+ integrity sha512-Czb+Dx7ktQ3fFocksu9mF1xBhEzqMhu8g9eaaxpMlnrcDPE7kwIrDo0ttpCDsVEFH9FHWbZ3EzSnQG2gb5miHg==
dependencies:
eslint-utils "^2.1.0"
@@ -4877,9 +4878,9 @@ globals@^13.6.0:
type-fest "^0.20.2"
globby@^11.0.1, globby@^11.0.3:
- version "11.0.3"
- resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.3.tgz#9b1f0cb523e171dd1ad8c7b2a9fb4b644b9593cb"
- integrity sha512-ffdmosjA807y7+lA1NM0jELARVmYul/715xiILEjo3hBLPTcirgQNnXECn5g3mtR8TOLCVbkfua1Hpen25/Xcg==
+ version "11.0.4"
+ resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.4.tgz#2cbaff77c2f2a62e71e9b2813a67b97a3a3001a5"
+ integrity sha512-9O4MVG9ioZJ08ffbcyVYyLOJLk5JQ688pJ4eMGLpdWLHq/Wr1D9BlriLQyL0E+jbkuePVZXYFj47QM/v093wHg==
dependencies:
array-union "^2.1.0"
dir-glob "^3.0.1"
@@ -6281,7 +6282,7 @@ json5@^1.0.1:
dependencies:
minimist "^1.2.0"
-jsonc-parser@~3.0.0:
+jsonc-parser@3.0.0, jsonc-parser@~3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.0.0.tgz#abdd785701c7e7eaca8a9ec8cf070ca51a745a22"
integrity sha512-fQzRfAbIBnR0IQvftw9FJveWiHp72Fg20giDrHz6TdfB12UH/uue0D3hm57UB5KgAVuniLMCaS8P1IMj9NR7cA==
@@ -6758,9 +6759,9 @@ markdownlint@~0.23.1:
markdown-it "12.0.4"
marked@^2.0.6:
- version "2.0.7"
- resolved "https://registry.yarnpkg.com/marked/-/marked-2.0.7.tgz#bc5b857a09071b48ce82a1f7304913a993d4b7d1"
- integrity sha512-BJXxkuIfJchcXOJWTT2DOL+yFWifFv2yGYOUzvXg8Qz610QKw+sHCvTMYwA+qWGhlA2uivBezChZ/pBy1tWdkQ==
+ version "2.1.1"
+ resolved "https://registry.yarnpkg.com/marked/-/marked-2.1.1.tgz#b7c27f520fc4de0ddd049d9b4be3b04e06314923"
+ integrity sha512-5XFS69o9CzDpQDSpUYC+AN2xvq8yl1EGa5SG/GI1hP78/uTeo3PDfiDNmsUyiahpyhToDDJhQk7fNtJsga+KVw==
mdurl@^1.0.1:
version "1.0.1"
@@ -8088,9 +8089,9 @@ regex-not@^1.0.0, regex-not@^1.0.2:
safe-regex "^1.1.0"
regexpp@^3.1.0:
- version "3.1.0"
- resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.1.0.tgz#206d0ad0a5648cffbdb8ae46438f3dc51c9f78e2"
- integrity sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q==
+ version "3.2.0"
+ resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2"
+ integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==
repeat-element@^1.1.2:
version "1.1.3"
@@ -8206,13 +8207,6 @@ resolve-url@^0.2.1:
resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a"
integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=
-resolve@1.17.0, resolve@~1.17.0:
- version "1.17.0"
- resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444"
- integrity sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==
- dependencies:
- path-parse "^1.0.6"
-
resolve@^1.1.6, resolve@^1.10.0, resolve@^1.13.1, resolve@^1.18.1, resolve@^1.20.0, resolve@^1.3.2:
version "1.20.0"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.20.0.tgz#629a013fb3f70755d6f0b7935cc1c2c5378b1975"
@@ -8221,6 +8215,13 @@ resolve@^1.1.6, resolve@^1.10.0, resolve@^1.13.1, resolve@^1.18.1, resolve@^1.20
is-core-module "^2.2.0"
path-parse "^1.0.6"
+resolve@~1.17.0:
+ version "1.17.0"
+ resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444"
+ integrity sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==
+ dependencies:
+ path-parse "^1.0.6"
+
resolve@~1.19.0:
version "1.19.0"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.19.0.tgz#1af5bf630409734a067cae29318aac7fa29a267c"
@@ -9424,7 +9425,7 @@ util-promisify@^2.1.0:
dependencies:
object.getownpropertydescriptors "^2.0.3"
-uuid@^3.0.1, uuid@^3.3.2, uuid@^3.3.3:
+uuid@^3.0.1, uuid@^3.3.2:
version "3.4.0"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"
integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==