Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/json-schema-traverse.json

raw
1 {
2 "_id": "json-schema-traverse",
3 "_rev": "7-64b0ed388ead417106887658f9f2c102",
4 "name": "json-schema-traverse",
5 "description": "Traverse JSON Schema passing each schema object to callback",
6 "dist-tags": {
7 "latest": "0.5.0"
8 },
9 "versions": {
10 "0.0.1": {
11 "name": "json-schema-traverse",
12 "version": "0.0.1",
13 "description": "Traverse JSON Schema passing each schema object to callback",
14 "main": "index.js",
15 "scripts": {
16 "test": "echo \"Error: no test specified\" && exit 1"
17 },
18 "repository": {
19 "type": "git",
20 "url": "git+https://github.com/epoberezkin/json-schema-traverse.git"
21 },
22 "keywords": [
23 "JSON-Schema",
24 "traverse",
25 "iterate"
26 ],
27 "author": {
28 "name": "Evgeny Poberezkin"
29 },
30 "license": "MIT",
31 "bugs": {
32 "url": "https://github.com/epoberezkin/json-schema-traverse/issues"
33 },
34 "homepage": "https://github.com/epoberezkin/json-schema-traverse#readme",
35 "gitHead": "c0a0d74b106d56a61e953f5571ff42739b4ca3dd",
36 "_id": "[email protected]",
37 "_shasum": "d241e25481ad2fe8a1fdef61240d727fdee61283",
38 "_from": ".",
39 "_npmVersion": "2.15.9",
40 "_nodeVersion": "4.6.1",
41 "_npmUser": {
42 "name": "esp",
43 "email": "[email protected]"
44 },
45 "maintainers": [
46 {
47 "name": "esp",
48 "email": "[email protected]"
49 }
50 ],
51 "dist": {
52 "shasum": "d241e25481ad2fe8a1fdef61240d727fdee61283",
53 "tarball": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.0.1.tgz"
54 },
55 "_npmOperationalInternal": {
56 "host": "s3://npm-registry-packages",
57 "tmp": "tmp/json-schema-traverse-0.0.1.tgz_1496601736961_0.5534928701817989"
58 },
59 "directories": {}
60 },
61 "0.1.0": {
62 "name": "json-schema-traverse",
63 "version": "0.1.0",
64 "description": "Traverse JSON Schema passing each schema object to callback",
65 "main": "index.js",
66 "scripts": {
67 "eslint": "eslint index.js spec",
68 "test-spec": "mocha spec -R spec",
69 "test": "npm run eslint && nyc npm run test-spec"
70 },
71 "repository": {
72 "type": "git",
73 "url": "git+https://github.com/epoberezkin/json-schema-traverse.git"
74 },
75 "keywords": [
76 "JSON-Schema",
77 "traverse",
78 "iterate"
79 ],
80 "author": {
81 "name": "Evgeny Poberezkin"
82 },
83 "license": "MIT",
84 "bugs": {
85 "url": "https://github.com/epoberezkin/json-schema-traverse/issues"
86 },
87 "homepage": "https://github.com/epoberezkin/json-schema-traverse#readme",
88 "devDependencies": {
89 "coveralls": "^2.13.1",
90 "eslint": "^3.19.0",
91 "mocha": "^3.4.2",
92 "nyc": "^11.0.2",
93 "pre-commit": "^1.2.2"
94 },
95 "nyc": {
96 "exclude": [
97 "**/spec/**",
98 "node_modules"
99 ],
100 "reporter": [
101 "lcov",
102 "text-summary"
103 ]
104 },
105 "gitHead": "0d928d60085ef32d11cec52fd2adbb1a9cef80e9",
106 "_id": "[email protected]",
107 "_npmVersion": "5.0.0",
108 "_nodeVersion": "8.0.0",
109 "_npmUser": {
110 "name": "esp",
111 "email": "[email protected]"
112 },
113 "maintainers": [
114 {
115 "name": "esp",
116 "email": "[email protected]"
117 }
118 ],
119 "dist": {
120 "integrity": "sha512-1MtXJHDOlTbfMgXZ2mL1DvViXyph6ISlzKIk5On6KJbcMrmdOmwTsWkFDhy+9CJsstbuKlQHohAM3UIDNzQQQA==",
121 "shasum": "d88e207b83fd8b71f09f5b0c11734de5a0a2d203",
122 "tarball": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.1.0.tgz"
123 },
124 "_npmOperationalInternal": {
125 "host": "s3://npm-registry-packages",
126 "tmp": "tmp/json-schema-traverse-0.1.0.tgz_1496693959875_0.9615707800257951"
127 },
128 "directories": {}
129 },
130 "0.2.0": {
131 "name": "json-schema-traverse",
132 "version": "0.2.0",
133 "description": "Traverse JSON Schema passing each schema object to callback",
134 "main": "index.js",
135 "scripts": {
136 "eslint": "eslint index.js spec",
137 "test-spec": "mocha spec -R spec",
138 "test": "npm run eslint && nyc npm run test-spec"
139 },
140 "repository": {
141 "type": "git",
142 "url": "git+https://github.com/epoberezkin/json-schema-traverse.git"
143 },
144 "keywords": [
145 "JSON-Schema",
146 "traverse",
147 "iterate"
148 ],
149 "author": {
150 "name": "Evgeny Poberezkin"
151 },
152 "license": "MIT",
153 "bugs": {
154 "url": "https://github.com/epoberezkin/json-schema-traverse/issues"
155 },
156 "homepage": "https://github.com/epoberezkin/json-schema-traverse#readme",
157 "devDependencies": {
158 "coveralls": "^2.13.1",
159 "eslint": "^3.19.0",
160 "mocha": "^3.4.2",
161 "nyc": "^11.0.2",
162 "pre-commit": "^1.2.2"
163 },
164 "nyc": {
165 "exclude": [
166 "**/spec/**",
167 "node_modules"
168 ],
169 "reporter": [
170 "lcov",
171 "text-summary"
172 ]
173 },
174 "gitHead": "70465d279ff702ae915106cb5bfbd851712d37d0",
175 "_id": "[email protected]",
176 "_shasum": "486926926c876f74dd0f7d696ad072118c75d03c",
177 "_from": ".",
178 "_npmVersion": "3.10.8",
179 "_nodeVersion": "6.9.1",
180 "_npmUser": {
181 "name": "esp",
182 "email": "[email protected]"
183 },
184 "maintainers": [
185 {
186 "name": "esp",
187 "email": "[email protected]"
188 }
189 ],
190 "dist": {
191 "shasum": "486926926c876f74dd0f7d696ad072118c75d03c",
192 "tarball": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.2.0.tgz"
193 },
194 "_npmOperationalInternal": {
195 "host": "s3://npm-registry-packages",
196 "tmp": "tmp/json-schema-traverse-0.2.0.tgz_1497475368098_0.03620475740171969"
197 },
198 "directories": {}
199 },
200 "0.3.0": {
201 "name": "json-schema-traverse",
202 "version": "0.3.0",
203 "description": "Traverse JSON Schema passing each schema object to callback",
204 "main": "index.js",
205 "scripts": {
206 "eslint": "eslint index.js spec",
207 "test-spec": "mocha spec -R spec",
208 "test": "npm run eslint && nyc npm run test-spec"
209 },
210 "repository": {
211 "type": "git",
212 "url": "git+https://github.com/epoberezkin/json-schema-traverse.git"
213 },
214 "keywords": [
215 "JSON-Schema",
216 "traverse",
217 "iterate"
218 ],
219 "author": {
220 "name": "Evgeny Poberezkin"
221 },
222 "license": "MIT",
223 "bugs": {
224 "url": "https://github.com/epoberezkin/json-schema-traverse/issues"
225 },
226 "homepage": "https://github.com/epoberezkin/json-schema-traverse#readme",
227 "devDependencies": {
228 "coveralls": "^2.13.1",
229 "eslint": "^3.19.0",
230 "mocha": "^3.4.2",
231 "nyc": "^11.0.2",
232 "pre-commit": "^1.2.2"
233 },
234 "nyc": {
235 "exclude": [
236 "**/spec/**",
237 "node_modules"
238 ],
239 "reporter": [
240 "lcov",
241 "text-summary"
242 ]
243 },
244 "gitHead": "0c2808d402f8d57b6360f24ad8cc0fb0662e17c7",
245 "_id": "[email protected]",
246 "_shasum": "0016c0b1ca1efe46d44d37541bcdfc19dcfae0db",
247 "_from": ".",
248 "_npmVersion": "3.10.8",
249 "_nodeVersion": "6.9.1",
250 "_npmUser": {
251 "name": "esp",
252 "email": "[email protected]"
253 },
254 "maintainers": [
255 {
256 "name": "esp",
257 "email": "[email protected]"
258 }
259 ],
260 "dist": {
261 "shasum": "0016c0b1ca1efe46d44d37541bcdfc19dcfae0db",
262 "tarball": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.0.tgz"
263 },
264 "_npmOperationalInternal": {
265 "host": "s3://npm-registry-packages",
266 "tmp": "tmp/json-schema-traverse-0.3.0.tgz_1497558177644_0.5944948405958712"
267 },
268 "directories": {}
269 },
270 "0.3.1": {
271 "name": "json-schema-traverse",
272 "version": "0.3.1",
273 "description": "Traverse JSON Schema passing each schema object to callback",
274 "main": "index.js",
275 "scripts": {
276 "eslint": "eslint index.js spec",
277 "test-spec": "mocha spec -R spec",
278 "test": "npm run eslint && nyc npm run test-spec"
279 },
280 "repository": {
281 "type": "git",
282 "url": "git+https://github.com/epoberezkin/json-schema-traverse.git"
283 },
284 "keywords": [
285 "JSON-Schema",
286 "traverse",
287 "iterate"
288 ],
289 "author": {
290 "name": "Evgeny Poberezkin"
291 },
292 "license": "MIT",
293 "bugs": {
294 "url": "https://github.com/epoberezkin/json-schema-traverse/issues"
295 },
296 "homepage": "https://github.com/epoberezkin/json-schema-traverse#readme",
297 "devDependencies": {
298 "coveralls": "^2.13.1",
299 "eslint": "^3.19.0",
300 "mocha": "^3.4.2",
301 "nyc": "^11.0.2",
302 "pre-commit": "^1.2.2"
303 },
304 "nyc": {
305 "exclude": [
306 "**/spec/**",
307 "node_modules"
308 ],
309 "reporter": [
310 "lcov",
311 "text-summary"
312 ]
313 },
314 "gitHead": "f0a6627655525debea519dc8ebb4cf35f3c8e85f",
315 "_id": "[email protected]",
316 "_shasum": "349a6d44c53a51de89b40805c5d5e59b417d3340",
317 "_from": ".",
318 "_npmVersion": "3.10.8",
319 "_nodeVersion": "6.9.1",
320 "_npmUser": {
321 "name": "esp",
322 "email": "[email protected]"
323 },
324 "maintainers": [
325 {
326 "name": "esp",
327 "email": "[email protected]"
328 }
329 ],
330 "dist": {
331 "shasum": "349a6d44c53a51de89b40805c5d5e59b417d3340",
332 "tarball": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz"
333 },
334 "_npmOperationalInternal": {
335 "host": "s3://npm-registry-packages",
336 "tmp": "tmp/json-schema-traverse-0.3.1.tgz_1498261856588_0.601617609616369"
337 },
338 "directories": {}
339 },
340 "0.4.0": {
341 "name": "json-schema-traverse",
342 "version": "0.4.0",
343 "description": "Traverse JSON Schema passing each schema object to callback",
344 "main": "index.js",
345 "scripts": {
346 "eslint": "eslint index.js spec",
347 "test-spec": "mocha spec -R spec",
348 "test": "npm run eslint && nyc npm run test-spec"
349 },
350 "repository": {
351 "type": "git",
352 "url": "git+https://github.com/epoberezkin/json-schema-traverse.git"
353 },
354 "keywords": [
355 "JSON-Schema",
356 "traverse",
357 "iterate"
358 ],
359 "author": {
360 "name": "Evgeny Poberezkin"
361 },
362 "license": "MIT",
363 "bugs": {
364 "url": "https://github.com/epoberezkin/json-schema-traverse/issues"
365 },
366 "homepage": "https://github.com/epoberezkin/json-schema-traverse#readme",
367 "devDependencies": {
368 "coveralls": "^2.13.1",
369 "eslint": "^3.19.0",
370 "mocha": "^3.4.2",
371 "nyc": "^11.0.2",
372 "pre-commit": "^1.2.2"
373 },
374 "nyc": {
375 "exclude": [
376 "**/spec/**",
377 "node_modules"
378 ],
379 "reporter": [
380 "lcov",
381 "text-summary"
382 ]
383 },
384 "gitHead": "c1fd5208eb7fce760867477aa119c8bb16972df3",
385 "_id": "[email protected]",
386 "_npmVersion": "5.6.0",
387 "_nodeVersion": "10.0.0",
388 "_npmUser": {
389 "name": "esp",
390 "email": "[email protected]"
391 },
392 "dist": {
393 "integrity": "sha512-1YoNcmKmUIOyoF4DdbjA4qeZz9sxGJ3O0OAZI7J0b6K9A7jiE/24azJPEE/4ZDZbXsDU6biRoNcC8QWwCKegkA==",
394 "shasum": "e8467bf83020ba9d2a47b2e6b82e1ac056b0ad86",
395 "tarball": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.0.tgz",
396 "fileCount": 9,
397 "unpackedSize": 19547,
398 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8fygCRA9TVsSAnZWagAAdn8P/09M6Zwu8Q608VPdBomC\n34JdJK+UNPU/k0NCO0aC84D31U4M/fsT2zVAWF8XcQ4X+9qFYJyKwRyvA+b0\ni2hxPdlBife/3aJKxFugOGlHQv0QE46H9BI1Yzr/auKlc/XtBPbK5NgBxQua\ngpOZKY92+jRE42eZaQ5AL1K+W6pzkE5/zOfDCeI5CHJos7/EAdQdsS/5Ferm\nJV/i+A2Z1VbdFtZYAiqgvdldqt4gP6TA77uoep1aLPtf/Zvm3T7qXk7hencf\noo6AilfwwTUOWvIsy2ph4qaq1zwtM1PQ8/27/YQx0notvsegRfEJvh/8rtQD\nuOk/6nWtiG9Ls/Tbh/ZqwQBikcuFsU5EA+Zn/ZSnl33EhXSahSHP7l2BQA/Q\nx7jDqts1ATpwQvX9Zz09h3s7RsHtTNftIrahUGqJ5owBw8vi48RAO2pcgxqr\neLdCJkzUf/ECyQvoroxV7Ek57V2It61QlNankKGEB3rHlH2O1aCldTjtSsqB\njv9F9dCCufHMp7LwWibaiZseLqdOn00NSY2GvOnmrjM8sU3OBIq/bwNt4CyI\nX1SI866T56JMBCT6B9KCDMdysfEKtqtho2vXqtjWbRY7LVXiycHn+HR9x5v8\nj+2+c4lYY1t5vMjOdh6Om0+eUGK1C04cERu5yIvKNbaOtrxOxNo/wzamly5a\nkEpm\r\n=ZBqZ\r\n-----END PGP SIGNATURE-----\r\n"
399 },
400 "maintainers": [
401 {
402 "name": "esp",
403 "email": "[email protected]"
404 }
405 ],
406 "directories": {},
407 "_npmOperationalInternal": {
408 "host": "s3://npm-registry-packages",
409 "tmp": "tmp/json-schema-traverse_0.4.0_1525808286399_0.5813937245567184"
410 },
411 "_hasShrinkwrap": false
412 },
413 "0.4.1": {
414 "name": "json-schema-traverse",
415 "version": "0.4.1",
416 "description": "Traverse JSON Schema passing each schema object to callback",
417 "main": "index.js",
418 "scripts": {
419 "eslint": "eslint index.js spec",
420 "test-spec": "mocha spec -R spec",
421 "test": "npm run eslint && nyc npm run test-spec"
422 },
423 "repository": {
424 "type": "git",
425 "url": "git+https://github.com/epoberezkin/json-schema-traverse.git"
426 },
427 "keywords": [
428 "JSON-Schema",
429 "traverse",
430 "iterate"
431 ],
432 "author": {
433 "name": "Evgeny Poberezkin"
434 },
435 "license": "MIT",
436 "bugs": {
437 "url": "https://github.com/epoberezkin/json-schema-traverse/issues"
438 },
439 "homepage": "https://github.com/epoberezkin/json-schema-traverse#readme",
440 "devDependencies": {
441 "coveralls": "^2.13.1",
442 "eslint": "^3.19.0",
443 "mocha": "^3.4.2",
444 "nyc": "^11.0.2",
445 "pre-commit": "^1.2.2"
446 },
447 "nyc": {
448 "exclude": [
449 "**/spec/**",
450 "node_modules"
451 ],
452 "reporter": [
453 "lcov",
454 "text-summary"
455 ]
456 },
457 "gitHead": "bc898eeee723833fc9d604523e00014350bcc4e1",
458 "_id": "[email protected]",
459 "_npmVersion": "5.6.0",
460 "_nodeVersion": "10.0.0",
461 "_npmUser": {
462 "name": "esp",
463 "email": "[email protected]"
464 },
465 "dist": {
466 "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
467 "shasum": "69f6a87d9513ab8bb8fe63bdb0979c448e684660",
468 "tarball": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
469 "fileCount": 9,
470 "unpackedSize": 19564,
471 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHOReCRA9TVsSAnZWagAAVWUP/0MJPYc1bhxL+UjZWR+N\n0w1lIESRrtuAzcNFPDBfPvd8bBr3gxJlaLHMkpvzyEZGN69bgQP2hsp6I+Mg\nxvZz/mSOnK5Yj9/VTytxEjlwqW0GDK24x08GXNAZenNidRht1iZvBjugZbJa\n0hxF0z2Xjkn9VXgtOI0QiBLj9t4mutLrte3kFFDNpLTzoRx5r08JeA3L4k4I\na/Svzav/z4c8AsUFaeY/eAtGPm9KqwLzX0eLWQ7ueYPR7YgtY7WUWuSSh8+f\nuk9UJrG0OVS4GPl8YvwMvjf3Di9nUDwoQem9QnsIJCaXJ+Gbknv8B/Lit/9a\nzmjaNJDDNOF8t2iUfwUZWarFBGxYsZBcoECDPrU/tGMj/8IfHXMNHVWraqAp\nfZ9pvYbJ7s8DTlpJ8pkuGUDPrZIX4POWYcsuYVjUUpRwV73HnCIIAJibctmm\nOf1HzG0WaF5OE0ZU06UcGD6SUiZTgtyqaA0jU9vExTYhYSobaWqGKxA1PspG\nMATdwowCSsHWrUx+jXpzuJnEAyDBLW0iVh+rjBmWWvZHS+fub3rE/yT5FOPI\nk1y4qSwsF2I8T8R+Moo1OewFQzUBbaCjdpnOsBluUWmSvkRiwr/lcwZznt51\nBCTVCgPAGPQhcHbHtM/cK8tqpGEXeFTKtHZ5fHCGsL49sLtGPTj3b948t4z/\n1BiZ\r\n=77vn\r\n-----END PGP SIGNATURE-----\r\n"
472 },
473 "maintainers": [
474 {
475 "name": "esp",
476 "email": "[email protected]"
477 }
478 ],
479 "directories": {},
480 "_npmOperationalInternal": {
481 "host": "s3://npm-registry-packages",
482 "tmp": "tmp/json-schema-traverse_0.4.1_1528620124976_0.4290201343994062"
483 },
484 "_hasShrinkwrap": false
485 },
486 "0.5.0": {
487 "name": "json-schema-traverse",
488 "version": "0.5.0",
489 "description": "Traverse JSON Schema passing each schema object to callback",
490 "main": "index.js",
491 "types": "index.d.ts",
492 "scripts": {
493 "eslint": "eslint index.js spec",
494 "test-spec": "mocha spec -R spec",
495 "test": "npm run eslint && nyc npm run test-spec"
496 },
497 "repository": {
498 "type": "git",
499 "url": "git+https://github.com/epoberezkin/json-schema-traverse.git"
500 },
501 "keywords": [
502 "JSON-Schema",
503 "traverse",
504 "iterate"
505 ],
506 "author": {
507 "name": "Evgeny Poberezkin"
508 },
509 "license": "MIT",
510 "bugs": {
511 "url": "https://github.com/epoberezkin/json-schema-traverse/issues"
512 },
513 "homepage": "https://github.com/epoberezkin/json-schema-traverse#readme",
514 "devDependencies": {
515 "coveralls": "^3.0.1",
516 "eslint": "^7.3.1",
517 "mocha": "^8.0.1",
518 "nyc": "^15.0.0",
519 "pre-commit": "^1.2.2"
520 },
521 "nyc": {
522 "exclude": [
523 "**/spec/**",
524 "node_modules"
525 ],
526 "reporter": [
527 "lcov",
528 "text-summary"
529 ]
530 },
531 "gitHead": "666a85fe56ccc27a07f4d40ba52cc172406f8f17",
532 "_id": "[email protected]",
533 "_nodeVersion": "12.12.0",
534 "_npmVersion": "6.11.3",
535 "dist": {
536 "integrity": "sha512-x+TRJIQFskrNnFKE2Viz9FCSjK1vIh+H/uaBiOYszh/IcZmAFneQ35H4osWDJp1NPXccuV2I0RMXmi2ZS6Kqcg==",
537 "shasum": "1069a6097f9e9a567bfc6cc215e85f606ebf6480",
538 "tarball": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.5.0.tgz",
539 "fileCount": 11,
540 "unpackedSize": 21098,
541 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfU+ywCRA9TVsSAnZWagAAo4MQAJhqEwwNhHZFLPcknIez\n/fD01Vms7E0C65XAiKct2X2Pkiqpv9LqMk3cBBaPXDnVUMZeebjIjXacuN6z\nuuyIAQTjxDPZez3j2qd91lFPMSW5QXuWDK0xpnUqCINkZfrAH0g2ctZY81vW\nGVY5lutIYk6uQStlsSet/iVDWdJX4C81lmDZzew7EnNcTUi0O3TQtghOSuVG\nslnT7qpdweY+z+mNzrBwkFeMg6il5YygkHmmYz18HssNncV6+PoVdFn+XJK+\nZZ/QGXjS9IcBh+/iCgz0+2Az4bGr6UVcf2HleKBMIfjOQduLQ0zMiBy+lDMx\nhxyLmtevrqefSdkeVX7Y8tAIAhHr8Se7WMeNHjMbGQe2T+dB7PUh18zLSO8+\nQZqtOsNprGm23n5avkLORrxA7PnqGVq8BBPY3pisPv19P8ljJYbRtSrsH2Vz\nMoMUupSVaLNWeFwiUA/64WkXPVMFcxNjTQK6XDUL30JwGuE6PN/p1FGIYPXv\nByCLsZ+sumBDYF8V0jIb1AfERA143Nvgl2Pz6Ye27yAKw1hdR+d+5MTMxUWu\nmPSkSNAni33H9VMybozn3nulLHIwb+YyGJieR/iLQvoyemduoMAhwtCjK0fA\nnfRehA0Qp2hefE0AfyUb6IcPV3ROZddrDGvMgpJ5CbMNeaDoXy2T09vG/a/7\ntDlM\r\n=6n/B\r\n-----END PGP SIGNATURE-----\r\n"
542 },
543 "maintainers": [
544 {
545 "name": "esp",
546 "email": "[email protected]"
547 }
548 ],
549 "_npmUser": {
550 "name": "esp",
551 "email": "[email protected]"
552 },
553 "directories": {},
554 "_npmOperationalInternal": {
555 "host": "s3://npm-registry-packages",
556 "tmp": "tmp/json-schema-traverse_0.5.0_1599335600219_0.22633217841346598"
557 },
558 "_hasShrinkwrap": false
559 }
560 },
561 "readme": "# json-schema-traverse\nTraverse JSON Schema passing each schema object to callback\n\n[![Build Status](https://travis-ci.org/epoberezkin/json-schema-traverse.svg?branch=master)](https://travis-ci.org/epoberezkin/json-schema-traverse)\n[![npm version](https://badge.fury.io/js/json-schema-traverse.svg)](https://www.npmjs.com/package/json-schema-traverse)\n[![Coverage Status](https://coveralls.io/repos/github/epoberezkin/json-schema-traverse/badge.svg?branch=master)](https://coveralls.io/github/epoberezkin/json-schema-traverse?branch=master)\n\n\n## Install\n\n```\nnpm install json-schema-traverse\n```\n\n\n## Usage\n\n```javascript\nconst traverse = require('json-schema-traverse');\nconst schema = {\n properties: {\n foo: {type: 'string'},\n bar: {type: 'integer'}\n }\n};\n\ntraverse(schema, {cb});\n// cb is called 3 times with:\n// 1. root schema\n// 2. {type: 'string'}\n// 3. {type: 'integer'}\n\n// Or:\n\ntraverse(schema, {cb: {pre, post}});\n// pre is called 3 times with:\n// 1. root schema\n// 2. {type: 'string'}\n// 3. {type: 'integer'}\n//\n// post is called 3 times with:\n// 1. {type: 'string'}\n// 2. {type: 'integer'}\n// 3. root schema\n\n```\n\nCallback function `cb` is called for each schema object (not including draft-06 boolean schemas), including the root schema, in pre-order traversal. Schema references ($ref) are not resolved, they are passed as is. Alternatively, you can pass a `{pre, post}` object as `cb`, and then `pre` will be called before traversing child elements, and `post` will be called after all child elements have been traversed.\n\nCallback is passed these parameters:\n\n- _schema_: the current schema object\n- _JSON pointer_: from the root schema to the current schema object\n- _root schema_: the schema passed to `traverse` object\n- _parent JSON pointer_: from the root schema to the parent schema object (see below)\n- _parent keyword_: the keyword inside which this schema appears (e.g. `properties`, `anyOf`, etc.)\n- _parent schema_: not necessarily parent object/array; in the example above the parent schema for `{type: 'string'}` is the root schema\n- _index/property_: index or property name in the array/object containing multiple schemas; in the example above for `{type: 'string'}` the property name is `'foo'`\n\n\n## Traverse objects in all unknown keywords\n\n```javascript\nconst traverse = require('json-schema-traverse');\nconst schema = {\n mySchema: {\n minimum: 1,\n maximum: 2\n }\n};\n\ntraverse(schema, {allKeys: true, cb});\n// cb is called 2 times with:\n// 1. root schema\n// 2. mySchema\n```\n\nWithout option `allKeys: true` callback will be called only with root schema.\n\n\n## Enterprise support\n\njson-schema-traverse package is a part of [Tidelift enterprise subscription](https://tidelift.com/subscription/pkg/npm-json-schema-traverse?utm_source=npm-json-schema-traverse&utm_medium=referral&utm_campaign=enterprise&utm_term=repo) - it provides a centralised commercial support to open-source software users, in addition to the support provided by software maintainers.\n\n\n## Security contact\n\nTo report a security vulnerability, please use the\n[Tidelift security contact](https://tidelift.com/security).\nTidelift will coordinate the fix and disclosure. Please do NOT report security vulnerability via GitHub issues.\n\n\n## License\n\n[MIT](https://github.com/epoberezkin/json-schema-traverse/blob/master/LICENSE)\n",
562 "maintainers": [
563 {
564 "name": "esp",
565 "email": "[email protected]"
566 }
567 ],
568 "time": {
569 "modified": "2020-09-05T19:53:22.533Z",
570 "created": "2017-06-04T18:42:17.844Z",
571 "0.0.1": "2017-06-04T18:42:17.844Z",
572 "0.1.0": "2017-06-05T20:19:20.802Z",
573 "0.2.0": "2017-06-14T21:22:49.143Z",
574 "0.3.0": "2017-06-15T20:22:58.966Z",
575 "0.3.1": "2017-06-23T23:50:57.513Z",
576 "0.4.0": "2018-05-08T19:38:06.477Z",
577 "0.4.1": "2018-06-10T08:42:05.056Z",
578 "0.5.0": "2020-09-05T19:53:20.342Z"
579 },
580 "homepage": "https://github.com/epoberezkin/json-schema-traverse#readme",
581 "keywords": [
582 "JSON-Schema",
583 "traverse",
584 "iterate"
585 ],
586 "repository": {
587 "type": "git",
588 "url": "git+https://github.com/epoberezkin/json-schema-traverse.git"
589 },
590 "author": {
591 "name": "Evgeny Poberezkin"
592 },
593 "bugs": {
594 "url": "https://github.com/epoberezkin/json-schema-traverse/issues"
595 },
596 "license": "MIT",
597 "readmeFilename": "README.md"
598 }