Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@interactjs/interact

Package Overview
Dependencies
Maintainers
2
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@interactjs/interact - npm Package Compare versions

Comparing version 1.4.6 to 1.4.7

3

index.d.ts

@@ -13,4 +13,3 @@ import * as actions from '@interactjs/actions';

}
export default init;
export default interact;
export { interact, actions, autoScroll, interactablePreventDefault, inertia, modifiersBase as modifiers, pointerEvents, reflow, };
export { init, interact, actions, autoScroll, interactablePreventDefault, inertia, modifiersBase as modifiers, pointerEvents, reflow, };

@@ -12,3 +12,4 @@ import * as actions from '@interactjs/actions';

import interact, { scope } from './interact';
export function init(window) {
// exporting init here due to #726
function init(window) {
scope.init(window);

@@ -45,3 +46,3 @@ interact.use(interactablePreventDefault);

export default interact;
export { interact, actions, autoScroll, interactablePreventDefault, inertia, modifiersBase as modifiers, pointerEvents, reflow, };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLHFCQUFxQixDQUFBO0FBQzlDLE9BQU8sVUFBVSxNQUFNLHlCQUF5QixDQUFBO0FBQ2hELE9BQU8sS0FBSyxTQUFTLE1BQU0sd0JBQXdCLENBQUE7QUFDbkQsT0FBTywwQkFBMEIsTUFBTSw2Q0FBNkMsQ0FBQTtBQUNwRixPQUFPLFFBQVEsTUFBTSx1QkFBdUIsQ0FBQTtBQUM1QyxPQUFPLE9BQU8sTUFBTSxxQkFBcUIsQ0FBQTtBQUN6QyxPQUFPLEtBQUssU0FBUyxNQUFNLHVCQUF1QixDQUFBO0FBQ2xELE9BQU8sYUFBYSxNQUFNLDRCQUE0QixDQUFBO0FBQ3RELE9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HlwZV0gPSBfZGVmYXVsdHNcbiAgfVxuXG4gIC8vIGF1dG9TY3JvbGxcbiAgaW50ZXJhY3QudXNlKGF1dG9TY3JvbGwpXG5cbiAgLy8gcmVmbG93XG4gIGludGVyYWN0LnVzZShyZWZsb3cpXG5cbiAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIG5vLXVuZGVmXG4gIGlmIChwcm9jZXNzLmVudi5OT0RFX0VOViAhPT0gJ3Byb2R1Y3Rpb24nKSB7XG4gICAgaW50ZXJhY3QudXNlKGRldlRvb2xzKVxuICB9XG5cbiAgcmV0dXJuIGludGVyYWN0XG59XG5cbi8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBuby11bmRlZlxuaW50ZXJhY3QudmVyc2lvbiA9IGluaXQudmVyc2lvbiA9IHByb2Nlc3MuZW52Lm5wbV9wYWNrYWdlX3ZlcnNpb25cblxuZXhwb3J0IGRlZmF1bHQgaW50ZXJhY3RcbmV4cG9ydCB7XG4gIGludGVyYWN0LFxuICBhY3Rpb25zLFxuICBhdXRvU2Nyb2xsLFxuICBpbnRlcmFjdGFibGVQcmV2ZW50RGVmYXVsdCxcbiAgaW5lcnRpYSxcbiAgbW9kaWZpZXJzQmFzZSBhcyBtb2RpZmllcnMsXG4gIHBvaW50ZXJFdmVudHMsXG4gIHJlZmxvdyxcbn1cbiJdfQ==
export { init, interact, actions, autoScroll, interactablePreventDefault, inertia, modifiersBase as modifiers, pointerEvents, reflow, };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLHFCQUFxQixDQUFBO0FBQzlDLE9BQU8sVUFBVSxNQUFNLHlCQUF5QixDQUFBO0FBQ2hELE9BQU8sS0FBSyxTQUFTLE1BQU0sd0JBQX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": "1.4.6",
"version": "1.4.7",
"peerDependencies": {
"@interactjs/actions": "1.4.6",
"@interactjs/auto-scroll": "1.4.6",
"@interactjs/auto-start": "1.4.6",
"@interactjs/core": "1.4.6",
"@interactjs/dev-tools": "1.4.6",
"@interactjs/inertia": "1.4.6",
"@interactjs/modifiers": "1.4.6",
"@interactjs/pointer-events": "1.4.6",
"@interactjs/reflow": "1.4.6",
"@interactjs/utils": "1.4.6"
"@interactjs/actions": "1.4.7",
"@interactjs/auto-scroll": "1.4.7",
"@interactjs/auto-start": "1.4.7",
"@interactjs/core": "1.4.7",
"@interactjs/dev-tools": "1.4.7",
"@interactjs/inertia": "1.4.7",
"@interactjs/modifiers": "1.4.7",
"@interactjs/pointer-events": "1.4.7",
"@interactjs/reflow": "1.4.7",
"@interactjs/utils": "1.4.7"
},

@@ -16,0 +16,0 @@ "publishConfig": {

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