Socket
Socket
Sign inDemoInstall

cursorlib

Package Overview
Dependencies
0
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

8

package.json
{
"name": "cursorlib",
"version": "1.0.0",
"version": "1.0.1",
"description": "Generates cursors from canvas (even '.cur' compatible with MSIE)",

@@ -26,6 +26,6 @@ "main": "src/cursorlib.js",

"devDependencies": {
"grunt": "^0.4.5",
"grunt-browserify": "^3.8.0",
"grunt-contrib-uglify": "^0.9.1"
"grunt": "^1.0.1",
"grunt-browserify": "^5.0.0",
"grunt-contrib-uglify": "^2.0.0"
}
}

@@ -36,2 +36,8 @@ # CursorLib: generates cursors from canvas

## Changelog
* **1.0.1:** Detect Edge to generate a MS cursor for it (#10)
* **1.0.0:** Initial release
## License

@@ -38,0 +44,0 @@

@@ -132,3 +132,3 @@ /*

// MSIE
if (window.ActiveXObject || "ActiveXObject" in window) {
if (window.ActiveXObject || /Edge/.test(navigator.userAgent)) {
var blob = canvasToMsCursor(canvas, hotspotX, hotspotY);

@@ -135,0 +135,0 @@ var url = URL.createObjectURL(blob);

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc