forked from gatsbyjs/gatsby
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add custom error for node.parent validation (gatsbyjs#2924)
* Add custom error for node.parent validation This error confused several people recently who tried using an empty string * Make error an Error object * Upgrade to Joi v12
- Loading branch information
1 parent
940563b
commit 8dcc4d7
Showing
3 changed files
with
21 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6283,6 +6283,12 @@ [email protected]: | |
version "2.2.1" | ||
resolved "https://registry.yarnpkg.com/isemail/-/isemail-2.2.1.tgz#0353d3d9a62951080c262c2aa0a42b8ea8e9e2a6" | ||
|
||
[email protected]: | ||
version "3.0.0" | ||
resolved "https://registry.yarnpkg.com/isemail/-/isemail-3.0.0.tgz#c89a46bb7a3361e1759f8028f9082488ecce3dff" | ||
dependencies: | ||
punycode "2.x.x" | ||
|
||
isexe@^2.0.0: | ||
version "2.0.0" | ||
resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" | ||
|
@@ -6669,6 +6675,14 @@ jimp@^0.2.24: | |
tinycolor2 "^1.1.2" | ||
url-regex "^3.0.0" | ||
|
||
[email protected]: | ||
version "12.0.0" | ||
resolved "https://registry.yarnpkg.com/joi/-/joi-12.0.0.tgz#46f55e68f4d9628f01bbb695902c8b307ad8d33a" | ||
dependencies: | ||
hoek "4.x.x" | ||
isemail "3.x.x" | ||
topo "2.x.x" | ||
|
||
[email protected]: | ||
version "9.0.0-0" | ||
resolved "https://registry.yarnpkg.com/joi/-/joi-9.0.0-0.tgz#a7ca4219602149ae0da7a7c5ca1d63d3c79e096b" | ||
|
@@ -6688,16 +6702,6 @@ joi@^6.10.1: | |
moment "2.x.x" | ||
topo "1.x.x" | ||
|
||
joi@^9.1.1: | ||
version "9.2.0" | ||
resolved "https://registry.yarnpkg.com/joi/-/joi-9.2.0.tgz#3385ac790192130cbe230e802ec02c9215bbfeda" | ||
dependencies: | ||
hoek "4.x.x" | ||
isemail "2.x.x" | ||
items "2.x.x" | ||
moment "2.x.x" | ||
topo "2.x.x" | ||
|
||
jpeg-js@^0.2.0: | ||
version "0.2.0" | ||
resolved "https://registry.yarnpkg.com/jpeg-js/-/jpeg-js-0.2.0.tgz#53e448ec9d263e683266467e9442d2c5a2ef5482" | ||
|
@@ -9842,6 +9846,10 @@ [email protected]: | |
version "1.3.2" | ||
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" | ||
|
||
[email protected]: | ||
version "2.1.0" | ||
resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.0.tgz#5f863edc89b96db09074bad7947bf09056ca4e7d" | ||
|
||
punycode@^1.2.4, punycode@^1.4.1: | ||
version "1.4.1" | ||
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" | ||
|