json-machete 0.7.15 → 0.8.0-alpha-1ffe1fa37.0

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.
Files changed (3) hide show
  1. package/index.js +62 -60
  2. package/index.mjs +61 -59
  3. package/package.json +3 -3
package/index.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
6
6
 
7
- const jsonPtr = require('json-ptr');
7
+ const JsonPointer = _interopDefault(require('json-pointer'));
8
8
  const utils = require('@graphql-mesh/utils');
9
9
  const crossHelpers = require('@graphql-mesh/cross-helpers');
10
10
  const urlJoin = _interopDefault(require('url-join'));
@@ -223,78 +223,80 @@ async function compareJSONSchemas(oldSchema, newSchema) {
223
223
  const breakingChanges = [];
224
224
  await visitJSONSchema(oldSchema, (oldSubSchema, { path }) => {
225
225
  var _a, _b, _c, _d;
226
- const newSubSchema = jsonPtr.JsonPointer.get(newSchema, path);
227
- if (typeof oldSubSchema === 'boolean') {
228
- if (newSubSchema !== oldSubSchema) {
229
- breakingChanges.push(`${path} is changed from ${oldSubSchema} to ${newSubSchema}`);
230
- }
231
- }
232
- else {
233
- if (oldSubSchema.$ref) {
234
- if ((newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.$ref) !== oldSubSchema.$ref) {
235
- breakingChanges.push(`${path}/$ref is changed from ${oldSubSchema.$ref} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.$ref}`);
226
+ if (typeof newSchema === 'object') {
227
+ const newSubSchema = JsonPointer.get(newSchema, path);
228
+ if (typeof oldSubSchema === 'boolean') {
229
+ if (newSubSchema !== oldSubSchema) {
230
+ breakingChanges.push(`${path} is changed from ${oldSubSchema} to ${newSubSchema}`);
236
231
  }
237
232
  }
238
- if (oldSubSchema.const) {
239
- if ((newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.const) !== oldSubSchema.const) {
240
- breakingChanges.push(`${path}/const is changed from ${oldSubSchema.const} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.const}`);
233
+ else {
234
+ if (oldSubSchema.$ref) {
235
+ if ((newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.$ref) !== oldSubSchema.$ref) {
236
+ breakingChanges.push(`${path}/$ref is changed from ${oldSubSchema.$ref} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.$ref}`);
237
+ }
241
238
  }
242
- }
243
- if (oldSubSchema.enum) {
244
- for (const enumValue of oldSubSchema.enum) {
245
- if (!((_a = newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.enum) === null || _a === void 0 ? void 0 : _a.includes(enumValue))) {
246
- breakingChanges.push(`${path}/enum doesn't have ${enumValue} anymore`);
239
+ if (oldSubSchema.const) {
240
+ if ((newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.const) !== oldSubSchema.const) {
241
+ breakingChanges.push(`${path}/const is changed from ${oldSubSchema.const} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.const}`);
247
242
  }
248
243
  }
249
- }
250
- if (oldSubSchema.format) {
251
- if ((newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.format) !== oldSubSchema.format) {
252
- breakingChanges.push(`${path}/format is changed from ${oldSubSchema.format} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.format}`);
244
+ if (oldSubSchema.enum) {
245
+ for (const enumValue of oldSubSchema.enum) {
246
+ if (!((_a = newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.enum) === null || _a === void 0 ? void 0 : _a.includes(enumValue))) {
247
+ breakingChanges.push(`${path}/enum doesn't have ${enumValue} anymore`);
248
+ }
249
+ }
253
250
  }
254
- }
255
- if (oldSubSchema.maxLength) {
256
- if (oldSubSchema.maxLength > (newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.maxLength)) {
257
- breakingChanges.push(`${path}/maxLength is changed from ${oldSubSchema.maxLength} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.maxLength}`);
251
+ if (oldSubSchema.format) {
252
+ if ((newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.format) !== oldSubSchema.format) {
253
+ breakingChanges.push(`${path}/format is changed from ${oldSubSchema.format} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.format}`);
254
+ }
258
255
  }
259
- }
260
- if (oldSubSchema.minLength) {
261
- if (oldSubSchema.minLength < (newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.minLength)) {
262
- breakingChanges.push(`${path}/minLength is changed from ${oldSubSchema.minLength} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.minLength}`);
256
+ if (oldSubSchema.maxLength) {
257
+ if (oldSubSchema.maxLength > (newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.maxLength)) {
258
+ breakingChanges.push(`${path}/maxLength is changed from ${oldSubSchema.maxLength} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.maxLength}`);
259
+ }
263
260
  }
264
- }
265
- if (oldSubSchema.pattern) {
266
- if (((_b = newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.pattern) === null || _b === void 0 ? void 0 : _b.toString()) !== oldSubSchema.pattern.toString()) {
267
- breakingChanges.push(`${path}/pattern is changed from ${oldSubSchema.pattern} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.pattern}`);
261
+ if (oldSubSchema.minLength) {
262
+ if (oldSubSchema.minLength < (newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.minLength)) {
263
+ breakingChanges.push(`${path}/minLength is changed from ${oldSubSchema.minLength} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.minLength}`);
264
+ }
268
265
  }
269
- }
270
- if (oldSubSchema.properties) {
271
- for (const propertyName in oldSubSchema.properties) {
272
- if (((_c = newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.properties) === null || _c === void 0 ? void 0 : _c[propertyName]) == null) {
273
- breakingChanges.push(`${path}/properties doesn't have ${propertyName}`);
266
+ if (oldSubSchema.pattern) {
267
+ if (((_b = newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.pattern) === null || _b === void 0 ? void 0 : _b.toString()) !== oldSubSchema.pattern.toString()) {
268
+ breakingChanges.push(`${path}/pattern is changed from ${oldSubSchema.pattern} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.pattern}`);
274
269
  }
275
270
  }
276
- }
277
- if (newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.required) {
278
- for (const propertyName of newSubSchema.required) {
279
- if (!((_d = oldSubSchema.required) === null || _d === void 0 ? void 0 : _d.includes(propertyName))) {
280
- breakingChanges.push(`${path}/required has ${propertyName} an extra`);
271
+ if (oldSubSchema.properties) {
272
+ for (const propertyName in oldSubSchema.properties) {
273
+ if (((_c = newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.properties) === null || _c === void 0 ? void 0 : _c[propertyName]) == null) {
274
+ breakingChanges.push(`${path}/properties doesn't have ${propertyName}`);
275
+ }
281
276
  }
282
277
  }
283
- }
284
- if (oldSubSchema.title) {
285
- if ((newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.title) !== oldSubSchema.title) {
286
- breakingChanges.push(`${path}/title is changed from ${oldSubSchema.title} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.title}`);
278
+ if (newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.required) {
279
+ for (const propertyName of newSubSchema.required) {
280
+ if (!((_d = oldSubSchema.required) === null || _d === void 0 ? void 0 : _d.includes(propertyName))) {
281
+ breakingChanges.push(`${path}/required has ${propertyName} an extra`);
282
+ }
283
+ }
287
284
  }
288
- }
289
- if (oldSubSchema.type) {
290
- if (typeof (newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.type) === 'string'
291
- ? (newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.type) !== oldSubSchema.type
292
- : Array.isArray(newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.type)
293
- ? Array.isArray(oldSubSchema.type)
294
- ? oldSubSchema.type.some(typeName => !(newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.type.includes(typeName)))
295
- : !(newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.type.includes(oldSubSchema.type))
296
- : true) {
297
- breakingChanges.push(`${path}/type is changed from ${oldSubSchema.type} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.type}`);
285
+ if (oldSubSchema.title) {
286
+ if ((newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.title) !== oldSubSchema.title) {
287
+ breakingChanges.push(`${path}/title is changed from ${oldSubSchema.title} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.title}`);
288
+ }
289
+ }
290
+ if (oldSubSchema.type) {
291
+ if (typeof (newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.type) === 'string'
292
+ ? (newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.type) !== oldSubSchema.type
293
+ : Array.isArray(newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.type)
294
+ ? Array.isArray(oldSubSchema.type)
295
+ ? oldSubSchema.type.some(typeName => !(newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.type.includes(typeName)))
296
+ : !(newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.type.includes(oldSubSchema.type))
297
+ : true) {
298
+ breakingChanges.push(`${path}/type is changed from ${oldSubSchema.type} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.type}`);
299
+ }
298
300
  }
299
301
  }
300
302
  }
@@ -311,7 +313,7 @@ async function compareJSONSchemas(oldSchema, newSchema) {
311
313
  }
312
314
 
313
315
  const resolvePath = (path, root) => {
314
- return jsonPtr.JsonPointer.get(root, path);
316
+ return JsonPointer.get(root, path);
315
317
  };
316
318
  function isRefObject(obj) {
317
319
  return typeof obj === 'object' && obj.$ref;
package/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { JsonPointer } from 'json-ptr';
1
+ import JsonPointer from 'json-pointer';
2
2
  import { AggregateError, readFileOrUrl } from '@graphql-mesh/utils';
3
3
  import { path } from '@graphql-mesh/cross-helpers';
4
4
  import urlJoin from 'url-join';
@@ -218,78 +218,80 @@ async function compareJSONSchemas(oldSchema, newSchema) {
218
218
  const breakingChanges = [];
219
219
  await visitJSONSchema(oldSchema, (oldSubSchema, { path }) => {
220
220
  var _a, _b, _c, _d;
221
- const newSubSchema = JsonPointer.get(newSchema, path);
222
- if (typeof oldSubSchema === 'boolean') {
223
- if (newSubSchema !== oldSubSchema) {
224
- breakingChanges.push(`${path} is changed from ${oldSubSchema} to ${newSubSchema}`);
225
- }
226
- }
227
- else {
228
- if (oldSubSchema.$ref) {
229
- if ((newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.$ref) !== oldSubSchema.$ref) {
230
- breakingChanges.push(`${path}/$ref is changed from ${oldSubSchema.$ref} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.$ref}`);
221
+ if (typeof newSchema === 'object') {
222
+ const newSubSchema = JsonPointer.get(newSchema, path);
223
+ if (typeof oldSubSchema === 'boolean') {
224
+ if (newSubSchema !== oldSubSchema) {
225
+ breakingChanges.push(`${path} is changed from ${oldSubSchema} to ${newSubSchema}`);
231
226
  }
232
227
  }
233
- if (oldSubSchema.const) {
234
- if ((newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.const) !== oldSubSchema.const) {
235
- breakingChanges.push(`${path}/const is changed from ${oldSubSchema.const} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.const}`);
228
+ else {
229
+ if (oldSubSchema.$ref) {
230
+ if ((newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.$ref) !== oldSubSchema.$ref) {
231
+ breakingChanges.push(`${path}/$ref is changed from ${oldSubSchema.$ref} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.$ref}`);
232
+ }
236
233
  }
237
- }
238
- if (oldSubSchema.enum) {
239
- for (const enumValue of oldSubSchema.enum) {
240
- if (!((_a = newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.enum) === null || _a === void 0 ? void 0 : _a.includes(enumValue))) {
241
- breakingChanges.push(`${path}/enum doesn't have ${enumValue} anymore`);
234
+ if (oldSubSchema.const) {
235
+ if ((newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.const) !== oldSubSchema.const) {
236
+ breakingChanges.push(`${path}/const is changed from ${oldSubSchema.const} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.const}`);
242
237
  }
243
238
  }
244
- }
245
- if (oldSubSchema.format) {
246
- if ((newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.format) !== oldSubSchema.format) {
247
- breakingChanges.push(`${path}/format is changed from ${oldSubSchema.format} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.format}`);
239
+ if (oldSubSchema.enum) {
240
+ for (const enumValue of oldSubSchema.enum) {
241
+ if (!((_a = newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.enum) === null || _a === void 0 ? void 0 : _a.includes(enumValue))) {
242
+ breakingChanges.push(`${path}/enum doesn't have ${enumValue} anymore`);
243
+ }
244
+ }
248
245
  }
249
- }
250
- if (oldSubSchema.maxLength) {
251
- if (oldSubSchema.maxLength > (newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.maxLength)) {
252
- breakingChanges.push(`${path}/maxLength is changed from ${oldSubSchema.maxLength} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.maxLength}`);
246
+ if (oldSubSchema.format) {
247
+ if ((newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.format) !== oldSubSchema.format) {
248
+ breakingChanges.push(`${path}/format is changed from ${oldSubSchema.format} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.format}`);
249
+ }
253
250
  }
254
- }
255
- if (oldSubSchema.minLength) {
256
- if (oldSubSchema.minLength < (newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.minLength)) {
257
- breakingChanges.push(`${path}/minLength is changed from ${oldSubSchema.minLength} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.minLength}`);
251
+ if (oldSubSchema.maxLength) {
252
+ if (oldSubSchema.maxLength > (newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.maxLength)) {
253
+ breakingChanges.push(`${path}/maxLength is changed from ${oldSubSchema.maxLength} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.maxLength}`);
254
+ }
258
255
  }
259
- }
260
- if (oldSubSchema.pattern) {
261
- if (((_b = newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.pattern) === null || _b === void 0 ? void 0 : _b.toString()) !== oldSubSchema.pattern.toString()) {
262
- breakingChanges.push(`${path}/pattern is changed from ${oldSubSchema.pattern} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.pattern}`);
256
+ if (oldSubSchema.minLength) {
257
+ if (oldSubSchema.minLength < (newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.minLength)) {
258
+ breakingChanges.push(`${path}/minLength is changed from ${oldSubSchema.minLength} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.minLength}`);
259
+ }
263
260
  }
264
- }
265
- if (oldSubSchema.properties) {
266
- for (const propertyName in oldSubSchema.properties) {
267
- if (((_c = newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.properties) === null || _c === void 0 ? void 0 : _c[propertyName]) == null) {
268
- breakingChanges.push(`${path}/properties doesn't have ${propertyName}`);
261
+ if (oldSubSchema.pattern) {
262
+ if (((_b = newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.pattern) === null || _b === void 0 ? void 0 : _b.toString()) !== oldSubSchema.pattern.toString()) {
263
+ breakingChanges.push(`${path}/pattern is changed from ${oldSubSchema.pattern} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.pattern}`);
269
264
  }
270
265
  }
271
- }
272
- if (newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.required) {
273
- for (const propertyName of newSubSchema.required) {
274
- if (!((_d = oldSubSchema.required) === null || _d === void 0 ? void 0 : _d.includes(propertyName))) {
275
- breakingChanges.push(`${path}/required has ${propertyName} an extra`);
266
+ if (oldSubSchema.properties) {
267
+ for (const propertyName in oldSubSchema.properties) {
268
+ if (((_c = newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.properties) === null || _c === void 0 ? void 0 : _c[propertyName]) == null) {
269
+ breakingChanges.push(`${path}/properties doesn't have ${propertyName}`);
270
+ }
276
271
  }
277
272
  }
278
- }
279
- if (oldSubSchema.title) {
280
- if ((newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.title) !== oldSubSchema.title) {
281
- breakingChanges.push(`${path}/title is changed from ${oldSubSchema.title} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.title}`);
273
+ if (newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.required) {
274
+ for (const propertyName of newSubSchema.required) {
275
+ if (!((_d = oldSubSchema.required) === null || _d === void 0 ? void 0 : _d.includes(propertyName))) {
276
+ breakingChanges.push(`${path}/required has ${propertyName} an extra`);
277
+ }
278
+ }
282
279
  }
283
- }
284
- if (oldSubSchema.type) {
285
- if (typeof (newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.type) === 'string'
286
- ? (newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.type) !== oldSubSchema.type
287
- : Array.isArray(newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.type)
288
- ? Array.isArray(oldSubSchema.type)
289
- ? oldSubSchema.type.some(typeName => !(newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.type.includes(typeName)))
290
- : !(newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.type.includes(oldSubSchema.type))
291
- : true) {
292
- breakingChanges.push(`${path}/type is changed from ${oldSubSchema.type} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.type}`);
280
+ if (oldSubSchema.title) {
281
+ if ((newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.title) !== oldSubSchema.title) {
282
+ breakingChanges.push(`${path}/title is changed from ${oldSubSchema.title} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.title}`);
283
+ }
284
+ }
285
+ if (oldSubSchema.type) {
286
+ if (typeof (newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.type) === 'string'
287
+ ? (newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.type) !== oldSubSchema.type
288
+ : Array.isArray(newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.type)
289
+ ? Array.isArray(oldSubSchema.type)
290
+ ? oldSubSchema.type.some(typeName => !(newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.type.includes(typeName)))
291
+ : !(newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.type.includes(oldSubSchema.type))
292
+ : true) {
293
+ breakingChanges.push(`${path}/type is changed from ${oldSubSchema.type} to ${newSubSchema === null || newSubSchema === void 0 ? void 0 : newSubSchema.type}`);
294
+ }
293
295
  }
294
296
  }
295
297
  }
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "json-machete",
3
- "version": "0.7.15",
3
+ "version": "0.8.0-alpha-1ffe1fa37.0",
4
4
  "sideEffects": false,
5
5
  "dependencies": {
6
6
  "@graphql-mesh/cross-helpers": "0.1.2",
7
- "@graphql-mesh/utils": "0.34.2",
7
+ "@graphql-mesh/utils": "0.34.3-alpha-1ffe1fa37.0",
8
8
  "@graphql-tools/utils": "8.6.9",
9
9
  "@json-schema-tools/meta-schema": "1.6.19",
10
10
  "cross-undici-fetch": "0.3.0",
11
- "json-ptr": "3.1.0",
11
+ "json-pointer": "0.6.2",
12
12
  "to-json-schema": "0.2.5",
13
13
  "tslib": "^2.3.1",
14
14
  "url-join": "4.0.1"