@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 +4 -0
- package/README.md +30 -34
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/package.json +22 -22
- package/src/packageVersion.ts +1 -1
package/CHANGELOG.md
CHANGED
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
|
-
<!--
|
|
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
|
-
<!--
|
|
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
|
-
-
|
|
242
|
-
-
|
|
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
|
-
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
-
|
|
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
|
-
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
-
|
|
262
|
-
|
|
263
|
-
|
|
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
|
-
-
|
|
275
|
-
|
|
276
|
-
-
|
|
277
|
-
|
|
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
|
-
-
|
|
284
|
-
-
|
|
285
|
-
-
|
|
286
|
-
-
|
|
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
|
|
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 -->
|
package/dist/packageVersion.d.ts
CHANGED
package/dist/packageVersion.js
CHANGED
|
@@ -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
|
|
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
|
|
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"]}
|
package/lib/packageVersion.d.ts
CHANGED
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,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
|
|
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
|
|
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
|
|
57
|
-
"@fluidframework/container-definitions": "~3.0
|
|
58
|
-
"@fluidframework/container-loader": "~3.0
|
|
59
|
-
"@fluidframework/container-runtime": "~3.0
|
|
60
|
-
"@fluidframework/container-runtime-definitions": "~3.0
|
|
61
|
-
"@fluidframework/core-interfaces": "~3.0
|
|
62
|
-
"@fluidframework/core-utils": "~3.0
|
|
63
|
-
"@fluidframework/datastore": "~3.0
|
|
64
|
-
"@fluidframework/datastore-definitions": "~3.0
|
|
65
|
-
"@fluidframework/driver-definitions": "~3.0
|
|
66
|
-
"@fluidframework/driver-utils": "~3.0
|
|
67
|
-
"@fluidframework/local-driver": "~3.0
|
|
68
|
-
"@fluidframework/map": "~3.0
|
|
69
|
-
"@fluidframework/odsp-driver": "~3.0
|
|
70
|
-
"@fluidframework/request-handler": "~3.0
|
|
71
|
-
"@fluidframework/routerlicious-driver": "~3.0
|
|
72
|
-
"@fluidframework/runtime-definitions": "~3.0
|
|
73
|
-
"@fluidframework/runtime-utils": "~3.0
|
|
74
|
-
"@fluidframework/shared-object-base": "~3.0
|
|
75
|
-
"@fluidframework/telemetry-utils": "~3.0
|
|
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
|
|
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",
|
package/src/packageVersion.ts
CHANGED