New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dflex/draggable

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dflex/draggable - npm Package Compare versions

Comparing version 2.6.1 to 2.7.0

7

dist/AbstractDraggable.d.ts

@@ -0,1 +1,7 @@

/**
* Copyright (c) Jalal Maskoun.
*
* This source code is licensed under the AGPL3.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import { AbstractCoreInterface } from "@dflex/core-instance";

@@ -44,4 +50,3 @@ import type { AbstractDraggableInterface, DraggedStyle, MouseCoordinates, TempTranslate } from "./types";

protected translate(x: number, y: number): void;
protected translateOnY(y: number): void;
}
export default AbstractDraggable;

4

dist/AbstractDraggable.js

@@ -90,6 +90,2 @@ "use strict";

};
AbstractDraggable.prototype.translateOnY = function (y) {
this.tempTranslate.y = y + this.outerOffsetY;
this.translate(-this.outerOffsetX, y);
};
return AbstractDraggable;

@@ -96,0 +92,0 @@ }());

@@ -0,1 +1,7 @@

/**
* Copyright (c) Jalal Maskoun.
*
* This source code is licensed under the AGPL3.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import { AbstractCoreInterface } from "@dflex/core-instance";

@@ -2,0 +8,0 @@ import AbstractDraggable from "./AbstractDraggable";

@@ -0,1 +1,7 @@

/**
* Copyright (c) Jalal Maskoun.
*
* This source code is licensed under the AGPL3.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import Store from "@dflex/store";

@@ -2,0 +8,0 @@ import { AbstractCoreInterface } from "@dflex/core-instance";

@@ -21,2 +21,8 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
/**
* Copyright (c) Jalal Maskoun.
*
* This source code is licensed under the AGPL3.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
var store_1 = __importDefault(require("@dflex/store"));

@@ -23,0 +29,0 @@ var core_instance_1 = __importDefault(require("@dflex/core-instance"));

@@ -0,1 +1,7 @@

/**
* Copyright (c) Jalal Maskoun.
*
* This source code is licensed under the AGPL3.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
export { default as Draggable } from "./Draggable";

@@ -2,0 +8,0 @@ export { default as store } from "./DraggableStoreImp";

@@ -7,2 +7,8 @@ "use strict";

exports.AbstractDraggable = exports.store = exports.Draggable = void 0;
/**
* Copyright (c) Jalal Maskoun.
*
* This source code is licensed under the AGPL3.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
var Draggable_1 = require("./Draggable");

@@ -9,0 +15,0 @@ Object.defineProperty(exports, "Draggable", { enumerable: true, get: function () { return __importDefault(Draggable_1).default; } });

@@ -0,1 +1,7 @@

/**
* Copyright (c) Jalal Maskoun.
*
* This source code is licensed under the AGPL3.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import type { AbstractCoreInterface } from "@dflex/core-instance";

@@ -2,0 +8,0 @@ export interface TempTranslate {

{
"name": "@dflex/draggable",
"version": "2.6.1",
"version": "2.7.0",
"main": "dist/index.js",

@@ -20,4 +20,4 @@ "types": "dist/index.d.ts",

"dependencies": {
"@dflex/core-instance": "^2.6.1",
"@dflex/store": "^2.2.2"
"@dflex/core-instance": "^2.7.0",
"@dflex/store": "^2.7.0"
},

@@ -51,3 +51,3 @@ "devDependencies": {

},
"gitHead": "ac6475f10de161b6c8cac4afff13bb9b3e281ddb"
"gitHead": "410a53603f6a8a991bc8fe6bb86226ef832d784d"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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