@mintlify/scraping 4.0.1036 → 4.0.1038

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintlify/scraping",
3
- "version": "4.0.1036",
3
+ "version": "4.0.1038",
4
4
  "description": "Scrape documentation frameworks to Mintlify docs",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"
@@ -43,7 +43,7 @@
43
43
  "format:check": "oxfmt --check"
44
44
  },
45
45
  "dependencies": {
46
- "@mintlify/common": "1.0.1167",
46
+ "@mintlify/common": "1.0.1169",
47
47
  "fast-xml-parser": "5.7.3",
48
48
  "fs-extra": "11.1.1",
49
49
  "graphql": "16.11.0",
@@ -63,9 +63,9 @@
63
63
  "zod": "3.24.0"
64
64
  },
65
65
  "devDependencies": {
66
- "@mintlify/models": "0.0.361",
66
+ "@mintlify/models": "0.0.362",
67
67
  "@mintlify/ts-config": "2.0.2",
68
- "@mintlify/validation": "0.1.870",
68
+ "@mintlify/validation": "0.1.872",
69
69
  "@tsconfig/recommended": "1.0.2",
70
70
  "@types/hast": "3.0.4",
71
71
  "@types/mdast": "4.0.4",
@@ -79,5 +79,5 @@
79
79
  "typescript": "5.5.3",
80
80
  "vitest": "2.1.9"
81
81
  },
82
- "gitHead": "911e38430b27326a0cc48ddec95d31b0333b26ff"
82
+ "gitHead": "2adc4a0cb181ebb7ad7c9c71b8bf25a64c617813"
83
83
  }
@@ -11,6 +11,7 @@ import {
11
11
  prepareStringToBeValidFilename,
12
12
  generateUniqueFilenameWithoutExtension,
13
13
  getTagDisplayName,
14
+ mergePageGroups,
14
15
  type LoadedOverlay,
15
16
  } from '@mintlify/common';
16
17
  import type { DecoratedNavigationPage, PageMetaTags } from '@mintlify/models';
@@ -236,10 +237,7 @@ export function processOpenApiPath<N, DN>(
236
237
  if (xMintGroups.length > 0) {
237
238
  xMintMetadata = {
238
239
  ...xMintMetadata,
239
- groups: [
240
- ...(Array.isArray(xMintMetadata?.groups) ? xMintMetadata.groups : []),
241
- ...xMintGroups,
242
- ],
240
+ groups: mergePageGroups(xMintMetadata?.groups, xMintGroups),
243
241
  };
244
242
  }
245
243