@trebired/logger 2.5.6 → 2.5.11
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/CHANGELOG.md +19 -0
- package/README.md +268 -249
- package/dist/config/console_visibility.d.ts.map +1 -1
- package/dist/config/console_visibility.js +5 -3
- package/dist/config/console_visibility.js.map +1 -1
- package/dist/constants.d.ts +2 -2
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +2 -2
- package/dist/constants.js.map +1 -1
- package/dist/core/create_log/api.d.ts.map +1 -1
- package/dist/core/create_log/api.js +5 -2
- package/dist/core/create_log/api.js.map +1 -1
- package/dist/core/create_log/finalize.js +3 -3
- package/dist/core/create_log/finalize.js.map +1 -1
- package/dist/core/create_log/runtime.d.ts.map +1 -1
- package/dist/core/create_log/runtime.js +3 -1
- package/dist/core/create_log/runtime.js.map +1 -1
- package/dist/package-metadata.d.ts +6 -0
- package/dist/package-metadata.d.ts.map +1 -0
- package/dist/package-metadata.js +30 -0
- package/dist/package-metadata.js.map +1 -0
- package/dist/storage/backend/index.d.ts.map +1 -1
- package/dist/storage/backend/index.js +3 -2
- package/dist/storage/backend/index.js.map +1 -1
- package/dist/storage/partitions/errors.d.ts +1 -1
- package/dist/storage/partitions/errors.d.ts.map +1 -1
- package/dist/storage/partitions/errors.js +3 -3
- package/dist/storage/partitions/errors.js.map +1 -1
- package/dist/storage/partitions/records.js +2 -2
- package/dist/storage/partitions/records.js.map +1 -1
- package/dist/storage/partitions/transforms.js +1 -1
- package/dist/storage/partitions/transforms.js.map +1 -1
- package/dist/storage/write.d.ts.map +1 -1
- package/dist/storage/write.js +3 -1
- package/dist/storage/write.js.map +1 -1
- package/dist/types/partitions.d.ts +1 -1
- package/dist/types/partitions.d.ts.map +1 -1
- package/dist/utils/runtime.d.ts.map +1 -1
- package/dist/utils/runtime.js +10 -1
- package/dist/utils/runtime.js.map +1 -1
- package/native/darwin-arm64.node +0 -0
- package/native/darwin-x64.node +0 -0
- package/native/linux-arm64-gnu.node +0 -0
- package/native/linux-x64-gnu.node +0 -0
- package/package.json +57 -114
package/package.json
CHANGED
|
@@ -1,28 +1,22 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
},
|
|
5
|
-
"dependencies": {
|
|
6
|
-
"@trebired/result": "^0.2.0",
|
|
7
|
-
"fflate": "^0.8.3",
|
|
8
|
-
"tar-stream": "^3.2.0"
|
|
9
|
-
},
|
|
2
|
+
"name": "@trebired/logger",
|
|
3
|
+
"version": "2.5.11",
|
|
10
4
|
"description": "Local-first JSONL logger with durable writes, partitions, export archives, native storage acceleration, redaction, query helpers, and browser runtimes.",
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"react-test-renderer": "^19.2.0",
|
|
20
|
-
"typescript": "^6.0.2"
|
|
5
|
+
"type": "module",
|
|
6
|
+
"private": false,
|
|
7
|
+
"license": "AGPL-3.0-only",
|
|
8
|
+
"author": "Miroslav Machynka (Trebired)",
|
|
9
|
+
"config": {
|
|
10
|
+
"organization": {
|
|
11
|
+
"name": "trebired"
|
|
12
|
+
}
|
|
21
13
|
},
|
|
14
|
+
"packageManager": "bun@1.3.12",
|
|
22
15
|
"engines": {
|
|
23
|
-
"bun": ">=1.0.0"
|
|
24
|
-
"node": ">=18"
|
|
16
|
+
"bun": ">=1.0.0"
|
|
25
17
|
},
|
|
18
|
+
"main": "./dist/index.js",
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
26
20
|
"exports": {
|
|
27
21
|
".": {
|
|
28
22
|
"import": "./dist/index.js",
|
|
@@ -44,67 +38,43 @@
|
|
|
44
38
|
"LICENSE",
|
|
45
39
|
"README.md"
|
|
46
40
|
],
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
"#kzmqayr84v3x": "./dist/metadata/process.js",
|
|
85
|
-
"#m4kuwvprq8wl": "./dist/types/export.js",
|
|
86
|
-
"#nal3wuve8edd": "./dist/storage/partitions/rewrite.js",
|
|
87
|
-
"#nmfh3v2le5vp": "./dist/utils/runtime.js",
|
|
88
|
-
"#o3jnvqp377lh": "./dist/storage/walk.js",
|
|
89
|
-
"#o520iruia9te": "./dist/core/create_log/runtime.js",
|
|
90
|
-
"#oceupfj37qp3": "./dist/browser/react.js",
|
|
91
|
-
"#pngx4lcsdjmx": "./dist/storage/options.js",
|
|
92
|
-
"#qkc6be246w9i": "./dist/browser/create_log.js",
|
|
93
|
-
"#qqlp8cyr3105": "./dist/storage/partitions/delete.js",
|
|
94
|
-
"#tvzweoxg5ahk": "./dist/types.js",
|
|
95
|
-
"#ubetf5s0pfc2": "./dist/core/shared.js",
|
|
96
|
-
"#udhxjfygntkt": "./dist/types/partitions.js",
|
|
97
|
-
"#unnkpg8o07bp": "./dist/utils/size.js",
|
|
98
|
-
"#uobjnphrxi2c": "./dist/storage/export.js",
|
|
99
|
-
"#va6txcqwm0gh": "./dist/format/console.js",
|
|
100
|
-
"#vpn8n9wiu1x0": "./dist/backend/utils/normalize.js",
|
|
101
|
-
"#w1cc3mztq3ng": "./dist/storage/write.js",
|
|
102
|
-
"#x2qkmwodgsce": "./dist/storage/names.js",
|
|
103
|
-
"#xcylcir2d1qf": "./dist/browser/console_transport.js",
|
|
104
|
-
"#xtaoa1f0kt5w": "./dist/core/create_log/finalize.js",
|
|
105
|
-
"#ycytzc4gr3f7": "./dist/utils/values.js",
|
|
106
|
-
"#yrpchhxv9iak": "./dist/storage/query/shared.js",
|
|
107
|
-
"#zgjmhffod2k1": "./dist/storage/query.js"
|
|
41
|
+
"scripts": {
|
|
42
|
+
"build": "bun run prepare:generated && rm -rf dist && tsc -p tsconfig.build.json && bun ./scripts/prepare-dist.mjs prepare-dist",
|
|
43
|
+
"build:native": "bun ./scripts/build/native.mjs",
|
|
44
|
+
"build:native:matrix": "bun ./scripts/build/native-matrix.mjs",
|
|
45
|
+
"demo": "bun run examples/dummy.ts",
|
|
46
|
+
"postpack": "bun ./scripts/prepare-dist.mjs postpack",
|
|
47
|
+
"prepack": "bun run build && bun ./scripts/prepare-dist.mjs prepack",
|
|
48
|
+
"prepublishOnly": "bun run typecheck && bun ./scripts/verify/publish.mjs",
|
|
49
|
+
"publish:package": "bun run build:native:matrix && bun publish",
|
|
50
|
+
"publish:package:host": "bun run build:native && TB_LOGGER_ALLOW_HOST_ONLY_PUBLISH=1 bun publish",
|
|
51
|
+
"prepare:generated": "bun ./scripts/build/generated/tsconfig.mjs",
|
|
52
|
+
"typecheck": "bun run prepare:generated && tsc --noEmit",
|
|
53
|
+
"verify:pack": "bun ./scripts/verify/pack.mjs"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@package/result": "npm:@trebired/result@^1.1.1",
|
|
57
|
+
"fflate": "^0.8.3",
|
|
58
|
+
"tar-stream": "^3.2.0"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@trebired/code-discipline": "^4.8.0",
|
|
62
|
+
"@types/bun": "^1.3.4",
|
|
63
|
+
"@types/node": "^24.10.1",
|
|
64
|
+
"@types/react": "^19.2.2",
|
|
65
|
+
"@types/react-test-renderer": "^19.1.0",
|
|
66
|
+
"@types/tar-stream": "^3.1.4",
|
|
67
|
+
"react": "^19.2.0",
|
|
68
|
+
"react-test-renderer": "^19.2.0",
|
|
69
|
+
"typescript": "^6.0.2"
|
|
70
|
+
},
|
|
71
|
+
"peerDependencies": {
|
|
72
|
+
"react": ">=18"
|
|
73
|
+
},
|
|
74
|
+
"peerDependenciesMeta": {
|
|
75
|
+
"react": {
|
|
76
|
+
"optional": true
|
|
77
|
+
}
|
|
108
78
|
},
|
|
109
79
|
"keywords": [
|
|
110
80
|
"logger",
|
|
@@ -114,44 +84,17 @@
|
|
|
114
84
|
"backend",
|
|
115
85
|
"browser",
|
|
116
86
|
"frontend",
|
|
117
|
-
"node",
|
|
118
87
|
"bun"
|
|
119
88
|
],
|
|
120
|
-
"license": "AGPL-3.0-only",
|
|
121
|
-
"main": "./dist/index.js",
|
|
122
|
-
"name": "@trebired/logger",
|
|
123
|
-
"packageManager": "bun@1.3.12",
|
|
124
|
-
"peerDependencies": {
|
|
125
|
-
"react": ">=18"
|
|
126
|
-
},
|
|
127
|
-
"peerDependenciesMeta": {
|
|
128
|
-
"react": {
|
|
129
|
-
"optional": true
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
"private": false,
|
|
133
|
-
"publishConfig": {
|
|
134
|
-
"access": "public"
|
|
135
|
-
},
|
|
136
89
|
"repository": {
|
|
137
90
|
"type": "git",
|
|
138
91
|
"url": "https://github.com/Trebired/logger"
|
|
139
92
|
},
|
|
140
|
-
"
|
|
141
|
-
|
|
142
|
-
"
|
|
143
|
-
"build:native:matrix": "node ./scripts/build-native-matrix.mjs",
|
|
144
|
-
"demo": "bun run examples/dummy.ts",
|
|
145
|
-
"postpack": "node ./scripts/prepare-dist.mjs postpack",
|
|
146
|
-
"prepack": "bun run build && node ./scripts/prepare-dist.mjs prepack",
|
|
147
|
-
"prepublishOnly": "bun run typecheck && bun test && node ./scripts/verify-publish.mjs",
|
|
148
|
-
"publish:npm": "bun run build:native:matrix && npm publish",
|
|
149
|
-
"publish:npm:host": "bun run build:native && TB_LOGGER_ALLOW_HOST_ONLY_PUBLISH=1 npm publish",
|
|
150
|
-
"test": "bun test",
|
|
151
|
-
"typecheck": "tsc --noEmit",
|
|
152
|
-
"verify:pack": "node ./scripts/verify-pack.mjs"
|
|
93
|
+
"homepage": "https://github.com/Trebired/logger#readme",
|
|
94
|
+
"bugs": {
|
|
95
|
+
"url": "https://github.com/Trebired/logger/issues"
|
|
153
96
|
},
|
|
154
|
-
"
|
|
155
|
-
|
|
156
|
-
|
|
97
|
+
"publishConfig": {
|
|
98
|
+
"access": "public"
|
|
99
|
+
}
|
|
157
100
|
}
|