@fluidframework/tool-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/debug.d.ts CHANGED
@@ -3,5 +3,17 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
  import registerDebug from "debug";
6
+ /**
7
+ * Debug logger for the `@fluidframework/tool-utils` package.
8
+ *
9
+ * This logger is initialized with the namespace "fluid:tool-utils" and should be used
10
+ * throughout the package for debug logging during development and troubleshooting.
11
+ * It provides detailed information about internal operations to help developers and
12
+ * users diagnose issues when running tools that leverage the shared utilities in this package.
13
+ *
14
+ * Debug output is controlled by the DEBUG environment variable (see https://www.npmjs.com/package/debug).
15
+ * To enable debug logging for this package, set DEBUG=fluid:tool-utils or DEBUG=fluid:* to see
16
+ * all Fluid-related debug output.
17
+ */
6
18
  export declare const debug: registerDebug.Debugger;
7
19
  //# sourceMappingURL=debug.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../src/debug.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,aAAa,MAAM,OAAO,CAAC;AAMlC,eAAO,MAAM,KAAK,wBAAoC,CAAC"}
1
+ {"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../src/debug.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,aAAa,MAAM,OAAO,CAAC;AAIlC;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,KAAK,wBAAoC,CAAC"}
package/dist/debug.js CHANGED
@@ -10,8 +10,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.debug = void 0;
11
11
  const debug_1 = __importDefault(require("debug"));
12
12
  const packageVersion_js_1 = require("./packageVersion.js");
13
- // TODO: Add documentation
14
- // eslint-disable-next-line jsdoc/require-jsdoc
13
+ /**
14
+ * Debug logger for the `@fluidframework/tool-utils` package.
15
+ *
16
+ * This logger is initialized with the namespace "fluid:tool-utils" and should be used
17
+ * throughout the package for debug logging during development and troubleshooting.
18
+ * It provides detailed information about internal operations to help developers and
19
+ * users diagnose issues when running tools that leverage the shared utilities in this package.
20
+ *
21
+ * Debug output is controlled by the DEBUG environment variable (see https://www.npmjs.com/package/debug).
22
+ * To enable debug logging for this package, set DEBUG=fluid:tool-utils or DEBUG=fluid:* to see
23
+ * all Fluid-related debug output.
24
+ */
15
25
  exports.debug = (0, debug_1.default)("fluid:tool-utils");
16
26
  (0, exports.debug)(`Package: ${packageVersion_js_1.pkgName} - Version: ${packageVersion_js_1.pkgVersion}`);
17
27
  //# sourceMappingURL=debug.js.map
package/dist/debug.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"debug.js","sourceRoot":"","sources":["../src/debug.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;AAEH,kDAAkC;AAElC,2DAA0D;AAE1D,0BAA0B;AAC1B,+CAA+C;AAClC,QAAA,KAAK,GAAG,IAAA,eAAa,EAAC,kBAAkB,CAAC,CAAC;AACvD,IAAA,aAAK,EAAC,YAAY,2BAAO,eAAe,8BAAU,EAAE,CAAC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport registerDebug from \"debug\";\n\nimport { pkgName, pkgVersion } from \"./packageVersion.js\";\n\n// TODO: Add documentation\n// eslint-disable-next-line jsdoc/require-jsdoc\nexport const debug = registerDebug(\"fluid:tool-utils\");\ndebug(`Package: ${pkgName} - Version: ${pkgVersion}`);\n"]}
1
+ {"version":3,"file":"debug.js","sourceRoot":"","sources":["../src/debug.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;AAEH,kDAAkC;AAElC,2DAA0D;AAE1D;;;;;;;;;;;GAWG;AACU,QAAA,KAAK,GAAG,IAAA,eAAa,EAAC,kBAAkB,CAAC,CAAC;AACvD,IAAA,aAAK,EAAC,YAAY,2BAAO,eAAe,8BAAU,EAAE,CAAC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport registerDebug from \"debug\";\n\nimport { pkgName, pkgVersion } from \"./packageVersion.js\";\n\n/**\n * Debug logger for the `@fluidframework/tool-utils` package.\n *\n * This logger is initialized with the namespace \"fluid:tool-utils\" and should be used\n * throughout the package for debug logging during development and troubleshooting.\n * It provides detailed information about internal operations to help developers and\n * users diagnose issues when running tools that leverage the shared utilities in this package.\n *\n * Debug output is controlled by the DEBUG environment variable (see https://www.npmjs.com/package/debug).\n * To enable debug logging for this package, set DEBUG=fluid:tool-utils or DEBUG=fluid:* to see\n * all Fluid-related debug output.\n */\nexport const debug = registerDebug(\"fluid:tool-utils\");\ndebug(`Package: ${pkgName} - Version: ${pkgVersion}`);\n"]}
@@ -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/tool-utils";
8
- export declare const pkgVersion = "2.60.0";
8
+ export declare const pkgVersion = "2.61.0-355516";
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/tool-utils";
11
- exports.pkgVersion = "2.60.0";
11
+ exports.pkgVersion = "2.61.0-355516";
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/tool-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/tool-utils\";\nexport const pkgVersion = \"2.61.0-355516\";\n"]}
package/lib/debug.d.ts CHANGED
@@ -3,5 +3,17 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
  import registerDebug from "debug";
