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

diagram-js-origin

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

diagram-js-origin - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

6

lib/configure-origin.js

@@ -12,6 +12,6 @@ function ConfigureOrigin(canvas) {

// two rectangles that mark the diagram origin
g.rect(w / -2, h / -2, w, h, h / 2).attr(style);
g.rect(h / -2, w / -2, h, w, h / 2).attr(style);
g.rect(w / -2 - 1, h / -2 - 1, w, h, h / 2).attr(style);
g.rect(h / -2 - 1, w / -2 - 1, h, w, h / 2).attr(style);
g.text(10, 20, '(0, 0)').attr(style);
g.text(-40, -10, '(0, 0)').attr(style);
}

@@ -18,0 +18,0 @@

{
"name": "diagram-js-origin",
"version": "0.2.0",
"version": "0.3.0",
"description": "A origin crosshair for diagram-js",

@@ -37,7 +37,7 @@ "scripts": {

"karma-chai": "^0.1.0",
"diagram-js": "^0.7.0"
"diagram-js": "^0.8.0"
},
"peerDependencies": {
"diagram-js": "^0.7.0"
"diagram-js": "^0.8.0"
}
}
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