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

bootstrap-detect-breakpoint

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bootstrap-detect-breakpoint - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

2

package.json
{
"name": "bootstrap-detect-breakpoint",
"version": "1.1.3",
"version": "1.1.4",
"description": "Detect the current Bootstrap breakpoint in JavaScript",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -33,7 +33,7 @@ # bootstrap-detect-breakpoint

## Get it working with Bootstrap 5
## Works in Bootstrap 4 and Bootstrap 5 from version 5.3
In Bootstrap 5 there is an [issue that the css variables for breakpoints are missing](https://github.com/twbs/bootstrap/issues/36094). I already created a [pull request](https://github.com/twbs/bootstrap/pull/36095), but I don't know when or if it will be merged.
In Bootstrap 5 prior 5.3 there is an [issue that the css variables for breakpoints are missing](https://github.com/twbs/bootstrap/issues/36094). I already created a [pull request](https://github.com/twbs/bootstrap/pull/36095), and it will be merged with version 5.3. 🥳
Until then you can make the bootstrap-detect-breakpoint script work with Bootstrap 5 by just adding this to your scss
Up to version 5.3, you can use the bootstrap-detect-breakpoint script with Bootstrap 5 by simply adding the following to your scss
```scss

@@ -40,0 +40,0 @@ :root {

Sorry, the diff of this file is not supported yet

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