Skip to content

Commit ea6a30f

Browse files
Merge remote-tracking branch 'origin' into directory-oracle
2 parents 19968ae + 7e80360 commit ea6a30f

File tree

159 files changed

+1845
-1769
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

159 files changed

+1845
-1769
lines changed

azure/packages/azure-local-service/tsconfig.eslint.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"extends": "../../../common/build/build-common/tsconfig.node16.json",
55
"include": ["index.js"],
66
"compilerOptions": {
7+
"allowJs": true,
78
"noEmit": true,
89
},
910
}

build-tools/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"temp-directory": "nyc/.nyc_output"
7272
},
7373
"devDependencies": {
74-
"@biomejs/biome": "~1.9.3",
74+
"@biomejs/biome": "~1.9.4",
7575
"@commitlint/cli": "^17.8.1",
7676
"@commitlint/config-conventional": "^17.8.1",
7777
"@commitlint/cz-commitlint": "^17.8.1",
@@ -86,12 +86,12 @@
8686
"conventional-changelog-conventionalcommits": "^5.0.0",
8787
"copyfiles": "^2.4.1",
8888
"cz-conventional-changelog": "^3.3.0",
89-
"cz-customizable": "^7.2.1",
89+
"cz-customizable": "^7.5.1",
9090
"eslint": "~8.57.0",
91-
"inquirer": "^8.2.6",
91+
"inquirer": "^8.2.7",
9292
"rimraf": "^4.4.1",
9393
"run-script-os": "^1.1.6",
94-
"syncpack": "^13.0.2",
94+
"syncpack": "^13.0.4",
9595
"typescript": "~5.4.5"
9696
},
9797
"packageManager": "pnpm@10.18.3+sha512.bbd16e6d7286fd7e01f6b3c0b3c932cda2965c06a908328f74663f10a9aea51f1129eea615134bf992831b009eabe167ecb7008b597f40ff9bc75946aadfb08d",
@@ -150,13 +150,13 @@
150150
"@types/node: To avoid duplicating the oclif package and adding a bunch of dependencies, force @types/node to a single version. For some reason version 22.8.0 can't be overridden, so use that to ensure a single version"
151151
],
152152
"overrides": {
153-
"@types/node": "^22.8.0",
153+
"@types/node": "^22.19.1",
154154
"json5@<1.0.2": "^1.0.2",
155155
"json5@>=2.0.0 <2.2.2": "^2.2.2",
156156
"oclif>@aws-sdk/client-cloudfront": "npm:empty-npm-package@1.0.0",
157157
"oclif>@aws-sdk/client-s3": "npm:empty-npm-package@1.0.0",
158-
"qs": "^6.11.0",
159-
"sharp": "^0.33.2"
158+
"qs": "^6.14.0",
159+
"sharp": "^0.33.5"
160160
},
161161
"updateConfig": {
162162
"ignoreDependencies": [

build-tools/packages/build-cli/package.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -84,33 +84,33 @@
8484
"@fluid-tools/version-tools": "workspace:~",
8585
"@fluidframework/build-tools": "workspace:~",
8686
"@fluidframework/bundle-size-tools": "workspace:~",
87-
"@inquirer/prompts": "^7.0.1",
87+
"@inquirer/prompts": "^7.10.1",
8888
"@microsoft/api-extractor": "^7.52.11",
8989
"@oclif/core": "^4.8.0",
9090
"@oclif/plugin-autocomplete": "^3.2.39",
9191
"@oclif/plugin-commands": "^4.1.38",
9292
"@oclif/plugin-help": "^6.2.36",
9393
"@oclif/plugin-not-found": "^3.2.73",
94-
"@octokit/core": "^7.0.4",
95-
"@octokit/rest": "^22.0.0",
96-
"@rushstack/node-core-library": "^5.9.0",
94+
"@octokit/core": "^7.0.6",
95+
"@octokit/rest": "^22.0.1",
96+
"@rushstack/node-core-library": "^5.19.0",
9797
"async": "^3.2.6",
9898
"azure-devops-node-api": "^11.2.0",
9999
"change-case": "^3.1.0",
100100
"cosmiconfig": "^8.3.6",
101-
"danger": "^13.0.3",
101+
"danger": "^13.0.5",
102102
"date-fns": "^2.30.0",
103-
"debug": "^4.3.7",
103+
"debug": "^4.4.3",
104104
"execa": "^5.1.1",
105105
"fflate": "^0.8.2",
106-
"fs-extra": "^11.2.0",
106+
"fs-extra": "^11.3.2",
107107
"github-slugger": "^2.0.0",
108108
"globby": "^11.1.0",
109109
"gray-matter": "^4.0.3",
110-
"human-id": "^4.1.1",
110+
"human-id": "^4.1.2",
111111
"issue-parser": "^7.0.1",
112112
"json5": "^2.2.3",
113-
"jssm": "^5.104.1",
113+
"jssm": "^5.104.2",
114114
"jszip": "^3.10.1",
115115
"latest-version": "^9.0.0",
116116
"mdast": "^3.0.0",
@@ -124,59 +124,59 @@
124124
"prompts": "^2.4.2",
125125
"read-pkg-up": "^7.0.1",
126126
"remark": "^15.0.1",
127-
"remark-gfm": "^4.0.0",
127+
"remark-gfm": "^4.0.1",
128128
"remark-github": "^12.0.0",
129129
"remark-github-beta-blockquote-admonitions": "^3.1.1",
130130
"remark-toc": "^9.0.0",
131131
"replace-in-file": "^7.2.0",
132-
"resolve.exports": "^2.0.2",
133-
"semver": "^7.7.1",
134-
"simple-git": "^3.27.0",
132+
"resolve.exports": "^2.0.3",
133+
"semver": "^7.7.3",
134+
"simple-git": "^3.30.0",
135135
"sort-json": "^2.0.1",
136136
"sort-package-json": "1.57.0",
137137
"strip-ansi": "^6.0.1",
138-
"table": "^6.8.2",
138+
"table": "^6.9.0",
139139
"ts-morph": "^22.0.0",
140140
"type-fest": "^2.19.0",
141141
"unist-util-visit": "^5.0.0",
142142
"xml2js": "^0.5.0"
143143
},
144144
"devDependencies": {
145-
"@biomejs/biome": "~1.9.3",
145+
"@biomejs/biome": "~1.9.4",
146146
"@fluidframework/build-common": "^2.0.3",
147147
"@fluidframework/eslint-config-fluid": "^6.1.0",
148148
"@oclif/test": "^4.1.15",
149-
"@types/async": "^3.2.24",
150-
"@types/chai": "^5.2.1",
149+
"@types/async": "^3.2.25",
150+
"@types/chai": "^5.2.3",
151151
"@types/chai-arrays": "^2.0.3",
152152
"@types/debug": "^4.1.12",
153153
"@types/fs-extra": "^11.0.4",
154154
"@types/issue-parser": "^3.0.5",
155155
"@types/mdast": "^4.0.4",
156-
"@types/mocha": "^10.0.9",
157-
"@types/node": "^22.8.0",
156+
"@types/mocha": "^10.0.10",
157+
"@types/node": "^22.19.1",
158158
"@types/prettier": "^2.7.3",
159159
"@types/prompts": "^2.4.9",
160-
"@types/semver": "^7.7.0",
160+
"@types/semver": "^7.7.1",
161161
"@types/sort-json": "^2.0.3",
162162
"@types/unist": "^3.0.3",
163163
"@types/xml2js": "^0.4.14",
164164
"c8": "^10.1.3",
165-
"chai": "^5.2.1",
165+
"chai": "^5.3.3",
166166
"chai-arrays": "^2.2.0",
167167
"concurrently": "^8.2.2",
168168
"copyfiles": "^2.4.1",
169169
"eslint": "~8.57.0",
170-
"eslint-config-oclif": "^5.2.1",
170+
"eslint-config-oclif": "^5.2.2",
171171
"eslint-config-oclif-typescript": "^3.1.12",
172-
"eslint-config-prettier": "~9.1.0",
172+
"eslint-config-prettier": "~9.1.2",
173173
"jssm-viz-cli": "^5.101.0",
174-
"mocha": "^10.7.3",
174+
"mocha": "^10.8.2",
175175
"mocha-multi-reporters": "^1.5.1",
176176
"mocked-env": "^1.3.5",
177177
"rimraf": "^4.4.1",
178178
"ts-node": "^10.9.2",
179-
"tslib": "^2.8.0",
179+
"tslib": "^2.8.1",
180180
"typescript": "~5.4.5"
181181
},
182182
"engines": {

build-tools/packages/build-cli/src/args.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const semverArg = Args.custom<semver.SemVer, { loose?: boolean }>({
4848
description:
4949
"A semantic versioning (semver) version string. Values are verified to be valid semvers during argument parsing.",
5050
parse: async (input, _, opts) => {
51-
const parsed = semver.parse(input, opts.loose);
51+
const parsed = semver.parse(input, opts.loose ?? false);
5252
if (parsed === null) {
5353
throw new Error(`Invalid semver: ${input}`);
5454
}

build-tools/packages/build-cli/src/flags.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export const semverFlag = Flags.custom<semver.SemVer, { loose?: boolean }>({
9797
description:
9898
"A semantic versioning (semver) version string. Values are verified to be valid semvers during flag parsing.",
9999
parse: async (input, _, opts) => {
100-
const parsed = semver.parse(input, opts.loose);
100+
const parsed = semver.parse(input, opts.loose ?? false);
101101
if (parsed === null) {
102102
throw new Error(`Invalid semver: ${input}`);
103103
}

build-tools/packages/build-infrastructure/package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -66,45 +66,45 @@
6666
"cosmiconfig": "^8.3.6",
6767
"detect-indent": "^6.1.0",
6868
"execa": "^5.1.1",
69-
"fs-extra": "^11.2.0",
69+
"fs-extra": "^11.3.2",
7070
"globby": "^11.1.0",
7171
"micromatch": "^4.0.8",
7272
"oclif": "^4.22.50",
7373
"picocolors": "^1.1.1",
7474
"read-pkg-up": "^7.0.1",
75-
"semver": "^7.7.1",
76-
"simple-git": "^3.27.0",
75+
"semver": "^7.7.3",
76+
"simple-git": "^3.30.0",
7777
"sort-package-json": "1.57.0",
7878
"type-fest": "^2.19.0",
7979
"typescript": "~5.4.5"
8080
},
8181
"devDependencies": {
82-
"@biomejs/biome": "~1.9.3",
83-
"@fluid-tools/api-markdown-documenter": "^0.17.1",
82+
"@biomejs/biome": "~1.9.4",
83+
"@fluid-tools/api-markdown-documenter": "^0.17.3",
8484
"@fluidframework/build-common": "^2.0.3",
8585
"@fluidframework/build-tools-bin": "npm:@fluidframework/build-tools@~0.49.0",
8686
"@fluidframework/eslint-config-fluid": "^6.1.0",
8787
"@microsoft/api-extractor": "^7.52.11",
88-
"@types/chai": "^5.2.1",
88+
"@types/chai": "^5.2.3",
8989
"@types/chai-arrays": "^2.0.3",
9090
"@types/fs-extra": "^11.0.4",
91-
"@types/micromatch": "^4.0.9",
92-
"@types/mocha": "^10.0.9",
93-
"@types/node": "^22.8.0",
94-
"@types/semver": "^7.7.0",
91+
"@types/micromatch": "^4.0.10",
92+
"@types/mocha": "^10.0.10",
93+
"@types/node": "^22.19.1",
94+
"@types/semver": "^7.7.1",
9595
"c8": "^10.1.3",
96-
"chai": "^5.2.1",
96+
"chai": "^5.3.3",
9797
"chai-arrays": "^2.2.0",
9898
"concurrently": "^8.2.2",
9999
"copyfiles": "^2.4.1",
100100
"eslint": "~8.57.0",
101101
"eslint-plugin-chai-friendly": "~1.0.1",
102-
"memfs": "^4.14.0",
103-
"mocha": "^10.7.3",
102+
"memfs": "^4.51.0",
103+
"mocha": "^10.8.2",
104104
"rimraf": "^4.4.1",
105105
"ts-node": "^10.9.2",
106-
"typedoc": "^0.26.10",
107-
"typedoc-plugin-markdown": "^4.2.9"
106+
"typedoc": "^0.26.11",
107+
"typedoc-plugin-markdown": "^4.9.0"
108108
},
109109
"oclif": {
110110
"bin": "buildProject",

build-tools/packages/build-tools/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@
4444
"async": "^3.2.6",
4545
"cosmiconfig": "^8.3.6",
4646
"date-fns": "^2.30.0",
47-
"debug": "^4.3.7",
47+
"debug": "^4.4.3",
4848
"detect-indent": "^6.1.0",
4949
"find-up": "^7.0.0",
50-
"fs-extra": "^11.2.0",
50+
"fs-extra": "^11.3.2",
5151
"glob": "^7.2.3",
5252
"globby": "^11.1.0",
5353
"ignore": "^5.3.2",
@@ -56,31 +56,31 @@
5656
"multimatch": "^5.0.0",
5757
"picocolors": "^1.1.1",
5858
"picomatch": "^2.3.1",
59-
"picospinner": "^2.0.0",
59+
"picospinner": "^2.1.0",
6060
"rimraf": "^4.4.1",
61-
"semver": "^7.7.1",
61+
"semver": "^7.7.3",
6262
"sort-package-json": "1.57.0",
63-
"ts-deepmerge": "^7.0.1",
63+
"ts-deepmerge": "^7.0.3",
6464
"type-fest": "^2.19.0",
6565
"typescript": "~5.4.5",
66-
"yaml": "^2.6.0"
66+
"yaml": "^2.8.1"
6767
},
6868
"devDependencies": {
69-
"@biomejs/biome": "~1.9.3",
69+
"@biomejs/biome": "~1.9.4",
7070
"@fluidframework/build-common": "^2.0.3",
7171
"@fluidframework/build-tools-bin": "npm:@fluidframework/build-tools@~0.49.0",
7272
"@fluidframework/eslint-config-fluid": "^6.1.0",
73-
"@types/async": "^3.2.24",
73+
"@types/async": "^3.2.25",
7474
"@types/fs-extra": "^11.0.4",
7575
"@types/glob": "^7.2.0",
7676
"@types/lodash.isequal": "^4.5.8",
77-
"@types/mocha": "^10.0.9",
78-
"@types/node": "^22.8.0",
77+
"@types/mocha": "^10.0.10",
78+
"@types/node": "^22.19.1",
7979
"@types/rimraf": "^2.0.5",
80-
"@types/semver": "^7.7.0",
80+
"@types/semver": "^7.7.1",
8181
"eslint": "~8.57.0",
82-
"json-schema-to-typescript": "^15.0.2",
83-
"mocha": "^10.7.3"
82+
"json-schema-to-typescript": "^15.0.4",
83+
"mocha": "^10.8.2"
8484
},
8585
"engines": {
8686
"node": ">=20.15.1"

build-tools/packages/build-tools/src/common/utils.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,15 @@ export async function execAsync(
4747
pipeStdIn?: string,
4848
): Promise<ExecAsyncResult> {
4949
return new Promise((resolve) => {
50-
const p = child_process.exec(command, options, (error, stdout, stderr) => {
51-
resolve({ error, stdout, stderr });
52-
});
50+
// Explicitly set encoding to "utf8" to ensure stdout/stderr are strings, not Buffers.
51+
// This makes the type assertions safe since exec() returns string | Buffer depending on encoding.
52+
const p = child_process.exec(
53+
command,
54+
{ ...options, encoding: "utf8" },
55+
(error, stdout, stderr) => {
56+
resolve({ error, stdout: stdout as string, stderr: stderr as string });
57+
},
58+
);
5359

5460
if (pipeStdIn && p.stdin) {
5561
p.stdin.write(pipeStdIn);

build-tools/packages/bundle-size-tools/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,17 @@
4545
"msgpack-lite": "^0.1.26",
4646
"pako": "^2.1.0",
4747
"typescript": "~5.4.5",
48-
"webpack": "^5.95.0"
48+
"webpack": "^5.103.0"
4949
},
5050
"devDependencies": {
51-
"@biomejs/biome": "~1.9.3",
51+
"@biomejs/biome": "~1.9.4",
5252
"@fluidframework/build-common": "^2.0.3",
5353
"@fluidframework/build-tools-bin": "npm:@fluidframework/build-tools@~0.49.0",
5454
"@fluidframework/eslint-config-fluid": "^6.1.0",
5555
"@microsoft/api-extractor": "^7.52.11",
56-
"@types/msgpack-lite": "^0.1.11",
57-
"@types/node": "^22.8.0",
58-
"@types/pako": "^2.0.3",
56+
"@types/msgpack-lite": "^0.1.12",
57+
"@types/node": "^22.19.1",
58+
"@types/pako": "^2.0.4",
5959
"copyfiles": "^2.4.1",
6060
"eslint": "~8.57.0",
6161
"rimraf": "^4.4.1"

build-tools/packages/bundle-size-tools/src/BundleBuddyConfigWebpackPlugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export class BundleBuddyConfigWebpackPlugin {
4242
);
4343

4444
compilation.chunks.forEach((chunk) => {
45-
if (chunk.name !== undefined) {
45+
if (chunk.name !== undefined && chunk.name !== null) {
4646
if (chunkNamesLeftToValidate.has(chunk.name)) {
4747
chunkNamesLeftToValidate.delete(chunk.name);
4848
}

0 commit comments

Comments
 (0)