@fluidframework/id-compressor 2.20.0 → 2.22.0

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/id-compressor",
3
- "version": "2.20.0",
3
+ "version": "2.22.0",
4
4
  "description": "ID compressor",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -81,24 +81,24 @@
81
81
  "temp-directory": "nyc/.nyc_output"
82
82
  },
83
83
  "dependencies": {
84
- "@fluid-internal/client-utils": "~2.20.0",
85
- "@fluidframework/core-interfaces": "~2.20.0",
86
- "@fluidframework/core-utils": "~2.20.0",
87
- "@fluidframework/telemetry-utils": "~2.20.0",
84
+ "@fluid-internal/client-utils": "~2.22.0",
85
+ "@fluidframework/core-interfaces": "~2.22.0",
86
+ "@fluidframework/core-utils": "~2.22.0",
87
+ "@fluidframework/telemetry-utils": "~2.22.0",
88
88
  "@tylerbu/sorted-btree-es6": "^1.8.0",
89
89
  "uuid": "^9.0.0"
90
90
  },
91
91
  "devDependencies": {
92
92
  "@arethetypeswrong/cli": "^0.17.1",
93
93
  "@biomejs/biome": "~1.9.3",
94
- "@fluid-internal/mocha-test-setup": "~2.20.0",
95
- "@fluid-private/stochastic-test-utils": "~2.20.0",
94
+ "@fluid-internal/mocha-test-setup": "~2.22.0",
95
+ "@fluid-private/stochastic-test-utils": "~2.22.0",
96
96
  "@fluid-tools/benchmark": "^0.50.0",
97
97
  "@fluid-tools/build-cli": "^0.51.0",
98
98
  "@fluidframework/build-common": "^2.0.3",
99
99
  "@fluidframework/build-tools": "^0.51.0",
100
- "@fluidframework/eslint-config-fluid": "^5.6.0",
101
- "@fluidframework/id-compressor-previous": "npm:@fluidframework/id-compressor@2.13.0",
100
+ "@fluidframework/eslint-config-fluid": "^5.7.3",
101
+ "@fluidframework/id-compressor-previous": "npm:@fluidframework/id-compressor@2.21.0",
102
102
  "@microsoft/api-extractor": "7.47.8",
103
103
  "@types/mocha": "^10.0.10",
104
104
  "@types/node": "^18.19.0",
@@ -149,7 +149,7 @@
149
149
  "ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
150
150
  "ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
151
151
  "ci:build:docs": "api-extractor run",
152
- "clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
152
+ "clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
153
153
  "eslint": "eslint --format stylish src",
154
154
  "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
155
155
  "format": "npm run format:biome",
@@ -161,8 +161,8 @@
161
161
  "test:benchmark:report": "mocha --timeout 999999 --perfMode --parentProcess --fgrep @Benchmark --reporter @fluid-tools/benchmark/dist/MochaReporter.js \"./lib/**/*.perf.spec.*js\"",
162
162
  "test:coverage": "c8 npm test",
163
163
  "test:mocha": "npm run test:mocha:esm && echo skipping cjs to avoid overhead - npm run test:mocha:cjs",
164
- "test:mocha:cjs": "mocha --recursive \"dist/test/**/*.spec.*js\" --exit",
165
- "test:mocha:esm": "mocha --recursive \"lib/test/**/*.spec.*js\" --exit",
164
+ "test:mocha:cjs": "mocha --recursive \"dist/test/**/*.spec.*js\"",
165
+ "test:mocha:esm": "mocha --recursive \"lib/test/**/*.spec.*js\"",
166
166
  "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
167
167
  "test:snapshots:regen": "npm run test:mocha:esm -- --snapshot",
168
168
  "tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
@@ -117,7 +117,7 @@ export class IdCompressor implements IIdCompressor, IIdCompressorCore {
117
117
  // The number of eager final IDs generated since the last telemetry was sent.
118
118
  private telemetryEagerFinalIdCount = 0;
119
119
  // The ongoing ghost session, if one exists.
120
- private ongoingGhostSession?: { cluster?: IdCluster; ghostSessionId: SessionId };
120
+ private ongoingGhostSession?: { cluster?: IdCluster; ghostSessionId: SessionId } | undefined;
121
121
 
122
122
  // #endregion
123
123
 
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/id-compressor";
9
- export const pkgVersion = "2.20.0";
9
+ export const pkgVersion = "2.22.0";
package/tsconfig.json CHANGED
@@ -3,7 +3,6 @@
3
3
  "compilerOptions": {
4
4
  "rootDir": "./src",
5
5
  "outDir": "./lib",
6
- "exactOptionalPropertyTypes": false,
7
6
  },
8
7
  "include": ["src/**/*"],
9
8
  "exclude": ["src/test/**/*"],