Skip to content

Commit 71f5e61

Browse files
heiskrCopilot
andauthored
Update 47 npm dependencies (minor/patch) (#59781)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 13f69bd commit 71f5e61

File tree

11 files changed

+1054
-1150
lines changed

11 files changed

+1054
-1150
lines changed

package-lock.json

Lines changed: 984 additions & 1070 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 48 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -159,24 +159,24 @@
159159
"dependencies": {
160160
"@elastic/elasticsearch": "8.19.1",
161161
"@github/failbot": "0.8.3",
162-
"@github/hydro-analytics-client": "^2.3.3",
162+
"@github/hydro-analytics-client": "^2.4.1",
163163
"@gr2m/gray-matter": "4.0.3-with-pr-137",
164164
"@horizon-rs/language-guesser": "0.1.1",
165165
"@octokit/graphql": "9.0.1",
166166
"@octokit/plugin-retry": "8.0.1",
167167
"@octokit/request-error": "7.0.0",
168-
"@primer/behaviors": "^1.7.2",
168+
"@primer/behaviors": "^1.10.2",
169169
"@primer/css": "^21.3.1",
170170
"@primer/live-region-element": "^0.7.2",
171-
"@primer/octicons": "^19.19.0",
172-
"@primer/octicons-react": "^19.14.0",
171+
"@primer/octicons": "^19.22.0",
172+
"@primer/octicons-react": "^19.22.0",
173173
"@primer/primitives": "^11.3.1",
174-
"@primer/react": "^38.0.0",
174+
"@primer/react": "^38.13.0",
175175
"accept-language-parser": "^1.5.0",
176176
"ajv": "^8.18.0",
177177
"ajv-errors": "^3.0.0",
178178
"ajv-formats": "^3.0.1",
179-
"azure-kusto-data": "^7.0.0",
179+
"azure-kusto-data": "^7.0.4",
180180
"bottleneck": "2.19.5",
181181
"boxen": "8.0.1",
182182
"cheerio": "^1.2.0",
@@ -185,11 +185,11 @@
185185
"connect-timeout": "1.9.1",
186186
"cookie-parser": "^1.4.7",
187187
"cuss": "2.2.0",
188-
"dayjs": "^1.11.13",
188+
"dayjs": "^1.11.19",
189189
"dereference-json-schema": "^0.2.1",
190-
"dotenv": "^17.0.1",
190+
"dotenv": "^17.3.1",
191191
"escape-string-regexp": "5.0.0",
192-
"express": "^5.2.0",
192+
"express": "^5.2.1",
193193
"fastest-levenshtein": "1.0.16",
194194
"file-type": "21.0.0",
195195
"flat": "^6.0.1",
@@ -198,35 +198,36 @@
198198
"hast-util-from-parse5": "^8.0.3",
199199
"hast-util-to-string": "^3.0.1",
200200
"hastscript": "^9.0.1",
201-
"helmet": "^8.0.0",
201+
"helmet": "^8.1.0",
202202
"highlight.js": "^11.11.1",
203203
"highlightjs-curl": "^1.3.0",
204-
"hot-shots": "^13.1.0",
204+
"hot-shots": "^13.2.0",
205205
"html-entities": "^2.5.6",
206206
"http-proxy-middleware": "^3.0.5",
207207
"imurmurhash": "^0.1.4",
208208
"is-svg": "6.0.0",
209209
"javascript-stringify": "^2.1.0",
210210
"js-cookie": "^3.0.5",
211211
"js-yaml": "^4.1.1",
212-
"liquidjs": "^10.16.7",
212+
"liquidjs": "^10.24.0",
213213
"lodash": "^4.17.23",
214214
"lodash-es": "^4.17.23",
215215
"lowdb": "7.0.1",
216216
"lowlight": "^3.3.0",
217217
"markdownlint-rule-helpers": "^0.25.0",
218-
"mdast-util-from-markdown": "^2.0.2",
218+
"mdast-util-from-markdown": "^2.0.3",
219219
"mdast-util-gfm": "^3.1.0",
220220
"mdast-util-to-hast": "^13.2.1",
221221
"mdast-util-to-markdown": "2.1.2",
222222
"mdast-util-to-string": "^4.0.0",
223223
"micromark-extension-gfm": "^3.0.0",
224-
"next": "^16.1.5",
225-
"ora": "^9.0.0",
224+
"next": "^16.1.6",
225+
"ora": "^9.3.0",
226226
"parse5": "7.1.2",
227227
"quick-lru": "7.0.1",
228228
"react": "^18.3.1",
229229
"react-dom": "^18.3.1",
230+
"react-is": "^18.3.1",
230231
"react-markdown": "^10.1.0",
231232
"rehype-highlight": "^7.0.2",
232233
"rehype-raw": "^7.0.0",
@@ -236,65 +237,65 @@
236237
"remark-gfm": "^4.0.1",
237238
"remark-parse": "^11.0.0",
238239
"remark-rehype": "^11.1.2",
239-
"remark-remove-comments": "^1.0.1",
240+
"remark-remove-comments": "^1.1.1",
240241
"remark-stringify": "^11.0.0",
241242
"rss-parser": "^3.13.0",
242243
"scroll-anchoring": "^0.1.0",
243-
"semver": "^7.6.3",
244+
"semver": "^7.7.4",
244245
"sharp": "0.33.5",
245246
"slash": "^5.1.0",
246247
"strip-ansi": "7.1.0",
247248
"styled-components": "^5.3.11",
248-
"swr": "^2.2.5",
249+
"swr": "^2.4.0",
249250
"tcp-port-used": "1.0.2",
250-
"tsx": "^4.19.4",
251-
"typescript": "^5.8.3",
251+
"tsx": "^4.21.0",
252+
"typescript": "^5.9.3",
252253
"unified": "^11.0.5",
253254
"unist-util-find": "^3.0.0",
254-
"unist-util-visit": "^5.0.0",
255+
"unist-util-visit": "^5.1.0",
255256
"url-template": "^3.1.1",
256257
"walk-sync": "^4.0.1"
257258
},
258259
"devDependencies": {
259260
"@actions/core": "^3.0.0",
260261
"@actions/github": "^8.0.1",
261-
"@axe-core/playwright": "^4.10.1",
262-
"@eslint/js": "^9.33.0",
262+
"@axe-core/playwright": "^4.11.1",
263+
"@eslint/js": "^9.39.3",
263264
"@github/markdownlint-github": "^0.6.3",
264-
"@graphql-inspector/core": "^7.0.3",
265-
"@graphql-tools/load": "^8.0.19",
265+
"@graphql-inspector/core": "^7.1.2",
266+
"@graphql-tools/load": "^8.1.8",
266267
"@octokit/rest": "22.0.0",
267-
"@playwright/test": "^1.56",
268+
"@playwright/test": "^1.58.2",
268269
"@types/accept-language-parser": "1.5.7",
269270
"@types/connect-timeout": "1.9.0",
270271
"@types/cookie": "0.6.0",
271272
"@types/cookie-parser": "1.4.8",
272273
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
273274
"@types/event-to-promise": "^0.7.5",
274-
"@types/express": "^5.0.3",
275+
"@types/express": "^5.0.6",
275276
"@types/imurmurhash": "^0.1.4",
276277
"@types/js-cookie": "^3.0.6",
277278
"@types/js-yaml": "^4.0.9",
278-
"@types/lodash": "^4.17.16",
279+
"@types/lodash": "^4.17.24",
279280
"@types/lodash-es": "4.17.12",
280281
"@types/mdast": "^4.0.4",
281282
"@types/react": "18.3.20",
282-
"@types/react-dom": "^18.3.6",
283-
"@types/semver": "^7.5.8",
284-
"@types/styled-components": "^5.1.34",
283+
"@types/react-dom": "^18.3.7",
284+
"@types/semver": "^7.7.1",
285+
"@types/styled-components": "^5.1.36",
285286
"@types/tcp-port-used": "1.0.4",
286-
"@types/website-scraper": "^1.2.10",
287+
"@types/website-scraper": "^1.2.11",
287288
"@typescript-eslint/eslint-plugin": "^8.33.1",
288289
"@typescript-eslint/parser": "^8.33.1",
289290
"chalk": "^5.0.1",
290291
"change-case": "^5.4.4",
291-
"commander": "^14.0.0",
292-
"cross-env": "^10.0.0",
292+
"commander": "^14.0.3",
293+
"cross-env": "^10.1.0",
293294
"csp-parse": "0.0.2",
294295
"csv-parse": "6.1.0",
295-
"eslint": "^9.33.0",
296+
"eslint": "^9.39.3",
296297
"eslint-config-prettier": "^10.1.8",
297-
"eslint-import-resolver-typescript": "^4.4.2",
298+
"eslint-import-resolver-typescript": "^4.4.4",
298299
"eslint-plugin-custom-rules": "file:src/eslint-rules",
299300
"eslint-plugin-escompat": "^3.11.4",
300301
"eslint-plugin-eslint-comments": "^3.2.0",
@@ -304,31 +305,31 @@
304305
"eslint-plugin-import": "^2.32.0",
305306
"eslint-plugin-jsx-a11y": "^6.10.2",
306307
"eslint-plugin-no-only-tests": "^3.3.0",
307-
"eslint-plugin-prettier": "^5.5.4",
308-
"eslint-plugin-primer-react": "^8.0.0",
308+
"eslint-plugin-prettier": "^5.5.5",
309+
"eslint-plugin-primer-react": "^8.5.2",
309310
"event-to-promise": "^0.8.0",
310-
"globals": "^17.0.0",
311-
"graphql": "^16.9.0",
311+
"globals": "^17.3.0",
312+
"graphql": "^16.12.0",
312313
"http-status-code": "^2.1.0",
313314
"husky": "^9.1.7",
314315
"jiti": "^2.6.1",
315316
"json-schema-merge-allof": "^0.8.1",
316-
"lint-staged": "^16.0.0",
317+
"lint-staged": "^16.2.7",
317318
"markdownlint": "^0.34.0",
318319
"markdownlint-rule-search-replace": "^1.2.0",
319320
"mkdirp": "^3.0.1",
320321
"mockdate": "^3.0.5",
321-
"nock": "^14.0.4",
322+
"nock": "^14.0.11",
322323
"nodemon": "3.1.10",
323324
"patch-package": "^8.0.1",
324-
"prettier": "^3.3.3",
325-
"rimraf": "^6.0.1",
325+
"prettier": "^3.8.1",
326+
"rimraf": "^6.1.3",
326327
"robots-parser": "^3.0.1",
327-
"sass": "^1.77.8",
328-
"start-server-and-test": "^2.0.11",
328+
"sass": "^1.97.3",
329+
"start-server-and-test": "^2.1.3",
329330
"unist-util-remove": "^4.0.0",
330331
"unist-util-visit-parents": "6.0.1",
331-
"vitest": "^4.0.4",
332+
"vitest": "^4.0.18",
332333
"website-scraper": "^5.3.1"
333334
},
334335
"overrides": {

src/article-api/transformers/bespoke-landing-transformer.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,8 @@ export class BespokeLandingTransformer implements PageTransformer {
5050
// Process carousels (each carousel becomes a section)
5151
const carousels = bespokePage.carousels ?? bespokePage.rawCarousels
5252
if (carousels && typeof carousels === 'object') {
53-
const { default: getLearningTrackLinkData } = await import(
54-
'@/learning-track/lib/get-link-data'
55-
)
53+
const { default: getLearningTrackLinkData } =
54+
await import('@/learning-track/lib/get-link-data')
5655

5756
for (const [carouselKey, articles] of Object.entries(carousels)) {
5857
if (!Array.isArray(articles) || articles.length === 0) continue

src/article-api/transformers/discovery-landing-transformer.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,8 @@ export class DiscoveryLandingTransformer implements PageTransformer {
5050
// Process carousels (each carousel becomes a section)
5151
const carousels = discoveryPage.carousels ?? discoveryPage.rawCarousels
5252
if (carousels && typeof carousels === 'object') {
53-
const { default: getLearningTrackLinkData } = await import(
54-
'@/learning-track/lib/get-link-data'
55-
)
53+
const { default: getLearningTrackLinkData } =
54+
await import('@/learning-track/lib/get-link-data')
5655

5756
for (const [carouselKey, articles] of Object.entries(carousels)) {
5857
if (!Array.isArray(articles) || articles.length === 0) continue
@@ -95,9 +94,8 @@ export class DiscoveryLandingTransformer implements PageTransformer {
9594
// Intro links (getting started)
9695
const rawIntroLinks = discoveryPage.introLinks ?? discoveryPage.rawIntroLinks
9796
if (rawIntroLinks) {
98-
const { default: getLearningTrackLinkData } = await import(
99-
'@/learning-track/lib/get-link-data'
100-
)
97+
const { default: getLearningTrackLinkData } =
98+
await import('@/learning-track/lib/get-link-data')
10199
const links = await Promise.all(
102100
Object.values(rawIntroLinks).map(async (href): Promise<LinkData> => {
103101
if (typeof href === 'string') {

src/article-api/transformers/product-guides-transformer.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,8 @@ export class ProductGuidesTransformer implements PageTransformer {
9494
if (Array.isArray(guidesPage.learningTracks) && guidesPage.learningTracks.length > 0) {
9595
processedTracks = guidesPage.learningTracks
9696
} else {
97-
const { default: processLearningTracks } = await import(
98-
'@/learning-track/lib/process-learning-tracks'
99-
)
97+
const { default: processLearningTracks } =
98+
await import('@/learning-track/lib/process-learning-tracks')
10099
const { learningTracks } = await processLearningTracks(
101100
learningTracksData as string[],
102101
context,

src/article-api/transformers/product-landing-transformer.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,8 @@ export class ProductLandingTransformer implements PageTransformer {
5656
// Process carousels (each carousel becomes a section)
5757
const carousels = productPage.carousels ?? productPage.rawCarousels
5858
if (carousels && typeof carousels === 'object') {
59-
const { default: getLearningTrackLinkData } = await import(
60-
'@/learning-track/lib/get-link-data'
61-
)
59+
const { default: getLearningTrackLinkData } =
60+
await import('@/learning-track/lib/get-link-data')
6261

6362
for (const [carouselKey, articles] of Object.entries(carousels)) {
6463
if (!Array.isArray(articles) || articles.length === 0) continue
@@ -101,9 +100,8 @@ export class ProductLandingTransformer implements PageTransformer {
101100
// Featured links (startHere, popular, videos, etc.)
102101
const rawFeaturedLinks = productPage.featuredLinks
103102
if (rawFeaturedLinks) {
104-
const { default: getLearningTrackLinkData } = await import(
105-
'@/learning-track/lib/get-link-data'
106-
)
103+
const { default: getLearningTrackLinkData } =
104+
await import('@/learning-track/lib/get-link-data')
107105

108106
const featuredKeys = ['startHere', 'popular', 'videos']
109107
const featuredGroups: LinkGroup[] = []

src/data-directory/tests/orphaned-features.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url))
88
const fixturesDir = path.join(__dirname, 'orphaned-features', 'fixtures')
99

1010
// Import the actual helper functions from the orphaned features script
11-
const { getVariableFiles, getReusableFiles } = await import(
12-
'@/data-directory/scripts/find-orphaned-features/find'
13-
)
11+
const { getVariableFiles, getReusableFiles } =
12+
await import('@/data-directory/scripts/find-orphaned-features/find')
1413

1514
describe('orphaned features detection', () => {
1615
test('getVariableFiles finds all yml files in variables directory', () => {

src/frame/components/ui/MarkdownContent/stylesheets/images.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
.markdownBody {
22
// All non-emoji screenshots get the same shadow and height constraint
3-
img:not([src*="https://github.githubassets.com/images/icons/emoji"])
4-
{
3+
img:not([src*="https://github.githubassets.com/images/icons/emoji"]) {
54
max-height: 32rem;
65
box-shadow: var(--color-shadow-medium);
76
}
87

98
// Make sure images that contain emoji render at the expected size
10-
img[src*="https://github.githubassets.com/images/icons/emoji"]
11-
{
9+
img[src*="https://github.githubassets.com/images/icons/emoji"] {
1210
height: 20px;
1311
width: 20px;
1412
}

src/github-apps/lib/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,8 @@ export async function getAppsServerSideProps(
6060
categoriesWithoutSubcategories: string[]
6161
}> {
6262
const { getAutomatedPageMiniTocItems } = await import('@/frame/lib/get-mini-toc-items')
63-
const { getAutomatedPageContextFromRequest } = await import(
64-
'@/automated-pipelines/components/AutomatedPageContext'
65-
)
63+
const { getAutomatedPageContextFromRequest } =
64+
await import('@/automated-pipelines/components/AutomatedPageContext')
6665
const currentVersion: string = context.query.versionId
6766
const allVersions = context.req.context.allVersions
6867
const queryApiVersion: string = context.query.apiVersion

src/github-apps/scripts/sync.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,11 @@ export async function syncGitHubAppsData(
227227
const worksWithData = {
228228
'user-to-server': Boolean(
229229
isUserAccessToken &&
230-
!isActorExcluded(excludedActors, 'user_to_server', actorTypeMap),
230+
!isActorExcluded(excludedActors, 'user_to_server', actorTypeMap),
231231
),
232232
'server-to-server': Boolean(
233233
isInstallationAccessToken &&
234-
!isActorExcluded(excludedActors, 'server_to_server', actorTypeMap),
234+
!isActorExcluded(excludedActors, 'server_to_server', actorTypeMap),
235235
),
236236
'additional-permissions': additionalPermissions,
237237
}

0 commit comments

Comments
 (0)