@interactjs/dev-tools
Advanced tools
Comparing version 1.8.0-alpha.0 to 1.8.0-alpha.1
15
index.js
@@ -12,5 +12,5 @@ /* eslint-disable no-console */ | ||
(function (CheckName) { | ||
CheckName["touchAction"] = ""; | ||
CheckName["boxSizing"] = ""; | ||
CheckName["noListeners"] = ""; | ||
CheckName["touchAction"] = "touchAction"; | ||
CheckName["boxSizing"] = "boxSizing"; | ||
CheckName["noListeners"] = "noListeners"; | ||
})(CheckName || (CheckName = {})); | ||
@@ -48,3 +48,3 @@ | ||
const checks = [{ | ||
name: 'touchAction', | ||
name: CheckName.touchAction, | ||
@@ -65,3 +65,3 @@ perform({ | ||
}, { | ||
name: 'boxSizing', | ||
name: CheckName.boxSizing, | ||
@@ -84,3 +84,3 @@ perform(interaction) { | ||
}, { | ||
name: 'noListeners', | ||
name: CheckName.noListeners, | ||
@@ -130,3 +130,4 @@ perform(interaction) { | ||
for (const check of checks) { | ||
const options = interaction.interactable && interaction.interactable.options[interaction.prepared.name]; | ||
const actionName = interaction.prepared.name; | ||
const options = interaction.interactable && interaction.interactable.options[actionName]; | ||
@@ -133,0 +134,0 @@ if (!(options && options.devTools && options.devTools.ignore[check.name]) && check.perform(interaction)) { |
{ | ||
"name": "@interactjs/dev-tools", | ||
"version": "1.8.0-alpha.0", | ||
"version": "1.8.0-alpha.1", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@interactjs/utils": "1.8.0-alpha.0" | ||
"@interactjs/utils": "1.8.0-alpha.1" | ||
}, | ||
"devDependencies": { | ||
"@interactjs/actions": "1.8.0-alpha.0", | ||
"@interactjs/core": "1.8.0-alpha.0" | ||
"@interactjs/actions": "1.8.0-alpha.1", | ||
"@interactjs/core": "1.8.0-alpha.1" | ||
}, | ||
@@ -12,0 +12,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
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
13679
5
116
+ Added@interactjs/utils@1.8.0-alpha.1(transitive)
- Removed@interactjs/utils@1.8.0-alpha.0(transitive)