Socket
Socket
Sign inDemoInstall

mouse-event-offset

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mouse-event-offset - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

6

package.json
{
"name": "mouse-event-offset",
"version": "3.0.1",
"version": "3.0.2",
"description": "get relative position from an event",

@@ -10,6 +10,2 @@ "main": "index.js",

"devDependencies": {
"dom-events": "^0.1.1",
"dom-style": "0.0.3",
"domready": "^1.0.6",
"simulate-event": "0.0.3",
"tape": "~2.13.2"

@@ -16,0 +12,0 @@ },

2

README.md

@@ -30,3 +30,3 @@ # mouse-event-offset

- `3.x` new version; simpler API, less assumptions, avoids GC thrashing
- `2.x uses `ev.currentTarget` instead of `ev.target`
- `2.x` uses `ev.currentTarget` instead of `ev.target`
- `1.x` simple implementation using `ev.target || ev.srcElement`

@@ -33,0 +33,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