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

@zag-js/element-rect

Package Overview
Dependencies
Maintainers
1
Versions
706
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zag-js/element-rect - npm Package Compare versions

Comparing version 0.0.0-dev-20221103102301 to 0.0.0-dev-20221228121448

4

dist/index.d.ts

@@ -1,3 +0,3 @@

declare type Fn = (rect: DOMRect) => void;
declare type Measurable = {
type Fn = (rect: DOMRect) => void;
type Measurable = {
getBoundingClientRect(): DOMRect;

@@ -4,0 +4,0 @@ };

{
"name": "@zag-js/element-rect",
"version": "0.0.0-dev-20221103102301",
"version": "0.0.0-dev-20221228121448",
"description": "observe element's rect over time",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"keywords": [

@@ -27,6 +24,21 @@ "js",

},
"clean-package": "../../../clean-package.config.json",
"main": "dist/index.js",
"devDependencies": {
"clean-package": "2.2.0"
},
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"build-fast": "tsup src/index.ts --format=esm,cjs",
"build-fast": "tsup src",
"start": "pnpm build --watch",
"build": "tsup src/index.ts --format=esm,cjs --dts",
"build": "tsup src --dts",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",

@@ -33,0 +45,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