@vibrant/quantizer-mmcq
Advanced tools
Comparing version 4.0.0-alpha.4 to 4.0.0-beta.1
import { Swatch } from '@vibrant/color'; | ||
import { Pixels } from '@vibrant/image'; | ||
import { QuantizerOptions } from '@vibrant/quantizer'; | ||
export declare const MMCQ: (pixels: Pixels, opts: QuantizerOptions) => Array<Swatch>; |
interface PQueueComparator<T> { | ||
(a: T, b: T): number; | ||
} | ||
/** | ||
* @private | ||
*/ | ||
export declare class PQueue<T> { | ||
@@ -5,0 +8,0 @@ contents: T[]; |
import { Histogram, Pixels } from '@vibrant/image'; | ||
import { Vec3 } from '@vibrant/color'; | ||
interface Dimension { | ||
@@ -13,2 +12,5 @@ r1: number; | ||
} | ||
/** | ||
* @private | ||
*/ | ||
export declare class VBox { | ||
@@ -15,0 +17,0 @@ histogram: Histogram; |
{ | ||
"name": "@vibrant/quantizer-mmcq", | ||
"version": "4.0.0-alpha.4", | ||
"version": "4.0.0-beta.1", | ||
"description": "MMCQ quantzier for vibrant", | ||
"author": "crutchcorn", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/Vibrant-Colors/node-vibrant.git", | ||
"directory": "packages/vibrant-quantizer-mmcq" | ||
}, | ||
"homepage": "https://vibrant.dev", | ||
"funding": { | ||
"type": "github", | ||
"url": "https://github.com/sponsors/crutchcorn" | ||
}, | ||
"scripts": { | ||
"build": "vite build", | ||
"test:eslint": "eslint ./src" | ||
"test:eslint": "eslint ./src", | ||
"test:types": "pnpm run \"/^test:types:ts[0-9]{2}$/\"", | ||
"test:types:ts49": "node ../../node_modules/typescript49/lib/tsc.js", | ||
"test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js", | ||
"test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js", | ||
"test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js", | ||
"test:types:ts56": "tsc", | ||
"test:build": "publint --strict" | ||
}, | ||
"dependencies": { | ||
"@vibrant/color": "^4.0.0-beta.1", | ||
"@vibrant/image": "^4.0.0-beta.1", | ||
"@vibrant/quantizer": "^4.0.0-beta.1" | ||
}, | ||
"devDependencies": { | ||
"@tanstack/config": "^0.15.0", | ||
"vite": "^6.0.3" | ||
}, | ||
"type": "module", | ||
@@ -31,25 +59,6 @@ "types": "dist/esm/index.d.ts", | ||
], | ||
"author": { | ||
"name": "akfish", | ||
"email": "akfish@gmail.com" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/akfish/node-vibrant/issues" | ||
}, | ||
"homepage": "https://github.com/akfish/node-vibrant", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@vibrant/color": "^4.0.0-alpha.4", | ||
"@vibrant/image": "^4.0.0-alpha.4", | ||
"@vibrant/quantizer": "^4.0.0-alpha.4" | ||
}, | ||
"devDependencies": { | ||
"@tanstack/config": "^0.14.2", | ||
"typescript": "^4.5.2", | ||
"vite": "^6.0.3" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "87c300667e339a8bc4f463d058c0e960f8d18ba9" | ||
"gitHead": "9d64d9d05b98dbb7042ecd2cbc685cc502931375" | ||
} |
@@ -5,2 +5,5 @@ interface PQueueComparator<T> { | ||
/** | ||
* @private | ||
*/ | ||
export class PQueue<T> { | ||
@@ -7,0 +10,0 @@ contents: T[]; |
@@ -19,2 +19,5 @@ import { Filter } from "@vibrant/color"; | ||
/** | ||
* @private | ||
*/ | ||
export class VBox { | ||
@@ -21,0 +24,0 @@ static build(pixels: Pixels): VBox { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
60914
2
937
0
1