cf-component-card
Advanced tools
Comparing version 1.4.4 to 1.5.0
@@ -27,3 +27,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; }; }(); | ||
'section', | ||
{ className: 'cf-card' }, | ||
{ id: this.props.id, className: 'cf-card' }, | ||
this.props.children | ||
@@ -38,2 +38,3 @@ ); | ||
Card.propTypes = { | ||
id: PropTypes.string, | ||
children: PropTypes.node | ||
@@ -40,0 +41,0 @@ }; |
@@ -39,3 +39,3 @@ 'use strict'; | ||
'section', | ||
{ className: 'cf-card' }, | ||
{ id: this.props.id, className: 'cf-card' }, | ||
this.props.children | ||
@@ -50,2 +50,3 @@ ); | ||
Card.propTypes = { | ||
id: _propTypes2.default.string, | ||
children: _propTypes2.default.node | ||
@@ -52,0 +53,0 @@ }; |
{ | ||
"name": "cf-component-card", | ||
"description": "Cloudflare Card Component", | ||
"version": "1.4.4", | ||
"version": "1.5.0", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "module": "es/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
1
60801
27
970
1