@algorithm.ts/base64 4.0.1 → 4.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/README.md +2 -2
- package/lib/cjs/index.cjs +0 -1
- package/lib/esm/index.mjs +0 -1
- package/lib/types/index.d.ts +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<header>
|
|
2
2
|
<h1 align="center">
|
|
3
|
-
<a href="https://github.com/guanghechen/algorithm.ts/tree/@algorithm.ts/base64@4.0.
|
|
3
|
+
<a href="https://github.com/guanghechen/algorithm.ts/tree/@algorithm.ts/base64@4.0.3/packages/base64/#readme">@algorithm.ts/base64</a>
|
|
4
4
|
</h1>
|
|
5
5
|
<div align="center">
|
|
6
6
|
<a href="https://www.npmjs.com/package/@algorithm.ts/base64">
|
|
@@ -146,4 +146,4 @@ project uses `Uint8Array` to represent byte streams.
|
|
|
146
146
|
- [`btoa()` | MDN](https://developer.mozilla.org/en-US/docs/Web/API/btoa)
|
|
147
147
|
|
|
148
148
|
[homepage]:
|
|
149
|
-
https://github.com/guanghechen/algorithm.ts/tree/@algorithm.ts/base64@4.0.
|
|
149
|
+
https://github.com/guanghechen/algorithm.ts/tree/@algorithm.ts/base64@4.0.3/packages/base64#readme
|
package/lib/cjs/index.cjs
CHANGED
package/lib/esm/index.mjs
CHANGED
package/lib/types/index.d.ts
CHANGED
|
@@ -22,11 +22,11 @@ declare class Base64 {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
declare const encode: (data: Uint8Array) => string;
|
|
25
|
-
declare const decode: (text: string) => Uint8Array;
|
|
25
|
+
declare const decode: (text: string) => Uint8Array | never;
|
|
26
26
|
declare const validate: (text: string) => boolean;
|
|
27
27
|
declare const _default: {
|
|
28
28
|
encode: (data: Uint8Array) => string;
|
|
29
|
-
decode: (text: string) => Uint8Array;
|
|
29
|
+
decode: (text: string) => Uint8Array | never;
|
|
30
30
|
validate: (text: string) => boolean;
|
|
31
31
|
};
|
|
32
32
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@algorithm.ts/base64",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
4
4
|
"description": "A Base64 encoding implementation.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "guanghechen",
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
},
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "https://github.com/guanghechen/algorithm.ts/tree/@algorithm.ts/base64@4.0.
|
|
11
|
+
"url": "https://github.com/guanghechen/algorithm.ts/tree/@algorithm.ts/base64@4.0.2",
|
|
12
12
|
"directory": "packages/base64"
|
|
13
13
|
},
|
|
14
|
-
"homepage": "https://github.com/guanghechen/algorithm.ts/tree/@algorithm.ts/base64@4.0.
|
|
14
|
+
"homepage": "https://github.com/guanghechen/algorithm.ts/tree/@algorithm.ts/base64@4.0.2/packages/base64#readme",
|
|
15
15
|
"keywords": [
|
|
16
16
|
"algorithm",
|
|
17
17
|
"base64"
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"LICENSE",
|
|
36
36
|
"README.md"
|
|
37
37
|
],
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "f2094261a9b538d3f285957ce7edb42eff75073c"
|
|
39
39
|
}
|