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
18
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 2.0.0 to 3.0.0

21

CHANGELOG.md

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

<a name="3.0.0"></a>
# [3.0.0](https://github.com/koddsson/cf-ui/compare/cf-style-container@2.0.0...cf-style-container@3.0.0) (2017-07-10)
### Bug Fixes
* **cf-style-container:** set themed component name (#303) ([4497094](https://github.com/koddsson/cf-ui/commit/4497094))
### BREAKING CHANGES
* **cf-style-container:** The display name of themed components now have a
`Themed` prefix to their display names. So if you had a themed component
that has the name `Button` it will now be `ThemedButton` instead of
`ThemedComponent`.
Related-to: #300
<a name="2.0.0"></a>

@@ -8,0 +29,0 @@ # [2.0.0](https://github.com/koddsson/cf-ui/compare/cf-style-container@1.3.3...cf-style-container@2.0.0) (2017-07-10)

1

es/index.js

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

ThemedComponent.displayName = 'Themed' + ComponentToWrap.displayName;
ThemedComponent.childContextTypes = { theme: PropTypes.object };

@@ -78,0 +79,0 @@ ThemedComponent.contextTypes = { theme: PropTypes.object };

@@ -97,2 +97,3 @@ 'use strict';

ThemedComponent.displayName = 'Themed' + ComponentToWrap.displayName;
ThemedComponent.childContextTypes = { theme: _propTypes2.default.object };

@@ -99,0 +100,0 @@ ThemedComponent.contextTypes = { theme: _propTypes2.default.object };

2

package.json
{
"name": "cf-style-container",
"description": "Cloudflare Style Container",
"version": "2.0.0",
"version": "3.0.0",
"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