Socket
Socket
Sign inDemoInstall

@chakra-ui/color-mode

Package Overview
Dependencies
Maintainers
4
Versions
363
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/color-mode - 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/esm/color-mode.utils.js

@@ -17,5 +17,3 @@ import { isBrowser, noop } from "@chakra-ui/utils";

var getBody = () => {
return isBrowser ? document.body : mockBody;
};
var getBody = () => isBrowser ? document.body : mockBody;
/**

@@ -22,0 +20,0 @@ * Function to add/remove class from `body` based on color mode

{
"name": "@chakra-ui/color-mode",
"version": "1.0.1",
"version": "1.0.2",
"description": "React component and hooks for handling light and dark mode.",

@@ -60,4 +60,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"
},

@@ -64,0 +64,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