@wtasnorg/node-lib 0.0.8 → 0.0.9
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.txt +12 -0
- package/docs/README.md +10 -0
- package/docs/docs.json +570 -137
- package/docs/functions/createFindDirectories.md +1 -1
- package/docs/functions/decode.md +49 -0
- package/docs/functions/encode.md +45 -0
- package/docs/functions/hello.md +1 -1
- package/docs/functions/parseUserAgent.md +1 -1
- package/docs/functions/pojo.md +1 -1
- package/docs/interfaces/FileSystemDependencies.md +3 -3
- package/docs/interfaces/FindDirectoriesOptions.md +5 -5
- package/docs/interfaces/UserAgentInfo.md +6 -6
- package/docs/type-aliases/Base64CharsetType.md +13 -0
- package/docs/variables/Base64Charset.md +17 -0
- package/gen-docs/001_base64_refine.txt +50 -0
- package/gen-sec/001_base64_security.txt +75 -0
- package/package.json +1 -1
- package/readme.txt +1 -0
- package/src/base64.d.ts +58 -0
- package/src/base64.js +138 -0
- package/src/base64.test.d.ts +2 -0
- package/src/base64.test.js +106 -0
- package/src/base64.test.ts +125 -0
- package/src/base64.ts +163 -0
- package/src/index.d.ts +4 -2
- package/src/index.js +2 -1
- package/src/index.ts +7 -1
package/changelog.txt
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.9] - 2026-01-19
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
- Base64 encoding/decoding in `src/base64.ts` with four charset variants:
|
|
7
|
+
- `standard`: RFC 4648 standard alphabet (A-Z, a-z, 0-9, +, /)
|
|
8
|
+
- `urlsafe`: URL and filename safe (A-Z, a-z, 0-9, -, _)
|
|
9
|
+
- `imap`: Modified Base64 for IMAP mailbox names (A-Z, a-z, 0-9, +, ,)
|
|
10
|
+
- `radix64`: Base64 variant used in OpenPGP (A-Z, a-z, 0-9, +, /)
|
|
11
|
+
- Exported `encode`, `decode`, `Base64Charset`, and `Base64CharsetType` from `index.ts`.
|
|
12
|
+
- Comprehensive unit tests in `src/base64.test.ts` with round-trip tests for all charsets.
|
|
13
|
+
|
|
3
14
|
## [0.0.8] - 2026-01-19
|
|
4
15
|
|
|
5
16
|
### Added
|
|
@@ -12,3 +23,4 @@
|
|
|
12
23
|
### Fixed
|
|
13
24
|
- Exported `parseUserAgent` function and `UserAgentInfo` type from `index.ts`.
|
|
14
25
|
- Fixed `detectEngine` logic: "Blink" was never returned because "AppleWebKit" check ran first. Reordered checks so Chrome-based browsers correctly return "Blink".
|
|
26
|
+
|
package/docs/README.md
CHANGED
|
@@ -10,9 +10,19 @@
|
|
|
10
10
|
- [FindDirectoriesOptions](interfaces/FindDirectoriesOptions.md)
|
|
11
11
|
- [UserAgentInfo](interfaces/UserAgentInfo.md)
|
|
12
12
|
|
|
13
|
+
## Type Aliases
|
|
14
|
+
|
|
15
|
+
- [Base64CharsetType](type-aliases/Base64CharsetType.md)
|
|
16
|
+
|
|
17
|
+
## Variables
|
|
18
|
+
|
|
19
|
+
- [Base64Charset](variables/Base64Charset.md)
|
|
20
|
+
|
|
13
21
|
## Functions
|
|
14
22
|
|
|
15
23
|
- [createFindDirectories](functions/createFindDirectories.md)
|
|
24
|
+
- [decode](functions/decode.md)
|
|
25
|
+
- [encode](functions/encode.md)
|
|
16
26
|
- [hello](functions/hello.md)
|
|
17
27
|
- [parseUserAgent](functions/parseUserAgent.md)
|
|
18
28
|
- [pojo](functions/pojo.md)
|