@algorithm.ts/base64 4.0.0 → 4.0.2

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 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.0/packages/base64/#readme">@algorithm.ts/base64</a>
3
+ <a href="https://github.com/guanghechen/algorithm.ts/tree/@algorithm.ts/base64@4.0.2/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.0/packages/base64#readme
149
+ https://github.com/guanghechen/algorithm.ts/tree/@algorithm.ts/base64@4.0.2/packages/base64#readme
@@ -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.0",
3
+ "version": "4.0.2",
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.0-alpha.0",
11
+ "url": "https://github.com/guanghechen/algorithm.ts/tree/@algorithm.ts/base64@4.0.1",
12
12
  "directory": "packages/base64"
13
13
  },
14
- "homepage": "https://github.com/guanghechen/algorithm.ts/tree/@algorithm.ts/base64@4.0.0-alpha.0/packages/base64#readme",
14
+ "homepage": "https://github.com/guanghechen/algorithm.ts/tree/@algorithm.ts/base64@4.0.1/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": "6a88f4a7ccb2ea5416185b562482255d752c4528"
38
+ "gitHead": "6cd9d55661bd895979f4384e8e471aed35a047c1"
39
39
  }