Skip to content

Commit

Permalink
Switch json-schema-ref-parser to non-deprecated package (#829)
Browse files Browse the repository at this point in the history
* switch json-schema-ref-parser to new package @apidevtools/json-schema-ref-parser

* revert lockfile version to 1
  • Loading branch information
gitschwifty authored Mar 17, 2023
1 parent 6e93a96 commit f5bbce9
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 32 deletions.
54 changes: 24 additions & 30 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
"author": "Carmine DiMascio <cdimascio@gmail.com>",
"license": "MIT",
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^9.1.2",
"@types/multer": "^1.4.7",
"ajv": "^8.11.2",
"ajv-draft-04": "^1.0.0",
"ajv-formats": "^2.1.1",
"content-type": "^1.0.5",
"json-schema-ref-parser": "^9.0.9",
"lodash.clonedeep": "^4.5.0",
"lodash.get": "^4.4.2",
"lodash.uniq": "^4.5.0",
Expand Down
2 changes: 1 addition & 1 deletion src/framework/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as fs from 'fs';
import * as path from 'path';
import * as $RefParser from 'json-schema-ref-parser';
import * as $RefParser from '@apidevtools/json-schema-ref-parser';
import { OpenAPISchemaValidator } from './openapi.schema.validator';
import { BasePath } from './base.path';
import {
Expand Down

0 comments on commit f5bbce9

Please sign in to comment.