draco-insomnis 0.1.26 → 0.1.28
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 +3 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,7 +46,9 @@ takes the site down with it.
|
|
|
46
46
|
## Install
|
|
47
47
|
|
|
48
48
|
```sh
|
|
49
|
-
npm install
|
|
49
|
+
npm install draco-insomnis
|
|
50
|
+
# or the same file from the GitHub release (signed, see SECURITY.md):
|
|
51
|
+
npm install ./draco-insomnis-js-X.Y.Z.tgz
|
|
50
52
|
```
|
|
51
53
|
|
|
52
54
|
Building the package needs Node.js 22 or newer; the built package runs on Node.js 20 or newer.
|
package/dist/index.d.ts
CHANGED
|
@@ -5,4 +5,4 @@ export { clientIp, urlDecode, type DracoRequest, type ProxyMode } from './core/r
|
|
|
5
5
|
export { Blocks, MemoryStore, validNet, type BlockEntry, type DracoEvent, type Store } from './core/store.ts';
|
|
6
6
|
export { flatten, inspect, type WafInput, type WafRule } from './core/waf.ts';
|
|
7
7
|
export type { Resolver } from './core/crawler.ts';
|
|
8
|
-
export declare const VERSION = "0.1.
|
|
8
|
+
export declare const VERSION = "0.1.28";
|
package/dist/index.js
CHANGED
|
@@ -4,4 +4,4 @@ export { CLOUDFLARE, LOCAL_PROXIES, contains, inNet, isIP, network, parse } from
|
|
|
4
4
|
export { clientIp, urlDecode } from "./core/request.js";
|
|
5
5
|
export { Blocks, MemoryStore, validNet } from "./core/store.js";
|
|
6
6
|
export { flatten, inspect } from "./core/waf.js";
|
|
7
|
-
export const VERSION = '0.1.
|
|
7
|
+
export const VERSION = '0.1.28';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "draco-insomnis",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.28",
|
|
4
4
|
"description": "Firewall, anti-copy pace and country rules for Node.js (Express, Koa, Strapi, Directus) and Cloudflare Workers. No dependencies.",
|
|
5
5
|
"license": "GPL-2.0-or-later",
|
|
6
6
|
"type": "module",
|