Socket
Socket
Sign inDemoInstall

@chakra-ui/descendant

Package Overview
Dependencies
Maintainers
3
Versions
175
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/descendant - npm Package Compare versions

Comparing version 0.0.0-dev-202212083710 to 0.0.0-dev-20221223180742

dist/chunk-D5UZ3RNN.mjs

49

package.json
{
"name": "@chakra-ui/descendant",
"version": "0.0.0-dev-202212083710",
"version": "0.0.0-dev-20221223180742",
"description": "Register child nodes of a react element for better accessibility",

@@ -19,8 +19,5 @@ "keywords": [

"license": "MIT",
"main": "dist/chakra-ui-descendant.cjs.js",
"module": "dist/chakra-ui-descendant.esm.js",
"types": "dist/chakra-ui-descendant.cjs.d.ts",
"main": "dist/index.js",
"files": [
"dist",
"src"
"dist"
],

@@ -33,3 +30,3 @@ "publishConfig": {

"url": "git+https://github.com/chakra-ui/chakra-ui.git",
"directory": "packages/descendant"
"directory": "packages/components/descendant"
},

@@ -40,10 +37,40 @@ "bugs": {

"dependencies": {
"@chakra-ui/react-utils": "^0.0.0-dev-202212083710"
"@chakra-ui/react-context": "0.0.0-dev-20221223180742",
"@chakra-ui/react-use-merge-refs": "0.0.0-dev-20221223180742"
},
"peerDependencies": {
"react": ">=16.8.6"
"react": ">=18"
},
"devDependencies": {
"react": "^17.0.1"
"react": "^18.0.0",
"clean-package": "2.1.1",
"@chakra-ui/hooks": "0.0.0-dev-20221223180742",
"@chakra-ui/system": "0.0.0-dev-20221223180742"
},
"clean-package": "../../../clean-package.config.json",
"tsup": {
"clean": true,
"target": "es2019",
"format": [
"cjs",
"esm"
]
},
"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": "tsup src --dts",
"dev": "pnpm build:fast -- --watch",
"clean": "rimraf dist .turbo",
"typecheck": "tsc --noEmit",
"build:fast": "tsup src"
}
}
}

@@ -23,8 +23,8 @@ # Descendant

Descendants observer is an utility hook for keeping track of descendant elements
Descendants observer is a utility hook for keeping track of descendant elements
and their relative indices.
In short, this package allows each item in a list to know it's relative index
and the parent of the list can keep track of each child, without needing to
render in a loop and pass each component an index.
In short, this package allows each item in a list to know its relative index and
the parent of the list can keep track of each child, without needing to render
in a loop and pass each component an index.

@@ -31,0 +31,0 @@ This enables component composition:

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