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

@matt-block/react-recaptcha-v2

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@matt-block/react-recaptcha-v2 - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

lib/index.esm.js.flow

29

package.json
{
"name": "@matt-block/react-recaptcha-v2",
"version": "1.0.3",
"version": "1.0.4",
"description": "Google reCAPTCHA v2 React component that does not pollute the DOM",

@@ -27,8 +27,35 @@ "main": "lib/index.esm.js",

"private": false,
"scripts": {
"build": "rollup -c rollup.config.ts",
"build:definitions": "tsc --emitDeclarationOnly"
},
"dependencies": {
"nanoid": "^2.0.0"
},
"devDependencies": {
"@types/nanoid": "^1.2.0",
"@types/react": "^16.7.3",
"husky": "^1.1.3",
"lint-staged": "^8.0.4",
"prettier": "^1.15.2",
"rollup": "^0.67.1",
"rollup-plugin-copy": "^0.2.3",
"rollup-plugin-typescript": "^1.0.0",
"tslib": "^1.9.3",
"typescript": "^3.1.6"
},
"peerDependencies": {
"react": "^16.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,flow,ts,tsx,json,css,md}": [
"prettier --write",
"git add"
]
}
}

5

README.md

@@ -14,3 +14,3 @@ # React reCAPTCHA v2

will not conflict with each other.
- [x] Typescript definitions (Flow ones are WIP)
- [x] Typescript and Flow definitions
- [x] Actively developed

@@ -88,3 +88,3 @@

| ----------- | --------------------- | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `siteKey` | `string` | `undefined` | **Required**. Your site key. |
| `siteKey` | `string` | `undefined` | **Required**. Your site key or the value `"test"` which will inject the [test key][recaptcha_testkey]. |
| `theme` | `light` \| `dark` | `light` | The color theme of the widget. |

@@ -114,4 +114,5 @@ | `size` | `normal` \| `compact` | `normal` | The size of the widget. |

[recaptcha_site]: https://developers.google.com/recaptcha/
[recaptcha_testkey]: https://developers.google.com/recaptcha/docs/faq#automated_test
[cleanup_gif]: https://raw.githubusercontent.com/matt-block/react-recaptcha-v2/master/assets/cleanup.gif
[typescript]: http://www.typescriptlang.org/
[rollup]: https://rollupjs.org
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