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

hybrid-placeholder-jss-example

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hybrid-placeholder-jss-example - npm Package Compare versions

Comparing version 19.0.2 to 20.0.1

2

dist/index.js

@@ -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",

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