logxpert 2.0.0 → 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.
- package/CHANGELOG.md +6 -0
- package/LICENSE +201 -674
- package/README.md +55 -45
- package/index.d.mts +22 -0
- package/index.d.ts +73 -51
- package/main.js +375 -188
- package/package.json +63 -51
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## Unreleased
|
|
4
|
+
- Fix TS types for dual CJS/ESM: `export =` + namespace in `index.d.ts`, dedicated `index.d.mts` for the ESM entry (`attw` clean)
|
|
5
|
+
- Rename `files` options with backward-compatible aliases: `prefix` (`appName`), `filePattern` (`filename`/`pattern`), `datePattern` (`filesName`/`dateFormat`); `%datePattern%` placeholder; `prefix` + `filePattern` now throws instead of silent precedence
|
|
6
|
+
- Default file `datePattern` is now `YYYY_MM_DD`
|
|
7
|
+
- License changed to `Apache-2.0`
|
|
8
|
+
|
|
3
9
|
## 2.0.0
|
|
4
10
|
- Replace `moment` with `dayjs`
|
|
5
11
|
- Add ESM entry (`main.mjs`) + `index.d.ts` types
|