Skip to content

Commit 4c95bda

Browse files
committed
perf(deps): require @stoplight/json-schema-merge-allof@^0.7.5
1 parent a1be2ae commit 4c95bda

File tree

3 files changed

+7
-96
lines changed

3 files changed

+7
-96
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"peerDependencies": {},
3838
"dependencies": {
3939
"@stoplight/json": "^3.10.0",
40-
"@stoplight/json-schema-merge-allof": "^0.7.2",
40+
"@stoplight/json-schema-merge-allof": "^0.7.5",
4141
"@stoplight/lifecycle": "^2.3.2",
4242
"magic-error": "^0.0.0"
4343
},

src/__tests__/__snapshots__/tree.spec.ts.snap

Lines changed: 2 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -613,46 +613,7 @@ exports[`SchemaTree output should generate valid tree for combiners/allOfs/compl
613613
│ │ └─ children
614614
│ │ └─ 0
615615
│ │ └─ #/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation/properties/user/allOf/0
616-
│ │ ├─ types
617-
│ │ │ └─ 0: object
618-
│ │ ├─ primaryType: object
619-
│ │ └─ children
620-
│ │ ├─ 0
621-
│ │ │ └─ #/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation/properties/user/allOf/0/properties/names
622-
│ │ │ ├─ types
623-
│ │ │ │ └─ 0: array
624-
│ │ │ ├─ primaryType: array
625-
│ │ │ └─ children
626-
│ │ │ └─ 0
627-
│ │ │ └─ #/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation/properties/user/allOf/0/properties/names/items
628-
│ │ │ ├─ $ref: #/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/name
629-
│ │ │ ├─ external: false
630-
│ │ │ └─ error: Could not resolve '#/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/name'
631-
│ │ └─ 1
632-
│ │ └─ #/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation/properties/user/allOf/0/properties/users
633-
│ │ ├─ types
634-
│ │ │ └─ 0: array
635-
│ │ ├─ primaryType: array
636-
│ │ └─ children
637-
│ │ └─ 0
638-
│ │ └─ #/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation/properties/user/allOf/0/properties/users/items
639-
│ │ ├─ types
640-
│ │ │ └─ 0: object
641-
│ │ ├─ primaryType: object
642-
│ │ └─ children
643-
│ │ ├─ 0
644-
│ │ │ └─ #/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation/properties/user/allOf/0/properties/users/items/properties/creation
645-
│ │ │ └─ mirrors: #/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation
646-
│ │ ├─ 1
647-
│ │ │ └─ #/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation/properties/user/allOf/0/properties/users/items/properties/foo
648-
│ │ │ ├─ $ref: #/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts
649-
│ │ │ ├─ external: false
650-
│ │ │ └─ error: Could not resolve '#/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts'
651-
│ │ └─ 2
652-
│ │ └─ #/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation/properties/user/allOf/0/properties/users/items/properties/products
653-
│ │ ├─ $ref: #/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts
654-
│ │ ├─ external: false
655-
│ │ └─ error: Could not resolve '#/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts'
616+
│ │ └─ mirrors: #/properties/foo/properties/user/allOf/0
656617
│ ├─ 1
657618
│ │ └─ #/properties/foo/properties/user/allOf/0/properties/users/items/properties/foo
658619
│ │ ├─ $ref: #/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts
@@ -682,57 +643,7 @@ exports[`SchemaTree output should generate valid tree for combiners/allOfs/compl
682643
└─ children
683644
└─ 0
684645
└─ #/properties/bar/properties/foo/properties/user/allOf/0
685-
├─ types
686-
│ └─ 0: object
687-
├─ primaryType: object
688-
└─ children
689-
├─ 0
690-
│ └─ #/properties/bar/properties/foo/properties/user/allOf/0/properties/names
691-
│ ├─ types
692-
│ │ └─ 0: array
693-
│ ├─ primaryType: array
694-
│ └─ children
695-
│ └─ 0
696-
│ └─ #/properties/bar/properties/foo/properties/user/allOf/0/properties/names/items
697-
│ ├─ $ref: #/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/name
698-
│ ├─ external: false
699-
│ └─ error: Could not resolve '#/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/name'
700-
└─ 1
701-
└─ #/properties/bar/properties/foo/properties/user/allOf/0/properties/users
702-
├─ types
703-
│ └─ 0: array
704-
├─ primaryType: array
705-
└─ children
706-
└─ 0
707-
└─ #/properties/bar/properties/foo/properties/user/allOf/0/properties/users/items
708-
├─ types
709-
│ └─ 0: object
710-
├─ primaryType: object
711-
└─ children
712-
├─ 0
713-
│ └─ #/properties/bar/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation
714-
│ ├─ types
715-
│ │ └─ 0: object
716-
│ ├─ primaryType: object
717-
│ └─ children
718-
│ └─ 0
719-
│ └─ #/properties/bar/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation/properties/user
720-
│ ├─ combiners
721-
│ │ └─ 0: allOf
722-
│ └─ children
723-
│ └─ 0
724-
│ └─ #/properties/bar/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation/properties/user/allOf/0
725-
│ └─ mirrors: #/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation/properties/user/allOf/0
726-
├─ 1
727-
│ └─ #/properties/bar/properties/foo/properties/user/allOf/0/properties/users/items/properties/foo
728-
│ ├─ $ref: #/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts
729-
│ ├─ external: false
730-
│ └─ error: Could not resolve '#/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts'
731-
└─ 2
732-
└─ #/properties/bar/properties/foo/properties/user/allOf/0/properties/users/items/properties/products
733-
├─ $ref: #/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts
734-
├─ external: false
735-
└─ error: Could not resolve '#/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts'
646+
└─ mirrors: #/properties/foo/properties/user/allOf/0
736647
"
737648
`;
738649

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -936,10 +936,10 @@
936936
dependencies:
937937
eslint-config-prettier "^7.1.0"
938938

939-
"@stoplight/json-schema-merge-allof@^0.7.2":
940-
version "0.7.2"
941-
resolved "https://registry.yarnpkg.com/@stoplight/json-schema-merge-allof/-/json-schema-merge-allof-0.7.2.tgz#a9f4d95b4a95e943afa567c695a1d4a2add9b74a"
942-
integrity sha512-fVS5GqYBlxZfX1fA9+ULiny8VaCR3O62p3BHYd7+30rf378pVW6UPPydeB5AXs5U621LJKYdrGyndpOdTJ5dFA==
939+
"@stoplight/json-schema-merge-allof@^0.7.5":
940+
version "0.7.5"
941+
resolved "https://registry.yarnpkg.com/@stoplight/json-schema-merge-allof/-/json-schema-merge-allof-0.7.5.tgz#f844c41f8ae19dbf8e64578372ccb581cc8b97db"
942+
integrity sha512-pbi/sfVKyezFhSTVzSQkDN3WanpoZFSjisYhTbpWMgTFoZz/pUPLLLZvBGUme4IfzQjFZweiKT3nl29h8Elsnw==
943943
dependencies:
944944
compute-lcm "^1.1.0"
945945
json-schema-compare "^0.2.2"

0 commit comments

Comments
 (0)