6
+ /**
7
+ * Debug logger for the `@fluidframework/tool-utils` package.
8
+ *
9
+ * This logger is initialized with the namespace "fluid:tool-utils" and should be used
10
+ * throughout the package for debug logging during development and troubleshooting.
11
+ * It provides detailed information about internal operations to help developers and
12
+ * users diagnose issues when running tools that leverage the shared utilities in this package.
13
+ *
14
+ * Debug output is controlled by the DEBUG environment variable (see https://www.npmjs.com/package/debug).
15
+ * To enable debug logging for this package, set DEBUG=fluid:tool-utils or DEBUG=fluid:* to see
16
+ * all Fluid-related debug output.
17
+ */
6
18
  export declare const debug: registerDebug.Debugger;
7
19
  //# sourceMappingURL=debug.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../src/debug.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,aAAa,MAAM,OAAO,CAAC;AAMlC,eAAO,MAAM,KAAK,wBAAoC,CAAC"}
1
+ {"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../src/debug.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,aAAa,MAAM,OAAO,CAAC;AAIlC;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,KAAK,wBAAoC,CAAC"}
package/lib/debug.js CHANGED
@@ -4,8 +4,18 @@
4
4
  */
5
5
  import registerDebug from "debug";
6
6
  import { pkgName, pkgVersion } from "./packageVersion.js";
7
- // TODO: Add documentation
8
- // eslint-disable-next-line jsdoc/require-jsdoc
7
+ /**
8
+ * Debug logger for the `@fluidframework/tool-utils` package.
9
+ *
10
+ * This logger is initialized with the namespace "fluid:tool-utils" and should be used
11
+ * throughout the package for debug logging during development and troubleshooting.
12
+ * It provides detailed information about internal operations to help developers and
13
+ * users diagnose issues when running tools that leverage the shared utilities in this package.
14
+ *
15
+ * Debug output is controlled by the DEBUG environment variable (see https://www.npmjs.com/package/debug).
16
+ * To enable debug logging for this package, set DEBUG=fluid:tool-utils or DEBUG=fluid:* to see
17
+ * all Fluid-related debug output.
18
+ */
9
19
  export const debug = registerDebug("fluid:tool-utils");
10
20
  debug(`Package: ${pkgName} - Version: ${pkgVersion}`);
11
21
  //# sourceMappingURL=debug.js.map
package/lib/debug.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"debug.js","sourceRoot":"","sources":["../src/debug.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,aAAa,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE1D,0BAA0B;AAC1B,+CAA+C;AAC/C,MAAM,CAAC,MAAM,KAAK,GAAG,aAAa,CAAC,kBAAkB,CAAC,CAAC;AACvD,KAAK,CAAC,YAAY,OAAO,eAAe,UAAU,EAAE,CAAC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport registerDebug from \"debug\";\n\nimport { pkgName, pkgVersion } from \"./packageVersion.js\";\n\n// TODO: Add documentation\n// eslint-disable-next-line jsdoc/require-jsdoc\nexport const debug = registerDebug(\"fluid:tool-utils\");\ndebug(`Package: ${pkgName} - Version: ${pkgVersion}`);\n"]}
1
+ {"version":3,"file":"debug.js","sourceRoot":"","sources":["../src/debug.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,aAAa,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE1D;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,aAAa,CAAC,kBAAkB,CAAC,CAAC;AACvD,KAAK,CAAC,YAAY,OAAO,eAAe,UAAU,EAAE,CAAC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport registerDebug from \"debug\";\n\nimport { pkgName, pkgVersion } from \"./packageVersion.js\";\n\n/**\n * Debug logger for the `@fluidframework/tool-utils` package.\n *\n * This logger is initialized with the namespace \"fluid:tool-utils\" and should be used\n * throughout the package for debug logging during development and troubleshooting.\n * It provides detailed information about internal operations to help developers and\n * users diagnose issues when running tools that leverage the shared utilities in this package.\n *\n * Debug output is controlled by the DEBUG environment variable (see https://www.npmjs.com/package/debug).\n * To enable debug logging for this package, set DEBUG=fluid:tool-utils or DEBUG=fluid:* to see\n * all Fluid-related debug output.\n */\nexport const debug = registerDebug(\"fluid:tool-utils\");\ndebug(`Package: ${pkgName} - Version: ${pkgVersion}`);\n"]}
@@ -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/tool-utils";
8
- export declare const pkgVersion = "2.60.0";
8
+ export declare const pkgVersion = "2.61.0-355516";
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/tool-utils";
8
- export const pkgVersion = "2.60.0";
8
+ export const pkgVersion = "2.61.0-355516";
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/tool-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/tool-utils\";\nexport const pkgVersion = \"2.61.0-355516\";\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/tool-utils",
3
- "version": "2.60.0",
3
+ "version": "2.61.0-355516",
4
4
  "description": "Common utilities for Fluid tools",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -59,10 +59,10 @@
