-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update packages (major) (#70)
Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Jo茫o Pedro Schmitz <jpedroschmitz@hotmail.com>
- Loading branch information
1 parent
ffee8e7
commit e732747
Showing
8 changed files
with
317 additions
and
239 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
/* eslint-disable react/prop-types */ | ||
import React from 'react'; | ||
|
||
export default ({ data }) => <pre>{JSON.stringify(data, null, 2)}</pre>; | ||
export default function Docspage({ data }) { | ||
return <pre>{JSON.stringify(data, null, 2)}</pre>; | ||
} |
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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
/* eslint-disable react/prop-types */ | ||
import React from 'react'; | ||
|
||
export default ({ data }) => <pre>{JSON.stringify(data, null, 2)}</pre>; | ||
export default function Homepage({ data }) { | ||
return <pre>{JSON.stringify(data, null, 2)}</pre>; | ||
} |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
function isExternalUrl(url) { | ||
return new RegExp('^((https?:)?//)', 'i').test(url); | ||
return /^((https?:)?\/\/)/i.test(url); | ||
} | ||
|
||
module.exports = { isExternalUrl }; |
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
Oops, something went wrong.