File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 3
3
/* eslint no-prototype-builtins: 0 */
4
4
5
5
const Ajv = require ( 'ajv' )
6
+ const fastUri = require ( 'fast-uri' )
6
7
const ajvFormats = require ( 'ajv-formats' )
7
8
const merge = require ( 'deepmerge' )
8
9
const clone = require ( 'rfdc' ) ( { proto : true } )
@@ -52,7 +53,7 @@ function build (schema, options) {
52
53
53
54
options = options || { }
54
55
55
- ajvInstance = new Ajv ( { ...options . ajv , strictSchema : false } )
56
+ ajvInstance = new Ajv ( { ...options . ajv , strictSchema : false , uriResolver : fastUri } )
56
57
ajvFormats ( ajvInstance )
57
58
58
59
isValidSchema ( schema )
Original file line number Diff line number Diff line change 44
44
"webpack" : " ^5.40.0"
45
45
},
46
46
"dependencies" : {
47
- "ajv" : " ^8.6.2 " ,
47
+ "ajv" : " ^8.10.0 " ,
48
48
"ajv-formats" : " ^2.1.1" ,
49
49
"deepmerge" : " ^4.2.2" ,
50
+ "fast-uri" : " ^1.0.1" ,
50
51
"rfdc" : " ^1.2.0" ,
51
52
"string-similarity" : " ^4.0.1"
52
53
},
You can’t perform that action at this time.
0 commit comments