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

cf-component-button

Package Overview
Dependencies
Maintainers
23
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cf-component-button - npm Package Compare versions

Comparing version 7.3.6 to 7.3.7

11

CHANGELOG.md

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

<a name="7.3.7"></a>
## [7.3.7](http://stash.cfops.it:7999/www/cf-ux/compare/cf-component-button@7.3.6...cf-component-button@7.3.7) (2018-03-12)
### Bug Fixes
* **cf-component-button:** UI-440 add check against non-existant onClick ([4158669](http://stash.cfops.it:7999/www/cf-ux/commits/4158669))
<a name="7.3.6"></a>

@@ -8,0 +19,0 @@ ## [7.3.6](http://stash.cfops.it:7999/www/cf-ux/compare/cf-component-button@7.3.5...cf-component-button@7.3.6) (2018-03-12)

9

es/Button.js

@@ -205,4 +205,2 @@ 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; }; }();

value: function render() {
var _this2 = this;
var _props = this.props,

@@ -214,3 +212,4 @@ submit = _props.submit,

testId = _props.testId,
children = _props.children;
children = _props.children,
onClick = _props.onClick;

@@ -238,3 +237,5 @@

_this2.props.onClick(e);
if (onClick) {
onClick(e);
}
};

@@ -241,0 +242,0 @@

@@ -206,3 +206,4 @@ 'use strict';

testId,
children
children,
onClick
} = this.props;

@@ -225,3 +226,5 @@

this.props.onClick(e);
if (onClick) {
onClick(e);
}
};

@@ -228,0 +231,0 @@

{
"name": "cf-component-button",
"description": "Cloudflare Button Component",
"version": "7.3.6",
"version": "7.3.7",
"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