@interactjs/actions
Advanced tools
Comparing version 1.4.0-alpha.15 to 1.4.0-alpha.16
{ | ||
"name": "@interactjs/actions", | ||
"version": "1.4.0-alpha.15+sha.8940ff6", | ||
"version": "1.4.0-alpha.16+sha.5b3c738", | ||
"peerDependencies": { | ||
"@interactjs/core": "1.4.0-alpha.15+sha.8940ff6", | ||
"@interactjs/utils": "1.4.0-alpha.15+sha.8940ff6" | ||
"@interactjs/core": "1.4.0-alpha.16+sha.5b3c738", | ||
"@interactjs/utils": "1.4.0-alpha.16+sha.5b3c738" | ||
}, | ||
"devDependencies": { | ||
"@interactjs/_dev": "1.4.0-alpha.15+sha.8940ff6", | ||
"@interactjs/core": "1.4.0-alpha.15+sha.8940ff6", | ||
"@interactjs/utils": "1.4.0-alpha.15+sha.8940ff6" | ||
"@interactjs/_dev": "1.4.0-alpha.16+sha.5b3c738", | ||
"@interactjs/core": "1.4.0-alpha.16+sha.5b3c738", | ||
"@interactjs/utils": "1.4.0-alpha.16+sha.5b3c738" | ||
}, | ||
@@ -13,0 +13,0 @@ "publishConfig": { |
@@ -242,2 +242,5 @@ import * as utils from '@interactjs/utils'; | ||
// don't use margin greater than half the relevent dimension | ||
margin = Math.min(margin, (name === 'left' || name === 'right' ? width : height) / 2); | ||
if (width < 0) { | ||
@@ -244,0 +247,0 @@ if (name === 'left' ) { name = 'right'; } |
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
55312
12
1408