@mintlify/scraping 4.0.191 → 4.0.194
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/__test__/generateOpenApiPages.test.ts +5 -7
- package/__test__/generateOpenApiPagesForDocsConfig.test.ts +5 -7
- package/bin/apiPages/common.d.ts +0 -1
- package/bin/apiPages/common.js +0 -1
- package/bin/apiPages/common.js.map +1 -1
- package/bin/asyncapi/processAsyncApiChannel.d.ts +1 -1
- package/bin/openapi/common.js +2 -2
- package/bin/openapi/common.js.map +1 -1
- package/bin/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/src/apiPages/common.ts +0 -1
- package/src/asyncapi/processAsyncApiChannel.ts +1 -1
- package/src/openapi/common.ts +1 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintlify/scraping",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.194",
|
|
4
4
|
"description": "Scrape documentation frameworks to Mintlify docs",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"format:check": "prettier . --check"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@mintlify/common": "1.0.
|
|
41
|
+
"@mintlify/common": "1.0.341",
|
|
42
42
|
"@mintlify/openapi-parser": "^0.0.7",
|
|
43
43
|
"fs-extra": "^11.1.1",
|
|
44
44
|
"hast-util-to-mdast": "^10.1.0",
|
|
@@ -58,10 +58,10 @@
|
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@mintlify/eslint-config-typescript": "1.0.13",
|
|
61
|
-
"@mintlify/models": "0.0.
|
|
61
|
+
"@mintlify/models": "0.0.186",
|
|
62
62
|
"@mintlify/prettier-config": "1.0.4",
|
|
63
63
|
"@mintlify/ts-config": "2.0.2",
|
|
64
|
-
"@mintlify/validation": "0.1.
|
|
64
|
+
"@mintlify/validation": "0.1.342",
|
|
65
65
|
"@trivago/prettier-plugin-sort-imports": "^4.2.1",
|
|
66
66
|
"@tsconfig/recommended": "1.x",
|
|
67
67
|
"@types/hast": "^3.0.4",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"typescript": "^5.5.3",
|
|
79
79
|
"vitest": "^2.0.4"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "13613d9d830bb1bcd23f96d4b3088d0bffba0f1b"
|
|
82
82
|
}
|
package/src/apiPages/common.ts
CHANGED
package/src/openapi/common.ts
CHANGED
|
@@ -12,7 +12,6 @@ import { OpenAPI, OpenAPIV3 } from 'openapi-types';
|
|
|
12
12
|
import path, { join, parse, resolve } from 'path';
|
|
13
13
|
|
|
14
14
|
import {
|
|
15
|
-
DEFAULT_WEBHOOK_GROUP_NAME,
|
|
16
15
|
prepareStringToBeValidFilename,
|
|
17
16
|
generateUniqueFilenameWithoutExtension,
|
|
18
17
|
} from '../apiPages/common.js';
|
|
@@ -162,7 +161,7 @@ export function processOpenApiWebhook<N, DN>(
|
|
|
162
161
|
Object.values(OpenAPIV3.HttpMethods).forEach((method) => {
|
|
163
162
|
if (method in webhookObject) {
|
|
164
163
|
const operation = webhookObject[method];
|
|
165
|
-
const groupName = operation?.tags?.[0]
|
|
164
|
+
const groupName = operation?.tags?.[0];
|
|
166
165
|
const title =
|
|
167
166
|
prepareStringToBeValidFilename(operation?.summary) ??
|
|
168
167
|
`${prepareStringToBeValidFilename(webhook)}`;
|