@fluidframework/debugger 2.0.0-dev-rc.2.0.0.246488 → 2.0.0-dev-rc.3.0.0.250606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fluidDebuggerController.d.ts.map +1 -1
- package/dist/fluidDebuggerController.js.map +1 -1
- package/dist/messageSchema.d.ts +0 -6
- package/dist/messageSchema.d.ts.map +1 -1
- package/dist/messageSchema.js +1 -2
- package/dist/messageSchema.js.map +1 -1
- package/dist/sanitize.js +12 -12
- package/dist/sanitize.js.map +1 -1
- package/dist/sanitizer.d.ts +1 -15
- package/dist/sanitizer.d.ts.map +1 -1
- package/dist/sanitizer.js +1 -1
- package/dist/sanitizer.js.map +1 -1
- package/lib/fluidDebuggerController.d.ts.map +1 -1
- package/lib/fluidDebuggerController.js.map +1 -1
- package/lib/messageSchema.d.ts +0 -6
- package/lib/messageSchema.d.ts.map +1 -1
- package/lib/messageSchema.js +1 -2
- package/lib/messageSchema.js.map +1 -1
- package/lib/sanitize.js +2 -2
- package/lib/sanitize.js.map +1 -1
- package/lib/sanitizer.d.ts +1 -15
- package/lib/sanitizer.d.ts.map +1 -1
- package/lib/sanitizer.js +2 -2
- package/lib/sanitizer.js.map +1 -1
- package/package.json +13 -10
- package/src/fluidDebuggerController.ts +1 -1
- package/src/messageSchema.ts +1 -2
- package/src/sanitize.ts +2 -2
- package/src/sanitizer.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/debugger",
|
|
3
|
-
"version": "2.0.0-dev-rc.
|
|
3
|
+
"version": "2.0.0-dev-rc.3.0.0.250606",
|
|
4
4
|
"description": "Fluid Debugger - a tool to play through history of a file",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -57,15 +57,16 @@
|
|
|
57
57
|
"main": "dist/index.js",
|
|
58
58
|
"types": "dist/index.d.ts",
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@fluidframework/core-utils": "2.0.0-dev-rc.
|
|
61
|
-
"@fluidframework/driver-definitions": "2.0.0-dev-rc.
|
|
62
|
-
"@fluidframework/driver-utils": "2.0.0-dev-rc.
|
|
60
|
+
"@fluidframework/core-utils": "2.0.0-dev-rc.3.0.0.250606",
|
|
61
|
+
"@fluidframework/driver-definitions": "2.0.0-dev-rc.3.0.0.250606",
|
|
62
|
+
"@fluidframework/driver-utils": "2.0.0-dev-rc.3.0.0.250606",
|
|
63
63
|
"@fluidframework/protocol-definitions": "^3.2.0",
|
|
64
|
-
"@fluidframework/replay-driver": "2.0.0-dev-rc.
|
|
64
|
+
"@fluidframework/replay-driver": "2.0.0-dev-rc.3.0.0.250606",
|
|
65
65
|
"jsonschema": "^1.2.6"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@arethetypeswrong/cli": "^0.13.3",
|
|
69
|
+
"@biomejs/biome": "^1.6.2",
|
|
69
70
|
"@fluid-tools/build-cli": "^0.34.0",
|
|
70
71
|
"@fluidframework/build-common": "^2.0.3",
|
|
71
72
|
"@fluidframework/build-tools": "^0.34.0",
|
|
@@ -111,16 +112,18 @@
|
|
|
111
112
|
"build:docs": "fluid-build . --task api",
|
|
112
113
|
"build:esnext": "tsc --project ./tsconfig.json",
|
|
113
114
|
"check:are-the-types-wrong": "attw --pack . --entrypoints .",
|
|
115
|
+
"check:biome": "biome check .",
|
|
116
|
+
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
|
|
114
117
|
"check:release-tags": "api-extractor run --local --config ./api-extractor-lint.json",
|
|
115
118
|
"ci:build:docs": "api-extractor run",
|
|
116
119
|
"clean": "rimraf --glob dist lib \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
|
|
117
120
|
"eslint": "eslint --format stylish src",
|
|
118
121
|
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
119
|
-
"format": "
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
122
|
+
"format": "fluid-build --task format .",
|
|
123
|
+
"format:biome": "biome check --apply .",
|
|
124
|
+
"format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
|
|
125
|
+
"lint": "fluid-build . --task lint",
|
|
126
|
+
"lint:fix": "fluid-build . --task eslint:fix --task format",
|
|
124
127
|
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
|
|
125
128
|
"typetests:gen": "fluid-type-test-generator",
|
|
126
129
|
"typetests:prepare": "flub typetests --dir . --reset --previous --normalize"
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
import { assert, Deferred } from "@fluidframework/core-utils";
|
|
7
7
|
import {
|
|
8
|
+
IDocumentDeltaStorageService,
|
|
8
9
|
IDocumentService,
|
|
9
10
|
IDocumentStorageService,
|
|
10
|
-
IDocumentDeltaStorageService,
|
|
11
11
|
} from "@fluidframework/driver-definitions";
|
|
12
12
|
import { readAndParse } from "@fluidframework/driver-utils";
|
|
13
13
|
import {
|
package/src/messageSchema.ts
CHANGED
|
@@ -150,10 +150,9 @@ export const chunkedOpContentsSchema = {
|
|
|
150
150
|
properties: {
|
|
151
151
|
chunkId: { type: "number" },
|
|
152
152
|
contents: { type: "string" },
|
|
153
|
-
originalType: { type: "string" },
|
|
154
153
|
totalChunks: { type: "number" },
|
|
155
154
|
},
|
|
156
|
-
required: ["chunkId", "contents", "
|
|
155
|
+
required: ["chunkId", "contents", "totalChunks"],
|
|
157
156
|
additionalProperties: false,
|
|
158
157
|
};
|
|
159
158
|
|
package/src/sanitize.ts
CHANGED
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
* Messages must match known structures when scrubbing for Fluid Preview.
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
|
-
import fs from "fs";
|
|
22
|
-
import process from "process";
|
|
21
|
+
import fs from "node:fs";
|
|
22
|
+
import process from "node:process";
|
|
23
23
|
import { ISequencedDocumentMessage } from "@fluidframework/protocol-definitions";
|
|
24
24
|
import { Sanitizer } from "./sanitizer.js";
|
|
25
25
|
|
package/src/sanitizer.ts
CHANGED
|
@@ -18,19 +18,19 @@
|
|
|
18
18
|
* Messages must match known structures when scrubbing for Fluid Preview.
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
|
-
import * as Validator from "jsonschema";
|
|
22
21
|
import { assert } from "@fluidframework/core-utils";
|
|
23
22
|
import { ISequencedDocumentMessage } from "@fluidframework/protocol-definitions";
|
|
23
|
+
import * as Validator from "jsonschema";
|
|
24
24
|
import {
|
|
25
25
|
attachContentsSchema,
|
|
26
26
|
chunkedOpContentsSchema,
|
|
27
27
|
joinContentsSchema,
|
|
28
28
|
joinDataSchema,
|
|
29
29
|
opContentsMapSchema,
|
|
30
|
-
opContentsSchema,
|
|
31
30
|
opContentsMergeTreeDeltaOpSchema,
|
|
32
31
|
opContentsMergeTreeGroupOpSchema,
|
|
33
32
|
opContentsRegisterCollectionSchema,
|
|
33
|
+
opContentsSchema,
|
|
34
34
|
proposeContentsSchema,
|
|
35
35
|
} from "./messageSchema.js";
|
|
36
36
|
|