react-google-font-loader
Advanced tools
Comparing version 1.0.1 to 1.0.2-alpha.1
@@ -13,2 +13,6 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -92,2 +96,9 @@ | ||
GoogleFontLoader.propTypes = { | ||
fonts: _propTypes2.default.arrayOf(_propTypes2.default.shape({ | ||
font: _propTypes2.default.string, | ||
weights: _propTypes2.default.arrayOf(_propTypes2.default.number) | ||
})) | ||
}; | ||
exports.default = GoogleFontLoader; |
{ | ||
"name": "react-google-font-loader", | ||
"version": "1.0.1", | ||
"version": "1.0.2-alpha.1", | ||
"description": "Simple React component to load Google Fonts.", | ||
@@ -14,2 +14,3 @@ "main": "build/index.js", | ||
"peerDependencies": { | ||
"prop-types": "^15.6.2", | ||
"react": "^16.6.3", | ||
@@ -16,0 +17,0 @@ "react-dom": "^16.6.3" |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
6724
76
3
2