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

@contentful/visual-sdk

Package Overview
Dependencies
Maintainers
175
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contentful/visual-sdk - npm Package Compare versions

Comparing version 1.0.0-alpha.38 to 1.0.0-alpha.39

3

dist/cjs/store/EntityStore.js

@@ -36,6 +36,5 @@ "use strict";

getValue(entityLink, path) {
entityLink.sys.type;
const entity = this.getEntity(entityLink.sys.linkType, entityLink.sys.id);
if (!entity) {
console.warn(`Unresolved entity reference: ${entityLink}`);
console.warn(`Unresolved entity reference: ${entityLink.sys.linkType} with ID ${entityLink.sys.id}`);
return;

@@ -42,0 +41,0 @@ }

@@ -26,6 +26,5 @@ function _define_property(obj, key, value) {

getValue(entityLink, path) {
entityLink.sys.type;
const entity = this.getEntity(entityLink.sys.linkType, entityLink.sys.id);
if (!entity) {
console.warn(`Unresolved entity reference: ${entityLink}`);
console.warn(`Unresolved entity reference: ${entityLink.sys.linkType} with ID ${entityLink.sys.id}`);
return;

@@ -32,0 +31,0 @@ }

@@ -38,7 +38,6 @@ import { get } from './utils';

getValue(entityLink, path) {
entityLink.sys.type;
const entity = this.getEntity(entityLink.sys.linkType, entityLink.sys.id);
if (!entity) {
// TODO: move to `debug` utils once it is extracted
console.warn(`Unresolved entity reference: ${entityLink}`);
console.warn(`Unresolved entity reference: ${entityLink.sys.linkType} with ID ${entityLink.sys.id}`);
return;

@@ -45,0 +44,0 @@ }

{
"name": "@contentful/visual-sdk",
"author": "Contentful GmbH",
"version": "1.0.0-alpha.38",
"version": "1.0.0-alpha.39",
"description": "Base SDK for building a visual SDK with contentful",

@@ -59,3 +59,3 @@ "license": "MIT",

},
"gitHead": "c2ad0d60e2ab2ec6f0565d58a569d53525f5258b"
"gitHead": "1d5c010c20ea12ba3053665a016b1a9d67b31ce7"
}
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