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.2 to 2.4.3

dist/index-8836099c.js

6

dist/graphql/queryUtils.d.ts
import type { DocumentNode } from 'graphql';
import type { Entity, GraphQLParams } from '../types';
import type { GraphQLParams } from '../types';
/**

@@ -11,5 +11,5 @@ * Parses the GraphQL query information and extracts the information,

* This speeds up the update time especially for references and prevents wrong-positives when working with alias.
* If used without the GraphQL query information, it checks only if the data is defined on the given data structure.
* If used without the GraphQL query information, it will always return `true`.
*/
export declare function isRelevantField(name: string, typename: string, data: Entity, gqlParams?: GraphQLParams): boolean;
export declare function isRelevantField(name: string, typename: string, gqlParams?: GraphQLParams): boolean;
/**

@@ -16,0 +16,0 @@ * Updates the provided information by mirroring the original data to the alias

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

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

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

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

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -72,3 +72,3 @@ # @contentful/live-preview

ContentfulLivePreview.init({
locale: 'set-your-locale-here' // This is required and allows you to set the locale once and have it reused throughout the preview
locale: 'set-your-locale-here', // This is required and allows you to set the locale once and have it reused throughout the preview
enableInspectorMode: false, // This allows you to toggle the inspector mode which is on by default

@@ -75,0 +75,0 @@ enableLiveUpdates: false, // This allows you to toggle the live updates which is on by default

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