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

@bloomreach/react-sdk

Package Overview
Dependencies
Maintainers
35
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bloomreach/react-sdk - npm Package Compare versions

Comparing version 15.1.1 to 15.1.2

17

dist/index.es6.js

@@ -45,6 +45,7 @@ import React, { useRef, useEffect } from "react";

const mapping = this.getMapping();
if (!mapping) {
return this.props.children;
}
return React.createElement(mapping, this.props);
const meta = this.props.component.getMeta();
const children = mapping ? React.createElement(mapping, this.props) : this.props.children;
return React.createElement(BrMeta, {
meta
}, children);
}

@@ -181,3 +182,5 @@ }

if (React.Children.count(children)) {
return children;
return React.createElement(BrMeta, {
meta: component.getMeta()
}, children);
}

@@ -209,5 +212,3 @@ const childrenList = component.getChildren().map(((child, index) => React.createElement(BrNode, {

value: component
}, React.createElement(BrMeta, {
meta: component.getMeta()
}, this.renderNode()));
}, this.renderNode());
}

@@ -214,0 +215,0 @@ }

@@ -48,6 +48,7 @@ (function(global, factory) {

const mapping = this.getMapping();
if (!mapping) {
return this.props.children;
}
return React__default["default"].createElement(mapping, this.props);
const meta = this.props.component.getMeta();
const children = mapping ? React__default["default"].createElement(mapping, this.props) : this.props.children;
return React__default["default"].createElement(BrMeta, {
meta
}, children);
}

@@ -170,3 +171,5 @@ }

if (React__default["default"].Children.count(children)) {
return children;
return React__default["default"].createElement(BrMeta, {
meta: component.getMeta()
}, children);
}

@@ -198,5 +201,3 @@ const childrenList = component.getChildren().map(((child, index) => React__default["default"].createElement(BrNode, {

value: component
}, React__default["default"].createElement(BrMeta, {
meta: component.getMeta()
}, this.renderNode()));
}, this.renderNode());
}

@@ -203,0 +204,0 @@ }

{
"name": "@bloomreach/react-sdk",
"version": "15.1.1",
"version": "15.1.2",
"description": "Bloomreach SPA SDK for React",

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

"dependencies": {
"@bloomreach/spa-sdk": "15.1.1"
"@bloomreach/spa-sdk": "15.1.2"
},

@@ -45,0 +45,0 @@ "peerDependencies": {

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