@fluidframework/id-compressor 2.0.2 → 2.1.0-276326
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-extractor/api-extractor.legacy.json +4 -0
- package/api-report/id-compressor.beta.api.md +0 -3
- package/api-report/{id-compressor.alpha.api.md → id-compressor.legacy.alpha.api.md} +0 -3
- package/api-report/id-compressor.public.api.md +0 -3
- package/dist/idCompressor.d.ts +4 -0
- package/dist/idCompressor.d.ts.map +1 -1
- package/dist/idCompressor.js.map +1 -1
- package/dist/legacy.d.ts +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.d.ts.map +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/dist/types/idCompressor.d.ts +1 -0
- package/dist/types/idCompressor.d.ts.map +1 -1
- package/dist/types/idCompressor.js.map +1 -1
- package/dist/types/persisted-types/0.0.1.d.ts +4 -0
- package/dist/types/persisted-types/0.0.1.d.ts.map +1 -1
- package/dist/types/persisted-types/0.0.1.js.map +1 -1
- package/dist/utilities.d.ts +1 -0
- package/dist/utilities.d.ts.map +1 -1
- package/dist/utilities.js +1 -0
- package/dist/utilities.js.map +1 -1
- package/lib/idCompressor.d.ts +4 -0
- package/lib/idCompressor.d.ts.map +1 -1
- package/lib/idCompressor.js.map +1 -1
- package/lib/legacy.d.ts +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.d.ts.map +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/types/idCompressor.d.ts +1 -0
- package/lib/types/idCompressor.d.ts.map +1 -1
- package/lib/types/idCompressor.js.map +1 -1
- package/lib/types/persisted-types/0.0.1.d.ts +4 -0
- package/lib/types/persisted-types/0.0.1.d.ts.map +1 -1
- package/lib/types/persisted-types/0.0.1.js.map +1 -1
- package/lib/utilities.d.ts +1 -0
- package/lib/utilities.d.ts.map +1 -1
- package/lib/utilities.js +1 -0
- package/lib/utilities.js.map +1 -1
- package/package.json +16 -12
- package/src/idCompressor.ts +4 -0
- package/src/packageVersion.ts +1 -1
- package/src/types/idCompressor.ts +1 -0
- package/src/types/persisted-types/0.0.1.ts +4 -0
- package/src/utilities.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/id-compressor",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0-276326",
|
|
4
4
|
"description": "ID compressor",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -79,24 +79,24 @@
|
|
|
79
79
|
"temp-directory": "nyc/.nyc_output"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"@fluid-internal/client-utils": "
|
|
83
|
-
"@fluidframework/core-interfaces": "
|
|
84
|
-
"@fluidframework/core-utils": "
|
|
85
|
-
"@fluidframework/telemetry-utils": "
|
|
82
|
+
"@fluid-internal/client-utils": "2.1.0-276326",
|
|
83
|
+
"@fluidframework/core-interfaces": "2.1.0-276326",
|
|
84
|
+
"@fluidframework/core-utils": "2.1.0-276326",
|
|
85
|
+
"@fluidframework/telemetry-utils": "2.1.0-276326",
|
|
86
86
|
"@tylerbu/sorted-btree-es6": "^1.8.0",
|
|
87
87
|
"uuid": "^9.0.0"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
90
|
"@arethetypeswrong/cli": "^0.15.2",
|
|
91
91
|
"@biomejs/biome": "^1.7.3",
|
|
92
|
-
"@fluid-internal/mocha-test-setup": "
|
|
93
|
-
"@fluid-private/stochastic-test-utils": "
|
|
92
|
+
"@fluid-internal/mocha-test-setup": "2.1.0-276326",
|
|
93
|
+
"@fluid-private/stochastic-test-utils": "2.1.0-276326",
|
|
94
94
|
"@fluid-tools/benchmark": "^0.48.0",
|
|
95
95
|
"@fluid-tools/build-cli": "^0.39.0",
|
|
96
96
|
"@fluidframework/build-common": "^2.0.3",
|
|
97
97
|
"@fluidframework/build-tools": "^0.39.0",
|
|
98
98
|
"@fluidframework/eslint-config-fluid": "^5.3.0",
|
|
99
|
-
"@fluidframework/id-compressor-previous": "npm:@fluidframework/id-compressor@2.0.0-rc.
|
|
99
|
+
"@fluidframework/id-compressor-previous": "npm:@fluidframework/id-compressor@2.0.0-rc.5.0.0",
|
|
100
100
|
"@microsoft/api-extractor": "^7.45.1",
|
|
101
101
|
"@types/mocha": "^9.1.1",
|
|
102
102
|
"@types/node": "^18.19.0",
|
|
@@ -119,12 +119,14 @@
|
|
|
119
119
|
},
|
|
120
120
|
"scripts": {
|
|
121
121
|
"api": "fluid-build . --task api",
|
|
122
|
-
"api-extractor:commonjs": "flub generate entrypoints --
|
|
123
|
-
"api-extractor:esnext": "flub generate entrypoints --
|
|
122
|
+
"api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
|
|
123
|
+
"api-extractor:esnext": "flub generate entrypoints --outDir ./lib --node10TypeCompat",
|
|
124
124
|
"build": "fluid-build . --task build",
|
|
125
125
|
"build:commonjs": "fluid-build . --task commonjs",
|
|
126
126
|
"build:compile": "fluid-build . --task compile",
|
|
127
|
-
"build:docs": "
|
|
127
|
+
"build:docs": "concurrently \"npm:build:docs:*\"",
|
|
128
|
+
"build:docs:current": "api-extractor run --local",
|
|
129
|
+
"build:docs:legacy": "api-extractor run --local --config api-extractor/api-extractor.legacy.json",
|
|
128
130
|
"build:esnext": "tsc --project ./tsconfig.json",
|
|
129
131
|
"build:genver": "gen-version",
|
|
130
132
|
"build:test": "npm run build:test:esm && npm run build:test:cjs",
|
|
@@ -140,7 +142,9 @@
|
|
|
140
142
|
"check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
|
|
141
143
|
"check:format": "npm run check:biome",
|
|
142
144
|
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
|
|
143
|
-
"ci:build:docs": "
|
|
145
|
+
"ci:build:docs": "concurrently \"npm:ci:build:docs:*\"",
|
|
146
|
+
"ci:build:docs:current": "api-extractor run",
|
|
147
|
+
"ci:build:docs:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
|
|
144
148
|
"clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
|
|
145
149
|
"eslint": "eslint --format stylish src",
|
|
146
150
|
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
package/src/idCompressor.ts
CHANGED
|
@@ -742,6 +742,7 @@ export class IdCompressor implements IIdCompressor, IIdCompressorCore {
|
|
|
742
742
|
|
|
743
743
|
/**
|
|
744
744
|
* Create a new {@link IIdCompressor}.
|
|
745
|
+
* @legacy
|
|
745
746
|
* @alpha
|
|
746
747
|
*/
|
|
747
748
|
export function createIdCompressor(
|
|
@@ -750,6 +751,7 @@ export function createIdCompressor(
|
|
|
750
751
|
/**
|
|
751
752
|
* Create a new {@link IIdCompressor}.
|
|
752
753
|
* @param sessionId - The seed ID for the compressor.
|
|
754
|
+
* @legacy
|
|
753
755
|
* @alpha
|
|
754
756
|
*/
|
|
755
757
|
export function createIdCompressor(
|
|
@@ -782,6 +784,7 @@ export function createIdCompressor(
|
|
|
782
784
|
|
|
783
785
|
/**
|
|
784
786
|
* Deserializes the supplied state into an ID compressor.
|
|
787
|
+
* @legacy
|
|
785
788
|
* @alpha
|
|
786
789
|
*/
|
|
787
790
|
export function deserializeIdCompressor(
|
|
@@ -790,6 +793,7 @@ export function deserializeIdCompressor(
|
|
|
790
793
|
): IIdCompressor & IIdCompressorCore;
|
|
791
794
|
/**
|
|
792
795
|
* Deserializes the supplied state into an ID compressor.
|
|
796
|
+
* @legacy
|
|
793
797
|
* @alpha
|
|
794
798
|
*/
|
|
795
799
|
export function deserializeIdCompressor(
|
package/src/packageVersion.ts
CHANGED
|
@@ -7,6 +7,7 @@ import type { SessionId } from "../identifiers.js";
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* The serialized contents of an IdCompressor, suitable for persistence in a summary.
|
|
10
|
+
* @legacy
|
|
10
11
|
* @alpha
|
|
11
12
|
*/
|
|
12
13
|
export type SerializedIdCompressor = string & {
|
|
@@ -15,6 +16,7 @@ export type SerializedIdCompressor = string & {
|
|
|
15
16
|
|
|
16
17
|
/**
|
|
17
18
|
* The serialized contents of an IdCompressor, suitable for persistence in a summary.
|
|
19
|
+
* @legacy
|
|
18
20
|
* @alpha
|
|
19
21
|
*/
|
|
20
22
|
export type SerializedIdCompressorWithNoSession = SerializedIdCompressor & {
|
|
@@ -23,6 +25,7 @@ export type SerializedIdCompressorWithNoSession = SerializedIdCompressor & {
|
|
|
23
25
|
|
|
24
26
|
/**
|
|
25
27
|
* The serialized contents of an IdCompressor, suitable for persistence in a summary.
|
|
28
|
+
* @legacy
|
|
26
29
|
* @alpha
|
|
27
30
|
*/
|
|
28
31
|
export type SerializedIdCompressorWithOngoingSession = SerializedIdCompressor & {
|
|
@@ -33,6 +36,7 @@ export type SerializedIdCompressorWithOngoingSession = SerializedIdCompressor &
|
|
|
33
36
|
* Data describing a range of session-local IDs (from a remote or local session).
|
|
34
37
|
*
|
|
35
38
|
* A range is composed of local IDs that were generated.
|
|
39
|
+
* @legacy
|
|
36
40
|
* @alpha
|
|
37
41
|
*/
|
|
38
42
|
export interface IdCreationRange {
|