@nascencestudio/ipguard 0.0.0-stage → 0.1.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/LICENSE +21 -0
- package/README.md +79 -2
- package/dist/abuseipdb.d.ts +42 -0
- package/dist/abuseipdb.d.ts.map +1 -0
- package/dist/abuseipdb.js +84 -0
- package/dist/abuseipdb.js.map +1 -0
- package/dist/admin.d.ts +41 -0
- package/dist/admin.d.ts.map +1 -0
- package/dist/admin.js +87 -0
- package/dist/admin.js.map +1 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +102 -0
- package/dist/index.js.map +1 -0
- package/dist/ip.d.ts +54 -0
- package/dist/ip.d.ts.map +1 -0
- package/dist/ip.js +218 -0
- package/dist/ip.js.map +1 -0
- package/dist/model.d.ts +94 -0
- package/dist/model.d.ts.map +1 -0
- package/dist/model.js +148 -0
- package/dist/model.js.map +1 -0
- package/dist/runtime/IpGuardNav.astro +63 -0
- package/dist/runtime/IpGuardPage.astro +408 -0
- package/dist/runtime/admin-endpoint.d.ts +10 -0
- package/dist/runtime/admin-endpoint.d.ts.map +1 -0
- package/dist/runtime/admin-endpoint.js +168 -0
- package/dist/runtime/admin-endpoint.js.map +1 -0
- package/dist/runtime/guard.d.ts +44 -0
- package/dist/runtime/guard.d.ts.map +1 -0
- package/dist/runtime/guard.js +136 -0
- package/dist/runtime/guard.js.map +1 -0
- package/dist/runtime/middleware.d.ts +8 -0
- package/dist/runtime/middleware.d.ts.map +1 -0
- package/dist/runtime/middleware.js +27 -0
- package/dist/runtime/middleware.js.map +1 -0
- package/dist/runtime/store.d.ts +22 -0
- package/dist/runtime/store.d.ts.map +1 -0
- package/dist/runtime/store.js +194 -0
- package/dist/runtime/store.js.map +1 -0
- package/dist/runtime/viewer.d.ts +9 -0
- package/dist/runtime/viewer.d.ts.map +1 -0
- package/dist/runtime/viewer.js +29 -0
- package/dist/runtime/viewer.js.map +1 -0
- package/dist/virtual.d.ts +12 -0
- package/package.json +65 -3
package/package.json
CHANGED
|
@@ -1,6 +1,68 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nascencestudio/ipguard",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "IP protection for StudioCMS sites: review lists (whitelist, flagged, blacklist, banned), rate limiting, AbuseIPDB reputation checks and site-wide bans",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Nascence Studio",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/nascencestudio/ipguard.git"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/nascencestudio/ipguard#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/nascencestudio/ipguard/issues"
|
|
14
|
+
},
|
|
15
|
+
"type": "module",
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"default": "./dist/index.js"
|
|
24
|
+
},
|
|
25
|
+
"./guard": {
|
|
26
|
+
"types": "./dist/runtime/guard.d.ts",
|
|
27
|
+
"default": "./dist/runtime/guard.js"
|
|
28
|
+
},
|
|
29
|
+
"./package.json": "./package.json"
|
|
30
|
+
},
|
|
31
|
+
"peerDependencies": {
|
|
32
|
+
"astro": "^7.0.0",
|
|
33
|
+
"studiocms": "^0.6.0 || ^0.7.0"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@biomejs/biome": "2.5.15",
|
|
37
|
+
"@types/node": "22.20.4",
|
|
38
|
+
"astro": "7.4.1",
|
|
39
|
+
"studiocms": "0.7.0",
|
|
40
|
+
"typescript": "6.0.3",
|
|
41
|
+
"vitest": "5.0.5"
|
|
42
|
+
},
|
|
43
|
+
"engines": {
|
|
44
|
+
"node": ">=22.12.0"
|
|
45
|
+
},
|
|
46
|
+
"publishConfig": {
|
|
47
|
+
"access": "public",
|
|
48
|
+
"provenance": true
|
|
49
|
+
},
|
|
50
|
+
"keywords": [
|
|
51
|
+
"astro",
|
|
52
|
+
"studiocms",
|
|
53
|
+
"studiocms-plugin",
|
|
54
|
+
"security",
|
|
55
|
+
"spam",
|
|
56
|
+
"abuseipdb",
|
|
57
|
+
"rate-limit",
|
|
58
|
+
"ip-blocking"
|
|
59
|
+
],
|
|
60
|
+
"scripts": {
|
|
61
|
+
"build": "tsc -p tsconfig.build.json && node scripts/copy-assets.mjs",
|
|
62
|
+
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput",
|
|
63
|
+
"test": "vitest run",
|
|
64
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
65
|
+
"lint": "biome check .",
|
|
66
|
+
"format": "biome format --write ."
|
|
67
|
+
}
|
|
6
68
|
}
|