@chakra-ui/descendant
Advanced tools
Comparing version 0.0.0-dev-202212083710 to 0.0.0-dev-20221223180742
{ | ||
"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: |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
0
43933
3
4
18
1069
1
+ Added@chakra-ui/react-use-merge-refs@0.0.0-dev-20221223180742
+ Added@chakra-ui/react-context@0.0.0-dev-20221223180742(transitive)
+ Added@chakra-ui/react-use-merge-refs@0.0.0-dev-20221223180742(transitive)
- Removed@chakra-ui/react-utils@0.0.0-pr-202215132532(transitive)
- Removed@chakra-ui/utils@0.0.0-v3-20240109123510(transitive)
- Removed@types/lodash@4.17.13(transitive)
- Removed@types/lodash.mergewith@4.6.8(transitive)
- Removedlodash.mergewith@4.6.2(transitive)