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

@contentful/live-preview

Package Overview
Dependencies
Maintainers
4
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 4.1.3 to 4.1.4

dist/index-D9IzsERL.js

2

dist/index.js

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

import { C as t, I as o, L as E, b as a, e as n, V as i, a as I, f as r, o as d, c as p } from "./index-DVEO208b.js";
import { C as t, I as o, L as E, b as a, e as n, V as i, a as I, f as r, o as d, c as p } from "./index-D9IzsERL.js";
export {

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

@@ -37,21 +37,3 @@ import { useEffect, type PropsWithChildren, type ReactElement } from 'react';

};
type RequireEntryOrAssetId<T, U> = U extends {
entryId: string;
} | {
assetId: string;
} ? T & {
locale?: string;
space?: string;
environment?: string;
} : T & ({
entryId: string;
} | {
assetId: string;
}) & {
locale?: string;
space?: string;
environment?: string;
};
type ConstrainedSharedProps<U> = U extends SharedProps ? U : never;
export declare function useContentfulInspectorMode<U extends SharedProps>(sharedProps?: ConstrainedSharedProps<U>): (props: RequireEntryOrAssetId<Omit<InspectorModeProps, keyof SharedProps>, U>) => ReturnType<typeof ContentfulLivePreview.getProps> | null;
export declare function useContentfulInspectorMode(sharedProps?: SharedProps): (props: InspectorModeProps) => ReturnType<typeof ContentfulLivePreview.getProps> | null;
export {};
import xe, { createContext as yr, useRef as N, useMemo as ee, useEffect as br, useState as hr, useContext as ke, useCallback as gr } from "react";
import { i as Er, C as re, d as Rr } from "./index-DVEO208b.js";
import { i as Er, C as re, d as Rr } from "./index-D9IzsERL.js";
var Q = { exports: {} }, W = {};

@@ -4,0 +4,0 @@ /**

{
"name": "@contentful/live-preview",
"version": "4.1.3",
"version": "4.1.4",
"author": "Contentful GmbH",

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

},
"gitHead": "d80b6a9dbc3a43cf23b4c43fffa979e8dbef56b5"
"gitHead": "1a58fcb822b49aec061d3f93d7a7e6d78e4cacaa"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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