nodelayout
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"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); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
1583073
8699