@interactjs/pointer-events
Advanced tools
Comparing version 1.4.0-alpha.28 to 1.4.0-alpha.29
@@ -8,3 +8,3 @@ import Eventable from '@interactjs/core/Eventable'; | ||
eventable: Eventable; | ||
element: Window | Document | Element; | ||
element: Interact.EventTarget; | ||
props: { | ||
@@ -27,3 +27,3 @@ [key: string]: any; | ||
interface PointerInfo { | ||
hold: { | ||
hold?: { | ||
duration: number; | ||
@@ -74,3 +74,3 @@ timeout: any; | ||
eventable: Eventable; | ||
element: Element | Window | Document; | ||
element: import("../types/types").EventTarget; | ||
props: { | ||
@@ -77,0 +77,0 @@ [key: string]: any; |
@@ -194,2 +194,2 @@ import * as utils from '@interactjs/utils'; | ||
export default pointerEvents; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0EsT0FBTyxLQUFLLEtBQUssTUFBTSxtQkFBbUIsQ0FBQTtBQUMxQyxPQUFPLFlBQVksTUFBTSxnQkFBZ0IsQ0FBQTtBQW9DekMsTUFBTSxPQUFPLEdBQVMsSUFBSSxLQUFLLENBQUMsT0FBTyxFQUFFLENBQUE7QUFDekMsTUFBTSxhQUFhLEdBQUcsQ0FBRSxNQUFNLEVBQUUsSUFBSSxFQUFFLFFBQVEsQ0FBRSxDQUFBO0FBQ2hELE1BQU0sWUFBWSxHQUFJLENBQUUsTUFBTSxFQUFFLElBQUksRUFBRSxRQUFRLENBQUUsQ0FBQTtBQUVoRCxNQUFNLGFBQWEsR0FBRztJQUNwQixPQUFPO0lBQ1AsT0FBTztJQUNQLFlBQVk7SUFDWixJQUFJO0lBQ0osbUJBQW1CO0lBQ25CLG9CQUFvQjtJQUNwQixRQUFRLEVBQUU7UUFDUixZQUFZLEVBQUUsR0FBRztRQUNqQixVQUFVLEVBQUksSUFBSTtRQUNsQixTQUFTLEV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iXX0= |
{ | ||
"name": "@interactjs/pointer-events", | ||
"version": "1.4.0-alpha.28+sha.e624c4d", | ||
"version": "1.4.0-alpha.29+sha.7c21d3d", | ||
"peerDependencies": { | ||
"@interactjs/core": "1.4.0-alpha.28+sha.e624c4d", | ||
"@interactjs/utils": "1.4.0-alpha.28+sha.e624c4d" | ||
"@interactjs/core": "1.4.0-alpha.29+sha.7c21d3d", | ||
"@interactjs/utils": "1.4.0-alpha.29+sha.7c21d3d" | ||
}, | ||
"devDependencies": { | ||
"@interactjs/_dev": "1.4.0-alpha.28+sha.e624c4d", | ||
"@interactjs/core": "1.4.0-alpha.28+sha.e624c4d", | ||
"@interactjs/utils": "1.4.0-alpha.28+sha.e624c4d" | ||
"@interactjs/_dev": "1.4.0-alpha.29+sha.7c21d3d", | ||
"@interactjs/core": "1.4.0-alpha.29+sha.7c21d3d", | ||
"@interactjs/utils": "1.4.0-alpha.29+sha.7c21d3d" | ||
}, | ||
@@ -13,0 +13,0 @@ "publishConfig": { |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
95910
18
772