Socket
Socket
Sign inDemoInstall

regl-error2d

Package Overview
Dependencies
37
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.2 to 2.0.3

20

index.js

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

const flatten = require('flatten-vertex-data')
const {float32, fract32} = require('to-float32')

@@ -295,3 +296,3 @@ module.exports = Error2D

draw(opts)
draw()
}

@@ -521,18 +522,1 @@

}
//return fractional part of float32 array
function fract32 (arr) {
let fract = new Float32Array(arr.length)
fract.set(arr)
for (let i = 0, l = fract.length; i < l; i++) {
fract[i] = arr[i] - fract[i]
}
return fract
}
function float32 (arr) {
if (arr instanceof Float32Array) return arr
let float = new Float32Array(arr)
float.set(arr)
return float
}

12

package.json
{
"name": "regl-error2d",
"version": "2.0.2",
"version": "2.0.3",
"description": "Render error bars for the set of points",

@@ -36,9 +36,8 @@ "main": "index.js",

"pick-by-alias": "^1.1.1",
"to-float32": "^1.0.0",
"update-diff": "^1.0.2"
},
"devDependencies": {
"regl": "^1.3.0",
"nice-color-palettes": "^2.0.0",
"next-pow-2": "^1.0.0",
"canvas-fit": "^1.5.0",
"color-rgba": "^2.0.0",
"enable-mobile": "^1.0.7",

@@ -50,4 +49,7 @@ "fps-indicator": "^1.1.0",

"nanoraf": "^3.0.1",
"pan-zoom": "^2.0.0"
"next-pow-2": "^1.0.0",
"nice-color-palettes": "^2.0.0",
"pan-zoom": "^2.0.0",
"regl": "^1.3.0"
}
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc