@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.
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export declare const pkgName = "@fluidframework/map";
8
- export declare const pkgVersion = "2.92.0";
8
+ export declare const pkgVersion = "2.100.0";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -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,WAAW,CAAC"}
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"}
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export const pkgName = "@fluidframework/map";
8
- export const pkgVersion = "2.92.0";
8
+ export const pkgVersion = "2.100.0";
9
9
  //# sourceMappingURL=packageVersion.js.map
@@ -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,QAAQ,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.92.0\";\n"]}
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"]}
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.52.11"
8
+ "packageVersion": "7.58.1"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/map",
3
- "version": "2.92.0",
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.92.0",
85
- "@fluidframework/core-interfaces": "~2.92.0",
86
- "@fluidframework/core-utils": "~2.92.0",
87
- "@fluidframework/datastore-definitions": "~2.92.0",
88
- "@fluidframework/driver-definitions": "~2.92.0",
89
- "@fluidframework/driver-utils": "~2.92.0",
90
- "@fluidframework/runtime-definitions": "~2.92.0",
91
- "@fluidframework/runtime-utils": "~2.92.0",
92
- "@fluidframework/shared-object-base": "~2.92.0",
93
- "@fluidframework/telemetry-utils": "~2.92.0",
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.92.0",
100
- "@fluid-private/stochastic-test-utils": "~2.92.0",
101
- "@fluid-private/test-dds-utils": "~2.92.0",
102
- "@fluid-tools/benchmark": "^0.52.0",
103
- "@fluid-tools/build-cli": "^0.64.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.64.0",
106
- "@fluidframework/container-definitions": "~2.92.0",
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.91.0",
109
- "@fluidframework/test-runtime-utils": "~2.92.0",
110
- "@microsoft/api-extractor": "7.52.11",
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": "~20.19.30",
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
- type ITelemetryLoggerExt,
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: ITelemetryLoggerExt,
1158
+ logger: TelemetryLoggerExt,
1158
1159
  ) {
1159
1160
  super();
1160
1161
  this.mc = createChildMonitoringContext({ logger, namespace: "Directory" });
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/map";
9
- export const pkgVersion = "2.92.0";
9
+ export const pkgVersion = "2.100.0";