@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/.eslintrc.cjs +0 -1
- package/CHANGELOG.md +8 -0
- package/README.md +1 -0
- package/dist/idCompressor.d.ts.map +1 -1
- package/dist/idCompressor.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/dist/test/idCompressorTestUtilities.js +1 -1
- package/dist/test/idCompressorTestUtilities.js.map +1 -1
- package/lib/idCompressor.d.ts.map +1 -1
- package/lib/idCompressor.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/test/idCompressorTestUtilities.js +1 -1
- package/lib/test/idCompressorTestUtilities.js.map +1 -1
- package/package.json +12 -12
- package/src/idCompressor.ts +1 -1
- package/src/packageVersion.ts +1 -1
- package/tsconfig.json +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/id-compressor",
|
|
3
|
-
"version": "2.
|
|
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.
|
|
85
|
-
"@fluidframework/core-interfaces": "~2.
|
|
86
|
-
"@fluidframework/core-utils": "~2.
|
|
87
|
-
"@fluidframework/telemetry-utils": "~2.
|
|
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.
|
|
95
|
-
"@fluid-private/stochastic-test-utils": "~2.
|
|
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.
|
|
101
|
-
"@fluidframework/id-compressor-previous": "npm:@fluidframework/id-compressor@2.
|
|
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
|
|
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\"
|
|
165
|
-
"test:mocha:esm": "mocha --recursive \"lib/test/**/*.spec.*js\"
|
|
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",
|
package/src/idCompressor.ts
CHANGED
|
@@ -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
|
|
package/src/packageVersion.ts
CHANGED