Fix CG (#779)
* Bump json-pointer from 0.6.1 to 0.6.2 * Get rid of z-schema dependency * Bump async from 3.2.0 to 3.2.3 * Bump ansi-regex to 5.0.1 * Bump md5-file from 4.0.0 to 5.0.0 * fix error about md5-file * Bump validator to 13.7.0 * Bump json-schema from 0.2.3 to 0.4.0 * fix error about swagger-parser Co-authored-by: Ray Chen <raychen@microsoft.com>
This commit is contained in:
Родитель
3eec33d4ac
Коммит
e76784bb28
|
@ -12,7 +12,7 @@ import {
|
|||
keys,
|
||||
values,
|
||||
} from "@azure-tools/openapi-tools-common";
|
||||
import swaggerParser from "swagger-parser";
|
||||
import swaggerParser from "@apidevtools/swagger-parser";
|
||||
import { log } from "./util/logging";
|
||||
import { kvPairsToObject } from "./util/utils";
|
||||
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
14
package.json
14
package.json
|
@ -13,7 +13,7 @@
|
|||
"@azure-tools/openapi-tools-common": "^1.2.2",
|
||||
"@azure/arm-resources": "^4.0.0",
|
||||
"@azure/core-lro": "^1.0.3",
|
||||
"@azure/identity": "^1.2.0",
|
||||
"@azure/identity": "^2.0.4",
|
||||
"@azure/ms-rest-azure-js": "^2.0.2",
|
||||
"@azure/ms-rest-js": "^2.1.0",
|
||||
"@azure/openapi-markdown": "^0.9.4",
|
||||
|
@ -42,7 +42,7 @@
|
|||
"kind-of": "^6.0.3",
|
||||
"linq": "^3.2.0",
|
||||
"lodash": "^4.17.15",
|
||||
"md5-file": "^4.0.0",
|
||||
"md5-file": "^5.0.0",
|
||||
"mkdirp": "^1.0.4",
|
||||
"mockjs": "^1.1.0",
|
||||
"moment": "^2.24.0",
|
||||
|
@ -53,15 +53,15 @@
|
|||
"path-to-regexp": "^6.1.0",
|
||||
"postman-collection": "^4.1.0",
|
||||
"reflect-metadata": "^0.1.13",
|
||||
"swagger-parser": "^6.0.5",
|
||||
"swagger-parser": "^10.0.3",
|
||||
"toposort": "^2.0.2",
|
||||
"uuid": "^3.3.2",
|
||||
"vscode-jsonrpc": "^3.6.2",
|
||||
"winston": "^3.2.1",
|
||||
"winston": "^3.3.4",
|
||||
"yargs": "^15.4.1",
|
||||
"yasway": "^1.10.7",
|
||||
"yuml2svg": "^4.2.1",
|
||||
"z-schema": "^4.2.2"
|
||||
"z-schema": "^5.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rushstack/eslint-config": "^2.3.2",
|
||||
|
@ -99,7 +99,7 @@
|
|||
"glob-parent": "^5.1.2",
|
||||
"handlebars": "^4.7.7",
|
||||
"jest": "^26.1.0",
|
||||
"jest-junit": "^11.0.1",
|
||||
"jest-junit": "^13.1.0",
|
||||
"kind-of": "^6.0.3",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"prettier": "^2.0.5",
|
||||
|
@ -159,4 +159,4 @@
|
|||
"jest-junit": {
|
||||
"output": "test-results.xml"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,10 +5,7 @@ import * as validate from "../lib/validate";
|
|||
export const validateExamplesRegressionTest = async (file: string) => {
|
||||
try {
|
||||
const hash = await new Promise((resolve) =>
|
||||
md5File(file, (e, h) => {
|
||||
if (e) {
|
||||
throw e;
|
||||
}
|
||||
md5File(file).then((h) => {
|
||||
resolve(h);
|
||||
})
|
||||
);
|
||||
|
|
Загрузка…
Ссылка в новой задаче