Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/jest/jest.unit.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ module.exports = {
testMatch: ['**/test/*.test.js', '**/test/**/*.test.js'],
setupFilesAfterEnv: ['<rootDir>/test/jest.setup.js'],
testPathIgnorePatterns: ['<rootDir>/node_modules/'],
transformIgnorePatterns: ['node_modules/(?!@apidevtools/json-schema-ref-parser)'],
};
2 changes: 0 additions & 2 deletions config/webpack/browser.config.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ const browser = {
module,
plugins: [
new webpack.ProvidePlugin({ Buffer: ['buffer', 'Buffer'] }),
new webpack.ProvidePlugin({ process: 'process/browser' }),
new webpack.LoaderOptionsPlugin({
minimize: true,
}),
Expand Down Expand Up @@ -84,7 +83,6 @@ browserMin.performance = {
browserMin.output.filename = 'openapi-resolver.browser.min.js';
browserMin.plugins = [
new webpack.ProvidePlugin({ Buffer: ['buffer', 'Buffer'] }),
new webpack.ProvidePlugin({ process: 'process/browser' }),
new webpack.LoaderOptionsPlugin({
minimize: true,
}),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"webpack-stats-plugin": "=1.0.3"
},
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^9.0.9",
"@apidevtools/json-schema-ref-parser": "^15.3.1",
"@babel/runtime-corejs3": "^7.18.9",
"js-yaml": "^4.1.1",
"lodash.clonedeepwith": "^4.5.0",
Expand Down
6 changes: 3 additions & 3 deletions src/dereference.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import $Ref from '@apidevtools/json-schema-ref-parser/lib/ref.js';
import Pointer from '@apidevtools/json-schema-ref-parser/lib/pointer.js';
import { resolve } from '@apidevtools/json-schema-ref-parser/lib/util/url.js';
import $Ref from '@apidevtools/json-schema-ref-parser/dist/lib/ref.js';
import Pointer from '@apidevtools/json-schema-ref-parser/dist/lib/pointer.js';
import { resolve } from '@apidevtools/json-schema-ref-parser/dist/lib/util/url.js';

export default dereference;

Expand Down
12 changes: 6 additions & 6 deletions src/refParser.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/* eslint-disable prefer-rest-params */
/* eslint-disable no-underscore-dangle */
import $Refs from '@apidevtools/json-schema-ref-parser/lib/refs.js';
import _parse from '@apidevtools/json-schema-ref-parser/lib/parse.js';
import normalizeArgs from '@apidevtools/json-schema-ref-parser/lib/normalize-args.js';
import resolveExternal from '@apidevtools/json-schema-ref-parser/lib/resolve-external.js';
import * as url from '@apidevtools/json-schema-ref-parser/lib/util/url.js';
import $Refs from '@apidevtools/json-schema-ref-parser/dist/lib/refs.js';
import _parse from '@apidevtools/json-schema-ref-parser/dist/lib/parse.js';
import normalizeArgs from '@apidevtools/json-schema-ref-parser/dist/lib/normalize-args.js';
import resolveExternal from '@apidevtools/json-schema-ref-parser/dist/lib/resolve-external.js';
import * as url from '@apidevtools/json-schema-ref-parser/dist/lib/util/url.js';
import {
JSONParserError,
InvalidPointerError,
Expand All @@ -15,7 +15,7 @@ import {
UnmatchedResolverError,
isHandledError,
JSONParserErrorGroup,
} from '@apidevtools/json-schema-ref-parser/lib/util/errors.js';
} from '@apidevtools/json-schema-ref-parser/dist/lib/util/errors.js';

import _dereference from './dereference.js';
// import type { ParserOptions } from "./options.js";
Expand Down
Loading
Loading