@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/debugger",
3
- "version": "2.0.0-dev-rc.2.0.0.246488",
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.2.0.0.246488",
61
- "@fluidframework/driver-definitions": "2.0.0-dev-rc.2.0.0.246488",
62
- "@fluidframework/driver-utils": "2.0.0-dev-rc.2.0.0.246488",
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.2.0.0.246488",
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": "npm run prettier:fix",
120
- "lint": "npm run prettier && npm run check:release-tags && npm run eslint",
121
- "lint:fix": "npm run prettier:fix && npm run eslint:fix",
122
- "prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
123
- "prettier:fix": "prettier --write . --cache --ignore-path ../../../.prettierignore",
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 {
@@ -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", "originalType", "totalChunks"],
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