diff --git a/packages/docs-theme/src/components/typescript/typeAliasTable.tsx b/packages/docs-theme/src/components/typescript/typeAliasTable.tsx
index 17e34a3ea8..8777cbf00a 100644
--- a/packages/docs-theme/src/components/typescript/typeAliasTable.tsx
+++ b/packages/docs-theme/src/components/typescript/typeAliasTable.tsx
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-import type { ITsTypeAlias } from "@documentalist/client";
+import type { TsTypeAlias } from "@documentalist/client";
import classNames from "classnames";
import * as React from "react";
@@ -25,7 +25,7 @@ import { DocumentationContext } from "../../common/context";
import { ApiHeader } from "./apiHeader";
export interface TypeAliasTableProps extends Props {
- data: ITsTypeAlias;
+ data: TsTypeAlias;
}
export const TypeAliasTable: React.FC
= ({ className, data }) => {
diff --git a/packages/docs-theme/src/tags/css.tsx b/packages/docs-theme/src/tags/css.tsx
index 4c7c25ceeb..1cec519ee3 100644
--- a/packages/docs-theme/src/tags/css.tsx
+++ b/packages/docs-theme/src/tags/css.tsx
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-import type { IKssPluginData, ITag } from "@documentalist/client";
+import type { KssPluginData, Tag } from "@documentalist/client";
import classNames from "classnames";
import * as React from "react";
@@ -27,7 +27,7 @@ import { Example } from "../components/example";
const MODIFIER_ATTR_REGEXP = /\{\{:modifier}}/g;
const MODIFIER_CLASS_REGEXP = /\{\{\.modifier}}/g;
-export const CssExample: React.FC = ({ value }) => {
+export const CssExample: React.FC = ({ value }) => {
const { getDocsData } = React.useContext(DocumentationContext);
const [activeModifiers, setActiveModifiers] = React.useState>(new Set());
@@ -53,7 +53,7 @@ export const CssExample: React.FC = ({ value }) => {
};
};
- const { css } = getDocsData() as IKssPluginData;
+ const { css } = getDocsData() as KssPluginData;
if (css == null || css[value] == null) {
return null;
}
diff --git a/packages/docs-theme/src/tags/defaults.ts b/packages/docs-theme/src/tags/defaults.ts
index 1a006e53af..684889c0d9 100644
--- a/packages/docs-theme/src/tags/defaults.ts
+++ b/packages/docs-theme/src/tags/defaults.ts
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-import type { ITag } from "@documentalist/client";
+import type { Tag } from "@documentalist/client";
import type * as React from "react";
import { CssExample } from "./css";
@@ -23,11 +23,10 @@ import { Method } from "./method";
import { SeeTag } from "./see";
import { TypescriptExample } from "./typescript";
-export function createDefaultRenderers(): Record> {
+export function createDefaultRenderers(): Record> {
return {
css: CssExample,
- // HACKHACK https://github.com/palantir/blueprint/issues/4342
- heading: Heading as React.ComponentType,
+ heading: Heading,
interface: TypescriptExample,
method: Method,
page: () => null,
diff --git a/packages/docs-theme/src/tags/heading.tsx b/packages/docs-theme/src/tags/heading.tsx
index e1ed021802..39da198d5e 100644
--- a/packages/docs-theme/src/tags/heading.tsx
+++ b/packages/docs-theme/src/tags/heading.tsx
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-import type { IHeadingTag } from "@documentalist/client";
+import { isHeadingTag, type Tag } from "@documentalist/client";
import classNames from "classnames";
import * as React from "react";
@@ -23,15 +23,22 @@ import { Link } from "@blueprintjs/icons";
import { COMPONENT_DISPLAY_NAMESPACE } from "../common";
-export const Heading: React.FC = ({ level, route, value }) =>
- // use createElement so we can dynamically choose tag based on depth
- React.createElement(
- `h${level}`,
- { className: classNames(Classes.HEADING, "docs-title") },
+export const Heading: React.FC = props => {
+ if (!isHeadingTag(props)) {
+ return null;
+ }
+
+ const { level, route, value } = props;
+ const className = classNames(Classes.HEADING, "docs-title");
+ const children = [
,
,
value,
- );
+ ];
+
+ // use createElement so we can dynamically choose tag based on depth
+ return React.createElement(`h${level}`, { className }, children);
+};
Heading.displayName = `${COMPONENT_DISPLAY_NAMESPACE}.Heading`;
diff --git a/packages/docs-theme/src/tags/index.ts b/packages/docs-theme/src/tags/index.ts
index 68383fe001..5e9c53c782 100644
--- a/packages/docs-theme/src/tags/index.ts
+++ b/packages/docs-theme/src/tags/index.ts
@@ -14,10 +14,10 @@
* limitations under the License.
*/
-import type { ITag } from "@documentalist/client";
+import type { Tag } from "@documentalist/client";
export interface TagRendererMap {
- [tagName: string]: React.ComponentType | undefined;
+ [tagName: string]: React.ComponentType | undefined;
}
export * from "./css";
diff --git a/packages/docs-theme/src/tags/method.tsx b/packages/docs-theme/src/tags/method.tsx
index 4693c4726c..3e54c8d0e6 100644
--- a/packages/docs-theme/src/tags/method.tsx
+++ b/packages/docs-theme/src/tags/method.tsx
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-import { isTsClass, isTsMethod, type ITag, type ITsClass, type ITypescriptPluginData } from "@documentalist/client";
+import { isTsClass, isTsMethod, type Tag, type TsClass, type TypescriptPluginData } from "@documentalist/client";
import * as React from "react";
import type { Props } from "@blueprintjs/core";
@@ -23,15 +23,15 @@ import { COMPONENT_DISPLAY_NAMESPACE } from "../common";
import { DocumentationContext } from "../common/context";
import { MethodTable } from "../components/typescript/methodTable";
-export const Method: React.FC = ({ className, value }) => {
+export const Method: React.FC = ({ className, value }) => {
const { getDocsData } = React.useContext(DocumentationContext);
- const { typescript } = getDocsData() as ITypescriptPluginData;
+ const { typescript } = getDocsData() as TypescriptPluginData;
const member = typescript[value];
if (member === undefined) {
const possibleClass = value.split(".")[0];
const possibleClassMethod = value.split(".")[1];
- const classMember = typescript[possibleClass] as ITsClass;
+ const classMember = typescript[possibleClass] as TsClass;
if (isTsClass(classMember) && possibleClassMethod) {
const classMethod = classMember.methods.find(method => method.name === possibleClassMethod);
if (isTsMethod(classMethod)) {
diff --git a/packages/docs-theme/src/tags/reactDocs.tsx b/packages/docs-theme/src/tags/reactDocs.tsx
index 7604ea85c0..c2f28e3554 100644
--- a/packages/docs-theme/src/tags/reactDocs.tsx
+++ b/packages/docs-theme/src/tags/reactDocs.tsx
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-import type { ITag } from "@documentalist/client";
+import type { Tag } from "@documentalist/client";
import * as React from "react";
export interface DocsMap {
@@ -29,7 +29,7 @@ export class ReactDocsTagRenderer {
* it to an actual component class in the given map, or in the default map which contains
* valid docs components from this package. Provide a custom map to inject your own components.
*/
- public render: React.FC = ({ value: componentName }) => {
+ public render: React.FC = ({ value: componentName }) => {
if (componentName == null) {
return null;
}
diff --git a/packages/docs-theme/src/tags/reactExample.tsx b/packages/docs-theme/src/tags/reactExample.tsx
index 812bed93c7..0453dcb39a 100644
--- a/packages/docs-theme/src/tags/reactExample.tsx
+++ b/packages/docs-theme/src/tags/reactExample.tsx
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-import type { ITag } from "@documentalist/client";
+import type { Tag } from "@documentalist/client";
import * as React from "react";
import { AnchorButton, Intent } from "@blueprintjs/core";
@@ -41,7 +41,7 @@ export class ReactExampleTagRenderer {
* it to an actual example component exported by one of the packages. Also returns
* the URL of the source code on GitHub.
*/
- public render: React.FC = ({ value: exampleName }) => {
+ public render: React.FC = ({ value: exampleName }) => {
if (exampleName == null) {
return null;
}
diff --git a/packages/docs-theme/src/tags/see.tsx b/packages/docs-theme/src/tags/see.tsx
index 08c26ed8c0..ef3af9d106 100644
--- a/packages/docs-theme/src/tags/see.tsx
+++ b/packages/docs-theme/src/tags/see.tsx
@@ -14,13 +14,13 @@
* limitations under the License.
*/
-import type { ITag } from "@documentalist/client";
+import type { Tag } from "@documentalist/client";
import * as React from "react";
import { COMPONENT_DISPLAY_NAMESPACE } from "../common";
import { DocumentationContext } from "../common/context";
-export const SeeTag: React.FC = ({ value }) => {
+export const SeeTag: React.FC = ({ value }) => {
const { renderType } = React.useContext(DocumentationContext);
return See: {renderType(value)}
;
};
diff --git a/packages/docs-theme/src/tags/typescript.tsx b/packages/docs-theme/src/tags/typescript.tsx
index b9917696de..c73c84e703 100644
--- a/packages/docs-theme/src/tags/typescript.tsx
+++ b/packages/docs-theme/src/tags/typescript.tsx
@@ -19,8 +19,8 @@ import {
isTsEnum,
isTsInterface,
isTsTypeAlias,
- type ITag,
- type ITypescriptPluginData,
+ type Tag,
+ type TypescriptPluginData,
} from "@documentalist/client";
import * as React from "react";
@@ -32,9 +32,9 @@ import { EnumTable } from "../components/typescript/enumTable";
import { InterfaceTable } from "../components/typescript/interfaceTable";
import { TypeAliasTable } from "../components/typescript/typeAliasTable";
-export const TypescriptExample: React.FC = ({ className, value }) => {
+export const TypescriptExample: React.FC = ({ className, value }) => {
const { getDocsData } = React.useContext(DocumentationContext);
- const { typescript } = getDocsData() as ITypescriptPluginData;
+ const { typescript } = getDocsData() as TypescriptPluginData;
if (typescript == null || typescript[value] == null) {
return null;
}
diff --git a/packages/docs-theme/src/tsconfig.json b/packages/docs-theme/src/tsconfig.json
index b4fa3674bf..297f297d50 100644
--- a/packages/docs-theme/src/tsconfig.json
+++ b/packages/docs-theme/src/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../config/tsconfig.base",
+ "extends": "../../../config/tsconfig.web",
"compilerOptions": {
"outDir": "../lib/esm"
}
diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json
index 527e4868de..7de448ea96 100644
--- a/packages/eslint-plugin/package.json
+++ b/packages/eslint-plugin/package.json
@@ -23,7 +23,7 @@
"@typescript-eslint/rule-tester": "^6.7.4",
"dedent": "^1.5.1",
"mocha": "^10.2.0",
- "typescript": "~4.9.5"
+ "typescript": "~5.2.2"
},
"repository": {
"type": "git",
diff --git a/packages/eslint-plugin/src/tsconfig.json b/packages/eslint-plugin/src/tsconfig.json
index 301cbaf3fc..ef3b2ce405 100644
--- a/packages/eslint-plugin/src/tsconfig.json
+++ b/packages/eslint-plugin/src/tsconfig.json
@@ -1,10 +1,7 @@
{
- "extends": "../../../config/tsconfig.base",
+ "extends": "../../../config/tsconfig.node",
"compilerOptions": {
- "lib": ["es6", "dom"],
- "module": "commonjs",
- "moduleResolution": "node16",
- "outDir": "../lib",
- "target": "ES2015"
+ "lib": ["ES2015", "dom"],
+ "outDir": "../lib"
}
}
diff --git a/packages/eslint-plugin/test/tsconfig.json b/packages/eslint-plugin/test/tsconfig.json
index 0642e707a6..fb2aed483f 100644
--- a/packages/eslint-plugin/test/tsconfig.json
+++ b/packages/eslint-plugin/test/tsconfig.json
@@ -1,19 +1,10 @@
{
+ "extends": "../../../config/tsconfig.node",
"compilerOptions": {
- "esModuleInterop": true,
- "forceConsistentCasingInFileNames": true,
- "moduleResolution": "nodenext",
"lib": ["es2021"],
"module": "commonjs",
"noEmit": true,
- "noFallthroughCasesInSwitch": true,
- "noImplicitAny": true,
- "noImplicitReturns": true,
- "noUnusedLocals": true,
- "noUnusedParameters": true,
- "pretty": true,
"skipLibCheck": true,
- "strict": true,
"target": "es2021"
}
}
diff --git a/packages/icons/package.json b/packages/icons/package.json
index 42153c0b8a..2a40ae5457 100644
--- a/packages/icons/package.json
+++ b/packages/icons/package.json
@@ -21,7 +21,7 @@
"clean": "rm -rf dist/* && rm -rf lib/**/* && rm -rf src/generated/*",
"compile": "npm-run-all -s \"generate-icon-src\" -p \"compile:*\" -p \"copy:*\"",
"compile:esm": "tsc -p ./src",
- "compile:cjs": "tsc -p ./src -m commonjs --outDir lib/cjs",
+ "compile:cjs": "tsc -p ./src -m commonjs --verbatimModuleSyntax false --outDir lib/cjs",
"compile:esnext": "tsc -p ./src -t esnext --outDir lib/esnext",
"compile:css": "sass-compile ./src",
"copy:scss": "scripts/copy-scss.sh",
@@ -44,7 +44,7 @@
"dependencies": {
"change-case": "^4.1.2",
"classnames": "^2.3.1",
- "tslib": "~2.5.0"
+ "tslib": "~2.6.2"
},
"peerDependencies": {
"@types/react": "^16.14.32 || 17 || 18",
@@ -69,7 +69,7 @@
"react-dom": "^16.14.0",
"react-test-renderer": "^16.14.0",
"svg-parser": "^2.0.4",
- "typescript": "~4.9.5",
+ "typescript": "~5.2.2",
"webpack-cli": "^5.0.1"
},
"repository": {
diff --git a/packages/icons/src/tsconfig.json b/packages/icons/src/tsconfig.json
index b4fa3674bf..297f297d50 100644
--- a/packages/icons/src/tsconfig.json
+++ b/packages/icons/src/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../config/tsconfig.base",
+ "extends": "../../../config/tsconfig.web",
"compilerOptions": {
"outDir": "../lib/esm"
}
diff --git a/packages/icons/test/tsconfig.json b/packages/icons/test/tsconfig.json
index b32f37bea5..6afc0e4e70 100644
--- a/packages/icons/test/tsconfig.json
+++ b/packages/icons/test/tsconfig.json
@@ -2,7 +2,6 @@
"extends": "../src/tsconfig",
"compilerOptions": {
"declaration": false,
- "module": "commonjs",
"noEmit": true
}
}
diff --git a/packages/landing-app/src/tsconfig.json b/packages/landing-app/src/tsconfig.json
index 732dea6f83..20851c3233 100644
--- a/packages/landing-app/src/tsconfig.json
+++ b/packages/landing-app/src/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../config/tsconfig.base.json",
+ "extends": "../../../config/tsconfig.web.json",
"compilerOptions": {
"declaration": false,
"lib": ["dom", "es5", "es6"],
diff --git a/packages/monaco-editor-theme/package.json b/packages/monaco-editor-theme/package.json
index 08810981aa..9960a09d61 100644
--- a/packages/monaco-editor-theme/package.json
+++ b/packages/monaco-editor-theme/package.json
@@ -15,7 +15,7 @@
"clean": "rm -rf dist/* && rm -rf lib/*",
"compile": "run-p \"compile:*\"",
"compile:esm": "tsc -p ./src",
- "compile:cjs": "tsc -p ./src -m commonjs --outDir lib/cjs",
+ "compile:cjs": "tsc -p ./src -m commonjs --verbatimModuleSyntax false --outDir lib/cjs",
"compile:esnext": "tsc -p ./src -t esnext --outDir lib/esnext",
"dev": "run-p \"compile:esm -- --watch\"",
"dist": "run-s \"dist:*\"",
@@ -32,7 +32,7 @@
"devDependencies": {
"@blueprintjs/node-build-scripts": "^8.0.4",
"npm-run-all": "^4.1.5",
- "typescript": "~4.9.5"
+ "typescript": "~5.2.2"
},
"repository": {
"type": "git",
diff --git a/packages/monaco-editor-theme/src/tsconfig.json b/packages/monaco-editor-theme/src/tsconfig.json
index b4fa3674bf..297f297d50 100644
--- a/packages/monaco-editor-theme/src/tsconfig.json
+++ b/packages/monaco-editor-theme/src/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../config/tsconfig.base",
+ "extends": "../../../config/tsconfig.web",
"compilerOptions": {
"outDir": "../lib/esm"
}
diff --git a/packages/node-build-scripts/package.json b/packages/node-build-scripts/package.json
index 837c545a68..3a4cba4725 100644
--- a/packages/node-build-scripts/package.json
+++ b/packages/node-build-scripts/package.json
@@ -42,7 +42,7 @@
"stylelint": "~14.16.1",
"stylelint-junit-formatter": "^0.2.2",
"svgo": "^1.3.2",
- "typescript": "~4.9.5",
+ "typescript": "~5.2.2",
"yargs": "^17.7.2"
},
"devDependencies": {
diff --git a/packages/popover2/package.json b/packages/popover2/package.json
index c496ecf222..0646c68c8f 100644
--- a/packages/popover2/package.json
+++ b/packages/popover2/package.json
@@ -18,7 +18,7 @@
"clean": "rm -rf dist/* && rm -rf lib/*",
"compile": "run-p \"compile:*\"",
"compile:esm": "tsc -p ./src",
- "compile:cjs": "tsc -p ./src -m commonjs --outDir lib/cjs",
+ "compile:cjs": "tsc -p ./src -m commonjs --verbatimModuleSyntax false --outDir lib/cjs",
"compile:esnext": "tsc -p ./src -t esnext --outDir lib/esnext",
"compile:css": "sass-compile ./src",
"dev": "run-p \"compile:esm -- --watch\" \"compile:css -- --watch\"",
@@ -35,7 +35,7 @@
"dependencies": {
"@blueprintjs/core": "^5.5.1",
"classnames": "^2.3.1",
- "tslib": "~2.5.0"
+ "tslib": "~2.6.2"
},
"peerDependencies": {
"@types/react": "^16.14.32 || 17 || 18",
@@ -52,7 +52,7 @@
"npm-run-all": "^4.1.5",
"react": "^16.14.0",
"react-dom": "^16.14.0",
- "typescript": "~4.9.5"
+ "typescript": "~5.2.2"
},
"repository": {
"type": "git",
diff --git a/packages/popover2/src/tsconfig.json b/packages/popover2/src/tsconfig.json
index b4fa3674bf..297f297d50 100644
--- a/packages/popover2/src/tsconfig.json
+++ b/packages/popover2/src/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../config/tsconfig.base",
+ "extends": "../../../config/tsconfig.web",
"compilerOptions": {
"outDir": "../lib/esm"
}
diff --git a/packages/select/package.json b/packages/select/package.json
index 0bdc06a2f4..559505b4e2 100644
--- a/packages/select/package.json
+++ b/packages/select/package.json
@@ -20,7 +20,7 @@
"clean": "rm -rf dist/* && rm -rf lib/*",
"compile": "run-p \"compile:*\"",
"compile:esm": "tsc -p ./src",
- "compile:cjs": "tsc -p ./src -m commonjs --outDir lib/cjs",
+ "compile:cjs": "tsc -p ./src -m commonjs --verbatimModuleSyntax false --outDir lib/cjs",
"compile:esnext": "tsc -p ./src -t esnext --outDir lib/esnext",
"compile:css": "sass-compile ./src",
"dev": "run-p \"compile:esm -- --watch\" \"compile:css -- --watch\"",
@@ -43,7 +43,7 @@
"@blueprintjs/core": "^5.5.1",
"@blueprintjs/icons": "^5.2.1",
"classnames": "^2.3.1",
- "tslib": "~2.5.0"
+ "tslib": "~2.6.2"
},
"peerDependencies": {
"@types/react": "^16.14.32 || 17 || 18",
@@ -65,7 +65,7 @@
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-test-renderer": "^16.14.0",
- "typescript": "~4.9.5",
+ "typescript": "~5.2.2",
"webpack-cli": "^5.0.1"
},
"repository": {
diff --git a/packages/select/src/tsconfig.json b/packages/select/src/tsconfig.json
index b4fa3674bf..297f297d50 100644
--- a/packages/select/src/tsconfig.json
+++ b/packages/select/src/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../config/tsconfig.base",
+ "extends": "../../../config/tsconfig.web",
"compilerOptions": {
"outDir": "../lib/esm"
}
diff --git a/packages/select/test/tsconfig.json b/packages/select/test/tsconfig.json
index b32f37bea5..6afc0e4e70 100644
--- a/packages/select/test/tsconfig.json
+++ b/packages/select/test/tsconfig.json
@@ -2,7 +2,6 @@
"extends": "../src/tsconfig",
"compilerOptions": {
"declaration": false,
- "module": "commonjs",
"noEmit": true
}
}
diff --git a/packages/stylelint-plugin/package.json b/packages/stylelint-plugin/package.json
index 8195f48cd5..b380e0afb4 100644
--- a/packages/stylelint-plugin/package.json
+++ b/packages/stylelint-plugin/package.json
@@ -23,7 +23,7 @@
"devDependencies": {
"@blueprintjs/node-build-scripts": "^8.0.4",
"mocha": "^10.2.0",
- "typescript": "~4.9.5"
+ "typescript": "~5.2.2"
},
"repository": {
"type": "git",
diff --git a/packages/stylelint-plugin/src/tsconfig.json b/packages/stylelint-plugin/src/tsconfig.json
index 3847bd2142..ef3b2ce405 100644
--- a/packages/stylelint-plugin/src/tsconfig.json
+++ b/packages/stylelint-plugin/src/tsconfig.json
@@ -1,9 +1,7 @@
{
- "extends": "../../../config/tsconfig.base",
+ "extends": "../../../config/tsconfig.node",
"compilerOptions": {
- "lib": ["es6", "dom"],
- "module": "commonjs",
- "outDir": "../lib",
- "target": "ES2015"
+ "lib": ["ES2015", "dom"],
+ "outDir": "../lib"
}
}
diff --git a/packages/table-dev-app/src/tsconfig.json b/packages/table-dev-app/src/tsconfig.json
index d8d215881d..b7eb77c2c3 100644
--- a/packages/table-dev-app/src/tsconfig.json
+++ b/packages/table-dev-app/src/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../config/tsconfig.base.json",
+ "extends": "../../../config/tsconfig.web.json",
"compilerOptions": {
"lib": ["dom", "es5", "es6"],
"outDir": "../dist",
diff --git a/packages/table/package.json b/packages/table/package.json
index 8154a1a4fa..bcaf6bb459 100644
--- a/packages/table/package.json
+++ b/packages/table/package.json
@@ -20,7 +20,7 @@
"clean": "rm -rf dist/* && rm -rf lib/*",
"compile": "run-p \"compile:*\"",
"compile:esm": "tsc -p ./src",
- "compile:cjs": "tsc -p ./src -m commonjs --outDir lib/cjs",
+ "compile:cjs": "tsc -p ./src -m commonjs --verbatimModuleSyntax false --outDir lib/cjs",
"compile:esnext": "tsc -p ./src -t esnext --outDir lib/esnext",
"compile:css": "sass-compile ./src",
"dev": "run-p \"compile:esm -- --watch\" \"compile:css -- --watch\"",
@@ -43,7 +43,7 @@
"@blueprintjs/core": "^5.5.1",
"classnames": "^2.3.1",
"react-innertext": "^1.1.5",
- "tslib": "~2.5.0"
+ "tslib": "~2.6.2"
},
"peerDependencies": {
"@types/react": "^16.14.32 || 17 || 18",
@@ -66,7 +66,7 @@
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-test-renderer": "^16.14.0",
- "typescript": "~4.9.5",
+ "typescript": "~5.2.2",
"webpack": "^5.76.2"
},
"repository": {
diff --git a/packages/table/src/tsconfig.json b/packages/table/src/tsconfig.json
index eac6c11377..00baf6b025 100644
--- a/packages/table/src/tsconfig.json
+++ b/packages/table/src/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../config/tsconfig.base",
+ "extends": "../../../config/tsconfig.web",
"compilerOptions": {
"lib": ["dom", "es5", "es6"],
"outDir": "../lib/esm"
diff --git a/packages/table/test/tsconfig.json b/packages/table/test/tsconfig.json
index b32f37bea5..6afc0e4e70 100644
--- a/packages/table/test/tsconfig.json
+++ b/packages/table/test/tsconfig.json
@@ -2,7 +2,6 @@
"extends": "../src/tsconfig",
"compilerOptions": {
"declaration": false,
- "module": "commonjs",
"noEmit": true
}
}
diff --git a/packages/test-commons/package.json b/packages/test-commons/package.json
index 6a0127c342..5ea59594dd 100644
--- a/packages/test-commons/package.json
+++ b/packages/test-commons/package.json
@@ -24,7 +24,7 @@
"devDependencies": {
"@blueprintjs/node-build-scripts": "^8.0.4",
"react": "^16.13.1",
- "typescript": "~4.9.5"
+ "typescript": "~5.2.2"
},
"repository": {
"type": "git",
diff --git a/packages/test-commons/src/tsconfig.json b/packages/test-commons/src/tsconfig.json
index 9fcefda840..2d9a260f88 100644
--- a/packages/test-commons/src/tsconfig.json
+++ b/packages/test-commons/src/tsconfig.json
@@ -1,8 +1,9 @@
{
- "extends": "../../../config/tsconfig.base",
+ "extends": "../../../config/tsconfig.web",
"compilerOptions": {
"lib": ["dom", "es5", "es6", "es2016.array.include"],
"module": "commonjs",
- "outDir": "../lib/cjs"
+ "outDir": "../lib/cjs",
+ "verbatimModuleSyntax": false
}
}
diff --git a/packages/tslint-config/package.json b/packages/tslint-config/package.json
index ef867fd9cd..79bd28cd93 100644
--- a/packages/tslint-config/package.json
+++ b/packages/tslint-config/package.json
@@ -7,9 +7,10 @@
"test": "tslint --rules-dir ./lib/rules --test test/rules/**/tslint.json"
},
"dependencies": {
- "tslib": "~2.5.0",
+ "tslib": "~2.6.2",
"tslint-react": "^5.0.0",
- "tsutils": "^3.21.0"
+ "tsutils": "^3.21.0",
+ "typescript": "~5.2.2"
},
"peerDependencies": {
"tslint": "^6.0.0"
diff --git a/packages/tslint-config/src/rules/blueprintIconComponentsRule.ts b/packages/tslint-config/src/rules/blueprintIconComponentsRule.ts
index 6bd0e9e98f..09d099cf1a 100644
--- a/packages/tslint-config/src/rules/blueprintIconComponentsRule.ts
+++ b/packages/tslint-config/src/rules/blueprintIconComponentsRule.ts
@@ -42,6 +42,7 @@ export class Rule extends Lint.Rules.AbstractRule {
};
public static componentMessage = (component: string) => `Replace icon literal with component: ${component}`;
+
public static literalMessage = (literal: string) => `Replace icon component with literal: ${literal}`;
public apply(sourceFile: ts.SourceFile): Lint.RuleFailure[] {
@@ -52,21 +53,24 @@ export class Rule extends Lint.Rules.AbstractRule {
function walk(ctx: Lint.WalkContext): void {
return ts.forEachChild(ctx.sourceFile, function cb(node: ts.Node): void {
- if (ts.isJsxAttribute(node) && node.name.text === "icon") {
- const { initializer } = node;
- const option = ctx.options;
- if (initializer === undefined) {
- // no-op
- } else if (ts.isStringLiteral(initializer) && option === OPTION_COMPONENT) {
- // "tick" ->
- const iconName = `<${pascalCase(initializer.text)}Icon />`;
- addFailure(ctx, node, Rule.componentMessage(iconName), `{${iconName}}`);
- } else if (ts.isJsxExpression(initializer) && option === OPTION_LITERAL) {
- // -> "tick"
- const match = /<(\w+)Icon /.exec(initializer.getText());
- if (match != null) {
- const message = Rule.literalMessage(`"${dashCase(match[1])}"`);
- addFailure(ctx, node, message, message);
+ if (ts.isJsxAttribute(node)) {
+ const name = ts.isJsxNamespacedName(node.name) ? node.name.name.text : node.name.text;
+ if (name === "icon") {
+ const { initializer } = node;
+ const option = ctx.options;
+ if (initializer === undefined) {
+ // no-op
+ } else if (ts.isStringLiteral(initializer) && option === OPTION_COMPONENT) {
+ // "tick" ->
+ const iconName = `<${pascalCase(initializer.text)}Icon />`;
+ addFailure(ctx, node, Rule.componentMessage(iconName), `{${iconName}}`);
+ } else if (ts.isJsxExpression(initializer) && option === OPTION_LITERAL) {
+ // -> "tick"
+ const match = /<(\w+)Icon /.exec(initializer.getText());
+ if (match != null) {
+ const message = Rule.literalMessage(`"${dashCase(match[1])}"`);
+ addFailure(ctx, node, message, message);
+ }
}
}
}
diff --git a/packages/tslint-config/src/tsconfig.json b/packages/tslint-config/src/tsconfig.json
index 6a43a09527..2e9457509e 100644
--- a/packages/tslint-config/src/tsconfig.json
+++ b/packages/tslint-config/src/tsconfig.json
@@ -1,8 +1,7 @@
{
- "extends": "../../../config/tsconfig.base",
+ "extends": "../../../config/tsconfig.node",
"compilerOptions": {
- "lib": ["es6", "dom"],
- "module": "commonjs",
+ "lib": ["ES2015", "dom"],
"outDir": "../lib/rules"
}
}
diff --git a/yarn.lock b/yarn.lock
index 02828a8f07..ac4b98496c 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -334,23 +334,24 @@
resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70"
integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==
-"@documentalist/client@^4.0.0":
- version "4.0.0"
- resolved "https://registry.yarnpkg.com/@documentalist/client/-/client-4.0.0.tgz#0ded0827d5d2fc88f31ce1c65ba38d9e996bd33c"
- integrity sha512-6CwkNCMUkrT5dqpXuu/x5pBCwRUYaSafa/8AbA7mznx2bWRnGEjUAQl0UWewwpK/w/zW9/kRagbguCJzVuUpKA==
+"@documentalist/client@^5.0.0":
+ version "5.0.0"
+ resolved "https://registry.yarnpkg.com/@documentalist/client/-/client-5.0.0.tgz#fbe47084abb855eba436b0306caf3b016fe63087"
+ integrity sha512-I4yh9qcP4jO2LeBU9y9K+ms0uhDHzmIEnhUpcPnjXKAoK2O4wrOKRM6JhzDEZ1WL5X2eW6h/zX5q+/PqIimfFw==
-"@documentalist/compiler@^4.0.0":
- version "4.0.0"
- resolved "https://registry.yarnpkg.com/@documentalist/compiler/-/compiler-4.0.0.tgz#1b1911db8a51dfb22b36a7845dc28448eb191773"
- integrity sha512-2o1nhNKuC1duk1WkmfXoBvCnUPedygANG+dcP0Ur3DnqTXl+mcc/QLEuxoD3523A7jx0dwt/1HBrTUm4iK4XLw==
+"@documentalist/compiler@^5.0.0":
+ version "5.0.0"
+ resolved "https://registry.yarnpkg.com/@documentalist/compiler/-/compiler-5.0.0.tgz#b9e5ac12dcaa9ea3f21e707fea69379da71be139"
+ integrity sha512-XMLQMgzWPOSV10p56koLMFifmRU7C5oaZJVcniVsjWMy4RtgbSNi4FozKaicBveIXOZCmSM50aazZEtJiWwJ1Q==
dependencies:
- "@documentalist/client" "^4.0.0"
+ "@documentalist/client" "^5.0.0"
"@types/kss" "^3.0.2"
- glob "^7.2.0"
+ glob "^10.3.10"
js-yaml "^4.1.0"
kss "^3.0.1"
marked "^4.0.12"
- typedoc "~0.19.2"
+ tsconfig-resolver "^3.0.1"
+ typedoc "~0.25.2"
yargs "^17.4.0"
"@es-joy/jsdoccomment@~0.40.1":
@@ -1845,6 +1846,11 @@
resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee"
integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4=
+"@types/json5@^0.0.30":
+ version "0.0.30"
+ resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.30.tgz#44cb52f32a809734ca562e685c6473b5754a7818"
+ integrity sha512-sqm9g7mHlPY/43fcSNrCYfOeX9zkTTK+euO5E6+CVijSMm5tTjkVdwdqRkY3ljjIAf8679vps5jKUoJBCLsMDA==
+
"@types/jsonfile@*":
version "6.1.1"
resolved "https://registry.yarnpkg.com/@types/jsonfile/-/jsonfile-6.1.1.tgz#ac84e9aefa74a2425a0fb3012bdea44f58970f1b"
@@ -1869,11 +1875,6 @@
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.199.tgz#c3edb5650149d847a277a8961a7ad360c474e9bf"
integrity sha512-Vrjz5N5Ia4SEzWWgIVwnHNEnb1UE1XMkvY5DGXrAeOGE9imk0hgTHh5GyDjLDJi9OTCn9oo9dXH1uToK1VRfrg==
-"@types/marked@^4.0.8":
- version "4.0.8"
- resolved "https://registry.yarnpkg.com/@types/marked/-/marked-4.0.8.tgz#b316887ab3499d0a8f4c70b7bd8508f92d477955"
- integrity sha512-HVNzMT5QlWCOdeuBsgXP8EZzKUf0+AXzN+sLmjvaB3ZlLqO+e4u0uXrdw9ub69wBKFs+c6/pA4r9sy6cCDvImw==
-
"@types/mime@*":
version "3.0.1"
resolved "https://registry.yarnpkg.com/@types/mime/-/mime-3.0.1.tgz#5f8f2bca0a5863cb69bc0b0acd88c96cb1d4ae10"
@@ -1959,6 +1960,11 @@
"@types/scheduler" "*"
csstype "^3.0.2"
+"@types/resolve@^1.17.0":
+ version "1.20.4"
+ resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.20.4.tgz#d2df996a35695c843dbf180e26bc2c7a0f1a3e12"
+ integrity sha512-BKGK0T1VgB1zD+PwQR4RRf0ais3NyvH1qjLUrHI5SEiccYaJrhLstLuoXFWJ+2Op9whGizSPUMGPJY/Qtb/A2w==
+
"@types/retry@0.12.0":
version "0.12.0"
resolved "https://registry.yarnpkg.com/@types/retry/-/retry-0.12.0.tgz#2b35eccfcee7d38cd72ad99232fbd58bffb3c84d"
@@ -2518,6 +2524,11 @@ ansi-regex@^6.0.1:
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.0.1.tgz#3183e38fae9a65d7cb5e53945cd5897d0260a06a"
integrity sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==
+ansi-sequence-parser@^1.1.0:
+ version "1.1.1"
+ resolved "https://registry.yarnpkg.com/ansi-sequence-parser/-/ansi-sequence-parser-1.1.1.tgz#e0aa1cdcbc8f8bb0b5bca625aac41f5f056973cf"
+ integrity sha512-vJXt3yiaUL4UU546s3rPXlsry/RnM730G1+HkpKE012AN0sx1eOrxSu95oKDIonskeLTijMgqWZ3uDEe3NFvyg==
+
ansi-styles@^2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe"
@@ -5625,7 +5636,7 @@ fs-extra@^11.0.0, fs-extra@^11.1.0, fs-extra@^11.1.1:
jsonfile "^6.0.1"
universalify "^2.0.0"
-fs-extra@^9.0.0, fs-extra@^9.0.1:
+fs-extra@^9.0.0:
version "9.1.0"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d"
integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==
@@ -5867,7 +5878,7 @@ glob@7.1.4:
once "^1.3.0"
path-is-absolute "^1.0.0"
-glob@7.2.0, glob@^7.0.0, glob@^7.0.3, glob@^7.1.1, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.1.7, glob@^7.2.0:
+glob@7.2.0, glob@^7.0.3, glob@^7.1.1, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.1.7, glob@^7.2.0:
version "7.2.0"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023"
integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==
@@ -6128,11 +6139,6 @@ header-case@^2.0.4:
capital-case "^1.0.4"
tslib "^2.0.3"
-highlight.js@^10.2.0:
- version "10.4.1"
- resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-10.4.1.tgz#d48fbcf4a9971c4361b3f95f302747afe19dbad0"
- integrity sha512-yR5lWvNz7c85OhVAEAeFhVCc/GV4C30Fjzc/rCP0aCWzc1UUOPUk55dK/qdwTZHBvMZo+eZ2jpk62ndX/xMFlg==
-
highlight.js@^9.18.1:
version "9.18.5"
resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.18.5.tgz#d18a359867f378c138d6819edfc2a8acd5f29825"
@@ -6484,11 +6490,6 @@ internal-slot@^1.0.3, internal-slot@^1.0.5:
has "^1.0.3"
side-channel "^1.0.4"
-interpret@^1.0.0:
- version "1.4.0"
- resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e"
- integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==
-
interpret@^3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/interpret/-/interpret-3.1.1.tgz#5be0ceed67ca79c6c4bc5cf0d7ee843dcea110c4"
@@ -7465,7 +7466,7 @@ json5@^1.0.1, json5@^1.0.2:
dependencies:
minimist "^1.2.0"
-json5@^2.1.2, json5@^2.2.2:
+json5@^2.1.2, json5@^2.1.3, json5@^2.2.2:
version "2.2.3"
resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283"
integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==
@@ -7994,7 +7995,7 @@ lodash.uniqby@^4.7.0:
resolved "https://registry.yarnpkg.com/lodash.uniqby/-/lodash.uniqby-4.7.0.tgz#d99c07a669e9e6d24e1362dfe266c67616af1302"
integrity sha512-e/zcLx6CSbmaEgFHCA7BnoQKyCtKMxnuWrJygbwPs/AIn+IMKl66L8/s+wBUn5LRw2pZx3bUHibiV1b6aTWIww==
-lodash@^4.15.0, lodash@^4.17.10, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.4:
+lodash@^4.15.0, lodash@^4.17.10, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.21, lodash@^4.17.4:
version "4.17.21"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
@@ -8173,20 +8174,15 @@ markdown-it@^10.0.0:
mdurl "^1.0.1"
uc.micro "^1.0.5"
-marked@^1.1.1:
- version "1.2.5"
- resolved "https://registry.yarnpkg.com/marked/-/marked-1.2.5.tgz#a44b31f2a0b8b5bfd610f00d55d1952d1ac1dfdb"
- integrity sha512-2AlqgYnVPOc9WDyWu7S5DJaEZsfk6dNh/neatQ3IHUW4QLutM/VPSH9lG7bif+XjFWc9K9XR3QvR+fXuECmfdA==
-
-marked@^4.0.12:
- version "4.2.5"
- resolved "https://registry.yarnpkg.com/marked/-/marked-4.2.5.tgz#979813dfc1252cc123a79b71b095759a32f42a5d"
- integrity sha512-jPueVhumq7idETHkb203WDD4fMA3yV9emQ5vLwop58lu8bTclMghBWcYAavlDqIEMaisADinV1TooIFCfqOsYQ==
+marked@^4.0.12, marked@^4.3.0:
+ version "4.3.0"
+ resolved "https://registry.yarnpkg.com/marked/-/marked-4.3.0.tgz#796362821b019f734054582038b116481b456cf3"
+ integrity sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==
-marked@^9.1.0:
- version "9.1.0"
- resolved "https://registry.yarnpkg.com/marked/-/marked-9.1.0.tgz#7a085c7d46730dee2b801f1c1b35c5745479e270"
- integrity sha512-VZjm0PM5DMv7WodqOUps3g6Q7dmxs9YGiFUZ7a2majzQTTCgX+6S6NAJHPvOhgFBzYz8s4QZKWWMfZKFmsfOgA==
+marked@^9.1.2:
+ version "9.1.2"
+ resolved "https://registry.yarnpkg.com/marked/-/marked-9.1.2.tgz#a54ca772d2b5a43de7d8ed40111354b4b7985527"
+ integrity sha512-qoKMJqK0w6vkLk8+KnKZAH6neUZSNaQqVZ/h2yZ9S7CbLuFHyS2viB0jnqcWF9UKjwsAbMrQtnQhdmdvOVOw9w==
mathml-tag-names@^2.1.3:
version "2.1.3"
@@ -8366,14 +8362,7 @@ minimalistic-assert@^1.0.0:
resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7"
integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==
-"minimatch@2 || 3", minimatch@^3.0.0, minimatch@^3.0.3, minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.2:
- version "3.1.2"
- resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"
- integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==
- dependencies:
- brace-expansion "^1.1.7"
-
-minimatch@3.0.5, minimatch@3.0.x:
+"minimatch@2 || 3", minimatch@3.0.5, minimatch@3.0.x, minimatch@^3.0.3, minimatch@^3.0.4, minimatch@^3.0.5:
version "3.0.5"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.5.tgz#4da8f1290ee0f0f8e83d60ca69f8f134068604a3"
integrity sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw==
@@ -8387,6 +8376,13 @@ minimatch@5.0.1, minimatch@^5.0.1:
dependencies:
brace-expansion "^2.0.1"
+minimatch@^3.1.2:
+ version "3.1.2"
+ resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"
+ integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==
+ dependencies:
+ brace-expansion "^1.1.7"
+
minimatch@^8.0.2:
version "8.0.4"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-8.0.4.tgz#847c1b25c014d4e9a7f68aaf63dedd668a626229"
@@ -8394,7 +8390,7 @@ minimatch@^8.0.2:
dependencies:
brace-expansion "^2.0.1"
-minimatch@^9.0.0, minimatch@^9.0.1:
+minimatch@^9.0.0, minimatch@^9.0.1, minimatch@^9.0.3:
version "9.0.3"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825"
integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==
@@ -10029,11 +10025,6 @@ process@^0.11.10:
resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182"
integrity sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==
-progress@^2.0.3:
- version "2.0.3"
- resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8"
- integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==
-
promise-inflight@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3"
@@ -10385,13 +10376,6 @@ readdirp@~3.6.0:
dependencies:
picomatch "^2.2.1"
-rechoir@^0.6.2:
- version "0.6.2"
- resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384"
- integrity sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=
- dependencies:
- resolve "^1.1.6"
-
rechoir@^0.8.0:
version "0.8.0"
resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.8.0.tgz#49f866e0d32146142da3ad8f0eff352b3215ff22"
@@ -10509,10 +10493,10 @@ resolve@1.1.x:
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b"
integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=
-resolve@^1.1.6, resolve@^1.10.0, resolve@^1.16.0, resolve@^1.20.0, resolve@^1.22.0, resolve@^1.22.4, resolve@^1.3.2:
- version "1.22.4"
- resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.4.tgz#1dc40df46554cdaf8948a486a10f6ba1e2026c34"
- integrity sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==
+resolve@^1.10.0, resolve@^1.16.0, resolve@^1.17.0, resolve@^1.20.0, resolve@^1.22.0, resolve@^1.22.4, resolve@^1.3.2:
+ version "1.22.8"
+ resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d"
+ integrity sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==
dependencies:
is-core-module "^2.13.0"
path-parse "^1.0.7"
@@ -10731,7 +10715,7 @@ semver@^6.0.0, semver@^6.3.0, semver@^6.3.1:
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4"
integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==
-semver@^7.0.0, semver@^7.1.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8, semver@^7.5.0, semver@^7.5.2, semver@^7.5.3, semver@^7.5.4:
+semver@^7.0.0, semver@^7.1.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8, semver@^7.5.0, semver@^7.5.3, semver@^7.5.4:
version "7.5.4"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e"
integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==
@@ -10854,20 +10838,21 @@ shell-quote@^1.6.1, shell-quote@^1.7.3:
resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.8.0.tgz#20d078d0eaf71d54f43bd2ba14a1b5b9bfa5c8ba"
integrity sha512-QHsz8GgQIGKlRi24yFc6a6lN69Idnx634w49ay6+jA5yFh7a1UY+4Rp6HPx/L/1zcEDPEij8cIsiqR6bQsE5VQ==
-shelljs@^0.8.4:
- version "0.8.4"
- resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.4.tgz#de7684feeb767f8716b326078a8a00875890e3c2"
- integrity sha512-7gk3UZ9kOfPLIAbslLzyWeGiEqx9e3rxwZM0KE6EL8GlGwjym9Mrlx5/p33bWTu9YG6vcS4MBxYZDHYr5lr8BQ==
- dependencies:
- glob "^7.0.0"
- interpret "^1.0.0"
- rechoir "^0.6.2"
-
shellwords@^0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b"
integrity sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==
+shiki@^0.14.1:
+ version "0.14.5"
+ resolved "https://registry.yarnpkg.com/shiki/-/shiki-0.14.5.tgz#375dd214e57eccb04f0daf35a32aa615861deb93"
+ integrity sha512-1gCAYOcmCFONmErGTrS1fjzJLA7MGZmKzrBNX7apqSwhyITJg2O102uFzXUeBxNnEkDA9vHIKLyeKq0V083vIw==
+ dependencies:
+ ansi-sequence-parser "^1.1.0"
+ jsonc-parser "^3.2.0"
+ vscode-oniguruma "^1.7.0"
+ vscode-textmate "^8.0.0"
+
side-channel@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf"
@@ -11829,21 +11814,28 @@ tsconfig-paths@^4.1.2:
minimist "^1.2.6"
strip-bom "^3.0.0"
+tsconfig-resolver@^3.0.1:
+ version "3.0.1"
+ resolved "https://registry.yarnpkg.com/tsconfig-resolver/-/tsconfig-resolver-3.0.1.tgz#c9e62e328ecfbeaae4a4f1131a92cdbed12350c4"
+ integrity sha512-ZHqlstlQF449v8glscGRXzL6l2dZvASPCdXJRWG4gHEZlUVx2Jtmr+a2zeVG4LCsKhDXKRj5R3h0C/98UcVAQg==
+ dependencies:
+ "@types/json5" "^0.0.30"
+ "@types/resolve" "^1.17.0"
+ json5 "^2.1.3"
+ resolve "^1.17.0"
+ strip-bom "^4.0.0"
+ type-fest "^0.13.1"
+
tslib@^1.13.0, tslib@^1.8.1, tslib@^1.9.0:
version "1.13.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.13.0.tgz#c881e13cc7015894ed914862d276436fa9a47043"
integrity sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==
-tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.0, tslib@^2.3.1, tslib@^2.4.0, tslib@^2.5.0, tslib@^2.6.0:
+tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.0, tslib@^2.3.1, tslib@^2.4.0, tslib@^2.5.0, tslib@^2.6.0, tslib@~2.6.2:
version "2.6.2"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae"
integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==
-tslib@~2.5.0:
- version "2.5.0"
- resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf"
- integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==
-
tslint-react@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/tslint-react/-/tslint-react-5.0.0.tgz#d0ae644e8163bdd3e134012e9353094904e8dd44"
@@ -11956,6 +11948,11 @@ type-detect@4.0.8, type-detect@^4.0.0, type-detect@^4.0.8:
resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c"
integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==
+type-fest@^0.13.1:
+ version "0.13.1"
+ resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.13.1.tgz#0172cb5bce80b0bd542ea348db50c7e21834d934"
+ integrity sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==
+
type-fest@^0.18.0:
version "0.18.1"
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.18.1.tgz#db4bc151a4a2cf4eebf9add5db75508db6cc841f"
@@ -12048,32 +12045,20 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
-typedoc-default-themes@^0.11.4:
- version "0.11.4"
- resolved "https://registry.yarnpkg.com/typedoc-default-themes/-/typedoc-default-themes-0.11.4.tgz#1bc55b7c8d1132844616ff6f570e1e2cd0eb7343"
- integrity sha512-Y4Lf+qIb9NTydrexlazAM46SSLrmrQRqWiD52593g53SsmUFioAsMWt8m834J6qsp+7wHRjxCXSZeiiW5cMUdw==
-
-typedoc@~0.19.2:
- version "0.19.2"
- resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.19.2.tgz#842a63a581f4920f76b0346bb80eb2a49afc2c28"
- integrity sha512-oDEg1BLEzi1qvgdQXc658EYgJ5qJLVSeZ0hQ57Eq4JXy6Vj2VX4RVo18qYxRWz75ifAaYuYNBUCnbhjd37TfOg==
+typedoc@~0.25.2:
+ version "0.25.2"
+ resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.25.2.tgz#39f525c28b6eb61da54dda4ec6b1500df620bed8"
+ integrity sha512-286F7BeATBiWe/qC4PCOCKlSTwfnsLbC/4cZ68oGBbvAqb9vV33quEOXx7q176OXotD+JdEerdQ1OZGJ818lnA==
dependencies:
- fs-extra "^9.0.1"
- handlebars "^4.7.6"
- highlight.js "^10.2.0"
- lodash "^4.17.20"
lunr "^2.3.9"
- marked "^1.1.1"
- minimatch "^3.0.0"
- progress "^2.0.3"
- semver "^7.3.2"
- shelljs "^0.8.4"
- typedoc-default-themes "^0.11.4"
+ marked "^4.3.0"
+ minimatch "^9.0.3"
+ shiki "^0.14.1"
-"typescript@>=3 < 6", typescript@~4.9.5:
- version "4.9.5"
- resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"
- integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
+"typescript@>=3 < 6", typescript@~5.2.2:
+ version "5.2.2"
+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78"
+ integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==
ua-parser-js@^0.7.30:
version "0.7.33"
@@ -12302,6 +12287,16 @@ void-elements@^2.0.0:
resolved "https://registry.yarnpkg.com/void-elements/-/void-elements-2.0.1.tgz#c066afb582bb1cb4128d60ea92392e94d5e9dbec"
integrity sha1-wGavtYK7HLQSjWDqkjkulNXp2+w=
+vscode-oniguruma@^1.7.0:
+ version "1.7.0"
+ resolved "https://registry.yarnpkg.com/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz#439bfad8fe71abd7798338d1cd3dc53a8beea94b"
+ integrity sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==
+
+vscode-textmate@^8.0.0:
+ version "8.0.0"
+ resolved "https://registry.yarnpkg.com/vscode-textmate/-/vscode-textmate-8.0.0.tgz#2c7a3b1163ef0441097e0b5d6389cd5504b59e5d"
+ integrity sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==
+
walk@2.3.x:
version "2.3.14"
resolved "https://registry.yarnpkg.com/walk/-/walk-2.3.14.tgz#60ec8631cfd23276ae1e7363ce11d626452e1ef3"