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

@types/zepto

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/zepto - npm Package Compare versions

Comparing version 1.0.31 to 1.0.32

46

zepto/index.d.ts

@@ -1578,25 +1578,25 @@ // Type definitions for Zepto 1.0

interface ZeptoAjaxSettings {
type?: string;
url?: string;
type?: string | undefined;
url?: string | undefined;
data?: any;
processData?: boolean;
contentType?: string;
mimeType?: string;
dataType?: string;
jsonp?: string;
processData?: boolean | undefined;
contentType?: string | undefined;
mimeType?: string | undefined;
dataType?: string | undefined;
jsonp?: string | undefined;
jsonpCallback?: any; // string or Function
timeout?: number;
headers?: { [key: string]: string };
async?: boolean;
global?: boolean;
timeout?: number | undefined;
headers?: { [key: string]: string } | undefined;
async?: boolean | undefined;
global?: boolean | undefined;
context?: any;
traditional?: boolean;
cache?: boolean;
xhrFields?: { [key: string]: any };
username?: string;
password?: string;
beforeSend?: (xhr: XMLHttpRequest, settings: ZeptoAjaxSettings) => boolean;
success?: (data: any, status: string, xhr: XMLHttpRequest) => void;
error?: (xhr: XMLHttpRequest, errorType: string, error: Error) => void;
complete?: (xhr: XMLHttpRequest, status: string) => void;
traditional?: boolean | undefined;
cache?: boolean | undefined;
xhrFields?: { [key: string]: any } | undefined;
username?: string | undefined;
password?: string | undefined;
beforeSend?: ((xhr: XMLHttpRequest, settings: ZeptoAjaxSettings) => boolean) | undefined;
success?: ((data: any, status: string, xhr: XMLHttpRequest) => void) | undefined;
error?: ((xhr: XMLHttpRequest, errorType: string, error: Error) => void) | undefined;
complete?: ((xhr: XMLHttpRequest, status: string) => void) | undefined;
}

@@ -1647,5 +1647,5 @@

interface ZeptoAnimateSettings {
duration?: number;
easing?: string;
complete?: () => void;
duration?: number | undefined;
easing?: string | undefined;
complete?: (() => void) | undefined;
}

@@ -1652,0 +1652,0 @@

{
"name": "@types/zepto",
"version": "1.0.31",
"version": "1.0.32",
"description": "TypeScript definitions for Zepto",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/zepto",
"license": "MIT",

@@ -22,4 +23,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "73fe996043db657a22e427c06bc3d475984dc11e9279766be2ea7b4e62a9cd17",
"typeScriptVersion": "3.0"
"typesPublisherContentHash": "49c0ae8e7c7d87b8540856b76aae0fe9d943bdd64e921e139562ceb81d287488",
"typeScriptVersion": "3.6"
}

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

### Additional Details
* Last updated: Fri, 15 May 2020 13:13:08 GMT
* Last updated: Fri, 02 Jul 2021 16:32:16 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `$`, `Zepto`

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