Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@alttiri/base85

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alttiri/base85 - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

3

base85.js

@@ -118,1 +118,4 @@ const ascii85 = charsetToMap(`!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstu`);

}
const base85 = {encode, decode};
export default base85;

2

package.json
{
"name": "@alttiri/base85",
"version": "1.3.0",
"version": "1.4.0",
"description": "Pretty fast base85 JavaScript library",

@@ -5,0 +5,0 @@ "author": "alttiri",

@@ -9,7 +9,7 @@ # base85

### `function encode(ui8a: Uint8Array, charset?: "ascii85" | "z85" | String) : String`
#### `function encode(ui8a: Uint8Array, charset?: "ascii85" | "z85" | String) : String`
[`encode`](https://github.com/AlttiRi/base85/blob/42343e624f27ec68aa936a274c297ccd6c15c8cb/index.js#L42) encodes the input `Uint8Array` into base85 `String`.
### `function decode(base85: String, charset?: "ascii85" | "z85" | String) : Uint8Array`
#### `function decode(base85: String, charset?: "ascii85" | "z85" | String) : Uint8Array`

@@ -92,7 +92,7 @@ [`decode`](https://github.com/AlttiRi/base85/blob/42343e624f27ec68aa936a274c297ccd6c15c8cb/index.js#L84) decodes the input base85 `String` into `Uint8Array`.

```bash
npm install git+https://github.com/alttiri/base85.git#semver:1.3.0
npm install git+https://github.com/alttiri/base85.git#semver:1.4.0
```
Or add
```
"@alttiri/base85": "github:alttiri/base85#semver:1.3.0"
"@alttiri/base85": "github:alttiri/base85#semver:1.4.0"
```

@@ -105,7 +105,7 @@ as `dependencies` in `package.json` file.

```bash
npm install git+https://git@github.com/alttiri/base85.git#bb6b4bf6a734f23e63c69f9aff4c5e4c2b5c035b
npm install git+https://git@github.com/alttiri/base85.git#ca3217f3d1075b8ff0966e24437326a6c2537bbc
```
Or add
```
"@alttiri/base85": "github:alttiri/base85#bb6b4bf6a734f23e63c69f9aff4c5e4c2b5c035b"
"@alttiri/base85": "github:alttiri/base85#ca3217f3d1075b8ff0966e24437326a6c2537bbc"
```

@@ -112,0 +112,0 @@ as `dependencies` in `package.json` file.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc