@fluidframework/driver-base 2.0.0-dev-rc.2.0.0.246488 → 2.0.0-dev-rc.3.0.0.253463
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/api-report/driver-base.api.md +7 -5
- package/dist/documentDeltaConnection.d.ts +8 -5
- package/dist/documentDeltaConnection.d.ts.map +1 -1
- package/dist/documentDeltaConnection.js +28 -26
- package/dist/documentDeltaConnection.js.map +1 -1
- package/dist/driver-base-alpha.d.ts +3 -3
- package/dist/driver-base-beta.d.ts +3 -3
- package/dist/driver-base-public.d.ts +3 -3
- package/dist/driver-base-untrimmed.d.ts +6 -5
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/documentDeltaConnection.d.ts +8 -5
- package/lib/documentDeltaConnection.d.ts.map +1 -1
- package/lib/documentDeltaConnection.js +6 -4
- package/lib/documentDeltaConnection.js.map +1 -1
- package/lib/driver-base-alpha.d.ts +3 -3
- package/lib/driver-base-beta.d.ts +3 -3
- package/lib/driver-base-public.d.ts +3 -3
- package/lib/driver-base-untrimmed.d.ts +6 -5
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/tsdoc-metadata.json +11 -0
- package/package.json +15 -24
- package/src/documentDeltaConnection.ts +17 -12
- package/src/packageVersion.ts +1 -1
- package/lib/test/driverUtilsTests.spec.js +0 -101
- package/lib/test/driverUtilsTests.spec.js.map +0 -1
- package/lib/test/types/validateDriverBasePrevious.generated.js +0 -10
- package/lib/test/types/validateDriverBasePrevious.generated.js.map +0 -1
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*/
|
|
5
|
-
import { assert } from "@fluidframework/core-utils";
|
|
6
|
-
import { MockLogger } from "@fluidframework/telemetry-utils";
|
|
7
|
-
import { validateMessages } from "../driverUtils.js";
|
|
8
|
-
describe("driver utils tests", () => {
|
|
9
|
-
describe("validateMessagesTests", () => {
|
|
10
|
-
const mockLogger = new MockLogger();
|
|
11
|
-
const generateOps = (start, count) => {
|
|
12
|
-
const ops = [];
|
|
13
|
-
let i = 0;
|
|
14
|
-
while (i < count) {
|
|
15
|
-
ops.push({ sequenceNumber: start + i });
|
|
16
|
-
i++;
|
|
17
|
-
}
|
|
18
|
-
return ops;
|
|
19
|
-
};
|
|
20
|
-
beforeEach(() => {
|
|
21
|
-
mockLogger.clear();
|
|
22
|
-
});
|
|
23
|
-
it("from not equal to start", () => {
|
|
24
|
-
const ops = generateOps(1, 5);
|
|
25
|
-
validateMessages("test1", ops, 0, mockLogger.toTelemetryLogger(), true);
|
|
26
|
-
assert(ops.length === 0, "no ops should be returned");
|
|
27
|
-
assert(mockLogger.matchEventStrict([
|
|
28
|
-
{
|
|
29
|
-
eventName: "OpsFetchViolation",
|
|
30
|
-
reason: "test1",
|
|
31
|
-
from: 0,
|
|
32
|
-
start: 1,
|
|
33
|
-
last: 5,
|
|
34
|
-
length: 5,
|
|
35
|
-
details: JSON.stringify({
|
|
36
|
-
validLength: 0,
|
|
37
|
-
lastValidOpSeqNumber: undefined,
|
|
38
|
-
strict: true,
|
|
39
|
-
}),
|
|
40
|
-
},
|
|
41
|
-
]), "Ops fetch violation event not correctly recorded");
|
|
42
|
-
});
|
|
43
|
-
it("contiguous ops", () => {
|
|
44
|
-
const ops = generateOps(1, 5);
|
|
45
|
-
validateMessages("test2", ops, 1, mockLogger.toTelemetryLogger(), true);
|
|
46
|
-
assert(ops.length === 5, "ops should be returned");
|
|
47
|
-
assert(mockLogger.events.length === 0, "no events should be there");
|
|
48
|
-
});
|
|
49
|
-
it("non contiguous ops: strict = true", () => {
|
|
50
|
-
const ops = generateOps(1, 5);
|
|
51
|
-
// Change seq number of last op
|
|
52
|
-
ops[4].sequenceNumber = 7;
|
|
53
|
-
validateMessages("test", ops, 1, mockLogger.toTelemetryLogger(), true);
|
|
54
|
-
assert(ops.length === 0, "no ops should be returned as strict == true");
|
|
55
|
-
assert(mockLogger.matchEventStrict([
|
|
56
|
-
{
|
|
57
|
-
eventName: "OpsFetchViolation",
|
|
58
|
-
reason: "test",
|
|
59
|
-
from: 1,
|
|
60
|
-
start: 1,
|
|
61
|
-
last: 7,
|
|
62
|
-
length: 5,
|
|
63
|
-
details: JSON.stringify({
|
|
64
|
-
validLength: 0,
|
|
65
|
-
lastValidOpSeqNumber: undefined,
|
|
66
|
-
strict: true,
|
|
67
|
-
}),
|
|
68
|
-
},
|
|
69
|
-
]), "Ops fetch violation event not correctly recorded");
|
|
70
|
-
});
|
|
71
|
-
it("non contiguous ops: strict = false", () => {
|
|
72
|
-
const ops = generateOps(1, 5);
|
|
73
|
-
// Change seq number of last op
|
|
74
|
-
ops[4].sequenceNumber = 7;
|
|
75
|
-
validateMessages("test", ops, 1, mockLogger.toTelemetryLogger(), false);
|
|
76
|
-
assert(ops.length === 4, "some should be returned as strict == false");
|
|
77
|
-
assert(mockLogger.matchEventStrict([
|
|
78
|
-
{
|
|
79
|
-
eventName: "OpsFetchViolation",
|
|
80
|
-
reason: "test",
|
|
81
|
-
from: 1,
|
|
82
|
-
start: 1,
|
|
83
|
-
last: 7,
|
|
84
|
-
length: 5,
|
|
85
|
-
details: JSON.stringify({
|
|
86
|
-
validLength: 4,
|
|
87
|
-
lastValidOpSeqNumber: 4,
|
|
88
|
-
strict: false,
|
|
89
|
-
}),
|
|
90
|
-
},
|
|
91
|
-
]), "Ops fetch violation event not correctly recorded");
|
|
92
|
-
});
|
|
93
|
-
it("only 1 op: strict = false", () => {
|
|
94
|
-
const ops = generateOps(1, 1);
|
|
95
|
-
validateMessages("test", ops, 1, mockLogger.toTelemetryLogger(), false);
|
|
96
|
-
assert(ops.length === 1, "some should be returned as strict == false");
|
|
97
|
-
assert(mockLogger.events.length === 0, "no events should be there");
|
|
98
|
-
});
|
|
99
|
-
});
|
|
100
|
-
});
|
|
101
|
-
//# sourceMappingURL=driverUtilsTests.spec.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"driverUtilsTests.spec.js","sourceRoot":"","sources":["../../src/test/driverUtilsTests.spec.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,QAAQ,CAAC,oBAAoB,EAAE,GAAG,EAAE;IACnC,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;QACtC,MAAM,UAAU,GAAG,IAAI,UAAU,EAAE,CAAC;QACpC,MAAM,WAAW,GAAG,CAAC,KAAa,EAAE,KAAa,EAAE,EAAE;YACpD,MAAM,GAAG,GAAgC,EAAE,CAAC;YAC5C,IAAI,CAAC,GAAG,CAAC,CAAC;YACV,OAAO,CAAC,GAAG,KAAK,EAAE;gBACjB,GAAG,CAAC,IAAI,CAAC,EAAE,cAAc,EAAE,KAAK,GAAG,CAAC,EAAsC,CAAC,CAAC;gBAC5E,CAAC,EAAE,CAAC;aACJ;YACD,OAAO,GAAG,CAAC;QACZ,CAAC,CAAC;QAEF,UAAU,CAAC,GAAG,EAAE;YACf,UAAU,CAAC,KAAK,EAAE,CAAC;QACpB,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,yBAAyB,EAAE,GAAG,EAAE;YAClC,MAAM,GAAG,GAAG,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;YAC9B,gBAAgB,CAAC,OAAO,EAAE,GAAG,EAAE,CAAC,EAAE,UAAU,CAAC,iBAAiB,EAAE,EAAE,IAAI,CAAC,CAAC;YACxE,MAAM,CAAC,GAAG,CAAC,MAAM,KAAK,CAAC,EAAE,2BAA2B,CAAC,CAAC;Y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AgB,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,EAAE,UAAU,CAAC,iBAAiB,EAAE,EAAE,KAAK,CAAC,CAAC;YACxE,MAAM,CAAC,GAAG,CAAC,MAAM,KAAK,CAAC,EAAE,4CAA4C,CAAC,CAAC;YACvE,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE,2BAA2B,CAAC,CAAC;QACrE,CAAC,CAAC,CAAC;IACJ,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { assert } from \"@fluidframework/core-utils\";\nimport { MockLogger } from \"@fluidframework/telemetry-utils\";\nimport { ISequencedDocumentMessage } from \"@fluidframework/protocol-definitions\";\nimport { validateMessages } from \"../driverUtils.js\";\n\ndescribe(\"driver utils tests\", () => {\n\tdescribe(\"validateMessagesTests\", () => {\n\t\tconst mockLogger = new MockLogger();\n\t\tconst generateOps = (start: number, count: number) => {\n\t\t\tconst ops: ISequencedDocumentMessage[] = [];\n\t\t\tlet i = 0;\n\t\t\twhile (i < count) {\n\t\t\t\tops.push({ sequenceNumber: start + i } as any as ISequencedDocumentMessage);\n\t\t\t\ti++;\n\t\t\t}\n\t\t\treturn ops;\n\t\t};\n\n\t\tbeforeEach(() => {\n\t\t\tmockLogger.clear();\n\t\t});\n\n\t\tit(\"from not equal to start\", () => {\n\t\t\tconst ops = generateOps(1, 5);\n\t\t\tvalidateMessages(\"test1\", ops, 0, mockLogger.toTelemetryLogger(), true);\n\t\t\tassert(ops.length === 0, \"no ops should be returned\");\n\t\t\tassert(\n\t\t\t\tmockLogger.matchEventStrict([\n\t\t\t\t\t{\n\t\t\t\t\t\teventName: \"OpsFetchViolation\",\n\t\t\t\t\t\treason: \"test1\",\n\t\t\t\t\t\tfrom: 0,\n\t\t\t\t\t\tstart: 1,\n\t\t\t\t\t\tlast: 5,\n\t\t\t\t\t\tlength: 5,\n\t\t\t\t\t\tdetails: JSON.stringify({\n\t\t\t\t\t\t\tvalidLength: 0,\n\t\t\t\t\t\t\tlastValidOpSeqNumber: undefined,\n\t\t\t\t\t\t\tstrict: true,\n\t\t\t\t\t\t}),\n\t\t\t\t\t},\n\t\t\t\t]),\n\t\t\t\t\"Ops fetch violation event not correctly recorded\",\n\t\t\t);\n\t\t});\n\n\t\tit(\"contiguous ops\", () => {\n\t\t\tconst ops = generateOps(1, 5);\n\t\t\tvalidateMessages(\"test2\", ops, 1, mockLogger.toTelemetryLogger(), true);\n\t\t\tassert(ops.length === 5, \"ops should be returned\");\n\t\t\tassert(mockLogger.events.length === 0, \"no events should be there\");\n\t\t});\n\n\t\tit(\"non contiguous ops: strict = true\", () => {\n\t\t\tconst ops = generateOps(1, 5);\n\t\t\t// Change seq number of last op\n\t\t\tops[4].sequenceNumber = 7;\n\t\t\tvalidateMessages(\"test\", ops, 1, mockLogger.toTelemetryLogger(), true);\n\t\t\tassert(ops.length === 0, \"no ops should be returned as strict == true\");\n\t\t\tassert(\n\t\t\t\tmockLogger.matchEventStrict([\n\t\t\t\t\t{\n\t\t\t\t\t\teventName: \"OpsFetchViolation\",\n\t\t\t\t\t\treason: \"test\",\n\t\t\t\t\t\tfrom: 1,\n\t\t\t\t\t\tstart: 1,\n\t\t\t\t\t\tlast: 7,\n\t\t\t\t\t\tlength: 5,\n\t\t\t\t\t\tdetails: JSON.stringify({\n\t\t\t\t\t\t\tvalidLength: 0,\n\t\t\t\t\t\t\tlastValidOpSeqNumber: undefined,\n\t\t\t\t\t\t\tstrict: true,\n\t\t\t\t\t\t}),\n\t\t\t\t\t},\n\t\t\t\t]),\n\t\t\t\t\"Ops fetch violation event not correctly recorded\",\n\t\t\t);\n\t\t});\n\n\t\tit(\"non contiguous ops: strict = false\", () => {\n\t\t\tconst ops = generateOps(1, 5);\n\t\t\t// Change seq number of last op\n\t\t\tops[4].sequenceNumber = 7;\n\t\t\tvalidateMessages(\"test\", ops, 1, mockLogger.toTelemetryLogger(), false);\n\t\t\tassert(ops.length === 4, \"some should be returned as strict == false\");\n\t\t\tassert(\n\t\t\t\tmockLogger.matchEventStrict([\n\t\t\t\t\t{\n\t\t\t\t\t\teventName: \"OpsFetchViolation\",\n\t\t\t\t\t\treason: \"test\",\n\t\t\t\t\t\tfrom: 1,\n\t\t\t\t\t\tstart: 1,\n\t\t\t\t\t\tlast: 7,\n\t\t\t\t\t\tlength: 5,\n\t\t\t\t\t\tdetails: JSON.stringify({\n\t\t\t\t\t\t\tvalidLength: 4,\n\t\t\t\t\t\t\tlastValidOpSeqNumber: 4,\n\t\t\t\t\t\t\tstrict: false,\n\t\t\t\t\t\t}),\n\t\t\t\t\t},\n\t\t\t\t]),\n\t\t\t\t\"Ops fetch violation event not correctly recorded\",\n\t\t\t);\n\t\t});\n\n\t\tit(\"only 1 op: strict = false\", () => {\n\t\t\tconst ops = generateOps(1, 1);\n\t\t\tvalidateMessages(\"test\", ops, 1, mockLogger.toTelemetryLogger(), false);\n\t\t\tassert(ops.length === 1, \"some should be returned as strict == false\");\n\t\t\tassert(mockLogger.events.length === 0, \"no events should be there\");\n\t\t});\n\t});\n});\n"]}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
use_current_ClassDeclaration_DocumentDeltaConnection(get_old_ClassDeclaration_DocumentDeltaConnection());
|
|
2
|
-
use_old_ClassDeclaration_DocumentDeltaConnection(get_current_ClassDeclaration_DocumentDeltaConnection());
|
|
3
|
-
use_current_FunctionDeclaration_getW3CData(get_old_FunctionDeclaration_getW3CData());
|
|
4
|
-
use_old_FunctionDeclaration_getW3CData(get_current_FunctionDeclaration_getW3CData());
|
|
5
|
-
use_current_FunctionDeclaration_promiseRaceWithWinner(get_old_FunctionDeclaration_promiseRaceWithWinner());
|
|
6
|
-
use_old_FunctionDeclaration_promiseRaceWithWinner(get_current_FunctionDeclaration_promiseRaceWithWinner());
|
|
7
|
-
use_current_FunctionDeclaration_validateMessages(get_old_FunctionDeclaration_validateMessages());
|
|
8
|
-
use_old_FunctionDeclaration_validateMessages(get_current_FunctionDeclaration_validateMessages());
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=validateDriverBasePrevious.generated.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validateDriverBasePrevious.generated.js","sourceRoot":"","sources":["../../../src/test/types/validateDriverBasePrevious.generated.ts"],"names":[],"mappings":"AAgCA,oDAAoD,CAChD,gDAAgD,EAAE,CAAC,CAAC;AAWxD,gDAAgD,CAC5C,oDAAoD,EAAE,CAAC,CAAC;AAW5D,0CAA0C,CACtC,sCAAsC,EAAE,CAAC,CAAC;AAW9C,sCAAsC,CAClC,0CAA0C,EAAE,CAAC,CAAC;AAWlD,qDAAqD,CACjD,iDAAiD,EAAE,CAAC,CAAC;AAWzD,iDAAiD,CAC7C,qDAAqD,EAAE,CAAC,CAAC;AAW7D,gDAAgD,CAC5C,4CAA4C,EAAE,CAAC,CAAC;AAWpD,4CAA4C,CACxC,gDAAgD,EAAE,CAAC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/*\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.\n * Generated by fluid-type-test-generator in @fluidframework/build-tools.\n */\nimport type * as old from \"@fluidframework/driver-base-previous\";\nimport type * as current from \"../../index.js\";\n\n\n// See 'build-tools/src/type-test-generator/compatibility.ts' for more information.\ntype TypeOnly<T> = T extends number\n\t? number\n\t: T extends string\n\t? string\n\t: T extends boolean | bigint | symbol\n\t? T\n\t: {\n\t\t\t[P in keyof T]: TypeOnly<T[P]>;\n\t };\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_DocumentDeltaConnection\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_ClassDeclaration_DocumentDeltaConnection():\n TypeOnly<old.DocumentDeltaConnection>;\ndeclare function use_current_ClassDeclaration_DocumentDeltaConnection(\n use: TypeOnly<current.DocumentDeltaConnection>): void;\nuse_current_ClassDeclaration_DocumentDeltaConnection(\n get_old_ClassDeclaration_DocumentDeltaConnection());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_DocumentDeltaConnection\": {\"backCompat\": false}\n*/\ndeclare function get_current_ClassDeclaration_DocumentDeltaConnection():\n TypeOnly<current.DocumentDeltaConnection>;\ndeclare function use_old_ClassDeclaration_DocumentDeltaConnection(\n use: TypeOnly<old.DocumentDeltaConnection>): void;\nuse_old_ClassDeclaration_DocumentDeltaConnection(\n get_current_ClassDeclaration_DocumentDeltaConnection());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_getW3CData\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_FunctionDeclaration_getW3CData():\n TypeOnly<typeof old.getW3CData>;\ndeclare function use_current_FunctionDeclaration_getW3CData(\n use: TypeOnly<typeof current.getW3CData>): void;\nuse_current_FunctionDeclaration_getW3CData(\n get_old_FunctionDeclaration_getW3CData());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_getW3CData\": {\"backCompat\": false}\n*/\ndeclare function get_current_FunctionDeclaration_getW3CData():\n TypeOnly<typeof current.getW3CData>;\ndeclare function use_old_FunctionDeclaration_getW3CData(\n use: TypeOnly<typeof old.getW3CData>): void;\nuse_old_FunctionDeclaration_getW3CData(\n get_current_FunctionDeclaration_getW3CData());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_promiseRaceWithWinner\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_FunctionDeclaration_promiseRaceWithWinner():\n TypeOnly<typeof old.promiseRaceWithWinner>;\ndeclare function use_current_FunctionDeclaration_promiseRaceWithWinner(\n use: TypeOnly<typeof current.promiseRaceWithWinner>): void;\nuse_current_FunctionDeclaration_promiseRaceWithWinner(\n get_old_FunctionDeclaration_promiseRaceWithWinner());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_promiseRaceWithWinner\": {\"backCompat\": false}\n*/\ndeclare function get_current_FunctionDeclaration_promiseRaceWithWinner():\n TypeOnly<typeof current.promiseRaceWithWinner>;\ndeclare function use_old_FunctionDeclaration_promiseRaceWithWinner(\n use: TypeOnly<typeof old.promiseRaceWithWinner>): void;\nuse_old_FunctionDeclaration_promiseRaceWithWinner(\n get_current_FunctionDeclaration_promiseRaceWithWinner());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_validateMessages\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_FunctionDeclaration_validateMessages():\n TypeOnly<typeof old.validateMessages>;\ndeclare function use_current_FunctionDeclaration_validateMessages(\n use: TypeOnly<typeof current.validateMessages>): void;\nuse_current_FunctionDeclaration_validateMessages(\n get_old_FunctionDeclaration_validateMessages());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_validateMessages\": {\"backCompat\": false}\n*/\ndeclare function get_current_FunctionDeclaration_validateMessages():\n TypeOnly<typeof current.validateMessages>;\ndeclare function use_old_FunctionDeclaration_validateMessages(\n use: TypeOnly<typeof old.validateMessages>): void;\nuse_old_FunctionDeclaration_validateMessages(\n get_current_FunctionDeclaration_validateMessages());\n"]}
|