@fluidframework/shared-object-base 2.118.1 → 3.0.1
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/CHANGELOG.md +34 -4
- package/README.md +53 -50
- package/{api-extractor.json → api-extractor/api-extractor-model.json} +1 -1
- package/dist/dataStoreKind.js +2 -3
- package/dist/dataStoreKind.js.map +1 -1
- package/dist/gcHandleVisitor.js +1 -4
- package/dist/gcHandleVisitor.js.map +1 -1
- package/dist/handle.js +9 -7
- package/dist/handle.js.map +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/serializer.js +2 -0
- package/dist/serializer.js.map +1 -1
- package/dist/sharedObject.js +42 -15
- package/dist/sharedObject.js.map +1 -1
- package/dist/sharedObjectKernel.js +41 -52
- package/dist/sharedObjectKernel.js.map +1 -1
- package/dist/stubSharedObject.js +1 -2
- package/dist/stubSharedObject.js.map +1 -1
- package/dist/utils.js +5 -6
- package/dist/utils.js.map +1 -1
- package/lib/gcHandleVisitor.js +1 -4
- package/lib/gcHandleVisitor.js.map +1 -1
- package/lib/handle.js +7 -5
- package/lib/handle.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/public.d.ts +1 -1
- package/lib/serializer.js +2 -0
- package/lib/serializer.js.map +1 -1
- package/lib/sharedObject.js +39 -12
- package/lib/sharedObject.js.map +1 -1
- package/lib/sharedObjectKernel.js +38 -49
- package/lib/sharedObjectKernel.js.map +1 -1
- package/package.json +36 -50
- package/src/packageVersion.ts +1 -1
- package/tsconfig.json +1 -1
- package/internal.d.ts +0 -11
- package/legacy.d.ts +0 -11
- /package/api-extractor/{api-extractor.current.json → api-extractor-report.current.json} +0 -0
- /package/api-extractor/{api-extractor.legacy.json → api-extractor-report.legacy.json} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/shared-object-base",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "Fluid base class for shared distributed data structures",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -14,38 +14,24 @@
|
|
|
14
14
|
"type": "module",
|
|
15
15
|
"exports": {
|
|
16
16
|
".": {
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"require": {
|
|
22
|
-
"types": "./dist/public.d.ts",
|
|
23
|
-
"default": "./dist/index.js"
|
|
17
|
+
"types": "./lib/public.d.ts",
|
|
18
|
+
"default": "./lib/index.js",
|
|
19
|
+
"internal-entrypoint-generation": {
|
|
20
|
+
"types": "./dist/public.d.ts"
|
|
24
21
|
}
|
|
25
22
|
},
|
|
26
23
|
"./legacy": {
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"require": {
|
|
32
|
-
"types": "./dist/legacy.d.ts",
|
|
33
|
-
"default": "./dist/index.js"
|
|
24
|
+
"types": "./lib/legacy.d.ts",
|
|
25
|
+
"default": "./lib/index.js",
|
|
26
|
+
"internal-entrypoint-generation": {
|
|
27
|
+
"types": "./dist/legacy.d.ts"
|
|
34
28
|
}
|
|
35
29
|
},
|
|
36
30
|
"./internal": {
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
"default": "./lib/index.js"
|
|
40
|
-
},
|
|
41
|
-
"require": {
|
|
42
|
-
"types": "./dist/index.d.ts",
|
|
43
|
-
"default": "./dist/index.js"
|
|
44
|
-
}
|
|
31
|
+
"types": "./lib/index.d.ts",
|
|
32
|
+
"default": "./lib/index.js"
|
|
45
33
|
}
|
|
46
34
|
},
|
|
47
|
-
"main": "lib/index.js",
|
|
48
|
-
"types": "lib/public.d.ts",
|
|
49
35
|
"c8": {
|
|
50
36
|
"all": true,
|
|
51
37
|
"cache-dir": "nyc/.cache",
|
|
@@ -69,31 +55,31 @@
|
|
|
69
55
|
"temp-directory": "nyc/.nyc_output"
|
|
70
56
|
},
|
|
71
57
|
"dependencies": {
|
|
72
|
-
"@fluid-internal/client-utils": "~
|
|
73
|
-
"@fluidframework/container-definitions": "~
|
|
74
|
-
"@fluidframework/core-interfaces": "~
|
|
75
|
-
"@fluidframework/core-utils": "~
|
|
76
|
-
"@fluidframework/datastore": "~
|
|
77
|
-
"@fluidframework/datastore-definitions": "~
|
|
78
|
-
"@fluidframework/driver-definitions": "~
|
|
79
|
-
"@fluidframework/id-compressor": "~
|
|
80
|
-
"@fluidframework/runtime-definitions": "~
|
|
81
|
-
"@fluidframework/runtime-utils": "~
|
|
82
|
-
"@fluidframework/telemetry-utils": "~
|
|
58
|
+
"@fluid-internal/client-utils": "~3.0.1",
|
|
59
|
+
"@fluidframework/container-definitions": "~3.0.1",
|
|
60
|
+
"@fluidframework/core-interfaces": "~3.0.1",
|
|
61
|
+
"@fluidframework/core-utils": "~3.0.1",
|
|
62
|
+
"@fluidframework/datastore": "~3.0.1",
|
|
63
|
+
"@fluidframework/datastore-definitions": "~3.0.1",
|
|
64
|
+
"@fluidframework/driver-definitions": "~3.0.1",
|
|
65
|
+
"@fluidframework/id-compressor": "~3.0.1",
|
|
66
|
+
"@fluidframework/runtime-definitions": "~3.0.1",
|
|
67
|
+
"@fluidframework/runtime-utils": "~3.0.1",
|
|
68
|
+
"@fluidframework/telemetry-utils": "~3.0.1",
|
|
83
69
|
"uuid": "^11.1.0"
|
|
84
70
|
},
|
|
85
71
|
"devDependencies": {
|
|
86
72
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
87
73
|
"@biomejs/biome": "~2.4.5",
|
|
88
|
-
"@fluid-internal/mocha-test-setup": "~
|
|
89
|
-
"@fluid-private/test-pairwise-generator": "~
|
|
74
|
+
"@fluid-internal/mocha-test-setup": "~3.0.1",
|
|
75
|
+
"@fluid-private/test-pairwise-generator": "~3.0.1",
|
|
90
76
|
"@fluid-tools/benchmark": "^0.59.0",
|
|
91
77
|
"@fluid-tools/build-cli": "^0.67.0",
|
|
92
78
|
"@fluidframework/build-common": "^2.0.3",
|
|
93
79
|
"@fluidframework/build-tools": "^0.67.0",
|
|
94
80
|
"@fluidframework/eslint-config-fluid": "^14.0.0",
|
|
95
81
|
"@fluidframework/shared-object-base-previous": "npm:@fluidframework/shared-object-base@2.116.0",
|
|
96
|
-
"@fluidframework/test-runtime-utils": "~
|
|
82
|
+
"@fluidframework/test-runtime-utils": "~3.0.1",
|
|
97
83
|
"@microsoft/api-extractor": "7.58.1",
|
|
98
84
|
"@types/mocha": "^10.0.10",
|
|
99
85
|
"@types/node": "~22.19.17",
|
|
@@ -109,7 +95,7 @@
|
|
|
109
95
|
"rimraf": "^6.1.3",
|
|
110
96
|
"sinon": "^18.0.1",
|
|
111
97
|
"ts-node": "^10.9.2",
|
|
112
|
-
"typescript": "~
|
|
98
|
+
"typescript": "~6.0.3"
|
|
113
99
|
},
|
|
114
100
|
"typeValidation": {
|
|
115
101
|
"broken": {},
|
|
@@ -119,20 +105,21 @@
|
|
|
119
105
|
"bench": "cross-env FLUID_TEST_PERF_MODE=1 mocha --parentProcess",
|
|
120
106
|
"build": "fluid-build . --task build",
|
|
121
107
|
"build:api-reports": "concurrently \"npm:build:api-reports:*\"",
|
|
122
|
-
"build:api-reports:current": "api-extractor run --local --config api-extractor/api-extractor.current.json",
|
|
123
|
-
"build:api-reports:legacy": "api-extractor run --local --config api-extractor/api-extractor.legacy.json",
|
|
108
|
+
"build:api-reports:current": "api-extractor run --local --config api-extractor/api-extractor-report.current.json",
|
|
109
|
+
"build:api-reports:legacy": "api-extractor run --local --config api-extractor/api-extractor-report.legacy.json",
|
|
110
|
+
"build:cjs": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
|
|
124
111
|
"build:commonjs": "fluid-build . --task commonjs",
|
|
125
112
|
"build:compile": "fluid-build . --task compile",
|
|
126
|
-
"build:docs": "api-extractor run --local",
|
|
113
|
+
"build:docs": "api-extractor run --local --config api-extractor/api-extractor-model.json",
|
|
127
114
|
"build:entrypoints": "fluid-build . --task build:entrypoints",
|
|
128
115
|
"build:entrypoints:cjs": "flub generate entrypoints --resolutionConditions require --outFileLegacyBeta legacy --outDir ./dist",
|
|
129
|
-
"build:entrypoints:esm": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib
|
|
130
|
-
"build:
|
|
116
|
+
"build:entrypoints:esm": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib",
|
|
117
|
+
"build:esm": "tsc --project ./tsconfig.json",
|
|
131
118
|
"build:genver": "gen-version",
|
|
132
119
|
"build:test": "concurrently npm:build:test:esm npm:build:test:cjs",
|
|
133
120
|
"build:test:cjs": "fluid-tsc commonjs --project ./src/test/tsconfig.cjs.json",
|
|
134
121
|
"build:test:esm": "tsc --project ./src/test/tsconfig.json",
|
|
135
|
-
"check:are-the-types-wrong": "attw --pack .",
|
|
122
|
+
"check:are-the-types-wrong": "attw --pack . --profile esm-only",
|
|
136
123
|
"check:biome": "biome check .",
|
|
137
124
|
"check:exports": "concurrently \"npm:check:exports:*\"",
|
|
138
125
|
"check:exports:bundle-release-tags": "api-extractor run --config api-extractor/api-extractor-lint-bundle.json",
|
|
@@ -142,9 +129,9 @@
|
|
|
142
129
|
"check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
|
|
143
130
|
"check:format": "npm run check:biome",
|
|
144
131
|
"ci:build:api-reports": "concurrently \"npm:ci:build:api-reports:*\"",
|
|
145
|
-
"ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
|
|
146
|
-
"ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
|
|
147
|
-
"ci:build:docs": "api-extractor run",
|
|
132
|
+
"ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor-report.current.json",
|
|
133
|
+
"ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor-report.legacy.json",
|
|
134
|
+
"ci:build:docs": "api-extractor run --config api-extractor/api-extractor-model.json",
|
|
148
135
|
"clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
|
|
149
136
|
"eslint": "eslint --quiet --format stylish src",
|
|
150
137
|
"eslint:fix": "eslint --quiet --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
@@ -158,7 +145,6 @@
|
|
|
158
145
|
"test:mocha:cjs": "cross-env FLUID_TEST_MODULE_SYSTEM=CJS mocha",
|
|
159
146
|
"test:mocha:esm": "mocha",
|
|
160
147
|
"test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
|
|
161
|
-
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
|
|
162
148
|
"typetests:gen": "flub generate typetests --dir . -v"
|
|
163
149
|
}
|
|
164
150
|
}
|
package/src/packageVersion.ts
CHANGED
package/tsconfig.json
CHANGED
package/internal.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
/*
|
|
7
|
-
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
-
* Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat" in @fluid-tools/build-cli.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
export * from "./lib/index.js";
|
package/legacy.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
/*
|
|
7
|
-
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
-
* Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat" in @fluid-tools/build-cli.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
export * from "./lib/legacy.js";
|
|
File without changes
|
|
File without changes
|