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

@dflex/core-instance

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dflex/core-instance - npm Package Compare versions

Comparing version 3.2.0 to 3.3.0

4

dist/AbstractInstance.d.ts

@@ -1,2 +0,2 @@

import { AxesCoordinates } from "@dflex/utils";
import type { AxesCoordinatesInterface } from "@dflex/utils";
import type { AbstractInterface, AbstractInput, AbstractOpts, AllowedAttributes, AllowedDataset } from "./types";

@@ -6,3 +6,3 @@ declare class AbstractInstance implements AbstractInterface {

id: string;
translate: AxesCoordinates;
translate: AxesCoordinatesInterface;
isInitialized: boolean;

@@ -9,0 +9,0 @@ isPaused: boolean;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/* eslint-disable max-classes-per-file */
var utils_1 = require("@dflex/utils");

@@ -5,0 +4,0 @@ var AbstractInstance = /** @class */ (function () {

@@ -1,3 +0,3 @@

import { Axes, AxesCoordinates } from "@dflex/utils";
import type { Rect, EffectedElemDirection } from "@dflex/utils";
import { AxesCoordinates } from "@dflex/utils";
import type { Rect, EffectedElemDirection, Axes, AxesCoordinatesInterface } from "@dflex/utils";
import AbstractInstance from "./AbstractInstance";

@@ -7,7 +7,7 @@ import type { Keys, Order, TransitionHistory, CoreInput, AbstractOpts, CoreInstanceInterface } from "./types";

/** Initial read-only element offset */
offset: Rect;
readonly offset: Rect;
/** Store history of Y-transition according to unique ID. */
translateHistory?: AxesCoordinates<TransitionHistory>;
translateHistory?: AxesCoordinatesInterface<TransitionHistory>;
/** Current element offset (x-left, y-top) */
currentPosition: AxesCoordinates;
currentPosition: AxesCoordinatesInterface;
order: Order;

@@ -14,0 +14,0 @@ keys: Keys;

"use strict";
/* eslint-disable no-param-reassign */
var __extends = (this && this.__extends) || (function () {

@@ -32,3 +33,2 @@ var extendStatics = function (d, b) {

Object.defineProperty(exports, "__esModule", { value: true });
/* eslint-disable no-param-reassign */
var utils_1 = require("@dflex/utils");

@@ -70,2 +70,3 @@ var AbstractInstance_1 = __importDefault(require("./AbstractInstance"));

*/
// @ts-expect-error
this.offset = {

@@ -72,0 +73,0 @@ height: height,

@@ -65,3 +65,3 @@ import { AxesCoordinates } from "@dflex/utils";

isVisible: boolean;
offset: Rect;
readonly offset: Rect;
translateHistory?: AxesCoordinates<TransitionHistory>;

@@ -68,0 +68,0 @@ currentPosition: AxesCoordinates;

{
"name": "@dflex/core-instance",
"version": "3.2.0",
"version": "3.3.0",
"main": "dist/index.js",

@@ -19,3 +19,3 @@ "types": "dist/index.d.ts",

"dependencies": {
"@dflex/utils": "^3.2.0"
"@dflex/utils": "^3.3.0"
},

@@ -42,3 +42,3 @@ "keywords": [

},
"gitHead": "d3f7e38aaa516064984ac17dcfe8db6b0d099a5e"
"gitHead": "39cb2e4b182c56925f13915c8ecac2ff84e97718"
}
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