@matt-block/react-recaptcha-v2
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -5,14 +5,14 @@ import React, { Component } from 'react'; | ||
/*! ***************************************************************************** | ||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
this file except in compliance with the License. You may obtain a copy of the | ||
License at http://www.apache.org/licenses/LICENSE-2.0 | ||
Copyright (c) Microsoft Corporation. | ||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
MERCHANTABLITY OR NON-INFRINGEMENT. | ||
Permission to use, copy, modify, and/or distribute this software for any | ||
purpose with or without fee is hereby granted. | ||
See the Apache Version 2.0 License for specific language governing permissions | ||
and limitations under the License. | ||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH | ||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY | ||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, | ||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM | ||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR | ||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR | ||
PERFORMANCE OF THIS SOFTWARE. | ||
***************************************************************************** */ | ||
@@ -19,0 +19,0 @@ /* global Reflect, Promise */ |
{ | ||
"name": "@matt-block/react-recaptcha-v2", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Google reCAPTCHA v2 React component that does not pollute the DOM", | ||
@@ -9,3 +9,3 @@ "main": "lib/index.esm.js", | ||
"lib/", | ||
"types", | ||
"types/", | ||
"README.md", | ||
@@ -37,3 +37,3 @@ "LICENSE" | ||
"@types/nanoid": "^2.0.0", | ||
"@types/react": "^16.8.19", | ||
"@types/react": "^18.0.8", | ||
"husky": "^2.4.0", | ||
@@ -49,3 +49,3 @@ "lint-staged": "^8.2.0", | ||
"peerDependencies": { | ||
"react": "^16.0.0" | ||
"react": "^16.0.0 || ^17.0.0 || ^18.0.0" | ||
}, | ||
@@ -52,0 +52,0 @@ "husky": { |
@@ -15,3 +15,2 @@ # React reCAPTCHA v2 | ||
- [x] Typescript and Flow definitions | ||
- [x] Actively developed | ||
@@ -46,7 +45,7 @@ ### DOM Pollution and Cleanup | ||
``` | ||
yarn add @matt-block/react-recaptcha-v2 | ||
npm install --save @matt-block/react-recaptcha-v2 | ||
// or | ||
npm install --save @matt-block/react-recaptcha-v2 | ||
yarn add @matt-block/react-recaptcha-v2 | ||
``` | ||
@@ -53,0 +52,0 @@ |
@@ -10,3 +10,3 @@ import { Component } from "react"; | ||
} | ||
declare class ReCaptcha extends Component<ReCaptchaProps> { | ||
declare class ReCaptcha extends Component<ReCaptchaProps, {}> { | ||
private scriptSrc; | ||
@@ -13,0 +13,0 @@ private testSiteKey; |
Sorry, the diff of this file is not supported yet
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
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
15735
0
115