Socket
Socket
Sign inDemoInstall

@kodo-is/prismic

Package Overview
Dependencies
6
Maintainers
7
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.9 to 0.6.10

3

dist/fetch.js

@@ -116,3 +116,4 @@ "use strict";

error_1 = _j.sent();
throw new Error("[PRISMIC CLIENT ERROR] Couldn't find a release ref. Make sure the accessToken has access to master+releases: https://" + config.repo + ".prismic.io/settings/apps/\n");
console.error("[PRISMIC CLIENT ERROR] Couldn't find a release ref. Make sure the accessToken has access to master+releases: https://" + config.repo + ".prismic.io/settings/apps/\n");
return [3 /*break*/, 8];
case 8: return [4 /*yield*/, fetch(isDev ? devUrl : url, {

@@ -119,0 +120,0 @@ headers: __assign({ 'Prismic-Ref': (_c = (_b = previewData === null || previewData === void 0 ? void 0 : previewData.ref) !== null && _b !== void 0 ? _b : releaseData === null || releaseData === void 0 ? void 0 : releaseData.ref) !== null && _c !== void 0 ? _c : prismicRef.ref, 'Content-Type': 'application/json' }, (config.accessToken && { Authorization: "Token " + config.accessToken })),

{
"name": "@kodo-is/prismic",
"description": "Prismic helper for Next.js",
"version": "0.6.9",
"version": "0.6.10",
"main": "index.js",

@@ -6,0 +6,0 @@ "author": "Finnur Sigurðsson <finnur@kodo.is>",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc