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

@contentful/live-preview

Package Overview
Dependencies
Maintainers
166
Versions
218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contentful/live-preview - npm Package Compare versions

Comparing version 2.4.4 to 2.4.5

dist/index-37a61d1c.cjs

2

dist/index.js

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

import { C as r } from "./index-fcc74d3b.js";
import { C as r } from "./index-4cc6aaf6.js";
export {

@@ -3,0 +3,0 @@ r as ContentfulLivePreview

import * as V from "react";
import ke, { createContext as yr, useMemo as De, useState as hr, useRef as Pe, useContext as Ae, useCallback as gr } from "react";
import { C as Q, d as mr } from "./index-fcc74d3b.js";
import { C as Q, d as mr } from "./index-4cc6aaf6.js";
var Z = { exports: {} }, F = {};

@@ -5,0 +5,0 @@ /**

@@ -1,10 +0,4 @@

import type { AssetProps, EntryProps, SysLink } from 'contentful-management';
import type { AssetProps, EntryProps } from 'contentful-management';
import { ContentType, EntityReferenceMap } from '../types';
type Reference = AssetProps | EntryProps;
/**
* Update the reference from the entry editor with the information from the entityReferenceMap.
* If the information is not yet available, it send a message to the editor to retrieve it.
*/
export declare function updateRef(dataFromPreviewApp: Reference | undefined, updateFromEntryEditor: Reference | SysLink, locale: string, entityReferenceMap: EntityReferenceMap): Promise<Reference | undefined | null>;
/**
* Updates REST response data based on CMA entry object

@@ -19,2 +13,1 @@ *

export declare function updateEntity(contentType: ContentType, dataFromPreviewApp: EntryProps, updateFromEntryEditor: EntryProps | AssetProps, locale: string, entityReferenceMap: EntityReferenceMap): Promise<EntryProps>;
export {};
{
"name": "@contentful/live-preview",
"version": "2.4.4",
"version": "2.4.5",
"author": "Contentful GmbH",

@@ -61,2 +61,3 @@ "license": "MIT",

"@contentful/eslint-config-extension": "0.4.3",
"@contentful/rich-text-types": "^16.2.0",
"@semantic-release/changelog": "^6.0.2",

@@ -63,0 +64,0 @@ "@semantic-release/git": "^10.0.1",

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