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

@zag-js/rect-utils

Package Overview
Dependencies
Maintainers
1
Versions
794
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.1.3 to 0.1.4

10

dist/index.js

@@ -502,3 +502,4 @@ "use strict";

position: "fixed",
pointerEvents: "none"
pointerEvents: "none",
fill: "red"
});

@@ -516,6 +517,5 @@ const polygon = document.createElementNS("http://www.w3.org/2000/svg", "polygon");

el.setAttribute("points", points);
return () => {
el.remove();
};
}
debugPolygon.remove = () => {
const el = document.getElementById("debug-polygon");
el == null ? void 0 : el.remove();
};
import type { Point } from "./types";
export declare function isPointInPolygon(polygon: Point[], point: Point): boolean;
export declare function debugPolygon(polygon: Point[]): void;
export declare namespace debugPolygon {
var remove: () => void;
}
export declare function debugPolygon(polygon: Point[]): () => void;
{
"name": "@zag-js/rect-utils",
"version": "0.1.3",
"version": "0.1.4",
"description": "",

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

"dependencies": {
"@zag-js/dom-utils": "0.1.6",
"@zag-js/dom-utils": "0.1.7",
"@zag-js/utils": "0.1.2"

@@ -31,0 +31,0 @@ },

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