Socket
Socket
Sign inDemoInstall

uint8arrays

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uint8arrays - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

10

CHANGELOG.md

@@ -0,1 +1,11 @@

## [2.1.2](https://github.com/achingbrain/uint8arrays/compare/v2.1.1...v2.1.2) (2021-02-04)
### Bug Fixes
* typedef exports ([c24790e](https://github.com/achingbrain/uint8arrays/commit/c24790ef52f665f85bacedf99420c47059c423c7))
* typedef exports ([91b7db3](https://github.com/achingbrain/uint8arrays/commit/91b7db3a20313df5b291c0c3182a2c8bdeccab68))
## [2.1.1](https://github.com/achingbrain/uint8arrays/compare/v2.1.0...v2.1.1) (2021-02-04)

@@ -2,0 +12,0 @@

1

compare.js

@@ -8,3 +8,2 @@ 'use strict'

* @param {Uint8Array} b
* @returns {number}
*/

@@ -11,0 +10,0 @@ function compare (a, b) {

@@ -8,3 +8,2 @@ 'use strict'

* @param {number} [length]
* @returns {Uint8Array}
*/

@@ -11,0 +10,0 @@ function concat (arrays, length) {

@@ -7,5 +7,4 @@ export = compare;

* @param {Uint8Array} b
* @returns {number}
*/
declare function compare(a: Uint8Array, b: Uint8Array): number;
declare function compare(a: Uint8Array, b: Uint8Array): 0 | 1 | -1;
//# sourceMappingURL=compare.d.ts.map

@@ -7,5 +7,4 @@ export = concat;

* @param {number} [length]
* @returns {Uint8Array}
*/
declare function concat(arrays: Array<ArrayLike<number>>, length?: number | undefined): Uint8Array;
//# sourceMappingURL=concat.d.ts.map

@@ -7,5 +7,4 @@ export = equals;

* @param {Uint8Array} b
* @returns {boolean}
*/
declare function equals(a: Uint8Array, b: Uint8Array): boolean;
//# sourceMappingURL=equals.d.ts.map

@@ -7,5 +7,4 @@ export = xor;

* @param {Uint8Array} b
* @returns {Uint8Array}
*/
declare function xor(a: Uint8Array, b: Uint8Array): Uint8Array;
//# sourceMappingURL=xor.d.ts.map

@@ -8,3 +8,2 @@ 'use strict'

* @param {Uint8Array} b
* @returns {boolean}
*/

@@ -11,0 +10,0 @@ function equals (a, b) {

@@ -16,3 +16,2 @@ 'use strict'

* @param {string} string - The string to turn into an array
* @returns {Uint8Array}
*/

@@ -19,0 +18,0 @@ function asciiStringToUint8Array (string) {

{
"name": "uint8arrays",
"version": "2.1.1",
"version": "2.1.2",
"description": "Utility functions to make dealing with Uint8Arrays easier",

@@ -13,4 +13,6 @@ "main": "index.js",

"*": [
"dist/*",
"dist/*/index"
"dist/*"
],
"index.js": [
"dist/index.d.ts"
]

@@ -17,0 +19,0 @@ }

@@ -16,3 +16,2 @@ 'use strict'

* @param {Uint8Array} array - The array to turn into a string
* @returns {string}
*/

@@ -19,0 +18,0 @@ function uint8ArrayToAsciiString (array) {

@@ -8,3 +8,2 @@ 'use strict'

* @param {Uint8Array} b
* @returns {Uint8Array}
*/

@@ -11,0 +10,0 @@ function xor (a, b) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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