New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

typed-array-ops

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typed-array-ops - npm Package Compare versions

Comparing version

to
0.1.19

2

package.json
{
"name": "typed-array-ops",
"version": "0.1.16",
"version": "0.1.19",
"description": "Element wise operator functions for ndarray data.",

@@ -5,0 +5,0 @@ "main": "typed-array-ops.js",

@@ -121,4 +121,12 @@ /*jslint white: true, vars: true, plusplus: true, nomen: true, unparam: true, evil: true, regexp: true */

for( i = 0; i < math_unary.length; i++ ) {
opname = op = math_unary[i];
op = math_unary[i];
opname = op.split(".")
if ( opname.length == 2 ) {
opname = opname[1]
} else {
opname = opname[0]
}
ops[opname + "2"] = typed("function (a, b ) { a = " + op + "(b); }");

@@ -125,0 +133,0 @@ ops[opname + "_mask"] = typed("function (a, b , m) { if ( m ) { a = " + op + "(b); } }");