@fluidframework/map 2.92.0 → 2.100.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 +12 -0
- package/README.md +1 -1
- package/dist/directory.d.ts +2 -2
- package/dist/directory.d.ts.map +1 -1
- package/dist/directory.js +2 -2
- package/dist/directory.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/eslint.config.mts +1 -1
- package/lib/directory.d.ts +2 -2
- package/lib/directory.d.ts.map +1 -1
- package/lib/directory.js +3 -3
- package/lib/directory.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/tsdoc-metadata.json +1 -1
- package/package.json +24 -26
- package/src/directory.ts +5 -4
- package/src/packageVersion.ts +1 -1
package/lib/packageVersion.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,wBAAwB,CAAC;AAC7C,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,wBAAwB,CAAC;AAC7C,eAAO,MAAM,UAAU,YAAY,CAAC"}
|
package/lib/packageVersion.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,qBAAqB,CAAC;AAC7C,MAAM,CAAC,MAAM,UAAU,GAAG,
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,qBAAqB,CAAC;AAC7C,MAAM,CAAC,MAAM,UAAU,GAAG,SAAS,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/map\";\nexport const pkgVersion = \"2.100.0\";\n"]}
|
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/map",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.100.0",
|
|
4
4
|
"description": "Distributed map",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -81,35 +81,35 @@
|
|
|
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/datastore-definitions": "~2.
|
|
88
|
-
"@fluidframework/driver-definitions": "~2.
|
|
89
|
-
"@fluidframework/driver-utils": "~2.
|
|
90
|
-
"@fluidframework/runtime-definitions": "~2.
|
|
91
|
-
"@fluidframework/runtime-utils": "~2.
|
|
92
|
-
"@fluidframework/shared-object-base": "~2.
|
|
93
|
-
"@fluidframework/telemetry-utils": "~2.
|
|
84
|
+
"@fluid-internal/client-utils": "~2.100.0",
|
|
85
|
+
"@fluidframework/core-interfaces": "~2.100.0",
|
|
86
|
+
"@fluidframework/core-utils": "~2.100.0",
|
|
87
|
+
"@fluidframework/datastore-definitions": "~2.100.0",
|
|
88
|
+
"@fluidframework/driver-definitions": "~2.100.0",
|
|
89
|
+
"@fluidframework/driver-utils": "~2.100.0",
|
|
90
|
+
"@fluidframework/runtime-definitions": "~2.100.0",
|
|
91
|
+
"@fluidframework/runtime-utils": "~2.100.0",
|
|
92
|
+
"@fluidframework/shared-object-base": "~2.100.0",
|
|
93
|
+
"@fluidframework/telemetry-utils": "~2.100.0",
|
|
94
94
|
"path-browserify": "^1.0.1"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
97
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
98
98
|
"@biomejs/biome": "~2.4.5",
|
|
99
|
-
"@fluid-internal/mocha-test-setup": "~2.
|
|
100
|
-
"@fluid-private/stochastic-test-utils": "~2.
|
|
101
|
-
"@fluid-private/test-dds-utils": "~2.
|
|
102
|
-
"@fluid-tools/benchmark": "^0.
|
|
103
|
-
"@fluid-tools/build-cli": "^0.
|
|
99
|
+
"@fluid-internal/mocha-test-setup": "~2.100.0",
|
|
100
|
+
"@fluid-private/stochastic-test-utils": "~2.100.0",
|
|
101
|
+
"@fluid-private/test-dds-utils": "~2.100.0",
|
|
102
|
+
"@fluid-tools/benchmark": "^0.58.0",
|
|
103
|
+
"@fluid-tools/build-cli": "^0.65.0",
|
|
104
104
|
"@fluidframework/build-common": "^2.0.3",
|
|
105
|
-
"@fluidframework/build-tools": "^0.
|
|
106
|
-
"@fluidframework/container-definitions": "~2.
|
|
105
|
+
"@fluidframework/build-tools": "^0.65.0",
|
|
106
|
+
"@fluidframework/container-definitions": "~2.100.0",
|
|
107
107
|
"@fluidframework/eslint-config-fluid": "^9.0.0",
|
|
108
|
-
"@fluidframework/map-previous": "npm:@fluidframework/map@2.
|
|
109
|
-
"@fluidframework/test-runtime-utils": "~2.
|
|
110
|
-
"@microsoft/api-extractor": "7.
|
|
108
|
+
"@fluidframework/map-previous": "npm:@fluidframework/map@2.92.0",
|
|
109
|
+
"@fluidframework/test-runtime-utils": "~2.100.0",
|
|
110
|
+
"@microsoft/api-extractor": "7.58.1",
|
|
111
111
|
"@types/mocha": "^10.0.10",
|
|
112
|
-
"@types/node": "~
|
|
112
|
+
"@types/node": "~22.19.17",
|
|
113
113
|
"@types/path-browserify": "^1.0.0",
|
|
114
114
|
"c8": "^10.1.3",
|
|
115
115
|
"concurrently": "^9.2.1",
|
|
@@ -130,6 +130,7 @@
|
|
|
130
130
|
"api": "fluid-build . --task api",
|
|
131
131
|
"api-extractor:commonjs": "flub generate entrypoints --resolutionConditions require --outFileLegacyBeta legacy --outDir ./dist",
|
|
132
132
|
"api-extractor:esnext": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat",
|
|
133
|
+
"bench": "cross-env FLUID_TEST_PERF_MODE=1 mocha --parentProcess",
|
|
133
134
|
"build": "fluid-build . --task build",
|
|
134
135
|
"build:api-reports": "concurrently \"npm:build:api-reports:*\"",
|
|
135
136
|
"build:api-reports:current": "api-extractor run --local --config api-extractor/api-extractor.current.json",
|
|
@@ -165,8 +166,6 @@
|
|
|
165
166
|
"pack:tests": "tar -cf ./map.test-files.tar ./src/test ./dist/test ./lib/test",
|
|
166
167
|
"test": "npm run test:mocha",
|
|
167
168
|
"test:coverage": "c8 npm test",
|
|
168
|
-
"test:memory": "mocha --config ./src/test/memory/.mocharc.cjs",
|
|
169
|
-
"test:memory-profiling:report": "mocha --config ./src/test/memory/.mocharc.cjs",
|
|
170
169
|
"test:mocha": "npm run test:mocha:esm && echo skipping cjs to avoid overhead - npm run test:mocha:cjs",
|
|
171
170
|
"test:mocha:cjs": "cross-env FLUID_TEST_MODULE_SYSTEM=CJS mocha",
|
|
172
171
|
"test:mocha:esm": "mocha",
|
|
@@ -174,7 +173,6 @@
|
|
|
174
173
|
"test:snapshots:regen": "npm run test:mocha:esm -- --snapshot",
|
|
175
174
|
"test:stress": "cross-env FUZZ_TEST_COUNT=100 FUZZ_STRESS_RUN=normal mocha --ignore \"lib/test/memory/**/*\" --recursive \"lib/test/**/*.spec.js\"",
|
|
176
175
|
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
|
|
177
|
-
"typetests:gen": "flub generate typetests --dir . -v"
|
|
178
|
-
"typetests:prepare": "flub typetests --dir . --reset --previous --normalize"
|
|
176
|
+
"typetests:gen": "flub generate typetests --dir . -v"
|
|
179
177
|
}
|
|
180
178
|
}
|
package/src/directory.ts
CHANGED
|
@@ -31,9 +31,10 @@ import {
|
|
|
31
31
|
} from "@fluidframework/shared-object-base/internal";
|
|
32
32
|
import {
|
|
33
33
|
createChildMonitoringContext,
|
|
34
|
-
|
|
34
|
+
extractTelemetryLoggerExt,
|
|
35
35
|
type MonitoringContext,
|
|
36
36
|
UsageError,
|
|
37
|
+
type TelemetryLoggerExt,
|
|
37
38
|
} from "@fluidframework/telemetry-utils/internal";
|
|
38
39
|
import path from "path-browserify";
|
|
39
40
|
|
|
@@ -429,7 +430,7 @@ export class SharedDirectory
|
|
|
429
430
|
this.runtime,
|
|
430
431
|
this.serializer,
|
|
431
432
|
posix.sep,
|
|
432
|
-
this.logger,
|
|
433
|
+
extractTelemetryLoggerExt(this.logger),
|
|
433
434
|
);
|
|
434
435
|
|
|
435
436
|
/**
|
|
@@ -766,7 +767,7 @@ export class SharedDirectory
|
|
|
766
767
|
this.runtime,
|
|
767
768
|
this.serializer,
|
|
768
769
|
posix.join(currentSubDir.absolutePath, subdirName),
|
|
769
|
-
this.logger,
|
|
770
|
+
extractTelemetryLoggerExt(this.logger),
|
|
770
771
|
);
|
|
771
772
|
currentSubDir.populateSubDirectory(subdirName, newSubDir);
|
|
772
773
|
}
|
|
@@ -1154,7 +1155,7 @@ class SubDirectory extends TypedEventEmitter<IDirectoryEvents> implements IDirec
|
|
|
1154
1155
|
private readonly runtime: IFluidDataStoreRuntime,
|
|
1155
1156
|
private readonly serializer: IFluidSerializer,
|
|
1156
1157
|
public readonly absolutePath: string,
|
|
1157
|
-
logger:
|
|
1158
|
+
logger: TelemetryLoggerExt,
|
|
1158
1159
|
) {
|
|
1159
1160
|
super();
|
|
1160
1161
|
this.mc = createChildMonitoringContext({ logger, namespace: "Directory" });
|
package/src/packageVersion.ts
CHANGED