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

substyle

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

substyle - npm Package Compare versions

Comparing version 7.1.2 to 7.1.3

LICENSE

4

es6/defaultStyle.js

@@ -112,7 +112,7 @@ import _extends from "@babel/runtime/helpers/extends";

return React.createElement(EnhancedWrappedComponent, _extends({
return React.createElement(EnhancedWrappedComponent, _extends({}, rest, {
style: substyle(modifiers, _this2.defaultStyle || defaultStyle),
ref: isStatelessFunction(EnhancedWrappedComponent) ? undefined : // $FlowFixMe
_this2.setWrappedInstance
}, rest));
}));
});

@@ -119,0 +119,0 @@ }

@@ -130,7 +130,7 @@ "use strict";

return _react.default.createElement(EnhancedWrappedComponent, (0, _extends2.default)({
return _react.default.createElement(EnhancedWrappedComponent, (0, _extends2.default)({}, rest, {
style: substyle(modifiers, _this2.defaultStyle || defaultStyle),
ref: isStatelessFunction(EnhancedWrappedComponent) ? undefined : // $FlowFixMe
_this2.setWrappedInstance
}, rest));
}));
});

@@ -137,0 +137,0 @@ }

{
"name": "substyle",
"version": "7.1.2",
"version": "7.1.3",
"description": "Universal styling for reusable React components",

@@ -63,3 +63,4 @@ "main": "lib/index.js",

"setupTestFrameworkScriptFile": "<rootDir>test/setup.js"
}
},
"gitHead": "8bc6710bf782fd0eff12413f5560a62ed7c9cb0a"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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