@fluidframework/test-utils 2.60.0 → 2.61.0-355054

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,10 +9,11 @@
9
9
  */
10
10
 
11
11
  export {
12
- // @legacy APIs
12
+ // #region @legacyBeta APIs
13
13
  IOpProcessingController,
14
14
  IProvideTestFluidObject,
15
15
  ITestFluidObject,
16
16
  LoaderContainerTracker,
17
17
  createAndAttachContainer
18
+ // #endregion
18
19
  } from "./index.js";
@@ -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.60.0";
8
+ export declare const pkgVersion = "2.61.0-355054";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,+BAA+B,CAAC;AACpD,eAAO,MAAM,UAAU,WAAW,CAAC"}
1
+ {"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,+BAA+B,CAAC;AACpD,eAAO,MAAM,UAAU,kBAAkB,CAAC"}
@@ -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.60.0";
11
+ exports.pkgVersion = "2.61.0-355054";
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.60.0\";\n"]}
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,eAAe,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.61.0-355054\";\n"]}
package/internal.d.ts CHANGED
@@ -8,4 +8,4 @@
8
8
  * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
9
  */
10
10
 
11
- export * from "./lib/index.js";
11
+ export * from "lib/index.js";
package/legacy.d.ts CHANGED
@@ -8,4 +8,4 @@
8
8
  * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
9
  */
10
10
 
11
- export * from "./lib/legacy.js";
11
+ export * from "lib/legacy.js";
package/lib/legacy.d.ts CHANGED
@@ -9,10 +9,11 @@
9
9
  */
10
10
 
11
11
  export {
12
- // @legacy APIs
12
+ // #region @legacyBeta APIs
13
13
  IOpProcessingController,
14
14
  IProvideTestFluidObject,
15
15
  ITestFluidObject,
16
16
  LoaderContainerTracker,
17
17
  createAndAttachContainer
18
+ // #endregion
18
19
  } from "./index.js";
@@ -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.60.0";
8
+ export declare const pkgVersion = "2.61.0-355054";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,+BAA+B,CAAC;AACpD,eAAO,MAAM,UAAU,WAAW,CAAC"}
1
+ {"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,+BAA+B,CAAC;AACpD,eAAO,MAAM,UAAU,kBAAkB,CAAC"}
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export const pkgName = "@fluidframework/test-utils";
8
- export const pkgVersion = "2.60.0";
8
+ export const pkgVersion = "2.61.0-355054";
9
9
  //# sourceMappingURL=packageVersion.js.map
@@ -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.60.0\";\n"]}
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,eAAe,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.61.0-355054\";\n"]}
@@ -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/test-utils",
3
- "version": "2.60.0",
3
+ "version": "2.61.0-355054",
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.60.0",
71
- "@fluidframework/container-definitions": "~2.60.0",
72
- "@fluidframework/container-loader": "~2.60.0",
73
- "@fluidframework/container-runtime": "~2.60.0",
74
- "@fluidframework/container-runtime-definitions": "~2.60.0",
75
- "@fluidframework/core-interfaces": "~2.60.0",
76
- "@fluidframework/core-utils": "~2.60.0",
77
- "@fluidframework/datastore": "~2.60.0",
78
- "@fluidframework/datastore-definitions": "~2.60.0",
79
- "@fluidframework/driver-definitions": "~2.60.0",
80
- "@fluidframework/driver-utils": "~2.60.0",
81
- "@fluidframework/local-driver": "~2.60.0",
82
- "@fluidframework/map": "~2.60.0",
83
- "@fluidframework/odsp-driver": "~2.60.0",
84
- "@fluidframework/request-handler": "~2.60.0",
85
- "@fluidframework/routerlicious-driver": "~2.60.0",
86
- "@fluidframework/runtime-definitions": "~2.60.0",
87
- "@fluidframework/runtime-utils": "~2.60.0",
88
- "@fluidframework/shared-object-base": "~2.60.0",
89
- "@fluidframework/telemetry-utils": "~2.60.0",
70
+ "@fluid-internal/test-driver-definitions": "2.61.0-355054",
71
+ "@fluidframework/container-definitions": "2.61.0-355054",
72
+ "@fluidframework/container-loader": "2.61.0-355054",
73
+ "@fluidframework/container-runtime": "2.61.0-355054",
74
+ "@fluidframework/container-runtime-definitions": "2.61.0-355054",
75
+ "@fluidframework/core-interfaces": "2.61.0-355054",
76
+ "@fluidframework/core-utils": "2.61.0-355054",
77
+ "@fluidframework/datastore": "2.61.0-355054",
78
+ "@fluidframework/datastore-definitions": "2.61.0-355054",
79
+ "@fluidframework/driver-definitions": "2.61.0-355054",
80
+ "@fluidframework/driver-utils": "2.61.0-355054",
81
+ "@fluidframework/local-driver": "2.61.0-355054",
82
+ "@fluidframework/map": "2.61.0-355054",
83
+ "@fluidframework/odsp-driver": "2.61.0-355054",
84
+ "@fluidframework/request-handler": "2.61.0-355054",
85
+ "@fluidframework/routerlicious-driver": "2.61.0-355054",
86
+ "@fluidframework/runtime-definitions": "2.61.0-355054",
87
+ "@fluidframework/runtime-utils": "2.61.0-355054",
88
+ "@fluidframework/shared-object-base": "2.61.0-355054",
89
+ "@fluidframework/telemetry-utils": "2.61.0-355054",
90
90
  "best-random": "^1.0.0",
