@fluidframework/test-utils 3.0.2 → 3.1.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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # @fluidframework/test-utils
2
2
 
3
+ ## 3.1.0
4
+
5
+ Dependency updates only.
6
+
3
7
  ## 3.0.0
4
8
 
5
9
  ### Minor Changes
package/README.md CHANGED
@@ -4,8 +4,7 @@ This package contains utilities for writing end-to-end tests in Fluid Framework.
4
4
 
5
5
  Internal note: Currently, it also has a load side-effect when loaded under mocha where `@fluid-internal/mocha-test-setup` is used. The side-effect will attempt to inject an error 15ms before a test case would otherwise timeout.
6
6
 
7
- <!-- AUTO-GENERATED-CONTENT:START (LIBRARY_README_HEADER:devDependency=TRUE) -->
8
-
7
+ <!-- markdown-magic:begin {"transform":"library-readme-header","devDependency":true,"headingLevel":2} -->
9
8
  <!-- prettier-ignore-start -->
10
9
  <!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
11
10
 
@@ -39,8 +38,7 @@ Import the `legacy` APIs from `@fluidframework/test-utils/legacy`.
39
38
  Read the **@fluidframework/test-utils** API documentation at <https://fluidframework.com/docs/apis/test-utils>.
40
39
 
41
40
  <!-- prettier-ignore-end -->
42
-
43
- <!-- AUTO-GENERATED-CONTENT:END -->
41
+ <!-- markdown-magic:end -->
44
42
 
45
43
  ## Local Code Loader
46
44
 
