Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gatsby-plugin-layout

Package Overview
Dependencies
Maintainers
2
Versions
262
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-plugin-layout - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

<a name="1.0.8"></a>
## [1.0.8](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-layout@1.0.7...gatsby-plugin-layout@1.0.8) (2018-11-08)
**Note:** Version bump only for package gatsby-plugin-layout
<a name="1.0.7"></a>

@@ -8,0 +14,0 @@

4

package.json
{
"name": "gatsby-plugin-layout",
"version": "1.0.7",
"version": "1.0.8",
"description": "Reimplements the behavior of layout components in gatsby@1, which was removed in version 2.",

@@ -34,3 +34,3 @@ "main": "index.js",

},
"gitHead": "864ac048e573add87399b0e5a964fe127184f4bb"
"gitHead": "f9714a5646523bc728586e3692190507ad68e6c1"
}

@@ -204,9 +204,7 @@ # gatsby-plugin-layout

export default ({ children, pageContext }) => {
if (pageContext.layout === 'special') {
if (pageContext.layout === "special") {
return <AlternativeLayout>{children}</AlternativeLayout>
}
return (
<RegularLayout>{children}</RegularLayout>
)
return <RegularLayout>{children}</RegularLayout>
}
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc