netprober 1.5.0 → 2.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "netprober",
3
- "version": "1.5.0",
3
+ "version": "2.0.0",
4
4
  "author": "maanimis",
5
5
  "description": "Concurrent Host/IP Prober with custom DNS resolution, port scanning, ping and curl support",
6
6
  "type": "module",
@@ -9,10 +9,12 @@
9
9
  "check": "biome check --write --no-errors-on-unmatched",
10
10
  "lint": "biome lint --write --unsafe",
11
11
  "format": "biome format --write",
12
- "build": "bun build --target=node --production --minify src/index.ts --outfile dist/netprober.bundled.mjs",
13
- "build:bin": "node ./build-bin.js",
12
+ "build:bundle": "bun build --target=node --production --minify src/index.ts --outfile dist/netprober.bundled.mjs",
13
+ "build:bin": "bun build --compile --production --minify ./src/index.ts --outfile netprober",
14
+ "build:tsc": "tsc",
14
15
  "dev": "tsx src/index.ts",
15
- "start": "npm run build && node dist/netprober.bundled.mjs",
16
+ "dev:debug": "DEBUG=app* tsx src/index.ts",
17
+ "start": "npm run build:bundle && node dist/netprober.bundled.mjs",
16
18
  "prepare": "husky"
17
19
  },
18
20
  "bin": {
@@ -44,11 +46,14 @@
44
46
  "chalk": "^5.6.2",
45
47
  "cidr-tools": "^11.3.3",
46
48
  "commander": "^14.0.3",
49
+ "debug": "^4.4.3",
50
+ "netprober": "link:",
47
51
  "tsx": "^4.21.0",
48
52
  "typescript": "^6.0.2"
49
53
  },
50
54
  "devDependencies": {
51
55
  "@biomejs/biome": "2.4.12",
56
+ "@types/debug": "^4.1.13",
52
57
  "@types/node": "^25.6.0",
53
58
  "husky": "^9.1.7",
54
59
  "lint-staged": "^16.4.0"