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

@zag-js/remove-scroll

Package Overview
Dependencies
Maintainers
1
Versions
748
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.0.0-dev-20220830133710 to 0.0.0-dev-20220919164136

33

dist/index.js

@@ -1,28 +0,2 @@

"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/index.ts
var src_exports = {};
__export(src_exports, {
preventBodyScroll: () => preventBodyScroll
});
module.exports = __toCommonJS(src_exports);
// ../dom/dist/index.mjs
// ../dom/dist/index.js
var isDom = () => typeof window !== "undefined";

@@ -108,5 +82,4 @@ function getPlatform() {

}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
export {
preventBodyScroll
});
};

10

package.json
{
"type": "module",
"name": "@zag-js/remove-scroll",
"version": "0.0.0-dev-20220830133710",
"version": "0.0.0-dev-20220919164136",
"description": "JavaScript utility to remove scroll on body",

@@ -14,3 +15,2 @@ "keywords": [

"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",

@@ -26,3 +26,3 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/utilities/remove-scroll",

"devDependencies": {
"@zag-js/dom-utils": "0.0.0-dev-20220830133710"
"@zag-js/dom-utils": "0.0.0-dev-20220919164136"
},

@@ -33,5 +33,5 @@ "bugs": {

"scripts": {
"build-fast": "tsup src/index.ts --format=esm,cjs",
"build-fast": "tsup src/index.ts --format=esm",
"start": "pnpm build --watch",
"build": "tsup src/index.ts --format=esm,cjs --dts",
"build": "tsup src/index.ts --format=esm --dts",
"test": "jest --config ../../../jest.config.js --rootDir tests",

@@ -38,0 +38,0 @@ "lint": "eslint src --ext .ts,.tsx",

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