hybrid-placeholder-jss-example
Advanced tools
Comparing version 19.0.2 to 20.0.1
@@ -1,1 +0,1 @@ | ||
(()=>{"use strict";var e={n:t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},d:(t,r)=>{for(var l in r)e.o(r,l)&&!e.o(t,l)&&Object.defineProperty(t,l,{enumerable:!0,get:r[l]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{default:()=>n});const r=require("react");var l=e.n(r);const n=({fields:e})=>{let{heading:t,date:r,text:n,isLoaded:o}=e;return null==o&&(o=!0),l().createElement("div",null,l().createElement("p",null,t),o&&l().createElement("p",null,r),!o&&l().createElement("p",null,"Loading..."),l().createElement("div",{dangerouslySetInnerHTML:{__html:n}}))};module.exports=t})(); | ||
(()=>{"use strict";var e={n:t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},d:(t,r)=>{for(var l in r)e.o(r,l)&&!e.o(t,l)&&Object.defineProperty(t,l,{enumerable:!0,get:r[l]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{default:()=>o});const r=require("react");var l=e.n(r);const n=require("@sitecore-jss/sitecore-jss-react"),o=({fields:e})=>{let{heading:t,date:r,text:o,isLoaded:a}=e;return null==a&&(a=!0),l().createElement("div",null,l().createElement("p",null,l().createElement(n.Text,{field:t})),a&&l().createElement("p",null,r),!a&&l().createElement("p",null,"Loading..."),l().createElement(n.RichText,{field:o}))};module.exports=t})(); |
{ | ||
"name": "hybrid-placeholder-jss-example", | ||
"version": "19.0.2", | ||
"version": "20.0.1", | ||
"description": "", | ||
@@ -28,4 +28,4 @@ "main": "dist/index.js", | ||
"peerDependencies": { | ||
"@sitecore-jss/sitecore-jss": "^19.0.2", | ||
"@sitecore-jss/sitecore-jss-react": "^19.0.2", | ||
"@sitecore-jss/sitecore-jss": "^20.0.1", | ||
"@sitecore-jss/sitecore-jss-react": "^20.0.1", | ||
"react": "^17.0.2" | ||
@@ -36,4 +36,4 @@ }, | ||
"@babel/preset-react": "^7.16.7", | ||
"@sitecore-jss/sitecore-jss": "^19.0.2", | ||
"@sitecore-jss/sitecore-jss-react": "^19.0.2", | ||
"@sitecore-jss/sitecore-jss": "^20.0.1", | ||
"@sitecore-jss/sitecore-jss-react": "^20.0.1", | ||
"babel-loader": "^8.2.3", | ||
@@ -40,0 +40,0 @@ "babel-preset-react": "^6.24.1", |
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
1980