@cto.af/pcap-ng-parser 2.0.1 → 2.0.3

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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +1 -25
package/README.md CHANGED
@@ -78,7 +78,8 @@ PCAPNGParser class fires the following events:
78
78
  - `custom`: A Custom block was parsed.
79
79
  - `blockType`: An unknown block type has been received.
80
80
 
81
- See the full API documentation for the types of the event parameters.
81
+ See the full [API documentation](https://cto-af.github.io/pcap-ng-parser/) for
82
+ the types of the event parameters.
82
83
 
83
84
  # Contribution
84
85
 
@@ -122,6 +123,7 @@ The following things have been added:
122
123
  - Added support for Custom blocks.
123
124
  - Added Enhanced Packet flag decoding.
124
125
  - Added converting timestamps to JS Dates. Does not handle timezones yet. (BREAKING)
126
+ - Added generate API documentation.
125
127
 
126
128
  [![Tests](https://github.com/cto-af/pcap-ng-parser/actions/workflows/node.js.yml/badge.svg)](https://github.com/cto-af/pcap-ng-parser/actions/workflows/node.js.yml)
127
129
  [![codecov](https://codecov.io/gh/cto-af/pcap-ng-parser/graph/badge.svg?token=Akjw67WYcn)](https://codecov.io/gh/cto-af/pcap-ng-parser)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cto.af/pcap-ng-parser",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "Node.js Module for parsing .pcapng files and tcpdump output.",
5
5
  "main": "./src/PCAPNGParser.js",
6
6
  "types": "./types/PCAPNGParser.d.ts",
@@ -10,15 +10,6 @@
10
10
  "types",
11
11
  "docs/LICENSE.md"
12
12
  ],
13
- "scripts": {
14
- "clean": "rimraf coverage doc types",
15
- "docs": "typedoc",
16
- "example": "node examples/index.js",
17
- "test": "c8 mocha",
18
- "ts": "tsc",
19
- "lint": "eslint .",
20
- "build": "npm run test && npm run ts && npm run lint && npm run docs"
21
- },
22
13
  "repository": {
23
14
  "type": "git",
24
15
  "url": "git+https://github.com/cto-af/pcap-ng-parser.git"
@@ -45,21 +36,6 @@
45
36
  }
46
37
  ],
47
38
  "license": "BSD-3",
48
- "devDependencies": {
49
- "@cto.af/eslint-config": "6.0.15",
50
- "@eslint/markdown": "7.5.0",
51
- "@types/node": "24.9.1",
52
- "c8": "10.1.3",
53
- "chai": "^6.2.0",
54
- "eslint": "9.38.0",
55
- "eslint-plugin-jsdoc": "61.1.5",
56
- "eslint-plugin-mocha": "11.2.0",
57
- "ether-frame": "^0.2.0",
58
- "mocha": "^11.7.4",
59
- "rimraf": "6.0.1",
60
- "typedoc": "0.28.14",
61
- "typescript": "5.9.3"
62
- },
63
39
  "packageManager": "pnpm@10.19.0",
64
40
  "engines": {
65
41
  "node": ">=20"