Socket
Socket
Sign inDemoInstall

@xobotyi/scrollbar-width

Package Overview
Dependencies
0
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.9.2 to 1.9.3

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.9.3](https://github.com/xobotyi/scrollbar-width/compare/v1.9.2...v1.9.3) (2020-02-24)
### Bug Fixes
* readme fix; ([35902e0](https://github.com/xobotyi/scrollbar-width/commit/35902e085f6007954b552ce96bde0c342a0b4a4e))
## [1.9.2](https://github.com/xobotyi/scrollbar-width/compare/v1.9.1...v1.9.2) (2020-02-24)

@@ -2,0 +9,0 @@

2

package.json
{
"name": "@xobotyi/scrollbar-width",
"version": "1.9.2",
"version": "1.9.3",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

@@ -74,3 +74,3 @@ <div align="center">

This function has inner cache due to scrollbars width is not intended to be changed since initial call, but it can in case you toggle the device emulation.
If you need function to recalculate the width, set `scrollbarWidth.__cache` to `undefined` and next call will perform return the fresh value.
If you need function to recalculate the width call it with `true` parameter and get new value or set `scrollbarWidth.__cache` to `undefined` and next call will return the fresh value.

@@ -77,0 +77,0 @@ ## Related projects

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc