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

@xo-union/pagelet

Package Overview
Dependencies
Maintainers
1
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xo-union/pagelet - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

11

lib/core/index.js

@@ -178,4 +178,13 @@ module.exports =

// Simple prepend ponyfill
var prepend = function prepend(parent, child) {
if (typeof parent.prepend === 'function') {
parent.prepend(child);
return;
}
parent.insertBefore(child, parent.firstChild);
};
var isRendered = function isRendered(pageletContainer) {

@@ -248,3 +257,3 @@ return pageletContainer.mountNode.getAttribute('data-pagelet-render-state') === 'ready';

mountNode.setAttribute('data-pagelet-role', 'mount-root');
rootNode.prepend(mountNode);
prepend(rootNode, mountNode);
}

@@ -251,0 +260,0 @@

4

package.json
{
"name": "@xo-union/pagelet",
"version": "2.0.1",
"version": "2.0.2",
"main": "lib/core/index.js",

@@ -28,3 +28,3 @@ "scripts": {

},
"gitHead": "5882b019f78ee4a1c4cbd8537b971e9e90669199"
"gitHead": "3d6698f1e8928b4ee2af779ac8b8499f4717d687"
}
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