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

ndarray

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ndarray - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

8

ndarray.js

@@ -109,3 +109,11 @@ "use strict"

code.push(["aproto.length=",dimension].join(""))
var array_elements = []
for(var i=0; i<dimension; ++i) {
array_elements.push(["this._v._", prop, i].join(""))
}
code.push(["aproto.toJSON=function ", arrayName, "_toJSON(){return [", array_elements.join(","), "]}"].join(""))
code.push(["aproto.toString=function ", arrayName, "_toJSON(){return [", array_elements.join(","), "].join()}"].join(""))
for(var i=0; i<dimension; ++i) {
code.push(["Object.defineProperty(aproto,", i, ",{get:function(){return this._v._", prop, i, "},set:function(v){return this._v._", prop, i, "=v|0},enumerable:true})"].join(""))

@@ -112,0 +120,0 @@ }

2

package.json
{
"name": "ndarray",
"version": "1.0.5",
"version": "1.0.6",
"description": "Multidimensional Arrays",

@@ -5,0 +5,0 @@ "main": "ndarray.js",

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