@fluidframework/core-utils 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/api-report/core-utils.legacy.beta.api.md +1 -1
- package/eslint.config.mts +1 -1
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +11 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @fluidframework/core-utils
|
|
2
2
|
|
|
3
|
+
## 2.100.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Node 22 is now the minimum supported Node.js version ([#27116](https://github.com/microsoft/FluidFramework/pull/27116)) [e8214d29663](https://github.com/microsoft/FluidFramework/commit/e8214d29663f5ee98d737daed82506a25d8de8d0)
|
|
8
|
+
|
|
9
|
+
All Fluid Framework client packages now require Node.js 22 or later. This aligns with the standing Node upgrade policy as Node 20 reaches end-of-life on April 30, 2026.
|
|
10
|
+
|
|
11
|
+
## 2.93.0
|
|
12
|
+
|
|
13
|
+
Dependency updates only.
|
|
14
|
+
|
|
3
15
|
## 2.92.0
|
|
4
16
|
|
|
5
17
|
Dependency updates only.
|
package/README.md
CHANGED
|
@@ -86,7 +86,7 @@ When making such a request please include if the configuration already works (an
|
|
|
86
86
|
|
|
87
87
|
### Supported Runtimes
|
|
88
88
|
|
|
89
|
-
- NodeJs ^
|
|
89
|
+
- 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.
|
|
90
90
|
- Running Fluid in a Node.js environment with the `--no-experimental-fetch` flag is not supported.
|
|
91
91
|
- 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).
|
|
92
92
|
|
|
@@ -34,7 +34,7 @@ export class LazyPromise<T> implements Promise<T> {
|
|
|
34
34
|
|
|
35
35
|
// @beta @legacy
|
|
36
36
|
export class PromiseCache<TKey, TResult> {
|
|
37
|
-
constructor(
|
|
37
|
+
constructor(input?: PromiseCacheOptions);
|
|
38
38
|
add(key: TKey, asyncFn: () => Promise<TResult>): boolean;
|
|
39
39
|
addOrGet(key: TKey, asyncFn: () => Promise<TResult>): Promise<TResult>;
|
|
40
40
|
addValue(key: TKey, value: TResult): boolean;
|
package/eslint.config.mts
CHANGED
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/core-utils",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.100.0",
|
|
4
4
|
"description": "Not intended for use outside the Fluid client repo.",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -79,16 +79,16 @@
|
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
81
81
|
"@biomejs/biome": "~2.4.5",
|
|
82
|
-
"@fluid-internal/mocha-test-setup": "~2.
|
|
83
|
-
"@fluid-tools/benchmark": "^0.
|
|
84
|
-
"@fluid-tools/build-cli": "^0.
|
|
82
|
+
"@fluid-internal/mocha-test-setup": "~2.100.0",
|
|
83
|
+
"@fluid-tools/benchmark": "^0.58.0",
|
|
84
|
+
"@fluid-tools/build-cli": "^0.65.0",
|
|
85
85
|
"@fluidframework/build-common": "^2.0.3",
|
|
86
|
-
"@fluidframework/build-tools": "^0.
|
|
87
|
-
"@fluidframework/core-utils-previous": "npm:@fluidframework/core-utils@2.
|
|
86
|
+
"@fluidframework/build-tools": "^0.65.0",
|
|
87
|
+
"@fluidframework/core-utils-previous": "npm:@fluidframework/core-utils@2.92.0",
|
|
88
88
|
"@fluidframework/eslint-config-fluid": "^9.0.0",
|
|
89
|
-
"@microsoft/api-extractor": "7.
|
|
89
|
+
"@microsoft/api-extractor": "7.58.1",
|
|
90
90
|
"@types/mocha": "^10.0.10",
|
|
91
|
-
"@types/node": "~
|
|
91
|
+
"@types/node": "~22.19.17",
|
|
92
92
|
"@types/sinon": "^17.0.3",
|
|
93
93
|
"c8": "^10.1.3",
|
|
94
94
|
"concurrently": "^9.2.1",
|
|
@@ -111,8 +111,8 @@
|
|
|
111
111
|
"api": "fluid-build . --task api",
|
|
112
112
|
"api-extractor:commonjs": "flub generate entrypoints --resolutionConditions require --outFileLegacyBeta legacy --outDir ./dist",
|
|
113
113
|
"api-extractor:esnext": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat",
|
|
114
|
-
"bench": "
|
|
115
|
-
"bench:profile": "mocha --v8-prof --v8-logfile=profile.log --v8-no-logfile-per-isolate --
|
|
114
|
+
"bench": "cross-env FLUID_TEST_PERF_MODE=1 mocha --parentProcess",
|
|
115
|
+
"bench:profile": "cross-env FLUID_TEST_PERF_MODE=1 mocha --v8-prof --v8-logfile=profile.log --v8-no-logfile-per-isolate --fgrep @ExecutionTime && node --prof-process profile.log > profile.txt && rimraf profile.log && echo See results in profile.txt",
|
|
116
116
|
"build": "fluid-build . --task build",
|
|
117
117
|
"build:api-reports": "concurrently \"npm:build:api-reports:*\"",
|
|
118
118
|
"build:api-reports:current": "api-extractor run --local --config api-extractor/api-extractor.current.json",
|
|
@@ -147,14 +147,12 @@
|
|
|
147
147
|
"lint": "fluid-build . --task lint",
|
|
148
148
|
"lint:fix": "fluid-build . --task eslint:fix --task format",
|
|
149
149
|
"test": "npm run test:mocha",
|
|
150
|
-
"test:benchmark:report": "mocha --exit --perfMode --fgrep @Benchmark --fgrep @ExecutionTime --reporter @fluid-tools/benchmark/dist/MochaReporter.js --timeout 60000",
|
|
151
150
|
"test:coverage": "c8 npm test",
|
|
152
151
|
"test:mocha": "npm run test:mocha:esm && echo skipping cjs to avoid overhead - npm run test:mocha:cjs",
|
|
153
152
|
"test:mocha:cjs": "cross-env FLUID_TEST_MODULE_SYSTEM=CJS mocha",
|
|
154
153
|
"test:mocha:esm": "mocha",
|
|
155
154
|
"test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
|
|
156
155
|
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
|
|
157
|
-
"typetests:gen": "flub generate typetests --dir . -v"
|
|
158
|
-
"typetests:prepare": "flub typetests --dir . --reset --previous --normalize"
|
|
156
|
+
"typetests:gen": "flub generate typetests --dir . -v"
|
|
159
157
|
}
|
|
160
158
|
}
|