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

@zag-js/popper

Package Overview
Dependencies
Maintainers
1
Versions
904
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zag-js/popper - npm Package Compare versions

Comparing version 0.0.0-dev-20220612194202 to 0.0.0-dev-20220615060231

1

dist/auto-update.d.ts

@@ -9,2 +9,1 @@ import type { Placement, ReferenceElement } from "@floating-ui/dom";

export declare function autoUpdate(reference: ReferenceElement, floating: HTMLElement, update: () => void, options?: boolean | AutoUpdateOptions): (v: void) => void;
//# sourceMappingURL=auto-update.d.ts.map
import type { VirtualElement } from "@floating-ui/dom";
import { PositioningOptions } from "./types";
export declare function getPlacement(reference: HTMLElement | VirtualElement | null, floating: HTMLElement | null, options?: PositioningOptions): (v: void) => void;
//# sourceMappingURL=get-placement.d.ts.map

@@ -36,2 +36,1 @@ import { Placement } from "@floating-ui/dom";

export {};
//# sourceMappingURL=get-styles.d.ts.map
export { getPlacement } from "./get-placement";
export { getPlacementStyles } from "./get-styles";
export type { Placement, PositioningOptions } from "./types";
//# sourceMappingURL=index.d.ts.map

@@ -45,5 +45,3 @@ var __defProp = Object.defineProperty;

// ../core/dist/index.mjs
var isDom = () => typeof window !== "undefined";
var isBoolean = (v) => v === true || v === false;
var isTouchDevice = isDom() && !!navigator.maxTouchPoints;
var noop = () => {

@@ -57,5 +55,3 @@ };

// ../dom/dist/index.mjs
var isDom2 = () => typeof window !== "undefined";
var hasProp = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop);
var isTouchDevice2 = isDom2() && !!navigator.maxTouchPoints;
var runIfFn = (v, ...a) => {

@@ -405,2 +401,1 @@ const res = typeof v === "function" ? v(...a) : v;

}
//# sourceMappingURL=index.js.map

@@ -30,2 +30,1 @@ import { Middleware } from "@floating-ui/dom";

export {};
//# sourceMappingURL=middleware.d.ts.map

@@ -62,2 +62,1 @@ import type { Boundary, Placement, ComputePositionReturn } from "@floating-ui/dom";

};
//# sourceMappingURL=types.d.ts.map

4

package.json
{
"name": "@zag-js/popper",
"version": "0.0.0-dev-20220612194202",
"version": "0.0.0-dev-20220615060231",
"description": "Dynamic positioning logic for ui machines",

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

"@floating-ui/dom": "^0.4.2",
"@zag-js/dom-utils": "0.0.0-dev-20220612194202",
"@zag-js/dom-utils": "0.0.0-dev-20220615060231",
"@zag-js/utils": "0.1.2"

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