@fluidframework/devtools-core 2.70.0-360374 → 2.70.0-361092
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DevtoolsLogger.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/DevtoolsLogger.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/package.json +27 -27
- package/src/DevtoolsLogger.ts +1 -1
- package/src/packageVersion.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DevtoolsLogger.js","sourceRoot":"","sources":["../src/DevtoolsLogger.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAQH,mDAS8B;AAkB9B;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,cAAc;IAuDnB,aAAa;IAEb,YAAmB,UAAiC;QA7CpD;;WAEG;QACc,0BAAqB,GAA0B;YAC/D,OAAO,EAAE,qBAAqB;SAC9B,CAAC;QAEF;;WAEG;QACc,2BAAsB,GAAoB;YAC1D,CAAC,8BAAmB,CAAC,WAAW,CAAC,EAAE,KAAK,EAAE,cAAc,EAAE,EAAE;gBAC3D,IAAI,CAAC,cAAc,EAAE,CAAC;gBACtB,OAAO,IAAI,CAAC;YACb,CAAC;SACD,CAAC;QAEF;;WAEG;QACc,yBAAoB,GAAG,CACvC,KAA8C,EACvC,EAAE;YACT,IAAA,sCAA2B,EAC1B,KAAK,EACL,IAAI,CAAC,sBAAsB,EAC3B,IAAI,CAAC,qBAAqB,CAC1B,CAAC;QACH,CAAC,CAAC;QAEF;;;WAGG;QACc,mBAAc,GAAG,GAAS,EAAE;YAC5C,IAAA,+BAAoB,EACnB,IAAI,CAAC,qBAAqB,EAC1B,2BAAgB,CAAC,aAAa,CAAC;gBAC9B,QAAQ,EAAE,IAAI,CAAC,aAAa;aAC5B,CAAC,CACF,CAAC;QACH,CAAC,CAAC;QAKD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAE7B,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC;QAExB,sEAAsE;QACtE,UAAU,CAAC,gBAAgB,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC,oBAAoB,CAAC,CAAC;IACrE,CAAC;IAED;;;;OAIG;IACI,IAAI,CAAC,KAA0B;QACrC,+BAA+B;QAC/B,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;QAE7B,IAAI,CAAC;YACJ,MAAM,QAAQ,GAA+B;gBAC5C,UAAU,EAAE,KAAK;gBACjB,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;aACrB,CAAC;YAEF,0EAA0E;YAC1E,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;YAErC,0GAA0G;YAC1G,IAAA,+BAAoB,EACnB,SAAS,EACT,yBAAc,CAAC,aAAa,CAAC;gBAC5B,KAAK,EAAE,QAAQ;aACf,CAAC,CACF,CAAC;QACH,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YAChB,uFAAuF;YACvF,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACtB,CAAC;IACF,CAAC;CACD;AAED;;;;GAIG;AACH,SAAgB,oBAAoB,CAAC,UAAiC;IACrE,OAAO,IAAI,cAAc,CAAC,UAAU,CAAC,CAAC;AACvC,CAAC;AAFD,oDAEC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport type {\n\tITelemetryBaseEvent,\n\tITelemetryBaseLogger,\n} from \"@fluidframework/core-interfaces\";\n\nimport type { ITimestampedTelemetryEvent } from \"./TelemetryMetadata.js\";\nimport {\n\tGetTelemetryHistory,\n\ttype IDevtoolsMessage,\n\ttype InboundHandlers,\n\ttype MessageLoggingOptions,\n\tTelemetryEvent,\n\tTelemetryHistory,\n\thandleIncomingWindowMessage,\n\tpostMessagesToWindow,\n} from \"./messaging/index.js\";\n\n/**\n * Logger implementation that posts all telemetry events to the window (globalThis object).\n * This logger is intended to integrate with the Fluid DevTools browser extension.\n *\n * @remarks Note: external implementations of this interface are not supported.\n * An `IDevtoolsLogger` can be created via {@link createDevtoolsLogger} - this logger may then be provided to the Fluid\n * runtime to ensure telemetry messages are flowing to it.\n * If you wish to enable telemetry functionality in the devtools, you **must** pass this same logger back when\n * initializing the Devtools.\n *\n * @sealed\n * @beta\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-interface\nexport interface IDevtoolsLogger extends ITelemetryBaseLogger {}\n\n/**\n * Logger implementation that posts all telemetry events to the window (globalThis object).\n * This logger is intended to integrate with the Fluid DevTools browser extension.\n *\n * @remarks\n *\n * This logger optionally wraps a provided base logger, and forwards all events to that logger (in addition to posting\n * data to the window).\n *\n * **Messages it listens for:**\n *\n * - {@link GetTelemetryHistory.Message}: When received, the logger will broadcast {@link TelemetryHistory.Message}.\n *\n * TODO: Document others as they are added.\n *\n * **Messages it posts:**\n *\n * - {@link TelemetryHistory.Message}: This is posted when requested (via {@link GetTelemetryHistory.Message}).\n * - {@link TelemetryEvent.Message}: This is posted any time a telemetry event is logged.\n *\n * TODO: Document others as they are added.\n *\n * @sealed\n */\nclass DevtoolsLogger implements IDevtoolsLogger {\n\t/**\n\t * Base telemetry logger provided by the consumer.\n\t * All messages sent to the Devtools logger will be forwarded to this.\n\t */\n\tprivate readonly baseLogger: ITelemetryBaseLogger | undefined;\n\n\t/**\n\t * Accumulated data for Telemetry logs.\n\t */\n\tprivate readonly _telemetryLog: ITimestampedTelemetryEvent[];\n\n\t/**\n\t * Message logging options used by the logger.\n\t */\n\tprivate readonly messageLoggingOptions: MessageLoggingOptions = {\n\t\tcontext: `FluidDevtoolsLogger`,\n\t};\n\n\t/**\n\t * Handlers for inbound messages related to the logger.\n\t */\n\tprivate readonly inboundMessageHandlers: InboundHandlers = {\n\t\t[GetTelemetryHistory.MessageType]: async (untypedMessage) => {\n\t\t\tthis.postLogHistory();\n\t\t\treturn true;\n\t\t},\n\t};\n\n\t/**\n\t * Event handler for messages coming from the window (globalThis).\n\t */\n\tprivate readonly windowMessageHandler = (\n\t\tevent: MessageEvent<Partial<IDevtoolsMessage>>,\n\t): void => {\n\t\thandleIncomingWindowMessage(\n\t\t\tevent,\n\t\t\tthis.inboundMessageHandlers,\n\t\t\tthis.messageLoggingOptions,\n\t\t);\n\t};\n\n\t/**\n\t * Posts a {@link TelemetryHistory.Message} to the window (globalThis) containing the complete history of\n\t * telemetry events.\n\t */\n\tprivate readonly postLogHistory = (): void => {\n\t\tpostMessagesToWindow(\n\t\t\tthis.messageLoggingOptions,\n\t\t\tTelemetryHistory.createMessage({\n\t\t\t\tcontents: this._telemetryLog,\n\t\t\t}),\n\t\t);\n\t};\n\n\t// #endregion\n\n\tpublic constructor(baseLogger?: ITelemetryBaseLogger) {\n\t\tthis.baseLogger = baseLogger;\n\n\t\tthis._telemetryLog = [];\n\n\t\t// Register listener for inbound messages from the window (globalThis)\n\t\tglobalThis.addEventListener?.(\"message\", this.windowMessageHandler);\n\t}\n\n\t/**\n\t * Post a {@link TelemetryEvent.Message} to the window (globalThis) for the provided telemetry event.\n\t *\n\t * @param event - The telemetry event to send.\n\t */\n\tpublic send(event: ITelemetryBaseEvent): void {\n\t\t// Forward event to base logger\n\t\tthis.baseLogger?.send(event);\n\n\t\ttry {\n\t\t\tconst newEvent: ITimestampedTelemetryEvent = {\n\t\t\t\tlogContent: event,\n\t\t\t\ttimestamp: Date.now(),\n\t\t\t};\n\n\t\t\t// insert log into the beginning of the array to show the latest log first\n\t\t\tthis._telemetryLog.unshift(newEvent);\n\n\t\t\t// set log option to be undefined to avoid sending the log message to window console; these were too noisy\n\t\t\tpostMessagesToWindow(\n\t\t\t\tundefined,\n\t\t\t\tTelemetryEvent.createMessage({\n\t\t\t\t\tevent: newEvent,\n\t\t\t\t}),\n\t\t\t);\n\t\t} catch (error) {\n\t\t\t// Eat the error to ensure that Devtools logic doesn't crash the consuming application.\n\t\t\tconsole.error(error);\n\t\t}\n\t}\n}\n\n/**\n * Creates a new {@link IDevtoolsLogger} by wrapping the provided (optional) base logger.\n *\n * @beta\n */\nexport function createDevtoolsLogger(baseLogger?: ITelemetryBaseLogger): IDevtoolsLogger {\n\treturn new DevtoolsLogger(baseLogger);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"DevtoolsLogger.js","sourceRoot":"","sources":["../src/DevtoolsLogger.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAQH,mDAS8B;AAkB9B;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,cAAc;IAuDnB,aAAa;IAEb,YAAmB,UAAiC;QA7CpD;;WAEG;QACc,0BAAqB,GAA0B;YAC/D,OAAO,EAAE,qBAAqB;SAC9B,CAAC;QAEF;;WAEG;QACc,2BAAsB,GAAoB;YAC1D,CAAC,8BAAmB,CAAC,WAAW,CAAC,EAAE,KAAK,EAAE,cAAc,EAAE,EAAE;gBAC3D,IAAI,CAAC,cAAc,EAAE,CAAC;gBACtB,OAAO,IAAI,CAAC;YACb,CAAC;SACD,CAAC;QAEF;;WAEG;QACc,yBAAoB,GAAG,CACvC,KAA8C,EACvC,EAAE;YACT,IAAA,sCAA2B,EAC1B,KAAK,EACL,IAAI,CAAC,sBAAsB,EAC3B,IAAI,CAAC,qBAAqB,CAC1B,CAAC;QACH,CAAC,CAAC;QAEF;;;WAGG;QACc,mBAAc,GAAG,GAAS,EAAE;YAC5C,IAAA,+BAAoB,EACnB,IAAI,CAAC,qBAAqB,EAC1B,2BAAgB,CAAC,aAAa,CAAC;gBAC9B,QAAQ,EAAE,IAAI,CAAC,aAAa;aAC5B,CAAC,CACF,CAAC;QACH,CAAC,CAAC;QAKD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAE7B,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC;QAExB,sEAAsE;QACtE,UAAU,CAAC,gBAAgB,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC,oBAAoB,CAAC,CAAC;IACrE,CAAC;IAED;;;;OAIG;IACI,IAAI,CAAC,KAA0B;QACrC,+BAA+B;QAC/B,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;QAE7B,IAAI,CAAC;YACJ,MAAM,QAAQ,GAA+B;gBAC5C,UAAU,EAAE,KAAK;gBACjB,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;aACrB,CAAC;YAEF,0EAA0E;YAC1E,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;YAErC,0GAA0G;YAC1G,IAAA,+BAAoB,EACnB,SAAS,EACT,yBAAc,CAAC,aAAa,CAAC;gBAC5B,KAAK,EAAE,QAAQ;aACf,CAAC,CACF,CAAC;QACH,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YAChB,uFAAuF;YACvF,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACtB,CAAC;IACF,CAAC;CACD;AAED;;;;GAIG;AACH,SAAgB,oBAAoB,CAAC,UAAiC;IACrE,OAAO,IAAI,cAAc,CAAC,UAAU,CAAC,CAAC;AACvC,CAAC;AAFD,oDAEC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport type {\n\tITelemetryBaseEvent,\n\tITelemetryBaseLogger,\n} from \"@fluidframework/core-interfaces\";\n\nimport type { ITimestampedTelemetryEvent } from \"./TelemetryMetadata.js\";\nimport {\n\tGetTelemetryHistory,\n\ttype IDevtoolsMessage,\n\ttype InboundHandlers,\n\ttype MessageLoggingOptions,\n\tTelemetryEvent,\n\tTelemetryHistory,\n\thandleIncomingWindowMessage,\n\tpostMessagesToWindow,\n} from \"./messaging/index.js\";\n\n/**\n * Logger implementation that posts all telemetry events to the window (globalThis object).\n * This logger is intended to integrate with the Fluid DevTools browser extension.\n *\n * @remarks Note: external implementations of this interface are not supported.\n * An `IDevtoolsLogger` can be created via {@link createDevtoolsLogger} - this logger may then be provided to the Fluid\n * runtime to ensure telemetry messages are flowing to it.\n * If you wish to enable telemetry functionality in the devtools, you **must** pass this same logger back when\n * initializing the Devtools.\n *\n * @sealed\n * @beta\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type, @typescript-eslint/no-empty-interface\nexport interface IDevtoolsLogger extends ITelemetryBaseLogger {}\n\n/**\n * Logger implementation that posts all telemetry events to the window (globalThis object).\n * This logger is intended to integrate with the Fluid DevTools browser extension.\n *\n * @remarks\n *\n * This logger optionally wraps a provided base logger, and forwards all events to that logger (in addition to posting\n * data to the window).\n *\n * **Messages it listens for:**\n *\n * - {@link GetTelemetryHistory.Message}: When received, the logger will broadcast {@link TelemetryHistory.Message}.\n *\n * TODO: Document others as they are added.\n *\n * **Messages it posts:**\n *\n * - {@link TelemetryHistory.Message}: This is posted when requested (via {@link GetTelemetryHistory.Message}).\n * - {@link TelemetryEvent.Message}: This is posted any time a telemetry event is logged.\n *\n * TODO: Document others as they are added.\n *\n * @sealed\n */\nclass DevtoolsLogger implements IDevtoolsLogger {\n\t/**\n\t * Base telemetry logger provided by the consumer.\n\t * All messages sent to the Devtools logger will be forwarded to this.\n\t */\n\tprivate readonly baseLogger: ITelemetryBaseLogger | undefined;\n\n\t/**\n\t * Accumulated data for Telemetry logs.\n\t */\n\tprivate readonly _telemetryLog: ITimestampedTelemetryEvent[];\n\n\t/**\n\t * Message logging options used by the logger.\n\t */\n\tprivate readonly messageLoggingOptions: MessageLoggingOptions = {\n\t\tcontext: `FluidDevtoolsLogger`,\n\t};\n\n\t/**\n\t * Handlers for inbound messages related to the logger.\n\t */\n\tprivate readonly inboundMessageHandlers: InboundHandlers = {\n\t\t[GetTelemetryHistory.MessageType]: async (untypedMessage) => {\n\t\t\tthis.postLogHistory();\n\t\t\treturn true;\n\t\t},\n\t};\n\n\t/**\n\t * Event handler for messages coming from the window (globalThis).\n\t */\n\tprivate readonly windowMessageHandler = (\n\t\tevent: MessageEvent<Partial<IDevtoolsMessage>>,\n\t): void => {\n\t\thandleIncomingWindowMessage(\n\t\t\tevent,\n\t\t\tthis.inboundMessageHandlers,\n\t\t\tthis.messageLoggingOptions,\n\t\t);\n\t};\n\n\t/**\n\t * Posts a {@link TelemetryHistory.Message} to the window (globalThis) containing the complete history of\n\t * telemetry events.\n\t */\n\tprivate readonly postLogHistory = (): void => {\n\t\tpostMessagesToWindow(\n\t\t\tthis.messageLoggingOptions,\n\t\t\tTelemetryHistory.createMessage({\n\t\t\t\tcontents: this._telemetryLog,\n\t\t\t}),\n\t\t);\n\t};\n\n\t// #endregion\n\n\tpublic constructor(baseLogger?: ITelemetryBaseLogger) {\n\t\tthis.baseLogger = baseLogger;\n\n\t\tthis._telemetryLog = [];\n\n\t\t// Register listener for inbound messages from the window (globalThis)\n\t\tglobalThis.addEventListener?.(\"message\", this.windowMessageHandler);\n\t}\n\n\t/**\n\t * Post a {@link TelemetryEvent.Message} to the window (globalThis) for the provided telemetry event.\n\t *\n\t * @param event - The telemetry event to send.\n\t */\n\tpublic send(event: ITelemetryBaseEvent): void {\n\t\t// Forward event to base logger\n\t\tthis.baseLogger?.send(event);\n\n\t\ttry {\n\t\t\tconst newEvent: ITimestampedTelemetryEvent = {\n\t\t\t\tlogContent: event,\n\t\t\t\ttimestamp: Date.now(),\n\t\t\t};\n\n\t\t\t// insert log into the beginning of the array to show the latest log first\n\t\t\tthis._telemetryLog.unshift(newEvent);\n\n\t\t\t// set log option to be undefined to avoid sending the log message to window console; these were too noisy\n\t\t\tpostMessagesToWindow(\n\t\t\t\tundefined,\n\t\t\t\tTelemetryEvent.createMessage({\n\t\t\t\t\tevent: newEvent,\n\t\t\t\t}),\n\t\t\t);\n\t\t} catch (error) {\n\t\t\t// Eat the error to ensure that Devtools logic doesn't crash the consuming application.\n\t\t\tconsole.error(error);\n\t\t}\n\t}\n}\n\n/**\n * Creates a new {@link IDevtoolsLogger} by wrapping the provided (optional) base logger.\n *\n * @beta\n */\nexport function createDevtoolsLogger(baseLogger?: ITelemetryBaseLogger): IDevtoolsLogger {\n\treturn new DevtoolsLogger(baseLogger);\n}\n"]}
|
package/dist/packageVersion.d.ts
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
|
|
6
6
|
*/
|
|
7
7
|
export declare const pkgName = "@fluidframework/devtools-core";
|
|
8
|
-
export declare const pkgVersion = "2.70.0-
|
|
8
|
+
export declare const pkgVersion = "2.70.0-361092";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
package/dist/packageVersion.js
CHANGED
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.pkgVersion = exports.pkgName = void 0;
|
|
10
10
|
exports.pkgName = "@fluidframework/devtools-core";
|
|
11
|
-
exports.pkgVersion = "2.70.0-
|
|
11
|
+
exports.pkgVersion = "2.70.0-361092";
|
|
12
12
|
//# sourceMappingURL=packageVersion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,+BAA+B,CAAC;AAC1C,QAAA,UAAU,GAAG,eAAe,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/devtools-core\";\nexport const pkgVersion = \"2.70.0-
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,+BAA+B,CAAC;AAC1C,QAAA,UAAU,GAAG,eAAe,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/devtools-core\";\nexport const pkgVersion = \"2.70.0-361092\";\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DevtoolsLogger.js","sourceRoot":"","sources":["../src/DevtoolsLogger.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAQH,OAAO,EACN,mBAAmB,EAInB,cAAc,EACd,gBAAgB,EAChB,2BAA2B,EAC3B,oBAAoB,GACpB,MAAM,sBAAsB,CAAC;AAkB9B;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,cAAc;IAuDnB,aAAa;IAEb,YAAmB,UAAiC;QA7CpD;;WAEG;QACc,0BAAqB,GAA0B;YAC/D,OAAO,EAAE,qBAAqB;SAC9B,CAAC;QAEF;;WAEG;QACc,2BAAsB,GAAoB;YAC1D,CAAC,mBAAmB,CAAC,WAAW,CAAC,EAAE,KAAK,EAAE,cAAc,EAAE,EAAE;gBAC3D,IAAI,CAAC,cAAc,EAAE,CAAC;gBACtB,OAAO,IAAI,CAAC;YACb,CAAC;SACD,CAAC;QAEF;;WAEG;QACc,yBAAoB,GAAG,CACvC,KAA8C,EACvC,EAAE;YACT,2BAA2B,CAC1B,KAAK,EACL,IAAI,CAAC,sBAAsB,EAC3B,IAAI,CAAC,qBAAqB,CAC1B,CAAC;QACH,CAAC,CAAC;QAEF;;;WAGG;QACc,mBAAc,GAAG,GAAS,EAAE;YAC5C,oBAAoB,CACnB,IAAI,CAAC,qBAAqB,EAC1B,gBAAgB,CAAC,aAAa,CAAC;gBAC9B,QAAQ,EAAE,IAAI,CAAC,aAAa;aAC5B,CAAC,CACF,CAAC;QACH,CAAC,CAAC;QAKD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAE7B,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC;QAExB,sEAAsE;QACtE,UAAU,CAAC,gBAAgB,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC,oBAAoB,CAAC,CAAC;IACrE,CAAC;IAED;;;;OAIG;IACI,IAAI,CAAC,KAA0B;QACrC,+BAA+B;QAC/B,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;QAE7B,IAAI,CAAC;YACJ,MAAM,QAAQ,GAA+B;gBAC5C,UAAU,EAAE,KAAK;gBACjB,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;aACrB,CAAC;YAEF,0EAA0E;YAC1E,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;YAErC,0GAA0G;YAC1G,oBAAoB,CACnB,SAAS,EACT,cAAc,CAAC,aAAa,CAAC;gBAC5B,KAAK,EAAE,QAAQ;aACf,CAAC,CACF,CAAC;QACH,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YAChB,uFAAuF;YACvF,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACtB,CAAC;IACF,CAAC;CACD;AAED;;;;GAIG;AACH,MAAM,UAAU,oBAAoB,CAAC,UAAiC;IACrE,OAAO,IAAI,cAAc,CAAC,UAAU,CAAC,CAAC;AACvC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport type {\n\tITelemetryBaseEvent,\n\tITelemetryBaseLogger,\n} from \"@fluidframework/core-interfaces\";\n\nimport type { ITimestampedTelemetryEvent } from \"./TelemetryMetadata.js\";\nimport {\n\tGetTelemetryHistory,\n\ttype IDevtoolsMessage,\n\ttype InboundHandlers,\n\ttype MessageLoggingOptions,\n\tTelemetryEvent,\n\tTelemetryHistory,\n\thandleIncomingWindowMessage,\n\tpostMessagesToWindow,\n} from \"./messaging/index.js\";\n\n/**\n * Logger implementation that posts all telemetry events to the window (globalThis object).\n * This logger is intended to integrate with the Fluid DevTools browser extension.\n *\n * @remarks Note: external implementations of this interface are not supported.\n * An `IDevtoolsLogger` can be created via {@link createDevtoolsLogger} - this logger may then be provided to the Fluid\n * runtime to ensure telemetry messages are flowing to it.\n * If you wish to enable telemetry functionality in the devtools, you **must** pass this same logger back when\n * initializing the Devtools.\n *\n * @sealed\n * @beta\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-interface\nexport interface IDevtoolsLogger extends ITelemetryBaseLogger {}\n\n/**\n * Logger implementation that posts all telemetry events to the window (globalThis object).\n * This logger is intended to integrate with the Fluid DevTools browser extension.\n *\n * @remarks\n *\n * This logger optionally wraps a provided base logger, and forwards all events to that logger (in addition to posting\n * data to the window).\n *\n * **Messages it listens for:**\n *\n * - {@link GetTelemetryHistory.Message}: When received, the logger will broadcast {@link TelemetryHistory.Message}.\n *\n * TODO: Document others as they are added.\n *\n * **Messages it posts:**\n *\n * - {@link TelemetryHistory.Message}: This is posted when requested (via {@link GetTelemetryHistory.Message}).\n * - {@link TelemetryEvent.Message}: This is posted any time a telemetry event is logged.\n *\n * TODO: Document others as they are added.\n *\n * @sealed\n */\nclass DevtoolsLogger implements IDevtoolsLogger {\n\t/**\n\t * Base telemetry logger provided by the consumer.\n\t * All messages sent to the Devtools logger will be forwarded to this.\n\t */\n\tprivate readonly baseLogger: ITelemetryBaseLogger | undefined;\n\n\t/**\n\t * Accumulated data for Telemetry logs.\n\t */\n\tprivate readonly _telemetryLog: ITimestampedTelemetryEvent[];\n\n\t/**\n\t * Message logging options used by the logger.\n\t */\n\tprivate readonly messageLoggingOptions: MessageLoggingOptions = {\n\t\tcontext: `FluidDevtoolsLogger`,\n\t};\n\n\t/**\n\t * Handlers for inbound messages related to the logger.\n\t */\n\tprivate readonly inboundMessageHandlers: InboundHandlers = {\n\t\t[GetTelemetryHistory.MessageType]: async (untypedMessage) => {\n\t\t\tthis.postLogHistory();\n\t\t\treturn true;\n\t\t},\n\t};\n\n\t/**\n\t * Event handler for messages coming from the window (globalThis).\n\t */\n\tprivate readonly windowMessageHandler = (\n\t\tevent: MessageEvent<Partial<IDevtoolsMessage>>,\n\t): void => {\n\t\thandleIncomingWindowMessage(\n\t\t\tevent,\n\t\t\tthis.inboundMessageHandlers,\n\t\t\tthis.messageLoggingOptions,\n\t\t);\n\t};\n\n\t/**\n\t * Posts a {@link TelemetryHistory.Message} to the window (globalThis) containing the complete history of\n\t * telemetry events.\n\t */\n\tprivate readonly postLogHistory = (): void => {\n\t\tpostMessagesToWindow(\n\t\t\tthis.messageLoggingOptions,\n\t\t\tTelemetryHistory.createMessage({\n\t\t\t\tcontents: this._telemetryLog,\n\t\t\t}),\n\t\t);\n\t};\n\n\t// #endregion\n\n\tpublic constructor(baseLogger?: ITelemetryBaseLogger) {\n\t\tthis.baseLogger = baseLogger;\n\n\t\tthis._telemetryLog = [];\n\n\t\t// Register listener for inbound messages from the window (globalThis)\n\t\tglobalThis.addEventListener?.(\"message\", this.windowMessageHandler);\n\t}\n\n\t/**\n\t * Post a {@link TelemetryEvent.Message} to the window (globalThis) for the provided telemetry event.\n\t *\n\t * @param event - The telemetry event to send.\n\t */\n\tpublic send(event: ITelemetryBaseEvent): void {\n\t\t// Forward event to base logger\n\t\tthis.baseLogger?.send(event);\n\n\t\ttry {\n\t\t\tconst newEvent: ITimestampedTelemetryEvent = {\n\t\t\t\tlogContent: event,\n\t\t\t\ttimestamp: Date.now(),\n\t\t\t};\n\n\t\t\t// insert log into the beginning of the array to show the latest log first\n\t\t\tthis._telemetryLog.unshift(newEvent);\n\n\t\t\t// set log option to be undefined to avoid sending the log message to window console; these were too noisy\n\t\t\tpostMessagesToWindow(\n\t\t\t\tundefined,\n\t\t\t\tTelemetryEvent.createMessage({\n\t\t\t\t\tevent: newEvent,\n\t\t\t\t}),\n\t\t\t);\n\t\t} catch (error) {\n\t\t\t// Eat the error to ensure that Devtools logic doesn't crash the consuming application.\n\t\t\tconsole.error(error);\n\t\t}\n\t}\n}\n\n/**\n * Creates a new {@link IDevtoolsLogger} by wrapping the provided (optional) base logger.\n *\n * @beta\n */\nexport function createDevtoolsLogger(baseLogger?: ITelemetryBaseLogger): IDevtoolsLogger {\n\treturn new DevtoolsLogger(baseLogger);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"DevtoolsLogger.js","sourceRoot":"","sources":["../src/DevtoolsLogger.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAQH,OAAO,EACN,mBAAmB,EAInB,cAAc,EACd,gBAAgB,EAChB,2BAA2B,EAC3B,oBAAoB,GACpB,MAAM,sBAAsB,CAAC;AAkB9B;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,cAAc;IAuDnB,aAAa;IAEb,YAAmB,UAAiC;QA7CpD;;WAEG;QACc,0BAAqB,GAA0B;YAC/D,OAAO,EAAE,qBAAqB;SAC9B,CAAC;QAEF;;WAEG;QACc,2BAAsB,GAAoB;YAC1D,CAAC,mBAAmB,CAAC,WAAW,CAAC,EAAE,KAAK,EAAE,cAAc,EAAE,EAAE;gBAC3D,IAAI,CAAC,cAAc,EAAE,CAAC;gBACtB,OAAO,IAAI,CAAC;YACb,CAAC;SACD,CAAC;QAEF;;WAEG;QACc,yBAAoB,GAAG,CACvC,KAA8C,EACvC,EAAE;YACT,2BAA2B,CAC1B,KAAK,EACL,IAAI,CAAC,sBAAsB,EAC3B,IAAI,CAAC,qBAAqB,CAC1B,CAAC;QACH,CAAC,CAAC;QAEF;;;WAGG;QACc,mBAAc,GAAG,GAAS,EAAE;YAC5C,oBAAoB,CACnB,IAAI,CAAC,qBAAqB,EAC1B,gBAAgB,CAAC,aAAa,CAAC;gBAC9B,QAAQ,EAAE,IAAI,CAAC,aAAa;aAC5B,CAAC,CACF,CAAC;QACH,CAAC,CAAC;QAKD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAE7B,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC;QAExB,sEAAsE;QACtE,UAAU,CAAC,gBAAgB,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC,oBAAoB,CAAC,CAAC;IACrE,CAAC;IAED;;;;OAIG;IACI,IAAI,CAAC,KAA0B;QACrC,+BAA+B;QAC/B,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;QAE7B,IAAI,CAAC;YACJ,MAAM,QAAQ,GAA+B;gBAC5C,UAAU,EAAE,KAAK;gBACjB,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;aACrB,CAAC;YAEF,0EAA0E;YAC1E,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;YAErC,0GAA0G;YAC1G,oBAAoB,CACnB,SAAS,EACT,cAAc,CAAC,aAAa,CAAC;gBAC5B,KAAK,EAAE,QAAQ;aACf,CAAC,CACF,CAAC;QACH,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YAChB,uFAAuF;YACvF,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACtB,CAAC;IACF,CAAC;CACD;AAED;;;;GAIG;AACH,MAAM,UAAU,oBAAoB,CAAC,UAAiC;IACrE,OAAO,IAAI,cAAc,CAAC,UAAU,CAAC,CAAC;AACvC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport type {\n\tITelemetryBaseEvent,\n\tITelemetryBaseLogger,\n} from \"@fluidframework/core-interfaces\";\n\nimport type { ITimestampedTelemetryEvent } from \"./TelemetryMetadata.js\";\nimport {\n\tGetTelemetryHistory,\n\ttype IDevtoolsMessage,\n\ttype InboundHandlers,\n\ttype MessageLoggingOptions,\n\tTelemetryEvent,\n\tTelemetryHistory,\n\thandleIncomingWindowMessage,\n\tpostMessagesToWindow,\n} from \"./messaging/index.js\";\n\n/**\n * Logger implementation that posts all telemetry events to the window (globalThis object).\n * This logger is intended to integrate with the Fluid DevTools browser extension.\n *\n * @remarks Note: external implementations of this interface are not supported.\n * An `IDevtoolsLogger` can be created via {@link createDevtoolsLogger} - this logger may then be provided to the Fluid\n * runtime to ensure telemetry messages are flowing to it.\n * If you wish to enable telemetry functionality in the devtools, you **must** pass this same logger back when\n * initializing the Devtools.\n *\n * @sealed\n * @beta\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type, @typescript-eslint/no-empty-interface\nexport interface IDevtoolsLogger extends ITelemetryBaseLogger {}\n\n/**\n * Logger implementation that posts all telemetry events to the window (globalThis object).\n * This logger is intended to integrate with the Fluid DevTools browser extension.\n *\n * @remarks\n *\n * This logger optionally wraps a provided base logger, and forwards all events to that logger (in addition to posting\n * data to the window).\n *\n * **Messages it listens for:**\n *\n * - {@link GetTelemetryHistory.Message}: When received, the logger will broadcast {@link TelemetryHistory.Message}.\n *\n * TODO: Document others as they are added.\n *\n * **Messages it posts:**\n *\n * - {@link TelemetryHistory.Message}: This is posted when requested (via {@link GetTelemetryHistory.Message}).\n * - {@link TelemetryEvent.Message}: This is posted any time a telemetry event is logged.\n *\n * TODO: Document others as they are added.\n *\n * @sealed\n */\nclass DevtoolsLogger implements IDevtoolsLogger {\n\t/**\n\t * Base telemetry logger provided by the consumer.\n\t * All messages sent to the Devtools logger will be forwarded to this.\n\t */\n\tprivate readonly baseLogger: ITelemetryBaseLogger | undefined;\n\n\t/**\n\t * Accumulated data for Telemetry logs.\n\t */\n\tprivate readonly _telemetryLog: ITimestampedTelemetryEvent[];\n\n\t/**\n\t * Message logging options used by the logger.\n\t */\n\tprivate readonly messageLoggingOptions: MessageLoggingOptions = {\n\t\tcontext: `FluidDevtoolsLogger`,\n\t};\n\n\t/**\n\t * Handlers for inbound messages related to the logger.\n\t */\n\tprivate readonly inboundMessageHandlers: InboundHandlers = {\n\t\t[GetTelemetryHistory.MessageType]: async (untypedMessage) => {\n\t\t\tthis.postLogHistory();\n\t\t\treturn true;\n\t\t},\n\t};\n\n\t/**\n\t * Event handler for messages coming from the window (globalThis).\n\t */\n\tprivate readonly windowMessageHandler = (\n\t\tevent: MessageEvent<Partial<IDevtoolsMessage>>,\n\t): void => {\n\t\thandleIncomingWindowMessage(\n\t\t\tevent,\n\t\t\tthis.inboundMessageHandlers,\n\t\t\tthis.messageLoggingOptions,\n\t\t);\n\t};\n\n\t/**\n\t * Posts a {@link TelemetryHistory.Message} to the window (globalThis) containing the complete history of\n\t * telemetry events.\n\t */\n\tprivate readonly postLogHistory = (): void => {\n\t\tpostMessagesToWindow(\n\t\t\tthis.messageLoggingOptions,\n\t\t\tTelemetryHistory.createMessage({\n\t\t\t\tcontents: this._telemetryLog,\n\t\t\t}),\n\t\t);\n\t};\n\n\t// #endregion\n\n\tpublic constructor(baseLogger?: ITelemetryBaseLogger) {\n\t\tthis.baseLogger = baseLogger;\n\n\t\tthis._telemetryLog = [];\n\n\t\t// Register listener for inbound messages from the window (globalThis)\n\t\tglobalThis.addEventListener?.(\"message\", this.windowMessageHandler);\n\t}\n\n\t/**\n\t * Post a {@link TelemetryEvent.Message} to the window (globalThis) for the provided telemetry event.\n\t *\n\t * @param event - The telemetry event to send.\n\t */\n\tpublic send(event: ITelemetryBaseEvent): void {\n\t\t// Forward event to base logger\n\t\tthis.baseLogger?.send(event);\n\n\t\ttry {\n\t\t\tconst newEvent: ITimestampedTelemetryEvent = {\n\t\t\t\tlogContent: event,\n\t\t\t\ttimestamp: Date.now(),\n\t\t\t};\n\n\t\t\t// insert log into the beginning of the array to show the latest log first\n\t\t\tthis._telemetryLog.unshift(newEvent);\n\n\t\t\t// set log option to be undefined to avoid sending the log message to window console; these were too noisy\n\t\t\tpostMessagesToWindow(\n\t\t\t\tundefined,\n\t\t\t\tTelemetryEvent.createMessage({\n\t\t\t\t\tevent: newEvent,\n\t\t\t\t}),\n\t\t\t);\n\t\t} catch (error) {\n\t\t\t// Eat the error to ensure that Devtools logic doesn't crash the consuming application.\n\t\t\tconsole.error(error);\n\t\t}\n\t}\n}\n\n/**\n * Creates a new {@link IDevtoolsLogger} by wrapping the provided (optional) base logger.\n *\n * @beta\n */\nexport function createDevtoolsLogger(baseLogger?: ITelemetryBaseLogger): IDevtoolsLogger {\n\treturn new DevtoolsLogger(baseLogger);\n}\n"]}
|
package/lib/packageVersion.d.ts
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
|
|
6
6
|
*/
|
|
7
7
|
export declare const pkgName = "@fluidframework/devtools-core";
|
|
8
|
-
export declare const pkgVersion = "2.70.0-
|
|
8
|
+
export declare const pkgVersion = "2.70.0-361092";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
package/lib/packageVersion.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,+BAA+B,CAAC;AACvD,MAAM,CAAC,MAAM,UAAU,GAAG,eAAe,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/devtools-core\";\nexport const pkgVersion = \"2.70.0-
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,+BAA+B,CAAC;AACvD,MAAM,CAAC,MAAM,UAAU,GAAG,eAAe,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/devtools-core\";\nexport const pkgVersion = \"2.70.0-361092\";\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/devtools-core",
|
|
3
|
-
"version": "2.70.0-
|
|
3
|
+
"version": "2.70.0-361092",
|
|
4
4
|
"description": "Fluid Framework developer tools core functionality",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -67,37 +67,37 @@
|
|
|
67
67
|
"temp-directory": "nyc/.nyc_output"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@fluid-internal/client-utils": "2.70.0-
|
|
71
|
-
"@fluidframework/aqueduct": "2.70.0-
|
|
72
|
-
"@fluidframework/cell": "2.70.0-
|
|
73
|
-
"@fluidframework/container-definitions": "2.70.0-
|
|
74
|
-
"@fluidframework/container-loader": "2.70.0-
|
|
75
|
-
"@fluidframework/container-runtime": "2.70.0-
|
|
76
|
-
"@fluidframework/container-runtime-definitions": "2.70.0-
|
|
77
|
-
"@fluidframework/core-interfaces": "2.70.0-
|
|
78
|
-
"@fluidframework/core-utils": "2.70.0-
|
|
79
|
-
"@fluidframework/counter": "2.70.0-
|
|
80
|
-
"@fluidframework/datastore-definitions": "2.70.0-
|
|
81
|
-
"@fluidframework/driver-definitions": "2.70.0-
|
|
82
|
-
"@fluidframework/map": "2.70.0-
|
|
83
|
-
"@fluidframework/matrix": "2.70.0-
|
|
84
|
-
"@fluidframework/runtime-definitions": "2.70.0-
|
|
85
|
-
"@fluidframework/sequence": "2.70.0-
|
|
86
|
-
"@fluidframework/shared-object-base": "2.70.0-
|
|
87
|
-
"@fluidframework/telemetry-utils": "2.70.0-
|
|
88
|
-
"@fluidframework/tree": "2.70.0-
|
|
70
|
+
"@fluid-internal/client-utils": "2.70.0-361092",
|
|
71
|
+
"@fluidframework/aqueduct": "2.70.0-361092",
|
|
72
|
+
"@fluidframework/cell": "2.70.0-361092",
|
|
73
|
+
"@fluidframework/container-definitions": "2.70.0-361092",
|
|
74
|
+
"@fluidframework/container-loader": "2.70.0-361092",
|
|
75
|
+
"@fluidframework/container-runtime": "2.70.0-361092",
|
|
76
|
+
"@fluidframework/container-runtime-definitions": "2.70.0-361092",
|
|
77
|
+
"@fluidframework/core-interfaces": "2.70.0-361092",
|
|
78
|
+
"@fluidframework/core-utils": "2.70.0-361092",
|
|
79
|
+
"@fluidframework/counter": "2.70.0-361092",
|
|
80
|
+
"@fluidframework/datastore-definitions": "2.70.0-361092",
|
|
81
|
+
"@fluidframework/driver-definitions": "2.70.0-361092",
|
|
82
|
+
"@fluidframework/map": "2.70.0-361092",
|
|
83
|
+
"@fluidframework/matrix": "2.70.0-361092",
|
|
84
|
+
"@fluidframework/runtime-definitions": "2.70.0-361092",
|
|
85
|
+
"@fluidframework/sequence": "2.70.0-361092",
|
|
86
|
+
"@fluidframework/shared-object-base": "2.70.0-361092",
|
|
87
|
+
"@fluidframework/telemetry-utils": "2.70.0-361092",
|
|
88
|
+
"@fluidframework/tree": "2.70.0-361092"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
91
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
92
92
|
"@biomejs/biome": "~1.9.3",
|
|
93
|
-
"@fluid-internal/mocha-test-setup": "2.70.0-
|
|
93
|
+
"@fluid-internal/mocha-test-setup": "2.70.0-361092",
|
|
94
94
|
"@fluid-tools/build-cli": "^0.58.3",
|
|
95
95
|
"@fluidframework/build-common": "^2.0.3",
|
|
96
96
|
"@fluidframework/build-tools": "^0.58.3",
|
|
97
|
-
"@fluidframework/devtools-core-previous": "npm:@fluidframework/devtools-core@2.
|
|
98
|
-
"@fluidframework/eslint-config-fluid": "^6.
|
|
99
|
-
"@fluidframework/id-compressor": "2.70.0-
|
|
100
|
-
"@fluidframework/test-runtime-utils": "2.70.0-
|
|
97
|
+
"@fluidframework/devtools-core-previous": "npm:@fluidframework/devtools-core@2.63.0",
|
|
98
|
+
"@fluidframework/eslint-config-fluid": "^6.1.0",
|
|
99
|
+
"@fluidframework/id-compressor": "2.70.0-361092",
|
|
100
|
+
"@fluidframework/test-runtime-utils": "2.70.0-361092",
|
|
101
101
|
"@microsoft/api-extractor": "7.52.11",
|
|
102
102
|
"@types/chai": "^4.0.0",
|
|
103
103
|
"@types/mocha": "^10.0.10",
|
|
@@ -106,8 +106,8 @@
|
|
|
106
106
|
"concurrently": "^8.2.1",
|
|
107
107
|
"copyfiles": "^2.4.1",
|
|
108
108
|
"cross-env": "^7.0.3",
|
|
109
|
-
"eslint": "~8.
|
|
110
|
-
"eslint-config-prettier": "~
|
|
109
|
+
"eslint": "~8.57.1",
|
|
110
|
+
"eslint-config-prettier": "~10.1.8",
|
|
111
111
|
"eslint-plugin-chai-expect": "~3.0.0",
|
|
112
112
|
"mocha": "^10.8.2",
|
|
113
113
|
"mocha-multi-reporters": "^1.5.1",
|
package/src/DevtoolsLogger.ts
CHANGED
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
* @sealed
|
|
34
34
|
* @beta
|
|
35
35
|
*/
|
|
36
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
36
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type, @typescript-eslint/no-empty-interface
|
|
37
37
|
export interface IDevtoolsLogger extends ITelemetryBaseLogger {}
|
|
38
38
|
|
|
39
39
|
/**
|
package/src/packageVersion.ts
CHANGED