@chakra-ui/hooks
Advanced tools
Comparing version 0.0.0-pr-202215132532 to 0.0.0-v2-latest-20241001120143
254
package.json
{ | ||
"name": "@chakra-ui/hooks", | ||
"version": "0.0.0-pr-202215132532", | ||
"version": "0.0.0-v2-latest-20241001120143", | ||
"description": "React hooks for Chakra components", | ||
@@ -15,16 +15,8 @@ "keywords": [ | ||
"license": "MIT", | ||
"main": "dist/chakra-ui-hooks.cjs.js", | ||
"module": "dist/chakra-ui-hooks.esm.js", | ||
"types": "dist/chakra-ui-hooks.cjs.d.ts", | ||
"main": "dist/cjs/index.cjs", | ||
"module": "dist/esm/index.mjs", | ||
"types": "dist/types/index.d.ts", | ||
"files": [ | ||
"dist", | ||
"src", | ||
"use-animation-state" | ||
"dist" | ||
], | ||
"preconstruct": { | ||
"entrypoints": [ | ||
"index.ts", | ||
"use-animation-state.ts" | ||
] | ||
}, | ||
"publishConfig": { | ||
@@ -36,3 +28,3 @@ "access": "public" | ||
"url": "git+https://github.com/chakra-ui/chakra-ui.git", | ||
"directory": "packages/hooks" | ||
"directory": "packages/legacy/hooks" | ||
}, | ||
@@ -43,13 +35,233 @@ "bugs": { | ||
"dependencies": { | ||
"@chakra-ui/react-utils": "0.0.0-pr-202215132532", | ||
"@chakra-ui/utils": "0.0.0-pr-202215132532", | ||
"compute-scroll-into-view": "1.0.14", | ||
"copy-to-clipboard": "3.3.1" | ||
"@zag-js/element-size": "0.31.1", | ||
"copy-to-clipboard": "3.3.3", | ||
"framesync": "6.1.2", | ||
"@chakra-ui/utils": "2.0.15" | ||
}, | ||
"peerDependencies": { | ||
"react": ">=16.8.6" | ||
"react": ">=18" | ||
}, | ||
"devDependencies": { | ||
"react": "^17.0.1" | ||
"react": "^18.2.0" | ||
}, | ||
"exports": { | ||
".": { | ||
"import": { | ||
"types": "./dist/types/index.d.mts", | ||
"default": "./dist/esm/index.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/index.d.ts", | ||
"default": "./dist/cjs/index.cjs" | ||
} | ||
}, | ||
"./use-animation-state": { | ||
"import": { | ||
"types": "./dist/types/use-animation-state.d.mts", | ||
"default": "./dist/esm/use-animation-state.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-animation-state.d.ts", | ||
"default": "./dist/cjs/use-animation-state.cjs" | ||
} | ||
}, | ||
"./use-boolean": { | ||
"import": { | ||
"types": "./dist/types/use-boolean.d.mts", | ||
"default": "./dist/esm/use-boolean.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-boolean.d.ts", | ||
"default": "./dist/cjs/use-boolean.cjs" | ||
} | ||
}, | ||
"./use-callback-ref": { | ||
"import": { | ||
"types": "./dist/types/use-callback-ref.d.mts", | ||
"default": "./dist/esm/use-callback-ref.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-callback-ref.d.ts", | ||
"default": "./dist/cjs/use-callback-ref.cjs" | ||
} | ||
}, | ||
"./use-clipboard": { | ||
"import": { | ||
"types": "./dist/types/use-clipboard.d.mts", | ||
"default": "./dist/esm/use-clipboard.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-clipboard.d.ts", | ||
"default": "./dist/cjs/use-clipboard.cjs" | ||
} | ||
}, | ||
"./use-controllable-state": { | ||
"import": { | ||
"types": "./dist/types/use-controllable-state.d.mts", | ||
"default": "./dist/esm/use-controllable-state.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-controllable-state.d.ts", | ||
"default": "./dist/cjs/use-controllable-state.cjs" | ||
} | ||
}, | ||
"./use-counter": { | ||
"import": { | ||
"types": "./dist/types/use-counter.d.mts", | ||
"default": "./dist/esm/use-counter.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-counter.d.ts", | ||
"default": "./dist/cjs/use-counter.cjs" | ||
} | ||
}, | ||
"./use-disclosure": { | ||
"import": { | ||
"types": "./dist/types/use-disclosure.d.mts", | ||
"default": "./dist/esm/use-disclosure.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-disclosure.d.ts", | ||
"default": "./dist/cjs/use-disclosure.cjs" | ||
} | ||
}, | ||
"./use-event-listener": { | ||
"import": { | ||
"types": "./dist/types/use-event-listener.d.mts", | ||
"default": "./dist/esm/use-event-listener.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-event-listener.d.ts", | ||
"default": "./dist/cjs/use-event-listener.cjs" | ||
} | ||
}, | ||
"./use-focus-effect": { | ||
"import": { | ||
"types": "./dist/types/use-focus-effect.d.mts", | ||
"default": "./dist/esm/use-focus-effect.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-focus-effect.d.ts", | ||
"default": "./dist/cjs/use-focus-effect.cjs" | ||
} | ||
}, | ||
"./use-focus-on-pointer-down": { | ||
"import": { | ||
"types": "./dist/types/use-focus-on-pointer-down.d.mts", | ||
"default": "./dist/esm/use-focus-on-pointer-down.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-focus-on-pointer-down.d.ts", | ||
"default": "./dist/cjs/use-focus-on-pointer-down.cjs" | ||
} | ||
}, | ||
"./use-interval": { | ||
"import": { | ||
"types": "./dist/types/use-interval.d.mts", | ||
"default": "./dist/esm/use-interval.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-interval.d.ts", | ||
"default": "./dist/cjs/use-interval.cjs" | ||
} | ||
}, | ||
"./use-latest-ref": { | ||
"import": { | ||
"types": "./dist/types/use-latest-ref.d.mts", | ||
"default": "./dist/esm/use-latest-ref.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-latest-ref.d.ts", | ||
"default": "./dist/cjs/use-latest-ref.cjs" | ||
} | ||
}, | ||
"./use-merge-refs": { | ||
"import": { | ||
"types": "./dist/types/use-merge-refs.d.mts", | ||
"default": "./dist/esm/use-merge-refs.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-merge-refs.d.ts", | ||
"default": "./dist/cjs/use-merge-refs.cjs" | ||
} | ||
}, | ||
"./use-outside-click": { | ||
"import": { | ||
"types": "./dist/types/use-outside-click.d.mts", | ||
"default": "./dist/esm/use-outside-click.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-outside-click.d.ts", | ||
"default": "./dist/cjs/use-outside-click.cjs" | ||
} | ||
}, | ||
"./use-pan-event": { | ||
"import": { | ||
"types": "./dist/types/use-pan-event/index.d.mts", | ||
"default": "./dist/esm/use-pan-event/index.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-pan-event/index.d.ts", | ||
"default": "./dist/cjs/use-pan-event/index.cjs" | ||
} | ||
}, | ||
"./use-previous": { | ||
"import": { | ||
"types": "./dist/types/use-previous.d.mts", | ||
"default": "./dist/esm/use-previous.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-previous.d.ts", | ||
"default": "./dist/cjs/use-previous.cjs" | ||
} | ||
}, | ||
"./use-safe-layout-effect": { | ||
"import": { | ||
"types": "./dist/types/use-safe-layout-effect.d.mts", | ||
"default": "./dist/esm/use-safe-layout-effect.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-safe-layout-effect.d.ts", | ||
"default": "./dist/cjs/use-safe-layout-effect.cjs" | ||
} | ||
}, | ||
"./use-size": { | ||
"import": { | ||
"types": "./dist/types/use-size.d.mts", | ||
"default": "./dist/esm/use-size.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-size.d.ts", | ||
"default": "./dist/cjs/use-size.cjs" | ||
} | ||
}, | ||
"./use-timeout": { | ||
"import": { | ||
"types": "./dist/types/use-timeout.d.mts", | ||
"default": "./dist/esm/use-timeout.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-timeout.d.ts", | ||
"default": "./dist/cjs/use-timeout.cjs" | ||
} | ||
}, | ||
"./use-update-effect": { | ||
"import": { | ||
"types": "./dist/types/use-update-effect.d.mts", | ||
"default": "./dist/esm/use-update-effect.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/types/use-update-effect.d.ts", | ||
"default": "./dist/cjs/use-update-effect.cjs" | ||
} | ||
}, | ||
"./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" | ||
} | ||
} | ||
} |
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
81355
76
2265
1
+ Added@zag-js/element-size@0.31.1
+ Addedframesync@6.1.2
+ Added@chakra-ui/utils@2.0.15(transitive)
+ Added@types/lodash.mergewith@4.6.7(transitive)
+ Added@zag-js/element-size@0.31.1(transitive)
+ Addedcopy-to-clipboard@3.3.3(transitive)
+ Addedframesync@6.1.2(transitive)
+ Addedtslib@2.4.0(transitive)
- Removedcompute-scroll-into-view@1.0.14
- Removed@chakra-ui/react-utils@0.0.0-pr-202215132532(transitive)
- Removed@chakra-ui/utils@0.0.0-pr-202215132532(transitive)
- Removed@types/lodash.mergewith@4.6.6(transitive)
- Removedcompute-scroll-into-view@1.0.14(transitive)
- Removedcopy-to-clipboard@3.3.1(transitive)
- Removedframesync@5.3.0(transitive)
- Removedtslib@2.8.1(transitive)
Updated@chakra-ui/utils@2.0.15
Updatedcopy-to-clipboard@3.3.3