@interactjs/snappers
Advanced tools
Comparing version 1.10.26 to 1.10.27
/** | ||
* interact.js 1.10.26 | ||
* interact.js 1.10.27 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) 2012-present Taye Adeyemi <dev@taye.me> |
@@ -1,4 +0,4 @@ | ||
/* interact.js 1.10.26 | https://raw.github.com/taye/interact.js/main/LICENSE */ | ||
/* interact.js 1.10.27 | https://raw.github.com/taye/interact.js/main/LICENSE */ | ||
export{default as edgeTarget}from"./edgeTarget.prod.js";export{default as elements}from"./elements.prod.js";export{default as grid}from"./grid.prod.js"; | ||
//# sourceMappingURL=all.prod.js.map |
/** | ||
* interact.js 1.10.26 | ||
* interact.js 1.10.27 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) 2012-present Taye Adeyemi <dev@taye.me> |
@@ -1,4 +0,4 @@ | ||
/* interact.js 1.10.26 | https://raw.github.com/taye/interact.js/main/LICENSE */ | ||
/* interact.js 1.10.27 | https://raw.github.com/taye/interact.js/main/LICENSE */ | ||
var edgeTarget=()=>{};export{edgeTarget as default}; | ||
//# sourceMappingURL=edgeTarget.prod.js.map |
/** | ||
* interact.js 1.10.26 | ||
* interact.js 1.10.27 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) 2012-present Taye Adeyemi <dev@taye.me> |
@@ -1,4 +0,4 @@ | ||
/* interact.js 1.10.26 | https://raw.github.com/taye/interact.js/main/LICENSE */ | ||
/* interact.js 1.10.27 | https://raw.github.com/taye/interact.js/main/LICENSE */ | ||
var edgeTarget_stub=()=>{};export{edgeTarget_stub as default}; | ||
//# sourceMappingURL=edgeTarget.stub.prod.js.map |
/** | ||
* interact.js 1.10.26 | ||
* interact.js 1.10.27 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) 2012-present Taye Adeyemi <dev@taye.me> |
@@ -1,4 +0,4 @@ | ||
/* interact.js 1.10.26 | https://raw.github.com/taye/interact.js/main/LICENSE */ | ||
/* interact.js 1.10.27 | https://raw.github.com/taye/interact.js/main/LICENSE */ | ||
var elements=()=>{};export{elements as default}; | ||
//# sourceMappingURL=elements.prod.js.map |
/** | ||
* interact.js 1.10.26 | ||
* interact.js 1.10.27 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) 2012-present Taye Adeyemi <dev@taye.me> |
@@ -1,4 +0,4 @@ | ||
/* interact.js 1.10.26 | https://raw.github.com/taye/interact.js/main/LICENSE */ | ||
/* interact.js 1.10.27 | https://raw.github.com/taye/interact.js/main/LICENSE */ | ||
var elements_stub=()=>{};export{elements_stub as default}; | ||
//# sourceMappingURL=elements.stub.prod.js.map |
/** | ||
* interact.js 1.10.26 | ||
* interact.js 1.10.27 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) 2012-present Taye Adeyemi <dev@taye.me> |
@@ -1,4 +0,4 @@ | ||
/* interact.js 1.10.26 | https://raw.github.com/taye/interact.js/main/LICENSE */ | ||
/* interact.js 1.10.27 | https://raw.github.com/taye/interact.js/main/LICENSE */ | ||
var grid=t=>{const r=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter((r=>{let[o,i]=r;return o in t||i in t})),o=(o,i)=>{const{range:n,limits:e={left:-1/0,right:1/0,top:-1/0,bottom:1/0},offset:a={x:0,y:0}}=t,h={range:n,grid:t,x:null,y:null};for(const[n,l]of r){const r=Math.round((o-a.x)/t[n]),d=Math.round((i-a.y)/t[l]);h[n]=Math.max(e.left,Math.min(e.right,r*t[n]+a.x)),h[l]=Math.max(e.top,Math.min(e.bottom,d*t[l]+a.y))}return h};return o.grid=t,o.coordFields=r,o};export{grid as default}; | ||
//# sourceMappingURL=grid.prod.js.map |
/** | ||
* interact.js 1.10.26 | ||
* interact.js 1.10.27 | ||
* | ||
@@ -12,3 +12,3 @@ * Copyright (c) 2012-present Taye Adeyemi <dev@taye.me> | ||
import "../utils/extend.js"; | ||
import './all-cc9e2779.js'; | ||
import './all-QhkClWVN.js'; | ||
import './edgeTarget.js'; | ||
@@ -15,0 +15,0 @@ import './elements.js'; |
@@ -1,4 +0,4 @@ | ||
/* interact.js 1.10.26 | https://raw.github.com/taye/interact.js/main/LICENSE */ | ||
/* interact.js 1.10.27 | https://raw.github.com/taye/interact.js/main/LICENSE */ | ||
import snappersPlugin from"./plugin.prod.js";import interact from"../interact/index.prod.js";import"../utils/extend.prod.js";import"./all-1a4e2d09.js";import"./edgeTarget.prod.js";import"./elements.prod.js";import"./grid.prod.js";interact.use(snappersPlugin); | ||
import snappersPlugin from"./plugin.prod.js";import interact from"../interact/index.prod.js";import"../utils/extend.prod.js";import"./all-jlnWK4MV.js";import"./edgeTarget.prod.js";import"./elements.prod.js";import"./grid.prod.js";interact.use(snappersPlugin); | ||
//# sourceMappingURL=index.prod.js.map |
{ | ||
"name": "@interactjs/snappers", | ||
"version": "1.10.26", | ||
"version": "1.10.27", | ||
"main": "index", | ||
@@ -13,6 +13,6 @@ "module": "index", | ||
"peerDependencies": { | ||
"@interactjs/utils": "1.10.26" | ||
"@interactjs/utils": "1.10.27" | ||
}, | ||
"optionalDependencies": { | ||
"@interactjs/interact": "1.10.26" | ||
"@interactjs/interact": "1.10.27" | ||
}, | ||
@@ -27,3 +27,3 @@ "publishConfig": { | ||
"license": "MIT", | ||
"gitHead": "6e7a136f" | ||
"gitHead": "3ace1cad" | ||
} |
/** | ||
* interact.js 1.10.26 | ||
* interact.js 1.10.27 | ||
* | ||
@@ -10,3 +10,3 @@ * Copyright (c) 2012-present Taye Adeyemi <dev@taye.me> | ||
import extend from "../utils/extend.js"; | ||
import { a as allSnappers } from './all-cc9e2779.js'; | ||
import { a as allSnappers } from './all-QhkClWVN.js'; | ||
import './edgeTarget.js'; | ||
@@ -13,0 +13,0 @@ import './elements.js'; |
@@ -1,4 +0,4 @@ | ||
/* interact.js 1.10.26 | https://raw.github.com/taye/interact.js/main/LICENSE */ | ||
/* interact.js 1.10.27 | https://raw.github.com/taye/interact.js/main/LICENSE */ | ||
import extend from"../utils/extend.prod.js";import{a as allSnappers}from"./all-1a4e2d09.js";import"./edgeTarget.prod.js";import"./elements.prod.js";import"./grid.prod.js";const snappersPlugin={id:"snappers",install(p){const{interactStatic:r}=p;r.snappers=extend(r.snappers||{},allSnappers),r.createSnapGrid=r.snappers.grid}};export{snappersPlugin as default}; | ||
import extend from"../utils/extend.prod.js";import{a as allSnappers}from"./all-jlnWK4MV.js";import"./edgeTarget.prod.js";import"./elements.prod.js";import"./grid.prod.js";const snappersPlugin={id:"snappers",install(p){const{interactStatic:r}=p;r.snappers=extend(r.snappers||{},allSnappers),r.createSnapGrid=r.snappers.grid}};export{snappersPlugin as default}; | ||
//# sourceMappingURL=plugin.prod.js.map |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0