New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@gatsby-cloud-pkg/gatsby-cms-extension-base

Package Overview
Dependencies
Maintainers
7
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gatsby-cloud-pkg/gatsby-cms-extension-base - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

4

dist/index.js

@@ -17,3 +17,3 @@ "use strict";

return __awaiter(this, void 0, void 0, function* () {
const entryUrl = contentSlug.startsWith(`/`)
const entryUrl = contentSlug && contentSlug.startsWith(`/`)
? contentSlug.slice(1)

@@ -93,3 +93,3 @@ : contentSlug;

return (React.createElement("div", null,
previewInstanceUrl ? (React.createElement(Button, { className: "preview-button", type: "button", onClick: () => __awaiter(this, void 0, void 0, function* () { return openPreview({ contentSlug, previewInstanceUrl, authToken }); }) }, "Open Preview")) : (React.createElement(Text, null, "Missing required Gatsby Cloud instance url. Please check your configuration.")),
previewInstanceUrl ? (React.createElement(Button, { className: "preview-button", type: "button", onClick: () => __awaiter(this, void 0, void 0, function* () { return contentSlug ? openPreview({ contentSlug, previewInstanceUrl, authToken }) : window.open(previewInstanceUrl); }) }, "Open Preview")) : (React.createElement(Text, null, "Missing required Gatsby Cloud instance url. Please check your configuration.")),
React.createElement(PoweredBy, { className: "powered-by" },

@@ -96,0 +96,0 @@ React.createElement(Text, null, "Powered by:"),

{
"name": "@gatsby-cloud-pkg/gatsby-cms-extension-base",
"version": "0.0.15",
"version": "0.0.16",
"description": "Common utilities for integrating Gatsby Preview with CMS providers",

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

"react": "16.8.6"
},
"gitHead": "55a208d7cc20415da61c54d9485f343886fd9e85"
}
}

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