@algorithm.ts/base64 2.0.13 → 2.0.14

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/main/packages/base64#readme">@algorithm.ts/base64</a>
3
+ <a href="https://github.com/guanghechen/algorithm.ts/tree/release-2.x.x/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">
@@ -133,4 +133,4 @@ project uses `Uint8Array` to represent byte streams.
133
133
  * [`btoa()` | MDN](https://developer.mozilla.org/en-US/docs/Web/API/btoa)
134
134
 
135
135
 
136
- [homepage]: https://github.com/guanghechen/algorithm.ts/tree/main/packages/base64#readme
136
+ [homepage]: https://github.com/guanghechen/algorithm.ts/tree/release-2.x.x/packages/base64#readme
@@ -3,7 +3,9 @@ declare const _default: {
3
3
  decode: typeof decode;
4
4
  validate: typeof validate;
5
5
  };
6
- export default _default;
7
- export declare function encode(data: Uint8Array): string;
8
- export declare function decode(text: string): Uint8Array | never;
9
- export declare function validate(text: string): boolean;
6
+
7
+ declare function encode(data: Uint8Array): string;
8
+ declare function decode(text: string): Uint8Array | never;
9
+ declare function validate(text: string): boolean;
10
+
11
+ export { decode, _default as default, encode, validate };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algorithm.ts/base64",
3
- "version": "2.0.13",
3
+ "version": "2.0.14",
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.git",
11
+ "url": "https://github.com/guanghechen/algorithm.ts/tree/release-2.x.x",
12
12
  "directory": "packages/base64"
13
13
  },
14
- "homepage": "https://github.com/guanghechen/algorithm.ts/tree/main/packages/base64#readme",
14
+ "homepage": "https://github.com/guanghechen/algorithm.ts/tree/release-2.x.x/packages/base64#readme",
15
15
  "keywords": [
16
16
  "algorithm",
17
17
  "base64"
@@ -35,9 +35,9 @@
35
35
  ],
36
36
  "scripts": {
37
37
  "build": "cross-env NODE_ENV=production rollup -c ../../rollup.config.js",
38
- "prebuild": "rimraf lib/ && tsc -p tsconfig.src.json --emitDeclarationOnly",
38
+ "prebuild": "rimraf lib/",
39
39
  "prepublishOnly": "cross-env ROLLUP_SHOULD_SOURCEMAP=false yarn build",
40
40
  "test": "cross-env TS_NODE_FILES=true jest --config ../../jest.config.js --rootDir ."
41
41
  },
42
- "gitHead": "ebd6447586d9958adaff5218e91768eda82b5bec"
42
+ "gitHead": "53a24624195c9f09422c9769c552f9066bc22c70"
43
43
  }