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

cf-style-container

Package Overview
Dependencies
Maintainers
17
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cf-style-container - npm Package Compare versions

Comparing version 5.0.2 to 5.0.3

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

<a name="5.0.3"></a>
## [5.0.3](http://stash.cfops.it:7999/www/cf-ux/compare/cf-style-container@5.0.2...cf-style-container@5.0.3) (2017-09-27)
**Note:** Version bump only for package cf-style-container
<a name="5.0.2"></a>

@@ -8,0 +16,0 @@ ## [5.0.2](http://stash.cfops.it:7999/www/cf-ux/compare/cf-style-container@5.0.1...cf-style-container@5.0.2) (2017-09-25)

14

es/index.js

@@ -9,4 +9,2 @@ var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }();

function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

@@ -154,3 +152,3 @@

value: function componentWillMount() {
this.props.renderer.renderStatic(staticStyles);
this.context.renderer.renderStatic(staticStyles);
}

@@ -160,5 +158,3 @@ }, {

value: function render() {
var props = _objectWithoutProperties(this.props, []);
return React.createElement(ComponentToWrap, props);
return React.createElement(ComponentToWrap, this.props);
}

@@ -170,7 +166,5 @@ }]);

CompWithStaticStyles.propTypes = {
renderer: PropTypes.object.isRequired
};
CompWithStaticStyles.contextTypes = { renderer: PropTypes.object };
return withRenderer(CompWithStaticStyles);
return CompWithStaticStyles;
};

@@ -177,0 +171,0 @@

@@ -38,4 +38,2 @@ 'use strict';

function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

@@ -175,3 +173,3 @@

value: function componentWillMount() {
this.props.renderer.renderStatic(staticStyles);
this.context.renderer.renderStatic(staticStyles);
}

@@ -181,5 +179,3 @@ }, {

value: function render() {
var props = _objectWithoutProperties(this.props, []);
return _react2.default.createElement(ComponentToWrap, props);
return _react2.default.createElement(ComponentToWrap, this.props);
}

@@ -191,7 +187,5 @@ }]);

CompWithStaticStyles.propTypes = {
renderer: _propTypes2.default.object.isRequired
};
CompWithStaticStyles.contextTypes = { renderer: _propTypes2.default.object };
return withRenderer(CompWithStaticStyles);
return CompWithStaticStyles;
};

@@ -198,0 +192,0 @@

{
"name": "cf-style-container",
"description": "Cloudflare Style Container",
"version": "5.0.2",
"version": "5.0.3",
"main": "lib/index.js",

@@ -6,0 +6,0 @@ "module": "es/index.js",

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