@fluidframework/core-utils 2.92.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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # @fluidframework/core-utils
2
2
 
3
+ ## 2.93.0
4
+
5
+ Dependency updates only.
6
+
3
7
  ## 2.92.0
4
8
 
5
9
  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 ^20.10.0 except that we will drop support for it [when NodeJs 20 loses its upstream support on 2026-04-30](https://github.com/nodejs/release#release-schedule), and will support a newer LTS version of NodeJS (22) at least 1 year before 20 is end-of-life. This same policy applies to NodeJS 22 when it is end of life (2027-04-30).
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({ expiry, removeOnError, }?: PromiseCacheOptions);
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
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import type { Linter } from "eslint";
7
- import { strict } from "../../../common/build/eslint-config-fluid/flat.mts";
7
+ import { strict } from "@fluidframework/eslint-config-fluid/flat.mts";
8
8
 
9
9
  const config: Linter.Config[] = [
10
10
  ...strict,
@@ -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/core-utils",
3
- "version": "2.92.0",
3
+ "version": "2.93.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.92.0",
83
- "@fluid-tools/benchmark": "^0.52.0",
82
+ "@fluid-internal/mocha-test-setup": "~2.93.0",
83
+ "@fluid-tools/benchmark": "^0.55.0",
84
84
  "@fluid-tools/build-cli": "^0.64.0",
85
85
  "@fluidframework/build-common": "^2.0.3",
86
86
  "@fluidframework/build-tools": "^0.64.0",
87
- "@fluidframework/core-utils-previous": "npm:@fluidframework/core-utils@2.91.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.52.11",
89
+ "@microsoft/api-extractor": "7.58.1",
90
90
  "@types/mocha": "^10.0.10",
91
- "@types/node": "~20.19.30",
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": "mocha --timeout 999999 --perfMode --parentProcess --fgrep @Benchmark --fgrep @ExecutionTime --reporter @fluid-tools/benchmark/dist/MochaReporter.js",
115
- "bench:profile": "mocha --v8-prof --v8-logfile=profile.log --v8-no-logfile-per-isolate --timeout 999999 --perfMode --fgrep @Benchmark --fgrep @ExecutionTime --reporter @fluid-tools/benchmark/dist/MochaReporter.js && node --prof-process profile.log > profile.txt && rimraf profile.log && echo See results in profile.txt",
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
  }