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

@last-rev/adapter-contentful

Package Overview
Dependencies
Maintainers
4
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@last-rev/adapter-contentful - npm Package Compare versions

Comparing version 3.0.2-alpha.5 to 3.0.2-alpha.6

9

dist/linkParser/linkParser.js

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

if (!manualUrl) {
throw Error("DestinationType is " + manualEntryTypeText + ", but no URL has been entered");
console.warn("Bad content for " + contentTypeId + ": DestinationType is " + manualEntryTypeText + ", but no URL has been entered");
break;
}

@@ -38,3 +39,4 @@ href = manualUrl;

if (!contentReference) {
throw Error("DestinationType is " + contentRefTypeText + ", but no content reference is selected");
console.warn("Bad content for " + contentTypeId + ": DestinationType is " + contentRefTypeText + ", but no content reference is selected");
break;
}

@@ -53,3 +55,4 @@ var parsed = lodash_1.has(parsedEntries, contentReference.sys.id)

if (!assetReference) {
throw Error("DestinationType is " + assetRefTypeText + ", but no asset is selected");
console.warn("Bad content for " + contentTypeId + ": DestinationType is " + assetRefTypeText + ", but no asset is selected");
break;
}

@@ -56,0 +59,0 @@ (href = assetReference.fields.file.url);

{
"name": "@last-rev/adapter-contentful",
"version": "3.0.2-alpha.5",
"version": "3.0.2-alpha.6",
"description": "Transforms data from contentful's structure to one which is expected by LastRev components",

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

},
"gitHead": "7c65d399012ac09c52ba65bdf46a76b938840080"
"gitHead": "d2bb20501eae2ef9325d41f41cb95fc58e79ef44"
}

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