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

@chakra-ui/theme-utils

Package Overview
Dependencies
Maintainers
2
Versions
194
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/theme-utils - npm Package Compare versions

Comparing version 2.0.18 to 2.0.19

dist/chunk-5IM46G4H.mjs

8

dist/extend-theme.js

@@ -21,2 +21,6 @@ "use strict";

var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,

@@ -47,3 +51,5 @@ mod

let activeTheme = extensions[extensions.length - 1];
if ((0, import_theme.isChakraTheme)(activeTheme) && overrides.length > 1) {
if ((0, import_theme.isChakraTheme)(activeTheme) && // this ensures backward compatibility
// previously only `extendTheme(override, activeTheme?)` was allowed
overrides.length > 1) {
overrides = overrides.slice(0, overrides.length - 1);

@@ -50,0 +56,0 @@ } else {

@@ -21,2 +21,6 @@ "use strict";

var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,

@@ -53,3 +57,5 @@ mod

let activeTheme = extensions[extensions.length - 1];
if ((0, import_theme.isChakraTheme)(activeTheme) && overrides.length > 1) {
if ((0, import_theme.isChakraTheme)(activeTheme) && // this ensures backward compatibility
// previously only `extendTheme(override, activeTheme?)` was allowed
overrides.length > 1) {
overrides = overrides.slice(0, overrides.length - 1);

@@ -56,0 +62,0 @@ } else {

@@ -21,2 +21,6 @@ "use strict";

var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,

@@ -53,3 +57,5 @@ mod

let activeTheme = extensions[extensions.length - 1];
if ((0, import_theme.isChakraTheme)(activeTheme) && overrides.length > 1) {
if ((0, import_theme.isChakraTheme)(activeTheme) && // this ensures backward compatibility
// previously only `extendTheme(override, activeTheme?)` was allowed
overrides.length > 1) {
overrides = overrides.slice(0, overrides.length - 1);

@@ -56,0 +62,0 @@ } else {

@@ -21,2 +21,6 @@ "use strict";

var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,

@@ -48,3 +52,5 @@ mod

let activeTheme = extensions[extensions.length - 1];
if ((0, import_theme.isChakraTheme)(activeTheme) && overrides.length > 1) {
if ((0, import_theme.isChakraTheme)(activeTheme) && // this ensures backward compatibility
// previously only `extendTheme(override, activeTheme?)` was allowed
overrides.length > 1) {
overrides = overrides.slice(0, overrides.length - 1);

@@ -51,0 +57,0 @@ } else {

@@ -21,2 +21,6 @@ "use strict";

var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,

@@ -47,3 +51,5 @@ mod

let activeTheme = extensions[extensions.length - 1];
if ((0, import_theme.isChakraTheme)(activeTheme) && overrides.length > 1) {
if ((0, import_theme.isChakraTheme)(activeTheme) && // this ensures backward compatibility
// previously only `extendTheme(override, activeTheme?)` was allowed
overrides.length > 1) {
overrides = overrides.slice(0, overrides.length - 1);

@@ -50,0 +56,0 @@ } else {

@@ -21,2 +21,6 @@ "use strict";

var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,

@@ -48,3 +52,5 @@ mod

let activeTheme = extensions[extensions.length - 1];
if ((0, import_theme.isChakraTheme)(activeTheme) && overrides.length > 1) {
if ((0, import_theme.isChakraTheme)(activeTheme) && // this ensures backward compatibility
// previously only `extendTheme(override, activeTheme?)` was allowed
overrides.length > 1) {
overrides = overrides.slice(0, overrides.length - 1);

@@ -51,0 +57,0 @@ } else {

@@ -21,2 +21,6 @@ "use strict";

var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,

@@ -48,3 +52,5 @@ mod

let activeTheme = extensions[extensions.length - 1];
if ((0, import_theme.isChakraTheme)(activeTheme) && overrides.length > 1) {
if ((0, import_theme.isChakraTheme)(activeTheme) && // this ensures backward compatibility
// previously only `extendTheme(override, activeTheme?)` was allowed
overrides.length > 1) {
overrides = overrides.slice(0, overrides.length - 1);

@@ -51,0 +57,0 @@ } else {

4

package.json
{
"name": "@chakra-ui/theme-utils",
"version": "2.0.18",
"version": "2.0.19",
"description": "",

@@ -36,3 +36,3 @@ "keywords": [

"@chakra-ui/styled-system": "2.9.1",
"@chakra-ui/theme": "3.1.2",
"@chakra-ui/theme": "3.2.0",
"@chakra-ui/shared-utils": "2.0.5"

@@ -39,0 +39,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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