Socket
Socket
Sign inDemoInstall

@xo-union/react-pagelet

Package Overview
Dependencies
Maintainers
1
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xo-union/react-pagelet - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3-alpha.3

11

lib/adapter.js

@@ -197,11 +197,2 @@ module.exports =

__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_createClass___default()(ReactPagelet, [{
key: "initialize",
value: function initialize() {
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
_ref$props = _ref.props,
props = _ref$props === void 0 ? {} : _ref$props;
this.initialProps = props;
}
}, {
key: "mount",

@@ -217,3 +208,3 @@ value: function mount(container) {

Wrapped: this.component,
initialProps: this.initialProps
initialProps: container.props
}), container.mountNode);

@@ -220,0 +211,0 @@ container.pageletDidRender();

@@ -197,11 +197,2 @@ module.exports =

__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_createClass___default()(ReactPagelet, [{
key: "initialize",
value: function initialize() {
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
_ref$props = _ref.props,
props = _ref$props === void 0 ? {} : _ref$props;
this.initialProps = props;
}
}, {
key: "mount",

@@ -217,3 +208,3 @@ value: function mount(container) {

Wrapped: this.component,
initialProps: this.initialProps
initialProps: container.props
}), container.mountNode);

@@ -220,0 +211,0 @@ container.pageletDidRender();

6

package.json
{
"name": "@xo-union/react-pagelet",
"version": "1.0.2",
"version": "1.0.3-alpha.3+0e2dd3c4",
"main": "lib/index.js",

@@ -16,3 +16,3 @@ "files": [

"@babel/runtime": "^7.0.0",
"@xo-union/pagelet": "^1.0.1",
"@xo-union/pagelet": "1.0.2-alpha.24+0e2dd3c4",
"lodash": "^4.17.11",

@@ -23,3 +23,3 @@ "prop-types": "^15.5.10",

},
"gitHead": "493f23e0d9d77b8bff23a9d181e5659c72f4e9b4"
"gitHead": "0e2dd3c49ca5fc98436cc56950cd44f04c79801f"
}
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