Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@chakra-ui/counter

Package Overview
Dependencies
Maintainers
4
Versions
324
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/counter - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

9

CHANGELOG.md
# Change Log
## 1.0.2
### Patch Changes
- Updated dependencies
[[`e73878ee`](https://github.com/chakra-ui/chakra-ui/commit/e73878ee686c11d3f94ad6ac61b19ae9508d75a5)]:
- @chakra-ui/utils@1.0.2
- @chakra-ui/hooks@1.0.2
## 1.0.1

@@ -4,0 +13,0 @@

4

dist/cjs/use-counter.js

@@ -89,3 +89,3 @@ "use strict";

update(next);
}, [clamp, props.min, stepProp, update, value]);
}, [clamp, stepProp, update, value]);
var decrement = (0, _react.useCallback)(function (step) {

@@ -106,3 +106,3 @@ if (step === void 0) {

update(next);
}, [clamp, props.min, stepProp, update, value]);
}, [clamp, stepProp, update, value]);
var reset = (0, _react.useCallback)(function () {

@@ -109,0 +109,0 @@ var next;

@@ -71,3 +71,3 @@ import { useControllableProp } from "@chakra-ui/hooks";

update(next);
}, [clamp, props.min, stepProp, update, value]);
}, [clamp, stepProp, update, value]);
var decrement = useCallback(function (step) {

@@ -88,3 +88,3 @@ if (step === void 0) {

update(next);
}, [clamp, props.min, stepProp, update, value]);
}, [clamp, stepProp, update, value]);
var reset = useCallback(() => {

@@ -91,0 +91,0 @@ var next;

{
"name": "@chakra-ui/counter",
"version": "1.0.1",
"version": "1.0.2",
"description": "A React hook for managing counters",

@@ -58,4 +58,4 @@ "keywords": [

"dependencies": {
"@chakra-ui/hooks": "1.0.1",
"@chakra-ui/utils": "1.0.1"
"@chakra-ui/hooks": "1.0.2",
"@chakra-ui/utils": "1.0.2"
},

@@ -62,0 +62,0 @@ "peerDependencies": {

Sorry, the diff of this file is not supported yet

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