@prismicio/react
Advanced tools
Comparing version 2.5.1 to 2.5.2
@@ -0,0 +0,0 @@ import type * as prismicT from "@prismicio/types"; |
@@ -0,0 +0,0 @@ export { PrismicProvider } from "./PrismicProvider"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ type WordSeparators = "-" | "_" | " "; |
@@ -1,2 +0,2 @@ | ||
const version = "2.5.1"; | ||
const version = "2.5.2"; | ||
export { | ||
@@ -3,0 +3,0 @@ version |
@@ -0,0 +0,0 @@ import * as React from "react"; |
@@ -0,0 +0,0 @@ import * as React from "react"; |
@@ -37,3 +37,3 @@ import { jsx } from "react/jsx-runtime"; | ||
const isInternal = href && isInternalURL(href); | ||
const target = props.target || "field" in props && props.field && "target" in props.field && props.field.target || !isInternal && "_blank" || void 0; | ||
const target = props.target || "field" in props && props.field && "target" in props.field && props.field.target || void 0; | ||
const rel = props.rel || (target === "_blank" ? "noopener noreferrer" : void 0); | ||
@@ -40,0 +40,0 @@ const InternalComponent = props.internalComponent || context.internalLinkComponent || defaultInternalComponent; |
@@ -0,0 +0,0 @@ import type * as prismic from "@prismicio/client"; |
@@ -0,0 +0,0 @@ import * as React from "react"; |
@@ -0,0 +0,0 @@ import * as prismicT from "@prismicio/types"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ import * as React from "react"; |
@@ -0,0 +0,0 @@ import * as prismicR from "@prismicio/richtext"; |
@@ -0,0 +0,0 @@ import type * as prismic from "@prismicio/client"; |
@@ -0,0 +0,0 @@ import { PrismicContextValue } from "./PrismicProvider"; |
@@ -0,0 +0,0 @@ import type * as prismic from "@prismicio/client"; |
@@ -0,0 +0,0 @@ import type * as prismic from "@prismicio/client"; |
{ | ||
"name": "@prismicio/react", | ||
"version": "2.5.1", | ||
"version": "2.5.2", | ||
"description": "React components and hooks to fetch and present Prismic content", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
397215
4889