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

@thi.ng/color

Package Overview
Dependencies
Maintainers
1
Versions
269
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/color - npm Package Compare versions

Comparing version 5.6.41 to 5.6.42

6

analog.d.ts

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

import type { Fn3, Fn4, FnU3 } from "@thi.ng/api";
import type { Fn3, Fn4, FnU3, Maybe } from "@thi.ng/api";
import type { IRandom } from "@thi.ng/random";
import type { Color, ReadonlyColor, TypedColor } from "./api.js";
export declare const defAnalog: FnU3<Fn3<number, number, IRandom, number>, Fn4<Color | null, TypedColor<any>, number, IRandom | undefined, Color>>;
export declare const defAnalog: FnU3<Fn3<number, number, IRandom, number>, Fn4<Color | null, TypedColor<any>, number, Maybe<IRandom>, Color>>;
/**

@@ -16,3 +16,3 @@ * Returns a random analog color based on given `src` color and variance

*/
export declare const analog: import("@thi.ng/defmulti").MultiFn4<import("@thi.ng/vectors").Vec | null, TypedColor<any>, number, IRandom | undefined, import("@thi.ng/vectors").Vec>;
export declare const analog: import("@thi.ng/defmulti").MultiFn4<import("@thi.ng/vectors").Vec | null, TypedColor<any>, number, Maybe<IRandom>, import("@thi.ng/vectors").Vec>;
/**

@@ -19,0 +19,0 @@ * Similar to {@link analogRgb}. Returns an analog color based on given HSVA

# Change Log
- **Last updated**: 2024-04-11T12:32:44Z
- **Last updated**: 2024-04-20T14:42:45Z
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)

@@ -12,2 +12,8 @@

### [5.6.42](https://github.com/thi-ng/umbrella/tree/@thi.ng/color@5.6.42) (2024-04-20)
#### ♻️ Refactoring
- update type usage ([39494f2](https://github.com/thi-ng/umbrella/commit/39494f2))
### [5.6.40](https://github.com/thi-ng/umbrella/tree/@thi.ng/color@5.6.40) (2024-04-08)

@@ -14,0 +20,0 @@

@@ -0,3 +1,4 @@

import type { Maybe } from "@thi.ng/api";
import type { TypedColor } from "./api.js";
export declare const isBlack: import("@thi.ng/defmulti").MultiFn2<TypedColor<any>, number | undefined, boolean>;
export declare const isBlack: import("@thi.ng/defmulti").MultiFn2<TypedColor<any>, Maybe<number>, boolean>;
//# sourceMappingURL=is-black.d.ts.map

@@ -0,3 +1,4 @@

import type { Maybe } from "@thi.ng/api";
import type { TypedColor } from "./api.js";
export declare const isGray: import("@thi.ng/defmulti").MultiFn2<TypedColor<any>, number | undefined, boolean>;
export declare const isGray: import("@thi.ng/defmulti").MultiFn2<TypedColor<any>, Maybe<number>, boolean>;
//# sourceMappingURL=is-gray.d.ts.map

@@ -0,3 +1,4 @@

import type { Maybe } from "@thi.ng/api";
import type { TypedColor } from "./api.js";
export declare const isWhite: import("@thi.ng/defmulti").MultiFn2<TypedColor<any>, number | undefined, boolean>;
export declare const isWhite: import("@thi.ng/defmulti").MultiFn2<TypedColor<any>, Maybe<number>, boolean>;
//# sourceMappingURL=is-white.d.ts.map
{
"name": "@thi.ng/color",
"version": "5.6.41",
"version": "5.6.42",
"description": "Array-based color types, CSS parsing, conversions, transformations, declarative theme generation, gradients, presets",

@@ -43,15 +43,15 @@ "type": "module",

"dependencies": {
"@thi.ng/api": "^8.10.1",
"@thi.ng/arrays": "^2.9.3",
"@thi.ng/binary": "^3.4.22",
"@thi.ng/checks": "^3.6.1",
"@thi.ng/compare": "^2.3.2",
"@thi.ng/compose": "^3.0.1",
"@thi.ng/defmulti": "^3.0.36",
"@thi.ng/errors": "^2.5.4",
"@thi.ng/math": "^5.10.10",
"@thi.ng/random": "^3.7.3",
"@thi.ng/strings": "^3.7.30",
"@thi.ng/transducers": "^9.0.1",
"@thi.ng/vectors": "^7.10.27"
"@thi.ng/api": "^8.11.0",
"@thi.ng/arrays": "^2.9.4",
"@thi.ng/binary": "^3.4.23",
"@thi.ng/checks": "^3.6.2",
"@thi.ng/compare": "^2.3.3",
"@thi.ng/compose": "^3.0.2",
"@thi.ng/defmulti": "^3.0.37",
"@thi.ng/errors": "^2.5.5",
"@thi.ng/math": "^5.10.11",
"@thi.ng/random": "^3.7.4",
"@thi.ng/strings": "^3.7.31",
"@thi.ng/transducers": "^9.0.2",
"@thi.ng/vectors": "^7.10.28"
},

@@ -450,3 +450,3 @@ "devDependencies": {

},
"gitHead": "18a0c063a7b33d790e5bc2486c106f45f663ac28\n"
"gitHead": "8339d05ecc857e529c7325a9839c0063b89e728d\n"
}

@@ -668,6 +668,6 @@ <!-- This file is generated - DO NOT EDIT! -->

```html
<script type="module" src="https://cdn.skypack.dev/@thi.ng/color"></script>
<script type="module" src="https://esm.run/@thi.ng/color"></script>
```
[Skypack documentation](https://docs.skypack.dev/)
[JSDelivr documentation](https://www.jsdelivr.com/)

@@ -674,0 +674,0 @@ For Node.js REPL:

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