@wgtechlabs/log-engine 2.2.0 → 2.2.1-patch.2a805ed
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/LICENSE +21 -21
- package/README.md +941 -935
- package/package.json +130 -129
package/package.json
CHANGED
|
@@ -1,129 +1,130 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@wgtechlabs/log-engine",
|
|
3
|
-
"version": "2.2.
|
|
4
|
-
"description": "A lightweight, security-first logging utility with automatic data redaction for Node.js applications - the first logging library with built-in PII protection.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"keywords": [
|
|
7
|
-
"logging",
|
|
8
|
-
"logger",
|
|
9
|
-
"log",
|
|
10
|
-
"winston-alternative",
|
|
11
|
-
"security",
|
|
12
|
-
"redaction",
|
|
13
|
-
"pii-protection",
|
|
14
|
-
"data-redaction",
|
|
15
|
-
"typescript",
|
|
16
|
-
"javascript",
|
|
17
|
-
"nodejs",
|
|
18
|
-
"express",
|
|
19
|
-
"fastify",
|
|
20
|
-
"koa",
|
|
21
|
-
"nestjs",
|
|
22
|
-
"bot",
|
|
23
|
-
"discord",
|
|
24
|
-
"telegram",
|
|
25
|
-
"privacy",
|
|
26
|
-
"gdpr",
|
|
27
|
-
"compliance",
|
|
28
|
-
"opensource",
|
|
29
|
-
"mit-license",
|
|
30
|
-
"esm",
|
|
31
|
-
"cjs",
|
|
32
|
-
"zero-dependencies",
|
|
33
|
-
"structured-logging",
|
|
34
|
-
"json-logging"
|
|
35
|
-
],
|
|
36
|
-
"packageManager": "
|
|
37
|
-
"license": "MIT",
|
|
38
|
-
"author": "WG Tech Labs <opensource@wgtechlabs.com> (https://wgtechlabs.com)",
|
|
39
|
-
"contributors": [
|
|
40
|
-
"Waren Gonzaga <opensource@warengonzaga.com> (https://warengonzaga.com)"
|
|
41
|
-
],
|
|
42
|
-
"funding": [
|
|
43
|
-
{
|
|
44
|
-
"type": "github",
|
|
45
|
-
"url": "https://github.com/sponsors/wgtechlabs"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"type": "github",
|
|
49
|
-
"url": "https://github.com/sponsors/warengonzaga"
|
|
50
|
-
}
|
|
51
|
-
],
|
|
52
|
-
"main": "./dist/cjs/index.cjs",
|
|
53
|
-
"module": "./dist/esm/index.js",
|
|
54
|
-
"types": "./dist/esm/index.d.ts",
|
|
55
|
-
"exports": {
|
|
56
|
-
".": {
|
|
57
|
-
"import": {
|
|
58
|
-
"types": "./dist/esm/index.d.ts",
|
|
59
|
-
"default": "./dist/esm/index.js"
|
|
60
|
-
},
|
|
61
|
-
"require": {
|
|
62
|
-
"types": "./dist/cjs/index.d.ts",
|
|
63
|
-
"default": "./dist/cjs/index.cjs"
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
"files": [
|
|
68
|
-
"dist/",
|
|
69
|
-
"README.md",
|
|
70
|
-
"LICENSE"
|
|
71
|
-
],
|
|
72
|
-
"repository": {
|
|
73
|
-
"type": "git",
|
|
74
|
-
"url": "git+https://github.com/wgtechlabs/log-engine.git"
|
|
75
|
-
},
|
|
76
|
-
"homepage": "https://github.com/wgtechlabs/log-engine#readme",
|
|
77
|
-
"bugs": {
|
|
78
|
-
"url": "https://github.com/wgtechlabs/log-engine/issues"
|
|
79
|
-
},
|
|
80
|
-
"publishConfig": {
|
|
81
|
-
"access": "public",
|
|
82
|
-
"registry": "https://registry.npmjs.org/",
|
|
83
|
-
"tag": "latest"
|
|
84
|
-
},
|
|
85
|
-
"scripts": {
|
|
86
|
-
"build": "node scripts/forklift-runner.js --clean",
|
|
87
|
-
"build:watch": "node scripts/forklift-runner.js --watch",
|
|
88
|
-
"start": "node dist/cjs/index.cjs",
|
|
89
|
-
"prepublishOnly": "
|
|
90
|
-
"test": "jest",
|
|
91
|
-
"test:watch": "jest --watch",
|
|
92
|
-
"test:coverage": "jest --coverage",
|
|
93
|
-
"test:coverage:watch": "jest --coverage --watch",
|
|
94
|
-
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
|
|
95
|
-
"test:
|
|
96
|
-
"test:
|
|
97
|
-
"test:
|
|
98
|
-
"
|
|
99
|
-
"lint
|
|
100
|
-
"lint:
|
|
101
|
-
"
|
|
102
|
-
"secure:
|
|
103
|
-
"secure:
|
|
104
|
-
"secure": "
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"coverage:
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
"@types/
|
|
113
|
-
"@types/
|
|
114
|
-
"@
|
|
115
|
-
"@typescript-eslint/
|
|
116
|
-
"eslint": "^8.
|
|
117
|
-
"eslint
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"ts-
|
|
123
|
-
"
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
"
|
|
128
|
-
|
|
129
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@wgtechlabs/log-engine",
|
|
3
|
+
"version": "2.2.1-patch.2a805ed",
|
|
4
|
+
"description": "A lightweight, security-first logging utility with automatic data redaction for Node.js applications - the first logging library with built-in PII protection.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"logging",
|
|
8
|
+
"logger",
|
|
9
|
+
"log",
|
|
10
|
+
"winston-alternative",
|
|
11
|
+
"security",
|
|
12
|
+
"redaction",
|
|
13
|
+
"pii-protection",
|
|
14
|
+
"data-redaction",
|
|
15
|
+
"typescript",
|
|
16
|
+
"javascript",
|
|
17
|
+
"nodejs",
|
|
18
|
+
"express",
|
|
19
|
+
"fastify",
|
|
20
|
+
"koa",
|
|
21
|
+
"nestjs",
|
|
22
|
+
"bot",
|
|
23
|
+
"discord",
|
|
24
|
+
"telegram",
|
|
25
|
+
"privacy",
|
|
26
|
+
"gdpr",
|
|
27
|
+
"compliance",
|
|
28
|
+
"opensource",
|
|
29
|
+
"mit-license",
|
|
30
|
+
"esm",
|
|
31
|
+
"cjs",
|
|
32
|
+
"zero-dependencies",
|
|
33
|
+
"structured-logging",
|
|
34
|
+
"json-logging"
|
|
35
|
+
],
|
|
36
|
+
"packageManager": "pnpm@9.15.4",
|
|
37
|
+
"license": "MIT",
|
|
38
|
+
"author": "WG Tech Labs <opensource@wgtechlabs.com> (https://wgtechlabs.com)",
|
|
39
|
+
"contributors": [
|
|
40
|
+
"Waren Gonzaga <opensource@warengonzaga.com> (https://warengonzaga.com)"
|
|
41
|
+
],
|
|
42
|
+
"funding": [
|
|
43
|
+
{
|
|
44
|
+
"type": "github",
|
|
45
|
+
"url": "https://github.com/sponsors/wgtechlabs"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"type": "github",
|
|
49
|
+
"url": "https://github.com/sponsors/warengonzaga"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"main": "./dist/cjs/index.cjs",
|
|
53
|
+
"module": "./dist/esm/index.js",
|
|
54
|
+
"types": "./dist/esm/index.d.ts",
|
|
55
|
+
"exports": {
|
|
56
|
+
".": {
|
|
57
|
+
"import": {
|
|
58
|
+
"types": "./dist/esm/index.d.ts",
|
|
59
|
+
"default": "./dist/esm/index.js"
|
|
60
|
+
},
|
|
61
|
+
"require": {
|
|
62
|
+
"types": "./dist/cjs/index.d.ts",
|
|
63
|
+
"default": "./dist/cjs/index.cjs"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"files": [
|
|
68
|
+
"dist/",
|
|
69
|
+
"README.md",
|
|
70
|
+
"LICENSE"
|
|
71
|
+
],
|
|
72
|
+
"repository": {
|
|
73
|
+
"type": "git",
|
|
74
|
+
"url": "git+https://github.com/wgtechlabs/log-engine.git"
|
|
75
|
+
},
|
|
76
|
+
"homepage": "https://github.com/wgtechlabs/log-engine#readme",
|
|
77
|
+
"bugs": {
|
|
78
|
+
"url": "https://github.com/wgtechlabs/log-engine/issues"
|
|
79
|
+
},
|
|
80
|
+
"publishConfig": {
|
|
81
|
+
"access": "public",
|
|
82
|
+
"registry": "https://registry.npmjs.org/",
|
|
83
|
+
"tag": "latest"
|
|
84
|
+
},
|
|
85
|
+
"scripts": {
|
|
86
|
+
"build": "node scripts/forklift-runner.js --clean",
|
|
87
|
+
"build:watch": "node scripts/forklift-runner.js --watch",
|
|
88
|
+
"start": "node dist/cjs/index.cjs",
|
|
89
|
+
"prepublishOnly": "pnpm build",
|
|
90
|
+
"test": "jest",
|
|
91
|
+
"test:watch": "jest --watch",
|
|
92
|
+
"test:coverage": "jest --coverage",
|
|
93
|
+
"test:coverage:watch": "jest --coverage --watch",
|
|
94
|
+
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
|
|
95
|
+
"test:ci:debug": "jest --runInBand --detectOpenHandles --verbose",
|
|
96
|
+
"test:unit": "jest --testNamePattern=\"^((?!integration).)*$\"",
|
|
97
|
+
"test:integration": "jest integration.test.ts",
|
|
98
|
+
"test:redaction": "jest --testPathPattern=\"redaction/\"",
|
|
99
|
+
"lint": "eslint src/**/*.ts",
|
|
100
|
+
"lint:fix": "eslint src/**/*.ts --fix",
|
|
101
|
+
"lint:security": "eslint src/**/*.ts --config eslint.security.config.js",
|
|
102
|
+
"secure:scan": "snyk code test",
|
|
103
|
+
"secure:test": "snyk test --org=wgtechlabs",
|
|
104
|
+
"secure:code": "snyk code test --org=wgtechlabs",
|
|
105
|
+
"secure": "run-s lint:security secure:test secure:code",
|
|
106
|
+
"validate": "run-s lint test build",
|
|
107
|
+
"clean": "rm -rf dist coverage",
|
|
108
|
+
"coverage:open": "open coverage/lcov-report/index.html",
|
|
109
|
+
"coverage:upload": "npx codecov"
|
|
110
|
+
},
|
|
111
|
+
"devDependencies": {
|
|
112
|
+
"@types/eslint-plugin-security": "^3",
|
|
113
|
+
"@types/jest": "^29.0.0",
|
|
114
|
+
"@types/node": "^18.0.0",
|
|
115
|
+
"@typescript-eslint/eslint-plugin": "^8.35.0",
|
|
116
|
+
"@typescript-eslint/parser": "^8.35.0",
|
|
117
|
+
"eslint": "^8.45.0",
|
|
118
|
+
"eslint-plugin-security": "^2.0.0",
|
|
119
|
+
"jest": "^29.0.0",
|
|
120
|
+
"npm-run-all": "^4.1.5",
|
|
121
|
+
"snyk": "^1.1000.0",
|
|
122
|
+
"ts-jest": "^29.0.0",
|
|
123
|
+
"ts-node": "^10.0.0",
|
|
124
|
+
"typescript": "^5.8.3"
|
|
125
|
+
},
|
|
126
|
+
"engines": {
|
|
127
|
+
"node": ">=16.0.0",
|
|
128
|
+
"npm": ">=7.0.0"
|
|
129
|
+
}
|
|
130
|
+
}
|