@vibrant/quantizer
Advanced tools
Comparing version 3.2.1-alpha.1 to 4.0.0-alpha.1
{ | ||
"name": "@vibrant/quantizer", | ||
"version": "3.2.1-alpha.1", | ||
"version": "4.0.0-alpha.1", | ||
"description": "Helper and typings for writing a vibrant quantizer", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"build": "vite build" | ||
}, | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"type": "module", | ||
"types": "dist/esm/index.d.ts", | ||
"main": "dist/cjs/index.cjs", | ||
"module": "dist/esm/index.js", | ||
"exports": { | ||
".": { | ||
"import": { | ||
"types": "./dist/esm/index.d.ts", | ||
"default": "./dist/esm/index.js" | ||
}, | ||
"require": { | ||
"types": "./dist/cjs/index.d.cts", | ||
"default": "./dist/cjs/index.cjs" | ||
} | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"sideEffects": false, | ||
"files": [ | ||
"dist", | ||
"src" | ||
], | ||
"author": { | ||
@@ -20,8 +40,10 @@ "name": "akfish", | ||
"dependencies": { | ||
"@vibrant/color": "^3.2.1-alpha.1", | ||
"@vibrant/image": "^3.2.1-alpha.1", | ||
"@vibrant/types": "^3.2.1-alpha.1" | ||
"@vibrant/color": "^4.0.0-alpha.1", | ||
"@vibrant/image": "^4.0.0-alpha.1", | ||
"@vibrant/types": "^4.0.0-alpha.1" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^3.7.2" | ||
"@tanstack/config": "^0.14.2", | ||
"typescript": "^4.5.2", | ||
"vite": "^6.0.3" | ||
}, | ||
@@ -31,3 +53,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "e667d4c12e1de66e251d451710b093e9cb4630c2" | ||
"gitHead": "968ad565c625279b5d3e2baf3e5da7f764551ade" | ||
} |
@@ -1,10 +0,10 @@ | ||
import { Pixels } from '@vibrant/image' | ||
import { Resolvable } from '@vibrant/types' | ||
import { Swatch } from '@vibrant/color' | ||
import { Pixels } from "@vibrant/image"; | ||
import { Resolvable } from "@vibrant/types"; | ||
import { Swatch } from "@vibrant/color"; | ||
export interface QuantizerOptions { | ||
colorCount: number | ||
colorCount: number; | ||
} | ||
export interface Quantizer { | ||
(pixels: Pixels, opts: QuantizerOptions): Resolvable<Array<Swatch>> | ||
(pixels: Pixels, opts: QuantizerOptions): Resolvable<Array<Swatch>>; | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
2480
9
21
1
0
Yes
3
+ Added@vibrant/color@4.0.0(transitive)
+ Added@vibrant/image@4.0.0(transitive)
+ Added@vibrant/types@4.0.0(transitive)
- Removed@vibrant/color@3.2.1-alpha.1(transitive)
- Removed@vibrant/image@3.2.1-alpha.1(transitive)
- Removed@vibrant/types@3.2.1-alpha.1(transitive)