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

@palett/dye

Package Overview
Dependencies
Maintainers
1
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@palett/dye - npm Package Compare versions

Comparing version 0.8.2 to 0.8.3

10

dist/index.cjs.js

@@ -41,3 +41,3 @@ 'use strict';

Dye.internal = function (encolor, color) {
Dye.make = function (encolor, color) {
var _this$slice2;

@@ -51,15 +51,15 @@

Dye.rgb = function (rgb) {
return Dye.internal.call(this, dyeFactory.pushRgb, rgb);
return Dye.make.call(this, dyeFactory.pushRgb, rgb);
};
Dye.hex = function (hex) {
return Dye.internal.call(this, dyeFactory.pushHex, hex);
return Dye.make.call(this, dyeFactory.pushHex, hex);
};
Dye.hsl = function (hsl) {
return Dye.internal.call(this, dyeFactory.pushHsl, hsl);
return Dye.make.call(this, dyeFactory.pushHsl, hsl);
};
Dye.int = function (int) {
return Dye.internal.call(this, dyeFactory.pushInt, int);
return Dye.make.call(this, dyeFactory.pushInt, int);
};

@@ -66,0 +66,0 @@

@@ -38,3 +38,3 @@ import { DyeFab, pushRgb, pushHex, pushHsl, pushInt } from '@palett/dye-factory';

Dye.internal = function (encolor, color) {
Dye.make = function (encolor, color) {
var _this$slice2;

@@ -48,17 +48,17 @@

Dye.rgb = function (rgb) {
return Dye.internal.call(this, pushRgb, rgb);
return Dye.make.call(this, pushRgb, rgb);
};
Dye.hex = function (hex) {
return Dye.internal.call(this, pushHex, hex);
return Dye.make.call(this, pushHex, hex);
};
Dye.hsl = function (hsl) {
return Dye.internal.call(this, pushHsl, hsl);
return Dye.make.call(this, pushHsl, hsl);
};
Dye.int = function (int) {
return Dye.internal.call(this, pushInt, int);
return Dye.make.call(this, pushInt, int);
};
export { Dye, dye };
{
"name": "@palett/dye",
"version": "0.8.2",
"version": "0.8.3",
"description": "A colorant to string",

@@ -20,7 +20,7 @@ "main": "dist/index.cjs.js",

"@ject/oneself": "^0.0.12",
"@palett/dye-factory": "^0.8.2",
"@palett/enum-ansi-codes": "^0.8.2",
"@palett/enum-color-space": "^0.8.2",
"@palett/enum-font-effects": "^0.8.2",
"@palett/util-ansi": "^0.8.2"
"@palett/dye-factory": "^0.8.3",
"@palett/enum-ansi-codes": "^0.8.3",
"@palett/enum-color-space": "^0.8.3",
"@palett/enum-font-effects": "^0.8.3",
"@palett/util-ansi": "^0.8.3"
},

@@ -45,3 +45,3 @@ "repository": {

"homepage": "https://github.com/hoyeungw/palett/dye#readme",
"gitHead": "ec8c56219ee71eea3504a63e1f7bd862dfd85d4a"
"gitHead": "e806c589dc4793f9c1e6eeb945647604672079b5"
}
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