Skip to content

Commit f5bbce9

Browse files
authored
Switch json-schema-ref-parser to non-deprecated package (#829)
* switch json-schema-ref-parser to new package @apidevtools/json-schema-ref-parser * revert lockfile version to 1
1 parent 6e93a96 commit f5bbce9

File tree

3 files changed

+26
-32
lines changed

3 files changed

+26
-32
lines changed

package-lock.json

+24-30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@
3232
"author": "Carmine DiMascio <cdimascio@gmail.com>",
3333
"license": "MIT",
3434
"dependencies": {
35+
"@apidevtools/json-schema-ref-parser": "^9.1.2",
3536
"@types/multer": "^1.4.7",
3637
"ajv": "^8.11.2",
3738
"ajv-draft-04": "^1.0.0",
3839
"ajv-formats": "^2.1.1",
3940
"content-type": "^1.0.5",
40-
"json-schema-ref-parser": "^9.0.9",
4141
"lodash.clonedeep": "^4.5.0",
4242
"lodash.get": "^4.4.2",
4343
"lodash.uniq": "^4.5.0",

src/framework/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as fs from 'fs';
22
import * as path from 'path';
3-
import * as $RefParser from 'json-schema-ref-parser';
3+
import * as $RefParser from '@apidevtools/json-schema-ref-parser';
44
import { OpenAPISchemaValidator } from './openapi.schema.validator';
55
import { BasePath } from './base.path';
66
import {

0 commit comments

Comments
 (0)