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

fela-bindings

Package Overview
Dependencies
Maintainers
2
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 2.3.0 to 2.3.1

6

es/hoistStatics.js

@@ -16,3 +16,7 @@ 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 mergableStatics = ['contextTypes', 'defaultProps'];
var blockedStatics = { childContextTypes: true, propTypes: true };
var blockedStatics = {
childContextTypes: true,
propTypes: true,
getDerivedStateFromProps: true
};

@@ -19,0 +23,0 @@ export default function hoistStatics(target, source) {

2

es/ProviderFactory.js

@@ -13,3 +13,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; }; }();

function hasDOM(renderer) {
return !renderer.isNativeRenderer && typeof window !== 'undefined' && window.document && window.document.createElement;
return renderer && !renderer.isNativeRenderer && typeof window !== 'undefined' && window.document && window.document.createElement;
}

@@ -16,0 +16,0 @@

@@ -28,3 +28,7 @@ 'use strict';

var mergableStatics = ['contextTypes', 'defaultProps'];
var blockedStatics = { childContextTypes: true, propTypes: true };
var blockedStatics = {
childContextTypes: true,
propTypes: true,
getDerivedStateFromProps: true
};

@@ -31,0 +35,0 @@ function hoistStatics(target, source) {

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

function hasDOM(renderer) {
return !renderer.isNativeRenderer && typeof window !== 'undefined' && window.document && window.document.createElement;
return renderer && !renderer.isNativeRenderer && typeof window !== 'undefined' && window.document && window.document.createElement;
}

@@ -29,0 +29,0 @@

{
"name": "fela-bindings",
"version": "2.3.0",
"version": "2.3.1",
"description": "Abstract binding factories for Fela",

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

"fast-loops": "^1.0.0",
"fela-dom": "^7.0.8",
"fela-tools": "^5.1.6",
"fela-dom": "^7.0.9",
"fela-tools": "^5.1.7",
"react-addons-shallow-compare": "^15.6.2",

@@ -33,5 +33,5 @@ "shallow-equal": "^1.0.0"

"devDependencies": {
"fela": "^6.1.8",
"fela-monolithic": "^5.0.22"
"fela": "^6.1.9",
"fela-monolithic": "^5.0.23"
}
}
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