@matt-block/react-recaptcha-v2
Advanced tools
Comparing version 2.0.0 to 2.0.1
import React, { useState, useEffect } from 'react'; | ||
/*! ***************************************************************************** | ||
/****************************************************************************** | ||
Copyright (c) Microsoft Corporation. | ||
@@ -5,0 +5,0 @@ |
{ | ||
"name": "@matt-block/react-recaptcha-v2", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Google reCAPTCHA v2 React component that does not pollute the DOM", | ||
"main": "lib/index.esm.js", | ||
"types": "types/index.d.ts", | ||
"types": "lib/index.d.ts", | ||
"files": [ | ||
"lib/", | ||
"types/", | ||
"README.md", | ||
@@ -28,6 +27,5 @@ "LICENSE" | ||
"scripts": { | ||
"build": "run-s build:clean build:compile build:ts-decl", | ||
"build": "run-s build:clean build:compile", | ||
"build:compile": "rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript", | ||
"build:ts-decl": "tsc --emitDeclarationOnly", | ||
"build:clean": "shx rm -rf lib types", | ||
"build:clean": "shx rm -rf lib", | ||
"typecheck": "tsc --noEmit", | ||
@@ -40,21 +38,17 @@ "prepare": "husky install" | ||
"devDependencies": { | ||
"@rollup/plugin-node-resolve": "^15.0.1", | ||
"@rollup/plugin-typescript": "^11.0.0", | ||
"@types/react": "^18.0.28", | ||
"husky": "^7.0.4", | ||
"lint-staged": "^12.5.0", | ||
"@rollup/plugin-node-resolve": "^15.0.2", | ||
"@rollup/plugin-typescript": "^11.1.0", | ||
"@types/react": "^18.2.1", | ||
"husky": "^8.0.3", | ||
"lint-staged": "^13.2.2", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^2.8.4", | ||
"rollup": "^3.17.2", | ||
"prettier": "^2.8.8", | ||
"rollup": "^3.21.4", | ||
"rollup-plugin-copy": "^3.4.0", | ||
"shx": "^0.3.4", | ||
"tslib": "^1.14.1", | ||
"typescript": "3.8.3" | ||
"typescript": "^4.9.5" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.8.0 || ^17.0.0 || ^18.0.0" | ||
}, | ||
"lint-staged": { | ||
"*.{js,flow,ts,tsx,json,css,md}": "prettier --write" | ||
} | ||
} |
@@ -120,4 +120,4 @@ # React reCAPTCHA v2 | ||
[npm_shield]: https://img.shields.io/npm/v/@matt-block/react-recaptcha-v2/latest | ||
[npm_1]: https://www.npmjs.com/package/@matt-block/react-recaptcha-v2/v/1.0.9 | ||
[npm_1_shield]: https://img.shields.io/badge/npm-v1.0.9-blue | ||
[npm_1]: https://www.npmjs.com/package/@matt-block/react-recaptcha-v2/v/1.0.10 | ||
[npm_1_shield]: https://img.shields.io/badge/npm@legacy-v1.0.10-blue | ||
[recaptcha_admin]: https://www.google.com/recaptcha/admin | ||
@@ -124,0 +124,0 @@ [recaptcha_docs]: https://developers.google.com/recaptcha/docs/display |
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
11
16569