Skip to content

Commit

Permalink
fix: bump json-schema-tree to 1.1.2 (#121)
Browse files Browse the repository at this point in the history
* chore: bump json-schema-tree to 1.1.2

* fix: update snapshots
  • Loading branch information
mmiask authored Apr 1, 2021
1 parent 04293bf commit beb54c2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 378 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"dependencies": {
"@fortawesome/free-solid-svg-icons": "^5.15.2",
"@stoplight/json": "^3.10.0",
"@stoplight/json-schema-tree": "^1.1.0",
"@stoplight/json-schema-tree": "^1.1.2",
"@stoplight/mosaic": "^1.0.0-beta.36",
"@stoplight/react-error-boundary": "^1.0.0",
"classnames": "^2.2.6",
Expand Down
362 changes: 0 additions & 362 deletions src/__tests__/__snapshots__/index.spec.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1852,157 +1852,6 @@ exports[`HTML Output should match combiners/allOfs/complex.json 1`] = `
</div>
<div></div>
</div>
<div>
<div style=\\"margin-left: 20px\\">
<div>
<div>
<div>
<div>
<div style=\\"width: 20px; height: 20px; left: -27px\\" role=\\"button\\"></div>
<div>
<div>names</div>
<span>
$ref(#/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/name)[]
</span>
</div>
</div>
</div>
</div>
<div></div>
</div>
<div>
<div style=\\"margin-left: 20px\\">
<div>
<div>
<div>
<div>
<div>
<span>
#/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/name
</span>
</div>
</div>
</div>
</div>
<div></div>
</div>
</div>
</div>
</div>
<div></div>
<div style=\\"margin-left: 20px\\">
<div>
<div>
<div>
<div>
<div style=\\"width: 20px; height: 20px; left: -27px\\" role=\\"button\\"></div>
<div>
<div>users</div>
<span>array of objects</span>
</div>
</div>
</div>
</div>
<div></div>
</div>
<div>
<div style=\\"margin-left: 20px\\">
<div>
<div>
<div>
<div>
<div
style=\\"width: 20px; height: 20px; left: -27px\\"
role=\\"button\\"
></div>
<div>
<div>creation</div>
<span>object</span>
</div>
</div>
</div>
</div>
<div></div>
</div>
<div>
<div style=\\"margin-left: 20px\\">
<div>
<div>
<div>
<div>
<div
style=\\"width: 20px; height: 20px; left: -27px\\"
role=\\"button\\"
></div>
<div>
<div>user</div>
<span>allOf</span>
</div>
</div>
</div>
</div>
<div></div>
</div>
<div>
<div style=\\"margin-left: 20px\\">
<div>
<div>
<div>
<div>
<div
style=\\"width: 20px; height: 20px; left: -27px\\"
role=\\"button\\"
></div>
<div><span>object</span></div>
</div>
</div>
</div>
<div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div></div>
<div style=\\"margin-left: 20px\\">
<div>
<div>
<div>
<div>
<div>
<div>foo</div>
<span>
#/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts
</span>
</div>
</div>
</div>
</div>
<div></div>
</div>
</div>
<div></div>
<div style=\\"margin-left: 20px\\">
<div>
<div>
<div>
<div>
<div>
<div>products</div>
<span>
#/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts
</span>
</div>
</div>
</div>
</div>
<div></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -2113,148 +1962,6 @@ exports[`HTML Output should match combiners/allOfs/complex.json 1`] = `
</div>
<div></div>
</div>
<div>
<div style=\\"margin-left: 20px\\">
<div>
<div>
<div>
<div>
<div style=\\"width: 20px; height: 20px; left: -27px\\" role=\\"button\\"></div>
<div>
<div>names</div>
<span>
$ref(#/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/name)[]
</span>
</div>
</div>
</div>
</div>
<div></div>
</div>
<div>
<div style=\\"margin-left: 20px\\">
<div>
<div>
<div>
<div>
<div>
<span>
#/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/name
</span>
</div>
</div>
</div>
</div>
<div></div>
</div>
</div>
</div>
</div>
<div></div>
<div style=\\"margin-left: 20px\\">
<div>
<div>
<div>
<div>
<div style=\\"width: 20px; height: 20px; left: -27px\\" role=\\"button\\"></div>
<div>
<div>users</div>
<span>array of objects</span>
</div>
</div>
</div>
</div>
<div></div>
</div>
<div>
<div style=\\"margin-left: 20px\\">
<div>
<div>
<div>
<div>
<div style=\\"width: 20px; height: 20px; left: -27px\\" role=\\"button\\"></div>
<div>
<div>creation</div>
<span>object</span>
</div>
</div>
</div>
</div>
<div></div>
</div>
<div>
<div style=\\"margin-left: 20px\\">
<div>
<div>
<div>
<div>
<div style=\\"width: 20px; height: 20px; left: -27px\\" role=\\"button\\"></div>
<div>
<div>user</div>
<span>allOf</span>
</div>
</div>
</div>
</div>
<div></div>
</div>
<div>
<div style=\\"margin-left: 20px\\">
<div>
<div>
<div>
<div>
<div style=\\"width: 20px; height: 20px; left: -27px\\" role=\\"button\\"></div>
<div><span>object</span></div>
</div>
</div>
</div>
<div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div></div>
<div style=\\"margin-left: 20px\\">
<div>
<div>
<div>
<div>
<div>
<div>foo</div>
<span>
#/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts
</span>
</div>
</div>
</div>
</div>
<div></div>
</div>
</div>
<div></div>
<div style=\\"margin-left: 20px\\">
<div>
<div>
<div>
<div>
<div>
<div>products</div>
<span>
#/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts
</span>
</div>
</div>
</div>
</div>
<div></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -3242,23 +2949,6 @@ exports[`HTML Output should match default-schema.json 1`] = `
</div>
<div></div>
</div>
<div>
<div style=\\"margin-left: 20px\\">
<div>
<div>
<div>
<div>
<div>
<div>ids</div>
<span>array of integers</span>
</div>
</div>
</div>
</div>
<div></div>
</div>
</div>
</div>
</div>
<div></div>
<div style=\\"margin-left: 20px\\">
Expand Down Expand Up @@ -3551,58 +3241,6 @@ exports[`HTML Output should match references/base.json 1`] = `
</div>
<div></div>
</div>
<div>
<div style=\\"margin-left: 20px\\">
<div>
<div>
<div>
<div>
<div>
<div>street_address</div>
<span>string</span>
</div>
<span>required</span>
</div>
</div>
</div>
<div></div>
</div>
</div>
<div></div>
<div style=\\"margin-left: 20px\\">
<div>
<div>
<div>
<div>
<div>
<div>city</div>
<span>string</span>
</div>
<span>required</span>
</div>
</div>
</div>
<div></div>
</div>
</div>
<div></div>
<div style=\\"margin-left: 20px\\">
<div>
<div>
<div>
<div>
<div>
<div>state</div>
<span>string</span>
</div>
<span>required</span>
</div>
</div>
</div>
<div></div>
</div>
</div>
</div>
</div>
</div>
</div>
Expand Down
Loading

0 comments on commit beb54c2

Please sign in to comment.