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

fela-bindings

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fela-bindings - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

6

es/createComponentFactory.js

@@ -62,3 +62,5 @@ 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; };

var ruleProps = _extends({}, otherProps, {
theme: theme
theme: theme,
as: as,
id: id

@@ -72,5 +74,3 @@ // if the component renders into another Fela component

innerRef: innerRef,
id: id,
style: style,
as: as,
className: className

@@ -77,0 +77,0 @@ }, ruleProps), children);

@@ -10,3 +10,3 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

import { objectEach } from 'fela-utils';
import { render, rehydrateCache } from 'fela-dom';
import { render, rehydrate } from 'fela-dom';

@@ -27,3 +27,3 @@ function hasDOM(renderer) {

if (props.rehydrate && hasDOM(props.renderer)) {
rehydrateCache(props.renderer);
rehydrate(props.renderer);
}

@@ -30,0 +30,0 @@ return _this;

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

var ruleProps = _extends({}, otherProps, {
theme: theme
theme: theme,
as: as,
id: id

@@ -81,5 +83,3 @@ // if the component renders into another Fela component

innerRef: innerRef,
id: id,
style: style,
as: as,
className: className

@@ -86,0 +86,0 @@ }, ruleProps), children);

@@ -35,3 +35,3 @@ 'use strict';

if (props.rehydrate && hasDOM(props.renderer)) {
(0, _felaDom.rehydrateCache)(props.renderer);
(0, _felaDom.rehydrate)(props.renderer);
}

@@ -38,0 +38,0 @@ return _this;

{
"name": "fela-bindings",
"version": "1.0.2",
"version": "1.0.3",
"description": "Abstract binding factories for Fela",

@@ -25,11 +25,11 @@ "main": "lib/index.js",

"dependencies": {
"fela-dom": "^6.0.2",
"fela-utils": "^7.0.2",
"fela-dom": "^6.0.3",
"fela-utils": "^7.0.3",
"shallow-equal": "1.0.0"
},
"devDependencies": {
"fela": "^6.0.2",
"fela-monolithic": "^5.0.10",
"fela-tools": "^5.0.10"
"fela": "^6.0.3",
"fela-monolithic": "^5.0.11",
"fela-tools": "^5.0.11"
}
}
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