New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@blueprintjs/colors

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blueprintjs/colors - npm Package Compare versions

Comparing version 4.0.0-beta.2 to 4.0.0-beta.3

13

lib/colors.d.ts

@@ -1,5 +0,12 @@

/**
* Blueprint 4.x "modernized" colors
*/
export declare const Colors: {
/** @deprecated use CERULEAN1 */
COBALT1: string;
/** @deprecated use CERULEAN2 */
COBALT2: string;
/** @deprecated use CERULEAN3 */
COBALT3: string;
/** @deprecated use CERULEAN4 */
COBALT4: string;
/** @deprecated use CERULEAN5 */
COBALT5: string;
CERULEAN1: string;

@@ -6,0 +13,0 @@ CERULEAN2: string;

@@ -112,6 +112,22 @@ "use strict";

};
/* eslint-disable deprecation/deprecation */
/**
* Blueprint 4.x "modernized" colors
* Blueprint v3.x legacy color names, provided as aliases for their new names in v4.x.
* These symbols allow references to the "cobalt" identifiers (not color hex values)
* to continue working with the new color palette. They will be removed in v5.0.
*/
exports.Colors = Object.assign(Object.assign(Object.assign({}, grayScale), coreColors), extendedColors);
const legacyColors = {
/** @deprecated use CERULEAN1 */
COBALT1: extendedColors.CERULEAN1,
/** @deprecated use CERULEAN2 */
COBALT2: extendedColors.CERULEAN2,
/** @deprecated use CERULEAN3 */
COBALT3: extendedColors.CERULEAN3,
/** @deprecated use CERULEAN4 */
COBALT4: extendedColors.CERULEAN4,
/** @deprecated use CERULEAN5 */
COBALT5: extendedColors.CERULEAN5,
};
/* eslint-enable deprecation/deprecation */
exports.Colors = Object.assign(Object.assign(Object.assign(Object.assign({}, grayScale), coreColors), extendedColors), legacyColors);
//# sourceMappingURL=colors.js.map
{
"name": "@blueprintjs/colors",
"version": "4.0.0-beta.2",
"version": "4.0.0-beta.3",
"description": "Blueprint color definitions",

@@ -17,3 +17,2 @@ "main": "lib/index.js",

"lint-fix": "es-lint --fix && sass-lint --fix",
"test": "mocha test/index.js",
"verify": "npm-run-all compile -p dist lint"

@@ -20,0 +19,0 @@ },

@@ -129,5 +129,22 @@ /*

/* eslint-disable deprecation/deprecation */
/**
* Blueprint 4.x "modernized" colors
* Blueprint v3.x legacy color names, provided as aliases for their new names in v4.x.
* These symbols allow references to the "cobalt" identifiers (not color hex values)
* to continue working with the new color palette. They will be removed in v5.0.
*/
const legacyColors = {
/** @deprecated use CERULEAN1 */
COBALT1: extendedColors.CERULEAN1,
/** @deprecated use CERULEAN2 */
COBALT2: extendedColors.CERULEAN2,
/** @deprecated use CERULEAN3 */
COBALT3: extendedColors.CERULEAN3,
/** @deprecated use CERULEAN4 */
COBALT4: extendedColors.CERULEAN4,
/** @deprecated use CERULEAN5 */
COBALT5: extendedColors.CERULEAN5,
};
/* eslint-enable deprecation/deprecation */
export const Colors = {

@@ -137,2 +154,3 @@ ...grayScale,

...extendedColors,
...legacyColors,
};

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