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

gatsby-plugin-wpgraphql-seo

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-plugin-wpgraphql-seo - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

dist/gatsby-plugin-wpgraphql-seo.cjs.development.js

@@ -96,4 +96,4 @@ 'use strict';

var metaDescription = (seo == null ? void 0 : seo.metaDesc) ? seo.metaDesc : '';
var robotsIndex = seo.metaRobotsNoindex ? 'noindex' : 'index';
var robotsFollow = seo.metaRobotsNofollow ? 'nofollow' : 'follow';
var robotsIndex = seo.metaRobotsNoindex === 'noindex' ? 'noindex' : 'index';
var robotsFollow = seo.metaRobotsNofollow === 'nofollow' ? 'nofollow' : 'follow';
return React__default.createElement(reactHelmet.Helmet, {

@@ -100,0 +100,0 @@ htmlAttributes: {

@@ -1,2 +0,2 @@

"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=require("react"),n=(e=t)&&"object"==typeof e&&"default"in e?e.default:e,o=require("react-helmet");function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var r=t.createContext({}),a=function(e){var a,l,c,p=e.post,s=e.meta,u=void 0===s?[]:s,d=e.title,m=e.postSchema,v=(void 0===p?{}:p).seo;m?c=m:v&&(null==v||null==(a=v.schema)?void 0:a.raw)&&(c=JSON.parse(v.schema.raw));var f=t.useContext(r).global,y=null==f||null==(l=f.schema)?void 0:l.inLanguage,g=null==f?void 0:f.schema,h=null==f?void 0:f.webmaster,w=null==f?void 0:f.social,x=[];(null==h?void 0:h.baiduVerify)&&x.push({name:"baidu-site-verification",content:h.baiduVerify}),(null==h?void 0:h.googleVerify)&&x.push({name:"google-site-verification",content:h.googleVerify}),(null==h?void 0:h.msVerify)&&x.push({name:"msvalidate.01",content:h.msVerify}),(null==h?void 0:h.yandexVerify)&&x.push({name:"yandex-verification",content:h.yandexVerify}),(null==w?void 0:w.pinterest)&&w.pinterest.metaTag&&x.push({name:"p:domain_verify",content:w.pinterest.metaTag});var b=d||v.title,V=(null==v?void 0:v.metaDesc)?v.metaDesc:"";return n.createElement(o.Helmet,{htmlAttributes:{lang:y},title:b,meta:[{name:"robots",content:"max-snippet:-1, max-image-preview:large, max-video-preview:-1, "+(v.metaRobotsNoindex?"noindex":"index")+", "+(v.metaRobotsNofollow?"nofollow":"follow")},{name:"description",content:V},{property:"og:site_name",content:null==g?void 0:g.companyName},{property:"og:title",content:(null==v?void 0:v.opengraphTitle)||b},{property:"og:description",content:null==v?void 0:v.opengraphDescription},{property:"og:locale",content:"en_GB"},{property:"og:type",content:"website"},{name:"twitter:card",content:null==w?void 0:w.twitter.cardType},{name:"twitter:creator",content:null==w?void 0:w.twitter.username},{name:"twitter:title",content:(null==v?void 0:v.twitterTitle)||b},{name:"twitter:description",content:(null==v?void 0:v.twitterDescription)||V}].filter((function(e){return!!e.content})).concat(u,x),encodeSpecialCharacters:!1},c&&n.createElement("script",{type:"application/ld+json"},JSON.stringify(i({},c),null,2)))};exports.SEOContext=r,exports.Seo=a,exports.default=a;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=require("react"),n=(e=t)&&"object"==typeof e&&"default"in e?e.default:e,o=require("react-helmet");function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var r=t.createContext({}),a=function(e){var a,l,c,p=e.post,s=e.meta,u=void 0===s?[]:s,d=e.title,m=e.postSchema,v=(void 0===p?{}:p).seo;m?c=m:v&&(null==v||null==(a=v.schema)?void 0:a.raw)&&(c=JSON.parse(v.schema.raw));var f=t.useContext(r).global,y=null==f||null==(l=f.schema)?void 0:l.inLanguage,g=null==f?void 0:f.schema,w=null==f?void 0:f.webmaster,h=null==f?void 0:f.social,x=[];(null==w?void 0:w.baiduVerify)&&x.push({name:"baidu-site-verification",content:w.baiduVerify}),(null==w?void 0:w.googleVerify)&&x.push({name:"google-site-verification",content:w.googleVerify}),(null==w?void 0:w.msVerify)&&x.push({name:"msvalidate.01",content:w.msVerify}),(null==w?void 0:w.yandexVerify)&&x.push({name:"yandex-verification",content:w.yandexVerify}),(null==h?void 0:h.pinterest)&&h.pinterest.metaTag&&x.push({name:"p:domain_verify",content:h.pinterest.metaTag});var b=d||v.title,V=(null==v?void 0:v.metaDesc)?v.metaDesc:"";return n.createElement(o.Helmet,{htmlAttributes:{lang:y},title:b,meta:[{name:"robots",content:"max-snippet:-1, max-image-preview:large, max-video-preview:-1, "+("noindex"===v.metaRobotsNoindex?"noindex":"index")+", "+("nofollow"===v.metaRobotsNofollow?"nofollow":"follow")},{name:"description",content:V},{property:"og:site_name",content:null==g?void 0:g.companyName},{property:"og:title",content:(null==v?void 0:v.opengraphTitle)||b},{property:"og:description",content:null==v?void 0:v.opengraphDescription},{property:"og:locale",content:"en_GB"},{property:"og:type",content:"website"},{name:"twitter:card",content:null==h?void 0:h.twitter.cardType},{name:"twitter:creator",content:null==h?void 0:h.twitter.username},{name:"twitter:title",content:(null==v?void 0:v.twitterTitle)||b},{name:"twitter:description",content:(null==v?void 0:v.twitterDescription)||V}].filter((function(e){return!!e.content})).concat(u,x),encodeSpecialCharacters:!1},c&&n.createElement("script",{type:"application/ld+json"},JSON.stringify(i({},c),null,2)))};exports.SEOContext=r,exports.Seo=a,exports.default=a;
//# sourceMappingURL=gatsby-plugin-wpgraphql-seo.cjs.production.min.js.map

@@ -89,4 +89,4 @@ import React, { createContext, useContext } from 'react';

var metaDescription = (seo == null ? void 0 : seo.metaDesc) ? seo.metaDesc : '';
var robotsIndex = seo.metaRobotsNoindex ? 'noindex' : 'index';
var robotsFollow = seo.metaRobotsNofollow ? 'nofollow' : 'follow';
var robotsIndex = seo.metaRobotsNoindex === 'noindex' ? 'noindex' : 'index';
var robotsFollow = seo.metaRobotsNofollow === 'nofollow' ? 'nofollow' : 'follow';
return React.createElement(Helmet, {

@@ -93,0 +93,0 @@ htmlAttributes: {

{
"version": "1.1.0",
"version": "1.1.1",
"license": "MIT",

@@ -4,0 +4,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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