From beb54c2e968b84dbf06374f183e248f3d8e14623 Mon Sep 17 00:00:00 2001 From: Michael Miaskowski <58433203+mmiask@users.noreply.github.com> Date: Thu, 1 Apr 2021 15:00:12 +0200 Subject: [PATCH] fix: bump json-schema-tree to 1.1.2 (#121) * chore: bump json-schema-tree to 1.1.2 * fix: update snapshots --- package.json | 2 +- .../__snapshots__/index.spec.tsx.snap | 362 ------------------ yarn.lock | 24 +- 3 files changed, 10 insertions(+), 378 deletions(-) diff --git a/package.json b/package.json index f7b8b30c..a54d0b0a 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/__tests__/__snapshots__/index.spec.tsx.snap b/src/__tests__/__snapshots__/index.spec.tsx.snap index 26144cd2..2d6dbe75 100644 --- a/src/__tests__/__snapshots__/index.spec.tsx.snap +++ b/src/__tests__/__snapshots__/index.spec.tsx.snap @@ -1852,157 +1852,6 @@ exports[`HTML Output should match combiners/allOfs/complex.json 1`] = `
-
-
-
-
-
-
-
-
-
names
- - $ref(#/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/name)[] - -
-
-
-
-
-
-
-
-
-
-
-
-
- - #/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/name - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
users
- array of objects -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
creation
- object -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
user
- allOf -
-
-
-
-
-
-
-
-
-
-
-
-
-
object
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
foo
- - #/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
products
- - #/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts - -
-
-
-
-
-
-
-
-
-
@@ -2113,148 +1962,6 @@ exports[`HTML Output should match combiners/allOfs/complex.json 1`] = `
-
-
-
-
-
-
-
-
-
names
- - $ref(#/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/name)[] - -
-
-
-
-
-
-
-
-
-
-
-
-
- - #/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/name - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
users
- array of objects -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
creation
- object -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
user
- allOf -
-
-
-
-
-
-
-
-
-
-
-
-
-
object
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
foo
- - #/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
products
- - #/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts - -
-
-
-
-
-
-
-
-
-
@@ -3242,23 +2949,6 @@ exports[`HTML Output should match default-schema.json 1`] = `
-
-
-
-
-
-
-
-
ids
- array of integers -
-
-
-
-
-
-
-
@@ -3551,58 +3241,6 @@ exports[`HTML Output should match references/base.json 1`] = `
-
-
-
-
-
-
-
-
street_address
- string -
- required -
-
-
-
-
-
-
-
-
-
-
-
-
-
city
- string -
- required -
-
-
-
-
-
-
-
-
-
-
-
-
-
state
- string -
- required -
-
-
-
-
-
-
diff --git a/yarn.lock b/yarn.lock index fb78cb4b..d41907a9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2256,23 +2256,22 @@ dependencies: eslint-config-prettier "^6.14.0" -"@stoplight/json-schema-merge-allof@^0.7.2": - version "0.7.3" - resolved "https://registry.yarnpkg.com/@stoplight/json-schema-merge-allof/-/json-schema-merge-allof-0.7.3.tgz#65ae18f38593a8a4a1232c051f7c0a63fce129cc" - integrity sha512-+4Lz+fHn+t49OeYZetyBa0Qz4kPsNRMEYVLVHMuq9HWyu2E29Iv7bafPfb9d0cGHJK92SE7ha5xgsLCBEQCRKQ== +"@stoplight/json-schema-merge-allof@^0.7.5": + version "0.7.5" + resolved "https://registry.yarnpkg.com/@stoplight/json-schema-merge-allof/-/json-schema-merge-allof-0.7.5.tgz#f844c41f8ae19dbf8e64578372ccb581cc8b97db" + integrity sha512-pbi/sfVKyezFhSTVzSQkDN3WanpoZFSjisYhTbpWMgTFoZz/pUPLLLZvBGUme4IfzQjFZweiKT3nl29h8Elsnw== dependencies: compute-lcm "^1.1.0" - fast-copy "^2.1.1" json-schema-compare "^0.2.2" lodash "^4.17.4" -"@stoplight/json-schema-tree@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@stoplight/json-schema-tree/-/json-schema-tree-1.1.0.tgz#574889869c17ed79ace933b2197869ee097b4d28" - integrity sha512-LOJAcljx1atU0F3KoF7C34I8e66hYi8v0Yr3uUXbWzsrTnuFzYWQgVgUWYJWKQnwoWKS2rBYn8u2up2w8cEF2Q== +"@stoplight/json-schema-tree@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@stoplight/json-schema-tree/-/json-schema-tree-1.1.2.tgz#c781de4322f286b296fe82233dd4b895cedb10a7" + integrity sha512-GgEJApU2/JKVd3XwjPP52gI9EGCi1nFz4fPUTw1gafpAnEqQcjVF14RFlJ+YjMx15ggwsUPCDEZIypDEoYvdoA== dependencies: "@stoplight/json" "^3.10.0" - "@stoplight/json-schema-merge-allof" "^0.7.2" + "@stoplight/json-schema-merge-allof" "^0.7.5" "@stoplight/lifecycle" "^2.3.2" magic-error "^0.0.0" @@ -7481,11 +7480,6 @@ fake-tag@^1.0.0: resolved "https://registry.yarnpkg.com/fake-tag/-/fake-tag-1.0.1.tgz#1d59da482240a02bd83500ca98976530ed154b0d" integrity sha512-qmewZoBpa71mM+y6oxXYW/d1xOYQmeIvnEXAt1oCmdP0sqcogWYLepR87QL1jQVLSVMVYDq2cjY6ec/Wu8/4pg== -fast-copy@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/fast-copy/-/fast-copy-2.1.1.tgz#f5cbcf2df64215e59b8e43f0b2caabc19848083a" - integrity sha512-Qod3DdRgFZ8GUIM6ygeoZYpQ0QLW9cf/FS9KhhjlYggcSZXWAemAw8BOCO5LuYCrR3Uj3qXDVTUzOUwG8C7beQ== - fast-deep-equal@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49"