@fluid-internal/client-utils 2.1.1 → 2.2.1
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 +4 -0
- package/README.md +2 -18
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
This package is intended for sharing and promoting utility functions across packages in the Fluid Framework repo,
|
|
4
4
|
primarily within the client release group.
|
|
5
5
|
|
|
6
|
-
<!-- AUTO-GENERATED-CONTENT:START (
|
|
6
|
+
<!-- AUTO-GENERATED-CONTENT:START (LIBRARY_README_HEADER) -->
|
|
7
7
|
|
|
8
8
|
<!-- prettier-ignore-start -->
|
|
9
9
|
<!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
|
|
@@ -11,22 +11,6 @@ primarily within the client release group.
|
|
|
11
11
|
**IMPORTANT: This package is intended strictly as an implementation detail of the Fluid Framework and is not intended for public consumption.**
|
|
12
12
|
**We make no stability guarantees regarding its APIs.**
|
|
13
13
|
|
|
14
|
-
## Using Fluid Framework libraries
|
|
15
|
-
|
|
16
|
-
When taking a dependency on a Fluid Framework library's public APIs, we recommend using a `^` (caret) version range, such as `^1.3.4`.
|
|
17
|
-
While Fluid Framework libraries may use different ranges with interdependencies between other Fluid Framework libraries,
|
|
18
|
-
library consumers should always prefer `^`.
|
|
19
|
-
|
|
20
|
-
If using any of Fluid Framework's unstable APIs (for example, its `beta` APIs), we recommend using a more constrained version range, such as `~`.
|
|
21
|
-
|
|
22
|
-
## Installation
|
|
23
|
-
|
|
24
|
-
To get started, install the package by running the following command:
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
npm i @fluid-internal/client-utils
|
|
28
|
-
```
|
|
29
|
-
|
|
30
14
|
<!-- prettier-ignore-end -->
|
|
31
15
|
|
|
32
16
|
<!-- AUTO-GENERATED-CONTENT:END -->
|
|
@@ -93,7 +77,7 @@ be the same as browser. (Both report sets use the same target files.)
|
|
|
93
77
|
Package scripts `check:exports:esm:indexBrowser:legacy` and `check:exports:esm:indexNode:legacy` are not
|
|
94
78
|
verifying actual exports, but the consistency of tags within the legacy API set.
|
|
95
79
|
|
|
96
|
-
<!-- AUTO-GENERATED-CONTENT:START (
|
|
80
|
+
<!-- AUTO-GENERATED-CONTENT:START (README_FOOTER) -->
|
|
97
81
|
|
|
98
82
|
<!-- prettier-ignore-start -->
|
|
99
83
|
<!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-internal/client-utils",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"description": "Not intended for use outside the Fluid Framework.",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"temp-directory": "nyc/.nyc_output"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@fluidframework/core-interfaces": "~2.
|
|
71
|
-
"@fluidframework/core-utils": "~2.
|
|
70
|
+
"@fluidframework/core-interfaces": "~2.2.1",
|
|
71
|
+
"@fluidframework/core-utils": "~2.2.1",
|
|
72
72
|
"@types/events_pkg": "npm:@types/events@^3.0.0",
|
|
73
73
|
"base64-js": "^1.5.1",
|
|
74
74
|
"buffer": "^6.0.3",
|
|
@@ -78,16 +78,16 @@
|
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@arethetypeswrong/cli": "^0.15.2",
|
|
80
80
|
"@biomejs/biome": "~1.8.3",
|
|
81
|
-
"@fluid-internal/client-utils-previous": "npm:@fluid-internal/client-utils@2.
|
|
82
|
-
"@fluid-internal/mocha-test-setup": "~2.
|
|
83
|
-
"@fluid-tools/build-cli": "^0.
|
|
81
|
+
"@fluid-internal/client-utils-previous": "npm:@fluid-internal/client-utils@2.2.0",
|
|
82
|
+
"@fluid-internal/mocha-test-setup": "~2.2.1",
|
|
83
|
+
"@fluid-tools/build-cli": "^0.43.0",
|
|
84
84
|
"@fluidframework/build-common": "^2.0.3",
|
|
85
|
-
"@fluidframework/build-tools": "^0.
|
|
85
|
+
"@fluidframework/build-tools": "^0.43.0",
|
|
86
86
|
"@fluidframework/eslint-config-fluid": "^5.3.0",
|
|
87
87
|
"@microsoft/api-extractor": "^7.45.1",
|
|
88
88
|
"@types/base64-js": "^1.3.0",
|
|
89
89
|
"@types/jest": "29.5.3",
|
|
90
|
-
"@types/jest-environment-puppeteer": "~2.
|
|
90
|
+
"@types/jest-environment-puppeteer": "~2.2.1",
|
|
91
91
|
"@types/mocha": "^9.1.1",
|
|
92
92
|
"@types/node": "^18.19.0",
|
|
93
93
|
"@types/rewire": "^2.5.28",
|
|
@@ -221,8 +221,8 @@
|
|
|
221
221
|
"test:coverage": "c8 npm test",
|
|
222
222
|
"test:jest": "jest",
|
|
223
223
|
"test:mocha": "npm run test:mocha:esm && npm run test:mocha:cjs",
|
|
224
|
-
"test:mocha:cjs": "mocha --recursive \"dist/test/mocha/**/*.spec.*js\" --exit
|
|
225
|
-
"test:mocha:esm": "mocha --recursive \"lib/test/mocha/**/*.spec.*js\" --exit
|
|
224
|
+
"test:mocha:cjs": "mocha --recursive \"dist/test/mocha/**/*.spec.*js\" --exit",
|
|
225
|
+
"test:mocha:esm": "mocha --recursive \"lib/test/mocha/**/*.spec.*js\" --exit",
|
|
226
226
|
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
|
|
227
227
|
"typetests:gen": "flub generate typetests --dir . -v --level public",
|
|
228
228
|
"typetests:prepare": "flub typetests --dir . --reset --previous --normalize"
|