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

@waiting/base64

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@waiting/base64 - npm Package Compare versions

Comparing version 4.2.4 to 4.2.5

9

CHANGELOG.md

@@ -5,2 +5,11 @@ # Changelog

### [4.2.5](https://github.com/waitingsong/base64/compare/v4.2.4...v4.2.5) (2019-06-14)
### Tests
* validateDecoder() ([2f10583](https://github.com/waitingsong/base64/commit/2f10583))
### [4.2.4](https://github.com/waitingsong/base64/compare/v4.2.3...v4.2.4) (2019-06-13)

@@ -7,0 +16,0 @@

6

dist/base64.esm.js

@@ -5,3 +5,3 @@ /**

*
* @version 4.2.4
* @version 4.2.5
* @author waiting

@@ -402,3 +402,3 @@ * @license MIT

/** Encode to base64, source from string|number|bigint */
/** Encode to base64, source from string | number | bigint */
function b64encode(input, textEncoder) {

@@ -440,3 +440,3 @@ const ret = isRunningInNodejs() && !defaultConfig.forceBrowser

/**
* Encode to URL-safe base64, source from string|number|bigint.
* Encode to URL-safe base64, source from string | number | bigint.
* Replace "+" to "-" and "/" to "_", and Remove "=".

@@ -443,0 +443,0 @@ *

@@ -5,3 +5,3 @@ /**

*
* @version 4.2.4
* @version 4.2.5
* @author waiting

@@ -8,0 +8,0 @@ * @license MIT

@@ -5,3 +5,3 @@ /**

*
* @version 4.2.4
* @version 4.2.5
* @author waiting

@@ -8,0 +8,0 @@ * @license MIT

@@ -5,3 +5,3 @@ /**

*
* @version 4.2.4
* @version 4.2.5
* @author waiting

@@ -406,3 +406,3 @@ * @license MIT

/** Encode to base64, source from string|number|bigint */
/** Encode to base64, source from string | number | bigint */
function b64encode(input, textEncoder) {

@@ -444,3 +444,3 @@ const ret = isRunningInNodejs() && !defaultConfig.forceBrowser

/**
* Encode to URL-safe base64, source from string|number|bigint.
* Encode to URL-safe base64, source from string | number | bigint.
* Replace "+" to "-" and "/" to "_", and Remove "=".

@@ -447,0 +447,0 @@ *

import { TextDecoderFn, TextEncoderFn } from './model';
/** Encode to base64, source from string|number|bigint */
/** Encode to base64, source from string | number | bigint */
export declare function b64encode(input: string | number | bigint, textEncoder?: TextEncoderFn): string;

@@ -15,3 +15,3 @@ /** Decode base64 to string */

/**
* Encode to URL-safe base64, source from string|number|bigint.
* Encode to URL-safe base64, source from string | number | bigint.
* Replace "+" to "-" and "/" to "_", and Remove "=".

@@ -18,0 +18,0 @@ *

@@ -6,3 +6,3 @@ import { browserDecode, browserEncode, fromBuffer as browserFromBuffer, } from './browser'

import { getLens, _byteLength } from './to_buffer'
/** Encode to base64, source from string|number|bigint */
/** Encode to base64, source from string | number | bigint */
export function b64encode(input, textEncoder) {

@@ -44,3 +44,3 @@ const ret = isRunningInNodejs() && !defaultConfig.forceBrowser

/**
* Encode to URL-safe base64, source from string|number|bigint.
* Encode to URL-safe base64, source from string | number | bigint.
* Replace "+" to "-" and "/" to "_", and Remove "=".

@@ -47,0 +47,0 @@ *

{
"name": "@waiting/base64",
"author": "waiting",
"version": "4.2.4",
"version": "4.2.5",
"description": "Base64 encoding/decoding in pure JS on both modern Browsers and Node.js. Also supports URL-safe base64",

@@ -6,0 +6,0 @@ "keywords": [

@@ -30,3 +30,3 @@ # Base64

- v10.4.0+ for `bigint` base64 encoding
- [ICU](https://nodejs.org/api/util.html#util_whatwg_supported_encodings) installation for base64 decoding with encodeings other then `utf-8` and `utf-16le`
- [ICU](https://nodejs.org/api/util.html#util_whatwg_supported_encodings) installation for base64 decoding with char encodings other then `utf-8` and `utf-16le`

@@ -42,5 +42,5 @@

See the [Docs](https://waitingsong.github.io/base64/index.html) for details
See the [Docs](https://waitingsong.github.io/base64/) for details
### Encodeing
### Encoding
```ts

@@ -86,3 +86,3 @@ import { b64encode, b64fromBuffer, b64urlEncode } from '@waiting/base64'

See the [Docs](https://waitingsong.github.io/base64/index.html) for details
See the [Docs](https://waitingsong.github.io/base64/) for details

@@ -89,0 +89,0 @@ ### ESM

@@ -39,3 +39,3 @@ # Base64

详见 [接口文档](https://waitingsong.github.io/base64/index.html)
详见 [接口文档](https://waitingsong.github.io/base64/)

@@ -83,3 +83,3 @@ ### 编码

详见 [接口文档](https://waitingsong.github.io/base64/index.html)
详见 [接口文档](https://waitingsong.github.io/base64/)

@@ -86,0 +86,0 @@ ### ESM

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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