File tree Expand file tree Collapse file tree 6 files changed +1728
-1472
lines changed
Expand file tree Collapse file tree 6 files changed +1728
-1472
lines changed Original file line number Diff line number Diff line change @@ -6,4 +6,5 @@ module.exports = {
66 testMatch : [ '**/test/*.test.js' , '**/test/**/*.test.js' ] ,
77 setupFilesAfterEnv : [ '<rootDir>/test/jest.setup.js' ] ,
88 testPathIgnorePatterns : [ '<rootDir>/node_modules/' ] ,
9+ transformIgnorePatterns : [ 'node_modules/(?!@apidevtools/json-schema-ref-parser)' ] ,
910} ;
Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ const browser = {
5151 module,
5252 plugins : [
5353 new webpack . ProvidePlugin ( { Buffer : [ 'buffer' , 'Buffer' ] } ) ,
54- new webpack . ProvidePlugin ( { process : 'process/browser' } ) ,
5554 new webpack . LoaderOptionsPlugin ( {
5655 minimize : true ,
5756 } ) ,
@@ -84,7 +83,6 @@ browserMin.performance = {
8483browserMin . output . filename = 'openapi-resolver.browser.min.js' ;
8584browserMin . plugins = [
8685 new webpack . ProvidePlugin ( { Buffer : [ 'buffer' , 'Buffer' ] } ) ,
87- new webpack . ProvidePlugin ( { process : 'process/browser' } ) ,
8886 new webpack . LoaderOptionsPlugin ( {
8987 minimize : true ,
9088 } ) ,
Original file line number Diff line number Diff line change 9494 "webpack-stats-plugin" : " =1.0.3"
9595 },
9696 "dependencies" : {
97- "@apidevtools/json-schema-ref-parser" : " ^9.0.9 " ,
97+ "@apidevtools/json-schema-ref-parser" : " ^15.3.1 " ,
9898 "@babel/runtime-corejs3" : " ^7.18.9" ,
9999 "js-yaml" : " ^4.1.1" ,
100100 "lodash.clonedeepwith" : " ^4.5.0" ,
Original file line number Diff line number Diff line change 1- import $Ref from '@apidevtools/json-schema-ref-parser/lib/ref.js' ;
2- import Pointer from '@apidevtools/json-schema-ref-parser/lib/pointer.js' ;
3- import { resolve } from '@apidevtools/json-schema-ref-parser/lib/util/url.js' ;
1+ import $Ref from '@apidevtools/json-schema-ref-parser/dist/ lib/ref.js' ;
2+ import Pointer from '@apidevtools/json-schema-ref-parser/dist/ lib/pointer.js' ;
3+ import { resolve } from '@apidevtools/json-schema-ref-parser/dist/ lib/util/url.js' ;
44
55export default dereference ;
66
Original file line number Diff line number Diff line change 11/* eslint-disable prefer-rest-params */
22/* eslint-disable no-underscore-dangle */
3- import $Refs from '@apidevtools/json-schema-ref-parser/lib/refs.js' ;
4- import _parse from '@apidevtools/json-schema-ref-parser/lib/parse.js' ;
5- import normalizeArgs from '@apidevtools/json-schema-ref-parser/lib/normalize-args.js' ;
6- import resolveExternal from '@apidevtools/json-schema-ref-parser/lib/resolve-external.js' ;
7- import * as url from '@apidevtools/json-schema-ref-parser/lib/util/url.js' ;
3+ import $Refs from '@apidevtools/json-schema-ref-parser/dist/ lib/refs.js' ;
4+ import _parse from '@apidevtools/json-schema-ref-parser/dist/ lib/parse.js' ;
5+ import normalizeArgs from '@apidevtools/json-schema-ref-parser/dist/ lib/normalize-args.js' ;
6+ import resolveExternal from '@apidevtools/json-schema-ref-parser/dist/ lib/resolve-external.js' ;
7+ import * as url from '@apidevtools/json-schema-ref-parser/dist/ lib/util/url.js' ;
88import {
99 JSONParserError ,
1010 InvalidPointerError ,
@@ -15,7 +15,7 @@ import {
1515 UnmatchedResolverError ,
1616 isHandledError ,
1717 JSONParserErrorGroup ,
18- } from '@apidevtools/json-schema-ref-parser/lib/util/errors.js' ;
18+ } from '@apidevtools/json-schema-ref-parser/dist/ lib/util/errors.js' ;
1919
2020import _dereference from './dereference.js' ;
2121// import type { ParserOptions } from "./options.js";
You can’t perform that action at this time.
0 commit comments