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

@zag-js/remove-scroll

Package Overview
Dependencies
Maintainers
1
Versions
721
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zag-js/remove-scroll - npm Package Compare versions

Comparing version 0.76.0 to 0.77.0

10

dist/index.js

@@ -9,6 +9,12 @@ 'use strict';

if (!el) return;
const previousStyle = el.style.cssText;
const previousStyle = Object.keys(style).reduce(
(acc, key) => {
acc[key] = el.style.getPropertyValue(key);
return acc;
},
{}
);
Object.assign(el.style, style);
return () => {
el.style.cssText = previousStyle;
Object.assign(el.style, previousStyle);
};

@@ -15,0 +21,0 @@ }

4

package.json
{
"name": "@zag-js/remove-scroll",
"version": "0.76.0",
"version": "0.77.0",
"description": "JavaScript utility to remove scroll on body",

@@ -22,3 +22,3 @@ "keywords": [

"dependencies": {
"@zag-js/dom-query": "0.76.0"
"@zag-js/dom-query": "0.77.0"
},

@@ -25,0 +25,0 @@ "devDependencies": {

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