59
59
  "temp-directory": "nyc/.nyc_output"
60
60
  },
61
61
  "dependencies": {
62
- "@fluidframework/core-utils": "~2.60.0",
63
- "@fluidframework/driver-definitions": "~2.60.0",
64
- "@fluidframework/driver-utils": "~2.60.0",
65
- "@fluidframework/odsp-doclib-utils": "~2.60.0",
62
+ "@fluidframework/core-utils": "2.61.0-355516",
63
+ "@fluidframework/driver-definitions": "2.61.0-355516",
64
+ "@fluidframework/driver-utils": "2.61.0-355516",
65
+ "@fluidframework/odsp-doclib-utils": "2.61.0-355516",
66
66
  "async-mutex": "^0.3.1",
67
67
  "debug": "^4.3.4",
68
68
  "proper-lockfile": "^4.1.2"
@@ -70,18 +70,18 @@
70
70
  "devDependencies": {
71
71
  "@arethetypeswrong/cli": "^0.17.1",
72
72
  "@biomejs/biome": "~1.9.3",
73
- "@fluid-internal/mocha-test-setup": "~2.60.0",
74
- "@fluid-tools/build-cli": "^0.57.0",
73
+ "@fluid-internal/mocha-test-setup": "2.61.0-355516",
74
+ "@fluid-tools/build-cli": "^0.58.1",
75
75
  "@fluidframework/build-common": "^2.0.3",
76
- "@fluidframework/build-tools": "^0.57.0",
76
+ "@fluidframework/build-tools": "^0.58.1",
77
77
  "@fluidframework/eslint-config-fluid": "^6.0.0",
78
- "@fluidframework/tool-utils-previous": "npm:@fluidframework/tool-utils@2.53.0",
79
- "@microsoft/api-extractor": "7.52.8",
78
+ "@fluidframework/tool-utils-previous": "npm:@fluidframework/tool-utils@2.60.0",
79
+ "@microsoft/api-extractor": "7.52.11",
80
80
  "@types/debug": "^4.1.5",
81
81
  "@types/mocha": "^10.0.10",
82
82
  "@types/node": "^18.19.0",
83
83
  "@types/proper-lockfile": "^4.1.4",
84
- "c8": "^8.0.1",
84
+ "c8": "^10.1.3",
85
85
  "concurrently": "^8.2.1",
86
86
  "copyfiles": "^2.4.1",
87
87
  "cross-env": "^7.0.3",
@@ -126,8 +126,8 @@
126
126
  "test": "npm run test:mocha",
127
127
  "test:coverage": "c8 npm test",
128
128
  "test:mocha": "npm run test:mocha:esm && echo skipping cjs to avoid overhead - npm run test:mocha:cjs",
129
- "test:mocha:cjs": "mocha --recursive \"dist/test/**/*.spec.*js\"",
130
- "test:mocha:esm": "mocha --recursive \"lib/test/**/*.spec.*js\"",
129
+ "test:mocha:cjs": "cross-env MOCHA_SPEC=dist/test mocha",
130
+ "test:mocha:esm": "mocha",
131
131
  "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
132
132
  "tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
133
133
  "typetests:gen": "flub generate typetests --dir . -v",
package/src/debug.ts CHANGED
@@ -7,7 +7,17 @@ import registerDebug from "debug";
7
7
 
8
8
  import { pkgName, pkgVersion } from "./packageVersion.js";
9
9
 
10
- // TODO: Add documentation
11
- // eslint-disable-next-line jsdoc/require-jsdoc
10
+ /**
11
+ * Debug logger for the `@fluidframework/tool-utils` package.
12
+ *
13
+ * This logger is initialized with the namespace "fluid:tool-utils" and should be used
14
+ * throughout the package for debug logging during development and troubleshooting.
15
+ * It provides detailed information about internal operations to help developers and
16
+ * users diagnose issues when running tools that leverage the shared utilities in this package.
17
+ *
18
+ * Debug output is controlled by the DEBUG environment variable (see https://www.npmjs.com/package/debug).
19
+ * To enable debug logging for this package, set DEBUG=fluid:tool-utils or DEBUG=fluid:* to see
20
+ * all Fluid-related debug output.
21
+ */
12
22
  export const debug = registerDebug("fluid:tool-utils");
13
23
  debug(`Package: ${pkgName} - Version: ${pkgVersion}`);
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/tool-utils";
9
- export const pkgVersion = "2.60.0";
9
+ export const pkgVersion = "2.61.0-355516";