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

@types/bootstrap

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/bootstrap - npm Package Compare versions

Comparing version 5.1.12 to 5.1.13

6

bootstrap/index.d.ts

@@ -46,2 +46,8 @@ // Type definitions for bootstrap 5.1

): void;
addEventListener(
type: Modal.Events,
listener: (this: Element, ev: Modal.Event) => any,
options?: boolean | AddEventListenerOptions,
): void;
}

@@ -48,0 +54,0 @@ }

@@ -114,2 +114,16 @@ import BaseComponent, { GetInstanceFactory, GetOrCreateInstanceFactory } from './base-component';

interface Event extends CustomEvent {
/**
* The modal DOM element.
*/
target: HTMLElement;
/**
* Only present for `show.bs.modal` and `shown.bs.modal` events when
* the event was triggered by a click. In that case, it's the element
* that was clicked. Otherwise, it's undefined.
*/
relatedTarget?: HTMLElement;
}
type jQueryInterface = (

@@ -116,0 +130,0 @@ config?: Partial<Options> | 'toggle' | 'show' | 'hide' | 'handleUpdate' | 'dispose',

6

bootstrap/package.json
{
"name": "@types/bootstrap",
"version": "5.1.12",
"version": "5.1.13",
"description": "TypeScript definitions for bootstrap",

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

},
"typesPublisherContentHash": "d95e5b0aa386f3599fe1ab7502893a6c342711d8f5fa156ecb26be64748d4e5c",
"typeScriptVersion": "3.9"
"typesPublisherContentHash": "99baec2cf61ed5257d5f572ec6b0f934b754384991ac4d99e5b5011d9c0f70ac",
"typeScriptVersion": "4.0"
}

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

### Additional Details
* Last updated: Fri, 20 May 2022 20:01:43 GMT
* Last updated: Mon, 18 Jul 2022 20:32:28 GMT
* Dependencies: [@types/popperjs__core](https://npmjs.com/package/@types/popperjs__core)

@@ -14,0 +14,0 @@ * Global values: `bootstrap`

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