@fluidframework/sequence 2.60.0 → 2.61.0-355516
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/.mocharc.cjs +1 -2
- package/api-report/sequence.legacy.beta.api.md +203 -15
- package/dist/legacy.d.ts +2 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.d.ts.map +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/legacy.d.ts +2 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.d.ts.map +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +27 -44
- package/src/packageVersion.ts +1 -1
package/.mocharc.cjs
CHANGED
|
@@ -19,7 +19,40 @@ export function appendIntervalPropertyChangedToRevertibles(interval: SequenceInt
|
|
|
19
19
|
// @beta @legacy
|
|
20
20
|
export function appendSharedStringDeltaToRevertibles(string: ISharedString, delta: SequenceDeltaEvent, revertibles: SharedStringRevertible[]): void;
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
// @beta @legacy (undocumented)
|
|
23
|
+
export abstract class BaseSegment implements ISegment {
|
|
24
|
+
constructor(properties?: PropertySet);
|
|
25
|
+
// (undocumented)
|
|
26
|
+
protected addSerializedProps(jseg: IJSONSegment): void;
|
|
27
|
+
// (undocumented)
|
|
28
|
+
append(other: ISegment): void;
|
|
29
|
+
// (undocumented)
|
|
30
|
+
attribution?: IAttributionCollection<AttributionKey>;
|
|
31
|
+
// (undocumented)
|
|
32
|
+
cachedLength: number;
|
|
33
|
+
// (undocumented)
|
|
34
|
+
canAppend(segment: ISegment): boolean;
|
|
35
|
+
// (undocumented)
|
|
36
|
+
abstract clone(): ISegment;
|
|
37
|
+
// (undocumented)
|
|
38
|
+
protected cloneInto(b: ISegment): void;
|
|
39
|
+
// (undocumented)
|
|
40
|
+
protected abstract createSplitSegmentAt(pos: number): BaseSegment | undefined;
|
|
41
|
+
// (undocumented)
|
|
42
|
+
hasProperty(key: string): boolean;
|
|
43
|
+
// (undocumented)
|
|
44
|
+
isLeaf(): this is ISegment;
|
|
45
|
+
// (undocumented)
|
|
46
|
+
properties?: PropertySet;
|
|
47
|
+
// (undocumented)
|
|
48
|
+
splitAt(pos: number): ISegment | undefined;
|
|
49
|
+
// (undocumented)
|
|
50
|
+
abstract toJSONObject(): any;
|
|
51
|
+
// (undocumented)
|
|
52
|
+
readonly trackingCollection: TrackingGroupCollection;
|
|
53
|
+
// (undocumented)
|
|
54
|
+
abstract readonly type: string;
|
|
55
|
+
}
|
|
23
56
|
|
|
24
57
|
// @beta @legacy (undocumented)
|
|
25
58
|
export function createOverlappingIntervalsIndex(sharedString: ISharedString): ISequenceOverlappingIntervalsIndex;
|
|
@@ -39,7 +72,13 @@ export interface IInterval {
|
|
|
39
72
|
overlaps(b: IInterval): boolean;
|
|
40
73
|
}
|
|
41
74
|
|
|
42
|
-
|
|
75
|
+
// @beta @legacy
|
|
76
|
+
export interface InteriorSequencePlace {
|
|
77
|
+
// (undocumented)
|
|
78
|
+
pos: number;
|
|
79
|
+
// (undocumented)
|
|
80
|
+
side: Side;
|
|
81
|
+
}
|
|
43
82
|
|
|
44
83
|
// @beta @legacy
|
|
45
84
|
export const IntervalOpType: {
|
|
@@ -105,7 +144,28 @@ export enum IntervalType {
|
|
|
105
144
|
SlideOnRemove = 2,// SlideOnRemove is default behavior - all intervals are SlideOnRemove
|
|
106
145
|
}
|
|
107
146
|
|
|
108
|
-
|
|
147
|
+
// @beta @legacy
|
|
148
|
+
export interface ISegment {
|
|
149
|
+
// (undocumented)
|
|
150
|
+
append(segment: ISegment): void;
|
|
151
|
+
attribution?: IAttributionCollection<AttributionKey>;
|
|
152
|
+
cachedLength: number;
|
|
153
|
+
// (undocumented)
|
|
154
|
+
canAppend(segment: ISegment): boolean;
|
|
155
|
+
// (undocumented)
|
|
156
|
+
clone(): ISegment;
|
|
157
|
+
// (undocumented)
|
|
158
|
+
isLeaf(): this is ISegment;
|
|
159
|
+
properties?: PropertySet;
|
|
160
|
+
// (undocumented)
|
|
161
|
+
splitAt(pos: number): ISegment | undefined;
|
|
162
|
+
// (undocumented)
|
|
163
|
+
toJSONObject(): any;
|
|
164
|
+
// (undocumented)
|
|
165
|
+
readonly trackingCollection: TrackingGroupCollection;
|
|
166
|
+
// (undocumented)
|
|
167
|
+
readonly type: string;
|
|
168
|
+
}
|
|
109
169
|
|
|
110
170
|
// @beta @legacy
|
|
111
171
|
export interface ISequenceDeltaRange<TOperation extends MergeTreeDeltaOperationTypes = MergeTreeDeltaOperationTypes> {
|
|
@@ -250,21 +310,102 @@ export interface ISharedString extends ISharedSegmentSequence<SharedStringSegmen
|
|
|
250
310
|
searchForMarker(startPos: number, markerLabel: string, forwards?: boolean): Marker | undefined;
|
|
251
311
|
}
|
|
252
312
|
|
|
253
|
-
|
|
313
|
+
// @beta @sealed @legacy (undocumented)
|
|
314
|
+
export interface LocalReferencePosition extends ReferencePosition {
|
|
315
|
+
// (undocumented)
|
|
316
|
+
addProperties(newProps: PropertySet): void;
|
|
317
|
+
// (undocumented)
|
|
318
|
+
callbacks?: Partial<Record<"beforeSlide" | "afterSlide", (ref: LocalReferencePosition) => void>>;
|
|
319
|
+
readonly canSlideToEndpoint?: boolean;
|
|
320
|
+
// (undocumented)
|
|
321
|
+
readonly trackingCollection: TrackingGroupCollection;
|
|
322
|
+
}
|
|
254
323
|
|
|
255
|
-
|
|
324
|
+
// @beta @legacy
|
|
325
|
+
export interface MapLike<T> {
|
|
326
|
+
// (undocumented)
|
|
327
|
+
[index: string]: T;
|
|
328
|
+
}
|
|
256
329
|
|
|
257
|
-
|
|
330
|
+
// @beta @legacy
|
|
331
|
+
export class Marker extends BaseSegment implements ReferencePosition, ISegment {
|
|
332
|
+
constructor(refType: ReferenceType, props?: PropertySet);
|
|
333
|
+
// (undocumented)
|
|
334
|
+
append(): void;
|
|
335
|
+
// (undocumented)
|
|
336
|
+
canAppend(segment: ISegment): boolean;
|
|
337
|
+
// (undocumented)
|
|
338
|
+
clone(): Marker;
|
|
339
|
+
// (undocumented)
|
|
340
|
+
protected createSplitSegmentAt(pos: number): undefined;
|
|
341
|
+
// (undocumented)
|
|
342
|
+
static fromJSONObject(spec: IJSONSegment): Marker | undefined;
|
|
343
|
+
// (undocumented)
|
|
344
|
+
getId(): string | undefined;
|
|
345
|
+
// (undocumented)
|
|
346
|
+
getOffset(): number;
|
|
347
|
+
// (undocumented)
|
|
348
|
+
getProperties(): PropertySet | undefined;
|
|
349
|
+
// (undocumented)
|
|
350
|
+
getSegment(): Marker;
|
|
351
|
+
// (undocumented)
|
|
352
|
+
static is(segment: ISegment): segment is Marker;
|
|
353
|
+
// (undocumented)
|
|
354
|
+
static make(refType: ReferenceType, props?: PropertySet): Marker;
|
|
355
|
+
// (undocumented)
|
|
356
|
+
refType: ReferenceType;
|
|
357
|
+
// (undocumented)
|
|
358
|
+
toJSONObject(): IJSONMarkerSegment;
|
|
359
|
+
// (undocumented)
|
|
360
|
+
toString(): string;
|
|
361
|
+
// (undocumented)
|
|
362
|
+
static readonly type = "Marker";
|
|
363
|
+
// (undocumented)
|
|
364
|
+
readonly type = "Marker";
|
|
365
|
+
}
|
|
258
366
|
|
|
259
|
-
|
|
367
|
+
// @beta @legacy (undocumented)
|
|
368
|
+
export const MergeTreeDeltaType: {
|
|
369
|
+
readonly INSERT: 0;
|
|
370
|
+
readonly REMOVE: 1;
|
|
371
|
+
readonly ANNOTATE: 2;
|
|
372
|
+
readonly GROUP: 3;
|
|
373
|
+
readonly OBLITERATE: 4;
|
|
374
|
+
readonly OBLITERATE_SIDED: 5;
|
|
375
|
+
};
|
|
260
376
|
|
|
261
|
-
|
|
377
|
+
// @beta @legacy (undocumented)
|
|
378
|
+
export type MergeTreeDeltaType = (typeof MergeTreeDeltaType)[keyof typeof MergeTreeDeltaType];
|
|
262
379
|
|
|
263
|
-
|
|
380
|
+
// @beta @legacy
|
|
381
|
+
export type PropertySet = MapLike<any>;
|
|
264
382
|
|
|
265
|
-
|
|
383
|
+
// @beta @legacy
|
|
384
|
+
export interface ReferencePosition {
|
|
385
|
+
getOffset(): number;
|
|
386
|
+
getSegment(): ISegment | undefined;
|
|
387
|
+
// (undocumented)
|
|
388
|
+
isLeaf(): this is ISegment;
|
|
389
|
+
properties?: PropertySet;
|
|
390
|
+
// (undocumented)
|
|
391
|
+
refType: ReferenceType;
|
|
392
|
+
slidingPreference?: SlidingPreference;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
// @beta @legacy
|
|
396
|
+
export enum ReferenceType {
|
|
397
|
+
RangeBegin = 16,
|
|
398
|
+
RangeEnd = 32,
|
|
399
|
+
// (undocumented)
|
|
400
|
+
Simple = 0,
|
|
401
|
+
SlideOnRemove = 64,
|
|
402
|
+
StayOnRemove = 128,
|
|
403
|
+
Tile = 1,
|
|
404
|
+
Transient = 256
|
|
405
|
+
}
|
|
266
406
|
|
|
267
|
-
|
|
407
|
+
// @beta @legacy
|
|
408
|
+
export const reservedMarkerIdKey = "markerId";
|
|
268
409
|
|
|
269
410
|
// @beta @legacy
|
|
270
411
|
export function revertSharedStringRevertibles(sharedString: ISharedString, revertibles: SharedStringRevertible[]): void;
|
|
@@ -324,7 +465,8 @@ export interface SequenceMaintenanceEvent extends SequenceEvent<MergeTreeMainten
|
|
|
324
465
|
readonly opArgs: IMergeTreeDeltaOpArgs | undefined;
|
|
325
466
|
}
|
|
326
467
|
|
|
327
|
-
|
|
468
|
+
// @beta @legacy
|
|
469
|
+
export type SequencePlace = number | "start" | "end" | InteriorSequencePlace;
|
|
328
470
|
|
|
329
471
|
// @beta @legacy
|
|
330
472
|
export const SharedString: ISharedObjectKind<ISharedString> & SharedObjectKind<ISharedString>;
|
|
@@ -338,10 +480,56 @@ export type SharedStringRevertible = MergeTreeDeltaRevertible | IntervalRevertib
|
|
|
338
480
|
// @beta @legacy (undocumented)
|
|
339
481
|
export type SharedStringSegment = TextSegment | Marker;
|
|
340
482
|
|
|
341
|
-
|
|
483
|
+
// @beta @legacy
|
|
484
|
+
export enum Side {
|
|
485
|
+
// (undocumented)
|
|
486
|
+
After = 1,
|
|
487
|
+
// (undocumented)
|
|
488
|
+
Before = 0
|
|
489
|
+
}
|
|
342
490
|
|
|
343
|
-
|
|
491
|
+
// @beta @legacy (undocumented)
|
|
492
|
+
export class TextSegment extends BaseSegment {
|
|
493
|
+
constructor(text: string, props?: PropertySet);
|
|
494
|
+
// (undocumented)
|
|
495
|
+
append(segment: ISegment): void;
|
|
496
|
+
// (undocumented)
|
|
497
|
+
canAppend(segment: ISegment): boolean;
|
|
498
|
+
// (undocumented)
|
|
499
|
+
clone(start?: number, end?: number): TextSegment;
|
|
500
|
+
// (undocumented)
|
|
501
|
+
protected createSplitSegmentAt(pos: number): TextSegment | undefined;
|
|
502
|
+
// (undocumented)
|
|
503
|
+
static fromJSONObject(spec: string | IJSONSegment): TextSegment | undefined;
|
|
504
|
+
// (undocumented)
|
|
505
|
+
static is(segment: ISegment): segment is TextSegment;
|
|
506
|
+
// (undocumented)
|
|
507
|
+
static make(text: string, props?: PropertySet): TextSegment;
|
|
508
|
+
// (undocumented)
|
|
509
|
+
text: string;
|
|
510
|
+
// (undocumented)
|
|
511
|
+
toJSONObject(): IJSONTextSegment | string;
|
|
512
|
+
// (undocumented)
|
|
513
|
+
toString(): string;
|
|
514
|
+
// (undocumented)
|
|
515
|
+
static readonly type = "TextSegment";
|
|
516
|
+
// (undocumented)
|
|
517
|
+
readonly type = "TextSegment";
|
|
518
|
+
}
|
|
344
519
|
|
|
345
|
-
|
|
520
|
+
// @beta @legacy (undocumented)
|
|
521
|
+
export class TrackingGroup implements ITrackingGroup {
|
|
522
|
+
constructor();
|
|
523
|
+
// (undocumented)
|
|
524
|
+
has(trackable: Trackable): boolean;
|
|
525
|
+
// (undocumented)
|
|
526
|
+
link(trackable: Trackable): void;
|
|
527
|
+
// (undocumented)
|
|
528
|
+
get size(): number;
|
|
529
|
+
// (undocumented)
|
|
530
|
+
get tracked(): readonly Trackable[];
|
|
531
|
+
// (undocumented)
|
|
532
|
+
unlink(trackable: Trackable): boolean;
|
|
533
|
+
}
|
|
346
534
|
|
|
347
535
|
```
|
package/dist/legacy.d.ts
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
24
|
export {
|
|
25
|
-
// @
|
|
25
|
+
// #region @legacyBeta APIs
|
|
26
26
|
BaseSegment,
|
|
27
27
|
DeserializeCallback,
|
|
28
28
|
IInterval,
|
|
@@ -68,4 +68,5 @@ export {
|
|
|
68
68
|
discardSharedStringRevertibles,
|
|
69
69
|
reservedMarkerIdKey,
|
|
70
70
|
revertSharedStringRevertibles
|
|
71
|
+
// #endregion
|
|
71
72
|
} from "./index.js";
|
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/sequence";
|
|
8
|
-
export declare const pkgVersion = "2.
|
|
8
|
+
export declare const pkgVersion = "2.61.0-355516";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,6BAA6B,CAAC;AAClD,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,6BAA6B,CAAC;AAClD,eAAO,MAAM,UAAU,kBAAkB,CAAC"}
|
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/sequence";
|
|
11
|
-
exports.pkgVersion = "2.
|
|
11
|
+
exports.pkgVersion = "2.61.0-355516";
|
|
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,0BAA0B,CAAC;AACrC,QAAA,UAAU,GAAG,
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,0BAA0B,CAAC;AACrC,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/sequence\";\nexport const pkgVersion = \"2.61.0-355516\";\n"]}
|
package/lib/legacy.d.ts
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
24
|
export {
|
|
25
|
-
// @
|
|
25
|
+
// #region @legacyBeta APIs
|
|
26
26
|
BaseSegment,
|
|
27
27
|
DeserializeCallback,
|
|
28
28
|
IInterval,
|
|
@@ -68,4 +68,5 @@ export {
|
|
|
68
68
|
discardSharedStringRevertibles,
|
|
69
69
|
reservedMarkerIdKey,
|
|
70
70
|
revertSharedStringRevertibles
|
|
71
|
+
// #endregion
|
|
71
72
|
} from "./index.js";
|
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/sequence";
|
|
8
|
-
export declare const pkgVersion = "2.
|
|
8
|
+
export declare const pkgVersion = "2.61.0-355516";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,6BAA6B,CAAC;AAClD,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,6BAA6B,CAAC;AAClD,eAAO,MAAM,UAAU,kBAAkB,CAAC"}
|
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,0BAA0B,CAAC;AAClD,MAAM,CAAC,MAAM,UAAU,GAAG,
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,0BAA0B,CAAC;AAClD,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/sequence\";\nexport const pkgVersion = \"2.61.0-355516\";\n"]}
|
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/sequence",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.61.0-355516",
|
|
4
4
|
"description": "Distributed sequence",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -91,39 +91,39 @@
|
|
|
91
91
|
"temp-directory": "nyc/.nyc_output"
|
|
92
92
|
},
|
|
93
93
|
"dependencies": {
|
|
94
|
-
"@fluid-internal/client-utils": "
|
|
95
|
-
"@fluidframework/core-interfaces": "
|
|
96
|
-
"@fluidframework/core-utils": "
|
|
97
|
-
"@fluidframework/datastore-definitions": "
|
|
98
|
-
"@fluidframework/driver-definitions": "
|
|
99
|
-
"@fluidframework/merge-tree": "
|
|
100
|
-
"@fluidframework/runtime-definitions": "
|
|
101
|
-
"@fluidframework/runtime-utils": "
|
|
102
|
-
"@fluidframework/shared-object-base": "
|
|
103
|
-
"@fluidframework/telemetry-utils": "
|
|
94
|
+
"@fluid-internal/client-utils": "2.61.0-355516",
|
|
95
|
+
"@fluidframework/core-interfaces": "2.61.0-355516",
|
|
96
|
+
"@fluidframework/core-utils": "2.61.0-355516",
|
|
97
|
+
"@fluidframework/datastore-definitions": "2.61.0-355516",
|
|
98
|
+
"@fluidframework/driver-definitions": "2.61.0-355516",
|
|
99
|
+
"@fluidframework/merge-tree": "2.61.0-355516",
|
|
100
|
+
"@fluidframework/runtime-definitions": "2.61.0-355516",
|
|
101
|
+
"@fluidframework/runtime-utils": "2.61.0-355516",
|
|
102
|
+
"@fluidframework/shared-object-base": "2.61.0-355516",
|
|
103
|
+
"@fluidframework/telemetry-utils": "2.61.0-355516",
|
|
104
104
|
"double-ended-queue": "^2.1.0-0",
|
|
105
105
|
"uuid": "^11.1.0"
|
|
106
106
|
},
|
|
107
107
|
"devDependencies": {
|
|
108
108
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
109
109
|
"@biomejs/biome": "~1.9.3",
|
|
110
|
-
"@fluid-internal/mocha-test-setup": "
|
|
111
|
-
"@fluid-private/stochastic-test-utils": "
|
|
112
|
-
"@fluid-private/test-dds-utils": "
|
|
110
|
+
"@fluid-internal/mocha-test-setup": "2.61.0-355516",
|
|
111
|
+
"@fluid-private/stochastic-test-utils": "2.61.0-355516",
|
|
112
|
+
"@fluid-private/test-dds-utils": "2.61.0-355516",
|
|
113
113
|
"@fluid-tools/benchmark": "^0.51.0",
|
|
114
|
-
"@fluid-tools/build-cli": "^0.
|
|
114
|
+
"@fluid-tools/build-cli": "^0.58.1",
|
|
115
115
|
"@fluidframework/build-common": "^2.0.3",
|
|
116
|
-
"@fluidframework/build-tools": "^0.
|
|
117
|
-
"@fluidframework/container-definitions": "
|
|
116
|
+
"@fluidframework/build-tools": "^0.58.1",
|
|
117
|
+
"@fluidframework/container-definitions": "2.61.0-355516",
|
|
118
118
|
"@fluidframework/eslint-config-fluid": "^6.0.0",
|
|
119
|
-
"@fluidframework/sequence-previous": "npm:@fluidframework/sequence@2.
|
|
120
|
-
"@fluidframework/test-runtime-utils": "
|
|
121
|
-
"@microsoft/api-extractor": "7.52.
|
|
119
|
+
"@fluidframework/sequence-previous": "npm:@fluidframework/sequence@2.60.0",
|
|
120
|
+
"@fluidframework/test-runtime-utils": "2.61.0-355516",
|
|
121
|
+
"@microsoft/api-extractor": "7.52.11",
|
|
122
122
|
"@types/diff": "^3.5.1",
|
|
123
123
|
"@types/double-ended-queue": "^2.1.0",
|
|
124
124
|
"@types/mocha": "^10.0.10",
|
|
125
125
|
"@types/node": "^18.19.0",
|
|
126
|
-
"c8": "^
|
|
126
|
+
"c8": "^10.1.3",
|
|
127
127
|
"concurrently": "^8.2.1",
|
|
128
128
|
"copyfiles": "^2.4.1",
|
|
129
129
|
"cross-env": "^7.0.3",
|
|
@@ -144,30 +144,13 @@
|
|
|
144
144
|
}
|
|
145
145
|
},
|
|
146
146
|
"typeValidation": {
|
|
147
|
-
"broken": {
|
|
148
|
-
"Interface_IInterval": {
|
|
149
|
-
"backCompat": false
|
|
150
|
-
},
|
|
151
|
-
"Interface_ISerializableInterval": {
|
|
152
|
-
"backCompat": false,
|
|
153
|
-
"forwardCompat": false
|
|
154
|
-
},
|
|
155
|
-
"Interface_SequenceInterval": {
|
|
156
|
-
"backCompat": false
|
|
157
|
-
},
|
|
158
|
-
"TypeAlias_IntervalRevertible": {
|
|
159
|
-
"backCompat": false
|
|
160
|
-
},
|
|
161
|
-
"TypeAlias_SharedStringRevertible": {
|
|
162
|
-
"backCompat": false
|
|
163
|
-
}
|
|
164
|
-
},
|
|
147
|
+
"broken": {},
|
|
165
148
|
"entrypoint": "legacy"
|
|
166
149
|
},
|
|
167
150
|
"scripts": {
|
|
168
151
|
"api": "fluid-build . --task api",
|
|
169
|
-
"api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
|
|
170
|
-
"api-extractor:esnext": "flub generate entrypoints --outDir ./lib --node10TypeCompat",
|
|
152
|
+
"api-extractor:commonjs": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./dist",
|
|
153
|
+
"api-extractor:esnext": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat",
|
|
171
154
|
"build": "fluid-build . --task build",
|
|
172
155
|
"build:api-reports": "concurrently \"npm:build:api-reports:*\"",
|
|
173
156
|
"build:api-reports:current": "api-extractor run --local --config api-extractor/api-extractor.current.json",
|
|
@@ -209,10 +192,10 @@
|
|
|
209
192
|
"test:memory": "mocha --config src/test/memory/.mocharc.cjs",
|
|
210
193
|
"test:memory-profiling:report": "mocha --config src/test/memory/.mocharc.cjs",
|
|
211
194
|
"test:mocha": "npm run test:mocha:esm && echo skipping cjs to avoid overhead - npm run test:mocha:cjs",
|
|
212
|
-
"test:mocha:cjs": "
|
|
213
|
-
"test:mocha:esm": "mocha
|
|
195
|
+
"test:mocha:cjs": "cross-env MOCHA_SPEC=dist/test mocha",
|
|
196
|
+
"test:mocha:esm": "mocha",
|
|
214
197
|
"test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
|
|
215
|
-
"test:newsnapfiles": "node --conditions=allow-ff-test-exports lib/test/createSnapshotFiles.js",
|
|
198
|
+
"test:newsnapfiles": "node --conditions=allow-ff-test-exports lib/test/createSnapshotFiles.tool.js",
|
|
216
199
|
"test:stress": "cross-env FUZZ_TEST_COUNT=100 FUZZ_STRESS_RUN=normal mocha --ignore \"lib/test/memory/**/*\" --recursive \"lib/test/**/*.fuzz.spec.*js\" -r @fluid-internal/mocha-test-setup",
|
|
217
200
|
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
|
|
218
201
|
"typetests:gen": "flub generate typetests --dir . -v",
|
package/src/packageVersion.ts
CHANGED