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

react-fela

Package Overview
Dependencies
Maintainers
2
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-fela - npm Package Compare versions

Comparing version 10.2.0 to 10.2.1

10

es/useFela.js

@@ -1,2 +0,1 @@

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

@@ -15,6 +14,9 @@ // $FlowFixMe

var propsWithTheme = _extends({}, props, {
theme: theme
});
if (!renderer) {
throw new Error('The "useFela" hook can only be used inside a "RendererProvider"');
}
var propsWithTheme = { theme: theme };
if (props) Object.assign(propsWithTheme, props);
function css() {

@@ -21,0 +23,0 @@ return renderer.renderRule(combineRules.apply(undefined, arguments), propsWithTheme);

17

lib/useFela.js

@@ -6,7 +6,2 @@ 'use strict';

});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
// $FlowFixMe
exports.default = useFela;

@@ -26,6 +21,9 @@

var propsWithTheme = _extends({}, props, {
theme: theme
});
if (!renderer) {
throw new Error('The "useFela" hook can only be used inside a "RendererProvider"');
}
var propsWithTheme = { theme: theme };
if (props) Object.assign(propsWithTheme, props);
function css() {

@@ -40,2 +38,3 @@ return renderer.renderRule(_fela.combineRules.apply(undefined, arguments), propsWithTheme);

};
}
}
// $FlowFixMe
{
"name": "react-fela",
"version": "10.2.0",
"version": "10.2.1",
"description": "React bindings for Fela",

@@ -31,7 +31,7 @@ "typings": "index.d.ts",

"dependencies": {
"fela-bindings": "^10.2.0",
"fela-dom": "^10.2.0",
"fela-bindings": "^10.2.1",
"fela-dom": "^10.2.1",
"prop-types": "^15.5.8"
},
"gitHead": "2271df3339a3c3a22e8fd4c457f5cc5a1729a1a8"
"gitHead": "d69af0d3689e88fab5e10046eeffef28328c5886"
}
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