@fluidframework/matrix 2.117.0 → 3.0.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/CHANGELOG.md +36 -2
- package/README.md +53 -50
- package/{api-extractor.json → api-extractor/api-extractor-model.json} +1 -1
- package/dist/handlecache.js +3 -2
- package/dist/handlecache.js.map +1 -1
- package/dist/handletable.d.ts.map +1 -1
- package/dist/handletable.js +1 -0
- package/dist/handletable.js.map +1 -1
- package/dist/matrix.js +57 -53
- package/dist/matrix.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/permutationvector.js +86 -83
- package/dist/permutationvector.js.map +1 -1
- package/dist/range.js +1 -2
- package/dist/range.js.map +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +9 -9
- package/dist/runtime.js.map +1 -1
- package/dist/serialization.d.ts.map +1 -1
- package/dist/serialization.js +2 -2
- package/dist/serialization.js.map +1 -1
- package/dist/sparsearray2d.js +3 -2
- package/dist/sparsearray2d.js.map +1 -1
- package/dist/undoprovider.js +12 -0
- package/dist/undoprovider.js.map +1 -1
- package/lib/handlecache.js +3 -2
- package/lib/handlecache.js.map +1 -1
- package/lib/handletable.d.ts.map +1 -1
- package/lib/handletable.js +1 -0
- package/lib/handletable.js.map +1 -1
- package/lib/legacy.d.ts +1 -1
- package/lib/matrix.js +57 -53
- package/lib/matrix.js.map +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/permutationvector.js +84 -81
- package/lib/permutationvector.js.map +1 -1
- package/lib/public.d.ts +1 -1
- package/lib/runtime.js +9 -9
- package/lib/runtime.js.map +1 -1
- package/lib/serialization.d.ts.map +1 -1
- package/lib/sparsearray2d.js +3 -2
- package/lib/sparsearray2d.js.map +1 -1
- package/lib/undoprovider.js +12 -0
- package/lib/undoprovider.js.map +1 -1
- package/package.json +40 -60
- 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/matrix",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Distributed matrix",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -14,50 +14,30 @@
|
|
|
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
|
"./internal/test": {
|
|
47
35
|
"allow-ff-test-exports": {
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
"default": "./lib/test/index.js"
|
|
51
|
-
},
|
|
52
|
-
"require": {
|
|
53
|
-
"types": "./dist/test/index.d.ts",
|
|
54
|
-
"default": "./dist/test/index.js"
|
|
55
|
-
}
|
|
36
|
+
"types": "./lib/test/index.d.ts",
|
|
37
|
+
"default": "./lib/test/index.js"
|
|
56
38
|
}
|
|
57
39
|
}
|
|
58
40
|
},
|
|
59
|
-
"main": "lib/index.js",
|
|
60
|
-
"types": "lib/public.d.ts",
|
|
61
41
|
"c8": {
|
|
62
42
|
"all": true,
|
|
63
43
|
"cache-dir": "nyc/.cache",
|
|
@@ -81,34 +61,34 @@
|
|
|
81
61
|
"temp-directory": "nyc/.nyc_output"
|
|
82
62
|
},
|
|
83
63
|
"dependencies": {
|
|
84
|
-
"@fluid-internal/client-utils": "~
|
|
85
|
-
"@fluidframework/core-interfaces": "~
|
|
86
|
-
"@fluidframework/core-utils": "~
|
|
87
|
-
"@fluidframework/datastore-definitions": "~
|
|
88
|
-
"@fluidframework/driver-definitions": "~
|
|
89
|
-
"@fluidframework/driver-utils": "~
|
|
90
|
-
"@fluidframework/merge-tree": "~
|
|
91
|
-
"@fluidframework/runtime-definitions": "~
|
|
92
|
-
"@fluidframework/runtime-utils": "~
|
|
93
|
-
"@fluidframework/shared-object-base": "~
|
|
94
|
-
"@fluidframework/telemetry-utils": "~
|
|
64
|
+
"@fluid-internal/client-utils": "~3.0.0",
|
|
65
|
+
"@fluidframework/core-interfaces": "~3.0.0",
|
|
66
|
+
"@fluidframework/core-utils": "~3.0.0",
|
|
67
|
+
"@fluidframework/datastore-definitions": "~3.0.0",
|
|
68
|
+
"@fluidframework/driver-definitions": "~3.0.0",
|
|
69
|
+
"@fluidframework/driver-utils": "~3.0.0",
|
|
70
|
+
"@fluidframework/merge-tree": "~3.0.0",
|
|
71
|
+
"@fluidframework/runtime-definitions": "~3.0.0",
|
|
72
|
+
"@fluidframework/runtime-utils": "~3.0.0",
|
|
73
|
+
"@fluidframework/shared-object-base": "~3.0.0",
|
|
74
|
+
"@fluidframework/telemetry-utils": "~3.0.0",
|
|
95
75
|
"@tiny-calc/nano": "0.0.0-alpha.5",
|
|
96
76
|
"double-ended-queue": "^2.1.0-0"
|
|
97
77
|
},
|
|
98
78
|
"devDependencies": {
|
|
99
79
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
100
80
|
"@biomejs/biome": "~2.4.5",
|
|
101
|
-
"@fluid-internal/mocha-test-setup": "~
|
|
102
|
-
"@fluid-private/stochastic-test-utils": "~
|
|
103
|
-
"@fluid-private/test-dds-utils": "~
|
|
81
|
+
"@fluid-internal/mocha-test-setup": "~3.0.0",
|
|
82
|
+
"@fluid-private/stochastic-test-utils": "~3.0.0",
|
|
83
|
+
"@fluid-private/test-dds-utils": "~3.0.0",
|
|
104
84
|
"@fluid-tools/benchmark": "^0.59.0",
|
|
105
85
|
"@fluid-tools/build-cli": "^0.67.0",
|
|
106
86
|
"@fluidframework/build-common": "^2.0.3",
|
|
107
87
|
"@fluidframework/build-tools": "^0.67.0",
|
|
108
|
-
"@fluidframework/container-definitions": "~
|
|
88
|
+
"@fluidframework/container-definitions": "~3.0.0",
|
|
109
89
|
"@fluidframework/eslint-config-fluid": "^14.0.0",
|
|
110
90
|
"@fluidframework/matrix-previous": "npm:@fluidframework/matrix@2.116.0",
|
|
111
|
-
"@fluidframework/test-runtime-utils": "~
|
|
91
|
+
"@fluidframework/test-runtime-utils": "~3.0.0",
|
|
112
92
|
"@microsoft/api-extractor": "7.58.1",
|
|
113
93
|
"@tiny-calc/micro": "0.0.0-alpha.5",
|
|
114
94
|
"@types/double-ended-queue": "^2.1.0",
|
|
@@ -126,7 +106,7 @@
|
|
|
126
106
|
"mocha-multi-reporters": "^1.5.1",
|
|
127
107
|
"rimraf": "^6.1.3",
|
|
128
108
|
"ts-node": "^10.9.2",
|
|
129
|
-
"typescript": "~
|
|
109
|
+
"typescript": "~6.0.3"
|
|
130
110
|
},
|
|
131
111
|
"typeValidation": {
|
|
132
112
|
"broken": {},
|
|
@@ -138,20 +118,21 @@
|
|
|
138
118
|
"bench:profile": "cd bench && node -r ts-node/register --prof --logfile=profile.log --no-logfile-per-isolate src/index.ts --runInBand && node --prof-process profile.log > profile.txt && rimraf profile.log && echo See results in bench/profile.txt",
|
|
139
119
|
"build": "fluid-build . --task build",
|
|
140
120
|
"build:api-reports": "concurrently \"npm:build:api-reports:*\"",
|
|
141
|
-
"build:api-reports:current": "api-extractor run --local --config api-extractor/api-extractor.current.json",
|
|
142
|
-
"build:api-reports:legacy": "api-extractor run --local --config api-extractor/api-extractor.legacy.json",
|
|
121
|
+
"build:api-reports:current": "api-extractor run --local --config api-extractor/api-extractor-report.current.json",
|
|
122
|
+
"build:api-reports:legacy": "api-extractor run --local --config api-extractor/api-extractor-report.legacy.json",
|
|
123
|
+
"build:cjs": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
|
|
143
124
|
"build:commonjs": "fluid-build . --task commonjs",
|
|
144
125
|
"build:compile": "fluid-build . --task compile",
|
|
145
|
-
"build:docs": "api-extractor run --local",
|
|
126
|
+
"build:docs": "api-extractor run --local --config api-extractor/api-extractor-model.json",
|
|
146
127
|
"build:entrypoints": "fluid-build . --task build:entrypoints",
|
|
147
128
|
"build:entrypoints:cjs": "flub generate entrypoints --resolutionConditions require --outFileLegacyBeta legacy --outDir ./dist",
|
|
148
|
-
"build:entrypoints:esm": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib
|
|
149
|
-
"build:
|
|
129
|
+
"build:entrypoints:esm": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib",
|
|
130
|
+
"build:esm": "tsc --project ./tsconfig.json",
|
|
150
131
|
"build:genver": "gen-version",
|
|
151
132
|
"build:test": "concurrently npm:build:test:esm npm:build:test:cjs",
|
|
152
133
|
"build:test:cjs": "fluid-tsc commonjs --project ./src/test/tsconfig.cjs.json",
|
|
153
134
|
"build:test:esm": "tsc --project ./src/test/tsconfig.json",
|
|
154
|
-
"check:are-the-types-wrong": "attw --pack . --exclude-entrypoints ./internal/test",
|
|
135
|
+
"check:are-the-types-wrong": "attw --pack . --profile esm-only --exclude-entrypoints ./internal/test",
|
|
155
136
|
"check:biome": "biome check .",
|
|
156
137
|
"check:exports": "concurrently \"npm:check:exports:*\"",
|
|
157
138
|
"check:exports:bundle-release-tags": "api-extractor run --config api-extractor/api-extractor-lint-bundle.json",
|
|
@@ -161,9 +142,9 @@
|
|
|
161
142
|
"check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
|
|
162
143
|
"check:format": "npm run check:biome",
|
|
163
144
|
"ci:build:api-reports": "concurrently \"npm:ci:build:api-reports:*\"",
|
|
164
|
-
"ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
|
|
165
|
-
"ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
|
|
166
|
-
"ci:build:docs": "api-extractor run",
|
|
145
|
+
"ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor-report.current.json",
|
|
146
|
+
"ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor-report.legacy.json",
|
|
147
|
+
"ci:build:docs": "api-extractor run --config api-extractor/api-extractor-model.json",
|
|
167
148
|
"clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts bench/dist \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
|
|
168
149
|
"eslint": "eslint --quiet --format stylish src",
|
|
169
150
|
"eslint:fix": "eslint --quiet --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
@@ -179,7 +160,6 @@
|
|
|
179
160
|
"test:mocha:esm": "mocha",
|
|
180
161
|
"test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
|
|
181
162
|
"test:stress": "cross-env FUZZ_TEST_COUNT=100 FUZZ_STRESS_RUN=normal mocha --ignore \"lib/test/memory/**/*\" --recursive \"lib/test/**/*.spec.js\"",
|
|
182
|
-
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
|
|
183
163
|
"typetests:gen": "flub generate typetests --dir . -v"
|
|
184
164
|
}
|
|
185
165
|
}
|
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
|