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

@contentful/live-preview

Package Overview
Dependencies
Maintainers
164
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.1 to 2.4.2

dist/index-87e76bae.cjs

2

dist/index.js

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

import { C as r } from "./index-a0b3fed6.js";
import { C as r } from "./index-b94975a2.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-a0b3fed6.js";
import { C as Q, d as mr } from "./index-b94975a2.js";
var Z = { exports: {} }, F = {};

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

{
"name": "@contentful/live-preview",
"version": "2.4.1",
"version": "2.4.2",
"author": "Contentful GmbH",

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

"vite-plugin-dts": "^2.0.1",
"vitest": "^0.31.4"
"vitest": "^0.32.0"
},

@@ -87,0 +87,0 @@ "peerDependencies": {

@@ -380,2 +380,4 @@ # @contentful/live-preview

> Due some security settings the draft mode is not always shared with the iframe.<br>You can find a workaround in our [examples](./examples/nextjs-graphql/pages/api/draft.ts#L25)
5. In Contentful, configure the draft URL for your Next.js application in the Content preview settings. Once you open an entry with a configured preview URL, you can use the live preview and all its features.

@@ -382,0 +384,0 @@

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