@fluidframework/test-utils 2.91.0 → 2.93.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 +28 -0
- package/README.md +1 -1
- package/dist/legacy.d.ts +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/dist/public.d.ts +1 -1
- package/eslint.config.mts +25 -2
- package/internal.d.ts +1 -1
- package/legacy.d.ts +1 -1
- package/lib/legacy.d.ts +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/public.d.ts +1 -1
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +39 -33
- package/src/packageVersion.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @fluidframework/test-utils
|
|
2
2
|
|
|
3
|
+
## 2.93.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- minVersionForCollab is now non-optional ([#25331](https://github.com/microsoft/FluidFramework/pull/25331)) [9a0d0272df](https://github.com/microsoft/FluidFramework/commit/9a0d0272df6ae1a521cff00292dd159ea3b5e270)
|
|
8
|
+
|
|
9
|
+
This change is a follow-up for [pull request 25130](https://github.com/microsoft/FluidFramework/pull/25130)
|
|
10
|
+
which was released as part of [2.61.0](https://github.com/microsoft/FluidFramework/releases/tag/client_v2.61.0).
|
|
11
|
+
|
|
12
|
+
The `minVersionForCollab` property has been made non-optional in the following `@beta` `@legacy` interfaces in the Runtime layer:
|
|
13
|
+
- `IFluidParentContext.minVersionForCollab` in `@fluidframework/runtime-definitions`.
|
|
14
|
+
- `IFluidDataStoreContext.minVersionForCollab` in `@fluidframework/runtime-definitions`.
|
|
15
|
+
- `IFluidDataStoreContextDetached.minVersionForCollab` in `@fluidframework/runtime-definitions`.
|
|
16
|
+
|
|
17
|
+
Consumers of Fluid aren't expected to implement these interfaces directly, so no impact is expected.
|
|
18
|
+
|
|
19
|
+
Additionally the following properties now always return a value, rather than possibly returning `undefined`:
|
|
20
|
+
- `FluidDataStoreRuntime.minVersionForCollab` in `@fluidframework/datastore`.
|
|
21
|
+
Note that API Extractor shows this as a breaking change since FluidDataStoreRuntime is beta + legacy and non-sealed.
|
|
22
|
+
However, FluidDataStoreRuntime is not intended to be extended directly outside of a known legacy use-case.
|
|
23
|
+
- `IDataObjectProps.context.minVersionForCollab` in `@fluidframework/aqueduct`.
|
|
24
|
+
- `ITestFluidObject.context.minVersionForCollab` in `@fluidframework/test-utils`
|
|
25
|
+
- `IProvideTestFluidObject.ITestFluidObject.context.minVersionForCollab` in `@fluidframework/test-utils`
|
|
26
|
+
|
|
27
|
+
## 2.92.0
|
|
28
|
+
|
|
29
|
+
Dependency updates only.
|
|
30
|
+
|
|
3
31
|
## 2.91.0
|
|
4
32
|
|
|
5
33
|
Dependency updates only.
|
package/README.md
CHANGED
|
@@ -237,7 +237,7 @@ When making such a request please include if the configuration already works (an
|
|
|
237
237
|
|
|
238
238
|
### Supported Runtimes
|
|
239
239
|
|
|
240
|
-
- NodeJs ^
|
|
240
|
+
- NodeJs ^22.22.2 except that we will drop support for it [when NodeJs 22 loses its upstream support on 2027-04-30](https://github.com/nodejs/release#release-schedule), and will support a newer LTS version of NodeJS at least 1 year before 22 is end-of-life.
|
|
241
241
|
- Running Fluid in a Node.js environment with the `--no-experimental-fetch` flag is not supported.
|
|
242
242
|
- Modern browsers supporting the es2022 standard library: in response to asks we can add explicit support for using babel to polyfill to target specific standards or runtimes (meaning we can avoid/remove use of things that don't polyfill robustly, but otherwise target modern standards).
|
|
243
243
|
|
package/dist/legacy.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
-
* Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
|
|
8
|
+
* Generated by "flub generate entrypoints --resolutionConditions require --outFileLegacyBeta legacy --outDir ./dist" in @fluid-tools/build-cli.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
export {
|
package/dist/packageVersion.d.ts
CHANGED
|
@@ -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 = "2.
|
|
8
|
+
export declare const pkgVersion = "2.93.0";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
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 = "2.
|
|
11
|
+
exports.pkgVersion = "2.93.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,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/test-utils\";\nexport const pkgVersion = \"2.
|
|
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,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/test-utils\";\nexport const pkgVersion = \"2.93.0\";\n"]}
|
package/dist/public.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
-
* Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
|
|
8
|
+
* Generated by "flub generate entrypoints --resolutionConditions require --outFileLegacyBeta legacy --outDir ./dist" in @fluid-tools/build-cli.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
export {}
|
package/eslint.config.mts
CHANGED
|
@@ -4,13 +4,36 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { Linter } from "eslint";
|
|
7
|
-
import {
|
|
7
|
+
import { recommended } from "@fluidframework/eslint-config-fluid/flat.mts";
|
|
8
8
|
|
|
9
9
|
const config: Linter.Config[] = [
|
|
10
|
-
...
|
|
10
|
+
...recommended,
|
|
11
11
|
{
|
|
12
12
|
rules: {
|
|
13
|
+
"@typescript-eslint/consistent-type-exports": "off",
|
|
14
|
+
"@typescript-eslint/consistent-type-imports": "off",
|
|
15
|
+
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
16
|
+
"@typescript-eslint/no-explicit-any": "off",
|
|
17
|
+
"@typescript-eslint/no-unsafe-argument": "off",
|
|
18
|
+
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
19
|
+
"@typescript-eslint/no-unsafe-call": "off",
|
|
20
|
+
"@typescript-eslint/no-unsafe-member-access": "off",
|
|
13
21
|
"import-x/no-nodejs-modules": "off",
|
|
22
|
+
"jsdoc/require-description": "off",
|
|
23
|
+
"no-void": "off",
|
|
24
|
+
"unicorn/catch-error-name": "off",
|
|
25
|
+
"unicorn/explicit-length-check": "off",
|
|
26
|
+
"unicorn/new-for-builtins": "off",
|
|
27
|
+
"unicorn/no-array-for-each": "off",
|
|
28
|
+
"unicorn/no-await-expression-member": "off",
|
|
29
|
+
"unicorn/no-negated-condition": "off",
|
|
30
|
+
"unicorn/no-useless-promise-resolve-reject": "off",
|
|
31
|
+
"unicorn/prefer-node-protocol": "off",
|
|
32
|
+
"unicorn/prefer-optional-catch-binding": "off",
|
|
33
|
+
"unicorn/prefer-set-has": "off",
|
|
34
|
+
"unicorn/prefer-spread": "off",
|
|
35
|
+
"unicorn/switch-case-braces": "off",
|
|
36
|
+
"unicorn/throw-new-error": "off",
|
|
14
37
|
},
|
|
15
38
|
},
|
|
16
39
|
];
|
package/internal.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
-
* Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
|
|
8
|
+
* Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat" in @fluid-tools/build-cli.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
export * from "./lib/index.js";
|
package/legacy.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
-
* Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
|
|
8
|
+
* Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat" in @fluid-tools/build-cli.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
export * from "./lib/legacy.js";
|
package/lib/legacy.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
-
* Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
|
|
8
|
+
* Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat" in @fluid-tools/build-cli.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
export {
|
package/lib/packageVersion.d.ts
CHANGED
|
@@ -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 = "2.
|
|
8
|
+
export declare const pkgVersion = "2.93.0";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
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,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/test-utils\";\nexport const pkgVersion = \"2.
|
|
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,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/test-utils\";\nexport const pkgVersion = \"2.93.0\";\n"]}
|
package/lib/public.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
-
* Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
|
|
8
|
+
* Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat" in @fluid-tools/build-cli.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
export {}
|
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/test-utils",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.93.0",
|
|
4
4
|
"description": "Utilities for Fluid tests",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -67,26 +67,26 @@
|
|
|
67
67
|
"temp-directory": "nyc/.nyc_output"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@fluid-internal/test-driver-definitions": "~2.
|
|
71
|
-
"@fluidframework/container-definitions": "~2.
|
|
72
|
-
"@fluidframework/container-loader": "~2.
|
|
73
|
-
"@fluidframework/container-runtime": "~2.
|
|
74
|
-
"@fluidframework/container-runtime-definitions": "~2.
|
|
75
|
-
"@fluidframework/core-interfaces": "~2.
|
|
76
|
-
"@fluidframework/core-utils": "~2.
|
|
77
|
-
"@fluidframework/datastore": "~2.
|
|
78
|
-
"@fluidframework/datastore-definitions": "~2.
|
|
79
|
-
"@fluidframework/driver-definitions": "~2.
|
|
80
|
-
"@fluidframework/driver-utils": "~2.
|
|
81
|
-
"@fluidframework/local-driver": "~2.
|
|
82
|
-
"@fluidframework/map": "~2.
|
|
83
|
-
"@fluidframework/odsp-driver": "~2.
|
|
84
|
-
"@fluidframework/request-handler": "~2.
|
|
85
|
-
"@fluidframework/routerlicious-driver": "~2.
|
|
86
|
-
"@fluidframework/runtime-definitions": "~2.
|
|
87
|
-
"@fluidframework/runtime-utils": "~2.
|
|
88
|
-
"@fluidframework/shared-object-base": "~2.
|
|
89
|
-
"@fluidframework/telemetry-utils": "~2.
|
|
70
|
+
"@fluid-internal/test-driver-definitions": "~2.93.0",
|
|
71
|
+
"@fluidframework/container-definitions": "~2.93.0",
|
|
72
|
+
"@fluidframework/container-loader": "~2.93.0",
|
|
73
|
+
"@fluidframework/container-runtime": "~2.93.0",
|
|
74
|
+
"@fluidframework/container-runtime-definitions": "~2.93.0",
|
|
75
|
+
"@fluidframework/core-interfaces": "~2.93.0",
|
|
76
|
+
"@fluidframework/core-utils": "~2.93.0",
|
|
77
|
+
"@fluidframework/datastore": "~2.93.0",
|
|
78
|
+
"@fluidframework/datastore-definitions": "~2.93.0",
|
|
79
|
+
"@fluidframework/driver-definitions": "~2.93.0",
|
|
80
|
+
"@fluidframework/driver-utils": "~2.93.0",
|
|
81
|
+
"@fluidframework/local-driver": "~2.93.0",
|
|
82
|
+
"@fluidframework/map": "~2.93.0",
|
|
83
|
+
"@fluidframework/odsp-driver": "~2.93.0",
|
|
84
|
+
"@fluidframework/request-handler": "~2.93.0",
|
|
85
|
+
"@fluidframework/routerlicious-driver": "~2.93.0",
|
|
86
|
+
"@fluidframework/runtime-definitions": "~2.93.0",
|
|
87
|
+
"@fluidframework/runtime-utils": "~2.93.0",
|
|
88
|
+
"@fluidframework/shared-object-base": "~2.93.0",
|
|
89
|
+
"@fluidframework/telemetry-utils": "~2.93.0",
|
|
90
90
|
"best-random": "^1.0.0",
|
|
91
91
|
"debug": "^4.3.4",
|
|
92
92
|
"uuid": "^11.1.0"
|
|
@@ -94,22 +94,22 @@
|
|
|
94
94
|
"devDependencies": {
|
|
95
95
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
96
96
|
"@biomejs/biome": "~2.4.5",
|
|
97
|
-
"@fluid-internal/mocha-test-setup": "~2.
|
|
98
|
-
"@fluid-tools/build-cli": "^0.
|
|
97
|
+
"@fluid-internal/mocha-test-setup": "~2.93.0",
|
|
98
|
+
"@fluid-tools/build-cli": "^0.64.0",
|
|
99
99
|
"@fluidframework/build-common": "^2.0.3",
|
|
100
|
-
"@fluidframework/build-tools": "^0.
|
|
101
|
-
"@fluidframework/eslint-config-fluid": "
|
|
102
|
-
"@fluidframework/test-utils-previous": "npm:@fluidframework/test-utils@2.
|
|
103
|
-
"@microsoft/api-extractor": "7.
|
|
100
|
+
"@fluidframework/build-tools": "^0.64.0",
|
|
101
|
+
"@fluidframework/eslint-config-fluid": "^9.0.0",
|
|
102
|
+
"@fluidframework/test-utils-previous": "npm:@fluidframework/test-utils@2.92.0",
|
|
103
|
+
"@microsoft/api-extractor": "7.58.1",
|
|
104
104
|
"@types/debug": "^4.1.5",
|
|
105
105
|
"@types/diff": "^3.5.1",
|
|
106
106
|
"@types/mocha": "^10.0.10",
|
|
107
|
-
"@types/node": "~
|
|
107
|
+
"@types/node": "~22.19.17",
|
|
108
108
|
"c8": "^10.1.3",
|
|
109
109
|
"concurrently": "^9.2.1",
|
|
110
110
|
"copyfiles": "^2.4.1",
|
|
111
111
|
"cross-env": "^10.1.0",
|
|
112
|
-
"diff": "^
|
|
112
|
+
"diff": "^4.0.4",
|
|
113
113
|
"eslint": "~9.39.1",
|
|
114
114
|
"jiti": "^2.6.1",
|
|
115
115
|
"mocha": "^11.7.5",
|
|
@@ -118,12 +118,19 @@
|
|
|
118
118
|
"typescript": "~5.4.5"
|
|
119
119
|
},
|
|
120
120
|
"typeValidation": {
|
|
121
|
-
"broken": {
|
|
121
|
+
"broken": {
|
|
122
|
+
"Interface_IProvideTestFluidObject": {
|
|
123
|
+
"forwardCompat": false
|
|
124
|
+
},
|
|
125
|
+
"Interface_ITestFluidObject": {
|
|
126
|
+
"forwardCompat": false
|
|
127
|
+
}
|
|
128
|
+
},
|
|
122
129
|
"entrypoint": "legacy"
|
|
123
130
|
},
|
|
124
131
|
"scripts": {
|
|
125
132
|
"api": "fluid-build . --task api",
|
|
126
|
-
"api-extractor:commonjs": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./dist",
|
|
133
|
+
"api-extractor:commonjs": "flub generate entrypoints --resolutionConditions require --outFileLegacyBeta legacy --outDir ./dist",
|
|
127
134
|
"api-extractor:esnext": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat",
|
|
128
135
|
"build": "fluid-build . --task build",
|
|
129
136
|
"build:api-reports": "concurrently \"npm:build:api-reports:*\"",
|
|
@@ -163,7 +170,6 @@
|
|
|
163
170
|
"test:mocha:esm": "mocha",
|
|
164
171
|
"test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
|
|
165
172
|
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
|
|
166
|
-
"typetests:gen": "flub generate typetests --dir . -v"
|
|
167
|
-
"typetests:prepare": "flub typetests --dir . --reset --previous --normalize"
|
|
173
|
+
"typetests:gen": "flub generate typetests --dir . -v"
|
|
168
174
|
}
|
|
169
175
|
}
|
package/src/packageVersion.ts
CHANGED