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.2.8 to 5.2.9

20

bootstrap/js/dist/dropdown.d.ts
import * as Popper from "@popperjs/core";
import BaseComponent, { GetInstanceFactory, GetOrCreateInstanceFactory } from "./base-component";
import Tooltip from "./tooltip";

@@ -81,5 +82,3 @@ declare class Dropdown extends BaseComponent {

type PopperConfigFunction = () => Partial<Popper.Options>;
interface Options {
interface Options extends Pick<Tooltip.Options, "popperConfig"> {
/**

@@ -133,17 +132,2 @@ * Offset of the dropdown relative to its target. You can pass a string

/**
* To change Bootstrap's default Popper.js config, see Popper.js's
* configuration
*
* When a function is used to create the Popper configuration, it's
* called with an object that contains the Bootstrap's default Popper
* configuration. It helps you use and merge the default with your own
* configuration. The function must return a configuration object for
* Popper.
*
* @see {@link https://popper.js.org/docs/v2}
* @default null
*/
popperConfig: Partial<Popper.Options> | PopperConfigFunction | null;
/**
* Configure the auto close behavior of the dropdown

@@ -150,0 +134,0 @@ *

@@ -125,5 +125,3 @@ import BaseComponent, { GetInstanceFactory, GetOrCreateInstanceFactory } from "./base-component";

type PopperConfigFunction = (defaultBsPopperConfig: Options) => Partial<Options>;
interface Options extends Omit<Tooltip.Options, "popperConfig"> {
interface Options extends Tooltip.Options {
/**

@@ -138,16 +136,2 @@ * Default content value if data-content attribute isn't present.

content: string | Element | JQuery | ((this: HTMLElement) => string | Element | JQuery);
/**
* To change Bootstrap's default Popper.js config
*
* When a function is used to create the Popper configuration, it's
* called with an object that contains the Bootstrap's default Popper
* configuration. It helps you use and merge the default with your own
* configuration. The function must return a configuration object for
* Popper.
*
* @see {@link https://popper.js.org/docs/v2}
* @default null
*/
popperConfig: Partial<Options> | PopperConfigFunction | null;
}

@@ -154,0 +138,0 @@

2

bootstrap/js/dist/tooltip.d.ts

@@ -132,3 +132,3 @@ import * as Popper from "@popperjs/core";

type PopperConfigFunction = (defaultBsPopperConfig: Options) => Partial<Popper.Options>;
type PopperConfigFunction = (defaultBsPopperConfig: Popper.Options) => Partial<Popper.Options>;

@@ -135,0 +135,0 @@ interface Options {

{
"name": "@types/bootstrap",
"version": "5.2.8",
"version": "5.2.9",
"description": "TypeScript definitions for bootstrap",

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

},
"typesPublisherContentHash": "50427b53e17d315014c5e6a66f2842a89937adcc247fab5c8389b6bda67f6905",
"typesPublisherContentHash": "4ce8306ea75e43e72dfd04febc40c5c3dd2230da0dcc402512a58e1043cd4b72",
"typeScriptVersion": "4.5"
}

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

### Additional Details
* Last updated: Tue, 17 Oct 2023 22:10:13 GMT
* Last updated: Tue, 07 Nov 2023 15:11:36 GMT
* Dependencies: [@popperjs/core](https://npmjs.com/package/@popperjs/core)

@@ -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