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

react-google-font-loader

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-google-font-loader - npm Package Compare versions

Comparing version 1.0.2-alpha.1 to 1.0.2-alpha.2

16

build/index.js

@@ -93,4 +93,2 @@ 'use strict';

;
GoogleFontLoader.propTypes = {

@@ -100,5 +98,17 @@ fonts: _propTypes2.default.arrayOf(_propTypes2.default.shape({

weights: _propTypes2.default.arrayOf(_propTypes2.default.number)
}))
})).isRequired
};
;
/*
GoogleFontLoader.propTypes = {
fonts: PropTypes.arrayOf(
PropTypes.shape({
font: PropTypes.string,
weights: PropTypes.arrayOf(PropTypes.number),
}),
),
};
*/
exports.default = GoogleFontLoader;

6

package.json
{
"name": "react-google-font-loader",
"version": "1.0.2-alpha.1",
"version": "1.0.2-alpha.2",
"description": "Simple React component to load Google Fonts.",

@@ -13,4 +13,6 @@ "main": "build/index.js",

},
"dependencies": {
"prop-types": "^15.6.2"
},
"peerDependencies": {
"prop-types": "^15.6.2",
"react": "^16.6.3",

@@ -17,0 +19,0 @@ "react-dom": "^16.6.3"

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