Vigia

color-convert を 2.x から 3.x へアップグレード

color-convert 2.0.1 と 3.1.3 の公開 API を、TypeScript の型から自動的に比較したものです。シグネチャの変更は破壊的変更の候補であり、確定ではありません。

概要

削除されたインポートパス2
削除されたエクスポート15
変更されたシグネチャ0
削除されたクラス/インターフェースのメンバー0
変更されたクラス/インターフェースのメンバー0
新たに非推奨0
要件の変更(engines、peer 依存関係)1
新しいエクスポート18

削除されたインポートパス

削除されたインポートパス
color-convert/route
color-convert/conversions

削除されたエクスポート

importexportkind変更前
color-converthcgvariabletypeof hcg & hcg & { rgb: { raw: (from: HCG) => RGB; }; hsl: { raw: (from: HCG) => HSL; }; hsv: { raw: (from: HCG) => HSV; }; hwb: { raw: (from: HCG) => HWB; }; cmyk: { raw: (from: HCG) => CMYK; }; xyz: { raw: (from: HCG) => XYZ; }; lab: { raw: (from: HCG) => LAB; }; lch: { raw: (from: HCG) => LCH; }; hex: { raw: (from: HCG) => string; }; keyword: { raw: (from: HCG) => string | number | symbol; }; ansi16: { raw: (from: HCG) => number; }; ansi256: { raw: (from: HCG) => number; }; apple: { raw: (from: HCG) => APPLE; }; gray: { raw: (from: HCG) => GRAY; }; }
color-converthexvariabletypeof hex & hex & { rgb: { raw: (from: string) => RGB; }; hsl: { raw: (from: string) => HSL; }; hsv: { raw: (from: string) => HSV; }; hwb: { raw: (from: string) => HWB; }; cmyk: { raw: (from: string) => CMYK; }; xyz: { raw: (from: string) => XYZ; }; lab: { raw: (from: string) => LAB; }; lch: { raw: (from: string) => LCH; }; keyword: { raw: (from: string) => string | number | symbol; }; ansi16: { raw: (from: string) => number; }; ansi256: { raw: (from: string) => number; }; hcg: { raw: (from: string) => HCG; }; apple: { raw: (from: string) => APPLE; }; gray: { raw: (from: string) => GRAY; }; }
color-converthslvariabletypeof hsl & hsl & { rgb: { raw: (from: HSL) => RGB; }; hsv: { raw: (from: HSL) => HSV; }; hwb: { raw: (from: HSL) => HWB; }; cmyk: { raw: (from: HSL) => CMYK; }; xyz: { raw: (from: HSL) => XYZ; }; lab: { raw: (from: HSL) => LAB; }; lch: { raw: (from: HSL) => LCH; }; hex: { raw: (from: HSL) => string; }; keyword: { raw: (from: HSL) => string | number | symbol; }; ansi16: { raw: (from: HSL) => number; }; ansi256: { raw: (from: HSL) => number; }; hcg: { raw: (from: HSL) => HCG; }; apple: { raw: (from: HSL) => APPLE; }; gray: { raw: (from: HSL) => GRAY; }; }
color-converthsvvariabletypeof hsv & hsv & { rgb: { raw: (from: HSV) => RGB; }; hsl: { raw: (from: HSV) => HSL; }; hwb: { raw: (from: HSV) => HWB; }; cmyk: { raw: (from: HSV) => CMYK; }; xyz: { raw: (from: HSV) => XYZ; }; lab: { raw: (from: HSV) => LAB; }; lch: { raw: (from: HSV) => LCH; }; hex: { raw: (from: HSV) => string; }; keyword: { raw: (from: HSV) => string | number | symbol; }; ansi16: { raw: (from: HSV) => number; }; ansi256: { raw: (from: HSV) => number; }; hcg: { raw: (from: HSV) => HCG; }; apple: { raw: (from: HSV) => APPLE; }; gray: { raw: (from: HSV) => GRAY; }; }
color-converthwbvariabletypeof hwb & hwb & { rgb: { raw: (from: HWB) => RGB; }; hsl: { raw: (from: HWB) => HSL; }; hsv: { raw: (from: HWB) => HSV; }; cmyk: { raw: (from: HWB) => CMYK; }; xyz: { raw: (from: HWB) => XYZ; }; lab: { raw: (from: HWB) => LAB; }; lch: { raw: (from: HWB) => LCH; }; hex: { raw: (from: HWB) => string; }; keyword: { raw: (from: HWB) => string | number | symbol; }; ansi16: { raw: (from: HWB) => number; }; ansi256: { raw: (from: HWB) => number; }; hcg: { raw: (from: HWB) => HCG; }; apple: { raw: (from: HWB) => APPLE; }; gray: { raw: (from: HWB) => GRAY; }; }
color-convertlabvariabletypeof lab & lab & { rgb: { raw: (from: LAB) => RGB; }; hsl: { raw: (from: LAB) => HSL; }; hsv: { raw: (from: LAB) => HSV; }; hwb: { raw: (from: LAB) => HWB; }; cmyk: { raw: (from: LAB) => CMYK; }; xyz: { raw: (from: LAB) => XYZ; }; lch: { raw: (from: LAB) => LCH; }; hex: { raw: (from: LAB) => string; }; keyword: { raw: (from: LAB) => string | number | symbol; }; ansi16: { raw: (from: LAB) => number; }; ansi256: { raw: (from: LAB) => number; }; hcg: { raw: (from: LAB) => HCG; }; apple: { raw: (from: LAB) => APPLE; }; gray: { raw: (from: LAB) => GRAY; }; }
color-convertlchvariabletypeof lch & lch & { rgb: { raw: (from: LCH) => RGB; }; hsl: { raw: (from: LCH) => HSL; }; hsv: { raw: (from: LCH) => HSV; }; hwb: { raw: (from: LCH) => HWB; }; cmyk: { raw: (from: LCH) => CMYK; }; xyz: { raw: (from: LCH) => XYZ; }; lab: { raw: (from: LCH) => LAB; }; hex: { raw: (from: LCH) => string; }; keyword: { raw: (from: LCH) => string | number | symbol; }; ansi16: { raw: (from: LCH) => number; }; ansi256: { raw: (from: LCH) => number; }; hcg: { raw: (from: LCH) => HCG; }; apple: { raw: (from: LCH) => APPLE; }; gray: { raw: (from: LCH) => GRAY; }; }
color-convertrgbvariabletypeof rgb & rgb & { hsl: { raw: { (from: RGB): HSL; (from_0: number, from_1: number, from_2: number): HSL; (from: RGB): HSL; (from_0: number, from_1: number, from_2: number): HSL; }; }; hsv: { raw: { (from: RGB): HSV; (from_0: number, from_1: number, from_2: number): HSV; }; }; hwb: { raw: { (from: RGB): HWB; (from_0: number, from_1: number, from_2: number): HWB; }; }; cmyk: { raw: { (from: RGB): CMYK; (from_0: number, from_1: number, from_2: number): CMYK; }; }; xyz: { raw: { (from: RGB): XYZ; (from_0: number, from_1: number, from_2: number): XYZ; }; }; lab: { raw: { (from: RGB): LAB; (from_…
color-convertxyzvariabletypeof xyz & xyz & { rgb: { raw: (from: XYZ) => RGB; }; hsl: { raw: (from: XYZ) => HSL; }; hsv: { raw: (from: XYZ) => HSV; }; hwb: { raw: (from: XYZ) => HWB; }; cmyk: { raw: (from: XYZ) => CMYK; }; lab: { raw: (from: XYZ) => LAB; }; lch: { raw: (from: XYZ) => LCH; }; hex: { raw: (from: XYZ) => string; }; keyword: { raw: (from: XYZ) => string | number | symbol; }; ansi16: { raw: (from: XYZ) => number; }; ansi256: { raw: (from: XYZ) => number; }; hcg: { raw: (from: XYZ) => HCG; }; apple: { raw: (from: XYZ) => APPLE; }; gray: { raw: (from: XYZ) => GRAY; }; }
color-convertcmykvariabletypeof cmyk & cmyk & { rgb: { raw: (from: CMYK) => RGB; }; hsl: { raw: (from: CMYK) => HSL; }; hsv: { raw: (from: CMYK) => HSV; }; hwb: { raw: (from: CMYK) => HWB; }; xyz: { raw: (from: CMYK) => XYZ; }; lab: { raw: (from: CMYK) => LAB; }; lch: { raw: (from: CMYK) => LCH; }; hex: { raw: (from: CMYK) => string; }; keyword: { raw: (from: CMYK) => string | number | symbol; }; ansi16: { raw: (from: CMYK) => number; }; ansi256: { raw: (from: CMYK) => number; }; hcg: { raw: (from: CMYK) => HCG; }; apple: { raw: (from: CMYK) => APPLE; }; gray: { raw: (from: CMYK) => GRAY; }; }
color-convertgrayvariabletypeof gray & gray & { rgb: { raw: (from: GRAY) => RGB; }; hsl: { raw: (from: GRAY) => HSL; }; hsv: { raw: (from: GRAY) => HSV; }; hwb: { raw: (from: GRAY) => HWB; }; cmyk: { raw: (from: GRAY) => CMYK; }; xyz: { raw: (from: GRAY) => XYZ; }; lab: { raw: (from: GRAY) => LAB; }; lch: { raw: (from: GRAY) => LCH; }; hex: { raw: (from: GRAY) => string; }; keyword: { raw: (from: GRAY) => string | number | symbol; }; ansi16: { raw: (from: GRAY) => number; }; ansi256: { raw: (from: GRAY) => number; }; hcg: { raw: (from: GRAY) => HCG; }; apple: { raw: (from: GRAY) => APPLE; }; }
color-convertapplevariabletypeof apple & apple & { rgb: { raw: (from: APPLE) => RGB; }; hsl: { raw: (from: APPLE) => HSL; }; hsv: { raw: (from: APPLE) => HSV; }; hwb: { raw: (from: APPLE) => HWB; }; cmyk: { raw: (from: APPLE) => CMYK; }; xyz: { raw: (from: APPLE) => XYZ; }; lab: { raw: (from: APPLE) => LAB; }; lch: { raw: (from: APPLE) => LCH; }; hex: { raw: (from: APPLE) => string; }; keyword: { raw: (from: APPLE) => string | number | symbol; }; ansi16: { raw: (from: APPLE) => number; }; ansi256: { raw: (from: APPLE) => number; }; hcg: { raw: (from: APPLE) => HCG; }; gray: { raw: (from: APPLE) => GRAY; }; }
color-convertansi16variabletypeof ansi16 & ansi16 & { rgb: { raw: (from: number) => RGB; }; hsl: { raw: (from: number) => HSL; }; hsv: { raw: (from: number) => HSV; }; hwb: { raw: (from: number) => HWB; }; cmyk: { raw: (from: number) => CMYK; }; xyz: { raw: (from: number) => XYZ; }; lab: { raw: (from: number) => LAB; }; lch: { raw: (from: number) => LCH; }; hex: { raw: (from: number) => string; }; keyword: { raw: (from: number) => string | number | symbol; }; ansi256: { raw: (from: number) => number; }; hcg: { raw: (from: number) => HCG; }; apple: { raw: (from: number) => APPLE; }; gray: { raw: (from: number) => GRAY; }…
color-convertansi256variabletypeof ansi256 & ansi256 & { rgb: { raw: (from: number) => RGB; }; hsl: { raw: (from: number) => HSL; }; hsv: { raw: (from: number) => HSV; }; hwb: { raw: (from: number) => HWB; }; cmyk: { raw: (from: number) => CMYK; }; xyz: { raw: (from: number) => XYZ; }; lab: { raw: (from: number) => LAB; }; lch: { raw: (from: number) => LCH; }; hex: { raw: (from: number) => string; }; keyword: { raw: (from: number) => string | number | symbol; }; ansi16: { raw: (from: number) => number; }; hcg: { raw: (from: number) => HCG; }; apple: { raw: (from: number) => APPLE; }; gray: { raw: (from: number) => GRAY; …
color-convertkeywordvariabletypeof keyword & keyword & { rgb: { raw: (from: string | number | symbol) => RGB; }; hsl: { raw: (from: string | number | symbol) => HSL; }; hsv: { raw: (from: string | number | symbol) => HSV; }; hwb: { raw: (from: string | number | symbol) => HWB; }; cmyk: { raw: (from: string | number | symbol) => CMYK; }; xyz: { raw: (from: string | number | symbol) => XYZ; }; lab: { raw: (from: string | number | symbol) => LAB; }; lch: { raw: (from: string | number | symbol) => LCH; }; hex: { raw: (from: string | number | symbol) => string; }; ansi16: { raw: (from: string | number | symbol) => number; }; …

変更されたシグネチャ

検出されませんでした。

削除されたクラス/インターフェースのメンバー

検出されませんでした。

変更されたクラス/インターフェースのメンバー

検出されませんでした。

新たに非推奨

検出されませんでした。

要件の変更(engines、peer 依存関係)

変更前変更後
engines.node>=7.0.0>=14.6
新しいエクスポート (18)
importexportkind
color-convertHCGtype
color-convertHEXtype
color-convertHSLtype
color-convertHSVtype
color-convertHWBtype
color-convertLABtype
color-convertLCHtype
color-convertRGBtype
color-convertXYZtype
color-convertCMYKtype
color-convertGraytype
color-convertAppletype
color-convertANSI16type
color-convertANSI256type
color-convertConverttype
color-convertKeywordtype
color-convertdefaultvariable
color-convertChannelstype

よくある質問

color-convert を 2 から 3 にアップグレードする際の破壊的変更は?

color-convert 2.0.1 と 3.1.3 の間で、Vigia は削除されたエクスポートを 15 件、変更されたシグネチャを 0 件、削除または変更されたクラス/インターフェースのメンバーを 0 件検出しました。

color-convert 3 で非推奨になったものは?

color-convert 3.1.3 では 0 件のエクスポートまたはメンバーが新たに非推奨になりました。

エージェント向け

GET https://vigia.coredls.cloud/v1/packages/npm/color-convert/upgrade?from=2.0.1&to=3.1.3