diff --git a/_wrapper/wrapper.ts b/_wrapper/wrapper.ts index daff4ee..32d7d1c 100644 --- a/_wrapper/wrapper.ts +++ b/_wrapper/wrapper.ts @@ -91,7 +91,7 @@ try { // Unreliable, but it works to overwrite paths of recreated files. text = text.replace(/(\.\.\/)+/mg, ROOT_DIR).replace( thisFileCopyright, - `${thisFileCopyright}\n\n` + `${WARNING}\n\n`, + `${thisFileCopyright}\n\n` + `${WARNING}`, ); data = new TextEncoder().encode(text); diff --git a/ansi16/ansi16_to_ansi8.ts b/ansi16/ansi16_to_ansi8.ts index c31ddd0..b5547df 100644 --- a/ansi16/ansi16_to_ansi8.ts +++ b/ansi16/ansi16_to_ansi8.ts @@ -3,8 +3,6 @@ // File generated automatically! // Generation script: /color_convert/_wrapper/wrapper.ts - - import { Ansi16, Ansi8 } from "../color_formats.ts"; import { clamp } from "../util.ts"; diff --git a/ansi256/ansi256_to_rgb.ts b/ansi256/ansi256_to_rgb.ts index c14eec8..9ed47cc 100644 --- a/ansi256/ansi256_to_rgb.ts +++ b/ansi256/ansi256_to_rgb.ts @@ -3,8 +3,6 @@ // File generated automatically! // Generation script: /color_convert/_wrapper/wrapper.ts - - import { Ansi256, Rgb } from "../color_formats.ts"; import { clamp } from "../util.ts"; diff --git a/cmy/cmy_to_rgb.ts b/cmy/cmy_to_rgb.ts index aafa721..563044e 100644 --- a/cmy/cmy_to_rgb.ts +++ b/cmy/cmy_to_rgb.ts @@ -3,8 +3,6 @@ // File generated automatically! // Generation script: /color_convert/_wrapper/wrapper.ts - - import { Cmy, Rgb } from "../color_formats.ts"; import { percent } from "../util.ts"; diff --git a/cmyk/cmyk_to_rgb.ts b/cmyk/cmyk_to_rgb.ts index 963cd26..c88c3da 100644 --- a/cmyk/cmyk_to_rgb.ts +++ b/cmyk/cmyk_to_rgb.ts @@ -3,8 +3,6 @@ // File generated automatically! // Generation script: /color_convert/_wrapper/wrapper.ts - - import { Cmyk, Rgb } from "../color_formats.ts"; import { percent } from "../util.ts"; diff --git a/hex/hex_to_rgb.ts b/hex/hex_to_rgb.ts index a082853..a362449 100644 --- a/hex/hex_to_rgb.ts +++ b/hex/hex_to_rgb.ts @@ -3,8 +3,6 @@ // File generated automatically! // Generation script: /color_convert/_wrapper/wrapper.ts - - import { Hex, Rgb } from "../color_formats.ts"; export function hexToRgb(...components: Hex): Rgb { diff --git a/hsb/hsb_to_rgb.ts b/hsb/hsb_to_rgb.ts index 7d7f570..c0f25a3 100644 --- a/hsb/hsb_to_rgb.ts +++ b/hsb/hsb_to_rgb.ts @@ -3,8 +3,6 @@ // File generated automatically! // Generation script: /color_convert/_wrapper/wrapper.ts - - import { Hsb, Rgb } from "../color_formats.ts"; import { hsvToRgb } from "../hsv/hsv_to_rgb.ts"; diff --git a/hsl/hsl_to_rgb.ts b/hsl/hsl_to_rgb.ts index f81b7d0..edefadd 100644 --- a/hsl/hsl_to_rgb.ts +++ b/hsl/hsl_to_rgb.ts @@ -3,8 +3,6 @@ // File generated automatically! // Generation script: /color_convert/_wrapper/wrapper.ts - - import { clamp } from "../util.ts"; import { Hsl, Rgb } from "../color_formats.ts"; diff --git a/hsv/hsv_to_rgb.ts b/hsv/hsv_to_rgb.ts index 56843e3..a1e22f2 100644 --- a/hsv/hsv_to_rgb.ts +++ b/hsv/hsv_to_rgb.ts @@ -3,8 +3,6 @@ // File generated automatically! // Generation script: /color_convert/_wrapper/wrapper.ts - - import { clamp } from "../util.ts"; import { Hsv, Rgb } from "../color_formats.ts"; diff --git a/lab/lab_to_rgb.ts b/lab/lab_to_rgb.ts index f1bac13..550bccc 100644 --- a/lab/lab_to_rgb.ts +++ b/lab/lab_to_rgb.ts @@ -3,8 +3,6 @@ // File generated automatically! // Generation script: /color_convert/_wrapper/wrapper.ts - - import { Lab, Rgb } from "../color_formats.ts"; import { xyzToRgb } from "../xyz/xyz_to_rgb.ts"; import { clamp } from "../util.ts"; diff --git a/name/name_to_rgb.ts b/name/name_to_rgb.ts index 8a006ea..c9ab38f 100644 --- a/name/name_to_rgb.ts +++ b/name/name_to_rgb.ts @@ -3,8 +3,6 @@ // File generated automatically! // Generation script: /color_convert/_wrapper/wrapper.ts - - import { Name, Rgb } from "../color_formats.ts"; import { colors } from "../deps.ts"; diff --git a/rgb/rgb_to_ansi16.ts b/rgb/rgb_to_ansi16.ts index 9da29d1..2cb3301 100644 --- a/rgb/rgb_to_ansi16.ts +++ b/rgb/rgb_to_ansi16.ts @@ -3,8 +3,6 @@ // File generated automatically! // Generation script: /color_convert/_wrapper/wrapper.ts - - import { Ansi16, Rgb } from "../color_formats.ts"; import { rgbToAnsi256 } from "./rgb_to_ansi256.ts"; diff --git a/rgb/rgb_to_ansi256.ts b/rgb/rgb_to_ansi256.ts index fd7327b..d7ae4f2 100644 --- a/rgb/rgb_to_ansi256.ts +++ b/rgb/rgb_to_ansi256.ts @@ -3,8 +3,6 @@ // File generated automatically! // Generation script: /color_convert/_wrapper/wrapper.ts - - import { Ansi256, Rgb } from "../color_formats.ts"; import { clamp } from "../util.ts"; diff --git a/rgb/rgb_to_ansi8.ts b/rgb/rgb_to_ansi8.ts index 3fd4909..7b6bcfa 100644 --- a/rgb/rgb_to_ansi8.ts +++ b/rgb/rgb_to_ansi8.ts @@ -3,8 +3,6 @@ // File generated automatically! // Generation script: /color_convert/_wrapper/wrapper.ts - - import { Ansi8, Rgb } from "../color_formats.ts"; import { rgbToAnsi16 } from "./rgb_to_ansi16.ts"; import { ansi16ToAnsi8 } from "../ansi16/ansi16_to_ansi8.ts"; diff --git a/rgb/rgb_to_cmy.ts b/rgb/rgb_to_cmy.ts index 25b203d..5b32f68 100644 --- a/rgb/rgb_to_cmy.ts +++ b/rgb/rgb_to_cmy.ts @@ -3,8 +3,6 @@ // File generated automatically! // Generation script: /color_convert/_wrapper/wrapper.ts - - import { Cmy, Rgb } from "../color_formats.ts"; import { clamp } from "../util.ts"; diff --git a/rgb/rgb_to_cmyk.ts b/rgb/rgb_to_cmyk.ts index ba445fa..4b8b881 100644 --- a/rgb/rgb_to_cmyk.ts +++ b/rgb/rgb_to_cmyk.ts @@ -3,8 +3,6 @@ // File generated automatically! // Generation script: /color_convert/_wrapper/wrapper.ts - - import { Cmyk, Rgb } from "../color_formats.ts"; import { clamp } from "../util.ts"; diff --git a/rgb/rgb_to_hex.ts b/rgb/rgb_to_hex.ts index 9d3a6df..07dfd68 100644 --- a/rgb/rgb_to_hex.ts +++ b/rgb/rgb_to_hex.ts @@ -3,8 +3,6 @@ // File generated automatically! // Generation script: /color_convert/_wrapper/wrapper.ts - - import { Hex, Rgb } from "../color_formats.ts"; import { clamp } from "../util.ts"; diff --git a/rgb/rgb_to_hsb.ts b/rgb/rgb_to_hsb.ts index 2785d9f..0e2b943 100644 --- a/rgb/rgb_to_hsb.ts +++ b/rgb/rgb_to_hsb.ts @@ -3,8 +3,6 @@ // File generated automatically! // Generation script: /color_convert/_wrapper/wrapper.ts - - import { Hsb, Rgb } from "../color_formats.ts"; import { clamp } from "../util.ts"; diff --git a/rgb/rgb_to_hsl.ts b/rgb/rgb_to_hsl.ts index ca89ef5..b340ad9 100644 --- a/rgb/rgb_to_hsl.ts +++ b/rgb/rgb_to_hsl.ts @@ -3,8 +3,6 @@ // File generated automatically! // Generation script: /color_convert/_wrapper/wrapper.ts - - import { Hsl, Rgb } from "../color_formats.ts"; import { clamp } from "../util.ts"; diff --git a/rgb/rgb_to_hsv.ts b/rgb/rgb_to_hsv.ts index 2919ee1..431470f 100644 --- a/rgb/rgb_to_hsv.ts +++ b/rgb/rgb_to_hsv.ts @@ -3,8 +3,6 @@ // File generated automatically! // Generation script: /color_convert/_wrapper/wrapper.ts - - import { Hsv, Rgb } from "../color_formats.ts"; import { clamp } from "../util.ts"; diff --git a/rgb/rgb_to_lab.ts b/rgb/rgb_to_lab.ts index 96be182..de1a325 100644 --- a/rgb/rgb_to_lab.ts +++ b/rgb/rgb_to_lab.ts @@ -3,8 +3,6 @@ // File generated automatically! // Generation script: /color_convert/_wrapper/wrapper.ts - - import { Lab, Rgb, Xyz } from "../color_formats.ts"; import { rgbToXyz } from "./rgb_to_xyz.ts"; diff --git a/rgb/rgb_to_name.ts b/rgb/rgb_to_name.ts index 1a8b764..7fc0a43 100644 --- a/rgb/rgb_to_name.ts +++ b/rgb/rgb_to_name.ts @@ -3,8 +3,6 @@ // File generated automatically! // Generation script: /color_convert/_wrapper/wrapper.ts - - import { colors } from "../deps.ts"; import { Name, Rgb } from "../color_formats.ts"; diff --git a/rgb/rgb_to_xyz.ts b/rgb/rgb_to_xyz.ts index b0b2e2b..44e8fa6 100644 --- a/rgb/rgb_to_xyz.ts +++ b/rgb/rgb_to_xyz.ts @@ -3,8 +3,6 @@ // File generated automatically! // Generation script: /color_convert/_wrapper/wrapper.ts - - import { Rgb, Xyz } from "../color_formats.ts"; import { clamp } from "../util.ts"; diff --git a/xyz/xyz_to_rgb.ts b/xyz/xyz_to_rgb.ts index 58343d5..87b2536 100644 --- a/xyz/xyz_to_rgb.ts +++ b/xyz/xyz_to_rgb.ts @@ -3,8 +3,6 @@ // File generated automatically! // Generation script: /color_convert/_wrapper/wrapper.ts - - import { Rgb, Xyz } from "../color_formats.ts"; import { clamp } from "../util.ts";