@fluidframework/common-utils
Advanced tools
Comparing version 3.0.0 to 3.1.0
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", | ||
"extends": "@fluidframework/build-common/api-extractor-common-strict.json", | ||
"apiReport": { | ||
"enabled": true, | ||
"reportFolder": "<projectFolder>/api-report/" | ||
}, | ||
"docModel": { | ||
"enabled": true, | ||
"apiJsonFilePath": "<projectFolder>/_api-extractor-temp/doc-models/<unscopedPackageName>.api.json" | ||
} | ||
"extends": "../../build/build-common/api-extractor-base.json" | ||
} |
@@ -20,6 +20,6 @@ ## API Report File for "@fluidframework/common-utils" | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export function assert(condition: boolean, message: string | number): asserts condition; | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export class BaseTelemetryNullLogger implements ITelemetryBaseLogger { | ||
@@ -29,3 +29,3 @@ send(event: ITelemetryBaseEvent): void; | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export class Buffer extends Uint8Array { | ||
@@ -40,6 +40,6 @@ // (undocumented) | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export const bufferToString: (blob: ArrayBufferLike, encoding: string) => string; | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export class Deferred<T> { | ||
@@ -53,9 +53,9 @@ constructor(); | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export const delay: (timeMs: number) => Promise<void>; | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export function doIfNotDisposed<T>(disposable: IDisposable, f: (...args: any[]) => T): (...args: any[]) => T; | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export type EventEmitterEventType = EventEmitter extends { | ||
@@ -65,3 +65,3 @@ on(event: infer E, listener: any): any; | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export class EventForwarder<TEvent = IEvent> extends TypedEventEmitter<TEvent> implements IDisposable { | ||
@@ -81,15 +81,15 @@ constructor(source?: EventEmitter | IEventProvider<TEvent & IEvent>); | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export const fromBase64ToUtf8: (input: string) => string; | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export const fromUtf8ToBase64: (input: string) => string; | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export function gitHashFile(file: IsoBuffer): Promise<string>; | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export function hashFile(file: IsoBuffer, algorithm?: "SHA-1" | "SHA-256", hashEncoding?: "hex" | "base64"): Promise<string>; | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export class Heap<T> { | ||
@@ -107,3 +107,3 @@ constructor(comp: IComparer<T>); | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export interface IComparer<T> { | ||
@@ -114,3 +114,3 @@ compare(a: T, b: T): number; | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export interface IHeapNode<T> { | ||
@@ -123,3 +123,3 @@ // (undocumented) | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export interface IPromiseTimer extends ITimer { | ||
@@ -129,3 +129,3 @@ start(): Promise<IPromiseTimerResult>; | ||
// @public @deprecated (undocumented) | ||
// @internal @deprecated (undocumented) | ||
export interface IPromiseTimerResult { | ||
@@ -136,3 +136,3 @@ // (undocumented) | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export interface IRange { | ||
@@ -147,3 +147,3 @@ // (undocumented) | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export interface IRangeTrackerSnapshot { | ||
@@ -158,12 +158,12 @@ // (undocumented) | ||
// @public @deprecated (undocumented) | ||
// @internal @deprecated (undocumented) | ||
export const IsoBuffer: typeof Buffer; | ||
// @public @deprecated (undocumented) | ||
// @internal @deprecated (undocumented) | ||
export type IsoBuffer = Buffer; | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export type IsomorphicPerformance = Partial<Performance> & Pick<Performance, "clearMarks" | "mark" | "measure" | "now">; | ||
// @public @deprecated (undocumented) | ||
// @internal @deprecated (undocumented) | ||
export interface ITimer { | ||
@@ -175,3 +175,3 @@ clear(): void; | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export interface ITraceEvent { | ||
@@ -183,3 +183,3 @@ readonly duration: number; | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export class Lazy<T> { | ||
@@ -191,3 +191,3 @@ constructor(valueGenerator: () => T); | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export class LazyPromise<T> implements Promise<T> { | ||
@@ -205,10 +205,10 @@ // (undocumented) | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export const NumberComparer: IComparer<number>; | ||
// @public @deprecated (undocumented) | ||
// @internal @deprecated (undocumented) | ||
const performance_2: IsomorphicPerformance; | ||
export { performance_2 as performance } | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export class PromiseCache<TKey, TResult> { | ||
@@ -225,3 +225,3 @@ constructor({ expiry, removeOnError, }?: PromiseCacheOptions); | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export type PromiseCacheExpiry = { | ||
@@ -234,3 +234,3 @@ policy: "indefinite"; | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export interface PromiseCacheOptions { | ||
@@ -241,3 +241,3 @@ expiry?: PromiseCacheExpiry; | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export class PromiseTimer implements IPromiseTimer { | ||
@@ -253,3 +253,3 @@ constructor(defaultTimeout: number, defaultHandler: () => void); | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export class RangeTracker { | ||
@@ -268,3 +268,3 @@ constructor(primary: IRangeTrackerSnapshot); | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export class RateLimiter { | ||
@@ -275,12 +275,12 @@ constructor(windowMSec: number); | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export function safelyParseJSON(json: string): any | undefined; | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export function setLongTimeout(timeoutFn: () => void, timeoutMs: number, setTimeoutIdFn?: (timeoutId: ReturnType<typeof setTimeout>) => void): ReturnType<typeof setTimeout>; | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export function stringToBuffer(input: string, encoding: string): ArrayBufferLike; | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export class TelemetryNullLogger implements ITelemetryLogger { | ||
@@ -297,3 +297,3 @@ // (undocumented) | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export class Timer implements ITimer { | ||
@@ -307,6 +307,6 @@ constructor(defaultTimeout: number, defaultHandler: () => void, getCurrentTick?: () => number); | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export const toUtf8: (input: string, encoding: string) => string; | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export class Trace { | ||
@@ -324,3 +324,3 @@ protected constructor(startTick: number); | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export class TypedEventEmitter<TEvent> extends EventEmitter implements IEventProvider<TEvent & IEvent> { | ||
@@ -344,14 +344,14 @@ constructor(); | ||
// @public @deprecated (undocumented) | ||
// @internal @deprecated (undocumented) | ||
export type TypedEventTransform<TThis, TEvent> = TransformedEvent<TThis, "newListener" | "removeListener", Parameters<(event: string, listener: (...args: any[]) => void) => void>> & IEventTransformer<TThis, TEvent & IEvent> & TransformedEvent<TThis, EventEmitterEventType, any[]>; | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export function Uint8ArrayToArrayBuffer(array: Uint8Array): ArrayBuffer; | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export function Uint8ArrayToString(arr: Uint8Array, encoding?: string): string; | ||
// @public @deprecated | ||
// @internal @deprecated | ||
export function unreachableCase(_: never, message?: string): never; | ||
``` |
# @fluidframework/common-utils Changelog | ||
## [3.1.0](https://github.com/microsoft/FluidFramework/releases/tag/common-utils_v3.1.0) | ||
### Updated @fluidframework/common-definitions | ||
The @fluidframework/common-definitions dependency has been upgraded to v1.1.0. | ||
[See the full changelog.](https://github.com/microsoft/FluidFramework/blob/main/common/lib/common-definitions/CHANGELOG.md#110) | ||
## [3.0.0](https://github.com/microsoft/FluidFramework/releases/tag/common-utils_v3.0.0) | ||
@@ -4,0 +11,0 @@ |
{"/mnt/vss/_work/1/s/common/lib/common-utils/src/bufferBrowser.ts": {"path":"/mnt/vss/_work/1/s/common/lib/common-utils/src/bufferBrowser.ts","statementMap":{"0":{"start":{"line":6,"column":0},"end":{"line":6,"column":38}},"1":{"start":{"line":20,"column":1},"end":{"line":32,"column":null}},"2":{"start":{"line":22,"column":3},"end":{"line":22,"column":38}},"3":{"start":{"line":27,"column":3},"end":{"line":27,"column":40}},"4":{"start":{"line":30,"column":3},"end":{"line":30,"column":51}},"5":{"start":{"line":19,"column":0},"end":{"line":19,"column":16}},"6":{"start":{"line":43,"column":30},"end":{"line":44,"column":39}},"7":{"start":{"line":44,"column":1},"end":{"line":44,"column":39}},"8":{"start":{"line":43,"column":13},"end":{"line":43,"column":30}},"9":{"start":{"line":55,"column":30},"end":{"line":56,"column":40}},"10":{"start":{"line":56,"column":1},"end":{"line":56,"column":40}},"11":{"start":{"line":55,"column":13},"end":{"line":55,"column":30}},"12":{"start":{"line":73,"column":15},"end":{"line":73,"column":78}},"13":{"start":{"line":74,"column":1},"end":{"line":82,"column":3}},"14":{"start":{"line":72,"column":0},"end":{"line":72,"column":16}},"15":{"start":{"line":99,"column":2},"end":{"line":99,"column":44}},"16":{"start":{"line":108,"column":2},"end":{"line":120,"column":null}},"17":{"start":{"line":109,"column":3},"end":{"line":109,"column":78}},"18":{"start":{"line":111,"column":9},"end":{"line":120,"column":null}},"19":{"start":{"line":115,"column":3},"end":{"line":115,"column":86}},"20":{"start":{"line":116,"column":9},"end":{"line":120,"column":null}},"21":{"start":{"line":117,"column":3},"end":{"line":117,"column":91}},"22":{"start":{"line":119,"column":3},"end":{"line":119,"column":25}},"23":{"start":{"line":128,"column":17},"end":{"line":128,"column":32}},"24":{"start":{"line":129,"column":22},"end":{"line":129,"column":67}},"25":{"start":{"line":130,"column":2},"end":{"line":137,"column":null}},"26":{"start":{"line":136,"column":3},"end":{"line":136,"column":26}},"27":{"start":{"line":139,"column":2},"end":{"line":139,"column":57}},"28":{"start":{"line":143,"column":2},"end":{"line":158,"column":null}},"29":{"start":{"line":145,"column":28},"end":{"line":145,"column":52}},"30":{"start":{"line":146,"column":20},"end":{"line":146,"column":57}},"31":{"start":{"line":147,"column":4},"end":{"line":147,"column":41}},"32":{"start":{"line":152,"column":20},"end":{"line":152,"column":49}},"33":{"start":{"line":153,"column":4},"end":{"line":153,"column":41}},"34":{"start":{"line":156,"column":4},"end":{"line":156,"column":52}},"35":{"start":{"line":162,"column":2},"end":{"line":162,"column":35}},"36":{"start":{"line":171,"column":21},"end":{"line":171,"column":24}},"37":{"start":{"line":174,"column":2},"end":{"line":174,"column":44}},"38":{"start":{"line":178,"column":2},"end":{"line":178,"column":55}},"39":{"start":{"line":182,"column":2},"end":{"line":185,"column":null}},"40":{"start":{"line":183,"column":24},"end":{"line":183,"column":46}},"41":{"start":{"line":184,"column":3},"end":{"line":184,"column":57}},"42":{"start":{"line":186,"column":2},"end":{"line":186,"column":22}},"43":{"start":{"line":90,"column":0},"end":{"line":90,"column":13}}},"fnMap":{"0":{"name":"Uint8ArrayToString","decl":{"start":{"line":19,"column":16},"end":{"line":19,"column":34}},"loc":{"start":{"line":19,"column":69},"end":{"line":33,"column":1}}},"1":{"name":"(anonymous_7)","decl":{"start":{"line":43,"column":30},"end":{"line":43,"column":31}},"loc":{"start":{"line":44,"column":1},"end":{"line":44,"column":39}}},"2":{"name":"(anonymous_8)","decl":{"start":{"line":55,"column":30},"end":{"line":55,"column":31}},"loc":{"start":{"line":56,"column":1},"end":{"line":56,"column":40}}},"3":{"name":"isArrayBuffer","decl":{"start":{"line":72,"column":16},"end":{"line":72,"column":29}},"loc":{"start":{"line":72,"column":38},"end":{"line":83,"column":1}}},"4":{"name":"(anonymous_10)","decl":{"start":{"line":98,"column":8},"end":{"line":98,"column":16}},"loc":{"start":{"line":98,"column":34},"end":{"line":100,"column":2}}},"5":{"name":"(anonymous_11)","decl":{"start":{"line":107,"column":1},"end":{"line":107,"column":7}},"loc":{"start":{"line":107,"column":46},"end":{"line":121,"column":2}}},"6":{"name":"(anonymous_12)","decl":{"start":{"line":123,"column":1},"end":{"line":123,"column":7}},"loc":{"start":{"line":126,"column":21},"end":{"line":140,"column":2}}},"7":{"name":"(anonymous_13)","decl":{"start":{"line":142,"column":1},"end":{"line":142,"column":7}},"loc":{"start":{"line":142,"column":49},"end":{"line":159,"column":2}}},"8":{"name":"(anonymous_14)","decl":{"start":{"line":161,"column":1},"end":{"line":161,"column":7}},"loc":{"start":{"line":161,"column":25},"end":{"line":163,"column":2}}},"9":{"name":"(anonymous_15)","decl":{"start":{"line":170,"column":9},"end":{"line":170,"column":15}},"loc":{"start":{"line":170,"column":42},"end":{"line":187,"column":2}}}},"branchMap":{"0":{"loc":{"start":{"line":20,"column":1},"end":{"line":32,"column":null}},"type":"switch","locations":[{"start":{"line":21,"column":2},"end":{"line":23,"column":null}},{"start":{"line":24,"column":2},"end":{"line":24,"column":14}},{"start":{"line":25,"column":2},"end":{"line":25,"column":15}},{"start":{"line":26,"column":2},"end":{"line":28,"column":null}},{"start":{"line":29,"column":2},"end":{"line":31,"column":null}}]},"1":{"loc":{"start":{"line":75,"column":2},"end":{"line":81,"column":30}},"type":"binary-expr","locations":[{"start":{"line":75,"column":2},"end":{"line":75,"column":28}},{"start":{"line":76,"column":3},"end":{"line":76,"column":28}},{"start":{"line":77,"column":3},"end":{"line":77,"column":17}},{"start":{"line":78,"column":3},"end":{"line":78,"column":39}},{"start":{"line":79,"column":3},"end":{"line":79,"column":36}},{"start":{"line":80,"column":3},"end":{"line":80,"column":33}},{"start":{"line":81,"column":3},"end":{"line":81,"column":29}}]},"2":{"loc":{"start":{"line":108,"column":2},"end":{"line":120,"column":null}},"type":"if","locations":[{"start":{"line":108,"column":2},"end":{"line":120,"column":null}},{"start":{"line":111,"column":9},"end":{"line":120,"column":null}}]},"3":{"loc":{"start":{"line":111,"column":9},"end":{"line":120,"column":null}},"type":"if","locations":[{"start":{"line":111,"column":9},"end":{"line":120,"column":null}},{"start":{"line":116,"column":9},"end":{"line":120,"column":null}}]},"4":{"loc":{"start":{"line":111,"column":13},"end":{"line":111,"column":87}},"type":"binary-expr","locations":[{"start":{"line":111,"column":13},"end":{"line":111,"column":27}},{"start":{"line":111,"column":31},"end":{"line":111,"column":56}},{"start":{"line":111,"column":60},"end":{"line":111,"column":87}}]},"5":{"loc":{"start":{"line":116,"column":9},"end":{"line":120,"column":null}},"type":"if","locations":[{"start":{"line":116,"column":9},"end":{"line":120,"column":null}},{"start":{"line":118,"column":9},"end":{"line":120,"column":null}}]},"6":{"loc":{"start":{"line":128,"column":17},"end":{"line":128,"column":32}},"type":"binary-expr","locations":[{"start":{"line":128,"column":17},"end":{"line":128,"column":27}},{"start":{"line":128,"column":31},"end":{"line":128,"column":32}}]},"7":{"loc":{"start":{"line":129,"column":22},"end":{"line":129,"column":67}},"type":"binary-expr","locations":[{"start":{"line":129,"column":22},"end":{"line":129,"column":32}},{"start":{"line":129,"column":36},"end":{"line":129,"column":67}}]},"8":{"loc":{"start":{"line":130,"column":2},"end":{"line":137,"column":null}},"type":"if","locations":[{"start":{"line":130,"column":2},"end":{"line":137,"column":null}}]},"9":{"loc":{"start":{"line":131,"column":3},"end":{"line":134,"column":48}},"type":"binary-expr","locations":[{"start":{"line":131,"column":3},"end":{"line":131,"column":13}},{"start":{"line":132,"column":3},"end":{"line":132,"column":34}},{"start":{"line":133,"column":3},"end":{"line":133,"column":18}},{"start":{"line":134,"column":3},"end":{"line":134,"column":48}}]},"10":{"loc":{"start":{"line":143,"column":2},"end":{"line":158,"column":null}},"type":"switch","locations":[{"start":{"line":144,"column":3},"end":{"line":148,"column":null}},{"start":{"line":149,"column":3},"end":{"line":149,"column":15}},{"start":{"line":150,"column":3},"end":{"line":150,"column":16}},{"start":{"line":151,"column":3},"end":{"line":154,"column":null}},{"start":{"line":155,"column":3},"end":{"line":157,"column":null}}]},"11":{"loc":{"start":{"line":182,"column":2},"end":{"line":185,"column":null}},"type":"if","locations":[{"start":{"line":182,"column":2},"end":{"line":185,"column":null}}]}},"s":{"0":1,"1":74,"2":33,"3":41,"4":0,"5":1,"6":1,"7":4,"8":1,"9":1,"10":22,"11":1,"12":42,"13":42,"14":1,"15":72,"16":66,"17":32,"18":34,"19":26,"20":8,"21":8,"22":0,"23":34,"24":34,"25":34,"26":0,"27":34,"28":32,"29":17,"30":17,"31":17,"32":15,"33":15,"34":0,"35":0,"36":17,"37":17,"38":17,"39":17,"40":9,"41":9,"42":17,"43":1},"f":{"0":74,"1":4,"2":22,"3":42,"4":72,"5":66,"6":34,"7":32,"8":0,"9":17},"b":{"0":[33,16,18,41,0],"1":[42,8,0,0,0,0,0],"2":[32,34],"3":[26,8],"4":[34,34,34],"5":[8,0],"6":[34,8],"7":[34,8],"8":[0],"9":[34,34,34,34],"10":[17,2,2,15,0],"11":[9]}} | ||
,"/mnt/vss/_work/1/s/common/lib/common-utils/src/bufferNode.ts": {"path":"/mnt/vss/_work/1/s/common/lib/common-utils/src/bufferNode.ts","statementMap":{"0":{"start":{"line":27,"column":13},"end":{"line":27,"column":32}},"1":{"start":{"line":46,"column":1},"end":{"line":46,"column":92}},"2":{"start":{"line":44,"column":0},"end":{"line":44,"column":16}},"3":{"start":{"line":56,"column":13},"end":{"line":56,"column":44}},"4":{"start":{"line":60,"column":1},"end":{"line":62,"column":70}},"5":{"start":{"line":55,"column":0},"end":{"line":55,"column":16}},"6":{"start":{"line":74,"column":30},"end":{"line":75,"column":40}},"7":{"start":{"line":75,"column":1},"end":{"line":75,"column":40}},"8":{"start":{"line":74,"column":13},"end":{"line":74,"column":30}}},"fnMap":{"0":{"name":"Uint8ArrayToString","decl":{"start":{"line":44,"column":16},"end":{"line":44,"column":34}},"loc":{"start":{"line":44,"column":69},"end":{"line":47,"column":1}}},"1":{"name":"stringToBuffer","decl":{"start":{"line":55,"column":16},"end":{"line":55,"column":30}},"loc":{"start":{"line":55,"column":62},"end":{"line":63,"column":1}}},"2":{"name":"(anonymous_2)","decl":{"start":{"line":74,"column":30},"end":{"line":74,"column":31}},"loc":{"start":{"line":75,"column":1},"end":{"line":75,"column":40}}}},"branchMap":{"0":{"loc":{"start":{"line":46,"column":8},"end":{"line":46,"column":91}},"type":"cond-expr","locations":[{"start":{"line":46,"column":31},"end":{"line":46,"column":53}},{"start":{"line":46,"column":56},"end":{"line":46,"column":91}}]},"1":{"loc":{"start":{"line":60,"column":8},"end":{"line":62,"column":69}},"type":"cond-expr","locations":[{"start":{"line":61,"column":4},"end":{"line":61,"column":14}},{"start":{"line":62,"column":4},"end":{"line":62,"column":69}}]}},"s":{"0":1,"1":2,"2":1,"3":4,"4":4,"5":1,"6":1,"7":22,"8":1},"f":{"0":2,"1":4,"2":22},"b":{"0":[0,2],"1":[0,4]}} | ||
,"/mnt/vss/_work/1/s/common/lib/common-utils/src/hashFileNode.ts": {"path":"/mnt/vss/_work/1/s/common/lib/common-utils/src/hashFileNode.ts","statementMap":{"0":{"start":{"line":7,"column":0},"end":{"line":7,"column":31}},"1":{"start":{"line":9,"column":0},"end":{"line":9,"column":35}},"2":{"start":{"line":32,"column":1},"end":{"line":41,"column":null}},"3":{"start":{"line":34,"column":3},"end":{"line":34,"column":23}},"4":{"start":{"line":35,"column":3},"end":{"line":35,"column":9}},"5":{"start":{"line":38,"column":3},"end":{"line":38,"column":25}},"6":{"start":{"line":39,"column":3},"end":{"line":39,"column":9}},"7":{"start":{"line":42,"column":1},"end":{"line":42,"column":59}},"8":{"start":{"line":25,"column":0},"end":{"line":25,"column":7}},"9":{"start":{"line":55,"column":14},"end":{"line":55,"column":29}},"10":{"start":{"line":56,"column":20},"end":{"line":56,"column":70}},"11":{"start":{"line":57,"column":16},"end":{"line":57,"column":26}},"12":{"start":{"line":58,"column":1},"end":{"line":58,"column":71}},"13":{"start":{"line":54,"column":0},"end":{"line":54,"column":7}}},"fnMap":{"0":{"name":"hashFile","decl":{"start":{"line":25,"column":22},"end":{"line":25,"column":30}},"loc":{"start":{"line":28,"column":39},"end":{"line":43,"column":1}}},"1":{"name":"gitHashFile","decl":{"start":{"line":54,"column":22},"end":{"line":54,"column":33}},"loc":{"start":{"line":54,"column":49},"end":{"line":59,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":27,"column":1},"end":{"line":27,"column":41}},"type":"default-arg","locations":[{"start":{"line":27,"column":34},"end":{"line":27,"column":41}}]},"1":{"loc":{"start":{"line":28,"column":1},"end":{"line":28,"column":39}},"type":"default-arg","locations":[{"start":{"line":28,"column":34},"end":{"line":28,"column":39}}]},"2":{"loc":{"start":{"line":32,"column":1},"end":{"line":41,"column":null}},"type":"switch","locations":[{"start":{"line":33,"column":2},"end":{"line":36,"column":null}},{"start":{"line":37,"column":2},"end":{"line":40,"column":null}}]}},"s":{"0":1,"1":1,"2":3,"3":1,"4":1,"5":2,"6":2,"7":3,"8":1,"9":6,"10":6,"11":6,"12":6,"13":1},"f":{"0":3,"1":6},"b":{"0":[0],"1":[1],"2":[1,2]}} | ||
,"/mnt/vss/_work/1/s/common/lib/common-utils/src/bufferNode.ts": {"path":"/mnt/vss/_work/1/s/common/lib/common-utils/src/bufferNode.ts","statementMap":{"0":{"start":{"line":29,"column":13},"end":{"line":29,"column":32}},"1":{"start":{"line":50,"column":1},"end":{"line":50,"column":92}},"2":{"start":{"line":48,"column":0},"end":{"line":48,"column":16}},"3":{"start":{"line":61,"column":13},"end":{"line":61,"column":44}},"4":{"start":{"line":65,"column":1},"end":{"line":67,"column":70}},"5":{"start":{"line":60,"column":0},"end":{"line":60,"column":16}},"6":{"start":{"line":80,"column":30},"end":{"line":81,"column":40}},"7":{"start":{"line":81,"column":1},"end":{"line":81,"column":40}},"8":{"start":{"line":80,"column":13},"end":{"line":80,"column":30}}},"fnMap":{"0":{"name":"Uint8ArrayToString","decl":{"start":{"line":48,"column":16},"end":{"line":48,"column":34}},"loc":{"start":{"line":48,"column":69},"end":{"line":51,"column":1}}},"1":{"name":"stringToBuffer","decl":{"start":{"line":60,"column":16},"end":{"line":60,"column":30}},"loc":{"start":{"line":60,"column":62},"end":{"line":68,"column":1}}},"2":{"name":"(anonymous_2)","decl":{"start":{"line":80,"column":30},"end":{"line":80,"column":31}},"loc":{"start":{"line":81,"column":1},"end":{"line":81,"column":40}}}},"branchMap":{"0":{"loc":{"start":{"line":50,"column":8},"end":{"line":50,"column":91}},"type":"cond-expr","locations":[{"start":{"line":50,"column":31},"end":{"line":50,"column":53}},{"start":{"line":50,"column":56},"end":{"line":50,"column":91}}]},"1":{"loc":{"start":{"line":65,"column":8},"end":{"line":67,"column":69}},"type":"cond-expr","locations":[{"start":{"line":66,"column":4},"end":{"line":66,"column":14}},{"start":{"line":67,"column":4},"end":{"line":67,"column":69}}]}},"s":{"0":1,"1":2,"2":1,"3":4,"4":4,"5":1,"6":1,"7":22,"8":1},"f":{"0":2,"1":4,"2":22},"b":{"0":[0,2],"1":[0,4]}} | ||
,"/mnt/vss/_work/1/s/common/lib/common-utils/src/hashFileNode.ts": {"path":"/mnt/vss/_work/1/s/common/lib/common-utils/src/hashFileNode.ts","statementMap":{"0":{"start":{"line":7,"column":0},"end":{"line":7,"column":31}},"1":{"start":{"line":9,"column":0},"end":{"line":9,"column":35}},"2":{"start":{"line":33,"column":1},"end":{"line":42,"column":null}},"3":{"start":{"line":35,"column":3},"end":{"line":35,"column":23}},"4":{"start":{"line":36,"column":3},"end":{"line":36,"column":9}},"5":{"start":{"line":39,"column":3},"end":{"line":39,"column":25}},"6":{"start":{"line":40,"column":3},"end":{"line":40,"column":9}},"7":{"start":{"line":43,"column":1},"end":{"line":43,"column":59}},"8":{"start":{"line":26,"column":0},"end":{"line":26,"column":7}},"9":{"start":{"line":57,"column":14},"end":{"line":57,"column":29}},"10":{"start":{"line":58,"column":20},"end":{"line":58,"column":70}},"11":{"start":{"line":59,"column":16},"end":{"line":59,"column":26}},"12":{"start":{"line":60,"column":1},"end":{"line":60,"column":71}},"13":{"start":{"line":56,"column":0},"end":{"line":56,"column":7}}},"fnMap":{"0":{"name":"hashFile","decl":{"start":{"line":26,"column":22},"end":{"line":26,"column":30}},"loc":{"start":{"line":29,"column":39},"end":{"line":44,"column":1}}},"1":{"name":"gitHashFile","decl":{"start":{"line":56,"column":22},"end":{"line":56,"column":33}},"loc":{"start":{"line":56,"column":49},"end":{"line":61,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":28,"column":1},"end":{"line":28,"column":41}},"type":"default-arg","locations":[{"start":{"line":28,"column":34},"end":{"line":28,"column":41}}]},"1":{"loc":{"start":{"line":29,"column":1},"end":{"line":29,"column":39}},"type":"default-arg","locations":[{"start":{"line":29,"column":34},"end":{"line":29,"column":39}}]},"2":{"loc":{"start":{"line":33,"column":1},"end":{"line":42,"column":null}},"type":"switch","locations":[{"start":{"line":34,"column":2},"end":{"line":37,"column":null}},{"start":{"line":38,"column":2},"end":{"line":41,"column":null}}]}},"s":{"0":1,"1":1,"2":3,"3":1,"4":1,"5":2,"6":2,"7":3,"8":1,"9":6,"10":6,"11":6,"12":6,"13":1},"f":{"0":3,"1":6},"b":{"0":[0],"1":[1],"2":[1,2]}} | ||
} |
@@ -16,4 +16,5 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
export declare function assert(condition: boolean, message: string | number): asserts condition; | ||
//# sourceMappingURL=assert.d.ts.map |
@@ -19,2 +19,3 @@ "use strict"; | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -21,0 +22,0 @@ function assert(condition, message) { |
@@ -10,2 +10,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -18,2 +19,3 @@ export declare const fromBase64ToUtf8: (input: string) => string; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -28,4 +30,5 @@ export declare const fromUtf8ToBase64: (input: string) => string; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
export declare const toUtf8: (input: string, encoding: string) => string; | ||
//# sourceMappingURL=base64Encoding.d.ts.map |
@@ -14,2 +14,3 @@ "use strict"; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -23,2 +24,3 @@ const fromBase64ToUtf8 = (input) => indexNode_1.IsoBuffer.from(input, "base64").toString("utf-8"); | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -34,2 +36,3 @@ const fromUtf8ToBase64 = (input) => indexNode_1.IsoBuffer.from(input, "utf8").toString("base64"); | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -36,0 +39,0 @@ const toUtf8 = (input, encoding) => { |
@@ -11,2 +11,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -25,2 +26,3 @@ export declare class Buffer extends Uint8Array { | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -30,2 +32,3 @@ export declare const IsoBuffer: typeof Buffer; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -42,2 +45,3 @@ export declare type IsoBuffer = Buffer; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -50,2 +54,3 @@ export declare function Uint8ArrayToString(arr: Uint8Array, encoding?: string): string; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -61,4 +66,5 @@ export declare function stringToBuffer(input: string, encoding: string): ArrayBufferLike; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
export declare const bufferToString: (blob: ArrayBufferLike, encoding: string) => string; | ||
//# sourceMappingURL=bufferNode.d.ts.map |
@@ -10,2 +10,3 @@ "use strict"; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -22,2 +23,3 @@ exports.IsoBuffer = Buffer; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -34,2 +36,3 @@ function Uint8ArrayToString(arr, encoding) { | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -54,2 +57,3 @@ function stringToBuffer(input, encoding) { | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -56,0 +60,0 @@ const bufferToString = (blob, encoding) => exports.IsoBuffer.from(blob).toString(encoding); |
@@ -10,4 +10,5 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
export declare function Uint8ArrayToArrayBuffer(array: Uint8Array): ArrayBuffer; | ||
//# sourceMappingURL=bufferShared.d.ts.map |
@@ -13,2 +13,3 @@ "use strict"; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -15,0 +16,0 @@ function Uint8ArrayToArrayBuffer(array) { |
@@ -10,4 +10,5 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
export declare const delay: (timeMs: number) => Promise<void>; | ||
//# sourceMappingURL=delay.d.ts.map |
@@ -13,2 +13,3 @@ "use strict"; | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -15,0 +16,0 @@ const delay = async (timeMs) => new Promise((resolve) => setTimeout(() => resolve(), timeMs)); |
@@ -17,4 +17,5 @@ /*! | ||
* exported. | ||
* @internal | ||
*/ | ||
export declare function doIfNotDisposed<T>(disposable: IDisposable, f: (...args: any[]) => T): (...args: any[]) => T; | ||
//# sourceMappingURL=disposal.d.ts.map |
@@ -19,2 +19,3 @@ "use strict"; | ||
* exported. | ||
* @internal | ||
*/ | ||
@@ -21,0 +22,0 @@ function doIfNotDisposed(disposable, f) { |
@@ -14,2 +14,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -16,0 +17,0 @@ export declare class EventForwarder<TEvent = IEvent> extends TypedEventEmitter<TEvent> implements IDisposable { |
@@ -15,2 +15,3 @@ "use strict"; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -17,0 +18,0 @@ class EventForwarder extends typedEventEmitter_1.TypedEventEmitter { |
@@ -18,2 +18,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -29,4 +30,5 @@ export declare function hashFile(file: IsoBuffer, algorithm?: "SHA-1" | "SHA-256", hashEncoding?: "hex" | "base64"): Promise<string>; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
export declare function gitHashFile(file: IsoBuffer): Promise<string>; | ||
//# sourceMappingURL=hashFileNode.d.ts.map |
@@ -27,2 +27,3 @@ "use strict"; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -53,2 +54,3 @@ async function hashFile(file, algorithm = "SHA-1", hashEncoding = "hex") { | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -55,0 +57,0 @@ async function gitHashFile(file) { |
@@ -9,2 +9,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -27,2 +28,3 @@ export interface IComparer<T> { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -34,2 +36,3 @@ export declare const NumberComparer: IComparer<number>; | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -44,2 +47,3 @@ export interface IHeapNode<T> { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -46,0 +50,0 @@ export declare class Heap<T> { |
@@ -12,2 +12,3 @@ "use strict"; | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -29,2 +30,3 @@ exports.NumberComparer = { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -31,0 +33,0 @@ class Heap { |
@@ -7,3 +7,3 @@ /*! | ||
export { gitHashFile, hashFile } from "./hashFileBrowser"; | ||
export { performance } from "./performanceBrowser"; | ||
export { performance } from "./performanceIsomorphic"; | ||
//# sourceMappingURL=indexBrowser.d.ts.map |
@@ -17,4 +17,4 @@ "use strict"; | ||
Object.defineProperty(exports, "hashFile", { enumerable: true, get: function () { return hashFileBrowser_1.hashFile; } }); | ||
var performanceBrowser_1 = require("./performanceBrowser"); | ||
Object.defineProperty(exports, "performance", { enumerable: true, get: function () { return performanceBrowser_1.performance; } }); | ||
var performanceIsomorphic_1 = require("./performanceIsomorphic"); | ||
Object.defineProperty(exports, "performance", { enumerable: true, get: function () { return performanceIsomorphic_1.performance; } }); | ||
//# sourceMappingURL=indexBrowser.js.map |
@@ -7,3 +7,3 @@ /*! | ||
export { gitHashFile, hashFile } from "./hashFileNode"; | ||
export { performance } from "./performanceNode"; | ||
export { performance } from "./performanceIsomorphic"; | ||
//# sourceMappingURL=indexNode.d.ts.map |
@@ -17,4 +17,4 @@ "use strict"; | ||
Object.defineProperty(exports, "hashFile", { enumerable: true, get: function () { return hashFileNode_1.hashFile; } }); | ||
var performanceNode_1 = require("./performanceNode"); | ||
Object.defineProperty(exports, "performance", { enumerable: true, get: function () { return performanceNode_1.performance; } }); | ||
var performanceIsomorphic_1 = require("./performanceIsomorphic"); | ||
Object.defineProperty(exports, "performance", { enumerable: true, get: function () { return performanceIsomorphic_1.performance; } }); | ||
//# sourceMappingURL=indexNode.js.map |
@@ -9,2 +9,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -11,0 +12,0 @@ export declare class Lazy<T> { |
@@ -12,2 +12,3 @@ "use strict"; | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -14,0 +15,0 @@ class Lazy { |
@@ -10,2 +10,3 @@ /*! | ||
* @deprecated BaseTelemetryNullLogger has been moved to the \@fluidframework/telemetry-utils package. | ||
* @internal | ||
*/ | ||
@@ -24,2 +25,3 @@ export declare class BaseTelemetryNullLogger implements ITelemetryBaseLogger { | ||
* @deprecated TelemetryNullLogger has been moved to the \@fluidframework/telemetry-utils package. | ||
* @internal | ||
*/ | ||
@@ -26,0 +28,0 @@ export declare class TelemetryNullLogger implements ITelemetryLogger { |
@@ -12,2 +12,3 @@ "use strict"; | ||
* @deprecated BaseTelemetryNullLogger has been moved to the \@fluidframework/telemetry-utils package. | ||
* @internal | ||
*/ | ||
@@ -29,2 +30,3 @@ class BaseTelemetryNullLogger { | ||
* @deprecated TelemetryNullLogger has been moved to the \@fluidframework/telemetry-utils package. | ||
* @internal | ||
*/ | ||
@@ -31,0 +33,0 @@ class TelemetryNullLogger { |
@@ -10,4 +10,10 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
export declare type IsomorphicPerformance = Partial<Performance> & Pick<Performance, "clearMarks" | "mark" | "measure" | "now">; | ||
/** | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
export declare const performance: IsomorphicPerformance; | ||
//# sourceMappingURL=performanceIsomorphic.d.ts.map |
@@ -7,2 +7,8 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.performance = void 0; | ||
/** | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
exports.performance = globalThis.performance; | ||
//# sourceMappingURL=performanceIsomorphic.js.map |
@@ -12,2 +12,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -24,2 +25,3 @@ export declare type PromiseCacheExpiry = { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -37,2 +39,3 @@ export interface PromiseCacheOptions { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -39,0 +42,0 @@ export declare class PromiseCache<TKey, TResult> { |
@@ -57,2 +57,3 @@ "use strict"; | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -59,0 +60,0 @@ class PromiseCache { |
@@ -9,2 +9,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -47,2 +48,3 @@ export declare class Deferred<T> { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -49,0 +51,0 @@ export declare class LazyPromise<T> implements Promise<T> { |
@@ -12,2 +12,3 @@ "use strict"; | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -67,2 +68,3 @@ class Deferred { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -69,0 +71,0 @@ class LazyPromise { |
@@ -9,2 +9,3 @@ /*! | ||
* @deprecated No replacement. | ||
* @internal | ||
*/ | ||
@@ -20,2 +21,3 @@ export interface IRange { | ||
* @deprecated No replacement. | ||
* @internal | ||
*/ | ||
@@ -35,2 +37,3 @@ export interface IRangeTrackerSnapshot { | ||
* @deprecated No replacement. | ||
* @internal | ||
*/ | ||
@@ -37,0 +40,0 @@ export declare class RangeTracker { |
@@ -22,2 +22,3 @@ "use strict"; | ||
* @deprecated No replacement. | ||
* @internal | ||
*/ | ||
@@ -24,0 +25,0 @@ class RangeTracker { |
@@ -13,2 +13,3 @@ /*! | ||
* routerlicious drivers. | ||
* @internal | ||
*/ | ||
@@ -15,0 +16,0 @@ export declare class RateLimiter { |
@@ -16,2 +16,3 @@ "use strict"; | ||
* routerlicious drivers. | ||
* @internal | ||
*/ | ||
@@ -18,0 +19,0 @@ class RateLimiter { |
@@ -14,4 +14,5 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
export declare function safelyParseJSON(json: string): any | undefined; | ||
//# sourceMappingURL=safeParser.d.ts.map |
@@ -17,2 +17,3 @@ "use strict"; | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -19,0 +20,0 @@ // eslint-disable-next-line @typescript-eslint/no-explicit-any |
@@ -7,2 +7,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -34,2 +35,3 @@ export interface ITimer { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -44,2 +46,3 @@ export declare function setLongTimeout(timeoutFn: () => void, timeoutMs: number, setTimeoutIdFn?: (timeoutId: ReturnType<typeof setTimeout>) => void): ReturnType<typeof setTimeout>; | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -82,2 +85,3 @@ export declare class Timer implements ITimer { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -92,2 +96,3 @@ export interface IPromiseTimerResult { | ||
* @deprecated Moved to the `@fluid-private/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -108,2 +113,3 @@ export interface IPromiseTimer extends ITimer { | ||
* @deprecated Moved to the `@fluid-private/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -110,0 +116,0 @@ export declare class PromiseTimer implements IPromiseTimer { |
@@ -22,2 +22,3 @@ "use strict"; | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -45,2 +46,3 @@ function setLongTimeout(timeoutFn, timeoutMs, setTimeoutIdFn) { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -159,2 +161,3 @@ class Timer { | ||
* @deprecated Moved to the `@fluid-private/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -161,0 +164,0 @@ class PromiseTimer { |
@@ -10,2 +10,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -23,2 +24,3 @@ export declare class Trace { | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -25,0 +27,0 @@ export interface ITraceEvent { |
@@ -14,2 +14,3 @@ "use strict"; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -16,0 +17,0 @@ class Trace { |
@@ -14,2 +14,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -21,2 +22,3 @@ export declare type EventEmitterEventType = EventEmitter extends { | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -28,2 +30,3 @@ export declare type TypedEventTransform<TThis, TEvent> = TransformedEvent<TThis, "newListener" | "removeListener", Parameters<(event: string, listener: (...args: any[]) => void) => void>> & IEventTransformer<TThis, TEvent & IEvent> & TransformedEvent<TThis, EventEmitterEventType, any[]>; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -30,0 +33,0 @@ export declare class TypedEventEmitter<TEvent> extends EventEmitter implements IEventProvider<TEvent & IEvent> { |
@@ -13,2 +13,3 @@ "use strict"; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -15,0 +16,0 @@ class TypedEventEmitter extends events_1.EventEmitter { |
@@ -21,4 +21,5 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
export declare function unreachableCase(_: never, message?: string): never; | ||
//# sourceMappingURL=unreachable.d.ts.map |
@@ -24,2 +24,3 @@ "use strict"; | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -26,0 +27,0 @@ function unreachableCase(_, message = "Unreachable Case") { |
@@ -10,2 +10,12 @@ /*! | ||
testPathIgnorePatterns: ["/node_modules/"], | ||
reporters: [ | ||
"default", | ||
[ | ||
"jest-junit", | ||
{ | ||
outputDirectory: "nyc", | ||
outputName: "jest-junit-report.xml", | ||
}, | ||
], | ||
], | ||
}; |
@@ -16,4 +16,5 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
export declare function assert(condition: boolean, message: string | number): asserts condition; | ||
//# sourceMappingURL=assert.d.ts.map |
@@ -16,2 +16,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -18,0 +19,0 @@ export function assert(condition, message) { |
@@ -10,2 +10,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -18,2 +19,3 @@ export declare const fromBase64ToUtf8: (input: string) => string; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -28,4 +30,5 @@ export declare const fromUtf8ToBase64: (input: string) => string; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
export declare const toUtf8: (input: string, encoding: string) => string; | ||
//# sourceMappingURL=base64Encoding.d.ts.map |
@@ -11,2 +11,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -19,2 +20,3 @@ export const fromBase64ToUtf8 = (input) => IsoBuffer.from(input, "base64").toString("utf-8"); | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -29,2 +31,3 @@ export const fromUtf8ToBase64 = (input) => IsoBuffer.from(input, "utf8").toString("base64"); | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -31,0 +34,0 @@ export const toUtf8 = (input, encoding) => { |
@@ -11,2 +11,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -25,2 +26,3 @@ export declare class Buffer extends Uint8Array { | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -30,2 +32,3 @@ export declare const IsoBuffer: typeof Buffer; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -42,2 +45,3 @@ export declare type IsoBuffer = Buffer; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -50,2 +54,3 @@ export declare function Uint8ArrayToString(arr: Uint8Array, encoding?: string): string; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -61,4 +66,5 @@ export declare function stringToBuffer(input: string, encoding: string): ArrayBufferLike; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
export declare const bufferToString: (blob: ArrayBufferLike, encoding: string) => string; | ||
//# sourceMappingURL=bufferNode.d.ts.map |
@@ -7,2 +7,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -19,2 +20,3 @@ export const IsoBuffer = Buffer; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -30,2 +32,3 @@ export function Uint8ArrayToString(arr, encoding) { | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -49,4 +52,5 @@ export function stringToBuffer(input, encoding) { | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
export const bufferToString = (blob, encoding) => IsoBuffer.from(blob).toString(encoding); | ||
//# sourceMappingURL=bufferNode.js.map |
@@ -10,4 +10,5 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
export declare function Uint8ArrayToArrayBuffer(array: Uint8Array): ArrayBuffer; | ||
//# sourceMappingURL=bufferShared.d.ts.map |
@@ -10,2 +10,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -12,0 +13,0 @@ export function Uint8ArrayToArrayBuffer(array) { |
@@ -10,4 +10,5 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
export declare const delay: (timeMs: number) => Promise<void>; | ||
//# sourceMappingURL=delay.d.ts.map |
@@ -10,4 +10,5 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
export const delay = async (timeMs) => new Promise((resolve) => setTimeout(() => resolve(), timeMs)); | ||
//# sourceMappingURL=delay.js.map |
@@ -17,4 +17,5 @@ /*! | ||
* exported. | ||
* @internal | ||
*/ | ||
export declare function doIfNotDisposed<T>(disposable: IDisposable, f: (...args: any[]) => T): (...args: any[]) => T; | ||
//# sourceMappingURL=disposal.d.ts.map |
@@ -16,2 +16,3 @@ /*! | ||
* exported. | ||
* @internal | ||
*/ | ||
@@ -18,0 +19,0 @@ export function doIfNotDisposed(disposable, f) { |
@@ -14,2 +14,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -16,0 +17,0 @@ export declare class EventForwarder<TEvent = IEvent> extends TypedEventEmitter<TEvent> implements IDisposable { |
@@ -12,2 +12,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -14,0 +15,0 @@ export class EventForwarder extends TypedEventEmitter { |
@@ -18,2 +18,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -29,4 +30,5 @@ export declare function hashFile(file: IsoBuffer, algorithm?: "SHA-1" | "SHA-256", hashEncoding?: "hex" | "base64"): Promise<string>; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
export declare function gitHashFile(file: IsoBuffer): Promise<string>; | ||
//# sourceMappingURL=hashFileNode.d.ts.map |
@@ -21,2 +21,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -46,2 +47,3 @@ export async function hashFile(file, algorithm = "SHA-1", hashEncoding = "hex") { | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -48,0 +50,0 @@ export async function gitHashFile(file) { |
@@ -9,2 +9,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -27,2 +28,3 @@ export interface IComparer<T> { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -34,2 +36,3 @@ export declare const NumberComparer: IComparer<number>; | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -44,2 +47,3 @@ export interface IHeapNode<T> { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -46,0 +50,0 @@ export declare class Heap<T> { |
@@ -9,2 +9,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -26,2 +27,3 @@ export const NumberComparer = { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -28,0 +30,0 @@ export class Heap { |
@@ -7,3 +7,3 @@ /*! | ||
export { gitHashFile, hashFile } from "./hashFileBrowser"; | ||
export { performance } from "./performanceBrowser"; | ||
export { performance } from "./performanceIsomorphic"; | ||
//# sourceMappingURL=indexBrowser.d.ts.map |
@@ -7,3 +7,3 @@ /*! | ||
export { gitHashFile, hashFile } from "./hashFileBrowser"; | ||
export { performance } from "./performanceBrowser"; | ||
export { performance } from "./performanceIsomorphic"; | ||
//# sourceMappingURL=indexBrowser.js.map |
@@ -7,3 +7,3 @@ /*! | ||
export { gitHashFile, hashFile } from "./hashFileNode"; | ||
export { performance } from "./performanceNode"; | ||
export { performance } from "./performanceIsomorphic"; | ||
//# sourceMappingURL=indexNode.d.ts.map |
@@ -7,3 +7,3 @@ /*! | ||
export { gitHashFile, hashFile } from "./hashFileNode"; | ||
export { performance } from "./performanceNode"; | ||
export { performance } from "./performanceIsomorphic"; | ||
//# sourceMappingURL=indexNode.js.map |
@@ -9,2 +9,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -11,0 +12,0 @@ export declare class Lazy<T> { |
@@ -9,2 +9,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -11,0 +12,0 @@ export class Lazy { |
@@ -10,2 +10,3 @@ /*! | ||
* @deprecated BaseTelemetryNullLogger has been moved to the \@fluidframework/telemetry-utils package. | ||
* @internal | ||
*/ | ||
@@ -24,2 +25,3 @@ export declare class BaseTelemetryNullLogger implements ITelemetryBaseLogger { | ||
* @deprecated TelemetryNullLogger has been moved to the \@fluidframework/telemetry-utils package. | ||
* @internal | ||
*/ | ||
@@ -26,0 +28,0 @@ export declare class TelemetryNullLogger implements ITelemetryLogger { |
@@ -9,2 +9,3 @@ /*! | ||
* @deprecated BaseTelemetryNullLogger has been moved to the \@fluidframework/telemetry-utils package. | ||
* @internal | ||
*/ | ||
@@ -25,2 +26,3 @@ export class BaseTelemetryNullLogger { | ||
* @deprecated TelemetryNullLogger has been moved to the \@fluidframework/telemetry-utils package. | ||
* @internal | ||
*/ | ||
@@ -27,0 +29,0 @@ export class TelemetryNullLogger { |
@@ -10,4 +10,10 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
export declare type IsomorphicPerformance = Partial<Performance> & Pick<Performance, "clearMarks" | "mark" | "measure" | "now">; | ||
/** | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
export declare const performance: IsomorphicPerformance; | ||
//# sourceMappingURL=performanceIsomorphic.d.ts.map |
@@ -5,3 +5,7 @@ /*! | ||
*/ | ||
export {}; | ||
/** | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
export const performance = globalThis.performance; | ||
//# sourceMappingURL=performanceIsomorphic.js.map |
@@ -12,2 +12,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -24,2 +25,3 @@ export declare type PromiseCacheExpiry = { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -37,2 +39,3 @@ export interface PromiseCacheOptions { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -39,0 +42,0 @@ export declare class PromiseCache<TKey, TResult> { |
@@ -54,2 +54,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -56,0 +57,0 @@ export class PromiseCache { |
@@ -9,2 +9,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -47,2 +48,3 @@ export declare class Deferred<T> { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -49,0 +51,0 @@ export declare class LazyPromise<T> implements Promise<T> { |
@@ -9,2 +9,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -63,2 +64,3 @@ export class Deferred { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -65,0 +67,0 @@ export class LazyPromise { |
@@ -9,2 +9,3 @@ /*! | ||
* @deprecated No replacement. | ||
* @internal | ||
*/ | ||
@@ -20,2 +21,3 @@ export interface IRange { | ||
* @deprecated No replacement. | ||
* @internal | ||
*/ | ||
@@ -35,2 +37,3 @@ export interface IRangeTrackerSnapshot { | ||
* @deprecated No replacement. | ||
* @internal | ||
*/ | ||
@@ -37,0 +40,0 @@ export declare class RangeTracker { |
@@ -16,2 +16,3 @@ /*! | ||
* @deprecated No replacement. | ||
* @internal | ||
*/ | ||
@@ -18,0 +19,0 @@ export class RangeTracker { |
@@ -13,2 +13,3 @@ /*! | ||
* routerlicious drivers. | ||
* @internal | ||
*/ | ||
@@ -15,0 +16,0 @@ export declare class RateLimiter { |
@@ -13,2 +13,3 @@ /*! | ||
* routerlicious drivers. | ||
* @internal | ||
*/ | ||
@@ -15,0 +16,0 @@ export class RateLimiter { |
@@ -14,4 +14,5 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
export declare function safelyParseJSON(json: string): any | undefined; | ||
//# sourceMappingURL=safeParser.d.ts.map |
@@ -14,2 +14,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -16,0 +17,0 @@ // eslint-disable-next-line @typescript-eslint/no-explicit-any |
@@ -7,2 +7,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -34,2 +35,3 @@ export interface ITimer { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -44,2 +46,3 @@ export declare function setLongTimeout(timeoutFn: () => void, timeoutMs: number, setTimeoutIdFn?: (timeoutId: ReturnType<typeof setTimeout>) => void): ReturnType<typeof setTimeout>; | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -82,2 +85,3 @@ export declare class Timer implements ITimer { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -92,2 +96,3 @@ export interface IPromiseTimerResult { | ||
* @deprecated Moved to the `@fluid-private/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -108,2 +113,3 @@ export interface IPromiseTimer extends ITimer { | ||
* @deprecated Moved to the `@fluid-private/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -110,0 +116,0 @@ export declare class PromiseTimer implements IPromiseTimer { |
@@ -19,2 +19,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -41,2 +42,3 @@ export function setLongTimeout(timeoutFn, timeoutMs, setTimeoutIdFn) { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -154,2 +156,3 @@ export class Timer { | ||
* @deprecated Moved to the `@fluid-private/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -156,0 +159,0 @@ export class PromiseTimer { |
@@ -10,2 +10,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -23,2 +24,3 @@ export declare class Trace { | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -25,0 +27,0 @@ export interface ITraceEvent { |
@@ -11,2 +11,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -13,0 +14,0 @@ export class Trace { |
@@ -14,2 +14,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -21,2 +22,3 @@ export declare type EventEmitterEventType = EventEmitter extends { | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -28,2 +30,3 @@ export declare type TypedEventTransform<TThis, TEvent> = TransformedEvent<TThis, "newListener" | "removeListener", Parameters<(event: string, listener: (...args: any[]) => void) => void>> & IEventTransformer<TThis, TEvent & IEvent> & TransformedEvent<TThis, EventEmitterEventType, any[]>; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -30,0 +33,0 @@ export declare class TypedEventEmitter<TEvent> extends EventEmitter implements IEventProvider<TEvent & IEvent> { |
@@ -10,2 +10,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -12,0 +13,0 @@ export class TypedEventEmitter extends EventEmitter { |
@@ -21,4 +21,5 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
export declare function unreachableCase(_: never, message?: string): never; | ||
//# sourceMappingURL=unreachable.d.ts.map |
@@ -21,2 +21,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -23,0 +24,0 @@ export function unreachableCase(_, message = "Unreachable Case") { |
{ | ||
"name": "@fluidframework/common-utils", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "Collection of utility functions for Fluid", | ||
@@ -21,13 +21,13 @@ "homepage": "https://fluidframework.com", | ||
"types": "dist/index.d.ts", | ||
"nyc": { | ||
"c8": { | ||
"all": true, | ||
"cache-dir": "nyc/.cache", | ||
"exclude": [ | ||
"src/test/**/*.ts", | ||
"dist/test/**/*.js" | ||
"src/test/**/*.*ts", | ||
"dist/test/**/*.*js" | ||
], | ||
"exclude-after-remap": false, | ||
"include": [ | ||
"src/**/*.ts", | ||
"dist/**/*.js" | ||
"src/**/*.*ts", | ||
"dist/**/*.*js" | ||
], | ||
@@ -43,3 +43,3 @@ "report-dir": "nyc/report", | ||
"dependencies": { | ||
"@fluidframework/common-definitions": "^1.0.0", | ||
"@fluidframework/common-definitions": "^1.1.0", | ||
"@types/events": "^3.0.0", | ||
@@ -53,9 +53,8 @@ "base64-js": "^1.5.1", | ||
"devDependencies": { | ||
"@fluid-tools/build-cli": "^0.22.0", | ||
"@fluidframework/build-common": "^2.0.0", | ||
"@fluidframework/build-tools": "^0.22.0", | ||
"@fluid-tools/build-cli": "^0.26.1", | ||
"@fluidframework/build-common": "^2.0.3", | ||
"@fluidframework/build-tools": "^0.26.1", | ||
"@fluidframework/common-utils-previous": "npm:@fluidframework/common-utils@1.0.0", | ||
"@fluidframework/eslint-config-fluid": "^2.1.0", | ||
"@microsoft/api-extractor": "^7.22.2", | ||
"@rushstack/eslint-config": "^2.5.1", | ||
"@microsoft/api-extractor": "^7.38.3", | ||
"@types/base64-js": "^1.3.0", | ||
@@ -70,2 +69,3 @@ "@types/benchmark": "^2.1.0", | ||
"benchmark": "^2.1.4", | ||
"c8": "^8.0.1", | ||
"concurrently": "^6.2.0", | ||
@@ -75,3 +75,3 @@ "copyfiles": "^2.4.1", | ||
"eslint": "~8.6.0", | ||
"eslint-config-prettier": "~8.5.0", | ||
"eslint-config-prettier": "~9.0.0", | ||
"jest": "^26.6.3", | ||
@@ -84,4 +84,3 @@ "jest-junit": "^10.0.0", | ||
"moment": "^2.21.0", | ||
"nyc": "^15.0.0", | ||
"prettier": "~2.6.2", | ||
"prettier": "~3.0.3", | ||
"puppeteer": "^2.1.0", | ||
@@ -119,6 +118,2 @@ "rewire": "^5.0.0", | ||
}, | ||
"jest-junit": { | ||
"outputDirectory": "nyc", | ||
"outputName": "jest-junit-report.xml" | ||
}, | ||
"typeValidation": { | ||
@@ -129,6 +124,6 @@ "broken": {} | ||
"bench": "ts-node bench/src/index.ts", | ||
"build": "concurrently npm:build:compile npm:lint && npm run build:docs", | ||
"build": "npm run build:compile && concurrently npm:lint npm:build:docs", | ||
"build:commonjs": "npm run tsc && npm run typetests:gen && npm run build:test", | ||
"build:compile": "concurrently npm:build:commonjs npm:build:esnext", | ||
"build:docs": "api-extractor run --local --typescript-compiler-folder ./node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/", | ||
"build:docs": "api-extractor run --local --typescript-compiler-folder ./node_modules/typescript && copyfiles -u 1 \"./_api-extractor-temp/doc-models/*\" ../../../_api-extractor-temp/", | ||
"build:esnext": "tsc --project ./tsconfig.esnext.json", | ||
@@ -140,22 +135,23 @@ "build:test": "concurrently npm:build:test:mocha npm:build:test:jest npm:build:test:types", | ||
"bump-version": "npm version minor --no-push --no-git-tag-version && npm run build:gen:bump", | ||
"check:release-tags": "api-extractor run --local --config ./api-extractor-lint.json", | ||
"ci:build": "npm run build:compile", | ||
"ci:build:docs": "api-extractor run --typescript-compiler-folder ./node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/", | ||
"ci:build:docs": "api-extractor run --typescript-compiler-folder ./node_modules/typescript && copyfiles -u 1 \"./_api-extractor-temp/doc-models/*\" ../../../_api-extractor-temp/", | ||
"ci:test": "npm run test:report", | ||
"ci:test:coverage": "npm run test:coverage", | ||
"clean": "rimraf --glob _api-extractor-temp dist lib *.tsbuildinfo *.build.log", | ||
"clean": "rimraf --glob _api-extractor-temp dist lib \"**/*.tsbuildinfo\" \"**/*.build.log\" nyc", | ||
"eslint": "eslint --format stylish src", | ||
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout", | ||
"format": "npm run prettier:fix", | ||
"lint": "npm run prettier && npm run eslint", | ||
"lint": "npm run prettier && npm run check:release-tags && npm run eslint", | ||
"lint:fix": "npm run prettier:fix && npm run eslint:fix", | ||
"prettier": "prettier --check . --ignore-path ../../../.prettierignore", | ||
"prettier:fix": "prettier --write . --ignore-path ../../../.prettierignore", | ||
"prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore", | ||
"prettier:fix": "prettier --write . --cache --ignore-path ../../../.prettierignore", | ||
"test": "npm run test:mocha && npm run test:jest", | ||
"test:coverage": "npm run test:report", | ||
"test:coverage": "c8 npm run test:report", | ||
"test:jest": "jest", | ||
"test:jest:report": "npm run test:jest -- --ci --coverage --reporters=default --reporters=jest-junit", | ||
"test:mocha": "mocha --unhandled-rejections=strict --recursive dist/test/mocha/**/*.spec.js --exit --project test/tsconfig.json", | ||
"test:jest:report": "npm run test:jest -- --ci --coverage", | ||
"test:mocha": "mocha --unhandled-rejections=strict --recursive \"dist/test/mocha/**/*.spec.*js\" --exit --project test/tsconfig.json", | ||
"test:mocha:multireport": "cross-env FLUID_TEST_MULTIREPORT=1 npm run test:mocha", | ||
"test:mocha:report": "npm run test:mocha -- -- --reporter xunit --reporter-option output=nyc/mocha-junit-report.xml", | ||
"test:report": "nyc npm run test:mocha:report && npm run test:jest:report", | ||
"test:report": "npm run test:mocha:report && npm run test:jest:report", | ||
"tsc": "tsc", | ||
@@ -162,0 +158,0 @@ "typetests:gen": "fluid-type-test-generator", |
@@ -17,2 +17,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -19,0 +20,0 @@ export function assert(condition: boolean, message: string | number): asserts condition { |
@@ -13,2 +13,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -23,2 +24,3 @@ export const fromBase64ToUtf8 = (input: string): string => | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -35,2 +37,3 @@ export const fromUtf8ToBase64 = (input: string): string => | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -37,0 +40,0 @@ export const toUtf8 = (input: string, encoding: string): string => { |
@@ -12,2 +12,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -27,2 +28,3 @@ export declare class Buffer extends Uint8Array { | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -33,2 +35,3 @@ export const IsoBuffer = Buffer; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -46,2 +49,3 @@ export type IsoBuffer = Buffer; | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -58,2 +62,3 @@ export function Uint8ArrayToString(arr: Uint8Array, encoding?: string): string { | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -78,4 +83,5 @@ export function stringToBuffer(input: string, encoding: string): ArrayBufferLike { | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
export const bufferToString = (blob: ArrayBufferLike, encoding: string): string => | ||
IsoBuffer.from(blob).toString(encoding); |
@@ -11,2 +11,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -13,0 +14,0 @@ export function Uint8ArrayToArrayBuffer(array: Uint8Array): ArrayBuffer { |
@@ -11,4 +11,5 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
export const delay = async (timeMs: number): Promise<void> => | ||
new Promise((resolve) => setTimeout(() => resolve(), timeMs)); |
@@ -19,2 +19,3 @@ /*! | ||
* exported. | ||
* @internal | ||
*/ | ||
@@ -21,0 +22,0 @@ export function doIfNotDisposed<T>( |
@@ -16,2 +16,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -18,0 +19,0 @@ export class EventForwarder<TEvent = IEvent> |
@@ -24,2 +24,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -54,2 +55,3 @@ export async function hashFile( | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -56,0 +58,0 @@ export async function gitHashFile(file: IsoBuffer): Promise<string> { |
@@ -10,2 +10,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -30,2 +31,3 @@ export interface IComparer<T> { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -49,2 +51,3 @@ export const NumberComparer: IComparer<number> = { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -60,2 +63,3 @@ export interface IHeapNode<T> { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -62,0 +66,0 @@ export class Heap<T> { |
@@ -14,2 +14,2 @@ /*! | ||
export { gitHashFile, hashFile } from "./hashFileBrowser"; | ||
export { performance } from "./performanceBrowser"; | ||
export { performance } from "./performanceIsomorphic"; |
@@ -14,2 +14,2 @@ /*! | ||
export { gitHashFile, hashFile } from "./hashFileNode"; | ||
export { performance } from "./performanceNode"; | ||
export { performance } from "./performanceIsomorphic"; |
@@ -10,2 +10,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -12,0 +13,0 @@ export class Lazy<T> { |
@@ -19,2 +19,3 @@ /*! | ||
* @deprecated BaseTelemetryNullLogger has been moved to the \@fluidframework/telemetry-utils package. | ||
* @internal | ||
*/ | ||
@@ -36,2 +37,3 @@ export class BaseTelemetryNullLogger implements ITelemetryBaseLogger { | ||
* @deprecated TelemetryNullLogger has been moved to the \@fluidframework/telemetry-utils package. | ||
* @internal | ||
*/ | ||
@@ -38,0 +40,0 @@ export class TelemetryNullLogger implements ITelemetryLogger { |
@@ -11,4 +11,11 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
export type IsomorphicPerformance = Partial<Performance> & | ||
Pick<Performance, "clearMarks" | "mark" | "measure" | "now">; | ||
/** | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
export const performance: IsomorphicPerformance = globalThis.performance; |
@@ -13,2 +13,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -28,2 +29,3 @@ export type PromiseCacheExpiry = | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -94,2 +96,3 @@ export interface PromiseCacheOptions { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -96,0 +99,0 @@ export class PromiseCache<TKey, TResult> { |
@@ -10,2 +10,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -72,2 +73,3 @@ export class Deferred<T> { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -74,0 +76,0 @@ export class LazyPromise<T> implements Promise<T> { |
@@ -14,2 +14,3 @@ /*! | ||
* @deprecated No replacement. | ||
* @internal | ||
*/ | ||
@@ -26,2 +27,3 @@ export interface IRange { | ||
* @deprecated No replacement. | ||
* @internal | ||
*/ | ||
@@ -42,2 +44,3 @@ export interface IRangeTrackerSnapshot { | ||
* @deprecated No replacement. | ||
* @internal | ||
*/ | ||
@@ -44,0 +47,0 @@ export class RangeTracker { |
@@ -14,2 +14,3 @@ /*! | ||
* routerlicious drivers. | ||
* @internal | ||
*/ | ||
@@ -16,0 +17,0 @@ export class RateLimiter { |
@@ -15,2 +15,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -17,0 +18,0 @@ // eslint-disable-next-line @typescript-eslint/no-explicit-any |
@@ -11,2 +11,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -83,2 +84,3 @@ export interface ITimer { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -113,2 +115,3 @@ export function setLongTimeout( | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -236,2 +239,3 @@ export class Timer implements ITimer { | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -247,2 +251,3 @@ export interface IPromiseTimerResult { | ||
* @deprecated Moved to the `@fluid-private/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -264,2 +269,3 @@ export interface IPromiseTimer extends ITimer { | ||
* @deprecated Moved to the `@fluid-private/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -266,0 +272,0 @@ export class PromiseTimer implements IPromiseTimer { |
@@ -13,2 +13,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -42,2 +43,3 @@ export class Trace { | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -44,0 +46,0 @@ export interface ITraceEvent { |
@@ -21,2 +21,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -29,2 +30,3 @@ export type EventEmitterEventType = EventEmitter extends { on(event: infer E, listener: any) } | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -50,2 +52,3 @@ export type TypedEventTransform<TThis, TEvent> = | ||
* @deprecated Moved to the `@fluidframework-internal/client-utils` package. | ||
* @internal | ||
*/ | ||
@@ -52,0 +55,0 @@ export class TypedEventEmitter<TEvent> |
@@ -22,2 +22,3 @@ /*! | ||
* @deprecated Moved to the `@fluidframework/core-utils` package. | ||
* @internal | ||
*/ | ||
@@ -24,0 +25,0 @@ export function unreachableCase(_: never, message = "Unreachable Case"): never { |
@@ -8,5 +8,2 @@ { | ||
"baseUrl": ".", | ||
"paths": { | ||
"perf_hooks": ["types/perf_hooks.d.ts"], | ||
}, | ||
}, | ||
@@ -13,0 +10,0 @@ "include": ["src/**/*"], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
36
8210
0
653948
271