@@ -220,8 +218,7 @@ The above usage is taken from [SharedStringTest](../end-to-end-tests/src/test/sh
220
218
 
221
219
  There are a number of other examples (some a little more complex) in the same [directory](../end-to-end-tests/src/test).
222
220
 
223
- <!-- AUTO-GENERATED-CONTENT:START (README_FOOTER) -->
224
-
221
+ <!-- markdown-magic:begin {"transform":"readme-footer","headingLevel":2} -->
225
222
  <!-- prettier-ignore-start -->
226
223
  <!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
227
224
 
@@ -238,29 +235,29 @@ To request support for a configuration that is not listed, file an issue.
238
235
  The product team will evaluate your request.
239
236
  In the issue, specify the current status of the configuration:
240
237
 
241
- - The configuration works but needs official support.
242
- - The configuration does not work and requires changes.
238
+ - The configuration works but needs official support.
239
+ - The configuration does not work and requires changes.
243
240
 
244
241
  ### Supported Runtimes
245
242
 
246
- - Fluid Framework supports Node.js versions 22 and 24 while they receive [upstream support](https://nodejs.org/en/about/previous-releases).
247
- - Fluid Framework will stop support for version 22 [when upstream support ends on 2027-04-30](https://github.com/nodejs/release#release-schedule).
248
- - Fluid Framework does not support Node.js with the `--no-experimental-fetch` flag.
249
- - Fluid Framework supports modern browsers that support the ES2022 standard library.
243
+ - Fluid Framework supports Node.js versions 22 and 24 while they receive [upstream support](https://nodejs.org/en/about/previous-releases).
244
+ - Fluid Framework will stop support for version 22 [when upstream support ends on 2027-04-30](https://github.com/nodejs/release#release-schedule).
245
+ - Fluid Framework does not support Node.js with the `--no-experimental-fetch` flag.
246
+ - Fluid Framework supports modern browsers that support the ES2022 standard library.
250
247
 
251
248
  ### Supported Tools
252
249
 
253
- - [TypeScript 6.0](https://typescriptdocs.com/release-notes/TypeScript%206.0):
254
- - Fluid Framework supports all [`strict`](https://www.typescriptlang.org/tsconfig) options.
255
- - Set the build targets (`lib`, `target`) to `ES2022` or later.
256
- - Enable [`strictNullChecks`](https://www.typescriptlang.org/tsconfig).
257
- - Fluid Framework does not support [configuration options deprecated in TypeScript 6.0](https://typescriptdocs.com/release-notes/TypeScript%206.0#breaking-changes-and-deprecations-in-typescript-6-0).
258
- - Fluid Framework does not fully support `exactOptionalPropertyTypes`.
259
- If you enable this option, do not use `in`, `Reflect.has`, `Object.hasOwn`, or `Object.prototype.hasOwnProperty` to narrow members of Fluid Framework types.
260
- These methods can incorrectly exclude `undefined` from the possible values.
261
- - [webpack](https://webpack.js.org/) 5
262
- - We do not require a specific bundler.
263
- Other bundlers that handle ES Modules can work, but we actively test only webpack.
250
+ - [TypeScript 6.0](https://typescriptdocs.com/release-notes/TypeScript%206.0):
251
+ - Fluid Framework supports all [`strict`](https://www.typescriptlang.org/tsconfig) options.
252
+ - Set the build targets (`lib`, `target`) to `ES2022` or later.
253
+ - Enable [`strictNullChecks`](https://www.typescriptlang.org/tsconfig).
254
+ - Fluid Framework does not support [configuration options deprecated in TypeScript 6.0](https://typescriptdocs.com/release-notes/TypeScript%206.0#breaking-changes-and-deprecations-in-typescript-6-0).
255
+ - Fluid Framework does not fully support `exactOptionalPropertyTypes`.
256
+ If you enable this option, do not use `in`, `Reflect.has`, `Object.hasOwn`, or `Object.prototype.hasOwnProperty` to narrow members of Fluid Framework types.
257
+ These methods can incorrectly exclude `undefined` from the possible values.
258
+ - [webpack](https://webpack.js.org/) 5
259
+ - We do not require a specific bundler.
260
+ Other bundlers that handle ES Modules can work, but we actively test only webpack.
264
261
 
265
262
  ### Module Resolution
266
263
 
@@ -271,25 +268,25 @@ Do not use `Node10` module resolution.
271
268
 
272
269
  ### Module Formats
273
270
 
274
- - ES Modules:
275
- Use ES Modules to consume Fluid Framework client packages, including in Node.js.
276
- - CommonJS:
277
- Fluid Framework does not officially support CommonJS in version 3.0 or later.
271
+ - ES Modules:
272
+ Use ES Modules to consume Fluid Framework client packages, including in Node.js.
273
+ - CommonJS:
274
+ Fluid Framework does not officially support CommonJS in version 3.0 or later.
278
275
 
279
276
  ## Contribution Guidelines
280
277
 
281
278
  You can [contribute](https://github.com/microsoft/FluidFramework/blob/main/CONTRIBUTING.md) to Fluid Framework in these ways:
282
279
 
283
- - Answer questions in [GitHub Discussions](https://github.com/microsoft/FluidFramework/discussions).
284
- - [Submit bug reports](https://github.com/microsoft/FluidFramework/issues) and help verify fixes.
285
- - Review [source code changes](https://github.com/microsoft/FluidFramework/pulls).
286
- - [Contribute bug fixes](https://github.com/microsoft/FluidFramework/blob/main/CONTRIBUTING.md).
280
+ - Answer questions in [GitHub Discussions](https://github.com/microsoft/FluidFramework/discussions).
281
+ - [Submit bug reports](https://github.com/microsoft/FluidFramework/issues) and help verify fixes.
282
+ - Review [source code changes](https://github.com/microsoft/FluidFramework/pulls).
283
+ - [Contribute bug fixes](https://github.com/microsoft/FluidFramework/blob/main/CONTRIBUTING.md).
287
284
 
288
285
  For detailed instructions, read the [repo documentation](https://github.com/microsoft/FluidFramework/blob/main/docs/content/Home.md).
289
286
 
290
287
  This project follows the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
291
288
  For more information, read the [Code of Conduct frequently asked questions](https://opensource.microsoft.com/codeofconduct/faq/).
292
- For questions or comments, contact [opencode@microsoft.com](mailto:opencode@microsoft.com).
289
+ For questions or comments, contact <opencode@microsoft.com>.
293
290
 
294
291
  This project may contain Microsoft trademarks or logos for Microsoft projects, products, or services.
295
292
  Use of these trademarks or logos must follow Microsoft’s [Trademark & Brand Guidelines](https://www.microsoft.com/trademarks).
@@ -310,5 +307,4 @@ Use of these trademarks or logos must follow Microsoft's [Trademark & Brand Guid
310
307
  Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
311
308
 
312
309
  <!-- prettier-ignore-end -->
313
-
314
- <!-- AUTO-GENERATED-CONTENT:END -->
310
+ <!-- markdown-magic:end -->
@@ -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/test-utils";
8
- export declare const pkgVersion = "3.0.2";
8
+ export declare const pkgVersion = "3.1.0";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -8,5 +8,5 @@
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.pkgVersion = exports.pkgName = void 0;
10
10
  exports.pkgName = "@fluidframework/test-utils";
11
- exports.pkgVersion = "3.0.2";
11
+ exports.pkgVersion = "3.1.0";
12
12
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,4BAA4B,CAAC;AACvC,QAAA,UAAU,GAAG,OAAO,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/test-utils\";\nexport const pkgVersion = \"3.0.2\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,4BAA4B,CAAC;AACvC,QAAA,UAAU,GAAG,OAAO,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/test-utils\";\nexport const pkgVersion = \"3.1.0\";\n"]}
@@ -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/test-utils";
8
- export declare const pkgVersion = "3.0.2";
8
+ export declare const pkgVersion = "3.1.0";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -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/test-utils";
8
- export const pkgVersion = "3.0.2";
8
+ export const pkgVersion = "3.1.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,4BAA4B,CAAC;AACpD,MAAM,CAAC,MAAM,UAAU,GAAG,OAAO,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/test-utils\";\nexport const pkgVersion = \"3.0.2\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,4BAA4B,CAAC;AACpD,MAAM,CAAC,MAAM,UAAU,GAAG,OAAO,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/test-utils\";\nexport const pkgVersion = \"3.1.0\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/test-utils",
3
- "version": "3.0.2",
3
+ "version": "3.1.0",
4
4
  "description": "Utilities for Fluid tests",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -53,26 +53,26 @@
53
53
  "temp-directory": "nyc/.nyc_output"
54
54
  },
55
55
  "dependencies": {
56
- "@fluid-internal/test-driver-definitions": "~3.0.2",
57
- "@fluidframework/container-definitions": "~3.0.2",
58
- "@fluidframework/container-loader": "~3.0.2",
59
- "@fluidframework/container-runtime": "~3.0.2",
60
- "@fluidframework/container-runtime-definitions": "~3.0.2",
61
- "@fluidframework/core-interfaces": "~3.0.2",
62
- "@fluidframework/core-utils": "~3.0.2",
63
- "@fluidframework/datastore": "~3.0.2",
64
- "@fluidframework/datastore-definitions": "~3.0.2",
65
- "@fluidframework/driver-definitions": "~3.0.2",
66
- "@fluidframework/driver-utils": "~3.0.2",
67
- "@fluidframework/local-driver": "~3.0.2",
68
- "@fluidframework/map": "~3.0.2",
69
- "@fluidframework/odsp-driver": "~3.0.2",
70
- "@fluidframework/request-handler": "~3.0.2",
71
- "@fluidframework/routerlicious-driver": "~3.0.2",
72
- "@fluidframework/runtime-definitions": "~3.0.2",
73
- "@fluidframework/runtime-utils": "~3.0.2",
74
- "@fluidframework/shared-object-base": "~3.0.2",
75
- "@fluidframework/telemetry-utils": "~3.0.2",
56
+ "@fluid-internal/test-driver-definitions": "~3.1.0",
57
+ "@fluidframework/container-definitions": "~3.1.0",
58
+ "@fluidframework/container-loader": "~3.1.0",
59
+ "@fluidframework/container-runtime": "~3.1.0",
60
+ "@fluidframework/container-runtime-definitions": "~3.1.0",
61
+ "@fluidframework/core-interfaces": "~3.1.0",
62
+ "@fluidframework/core-utils": "~3.1.0",
63
+ "@fluidframework/datastore": "~3.1.0",
64
+ "@fluidframework/datastore-definitions": "~3.1.0",
65
+ "@fluidframework/driver-definitions": "~3.1.0",
66
+ "@fluidframework/driver-utils": "~3.1.0",
67
+ "@fluidframework/local-driver": "~3.1.0",
68
+ "@fluidframework/map": "~3.1.0",
69
+ "@fluidframework/odsp-driver": "~3.1.0",
70
+ "@fluidframework/request-handler": "~3.1.0",
71
+ "@fluidframework/routerlicious-driver": "~3.1.0",
72
+ "@fluidframework/runtime-definitions": "~3.1.0",
73
+ "@fluidframework/runtime-utils": "~3.1.0",
74
+ "@fluidframework/shared-object-base": "~3.1.0",
75
+ "@fluidframework/telemetry-utils": "~3.1.0",
76
76
  "best-random": "^1.0.0",
77
77
  "debug": "^4.3.4",
78
78
  "uuid": "^11.1.0"
@@ -80,7 +80,7 @@
80
80
  "devDependencies": {
81
81
  "@arethetypeswrong/cli": "^0.18.5",
82
82
  "@biomejs/biome": "~2.4.5",
83
- "@fluid-internal/mocha-test-setup": "~3.0.2",
83
+ "@fluid-internal/mocha-test-setup": "~3.1.0",
84
84
  "@fluid-tools/build-cli": "^0.67.0",
85
85
  "@fluidframework/build-common": "^2.0.3",
86
86
  "@fluidframework/build-tools": "^0.67.0",
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/test-utils";
9
- export const pkgVersion = "3.0.2";
9
+ export const pkgVersion = "3.1.0";