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

@palett/presets

Package Overview
Dependencies
Maintainers
1
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@palett/presets - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

2

dist/index.cjs.js

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

const hsl = (_min = min, convert.hexToHsl(_min));
const max = (_toner = tonerHsl.toner(hsl.slice(), rand.randIntBetw(-12, 12), rand.randIntBetw(-5, 10), rand.randIntBetw(6, 18)), convert.hslToHex(_toner));
const max = (_toner = tonerHsl.toner(hsl.slice(), rand.randBetw(-12, 12), rand.randBetw(-5, 10), rand.randBetw(6, 18)), convert.hslToHex(_toner));
const na = (_ref = [reverseHue(hsl[0]), constraint(hsl[1] - 32, 5, 90), constraint(hsl[2] + 24, 40, 96)], convert.hslToHex(_ref));

@@ -116,0 +116,0 @@ return {

import { Palett } from '@palett/cards';
import { randIntBetw } from '@aryth/rand';
import { randBetw } from '@aryth/rand';
import { hexToHsl, hslToHex, hslToRgb } from '@palett/convert';

@@ -109,3 +109,3 @@ import { toner } from '@palett/toner-hsl';

const hsl = (_min = min, hexToHsl(_min));
const max = (_toner = toner(hsl.slice(), randIntBetw(-12, 12), randIntBetw(-5, 10), randIntBetw(6, 18)), hslToHex(_toner));
const max = (_toner = toner(hsl.slice(), randBetw(-12, 12), randBetw(-5, 10), randBetw(6, 18)), hslToHex(_toner));
const na = (_ref = [reverseHue(hsl[0]), constraint(hsl[1] - 32, 5, 90), constraint(hsl[2] + 24, 40, 96)], hslToHex(_ref));

@@ -112,0 +112,0 @@ return {

{
"name": "@palett/presets",
"version": "0.5.0",
"version": "0.5.1",
"description": "A color converter",

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

"@ject/oneself": "^0.0.6",
"@palett/cards": "^0.5.0",
"@palett/convert": "^0.5.0",
"@palett/toner-hsl": "^0.5.0"
"@palett/cards": "^0.5.1",
"@palett/convert": "^0.5.1",
"@palett/toner-hsl": "^0.5.1"
},

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

"homepage": "https://github.com/hoyeungw/palett/presets#readme",
"gitHead": "97289417a2ca5a1543d5cc7a7de9e34c6942184e"
"gitHead": "535b834cdf941adb4711877bdb06904339c59929"
}
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