cf-component-link
Advanced tools
Comparing version 4.2.0 to 4.2.1
@@ -11,3 +11,4 @@ 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; }; }(); | ||
import React, { PropTypes } from 'react'; | ||
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import { routeTo } from 'cf-util-route-handler'; | ||
@@ -14,0 +15,0 @@ |
@@ -13,2 +13,6 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _cfUtilRouteHandler = require('cf-util-route-handler'); | ||
@@ -113,8 +117,8 @@ | ||
Link.propTypes = { | ||
to: _react.PropTypes.string, | ||
onClick: _react.PropTypes.func, | ||
tagName: _react.PropTypes.string, | ||
disabled: _react.PropTypes.bool, | ||
className: _react.PropTypes.string, | ||
children: _react.PropTypes.node | ||
to: _propTypes2.default.string, | ||
onClick: _propTypes2.default.func, | ||
tagName: _propTypes2.default.string, | ||
disabled: _propTypes2.default.bool, | ||
className: _propTypes2.default.string, | ||
children: _propTypes2.default.node | ||
}; | ||
@@ -121,0 +125,0 @@ |
{ | ||
"name": "cf-component-link", | ||
"description": "Cloudflare Link Component", | ||
"version": "4.2.0", | ||
"version": "4.2.1", | ||
"main": "lib/index.js", | ||
@@ -14,7 +14,8 @@ "module": "es/index.js", | ||
"peerDependencies": { | ||
"react": "^0.14.0 || ^15.0.0-0 || ^16.0.0-0" | ||
"react": "^0.14.9 || ^15.0.0-0 || ^16.0.0-0" | ||
}, | ||
"dependencies": { | ||
"cf-util-route-handler": "^4.2.0" | ||
"cf-util-route-handler": "^4.2.0", | ||
"prop-types": "^15.5.8" | ||
} | ||
} |
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
23620
426
0
3
+ Addedprop-types@^15.5.8