You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@types/element-closest

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/element-closest - npm Package Compare versions

Comparing version

to
3.0.1

6

element-closest/index.d.ts

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

// Type definitions for element-closest 3.0
// Project: https://github.com/jonathantneal/closest#readme
// Definitions by: hikiko4ern <https://github.com/hikiko4ern>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.7
declare function polyfill(window: Window): void;
export = polyfill;

11

element-closest/package.json
{
"name": "@types/element-closest",
"version": "3.0.0",
"version": "3.0.1",
"description": "TypeScript definitions for element-closest",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/element-closest",
"license": "MIT",

@@ -9,4 +10,4 @@ "contributors": [

"name": "hikiko4ern",
"url": "https://github.com/hikiko4ern",
"githubUsername": "hikiko4ern"
"githubUsername": "hikiko4ern",
"url": "https://github.com/hikiko4ern"
}

@@ -23,4 +24,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "6b66329d473532cafbdb3f8e8b16910fc4d8dbaea002e184a2443266f9932cd8",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "c228bbc198d9fbc2b5367635a459defcfe4595f06de08ff6e84ce1afeb1c4c83",
"typeScriptVersion": "4.5"
}

@@ -9,9 +9,15 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/element-closest.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/element-closest/index.d.ts)
````ts
declare function polyfill(window: Window): void;
export = polyfill;
````
### Additional Details
* Last updated: Sun, 22 Mar 2020 21:07:02 GMT
* Last updated: Wed, 18 Oct 2023 01:17:34 GMT
* Dependencies: none
* Global values: none
# Credits
These definitions were written by [hikiko4ern](https://github.com/hikiko4ern).

Sorry, the diff of this file is not supported yet