@apidevtools/json-schema-ref-parser 11.5.4 → 11.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/options.d.ts +3 -5
- package/lib/options.ts +1 -1
- package/package.json +7 -7
package/dist/lib/options.d.ts
CHANGED
|
@@ -50,9 +50,7 @@ export interface $RefParserOptions<S extends object = JSONSchema> {
|
|
|
50
50
|
json?: Plugin | boolean;
|
|
51
51
|
yaml?: Plugin | boolean;
|
|
52
52
|
binary?: Plugin | boolean;
|
|
53
|
-
text?:
|
|
54
|
-
encoding?: string;
|
|
55
|
-
}) | boolean;
|
|
53
|
+
text?: Plugin | boolean;
|
|
56
54
|
[key: string]: Plugin | boolean | undefined;
|
|
57
55
|
};
|
|
58
56
|
/**
|
|
@@ -207,7 +205,7 @@ export declare const getNewOptions: <S extends object = JSONSchema, O extends {
|
|
|
207
205
|
order?: number | undefined;
|
|
208
206
|
allowEmpty?: boolean | undefined;
|
|
209
207
|
allowBOM?: boolean | undefined;
|
|
210
|
-
encoding?:
|
|
208
|
+
encoding?: BufferEncoding | undefined;
|
|
211
209
|
canParse?: string | boolean | {
|
|
212
210
|
exec?: {} | undefined;
|
|
213
211
|
test?: {} | undefined;
|
|
@@ -488,7 +486,7 @@ export declare const getNewOptions: <S extends object = JSONSchema, O extends {
|
|
|
488
486
|
order?: number | undefined;
|
|
489
487
|
allowEmpty?: boolean | undefined;
|
|
490
488
|
allowBOM?: boolean | undefined;
|
|
491
|
-
encoding?:
|
|
489
|
+
encoding?: BufferEncoding | undefined;
|
|
492
490
|
canParse?: string | boolean | {
|
|
493
491
|
exec?: {} | undefined;
|
|
494
492
|
test?: {} | undefined;
|
package/lib/options.ts
CHANGED
|
@@ -63,7 +63,7 @@ export interface $RefParserOptions<S extends object = JSONSchema> {
|
|
|
63
63
|
json?: Plugin | boolean;
|
|
64
64
|
yaml?: Plugin | boolean;
|
|
65
65
|
binary?: Plugin | boolean;
|
|
66
|
-
text?:
|
|
66
|
+
text?: Plugin | boolean;
|
|
67
67
|
[key: string]: Plugin | boolean | undefined;
|
|
68
68
|
};
|
|
69
69
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apidevtools/json-schema-ref-parser",
|
|
3
|
-
"version": "11.5.
|
|
3
|
+
"version": "11.5.5",
|
|
4
4
|
"description": "Parse, Resolve, and Dereference JSON Schema $ref pointers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"json",
|
|
@@ -67,12 +67,12 @@
|
|
|
67
67
|
"test:watch": "vitest -w"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@types/eslint": "8.56.
|
|
70
|
+
"@types/eslint": "8.56.9",
|
|
71
71
|
"@types/js-yaml": "^4.0.9",
|
|
72
72
|
"@types/node": "^18.19.21",
|
|
73
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
74
|
-
"@typescript-eslint/parser": "^7.
|
|
75
|
-
"@vitest/coverage-v8": "^1.
|
|
73
|
+
"@typescript-eslint/eslint-plugin": "^7.6.0",
|
|
74
|
+
"@typescript-eslint/parser": "^7.6.0",
|
|
75
|
+
"@vitest/coverage-v8": "^1.5.0",
|
|
76
76
|
"cross-env": "^7.0.3",
|
|
77
77
|
"eslint": "^8.57.0",
|
|
78
78
|
"eslint-config-prettier": "^9.1.0",
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
"jsdom": "^24.0.0",
|
|
85
85
|
"prettier": "^3.2.5",
|
|
86
86
|
"rimraf": "^5.0.5",
|
|
87
|
-
"typescript": "^5.4.
|
|
88
|
-
"vitest": "^1.
|
|
87
|
+
"typescript": "^5.4.5",
|
|
88
|
+
"vitest": "^1.5.0"
|
|
89
89
|
},
|
|
90
90
|
"dependencies": {
|
|
91
91
|
"@jsdevtools/ono": "^7.1.3",
|