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

@prismicio/react

Package Overview
Dependencies
Maintainers
20
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prismicio/react - npm Package Compare versions

Comparing version 2.5.0-alpha.1 to 2.5.0

0

dist/index.d.ts

@@ -0,0 +0,0 @@ import * as _prismicio_client from '@prismicio/client';

4

dist/index.js

@@ -61,3 +61,3 @@ import * as React from 'react';

var version = "2.5.0-alpha.1";
var version = "2.5.0";

@@ -84,3 +84,3 @@ const devMsg = (slug) => {

throw new Error(`[PrismicLink] The provided field is missing required properties to properly render a link. The link will not render. For more details, see ${devMsg("missing-link-properties")}`);
} else if (!(prismicH.isFilled.link(props.field) && ("url" in props.field || "id" in props.field))) {
} else if (Object.keys(props.field).length > 1 && !("url" in props.field || "uid" in props.field || "id" in props.field)) {
console.warn(`[PrismicLink] The provided field is missing required properties to properly render a link. The link may not render correctly. For more details, see ${devMsg("missing-link-properties")}`, props.field);

@@ -87,0 +87,0 @@ }

{
"name": "@prismicio/react",
"version": "2.5.0-alpha.1",
"version": "2.5.0",
"description": "React components and hooks to fetch and present Prismic content",

@@ -55,3 +55,3 @@ "keywords": [

"@prismicio/mock": "^0.0.10",
"@prismicio/types": "^0.2.1-alpha",
"@prismicio/types": "^0.2.3",
"@size-limit/preset-small-lib": "^7.0.8",

@@ -58,0 +58,0 @@ "@testing-library/react": "^12.1.4",

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