From a3fc96eb38e120454179d74a91f6641e7dd2acc2 Mon Sep 17 00:00:00 2001 From: Joel Mut <62260472+sw-joelmut@users.noreply.github.com> Date: Tue, 10 Sep 2024 10:51:24 -0300 Subject: [PATCH] bump: [#4684] Update multiple dependencies inside public libraries to latest version (#4739) * Update dependencies in libraries' projects * Fix some issues in testing projects * Update root package.json typescript and @types/node versions * Fix @types/express problem in yarn.lock * Fix pipelines --- .../adaptive-expressions-ie11/package.json | 22 +- .../etc/adaptive-expressions.api.md | 150 +- libraries/adaptive-expressions/package.json | 30 +- .../src/builtinFunctions/concat.ts | 2 +- .../src/functionUtils.internal.ts | 4 +- .../botbuilder-ai-orchestrator/package.json | 2 +- libraries/botbuilder-ai/package.json | 12 +- .../src/luisRecognizerOptionsV3.ts | 2 +- libraries/botbuilder-azure-blobs/package.json | 7 +- .../src/blobsStorage.ts | 9 +- .../src/blobsTranscriptStore.ts | 10 +- .../botbuilder-azure-queues/package.json | 4 +- libraries/botbuilder-azure/package.json | 7 +- .../src/azureBlobTranscriptStore.ts | 10 +- libraries/botbuilder-azure/src/blobStorage.ts | 10 +- libraries/botbuilder-core/package.json | 8 +- .../package.json | 6 +- .../package.json | 4 +- .../package.json | 4 +- .../src/index.ts | 3 +- .../package.json | 2 +- .../src/index.ts | 3 +- .../package.json | 10 +- .../package.json | 6 +- .../botbuilder-dialogs-adaptive/package.json | 4 +- .../package.json | 4 +- libraries/botbuilder-dialogs/package.json | 4 +- .../botbuilder-lg/etc/botbuilder-lg.api.md | 130 +- libraries/botbuilder-lg/package.json | 8 +- libraries/botbuilder-repo-utils/package.json | 2 +- .../src/updateVersions.ts | 2 +- libraries/botbuilder/package.json | 20 +- libraries/botframework-config/package.json | 6 +- .../botframework-connector/esbuild.inject.js | 3 +- libraries/botframework-connector/package.json | 20 +- .../src/auth/jwtTokenExtractor.ts | 10 +- .../src/auth/openIdMetadata.ts | 6 +- .../etc/botframework-schema.api.md | 328 +-- libraries/botframework-schema/package.json | 4 +- libraries/botframework-streaming/package.json | 6 +- .../src/assemblers/payloadAssembler.ts | 2 +- .../src/namedPipe/namedPipeClient.ts | 5 +- .../src/webSocket/nodeWebSocket.ts | 14 +- package.json | 3 +- testing/botbuilder-test-utils/src/jwt.ts | 4 +- testing/consumer-test/run.ts | 2 +- testing/consumer-test/tsconfig-test.json | 4 +- yarn.lock | 2260 ++++++++++------- 48 files changed, 1771 insertions(+), 1407 deletions(-) diff --git a/libraries/adaptive-expressions-ie11/package.json b/libraries/adaptive-expressions-ie11/package.json index 1a27060392..33dc87191d 100644 --- a/libraries/adaptive-expressions-ie11/package.json +++ b/libraries/adaptive-expressions-ie11/package.json @@ -21,21 +21,21 @@ "dependencies": { "adaptive-expressions": "4.1.6", "clean-webpack-plugin": "^4.0.0", - "core-js": "^3.3.2", + "core-js": "^3.38.1", "terser-webpack-plugin": "^5.3.10" }, "devDependencies": { - "@babel/core": "^7.23.2", + "@babel/core": "^7.25.2", "@babel/plugin-proposal-class-properties": "^7.18.6", - "@babel/plugin-proposal-decorators": "^7.23.2", - "@babel/plugin-transform-runtime": "^7.23.2", - "@babel/preset-env": "^7.23.2", - "@babel/preset-typescript": "^7.23.2", - "@babel/runtime": "^7.23.2", - "babel-loader": "^8.0.6", - "ts-loader": "^7.0.5", - "typescript": "3.5.3", - "webpack": "^5.92.0", + "@babel/plugin-proposal-decorators": "^7.24.7", + "@babel/plugin-transform-runtime": "^7.25.4", + "@babel/preset-env": "^7.25.4", + "@babel/preset-typescript": "^7.24.7", + "@babel/runtime": "^7.25.4", + "babel-loader": "^9.1.3", + "ts-loader": "^9.5.1", + "typescript": "~4.7", + "webpack": "^5.94.0", "webpack-cli": "^5.1.4" }, "scripts": { diff --git a/libraries/adaptive-expressions/etc/adaptive-expressions.api.md b/libraries/adaptive-expressions/etc/adaptive-expressions.api.md index adbca400b7..be34938095 100644 --- a/libraries/adaptive-expressions/etc/adaptive-expressions.api.md +++ b/libraries/adaptive-expressions/etc/adaptive-expressions.api.md @@ -38,7 +38,7 @@ export class Alpha_numsContext extends ParserRuleContext { // (undocumented) letter(i: number): LetterContext; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) Underscore(): TerminalNode[]; // (undocumented) @@ -63,7 +63,7 @@ export class AlternationContext extends ParserRuleContext { // (undocumented) Pipe(i: number): TerminalNode; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public (undocumented) @@ -88,7 +88,7 @@ export class ArgsListContext extends ParserRuleContext { // (undocumented) lambda(i: number): LambdaContext; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public (undocumented) @@ -146,7 +146,7 @@ export class AtomContext extends ParserRuleContext { // (undocumented) option(): OptionContext | undefined; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) shared_atom(): Shared_atomContext | undefined; } @@ -234,7 +234,7 @@ export class CaptureContext extends ParserRuleContext { // (undocumented) QuestionMark(): TerminalNode | undefined; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public (undocumented) @@ -253,7 +253,7 @@ export class Cc_atomContext extends ParserRuleContext { // (undocumented) Hyphen(): TerminalNode | undefined; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) shared_atom(): Shared_atomContext | undefined; } @@ -286,7 +286,7 @@ export class Cc_literalContext extends ParserRuleContext { // (undocumented) QuestionMark(): TerminalNode | undefined; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) shared_literal(): Shared_literalContext | undefined; // (undocumented) @@ -313,7 +313,7 @@ export class Character_classContext extends ParserRuleContext { // (undocumented) exitRule(listener: CommonRegexListener): void; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public @@ -342,7 +342,7 @@ export class CommonRegexLexer extends Lexer { // (undocumented) static readonly Ampersand = 43; // (undocumented) - static readonly _ATN: ATN; + static get _ATN(): ATN; // (undocumented) static readonly AUC = 70; // (undocumented) @@ -362,7 +362,7 @@ export class CommonRegexLexer extends Lexer { // (undocumented) static readonly channelNames: string[]; // (undocumented) - readonly channelNames: string[]; + get channelNames(): string[]; // (undocumented) static readonly CharacterClassEnd = 22; // (undocumented) @@ -434,7 +434,7 @@ export class CommonRegexLexer extends Lexer { // (undocumented) static readonly GLC = 50; // (undocumented) - readonly grammarFileName: string; + get grammarFileName(): string; // (undocumented) static readonly GreaterThan = 36; // (undocumented) @@ -472,7 +472,7 @@ export class CommonRegexLexer extends Lexer { // (undocumented) static readonly modeNames: string[]; // (undocumented) - readonly modeNames: string[]; + get modeNames(): string[]; // (undocumented) static readonly MUC = 82; // (undocumented) @@ -520,9 +520,9 @@ export class CommonRegexLexer extends Lexer { // (undocumented) static readonly ruleNames: string[]; // (undocumented) - readonly ruleNames: string[]; + get ruleNames(): string[]; // (undocumented) - readonly serializedATN: string; + get serializedATN(): string; // (undocumented) static readonly _serializedATN: string; // (undocumented) @@ -550,7 +550,7 @@ export class CommonRegexLexer extends Lexer { // (undocumented) static readonly VOCABULARY: Vocabulary; // (undocumented) - readonly vocabulary: Vocabulary; + get vocabulary(): Vocabulary; // (undocumented) static readonly VUC = 91; // (undocumented) @@ -647,7 +647,7 @@ export class CommonRegexParser extends Parser { // (undocumented) static readonly Ampersand = 43; // (undocumented) - static readonly _ATN: ATN; + static get _ATN(): ATN; // (undocumented) atom(): AtomContext; // (undocumented) @@ -753,7 +753,7 @@ export class CommonRegexParser extends Parser { // (undocumented) static readonly GLC = 50; // (undocumented) - readonly grammarFileName: string; + get grammarFileName(): string; // (undocumented) static readonly GreaterThan = 36; // (undocumented) @@ -917,9 +917,9 @@ export class CommonRegexParser extends Parser { // (undocumented) static readonly ruleNames: string[]; // (undocumented) - readonly ruleNames: string[]; + get ruleNames(): string[]; // (undocumented) - readonly serializedATN: string; + get serializedATN(): string; // (undocumented) static readonly _serializedATN: string; // (undocumented) @@ -951,7 +951,7 @@ export class CommonRegexParser extends Parser { // (undocumented) static readonly VOCABULARY: Vocabulary; // (undocumented) - readonly vocabulary: Vocabulary; + get vocabulary(): Vocabulary; // (undocumented) static readonly VUC = 91; // (undocumented) @@ -1017,7 +1017,9 @@ export class Constant extends Expression { constructor(value: any); deepEquals(other: Expression): boolean; toString(): string; - value: any; + get value(): any; + // Warning: (ae-setter-with-docs) The doc comment for the property "value" must appear on the getter, not the setter. + set value(theValue: any); } // @public @@ -1053,7 +1055,7 @@ export class DigitContext extends ParserRuleContext { // (undocumented) exitRule(listener: CommonRegexListener): void; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public (undocumented) @@ -1070,7 +1072,7 @@ export class DigitsContext extends ParserRuleContext { // (undocumented) exitRule(listener: CommonRegexListener): void; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public (undocumented) @@ -1087,7 +1089,7 @@ export class ElementContext extends ParserRuleContext { // (undocumented) quantifier(): QuantifierContext | undefined; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public @@ -1123,7 +1125,7 @@ export class ExprContext extends ParserRuleContext { // (undocumented) exitRule(listener: CommonRegexListener): void; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public @@ -1147,11 +1149,11 @@ export class Expression { path: string; refs: Set; }; - readonly returnType: ReturnType_2; + get returnType(): ReturnType_2; static setPathToValue(property: Expression, value: any): Expression; toString(): string; tryEvaluate(state: MemoryInterface | any, options?: Options): ValueWithError; - readonly type: string; + get type(): string; validate: () => void; validateTree(): void; } @@ -1168,11 +1170,11 @@ export class ExpressionAntlrLexer extends Lexer { // (undocumented) static readonly ASTERISK = 6; // (undocumented) - static readonly _ATN: ATN; + static get _ATN(): ATN; // (undocumented) static readonly channelNames: string[]; // (undocumented) - readonly channelNames: string[]; + get channelNames(): string[]; // (undocumented) static readonly CLOSE_BRACKET = 19; // (undocumented) @@ -1194,7 +1196,7 @@ export class ExpressionAntlrLexer extends Lexer { // (undocumented) static readonly ESCAPE_CHARACTER = 37; // (undocumented) - readonly grammarFileName: string; + get grammarFileName(): string; // (undocumented) static readonly IDENTIFIER = 32; // (undocumented) @@ -1208,7 +1210,7 @@ export class ExpressionAntlrLexer extends Lexer { // (undocumented) static readonly modeNames: string[]; // (undocumented) - readonly modeNames: string[]; + get modeNames(): string[]; // (undocumented) static readonly MORE_OR_EQUAL = 17; // (undocumented) @@ -1238,11 +1240,11 @@ export class ExpressionAntlrLexer extends Lexer { // (undocumented) static readonly ruleNames: string[]; // (undocumented) - readonly ruleNames: string[]; + get ruleNames(): string[]; // (undocumented) sempred(_localctx: RuleContext, ruleIndex: number, predIndex: number): boolean; // (undocumented) - readonly serializedATN: string; + get serializedATN(): string; // (undocumented) static readonly _serializedATN: string; // (undocumented) @@ -1264,7 +1266,7 @@ export class ExpressionAntlrLexer extends Lexer { // (undocumented) static readonly VOCABULARY: Vocabulary; // (undocumented) - readonly vocabulary: Vocabulary; + get vocabulary(): Vocabulary; // (undocumented) static readonly WHITESPACE = 31; // (undocumented) @@ -1283,7 +1285,7 @@ export class ExpressionAntlrParser extends Parser { // (undocumented) static readonly ASTERISK = 6; // (undocumented) - static readonly _ATN: ATN; + static get _ATN(): ATN; // (undocumented) static readonly CLOSE_BRACKET = 19; // (undocumented) @@ -1311,7 +1313,7 @@ export class ExpressionAntlrParser extends Parser { // (undocumented) file(): FileContext; // (undocumented) - readonly grammarFileName: string; + get grammarFileName(): string; // (undocumented) static readonly IDENTIFIER = 32; // (undocumented) @@ -1381,11 +1383,11 @@ export class ExpressionAntlrParser extends Parser { // (undocumented) static readonly ruleNames: string[]; // (undocumented) - readonly ruleNames: string[]; + get ruleNames(): string[]; // (undocumented) sempred(_localctx: RuleContext, ruleIndex: number, predIndex: number): boolean; // (undocumented) - readonly serializedATN: string; + get serializedATN(): string; // (undocumented) static readonly _serializedATN: string; // (undocumented) @@ -1409,7 +1411,7 @@ export class ExpressionAntlrParser extends Parser { // (undocumented) static readonly VOCABULARY: Vocabulary; // (undocumented) - readonly vocabulary: Vocabulary; + get vocabulary(): Vocabulary; // (undocumented) static readonly WHITESPACE = 31; // (undocumented) @@ -1502,7 +1504,7 @@ export class ExpressionContext extends ParserRuleContext { // (undocumented) copyFrom(ctx: ExpressionContext): void; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public @@ -1513,7 +1515,9 @@ export class ExpressionConverter { // @public export class ExpressionEvaluator { constructor(type: string, evaluator: EvaluateExpressionDelegate, returnType?: ReturnType_2, validator?: ValidateExpressionDelegate); - negation: ExpressionEvaluator; + get negation(): ExpressionEvaluator; + // Warning: (ae-setter-with-docs) The doc comment for the property "negation" must appear on the getter, not the setter. + set negation(value: ExpressionEvaluator); returnType: ReturnType_2; tryEvaluate: (expression: Expression, state: MemoryInterface, options: Options) => ValueWithError; type: string; @@ -1897,7 +1901,7 @@ export class FileContext extends ParserRuleContext { // (undocumented) expression(): ExpressionContext; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public (undocumented) @@ -1923,8 +1927,8 @@ export class FuncInvokeExpContext extends PrimaryExpressionContext { // @public export class FunctionTable implements Map { - readonly [Symbol.iterator]: () => IterableIterator<[string, ExpressionEvaluator]>; - readonly [Symbol.toStringTag]: string; + get [Symbol.iterator](): () => IterableIterator<[string, ExpressionEvaluator]>; + get [Symbol.toStringTag](): string; // (undocumented) add(item: { key: string; @@ -1942,10 +1946,10 @@ export class FunctionTable implements Map { forEach(_callbackfn: (value: ExpressionEvaluator, key: string, map: Map) => void, _thisArg?: any): void; get(key: string): ExpressionEvaluator; has(key: string): boolean; - readonly isReadOnly: boolean; + get isReadOnly(): boolean; keys(): IterableIterator; set(key: string, value: ExpressionEvaluator): this; - readonly size: number; + get size(): number; values(): IterableIterator; } @@ -2087,7 +2091,7 @@ export class KeyContext extends ParserRuleContext { // (undocumented) IDENTIFIER(): TerminalNode | undefined; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) STRING(): TerminalNode | undefined; } @@ -2108,7 +2112,7 @@ export class KeyValuePairContext extends ParserRuleContext { // (undocumented) key(): KeyContext; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public (undocumented) @@ -2129,7 +2133,7 @@ export class KeyValuePairListContext extends ParserRuleContext { // (undocumented) keyValuePair(i: number): KeyValuePairContext; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public (undocumented) @@ -2148,7 +2152,7 @@ export class LambdaContext extends ParserRuleContext { // (undocumented) IDENTIFIER(): TerminalNode; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public (undocumented) @@ -2233,7 +2237,7 @@ export class LetterContext extends ParserRuleContext { // (undocumented) RUC(): TerminalNode | undefined; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) SLC(): TerminalNode | undefined; // (undocumented) @@ -2280,7 +2284,7 @@ export class LiteralContext extends ParserRuleContext { // (undocumented) exitRule(listener: CommonRegexListener): void; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) shared_literal(): Shared_literalContext | undefined; } @@ -2691,22 +2695,22 @@ export class NameContext extends ParserRuleContext { // (undocumented) exitRule(listener: CommonRegexListener): void; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public class Node_2 { constructor(clause: Clause, tree: TriggerTree, trigger?: Trigger); addNode(triggerNode: Node_2): boolean; - readonly allTriggers: Trigger[]; + get allTriggers(): Trigger[]; clause: Clause; matches(state: MemoryInterface | any): Trigger[]; relationship(other: Node_2): RelationshipType; removeTrigger(trigger: Trigger): boolean; - readonly specializations: Node_2[]; + get specializations(): Node_2[]; toString(builder?: string[], indent?: number): string; tree: TriggerTree; - readonly triggers: Trigger[]; + get triggers(): Trigger[]; } export { Node_2 as Node } @@ -2730,7 +2734,7 @@ export class Non_captureContext extends ParserRuleContext { // (undocumented) QuestionMark(): TerminalNode; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public (undocumented) @@ -2745,7 +2749,7 @@ export class Non_close_parenContext extends ParserRuleContext { // (undocumented) exitRule(listener: CommonRegexListener): void; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public (undocumented) @@ -2762,7 +2766,7 @@ export class Non_close_parensContext extends ParserRuleContext { // (undocumented) non_close_paren(i: number): Non_close_parenContext; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public (undocumented) @@ -2777,7 +2781,7 @@ export class NumberContext extends ParserRuleContext { // (undocumented) exitRule(listener: CommonRegexListener): void; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public @@ -2850,7 +2854,7 @@ export class Octal_charContext extends ParserRuleContext { // (undocumented) octal_digit(i: number): Octal_digitContext; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public (undocumented) @@ -2879,7 +2883,7 @@ export class Octal_digitContext extends ParserRuleContext { // (undocumented) exitRule(listener: CommonRegexListener): void; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public @@ -2901,7 +2905,7 @@ export class Option_flagContext extends ParserRuleContext { // (undocumented) MLC(): TerminalNode | undefined; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) SLC(): TerminalNode | undefined; } @@ -2926,7 +2930,7 @@ export class OptionContext extends ParserRuleContext { // (undocumented) QuestionMark(): TerminalNode; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public @@ -2968,7 +2972,7 @@ export class ParseContext extends ParserRuleContext { // (undocumented) exitRule(listener: CommonRegexListener): void; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public @@ -3008,7 +3012,7 @@ export class PrimaryExpressionContext extends ParserRuleContext { // (undocumented) copyFrom(ctx: PrimaryExpressionContext): void; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public @@ -3038,7 +3042,7 @@ export class Quantifier_typeContext extends ParserRuleContext { // (undocumented) QuestionMark(): TerminalNode | undefined; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public (undocumented) @@ -3067,7 +3071,7 @@ export class QuantifierContext extends ParserRuleContext { // (undocumented) QuestionMark(): TerminalNode | undefined; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) Star(): TerminalNode | undefined; } @@ -3127,7 +3131,7 @@ export class Shared_atomContext extends ParserRuleContext { // (undocumented) NotWordChar(): TerminalNode | undefined; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) WhiteSpace(): TerminalNode | undefined; // (undocumented) @@ -3190,7 +3194,7 @@ export class Shared_literalContext extends ParserRuleContext { // (undocumented) Quoted(): TerminalNode | undefined; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) SingleQuote(): TerminalNode | undefined; // (undocumented) @@ -3269,7 +3273,7 @@ export class StringInterpolationContext extends ParserRuleContext { // (undocumented) exitRule(listener: ExpressionAntlrParserListener): void; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) STRING_INTERPOLATION_START(): TerminalNode[]; // (undocumented) @@ -3299,7 +3303,7 @@ export class TextContentContext extends ParserRuleContext { // (undocumented) exitRule(listener: ExpressionAntlrParserListener): void; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) TEXT_CONTENT(): TerminalNode[]; // (undocumented) @@ -3322,7 +3326,7 @@ export class TimeZoneConverter { export class Trigger { constructor(tree: TriggerTree, expression?: Expression, action?: any, ...quantifiers: Quantifier[]); readonly action: any; - readonly clauses: Clause[]; + get clauses(): Clause[]; matches(nodeClause: Clause, state: MemoryInterface | any): boolean; readonly originalExpression: Expression; relationship(other: Trigger, comparers: PredicateComparers): RelationshipType; diff --git a/libraries/adaptive-expressions/package.json b/libraries/adaptive-expressions/package.json index d6c87ceaf1..de61982cf0 100644 --- a/libraries/adaptive-expressions/package.json +++ b/libraries/adaptive-expressions/package.json @@ -20,30 +20,30 @@ "browser": "./lib/browser.js", "typings": "./lib/index.d.ts", "dependencies": { - "@microsoft/recognizers-text-data-types-timex-expression": "1.3.0", - "@types/atob-lite": "^2.0.0", - "@types/btoa-lite": "^1.0.0", - "@types/lodash.isequal": "^4.5.5", - "@types/lru-cache": "^5.1.0", - "antlr4ts": "0.5.0-alpha.3", + "@microsoft/recognizers-text-data-types-timex-expression": "~1.3.1", + "@types/atob-lite": "^2.0.2", + "@types/btoa-lite": "^1.0.2", + "@types/lodash.isequal": "^4.5.8", + "@types/lru-cache": "^5.1.1", + "antlr4ts": "0.5.0-alpha.4", "atob-lite": "^2.0.0", - "big-integer": "^1.6.48", - "@types/xmldom": "^0.1.30", + "big-integer": "^1.6.52", + "@types/xmldom": "^0.1.34", "btoa-lite": "^1.0.0", - "d3-format": "^1.4.4", - "dayjs": "^1.10.3", + "d3-format": "^2.0.0", + "dayjs": "^1.11.13", "jspath": "^0.4.0", "lodash.isequal": "^4.5.0", "lru-cache": "^5.1.1", - "uuid": "^8.3.2", + "uuid": "^10.0.0", "fast-xml-parser": "^4.4.1", "@xmldom/xmldom": "^0.8.6", - "xpath": "^0.0.32" + "xpath": "^0.0.34" }, "devDependencies": { - "@types/jspath": "^0.4.0", - "antlr4ts-cli": "0.5.0-alpha.3", - "typescript": "3.5.3" + "@types/jspath": "^0.4.2", + "antlr4ts-cli": "0.5.0-alpha.4", + "typescript": "~4.7" }, "scripts": { "build:src": "tsc -b", diff --git a/libraries/adaptive-expressions/src/builtinFunctions/concat.ts b/libraries/adaptive-expressions/src/builtinFunctions/concat.ts index 2981de06da..09bc1110dc 100644 --- a/libraries/adaptive-expressions/src/builtinFunctions/concat.ts +++ b/libraries/adaptive-expressions/src/builtinFunctions/concat.ts @@ -32,7 +32,7 @@ export class Concat extends ExpressionEvaluator { * @private */ private static evaluator(): EvaluateExpressionDelegate { - return FunctionUtils.applySequence((args: any[]): string => { + return FunctionUtils.applySequence((args: any[]) => { const firstItem = args[0]; const secondItem = args[1]; const isFirstList = Array.isArray(firstItem); diff --git a/libraries/adaptive-expressions/src/functionUtils.internal.ts b/libraries/adaptive-expressions/src/functionUtils.internal.ts index 4041bd4b14..9c713941b1 100644 --- a/libraries/adaptive-expressions/src/functionUtils.internal.ts +++ b/libraries/adaptive-expressions/src/functionUtils.internal.ts @@ -7,7 +7,7 @@ */ import { Constant } from './constant'; -import dayjs, { OpUnitType } from 'dayjs'; +import dayjs, { ManipulateType } from 'dayjs'; import utc from 'dayjs/plugin/utc'; dayjs.extend(utc); import { Expression } from './expression'; @@ -421,7 +421,7 @@ export class InternalFunctionUtils { * @param cSharpStr C# unit. * @returns The transformed timeUnit. */ - static timeUnitTransformer(duration: number, cSharpStr: string): { duration: number; tsStr: OpUnitType } { + static timeUnitTransformer(duration: number, cSharpStr: string): { duration: number; tsStr: ManipulateType } { switch (cSharpStr) { case 'Day': return { duration, tsStr: 'day' }; diff --git a/libraries/botbuilder-ai-orchestrator/package.json b/libraries/botbuilder-ai-orchestrator/package.json index 7a2540f81f..db3bcaf3f2 100644 --- a/libraries/botbuilder-ai-orchestrator/package.json +++ b/libraries/botbuilder-ai-orchestrator/package.json @@ -36,7 +36,7 @@ "botbuilder-dialogs-adaptive-runtime-core": "4.1.6", "botbuilder-dialogs-declarative": "4.1.6", "@microsoft/orchestrator-core": "~4.15.1", - "uuid": "^8.3.2" + "uuid": "^10.0.0" }, "scripts": { "build": "tsc -b", diff --git a/libraries/botbuilder-ai/package.json b/libraries/botbuilder-ai/package.json index 6d02364c76..7b0305bdc8 100644 --- a/libraries/botbuilder-ai/package.json +++ b/libraries/botbuilder-ai/package.json @@ -27,7 +27,7 @@ } }, "dependencies": { - "@azure/core-http": "^3.0.2", + "@azure/core-http": "^3.0.4", "adaptive-expressions": "4.1.6", "botbuilder-core": "4.1.6", "botbuilder-dialogs": "4.1.6", @@ -35,13 +35,13 @@ "botbuilder-dialogs-declarative": "4.1.6", "botframework-connector": "4.1.6", "lodash": "^4.17.21", - "node-fetch": "^2.6.7", - "url-parse": "^1.5.9", - "zod": "^3.22.4" + "node-fetch": "^2.7.0", + "url-parse": "^1.5.10", + "zod": "^3.23.8" }, "devDependencies": { - "@types/node-fetch": "^2.5.7", - "fs-extra": "^7.0.1", + "@types/node-fetch": "^2.6.11", + "fs-extra": "^11.2.0", "nock": "^11.9.1" }, "scripts": { diff --git a/libraries/botbuilder-ai/src/luisRecognizerOptionsV3.ts b/libraries/botbuilder-ai/src/luisRecognizerOptionsV3.ts index dd8c5c1ee7..bfaff2c5b6 100644 --- a/libraries/botbuilder-ai/src/luisRecognizerOptionsV3.ts +++ b/libraries/botbuilder-ai/src/luisRecognizerOptionsV3.ts @@ -158,7 +158,7 @@ export class LuisRecognizerV3 extends LuisRecognizerInternal { const httpOptions = this.buildRequestBody(utterance, options); const data = await fetch(uri, httpOptions); - const response = await data.json(); + const response = (await data.json()) as any; if (response.error) { const errObj = response.error; const errMessage = errObj.code ? `${errObj.code}: ${errObj.message}` : errObj.message; diff --git a/libraries/botbuilder-azure-blobs/package.json b/libraries/botbuilder-azure-blobs/package.json index 1b6b9447ff..47933c9e2e 100644 --- a/libraries/botbuilder-azure-blobs/package.json +++ b/libraries/botbuilder-azure-blobs/package.json @@ -27,13 +27,12 @@ } }, "dependencies": { - "@azure/storage-blob": "^12.15.0", + "@azure/storage-blob": "^12.24.0", "botbuilder-core": "4.1.6", "botbuilder-stdlib": "4.1.6", - "get-stream": "^6.0.0", "p-map": "^4.0.0", - "zod": "^3.22.4", - "@azure/core-http": "^3.0.2" + "zod": "^3.23.8", + "@azure/core-http": "^3.0.4" }, "scripts": { "build": "tsc -b", diff --git a/libraries/botbuilder-azure-blobs/src/blobsStorage.ts b/libraries/botbuilder-azure-blobs/src/blobsStorage.ts index 15fb5f9551..4b7d02c061 100644 --- a/libraries/botbuilder-azure-blobs/src/blobsStorage.ts +++ b/libraries/botbuilder-azure-blobs/src/blobsStorage.ts @@ -2,7 +2,7 @@ // Licensed under the MIT License. import * as z from 'zod'; -import getStream from 'get-stream'; +import StreamConsumers from 'stream/consumers'; import pmap from 'p-map'; import { AnonymousCredential, @@ -128,13 +128,12 @@ export class BlobsStorage implements Storage { return result; } - const { etag: eTag, readableStreamBody: stream } = blob; - if (!stream) { + const { etag: eTag, readableStreamBody } = blob; + if (!readableStreamBody) { return result; } - const contents = await getStream(stream); - const parsed = JSON.parse(contents); + const parsed = (await StreamConsumers.json(readableStreamBody)) as any; result.value = { ...parsed, eTag }; return result; diff --git a/libraries/botbuilder-azure-blobs/src/blobsTranscriptStore.ts b/libraries/botbuilder-azure-blobs/src/blobsTranscriptStore.ts index a1e68ac6ca..23f1919847 100644 --- a/libraries/botbuilder-azure-blobs/src/blobsTranscriptStore.ts +++ b/libraries/botbuilder-azure-blobs/src/blobsTranscriptStore.ts @@ -2,7 +2,7 @@ // Licensed under the MIT License. import * as z from 'zod'; -import getStream from 'get-stream'; +import StreamConsumers from 'stream/consumers'; import pmap from 'p-map'; import { Activity, PagedResult, TranscriptInfo, TranscriptStore } from 'botbuilder-core'; import { maybeCast } from 'botbuilder-stdlib'; @@ -205,14 +205,12 @@ export class BlobsTranscriptStore implements TranscriptStore { async (blobItem) => { const blob = await this._containerClient.getBlobClient(blobItem.name).download(); - const { readableStreamBody: stream } = blob; - if (!stream) { + const { readableStreamBody } = blob; + if (!readableStreamBody) { return null; } - const contents = await getStream(stream); - - const activity = JSON.parse(contents); + const activity = (await StreamConsumers.json(readableStreamBody)) as any; return { ...activity, timestamp: new Date(activity.timestamp) } as Activity; }, { concurrency: this._concurrency } diff --git a/libraries/botbuilder-azure-queues/package.json b/libraries/botbuilder-azure-queues/package.json index 67ef7b6574..d6a8d5b7ab 100644 --- a/libraries/botbuilder-azure-queues/package.json +++ b/libraries/botbuilder-azure-queues/package.json @@ -28,12 +28,12 @@ } }, "dependencies": { - "@azure/storage-queue": "^12.14.0", + "@azure/storage-queue": "^12.23.0", "botbuilder-core": "4.1.6" }, "devDependencies": { "botbuilder-dialogs": "4.1.6", - "node-fetch": "^2.6.7" + "node-fetch": "^2.7.0" }, "scripts": { "build": "tsc -b", diff --git a/libraries/botbuilder-azure/package.json b/libraries/botbuilder-azure/package.json index 1cfa9c7d00..9c526de023 100644 --- a/libraries/botbuilder-azure/package.json +++ b/libraries/botbuilder-azure/package.json @@ -30,18 +30,17 @@ "dependencies": { "@azure/cosmos": "3.10.0", "@azure/core-auth": "^1.4.0", - "@azure/storage-blob": "^12.15.0", + "@azure/storage-blob": "^12.24.0", "botbuilder": "4.1.6", "botbuilder-stdlib": "4.1.6", - "get-stream": "^6.0.0", "bcryptjs": "^2.4.3", "lodash": "^4.17.20", "p-map": "^4.0.0" }, "devDependencies": { - "fs-extra": "^7.0.1", + "fs-extra": "^11.2.0", "nock": "^11.9.1", - "node-fetch": "^2.6.7" + "node-fetch": "^2.7.0" }, "scripts": { "build": "tsc -b", diff --git a/libraries/botbuilder-azure/src/azureBlobTranscriptStore.ts b/libraries/botbuilder-azure/src/azureBlobTranscriptStore.ts index 471124c12e..5b4ae52097 100644 --- a/libraries/botbuilder-azure/src/azureBlobTranscriptStore.ts +++ b/libraries/botbuilder-azure/src/azureBlobTranscriptStore.ts @@ -16,7 +16,7 @@ import { import { Activity, PagedResult, TranscriptInfo, TranscriptStore } from 'botbuilder'; import { maybeCast } from 'botbuilder-stdlib'; import { escape } from 'querystring'; -import getStream from 'get-stream'; +import StreamConsumers from 'stream/consumers'; import pmap from 'p-map'; import { BlobStorageSettings } from './blobStorage'; @@ -185,14 +185,12 @@ export class AzureBlobTranscriptStore implements TranscriptStore { const blobClient = this.containerClient.getBlobClient(blobItem.name); const blob = await blobClient.download(); - const { readableStreamBody: stream } = blob; - if (!stream) { + const { readableStreamBody } = blob; + if (!readableStreamBody) { return null; } - const contents = await getStream(stream); - - const activity = JSON.parse(contents); + const activity = (await StreamConsumers.json(readableStreamBody)) as any; return { ...activity, timestamp: new Date(activity.timestamp) } as Activity; }, { concurrency: this.concurrency } diff --git a/libraries/botbuilder-azure/src/blobStorage.ts b/libraries/botbuilder-azure/src/blobStorage.ts index 201615ccf6..31ea7c31e5 100644 --- a/libraries/botbuilder-azure/src/blobStorage.ts +++ b/libraries/botbuilder-azure/src/blobStorage.ts @@ -16,7 +16,7 @@ import { } from '@azure/storage-blob'; import { Storage, StoreItems } from 'botbuilder'; import { escape } from 'querystring'; -import getStream from 'get-stream'; +import StreamConsumers from 'stream/consumers'; // A host address. export interface Host { @@ -182,14 +182,12 @@ export class BlobStorage implements Storage { const blob = this.containerClient.getBlobClient(key); if (await blob.exists()) { const result = await blob.download(); - const { etag: eTag, readableStreamBody: stream } = result; - if (!stream) { + const { etag: eTag, readableStreamBody } = result; + if (!readableStreamBody) { return { document: {} } as DocumentStoreItem; } - const contents = await getStream(stream); - const parsed = JSON.parse(contents); - const document: DocumentStoreItem = parsed; + const document = (await StreamConsumers.json(readableStreamBody)) as DocumentStoreItem; document.document.eTag = eTag; return document; } else { diff --git a/libraries/botbuilder-core/package.json b/libraries/botbuilder-core/package.json index 03d8d2088b..175a8be963 100644 --- a/libraries/botbuilder-core/package.json +++ b/libraries/botbuilder-core/package.json @@ -31,13 +31,13 @@ "botbuilder-stdlib": "4.1.6", "botframework-connector": "4.1.6", "botframework-schema": "4.1.6", - "uuid": "^8.3.2", - "zod": "^3.22.4" + "uuid": "^10.0.0", + "zod": "^3.23.8" }, "devDependencies": { - "axios": "^1.7.4", + "axios": "^1.7.5", "mime-types": "^2.1.35", - "unzipper": "^0.10.9" + "unzipper": "^0.12.3" }, "scripts": { "build": "tsc -b", diff --git a/libraries/botbuilder-dialogs-adaptive-runtime-core/package.json b/libraries/botbuilder-dialogs-adaptive-runtime-core/package.json index 9ab19292cc..d33837c6f1 100644 --- a/libraries/botbuilder-dialogs-adaptive-runtime-core/package.json +++ b/libraries/botbuilder-dialogs-adaptive-runtime-core/package.json @@ -28,11 +28,11 @@ } }, "dependencies": { - "dependency-graph": "^0.10.0" + "dependency-graph": "^1.0.0" }, "devDependencies": { - "mocha": "^10.4.0", - "nyc": "^15.1.0" + "mocha": "^10.7.3", + "nyc": "^17.0.0" }, "scripts": { "build": "tsc -b", diff --git a/libraries/botbuilder-dialogs-adaptive-runtime-integration-azure-functions/package.json b/libraries/botbuilder-dialogs-adaptive-runtime-integration-azure-functions/package.json index 10cf5437e2..f0f0a4b3e1 100644 --- a/libraries/botbuilder-dialogs-adaptive-runtime-integration-azure-functions/package.json +++ b/libraries/botbuilder-dialogs-adaptive-runtime-integration-azure-functions/package.json @@ -32,8 +32,8 @@ "botbuilder": "4.1.6", "botbuilder-dialogs-adaptive-runtime": "4.1.6", "botbuilder-dialogs-adaptive-runtime-core": "4.1.6", - "mime": "^2.5.2", - "zod": "^3.22.4" + "mime": "^4.0.4", + "zod": "^3.23.8" }, "scripts": { "build": "tsc -b", diff --git a/libraries/botbuilder-dialogs-adaptive-runtime-integration-express/package.json b/libraries/botbuilder-dialogs-adaptive-runtime-integration-express/package.json index dd4b591f72..4a9e9730fb 100644 --- a/libraries/botbuilder-dialogs-adaptive-runtime-integration-express/package.json +++ b/libraries/botbuilder-dialogs-adaptive-runtime-integration-express/package.json @@ -37,13 +37,13 @@ "src" ], "dependencies": { - "@types/express": "4.17.1", + "@types/express": "4.17.21", "body-parser": "^1.19.0", "botbuilder": "4.1.6", "botbuilder-dialogs-adaptive-runtime": "4.1.6", "botbuilder-dialogs-adaptive-runtime-core": "4.1.6", "botframework-connector": "4.1.6", "express": "^4.19.2", - "zod": "^3.22.4" + "zod": "^3.23.8" } } diff --git a/libraries/botbuilder-dialogs-adaptive-runtime-integration-express/src/index.ts b/libraries/botbuilder-dialogs-adaptive-runtime-integration-express/src/index.ts index e9560c934d..674c7e58d1 100644 --- a/libraries/botbuilder-dialogs-adaptive-runtime-integration-express/src/index.ts +++ b/libraries/botbuilder-dialogs-adaptive-runtime-integration-express/src/index.ts @@ -207,7 +207,8 @@ export async function makeApp( const adapter = services.mustMakeInstance('adapter'); try { - await adapter.process(req, socket, head, async (context) => { + // TODO: Fix INodeSocket type. Related issue https://github.com/microsoft/botbuilder-js/issues/4684. + await adapter.process(req, socket as any, head, async (context) => { await bot.run(context); }); } catch (err: any) { diff --git a/libraries/botbuilder-dialogs-adaptive-runtime-integration-restify/package.json b/libraries/botbuilder-dialogs-adaptive-runtime-integration-restify/package.json index b881c1a84f..f8b90649db 100644 --- a/libraries/botbuilder-dialogs-adaptive-runtime-integration-restify/package.json +++ b/libraries/botbuilder-dialogs-adaptive-runtime-integration-restify/package.json @@ -32,7 +32,7 @@ "botbuilder-dialogs-adaptive-runtime": "4.1.6", "botbuilder-dialogs-adaptive-runtime-core": "4.1.6", "restify": "^11.1.0", - "zod": "^3.22.4" + "zod": "^3.23.8" }, "scripts": { "build": "tsc -b", diff --git a/libraries/botbuilder-dialogs-adaptive-runtime-integration-restify/src/index.ts b/libraries/botbuilder-dialogs-adaptive-runtime-integration-restify/src/index.ts index b9fddd2ddb..e1082d8d7d 100644 --- a/libraries/botbuilder-dialogs-adaptive-runtime-integration-restify/src/index.ts +++ b/libraries/botbuilder-dialogs-adaptive-runtime-integration-restify/src/index.ts @@ -194,7 +194,8 @@ export async function makeServer( const adapter = services.mustMakeInstance('adapter'); try { - await adapter.process(req, socket, head, async (context) => { + // TODO: Fix INodeSocket type. Related issue https://github.com/microsoft/botbuilder-js/issues/4684. + await adapter.process(req, socket as any, head, async (context) => { await bot.run(context); }); } catch (err: any) { diff --git a/libraries/botbuilder-dialogs-adaptive-runtime/package.json b/libraries/botbuilder-dialogs-adaptive-runtime/package.json index 8a99033a5e..12483efeb9 100644 --- a/libraries/botbuilder-dialogs-adaptive-runtime/package.json +++ b/libraries/botbuilder-dialogs-adaptive-runtime/package.json @@ -40,13 +40,13 @@ "botbuilder-dialogs-declarative": "4.1.6", "botframework-connector": "4.1.6", "nconf": "^0.12.1", - "yargs-parser": "^20.2.7", - "zod": "^3.22.4" + "yargs-parser": "^21.1.1", + "zod": "^3.23.8" }, "devDependencies": { - "@types/nconf": "0.10.0", - "mocha": "^10.4.0", - "nyc": "^15.1.0" + "@types/nconf": "^0.10.7", + "mocha": "^10.7.3", + "nyc": "^17.0.0" }, "scripts": { "build": "tsc -b", diff --git a/libraries/botbuilder-dialogs-adaptive-testing/package.json b/libraries/botbuilder-dialogs-adaptive-testing/package.json index 2eea2f7e9e..df8ccad7d9 100644 --- a/libraries/botbuilder-dialogs-adaptive-testing/package.json +++ b/libraries/botbuilder-dialogs-adaptive-testing/package.json @@ -24,7 +24,7 @@ }, "dependencies": { "adaptive-expressions": "4.1.6", - "bitwise": "^2.0.4", + "bitwise": "^2.2.1", "botbuilder-ai": "4.1.6", "botbuilder-core": "4.1.6", "botbuilder-dialogs": "4.1.6", @@ -34,8 +34,8 @@ "botbuilder-stdlib": "4.1.6", "murmurhash-js": "^1.0.0", "nock": "^11.9.1", - "url-parse": "^1.5.9", - "zod": "^3.22.4" + "url-parse": "^1.5.10", + "zod": "^3.23.8" }, "devDependencies": { "botbuilder": "4.1.6", diff --git a/libraries/botbuilder-dialogs-adaptive/package.json b/libraries/botbuilder-dialogs-adaptive/package.json index a03193296f..6dbcdc111b 100644 --- a/libraries/botbuilder-dialogs-adaptive/package.json +++ b/libraries/botbuilder-dialogs-adaptive/package.json @@ -44,10 +44,10 @@ "botbuilder-lg": "4.1.6", "botframework-connector": "4.1.6", "lodash": "^4.17.21", - "node-fetch": "^2.6.7" + "node-fetch": "^2.7.0" }, "devDependencies": { - "@types/node-fetch": "^2.5.3" + "@types/node-fetch": "^2.6.11" }, "scripts": { "build": "npm-run-all build:src build:tests", diff --git a/libraries/botbuilder-dialogs-declarative/package.json b/libraries/botbuilder-dialogs-declarative/package.json index 51f47d868a..55c5b2d20d 100644 --- a/libraries/botbuilder-dialogs-declarative/package.json +++ b/libraries/botbuilder-dialogs-declarative/package.json @@ -31,13 +31,13 @@ "botbuilder-dialogs": "4.1.6", "botbuilder-stdlib": "4.1.6", "chokidar": "^3.6.0", - "zod": "^3.22.4" + "zod": "^3.23.8" }, "devDependencies": { "adaptive-expressions": "4.1.6", "botbuilder-core": "4.1.6", "botbuilder-dialogs-adaptive-runtime-core": "4.1.6", - "jsonschema": "^1.4.0" + "jsonschema": "^1.4.1" }, "scripts": { "build": "tsc -b", diff --git a/libraries/botbuilder-dialogs/package.json b/libraries/botbuilder-dialogs/package.json index d6b20a40b9..62083cc45d 100644 --- a/libraries/botbuilder-dialogs/package.json +++ b/libraries/botbuilder-dialogs/package.json @@ -36,8 +36,8 @@ "botframework-connector": "4.1.6", "globalize": "^1.7.0", "lodash": "^4.17.21", - "uuid": "^8.3.2", - "zod": "^3.22.4" + "uuid": "^10.0.0", + "zod": "^3.23.8" }, "devDependencies": { "@types/globalize": "^1.5.5", diff --git a/libraries/botbuilder-lg/etc/botbuilder-lg.api.md b/libraries/botbuilder-lg/etc/botbuilder-lg.api.md index b63c4d38aa..bc5ab25dba 100644 --- a/libraries/botbuilder-lg/etc/botbuilder-lg.api.md +++ b/libraries/botbuilder-lg/etc/botbuilder-lg.api.md @@ -44,7 +44,7 @@ export class AnalyzerOptions { constructor(options?: AnalyzerOptions | string[]); Merge(opt: AnalyzerOptions): AnalyzerOptions; ThrowOnRecursive?: boolean; - } +} // @public export class AnalyzerResult { @@ -60,7 +60,7 @@ export class BodyContext extends ParserRuleContext_2 { // (undocumented) copyFrom(ctx: BodyContext): void; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public (undocumented) @@ -77,7 +77,7 @@ export class CommentDefinitionContext extends ParserRuleContext_2 { // (undocumented) NEWLINE(): TerminalNode | undefined; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public @@ -132,7 +132,7 @@ export class ErrorDefinitionContext extends ParserRuleContext_2 { // (undocumented) NEWLINE(): TerminalNode | undefined; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public @@ -151,7 +151,7 @@ export class ErrorStructuredNameContext extends ParserRuleContext_2 { // (undocumented) exitRule(listener: LGTemplateParserListener): void; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) STRUCTURE_NAME(): TerminalNode[]; // (undocumented) @@ -180,7 +180,7 @@ export class ErrorStructureLineContext extends ParserRuleContext_2 { // (undocumented) expressionInStructure(i: number): ExpressionInStructureContext; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) STRUCTURE_EQUALS(): TerminalNode[]; // (undocumented) @@ -213,7 +213,7 @@ export class ErrorTemplateStringContext extends ParserRuleContext_2 { // (undocumented) INVALID_TOKEN(i: number): TerminalNode; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public @@ -228,7 +228,7 @@ export class EvaluationOptions { nullSubstitution: (path: string) => unknown; // (undocumented) strictMode: boolean | undefined; - } +} // @public export class EvaluationTarget { @@ -305,7 +305,7 @@ export class ExpressionContext extends ParserRuleContext_2 { // (undocumented) EXPRESSION(): TerminalNode; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public (undocumented) @@ -320,7 +320,7 @@ export class ExpressionInStructureContext extends ParserRuleContext_2 { // (undocumented) EXPRESSION_IN_STRUCTURE_BODY(): TerminalNode; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public @@ -354,7 +354,7 @@ export class FileContext extends ParserRuleContext_2 { // (undocumented) paragraph(i: number): ParagraphContext; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public @@ -386,7 +386,7 @@ export class IfConditionContext extends ParserRuleContext_2 { // (undocumented) IF(): TerminalNode | undefined; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) TEXT(): TerminalNode[]; // (undocumented) @@ -411,7 +411,7 @@ export class IfConditionRuleContext extends ParserRuleContext_2 { // (undocumented) normalTemplateBody(): NormalTemplateBodyContext | undefined; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public (undocumented) @@ -441,7 +441,7 @@ export class IfElseTemplateBodyContext extends ParserRuleContext_2 { // (undocumented) ifConditionRule(i: number): IfConditionRuleContext; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public (undocumented) @@ -458,7 +458,7 @@ export class ImportDefinitionContext extends ParserRuleContext_2 { // (undocumented) NEWLINE(): TerminalNode | undefined; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public (undocumented) @@ -478,7 +478,7 @@ export class KeyValueStructureLineContext extends ParserRuleContext_2 { // (undocumented) keyValueStructureValue(i: number): KeyValueStructureValueContext; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) STRUCTURE_EQUALS(): TerminalNode; // (undocumented) @@ -507,7 +507,7 @@ export class KeyValueStructureValueContext extends ParserRuleContext_2 { // (undocumented) expressionInStructure(i: number): ExpressionInStructureContext; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) TEXT_IN_STRUCTURE_BODY(): TerminalNode[]; // (undocumented) @@ -529,17 +529,17 @@ export class LGFileLexer extends Lexer { // (undocumented) action(_localctx: RuleContext, ruleIndex: number, actionIndex: number): void; // (undocumented) - static readonly _ATN: ATN; + static get _ATN(): ATN; // (undocumented) static readonly channelNames: string[]; // (undocumented) - readonly channelNames: string[]; + get channelNames(): string[]; // (undocumented) static readonly COMMENT = 3; // (undocumented) static readonly ESCAPE_CHARACTER = 11; // (undocumented) - readonly grammarFileName: string; + get grammarFileName(): string; // (undocumented) static readonly IMPORT = 4; // (undocumented) @@ -549,7 +549,7 @@ export class LGFileLexer extends Lexer { // (undocumented) static readonly modeNames: string[]; // (undocumented) - readonly modeNames: string[]; + get modeNames(): string[]; // (undocumented) static readonly MULTILINE_MODE = 1; // (undocumented) @@ -565,11 +565,11 @@ export class LGFileLexer extends Lexer { // (undocumented) static readonly ruleNames: string[]; // (undocumented) - readonly ruleNames: string[]; + get ruleNames(): string[]; // (undocumented) sempred(_localctx: RuleContext, ruleIndex: number, predIndex: number): boolean; // (undocumented) - readonly serializedATN: string; + get serializedATN(): string; // (undocumented) static readonly _serializedATN: string; // (undocumented) @@ -581,7 +581,7 @@ export class LGFileLexer extends Lexer { // (undocumented) static readonly VOCABULARY: Vocabulary; // (undocumented) - readonly vocabulary: Vocabulary; + get vocabulary(): Vocabulary; } // @public (undocumented) @@ -590,7 +590,7 @@ export class LGFileParser extends Parser { static __ATN: ATN; constructor(input: TokenStream); // (undocumented) - static readonly _ATN: ATN; + static get _ATN(): ATN; // (undocumented) static readonly COMMENT = 3; // (undocumented) @@ -602,7 +602,7 @@ export class LGFileParser extends Parser { // (undocumented) file(): FileContext; // (undocumented) - readonly grammarFileName: string; + get grammarFileName(): string; // (undocumented) static readonly IMPORT = 4; // (undocumented) @@ -648,9 +648,9 @@ export class LGFileParser extends Parser { // (undocumented) static readonly ruleNames: string[]; // (undocumented) - readonly ruleNames: string[]; + get ruleNames(): string[]; // (undocumented) - readonly serializedATN: string; + get serializedATN(): string; // (undocumented) static readonly _serializedATN: string; // (undocumented) @@ -668,7 +668,7 @@ export class LGFileParser extends Parser { // (undocumented) static readonly VOCABULARY: Vocabulary; // (undocumented) - readonly vocabulary: Vocabulary; + get vocabulary(): Vocabulary; } // @public @@ -733,7 +733,7 @@ export class LGTemplateLexer extends Lexer { // (undocumented) action(_localctx: RuleContext, ruleIndex: number, actionIndex: number): void; // (undocumented) - static readonly _ATN: ATN; + static get _ATN(): ATN; // (undocumented) beginOfStructureProperty: boolean; // (undocumented) @@ -745,7 +745,7 @@ export class LGTemplateLexer extends Lexer { // (undocumented) static readonly channelNames: string[]; // (undocumented) - readonly channelNames: string[]; + get channelNames(): string[]; // (undocumented) static readonly COMMENTS = 3; // (undocumented) @@ -765,7 +765,7 @@ export class LGTemplateLexer extends Lexer { // (undocumented) static readonly EXPRESSION_IN_STRUCTURE_BODY = 32; // (undocumented) - readonly grammarFileName: string; + get grammarFileName(): string; // (undocumented) static readonly IF = 10; // (undocumented) @@ -781,7 +781,7 @@ export class LGTemplateLexer extends Lexer { // (undocumented) static readonly modeNames: string[]; // (undocumented) - readonly modeNames: string[]; + get modeNames(): string[]; // (undocumented) static readonly MULTILINE_MODE = 2; // (undocumented) @@ -799,11 +799,11 @@ export class LGTemplateLexer extends Lexer { // (undocumented) static readonly ruleNames: string[]; // (undocumented) - readonly ruleNames: string[]; + get ruleNames(): string[]; // (undocumented) sempred(_localctx: RuleContext, ruleIndex: number, predIndex: number): boolean; // (undocumented) - readonly serializedATN: string; + get serializedATN(): string; // (undocumented) static readonly _serializedATN: string; // (undocumented) @@ -835,7 +835,7 @@ export class LGTemplateLexer extends Lexer { // (undocumented) static readonly VOCABULARY: Vocabulary; // (undocumented) - readonly vocabulary: Vocabulary; + get vocabulary(): Vocabulary; // (undocumented) static readonly WS = 1; // (undocumented) @@ -852,7 +852,7 @@ export class LGTemplateParser extends Parser { static __ATN: ATN; constructor(input: TokenStream); // (undocumented) - static readonly _ATN: ATN; + static get _ATN(): ATN; // (undocumented) body(): BodyContext; // (undocumented) @@ -886,7 +886,7 @@ export class LGTemplateParser extends Parser { // (undocumented) expressionInStructure(): ExpressionInStructureContext; // (undocumented) - readonly grammarFileName: string; + get grammarFileName(): string; // (undocumented) static readonly IF = 10; // (undocumented) @@ -964,9 +964,9 @@ export class LGTemplateParser extends Parser { // (undocumented) static readonly ruleNames: string[]; // (undocumented) - readonly ruleNames: string[]; + get ruleNames(): string[]; // (undocumented) - readonly serializedATN: string; + get serializedATN(): string; // (undocumented) static readonly _serializedATN: string; // (undocumented) @@ -1012,7 +1012,7 @@ export class LGTemplateParser extends Parser { // (undocumented) static readonly VOCABULARY: Vocabulary; // (undocumented) - readonly vocabulary: Vocabulary; + get vocabulary(): Vocabulary; // (undocumented) static readonly WS = 1; // (undocumented) @@ -1117,7 +1117,7 @@ export class MultiLanguageLG { languagePolicy: Map; // (undocumented) lgPerLocale: Map; - } +} // @public (undocumented) export class NormalBodyContext extends BodyContext { @@ -1142,7 +1142,7 @@ export class NormalTemplateBodyContext extends ParserRuleContext_2 { // (undocumented) exitRule(listener: LGTemplateParserListener): void; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) templateString(): TemplateStringContext[]; // (undocumented) @@ -1173,7 +1173,7 @@ export class NormalTemplateStringContext extends ParserRuleContext_2 { // (undocumented) MULTILINE_SUFFIX(): TerminalNode | undefined; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) TEXT(): TerminalNode[]; // (undocumented) @@ -1194,7 +1194,7 @@ export class OptionDefinitionContext extends ParserRuleContext_2 { // (undocumented) OPTION(): TerminalNode; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public (undocumented) @@ -1219,7 +1219,7 @@ export class ParagraphContext extends ParserRuleContext_2 { // (undocumented) optionDefinition(): OptionDefinitionContext | undefined; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) templateDefinition(): TemplateDefinitionContext | undefined; } @@ -1248,7 +1248,6 @@ class Range_2 { // (undocumented) toString: () => string; } - export { Range_2 as Range } // @public @@ -1277,7 +1276,7 @@ export class StructuredBodyContentLineContext extends ParserRuleContext_2 { // (undocumented) keyValueStructureLine(): KeyValueStructureLineContext | undefined; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public (undocumented) @@ -1303,7 +1302,7 @@ export class StructuredBodyEndLineContext extends ParserRuleContext_2 { // (undocumented) exitRule(listener: LGTemplateParserListener): void; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) STRUCTURED_BODY_END(): TerminalNode; } @@ -1322,7 +1321,7 @@ export class StructuredBodyNameLineContext extends ParserRuleContext_2 { // (undocumented) LEFT_SQUARE_BRACKET(): TerminalNode; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) STRUCTURE_NAME(): TerminalNode | undefined; } @@ -1341,7 +1340,7 @@ export class StructuredTemplateBodyContext extends ParserRuleContext_2 { // (undocumented) exitRule(listener: LGTemplateParserListener): void; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) STRUCTURED_NEWLINE(): TerminalNode[]; // (undocumented) @@ -1381,7 +1380,7 @@ export class SwitchCaseRuleContext extends ParserRuleContext_2 { // (undocumented) normalTemplateBody(): NormalTemplateBodyContext | undefined; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) switchCaseStat(): SwitchCaseStatContext; } @@ -1406,7 +1405,7 @@ export class SwitchCaseStatContext extends ParserRuleContext_2 { // (undocumented) expression(i: number): ExpressionContext; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) SWITCH(): TerminalNode | undefined; // (undocumented) @@ -1429,7 +1428,7 @@ export class SwitchCaseTemplateBodyContext extends ParserRuleContext_2 { // (undocumented) exitRule(listener: LGTemplateParserListener): void; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) switchCaseRule(): SwitchCaseRuleContext[]; // (undocumented) @@ -1459,7 +1458,7 @@ export class TemplateBodyContext extends ParserRuleContext_2 { // (undocumented) exitRule(listener: LGFileParserListener): void; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) templateBodyLine(): TemplateBodyLineContext[]; // (undocumented) @@ -1492,7 +1491,7 @@ export class TemplateBodyLineContext extends ParserRuleContext_2 { // (undocumented) NEWLINE(): TerminalNode | undefined; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) TEMPLATE_BODY(): TerminalNode | undefined; } @@ -1511,7 +1510,7 @@ export class TemplateContext extends ParserRuleContext_2 { // (undocumented) exitRule(listener: LGTemplateParserListener): void; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; } // @public (undocumented) @@ -1524,7 +1523,7 @@ export class TemplateDefinitionContext extends ParserRuleContext_2 { // (undocumented) exitRule(listener: LGFileParserListener): void; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) templateBody(): TemplateBodyContext; // (undocumented) @@ -1660,7 +1659,7 @@ export class TemplateNameLineContext extends ParserRuleContext_2 { // (undocumented) NEWLINE(): TerminalNode | undefined; // (undocumented) - readonly ruleIndex: number; + get ruleIndex(): number; // (undocumented) TEMPLATE_NAME_LINE(): TerminalNode; } @@ -1670,8 +1669,8 @@ export class Templates implements Iterable