@j3r3mcdev/oast-server 1.1.13 → 1.1.14
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 +4 -1
- package/.env.example +0 -0
- package/.github/workflows/ci.yml +0 -29
- package/.github/workflows/publish.yml +0 -31
- package/image.png +0 -0
- package/jest.config.js +0 -14
- package/sadmin list shadows +0 -9
- package/src/api/controllers/__tests__/tasks.controller.test.ts +0 -74
- package/src/api/controllers/events.controller.ts +0 -10
- package/src/api/controllers/health.controller.ts +0 -7
- package/src/api/controllers/index.ts +0 -0
- package/src/api/controllers/tasks.controller.ts +0 -41
- package/src/api/dto/__tests__/create-task.dto.test.ts +0 -41
- package/src/api/dto/__tests__/filter-tasks.dto.test.ts +0 -35
- package/src/api/dto/create-task.dto.ts +0 -33
- package/src/api/dto/filter-tasks.dto.ts +0 -33
- package/src/api/services/__tests__/events.service.test.ts +0 -41
- package/src/api/services/__tests__/tasks.service.test.ts +0 -41
- package/src/api/services/events.service.ts +0 -17
- package/src/api/services/tasks.service.ts +0 -79
- package/src/api/sse/events.stream.ts +0 -90
- package/src/bootstrap.ts +0 -89
- package/src/config/constants.ts +0 -0
- package/src/config/env.ts +0 -0
- package/src/core/__tests__/core-router.test.ts +0 -30
- package/src/core/__tests__/core-server.test.ts +0 -44
- package/src/core/__tests__/event.normalizer.test.ts +0 -56
- package/src/core/__tests__/event.router.test.ts +0 -89
- package/src/core/__tests__/logger.test.ts +0 -32
- package/src/core/__tests__/storage-manager.test.ts +0 -74
- package/src/core/event.normalizer.ts +0 -167
- package/src/core/event.router.ts +0 -13
- package/src/core/http/__tests__/adapter-node.test.ts +0 -52
- package/src/core/http/__tests__/body-parser-multipart.test.ts +0 -41
- package/src/core/http/__tests__/body-parser-raw.test.ts +0 -28
- package/src/core/http/__tests__/body-parser-text.test.ts +0 -28
- package/src/core/http/__tests__/compile-path.test.ts +0 -39
- package/src/core/http/__tests__/middleware-pipeline.test.ts +0 -51
- package/src/core/http/__tests__/request.test.ts +0 -34
- package/src/core/http/__tests__/response.test.ts +0 -35
- package/src/core/http/__tests__/router-match.test.ts +0 -171
- package/src/core/http/adapter-node.ts +0 -51
- package/src/core/http/buildRequest.ts +0 -18
- package/src/core/http/compile-path.ts +0 -32
- package/src/core/http/errors.ts +0 -37
- package/src/core/http/http-server.ts +0 -52
- package/src/core/http/index.ts +0 -0
- package/src/core/http/main.ts +0 -0
- package/src/core/http/middleware.ts +0 -160
- package/src/core/http/request.ts +0 -55
- package/src/core/http/response.ts +0 -93
- package/src/core/http/router.ts +0 -138
- package/src/core/http/utils.ts +0 -0
- package/src/core/id-generator.ts +0 -8
- package/src/core/logger.ts +0 -113
- package/src/core/router.ts +0 -44
- package/src/core/server.ts +0 -85
- package/src/core/storage.ts +0 -64
- package/src/index.ts +0 -14
- package/src/listeners/api/__tests__/api.controller.test.ts +0 -116
- package/src/listeners/api/__tests__/api.extractor.test.ts +0 -46
- package/src/listeners/api/__tests__/api.listener.test.ts +0 -82
- package/src/listeners/api/__tests__/api.routes.test.ts +0 -155
- package/src/listeners/api/__tests__/api.sse.test.ts +0 -105
- package/src/listeners/api/api.controllers.ts +0 -67
- package/src/listeners/api/api.extractor.ts +0 -43
- package/src/listeners/api/api.listener.ts +0 -50
- package/src/listeners/api/api.routes.ts +0 -104
- package/src/listeners/api/api.sse.ts +0 -38
- package/src/listeners/dns/__tests__/dns.test.ts +0 -118
- package/src/listeners/dns/dns.extractor.ts +0 -14
- package/src/listeners/dns/dns.listener.ts +0 -61
- package/src/listeners/http/__tests__/http.extractor.test.ts +0 -59
- package/src/listeners/http/__tests__/http.listener.test.ts +0 -133
- package/src/listeners/http/http.extractor.ts +0 -15
- package/src/listeners/http/http.listener.ts +0 -110
- package/src/listeners/listener.interface.ts +0 -4
- package/src/listeners/smtp/__tests__/smtp.extractor.test.ts +0 -69
- package/src/listeners/smtp/__tests__/smtp.listener.test.ts +0 -150
- package/src/listeners/smtp/smtp.extractor.ts +0 -18
- package/src/listeners/smtp/smtp.listener.ts +0 -78
- package/src/listeners/ssrf/__tests__/ssrf.extractor.test.ts +0 -41
- package/src/listeners/ssrf/__tests__/ssrf.listener.test.ts +0 -87
- package/src/listeners/ssrf/ssrf.extractor.ts +0 -14
- package/src/listeners/ssrf/ssrf.listener.ts +0 -37
- package/src/listeners/tcp/tcp.extractor.ts +0 -16
- package/src/listeners/tcp/tcp.listener.ts +0 -61
- package/src/listeners/webhook/__tests__/webhook.extractor.test.ts +0 -35
- package/src/listeners/webhook/__tests__/webhook.listener.test.ts +0 -122
- package/src/listeners/webhook/webhook.extractor.ts +0 -12
- package/src/listeners/webhook/webhook.listener.ts +0 -58
- package/src/listeners/websocket/__tests__/websocket.extractor.test.ts +0 -33
- package/src/listeners/websocket/__tests__/websocket.listener.test.ts +0 -90
- package/src/listeners/websocket/websocket.extractor.ts +0 -11
- package/src/listeners/websocket/websocket.listener.ts +0 -40
- package/src/storage-adapters/adapters/__tests__/memory.storage.test.ts +0 -75
- package/src/storage-adapters/adapters/memory.storage.ts +0 -64
- package/src/storage-adapters/adapters/redis.storage.ts +0 -0
- package/src/storage-adapters/adapters/sqlite.storage.ts +0 -0
- package/src/storage-adapters/storage.interface.ts +0 -26
- package/src/types/event.types.ts +0 -166
- package/src/utils/token.ts +0 -0
- package/src-api.txt +0 -0
- package/src-architecture.txt +0 -0
- package/tsconfig.json +0 -20
package/src-api.txt
DELETED
|
Binary file
|
package/src-architecture.txt
DELETED
|
Binary file
|
package/tsconfig.json
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2020",
|
|
4
|
-
"module": "CommonJS",
|
|
5
|
-
|
|
6
|
-
"rootDir": "src",
|
|
7
|
-
"outDir": "dist",
|
|
8
|
-
|
|
9
|
-
"declaration": true,
|
|
10
|
-
"emitDeclarationOnly": false,
|
|
11
|
-
|
|
12
|
-
"strict": true,
|
|
13
|
-
"esModuleInterop": true,
|
|
14
|
-
"forceConsistentCasingInFileNames": true,
|
|
15
|
-
"skipLibCheck": true,
|
|
16
|
-
"resolveJsonModule": true
|
|
17
|
-
},
|
|
18
|
-
"include": ["src/**/*"],
|
|
19
|
-
"exclude": ["node_modules", "dist"]
|
|
20
|
-
}
|