New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tailwind-scrollbar

Package Overview
Dependencies
Maintainers
0
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tailwind-scrollbar - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

2

package.json
{
"name": "tailwind-scrollbar",
"version": "4.0.0",
"version": "4.0.1",
"description": "Tailwind plugin for styling scrollbars",

@@ -5,0 +5,0 @@ "author": "Graham Still <graham@gstill.dev>",

@@ -23,12 +23,10 @@ # Scrollbar Plugin for Tailwind CSS

2. Add it to the plugins array of your Tailwind config
2. Add the plugin to your Tailwind config
```javascript
module.exports = {
// ...
plugins: [
// ...
require('tailwind-scrollbar'),
],
};
```css
@import 'tailwindcss';
/* ... */
@plugin 'tailwind-scrollbar';
```

@@ -35,0 +33,0 @@

@@ -14,3 +14,3 @@ // TODO: Figure out why the linter is unhappy with this import

module.exports = plugin.withOptions((options = {}) => tailwind => {
let preferredStrategy = options.preferredStrategy ?? 'standard';
let preferredStrategy = options.preferredStrategy ?? options.preferredstrategy ?? 'standard';

@@ -17,0 +17,0 @@ if (preferredStrategy !== 'standard' && preferredStrategy !== 'pseudoelements') {

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