New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

xcomponent

Package Overview
Dependencies
Maintainers
4
Versions
306
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xcomponent - npm Package Compare versions

Comparing version 5.0.2 to 5.0.3-patch1

12

package.json
{
"name": "xcomponent",
"version": "5.0.2",
"version": "5.0.3-patch1",
"description": "Cross domain components.",

@@ -82,9 +82,9 @@ "main": "index.js",

"dependencies": {
"beaver-logger": "^3",
"cross-domain-safe-weakmap": "^1.0.8",
"cross-domain-utils": "^1.0.5",
"beaver-logger": "3.0.10",
"cross-domain-safe-weakmap": "1.0.17",
"cross-domain-utils": "1.0.25",
"hi-base32": "^0.1.1",
"post-robot": "^7.0.1",
"zalgo-promise": "^1.0.4"
"post-robot": "7.0.15",
"zalgo-promise": "1.0.19"
}
}

@@ -130,2 +130,6 @@

for (let driverName of Object.keys(drivers)) {
if (driverName.indexOf('_') === 0) {
continue;
}
let driver = drivers[driverName];

@@ -132,0 +136,0 @@ let glob = driver.global();

@@ -24,10 +24,9 @@

component.log(`instantiate_script_component`);
component.log(`instantiate_script_component_error`);
let props = eval(`(${element.innerText})`); // eslint-disable-line no-eval
let container = document.createElement('div');
element.parentNode.replaceChild(container, element);
component.render(props, container);
throw new Error(`
'x-component' script type is no longer supported.
Please migrate to another integration pattern.
`);
}

@@ -34,0 +33,0 @@

@@ -283,2 +283,4 @@

newobj[`${prefix}${key}`] = obj[key].join(',');
} else if (obj[key] && typeof obj[key] === 'object') {
newobj = dotify(obj[key], `${prefix}${key}`, newobj);
} else {

@@ -285,0 +287,0 @@ newobj[`${prefix}${key}`] = obj[key].toString();

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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