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

@cloudflare/style-const

Package Overview
Dependencies
Maintainers
30
Versions
402
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudflare/style-const - npm Package Compare versions

Comparing version 5.3.10 to 5.3.11

5

dist/index.d.ts

@@ -1,2 +0,2 @@

import variables, { setColorOverride, revertColorOverrides } from './variables';
import variables from './variables';
import lightModeColors from './lightModeColors';

@@ -6,2 +6,3 @@ import darkModeColors from './darkModeColors';

import { isDarkMode, toggleDarkMode, setDarkMode, observeDarkMode, getDarkModeSetting, DarkModeSettings } from './utils';
export { variables, variables as theme, isDarkMode, toggleDarkMode, setDarkMode, observeDarkMode, getDarkModeSetting, setColorOverride, revertColorOverrides, lightModeColors, darkModeColors, DarkModeSettings, focusBoxShadow };
export { variables, variables as theme, isDarkMode, toggleDarkMode, setDarkMode, observeDarkMode, getDarkModeSetting, lightModeColors, darkModeColors, DarkModeSettings, focusBoxShadow };
export * from './variables';

@@ -1,2 +0,2 @@

import variables, { setColorOverride, revertColorOverrides } from './variables';
import variables from './variables';
import lightModeColors from './lightModeColors';

@@ -6,2 +6,3 @@ import darkModeColors from './darkModeColors';

import { isDarkMode, toggleDarkMode, setDarkMode, observeDarkMode, getDarkModeSetting, DarkModeSettings } from './utils';
export { variables, variables as theme, isDarkMode, toggleDarkMode, setDarkMode, observeDarkMode, getDarkModeSetting, setColorOverride, revertColorOverrides, lightModeColors, darkModeColors, DarkModeSettings, focusBoxShadow };
export { variables, variables as theme, isDarkMode, toggleDarkMode, setDarkMode, observeDarkMode, getDarkModeSetting, lightModeColors, darkModeColors, DarkModeSettings, focusBoxShadow };
export * from './variables';

36

lib/index.js

@@ -8,2 +8,15 @@ "use strict";

});
var _exportNames = {
variables: true,
theme: true,
lightModeColors: true,
darkModeColors: true,
focusBoxShadow: true,
isDarkMode: true,
toggleDarkMode: true,
setDarkMode: true,
observeDarkMode: true,
getDarkModeSetting: true,
DarkModeSettings: true
};
Object.defineProperty(exports, "variables", {

@@ -21,14 +34,2 @@ enumerable: true,

});
Object.defineProperty(exports, "setColorOverride", {
enumerable: true,
get: function get() {
return _variables.setColorOverride;
}
});
Object.defineProperty(exports, "revertColorOverrides", {
enumerable: true,
get: function get() {
return _variables.revertColorOverrides;
}
});
Object.defineProperty(exports, "lightModeColors", {

@@ -91,2 +92,13 @@ enumerable: true,

Object.keys(_variables).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function get() {
return _variables[key];
}
});
});
var _lightModeColors = _interopRequireDefault(require("./lightModeColors"));

@@ -93,0 +105,0 @@

{
"name": "@cloudflare/style-const",
"description": "Cloudflare Style Constants",
"version": "5.3.10",
"version": "5.3.11",
"main": "lib/index.js",

@@ -28,3 +28,3 @@ "module": "es/index.js",

},
"gitHead": "9f6d165ba934c0302f25907b0a0ca3a0b3bcb8e9"
"gitHead": "edc2cd251ac5fd289d91feda9b5903ee52a63285"
}

Sorry, the diff of this file is too big to display

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