@rapidrest/core 1.1.4 → 1.2.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/dist/lib/JWTUtils.js +11 -8
- package/dist/lib/JWTUtils.js.map +1 -1
- package/dist/lib/ObjectFactory.js +5 -5
- package/dist/lib/ObjectFactory.js.map +1 -1
- package/dist/lib/UserUtils.js +0 -32
- package/dist/lib/UserUtils.js.map +1 -1
- package/dist/lib/decorators/ObjectDecorators.js +1 -5
- package/dist/lib/decorators/ObjectDecorators.js.map +1 -1
- package/dist/lib/threads/ThreadPool.js +0 -1
- package/dist/lib/threads/ThreadPool.js.map +1 -1
- package/dist/types/ObjectFactory.d.ts +4 -3
- package/dist/types/UserUtils.d.ts +0 -12
- package/dist/types/decorators/ObjectDecorators.d.ts +1 -5
- package/dist/types/threads/ThreadPool.d.ts +0 -1
- package/docs/reference/@rapidrest/namespaces/ObjectDecorators/functions/Config.md +4 -18
- package/docs/reference/@rapidrest/namespaces/ObjectDecorators/functions/Destroy.md +1 -1
- package/docs/reference/@rapidrest/namespaces/ObjectDecorators/functions/Init.md +3 -3
- package/docs/reference/@rapidrest/namespaces/ObjectDecorators/functions/Inject.md +6 -18
- package/docs/reference/@rapidrest/namespaces/ObjectDecorators/functions/Logger.md +2 -2
- package/docs/reference/@rapidrest/namespaces/ObjectDecorators/functions/Nullable.md +2 -2
- package/docs/reference/@rapidrest/namespaces/ObjectDecorators/functions/Validator.md +2 -16
- package/docs/reference/@rapidrest/namespaces/ObjectDecorators/type-aliases/ValidatorFunction.md +2 -2
- package/docs/reference/classes/AlertUtils.md +10 -10
- package/docs/reference/classes/ApiError.md +10 -22
- package/docs/reference/classes/ClassLoader.md +17 -17
- package/docs/reference/classes/Event.md +8 -8
- package/docs/reference/classes/EventUtils.md +4 -4
- package/docs/reference/classes/FileUtils.md +17 -17
- package/docs/reference/classes/JWTUtils.md +5 -5
- package/docs/reference/classes/MessagingUtils.md +12 -12
- package/docs/reference/classes/OASUtils.md +8 -8
- package/docs/reference/classes/ObjectFactory.md +25 -23
- package/docs/reference/classes/ObjectUtils.md +2 -2
- package/docs/reference/classes/StringUtils.md +8 -8
- package/docs/reference/classes/ThreadPool.md +25 -25
- package/docs/reference/classes/ThreadWorker.md +6 -6
- package/docs/reference/classes/UserUtils.md +10 -64
- package/docs/reference/classes/ValidationUtils.md +14 -14
- package/docs/reference/enumerations/AlertPriority.md +6 -6
- package/docs/reference/enumerations/JWTUtilsCompressionMethods.md +2 -2
- package/docs/reference/enumerations/WorkerMessageType.md +5 -5
- package/docs/reference/functions/sleep.md +3 -3
- package/docs/reference/interfaces/Alert.md +14 -14
- package/docs/reference/interfaces/AlertAttachment.md +6 -6
- package/docs/reference/interfaces/AlertClose.md +5 -5
- package/docs/reference/interfaces/AlertUtilsAttachmentOptions.md +6 -6
- package/docs/reference/interfaces/AlertUtilsOptions.md +5 -5
- package/docs/reference/interfaces/InstanceOptions.md +13 -7
- package/docs/reference/interfaces/JWTPayload.md +15 -15
- package/docs/reference/interfaces/JWTUser.md +6 -6
- package/docs/reference/interfaces/JWTUtilsConfig.md +6 -6
- package/docs/reference/interfaces/JWTUtilsPayloadKeyOptions.md +8 -8
- package/docs/reference/interfaces/JWTUtilsPayloadOptions.md +5 -5
- package/docs/reference/interfaces/JWTUtilsPayloadPasswordOptions.md +9 -9
- package/docs/reference/interfaces/NewEvent.md +2 -2
- package/docs/reference/interfaces/OriginSettings.md +3 -3
- package/docs/reference/interfaces/SlackConfig.md +4 -4
- package/docs/reference/interfaces/SmtpAuth.md +3 -3
- package/docs/reference/interfaces/SmtpConfig.md +6 -6
- package/docs/reference/interfaces/Template.md +24 -24
- package/docs/reference/interfaces/TemplateMapBase.md +2 -2
- package/docs/reference/interfaces/TwilioConfig.md +5 -5
- package/docs/reference/interfaces/WorkerMessage.md +4 -4
- package/docs/reference/interfaces/WorkerOptions.md +11 -11
- package/docs/reference/type-aliases/BooleanFunc.md +2 -2
- package/docs/reference/type-aliases/TemplateMap.md +1 -1
- package/docs/reference/type-aliases/WorkerCallback.md +2 -2
- package/docs/reference/variables/Logger.md +5 -1
- package/package.json +96 -96
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: TwilioConfig
|
|
8
8
|
|
|
9
|
-
Defined in: [src/MessagingUtils.ts:66](https://github.com/rapidrest/core/blob/
|
|
9
|
+
Defined in: [src/MessagingUtils.ts:66](https://github.com/rapidrest/core/blob/0eb0ed1163d4555240daccc189ac59a2ba35179a/src/MessagingUtils.ts#L66)
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
@@ -14,15 +14,15 @@ Defined in: [src/MessagingUtils.ts:66](https://github.com/rapidrest/core/blob/23
|
|
|
14
14
|
|
|
15
15
|
> **accountSid**: `string`
|
|
16
16
|
|
|
17
|
-
Defined in: [src/MessagingUtils.ts:67](https://github.com/rapidrest/core/blob/
|
|
17
|
+
Defined in: [src/MessagingUtils.ts:67](https://github.com/rapidrest/core/blob/0eb0ed1163d4555240daccc189ac59a2ba35179a/src/MessagingUtils.ts#L67)
|
|
18
18
|
|
|
19
19
|
***
|
|
20
20
|
|
|
21
21
|
### options?
|
|
22
22
|
|
|
23
|
-
> `optional` **options
|
|
23
|
+
> `optional` **options?**: `any`
|
|
24
24
|
|
|
25
|
-
Defined in: [src/MessagingUtils.ts:69](https://github.com/rapidrest/core/blob/
|
|
25
|
+
Defined in: [src/MessagingUtils.ts:69](https://github.com/rapidrest/core/blob/0eb0ed1163d4555240daccc189ac59a2ba35179a/src/MessagingUtils.ts#L69)
|
|
26
26
|
|
|
27
27
|
***
|
|
28
28
|
|
|
@@ -30,4 +30,4 @@ Defined in: [src/MessagingUtils.ts:69](https://github.com/rapidrest/core/blob/23
|
|
|
30
30
|
|
|
31
31
|
> **token**: `string`
|
|
32
32
|
|
|
33
|
-
Defined in: [src/MessagingUtils.ts:68](https://github.com/rapidrest/core/blob/
|
|
33
|
+
Defined in: [src/MessagingUtils.ts:68](https://github.com/rapidrest/core/blob/0eb0ed1163d4555240daccc189ac59a2ba35179a/src/MessagingUtils.ts#L68)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: WorkerMessage
|
|
8
8
|
|
|
9
|
-
Defined in: [src/threads/ThreadWorker.ts:17](https://github.com/rapidrest/core/blob/
|
|
9
|
+
Defined in: [src/threads/ThreadWorker.ts:17](https://github.com/rapidrest/core/blob/0eb0ed1163d4555240daccc189ac59a2ba35179a/src/threads/ThreadWorker.ts#L17)
|
|
10
10
|
|
|
11
11
|
Describes a single message sent from the thread pool managger to a worker thread.
|
|
12
12
|
|
|
@@ -14,9 +14,9 @@ Describes a single message sent from the thread pool managger to a worker thread
|
|
|
14
14
|
|
|
15
15
|
### data?
|
|
16
16
|
|
|
17
|
-
> `optional` **data
|
|
17
|
+
> `optional` **data?**: `any`
|
|
18
18
|
|
|
19
|
-
Defined in: [src/threads/ThreadWorker.ts:19](https://github.com/rapidrest/core/blob/
|
|
19
|
+
Defined in: [src/threads/ThreadWorker.ts:19](https://github.com/rapidrest/core/blob/0eb0ed1163d4555240daccc189ac59a2ba35179a/src/threads/ThreadWorker.ts#L19)
|
|
20
20
|
|
|
21
21
|
The data associated with the message.
|
|
22
22
|
|
|
@@ -26,6 +26,6 @@ The data associated with the message.
|
|
|
26
26
|
|
|
27
27
|
> **type**: [`WorkerMessageType`](../enumerations/WorkerMessageType.md)
|
|
28
28
|
|
|
29
|
-
Defined in: [src/threads/ThreadWorker.ts:21](https://github.com/rapidrest/core/blob/
|
|
29
|
+
Defined in: [src/threads/ThreadWorker.ts:21](https://github.com/rapidrest/core/blob/0eb0ed1163d4555240daccc189ac59a2ba35179a/src/threads/ThreadWorker.ts#L21)
|
|
30
30
|
|
|
31
31
|
The type of message sent.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: WorkerOptions
|
|
8
8
|
|
|
9
|
-
Defined in: [src/threads/ThreadPool.ts:
|
|
9
|
+
Defined in: [src/threads/ThreadPool.ts:25](https://github.com/rapidrest/core/blob/0eb0ed1163d4555240daccc189ac59a2ba35179a/src/threads/ThreadPool.ts#L25)
|
|
10
10
|
|
|
11
11
|
Describes the various options that can be used when creating worker threads.
|
|
12
12
|
|
|
@@ -14,9 +14,9 @@ Describes the various options that can be used when creating worker threads.
|
|
|
14
14
|
|
|
15
15
|
### allowTs?
|
|
16
16
|
|
|
17
|
-
> `optional` **allowTs
|
|
17
|
+
> `optional` **allowTs?**: `boolean`
|
|
18
18
|
|
|
19
|
-
Defined in: [src/threads/ThreadPool.ts:
|
|
19
|
+
Defined in: [src/threads/ThreadPool.ts:33](https://github.com/rapidrest/core/blob/0eb0ed1163d4555240daccc189ac59a2ba35179a/src/threads/ThreadPool.ts#L33)
|
|
20
20
|
|
|
21
21
|
Set to `true` to enable support for importing TypeScript modules in the worker. Default is `true`.
|
|
22
22
|
|
|
@@ -24,9 +24,9 @@ Set to `true` to enable support for importing TypeScript modules in the worker.
|
|
|
24
24
|
|
|
25
25
|
### args?
|
|
26
26
|
|
|
27
|
-
> `optional` **args
|
|
27
|
+
> `optional` **args?**: `any`
|
|
28
28
|
|
|
29
|
-
Defined in: [src/threads/ThreadPool.ts:
|
|
29
|
+
Defined in: [src/threads/ThreadPool.ts:27](https://github.com/rapidrest/core/blob/0eb0ed1163d4555240daccc189ac59a2ba35179a/src/threads/ThreadPool.ts#L27)
|
|
30
30
|
|
|
31
31
|
The list of initialization arguments to pass into the worker thread.
|
|
32
32
|
|
|
@@ -34,9 +34,9 @@ The list of initialization arguments to pass into the worker thread.
|
|
|
34
34
|
|
|
35
35
|
### entry?
|
|
36
36
|
|
|
37
|
-
> `optional` **entry
|
|
37
|
+
> `optional` **entry?**: `string`
|
|
38
38
|
|
|
39
|
-
Defined in: [src/threads/ThreadPool.ts:
|
|
39
|
+
Defined in: [src/threads/ThreadPool.ts:29](https://github.com/rapidrest/core/blob/0eb0ed1163d4555240daccc189ac59a2ba35179a/src/threads/ThreadPool.ts#L29)
|
|
40
40
|
|
|
41
41
|
The path to the entry file create a worker thread from. Default is `ThreadWorkerEntry.js`.
|
|
42
42
|
|
|
@@ -44,9 +44,9 @@ The path to the entry file create a worker thread from. Default is `ThreadWorker
|
|
|
44
44
|
|
|
45
45
|
### restartOnExit?
|
|
46
46
|
|
|
47
|
-
> `optional` **restartOnExit
|
|
47
|
+
> `optional` **restartOnExit?**: `boolean`
|
|
48
48
|
|
|
49
|
-
Defined in: [src/threads/ThreadPool.ts:
|
|
49
|
+
Defined in: [src/threads/ThreadPool.ts:31](https://github.com/rapidrest/core/blob/0eb0ed1163d4555240daccc189ac59a2ba35179a/src/threads/ThreadPool.ts#L31)
|
|
50
50
|
|
|
51
51
|
Indicates if a worker thread should automatically be restarted on exit.
|
|
52
52
|
|
|
@@ -54,8 +54,8 @@ Indicates if a worker thread should automatically be restarted on exit.
|
|
|
54
54
|
|
|
55
55
|
### worker?
|
|
56
56
|
|
|
57
|
-
> `optional` **worker
|
|
57
|
+
> `optional` **worker?**: `string`
|
|
58
58
|
|
|
59
|
-
Defined in: [src/threads/ThreadPool.ts:
|
|
59
|
+
Defined in: [src/threads/ThreadPool.ts:35](https://github.com/rapidrest/core/blob/0eb0ed1163d4555240daccc189ac59a2ba35179a/src/threads/ThreadPool.ts#L35)
|
|
60
60
|
|
|
61
61
|
The path to the worker file. This must be set when using `ThreadWorkerEntry` as the default entry file.
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
[@rapidrest/core](../globals.md) / BooleanFunc
|
|
6
6
|
|
|
7
|
-
# Type Alias: BooleanFunc
|
|
7
|
+
# Type Alias: BooleanFunc
|
|
8
8
|
|
|
9
9
|
> **BooleanFunc** = (`val`) => `boolean`
|
|
10
10
|
|
|
11
|
-
Defined in: [src/ValidationUtils.ts:9](https://github.com/rapidrest/core/blob/
|
|
11
|
+
Defined in: [src/ValidationUtils.ts:9](https://github.com/rapidrest/core/blob/0eb0ed1163d4555240daccc189ac59a2ba35179a/src/ValidationUtils.ts#L9)
|
|
12
12
|
|
|
13
13
|
A simple validation function that returns a boolean success or fail.
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **TemplateMap** = `Omit`\<[`TemplateMapBase`](../interfaces/TemplateMapBase.md), `"from"`\> & `object`
|
|
10
10
|
|
|
11
|
-
Defined in: [src/MessagingUtils.ts:17](https://github.com/rapidrest/core/blob/
|
|
11
|
+
Defined in: [src/MessagingUtils.ts:17](https://github.com/rapidrest/core/blob/0eb0ed1163d4555240daccc189ac59a2ba35179a/src/MessagingUtils.ts#L17)
|
|
12
12
|
|
|
13
13
|
## Type Declaration
|
|
14
14
|
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
[@rapidrest/core](../globals.md) / WorkerCallback
|
|
6
6
|
|
|
7
|
-
# Type Alias: WorkerCallback
|
|
7
|
+
# Type Alias: WorkerCallback
|
|
8
8
|
|
|
9
9
|
> **WorkerCallback** = (`threadId`, `msg?`) => `void`
|
|
10
10
|
|
|
11
|
-
Defined in: [src/threads/ThreadPool.ts:
|
|
11
|
+
Defined in: [src/threads/ThreadPool.ts:20](https://github.com/rapidrest/core/blob/0eb0ed1163d4555240daccc189ac59a2ba35179a/src/threads/ThreadPool.ts#L20)
|
|
12
12
|
|
|
13
13
|
Callback function for `ThreadPool` events.
|
|
14
14
|
|
|
@@ -8,14 +8,18 @@
|
|
|
8
8
|
|
|
9
9
|
> `const` **Logger**: `any`
|
|
10
10
|
|
|
11
|
-
Defined in: [src/Logger.ts:17](https://github.com/rapidrest/core/blob/
|
|
11
|
+
Defined in: [src/Logger.ts:17](https://github.com/rapidrest/core/blob/0eb0ed1163d4555240daccc189ac59a2ba35179a/src/Logger.ts#L17)
|
|
12
12
|
|
|
13
13
|
Creates a new logger with the specified level and file name to output logs to.
|
|
14
14
|
|
|
15
15
|
## Param
|
|
16
16
|
|
|
17
|
+
**level**
|
|
18
|
+
|
|
17
19
|
The logging level to create the logger with.
|
|
18
20
|
|
|
19
21
|
## Param
|
|
20
22
|
|
|
23
|
+
**file**
|
|
24
|
+
|
|
21
25
|
The name (without an extension) of the file to output logs to.
|
package/package.json
CHANGED
|
@@ -1,96 +1,96 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@rapidrest/core",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "A collection of common utilities and core functionality for rapidly building RESTful applications.",
|
|
5
|
-
"repository": "https://github.com/rapidrest/core.git",
|
|
6
|
-
"author": "RapidREST <rapidrests@gmail.com>",
|
|
7
|
-
"license": "MIT",
|
|
8
|
-
"contributors": [
|
|
9
|
-
"Jean-Philippe Steinmetz",
|
|
10
|
-
"Arthur Thompson",
|
|
11
|
-
"Thomas Buscaglia"
|
|
12
|
-
],
|
|
13
|
-
"scripts": {
|
|
14
|
-
"build": "rimraf dist && tsc",
|
|
15
|
-
"deploy-docs": "ts-node tools/gh-pages-publish",
|
|
16
|
-
"docs": "typedoc --plugin typedoc-plugin-markdown --out docs/reference src",
|
|
17
|
-
"lint": "eslint ./src ./test",
|
|
18
|
-
"local-audit": "yarn install && yarn npm audit -A -R \"$@\"",
|
|
19
|
-
"checkup": "yarn dlx @yarnpkg/doctor \"$@\"",
|
|
20
|
-
"dependency-check": "yarn dlx depcheck \"$@\"",
|
|
21
|
-
"report-coverage": "cat ./coverage/lcov.info | coveralls",
|
|
22
|
-
"test": "node --loader ts-node/esm ./node_modules/vitest/vitest.mjs run",
|
|
23
|
-
"test:prod": "npm run lint && node --loader ts-node/esm ./node_modules/vitest/vitest.mjs run",
|
|
24
|
-
"postversion": "git push && git push --tags"
|
|
25
|
-
},
|
|
26
|
-
"dependencies": {
|
|
27
|
-
"form-data": "^4.0.5",
|
|
28
|
-
"handlebars": "^4.7.9",
|
|
29
|
-
"js-yaml": "^4.2.0",
|
|
30
|
-
"jsonwebtoken": "^9.0.3",
|
|
31
|
-
"jszip": "^3.10.1",
|
|
32
|
-
"mkdirp": "^3.0.1",
|
|
33
|
-
"readline": "^1.3.0",
|
|
34
|
-
"triple-beam": "^1.4.1",
|
|
35
|
-
"uuid": "^14.0.0",
|
|
36
|
-
"validator": "^13.15.35"
|
|
37
|
-
},
|
|
38
|
-
"peerDependencies": {
|
|
39
|
-
"axios": "1.x",
|
|
40
|
-
"reflect-metadata": "0.2.x",
|
|
41
|
-
"winston": "3.x",
|
|
42
|
-
"winston-transport": "4.x"
|
|
43
|
-
},
|
|
44
|
-
"devDependencies": {
|
|
45
|
-
"@slack/bolt": "^4.7.3",
|
|
46
|
-
"@slack/web-api": "^7.16.0",
|
|
47
|
-
"@types/eslint": "^9.6.1",
|
|
48
|
-
"@types/express": "^5.0.6",
|
|
49
|
-
"@types/js-yaml": "^4.0.9",
|
|
50
|
-
"@types/jsonwebtoken": "^9.0.10",
|
|
51
|
-
"@types/node": "^25.9.2",
|
|
52
|
-
"@types/nodemailer": "^8.0.0",
|
|
53
|
-
"@types/triple-beam": "^1.3.5",
|
|
54
|
-
"@types/validator": "^13.15.10",
|
|
55
|
-
"@typescript-eslint/eslint-plugin": "^8.61.0",
|
|
56
|
-
"@typescript-eslint/parser": "^8.61.0",
|
|
57
|
-
"axios": "^1.17.0",
|
|
58
|
-
"coveralls": "^3.1.1",
|
|
59
|
-
"eslint": "^9.39.4",
|
|
60
|
-
"eslint-config-prettier": "^10.1.8",
|
|
61
|
-
"eslint-plugin-import": "^2.32.0",
|
|
62
|
-
"eslint-plugin-jsdoc": "^63.0.2",
|
|
63
|
-
"mkdirp": "^3.0.1",
|
|
64
|
-
"nconf": "^0.13.0",
|
|
65
|
-
"nock": "^14.0.15",
|
|
66
|
-
"nodemailer": "^8.0.10",
|
|
67
|
-
"prettier": "^3.8.4",
|
|
68
|
-
"reflect-metadata": "^0.2.2",
|
|
69
|
-
"rimraf": "^6.1.3",
|
|
70
|
-
"ts-node": "^10.9.2",
|
|
71
|
-
"twilio": "^6.0.2",
|
|
72
|
-
"typedoc": "^0.28.19",
|
|
73
|
-
"typedoc-plugin-markdown": "^4.12.0",
|
|
74
|
-
"typescript": "^6.0.3",
|
|
75
|
-
"vitest": "^4.1.8",
|
|
76
|
-
"winston": "^3.19.0",
|
|
77
|
-
"winston-transport": "^4.9.0"
|
|
78
|
-
},
|
|
79
|
-
"resolutions": {
|
|
80
|
-
"cross-spawn": "^7.0.5"
|
|
81
|
-
},
|
|
82
|
-
"packageManager": "yarn@4.5.0",
|
|
83
|
-
"engines": {
|
|
84
|
-
"node": ">=20.0.0"
|
|
85
|
-
},
|
|
86
|
-
"publishConfig": {
|
|
87
|
-
"registry": "https://registry.npmjs.org/"
|
|
88
|
-
},
|
|
89
|
-
"main": "dist/lib/index.js",
|
|
90
|
-
"type": "module",
|
|
91
|
-
"typings": "dist/types/index.d.ts",
|
|
92
|
-
"files": [
|
|
93
|
-
"dist",
|
|
94
|
-
"docs"
|
|
95
|
-
]
|
|
96
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@rapidrest/core",
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "A collection of common utilities and core functionality for rapidly building RESTful applications.",
|
|
5
|
+
"repository": "https://github.com/rapidrest/core.git",
|
|
6
|
+
"author": "RapidREST <rapidrests@gmail.com>",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"contributors": [
|
|
9
|
+
"Jean-Philippe Steinmetz",
|
|
10
|
+
"Arthur Thompson",
|
|
11
|
+
"Thomas Buscaglia"
|
|
12
|
+
],
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "yarn lint && rimraf dist && tsc",
|
|
15
|
+
"deploy-docs": "ts-node tools/gh-pages-publish",
|
|
16
|
+
"docs": "typedoc --plugin typedoc-plugin-markdown --out docs/reference src",
|
|
17
|
+
"lint": "eslint ./src ./test",
|
|
18
|
+
"local-audit": "yarn install && yarn npm audit -A -R \"$@\"",
|
|
19
|
+
"checkup": "yarn dlx @yarnpkg/doctor \"$@\"",
|
|
20
|
+
"dependency-check": "yarn dlx depcheck \"$@\"",
|
|
21
|
+
"report-coverage": "cat ./coverage/lcov.info | coveralls",
|
|
22
|
+
"test": "node --loader ts-node/esm ./node_modules/vitest/vitest.mjs run",
|
|
23
|
+
"test:prod": "npm run lint && node --loader ts-node/esm ./node_modules/vitest/vitest.mjs run",
|
|
24
|
+
"postversion": "git push && git push --tags"
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"form-data": "^4.0.5",
|
|
28
|
+
"handlebars": "^4.7.9",
|
|
29
|
+
"js-yaml": "^4.2.0",
|
|
30
|
+
"jsonwebtoken": "^9.0.3",
|
|
31
|
+
"jszip": "^3.10.1",
|
|
32
|
+
"mkdirp": "^3.0.1",
|
|
33
|
+
"readline": "^1.3.0",
|
|
34
|
+
"triple-beam": "^1.4.1",
|
|
35
|
+
"uuid": "^14.0.0",
|
|
36
|
+
"validator": "^13.15.35"
|
|
37
|
+
},
|
|
38
|
+
"peerDependencies": {
|
|
39
|
+
"axios": "1.x",
|
|
40
|
+
"reflect-metadata": "0.2.x",
|
|
41
|
+
"winston": "3.x",
|
|
42
|
+
"winston-transport": "4.x"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@slack/bolt": "^4.7.3",
|
|
46
|
+
"@slack/web-api": "^7.16.0",
|
|
47
|
+
"@types/eslint": "^9.6.1",
|
|
48
|
+
"@types/express": "^5.0.6",
|
|
49
|
+
"@types/js-yaml": "^4.0.9",
|
|
50
|
+
"@types/jsonwebtoken": "^9.0.10",
|
|
51
|
+
"@types/node": "^25.9.2",
|
|
52
|
+
"@types/nodemailer": "^8.0.0",
|
|
53
|
+
"@types/triple-beam": "^1.3.5",
|
|
54
|
+
"@types/validator": "^13.15.10",
|
|
55
|
+
"@typescript-eslint/eslint-plugin": "^8.61.0",
|
|
56
|
+
"@typescript-eslint/parser": "^8.61.0",
|
|
57
|
+
"axios": "^1.17.0",
|
|
58
|
+
"coveralls": "^3.1.1",
|
|
59
|
+
"eslint": "^9.39.4",
|
|
60
|
+
"eslint-config-prettier": "^10.1.8",
|
|
61
|
+
"eslint-plugin-import": "^2.32.0",
|
|
62
|
+
"eslint-plugin-jsdoc": "^63.0.2",
|
|
63
|
+
"mkdirp": "^3.0.1",
|
|
64
|
+
"nconf": "^0.13.0",
|
|
65
|
+
"nock": "^14.0.15",
|
|
66
|
+
"nodemailer": "^8.0.10",
|
|
67
|
+
"prettier": "^3.8.4",
|
|
68
|
+
"reflect-metadata": "^0.2.2",
|
|
69
|
+
"rimraf": "^6.1.3",
|
|
70
|
+
"ts-node": "^10.9.2",
|
|
71
|
+
"twilio": "^6.0.2",
|
|
72
|
+
"typedoc": "^0.28.19",
|
|
73
|
+
"typedoc-plugin-markdown": "^4.12.0",
|
|
74
|
+
"typescript": "^6.0.3",
|
|
75
|
+
"vitest": "^4.1.8",
|
|
76
|
+
"winston": "^3.19.0",
|
|
77
|
+
"winston-transport": "^4.9.0"
|
|
78
|
+
},
|
|
79
|
+
"resolutions": {
|
|
80
|
+
"cross-spawn": "^7.0.5"
|
|
81
|
+
},
|
|
82
|
+
"packageManager": "yarn@4.5.0",
|
|
83
|
+
"engines": {
|
|
84
|
+
"node": ">=20.0.0"
|
|
85
|
+
},
|
|
86
|
+
"publishConfig": {
|
|
87
|
+
"registry": "https://registry.npmjs.org/"
|
|
88
|
+
},
|
|
89
|
+
"main": "dist/lib/index.js",
|
|
90
|
+
"type": "module",
|
|
91
|
+
"typings": "dist/types/index.d.ts",
|
|
92
|
+
"files": [
|
|
93
|
+
"dist",
|
|
94
|
+
"docs"
|
|
95
|
+
]
|
|
96
|
+
}
|