Socket
Socket
Sign inDemoInstall

@types/sortablejs

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/sortablejs - npm Package Compare versions

Comparing version 1.15.5 to 1.15.6

14

sortablejs/index.d.ts

@@ -81,3 +81,3 @@ import {

*/
sort(order: ReadonlyArray<string>, useAnimation?: boolean): void;
sort(order: readonly string[], useAnimation?: boolean): void;

@@ -160,3 +160,3 @@ /**

*/
oldIndicies: { multiDragElement: HTMLElement; index: number }[];
oldIndicies: Array<{ multiDragElement: HTMLElement; index: number }>;
/**

@@ -169,3 +169,3 @@ * When MultiDrag is used to sort, this holds a HTMLElement and newIndex for each item.

*/
newIndicies: { multiDragElement: HTMLElement; index: number }[];
newIndicies: Array<{ multiDragElement: HTMLElement; index: number }>;
/** When Swap is used to sort, this will contain the dragging item that was dropped on.*/

@@ -188,4 +188,4 @@ swapItem: HTMLElement | null;

type PullResult = ReadonlyArray<string> | boolean | "clone";
type PutResult = ReadonlyArray<string> | boolean;
type PullResult = readonly string[] | boolean | "clone";
type PutResult = readonly string[] | boolean;
export interface GroupOptions {

@@ -219,3 +219,3 @@ /**

event: SortableEvent,
) => boolean | string | Array<string>)
) => boolean | string | string[])
| undefined;

@@ -231,3 +231,3 @@ /**

event: SortableEvent,
) => boolean | string | "clone" | Array<string>)
) => boolean | string | "clone" | string[])
| undefined;

@@ -234,0 +234,0 @@ /**

{
"name": "@types/sortablejs",
"version": "1.15.5",
"version": "1.15.6",
"description": "TypeScript definitions for sortablejs",

@@ -33,4 +33,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sortablejs",

"dependencies": {},
"typesPublisherContentHash": "e4a1c5ac21bf5bc738e111432a552225e680c59882e75649aedc2c834f6d6f21",
"typesPublisherContentHash": "bdfffd64acba7aeed6e8f5b349725764df6b51c6960bbe8b3b6693251ccd8512",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Tue, 07 Nov 2023 15:11:36 GMT
* Last updated: Mon, 20 Nov 2023 23:36:24 GMT
* Dependencies: none

@@ -14,0 +14,0 @@

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