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

cf-component-link

Package Overview
Dependencies
Maintainers
15
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cf-component-link - npm Package Compare versions

Comparing version 4.2.0 to 4.2.1

3

es/Link.js

@@ -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"
}
}
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