Socket
Socket
Sign inDemoInstall

@zag-js/aria-hidden

Package Overview
Dependencies
0
Maintainers
1
Versions
664
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.3 to 0.1.4

dist/index.mjs

29

dist/index.js

@@ -0,2 +1,26 @@

"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, {
ariaHidden: () => ariaHidden
});
module.exports = __toCommonJS(src_exports);
var elementCountMap = /* @__PURE__ */ new WeakMap();

@@ -79,4 +103,5 @@ function isLiveRegion(node, win) {

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

12

package.json
{
"type": "module",
"name": "@zag-js/aria-hidden",
"version": "0.1.3",
"version": "0.1.4",
"description": "Hide targets from screen readers",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"keywords": [

@@ -14,4 +16,2 @@ "js",

"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "https://github.com/chakra-ui/zag/tree/main/packages/utilities/aria-hidden",

@@ -29,5 +29,5 @@ "sideEffects": false,

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc