Skip to content

Commit

Permalink
Upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit0 committed Jan 7, 2023
1 parent cc93e09 commit 7cf8b3c
Show file tree
Hide file tree
Showing 8 changed files with 355 additions and 355 deletions.
678 changes: 339 additions & 339 deletions package-lock.json

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
},
"dependencies": {
"lunr": "^2.3.9",
"marked": "^4.2.4",
"minimatch": "^5.1.1",
"shiki": "^0.11.1"
"marked": "^4.2.5",
"minimatch": "^5.1.2",
"shiki": "^0.12.1"
},
"peerDependencies": {
"typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x"
Expand All @@ -36,16 +36,16 @@
"@types/lunr": "^2.3.4",
"@types/marked": "^4.0.8",
"@types/minimatch": "5.1.2",
"@types/mocha": "^9.1.1",
"@types/mocha": "^10.0.1",
"@types/node": "14",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"@typestrong/fs-fixture-builder": "github:TypeStrong/fs-fixture-builder#5a9486bc66f6e36988106685768396281f6cbc10",
"c8": "^7.12.0",
"esbuild": "^0.16.8",
"eslint": "^8.30.0",
"esbuild": "^0.16.15",
"eslint": "^8.31.0",
"mocha": "^10.2.0",
"prettier": "2.8.1",
"prettier": "2.8.2",
"puppeteer": "^13.5.2",
"ts-node": "^10.9.1",
"typescript": "4.9.4"
Expand Down
2 changes: 1 addition & 1 deletion src/lib/converter/comments/declarationReference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const MeaningKeywords = [
"getter",
"setter",
] as const;
export type MeaningKeyword = typeof MeaningKeywords[number];
export type MeaningKeyword = (typeof MeaningKeywords)[number];

export interface DeclarationReference {
resolutionStart: "global" | "local";
Expand Down
2 changes: 1 addition & 1 deletion src/lib/models/reflections/type-parameter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const VarianceModifier = {
inOut: "in out",
} as const;
export type VarianceModifier =
typeof VarianceModifier[keyof typeof VarianceModifier];
(typeof VarianceModifier)[keyof typeof VarianceModifier];

export class TypeParameterReflection extends Reflection {
override parent?: DeclarationReflection;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/models/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export const TypeContext = {
tupleElement: "tupleElement", // [here]
unionElement: "unionElement", // here | 1
} as const;
export type TypeContext = typeof TypeContext[keyof typeof TypeContext];
export type TypeContext = (typeof TypeContext)[keyof typeof TypeContext];

/**
* Represents an array type.
Expand Down
2 changes: 1 addition & 1 deletion src/lib/utils/entry-point.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const EntryPointStrategy = {
} as const;

export type EntryPointStrategy =
typeof EntryPointStrategy[keyof typeof EntryPointStrategy];
(typeof EntryPointStrategy)[keyof typeof EntryPointStrategy];

export interface DocumentationEntryPoint {
displayName: string;
Expand Down
4 changes: 2 additions & 2 deletions src/lib/utils/options/declaration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const EmitStrategy = {
none: "none", // Emit nothing, just convert and run validation
} as const;
/** @hidden */
export type EmitStrategy = typeof EmitStrategy[keyof typeof EmitStrategy];
export type EmitStrategy = (typeof EmitStrategy)[keyof typeof EmitStrategy];

/**
* Determines how TypeDoc searches for comments.
Expand All @@ -24,7 +24,7 @@ export const CommentStyle = {
Line: "line",
All: "all",
} as const;
export type CommentStyle = typeof CommentStyle[keyof typeof CommentStyle];
export type CommentStyle = (typeof CommentStyle)[keyof typeof CommentStyle];

/**
* An interface describing all TypeDoc specific options. Generated from a
Expand Down
2 changes: 1 addition & 1 deletion src/lib/utils/sort.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const SORT_STRATEGIES = [
"kind",
] as const;

export type SortStrategy = typeof SORT_STRATEGIES[number];
export type SortStrategy = (typeof SORT_STRATEGIES)[number];

const defaultKindSortOrder = [
ReflectionKind.Reference,
Expand Down

0 comments on commit 7cf8b3c

Please sign in to comment.