next-recaptcha-v3 1.2.0-canary.3 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/package.json +7 -8
package/README.md
CHANGED
|
@@ -27,6 +27,10 @@ or
|
|
|
27
27
|
npm install next-recaptcha-v3 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
+
## Pure ESM package
|
|
31
|
+
|
|
32
|
+
This package is now [pure ESM](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). It cannot be `require()`'d from CommonJS.
|
|
33
|
+
|
|
30
34
|
## Generate reCAPTCHA Key
|
|
31
35
|
|
|
32
36
|
To use ReCaptcha, you need to generate a `reCAPTCHA_site_key` for your site's domain. You can get one [here](https://www.google.com/recaptcha/intro/v3.html).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-recaptcha-v3",
|
|
3
|
-
"version": "1.2.0
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "🤖 Next.js hook to add Google ReCaptcha to your application",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Roman Zhuravlov",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"prepublishOnly": "npm run rollup"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"next": ">=
|
|
35
|
-
"react": ">=
|
|
36
|
-
"react-dom": ">=
|
|
34
|
+
"next": ">=13.0.0",
|
|
35
|
+
"react": ">=18.0.0",
|
|
36
|
+
"react-dom": ">=18.0.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependenciesMeta": {
|
|
39
39
|
"react-dom": {
|
|
@@ -44,15 +44,14 @@
|
|
|
44
44
|
"node": ">=18.0.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@rollup/plugin-commonjs": "^25.0.2",
|
|
48
47
|
"@rollup/plugin-node-resolve": "^15.1.0",
|
|
49
48
|
"@rollup/plugin-typescript": "^11.1.2",
|
|
50
|
-
"@types/node": "^20.3.
|
|
49
|
+
"@types/node": "^20.3.3",
|
|
51
50
|
"@types/react": "^18.2.14",
|
|
52
51
|
"@types/react-dom": "^18.2.6",
|
|
53
52
|
"@typescript-eslint/eslint-plugin": "^5.60.1",
|
|
54
53
|
"@typescript-eslint/parser": "^5.60.1",
|
|
55
|
-
"eslint": "^8.
|
|
54
|
+
"eslint": "^8.44.0",
|
|
56
55
|
"eslint-config-next": "^13.4.7",
|
|
57
56
|
"eslint-config-prettier": "^8.8.0",
|
|
58
57
|
"husky": "^8.0.3",
|
|
@@ -62,7 +61,7 @@
|
|
|
62
61
|
"pretty-quick": "^3.1.3",
|
|
63
62
|
"react": "^18.2.0",
|
|
64
63
|
"react-dom": "^18.2.0",
|
|
65
|
-
"rollup": "^3.
|
|
64
|
+
"rollup": "^3.26.0",
|
|
66
65
|
"rollup-plugin-node-externals": "^6.1.1",
|
|
67
66
|
"rollup-plugin-preserve-directives": "^0.2.0",
|
|
68
67
|
"typescript": "^5.1.6"
|