@fluidframework/core-utils 2.60.0 → 2.61.0-355516

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/.mocharc.cjs CHANGED
@@ -7,6 +7,5 @@
7
7
 
8
8
  const getFluidTestMochaConfig = require("@fluid-internal/mocha-test-setup/mocharc-common");
9
9
 
10
- const packageDir = __dirname;
11
- const config = getFluidTestMochaConfig(packageDir);
10
+ const config = getFluidTestMochaConfig(__dirname);
12
11
  module.exports = config;
package/dist/legacy.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  */
10
10
 
11
11
  export {
12
- // @legacy APIs
12
+ // #region @legacyBeta APIs
13
13
  Deferred,
14
14
  LazyPromise,
15
15
  PromiseCache,
@@ -17,4 +17,5 @@ export {
17
17
  PromiseCacheOptions,
18
18
  assert,
19
19
  compareArrays
20
+ // #endregion
20
21
  } from "./index.js";
package/lib/legacy.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  */
10
10
 
11
11
  export {
12
- // @legacy APIs
12
+ // #region @legacyBeta APIs
13
13
  Deferred,
14
14
  LazyPromise,
15
15
  PromiseCache,
@@ -17,4 +17,5 @@ export {
17
17
  PromiseCacheOptions,
18
18
  assert,
19
19
  compareArrays
20
+ // #endregion
20
21
  } from "./index.js";
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.52.8"
8
+ "packageVersion": "7.52.11"
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.60.0",
3
+ "version": "2.61.0-355516",
4
4
  "description": "Not intended for use outside the Fluid client repo.",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -69,18 +69,18 @@
69
69
  "devDependencies": {
70
70
  "@arethetypeswrong/cli": "^0.17.1",
71
71
  "@biomejs/biome": "~1.9.3",
72
- "@fluid-internal/mocha-test-setup": "~2.60.0",
72
+ "@fluid-internal/mocha-test-setup": "2.61.0-355516",
73
73
  "@fluid-tools/benchmark": "^0.51.0",
74
- "@fluid-tools/build-cli": "^0.57.0",
74
+ "@fluid-tools/build-cli": "^0.58.1",
75
75
  "@fluidframework/build-common": "^2.0.3",
76
- "@fluidframework/build-tools": "^0.57.0",
77
- "@fluidframework/core-utils-previous": "npm:@fluidframework/core-utils@2.53.0",
76
+ "@fluidframework/build-tools": "^0.58.1",
77
+ "@fluidframework/core-utils-previous": "npm:@fluidframework/core-utils@2.60.0",
78
78
  "@fluidframework/eslint-config-fluid": "^6.0.0",
79
- "@microsoft/api-extractor": "7.52.8",
79
+ "@microsoft/api-extractor": "7.52.11",
80
80
  "@types/mocha": "^10.0.10",
81
81
  "@types/node": "^18.19.0",
82
82
  "@types/sinon": "^17.0.3",
83
- "c8": "^8.0.1",
83
+ "c8": "^10.1.3",
84
84
  "concurrently": "^8.2.1",
85
85
  "copyfiles": "^2.4.1",
86
86
  "cross-env": "^7.0.3",
@@ -98,10 +98,10 @@
98
98
  },
99
99
  "scripts": {
100
100
  "api": "fluid-build . --task api",
101
- "api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
102
- "api-extractor:esnext": "flub generate entrypoints --outDir ./lib --node10TypeCompat",
103
- "bench": "mocha --recursive \"lib/test/**/*.spec.*js\" --timeout 999999 --perfMode --parentProcess --fgrep @Benchmark --fgrep @ExecutionTime --reporter @fluid-tools/benchmark/dist/MochaReporter.js",
104
- "bench:profile": "mocha --recursive \"lib/test/**/*.spec.*js\" --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",
101
+ "api-extractor:commonjs": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./dist",
102
+ "api-extractor:esnext": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat",
103
+ "bench": "mocha --timeout 999999 --perfMode --parentProcess --fgrep @Benchmark --fgrep @ExecutionTime --reporter @fluid-tools/benchmark/dist/MochaReporter.js",
104
+ "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",
105
105
  "build": "fluid-build . --task build",
106
106
  "build:api-reports": "concurrently \"npm:build:api-reports:*\"",
107
107
  "build:api-reports:current": "api-extractor run --local --config api-extractor/api-extractor.current.json",
@@ -134,11 +134,11 @@
134
134
  "lint": "fluid-build . --task lint",
135
135
  "lint:fix": "fluid-build . --task eslint:fix --task format",
136
136
  "test": "npm run test:mocha",
137
- "test:benchmark:report": "mocha --recursive \"lib/test/**/*.spec.*js\" --node-option unhandled-rejections=strict,expose-gc --exit --perfMode --fgrep @Benchmark --fgrep @ExecutionTime --reporter @fluid-tools/benchmark/dist/MochaReporter.js --timeout 60000",
137
+ "test:benchmark:report": "mocha --exit --perfMode --fgrep @Benchmark --fgrep @ExecutionTime --reporter @fluid-tools/benchmark/dist/MochaReporter.js --timeout 60000",
138
138
  "test:coverage": "c8 npm test",
139
139
  "test:mocha": "npm run test:mocha:esm && echo skipping cjs to avoid overhead - npm run test:mocha:cjs",
140
- "test:mocha:cjs": "mocha --recursive \"dist/test/**/*.spec.*js\"",
141
- "test:mocha:esm": "mocha --recursive \"lib/test/**/*.spec.*js\"",
140
+ "test:mocha:cjs": "cross-env MOCHA_SPEC=dist/test mocha",
141
+ "test:mocha:esm": "mocha",
142
142
  "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
143
143
  "tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
144
144
  "typetests:gen": "flub generate typetests --dir . -v",