@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 +1 -2
- package/dist/debug.d.ts +12 -0
- package/dist/debug.d.ts.map +1 -1
- package/dist/debug.js +12 -2
- package/dist/debug.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.d.ts.map +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/debug.d.ts +12 -0
- package/lib/debug.d.ts.map +1 -1
- package/lib/debug.js +12 -2
- package/lib/debug.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.d.ts.map +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +13 -13
- package/src/debug.ts +12 -2
- package/src/packageVersion.ts +1 -1
package/.mocharc.cjs
CHANGED
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
|
package/dist/debug.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../src/debug.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,aAAa,MAAM,OAAO,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
|
-
|
|
14
|
-
|
|
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
|
|
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"]}
|
package/dist/packageVersion.d.ts
CHANGED
|
@@ -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.
|
|
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,
|
|
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"}
|
package/dist/packageVersion.js
CHANGED
|
@@ -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.
|
|
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,
|
|
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
|
package/lib/debug.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../src/debug.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,aAAa,MAAM,OAAO,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
|
-
|
|
8
|
-
|
|
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
|
|
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"]}
|
package/lib/packageVersion.d.ts
CHANGED
|
@@ -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.
|
|
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,
|
|
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"}
|
package/lib/packageVersion.js
CHANGED
|
@@ -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,
|
|
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"]}
|
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/tool-utils",
|
|
3
|
-
"version": "2.
|
|
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": "
|
|
63
|
-
"@fluidframework/driver-definitions": "
|
|
64
|
-
"@fluidframework/driver-utils": "
|
|
65
|
-
"@fluidframework/odsp-doclib-utils": "
|
|
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": "
|
|
74
|
-
"@fluid-tools/build-cli": "^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.
|
|
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.
|
|
79
|
-
"@microsoft/api-extractor": "7.52.
|
|
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": "^
|
|
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": "
|
|
130
|
-
"test:mocha:esm": "mocha
|
|
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
|
-
|
|
11
|
-
|
|
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}`);
|
package/src/packageVersion.ts
CHANGED