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

to-uint8

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

to-uint8 - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

2

index.js

@@ -8,3 +8,3 @@ /* @module to-float32 */

var clamp = require('clamp')
var flat = require('flatten-vertex-data')
var flat = require('arr-flatten')
var isBase64 = require('is-base64')

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

{
"name": "to-uint8",
"version": "1.2.0",
"version": "1.3.0",
"description": "Convert data to Uint8Array",

@@ -28,4 +28,4 @@ "main": "index.js",

"dependencies": {
"arr-flatten": "^1.1.0",
"clamp": "^1.0.1",
"flatten-vertex-data": "^1.0.2",
"is-float-array": "^1.0.0",

@@ -32,0 +32,0 @@ "to-array-buffer": "^3.0.0"

@@ -22,4 +22,5 @@ 'use strict'

a.deepEqual(u8([[0,0,0,0], [1,1,1,1]]), [0,0,0,0, 255,255,255,255])
a.deepEqual(u8([[[0,0,0,0], [1,1,1,1]]]), [0,0,0,0, 255,255,255,255])
a.equal(u8(null), null)
a.equal(u8(/abc/), null)
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