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

nodelayout

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodelayout - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "nodelayout",
"version": "1.0.2",
"version": "1.0.3",
"description": "For node Layout.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -7,24 +7,2 @@ import * as d3 from "d3";

var handler = function() {
return {
get: function(obj, prop) {
return obj[prop];
},
set: function(obj, prop, value) {
console.log(345);
obj[prop] = value;
return true;
}
};
};
var datas = new Proxy({
todos: ['Eat', 'drink', 'be merry']
}, handler());
datas.todos.push(43);
console.log(datas.todos);
datas.todos = [90];
console.log(datas.todos);
let objectWrap, gWrap, pathWrap;

@@ -43,2 +21,3 @@ // control the animation

const svgHeight = 400;
// the x,y change when zoom
let zoomX = 0;

@@ -45,0 +24,0 @@ let zoomY = 0;

@@ -12,3 +12,4 @@ function Archiver(callback) {

});
this.__proto__ = arr;
// this.__proto__ = arr;
this.forEach = Array.prototype.forEach
this.push = function(params) {

@@ -15,0 +16,0 @@ arr.push(params);

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