91
91
  "debug": "^4.3.4",
92
92
  "mocha": "^10.8.2",
@@ -95,18 +95,18 @@
95
95
  "devDependencies": {
96
96
  "@arethetypeswrong/cli": "^0.17.1",
97
97
  "@biomejs/biome": "~1.9.3",
98
- "@fluid-internal/mocha-test-setup": "~2.60.0",
99
- "@fluid-tools/build-cli": "^0.57.0",
98
+ "@fluid-internal/mocha-test-setup": "2.61.0-355054",
99
+ "@fluid-tools/build-cli": "^0.58.2",
100
100
  "@fluidframework/build-common": "^2.0.3",
101
- "@fluidframework/build-tools": "^0.57.0",
101
+ "@fluidframework/build-tools": "^0.58.2",
102
102
  "@fluidframework/eslint-config-fluid": "^6.0.0",
103
- "@fluidframework/test-utils-previous": "npm:@fluidframework/test-utils@2.53.0",
104
- "@microsoft/api-extractor": "7.52.8",
103
+ "@fluidframework/test-utils-previous": "npm:@fluidframework/test-utils@2.60.0",
104
+ "@microsoft/api-extractor": "7.52.11",
105
105
  "@types/debug": "^4.1.5",
106
106
  "@types/diff": "^3.5.1",
107
107
  "@types/mocha": "^10.0.10",
108
108
  "@types/node": "^18.19.0",
109
- "c8": "^8.0.1",
109
+ "c8": "^10.1.3",
110
110
  "concurrently": "^8.2.1",
111
111
  "copyfiles": "^2.4.1",
112
112
  "cross-env": "^7.0.3",
@@ -122,8 +122,8 @@
122
122
  },
123
123
  "scripts": {
124
124
  "api": "fluid-build . --task api",
125
- "api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
126
- "api-extractor:esnext": "flub generate entrypoints --outDir ./lib --node10TypeCompat",
125
+ "api-extractor:commonjs": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./dist",
126
+ "api-extractor:esnext": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat",
127
127
  "build": "fluid-build . --task build",
128
128
  "build:api-reports": "concurrently \"npm:build:api-reports:*\"",
129
129
  "build:api-reports:current": "api-extractor run --local --config api-extractor/api-extractor.current.json",
@@ -158,8 +158,8 @@
158
158
  "lint:fix": "fluid-build . --task eslint:fix --task format",
159
159
  "test": "npm run test:mocha",
160
160
  "test:mocha": "npm run test:mocha:esm && echo skipping cjs to avoid overhead - npm run test:mocha:cjs",
161
- "test:mocha:cjs": "mocha --recursive \"dist/test/**/*.spec.*js\"",
162
- "test:mocha:esm": "mocha --recursive \"lib/test/**/*.spec.*js\"",
161
+ "test:mocha:cjs": "cross-env MOCHA_SPEC=dist/test mocha",
162
+ "test:mocha:esm": "mocha",
163
163
  "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
164
164
  "tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
165
165
  "typetests:gen": "flub generate typetests --dir . -v",
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/test-utils";
9
- export const pkgVersion = "2.60.0";
9
+ export const pkgVersion = "2.61.0-355054";