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

electrum

Package Overview
Dependencies
Maintainers
3
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electrum - npm Package Compare versions

Comparing version 2.2.3 to 2.2.4

7

lib/utils/mark-component-as-pure.js

@@ -67,3 +67,5 @@ 'use strict';

var styles = stylesResolver(this.theme);
var list = styles.get(this.props);
var props = this.props;
var list = styles.get(props);
list.with = function () {

@@ -74,4 +76,5 @@ for (var _len = arguments.length, more = Array(_len), _key = 0; _key < _len; _key++) {

_electrumTheme.Styles.with(this.props, list, more);
_electrumTheme.Styles.with(props, list, more);
};
return list;

@@ -78,0 +81,0 @@ }

{
"name": "electrum",
"version": "2.2.3",
"version": "2.2.4",
"description": "Electrum simplifies framework-agnostic declaration of React components.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -28,6 +28,9 @@ 'use strict';

const styles = stylesResolver (this.theme);
const list = styles.get (this.props);
const props = this.props;
const list = styles.get (props);
list.with = function (...more) {
Styles.with (this.props, list, more);
Styles.with (props, list, more);
};
return list;

@@ -34,0 +37,0 @@ }

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