Aggiornare color-convert da 2.x a 3.x
Confronto dell’API pubblica di color-convert 2.0.1 e 3.1.3, calcolato automaticamente dai tipi TypeScript. Una firma modificata è una possibile modifica incompatibile, non una certezza.
Riepilogo
| Percorsi di import rimossi | 2 |
|---|---|
| Export rimossi | 15 |
| Firme modificate | 0 |
| Membri di classi o interfacce rimossi | 0 |
| Membri di classi o interfacce modificati | 0 |
| Nuove deprecazioni | 0 |
| Requisiti cambiati (engines, dipendenze peer) | 1 |
| Nuovi export | 18 |
Percorsi di import rimossi
| Percorsi di import rimossi |
|---|
color-convert/route |
color-convert/conversions |
Export rimossi
| import | export | kind | Prima |
|---|---|---|---|
color-convert | hcg | variable | typeof 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-convert | hex | variable | typeof 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-convert | hsl | variable | typeof 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-convert | hsv | variable | typeof 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-convert | hwb | variable | typeof 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-convert | lab | variable | typeof 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-convert | lch | variable | typeof 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-convert | rgb | variable | typeof 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-convert | xyz | variable | typeof 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-convert | cmyk | variable | typeof 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-convert | gray | variable | typeof 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-convert | apple | variable | typeof 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-convert | ansi16 | variable | typeof 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-convert | ansi256 | variable | typeof 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-convert | keyword | variable | typeof 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; }; … |
Firme modificate
Nessuna rilevata.
Membri di classi o interfacce rimossi
Nessuna rilevata.
Membri di classi o interfacce modificati
Nessuna rilevata.
Nuove deprecazioni
Nessuna rilevata.
Requisiti cambiati (engines, dipendenze peer)
| Prima | Dopo | |
|---|---|---|
engines.node | >=7.0.0 | >=14.6 |
Nuovi export (18)
| import | export | kind |
|---|---|---|
color-convert | HCG | type |
color-convert | HEX | type |
color-convert | HSL | type |
color-convert | HSV | type |
color-convert | HWB | type |
color-convert | LAB | type |
color-convert | LCH | type |
color-convert | RGB | type |
color-convert | XYZ | type |
color-convert | CMYK | type |
color-convert | Gray | type |
color-convert | Apple | type |
color-convert | ANSI16 | type |
color-convert | ANSI256 | type |
color-convert | Convert | type |
color-convert | Keyword | type |
color-convert | default | variable |
color-convert | Channels | type |
Domande frequenti
Quali sono le modifiche incompatibili aggiornando color-convert da 2 a 3?
Tra color-convert 2.0.1 e 3.1.3, Vigia ha trovato 15 export rimossi, 0 firme modificate e 0 membri di classi o interfacce rimossi o modificati.
Cosa è stato deprecato in color-convert 3?
0 export o membri risultano ora deprecati in color-convert 3.1.3.
Per gli agenti
GET https://vigia.coredls.cloud/v1/packages/npm/color-convert/upgrade?from=2.0.1&to=3.1.3