@library/color 0.0.4 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/.turbo/turbo-test.log +24 -173
  2. package/README.md +1 -1
  3. package/coverage/lcov-report/base.css +262 -124
  4. package/coverage/lcov-report/block-navigation.js +64 -69
  5. package/coverage/lcov-report/hexToRgb.ts.html +6 -6
  6. package/coverage/lcov-report/index.html +44 -14
  7. package/coverage/lcov-report/index.ts.html +97 -0
  8. package/coverage/lcov-report/prettify.css +101 -1
  9. package/coverage/lcov-report/prettify.js +936 -1
  10. package/coverage/lcov-report/rgbToCssString.ts.html +35 -8
  11. package/coverage/lcov-report/rgbToHex.ts.html +6 -6
  12. package/coverage/lcov-report/sorter.js +183 -174
  13. package/coverage/lcov-report/types.ts.html +103 -0
  14. package/coverage/lcov.info +41 -23
  15. package/dist/cjs/index.cjs +1 -0
  16. package/dist/cjs/index.d.cts +47 -0
  17. package/dist/esm/chunk-EGTD3OI6.js +1 -0
  18. package/dist/esm/chunk-ICWEDZDJ.js +1 -0
  19. package/dist/esm/chunk-VBFFO3TQ.js +1 -0
  20. package/dist/{hexToRgb.d.ts → esm/hexToRgb.d.ts} +5 -3
  21. package/dist/esm/hexToRgb.js +1 -0
  22. package/dist/esm/index.d.ts +4 -0
  23. package/dist/esm/index.js +1 -0
  24. package/dist/{rgbToCssString.d.ts → esm/rgbToCssString.d.ts} +5 -3
  25. package/dist/esm/rgbToCssString.js +1 -0
  26. package/dist/{rgbToHex.d.ts → esm/rgbToHex.d.ts} +5 -3
  27. package/dist/esm/rgbToHex.js +1 -0
  28. package/dist/{types.d.ts → esm/types.d.ts} +3 -2
  29. package/dist/esm/types.js +0 -0
  30. package/package.json +20 -7
  31. package/src/rgbToHex.spec.ts +1 -1
  32. package/tsup.config.ts +26 -0
  33. package/vitest.config.ts +8 -0
  34. package/.turbo/turbo-build.log +0 -2
  35. package/dist/hexToRgb.d.ts.map +0 -1
  36. package/dist/hexToRgb.js +0 -38
  37. package/dist/index.d.ts +0 -5
  38. package/dist/index.d.ts.map +0 -1
  39. package/dist/index.js +0 -3
  40. package/dist/rgbToCssString.d.ts.map +0 -1
  41. package/dist/rgbToCssString.js +0 -16
  42. package/dist/rgbToHex.d.ts.map +0 -1
  43. package/dist/rgbToHex.js +0 -22
  44. package/dist/types.d.ts.map +0 -1
  45. package/dist/types.js +0 -1
  46. package/jest.config.js +0 -6
@@ -4,7 +4,6 @@ FN:17,hexToRgb
4
4
  FNF:1
5
5
  FNH:1
6
6
  FNDA:12,hexToRgb
7
- DA:17,12
8
7
  DA:18,12
9
8
  DA:19,12
10
9
  DA:20,6
@@ -13,11 +12,12 @@ DA:31,12
13
12
  DA:32,12
14
13
  DA:33,12
15
14
  DA:34,12
16
- LF:9
17
- LH:9
15
+ LF:8
16
+ LH:8
18
17
  BRDA:18,0,0,11
19
18
  BRDA:18,0,1,1
20
19
  BRDA:19,1,0,6
20
+ BRDA:19,1,1,6
21
21
  BRDA:19,2,0,12
22
22
  BRDA:19,2,1,8
23
23
  BRDA:27,3,0,6
@@ -26,51 +26,69 @@ BRDA:28,4,0,6
26
26
  BRDA:28,4,1,4
27
27
  BRDA:33,5,0,12
28
28
  BRDA:33,5,1,7
29
- BRF:11
30
- BRH:11
29
+ BRF:12
30
+ BRH:12
31
+ end_of_record
32
+ TN:
33
+ SF:src/index.ts
34
+ FNF:0
35
+ FNH:0
36
+ LF:0
37
+ LH:0
38
+ BRF:0
39
+ BRH:0
31
40
  end_of_record
32
41
  TN:
33
42
  SF:src/rgbToCssString.ts
34
- FN:3,rgbToCssString
43
+ FN:12,rgbToCssString
35
44
  FNF:1
36
45
  FNH:1
37
46
  FNDA:4,rgbToCssString
38
- DA:3,4
39
- DA:4,4
40
- DA:5,4
41
- DA:6,1
42
- DA:8,3
43
- LF:5
44
- LH:5
45
- BRDA:5,0,0,1
46
- BRF:1
47
- BRH:1
47
+ DA:13,4
48
+ DA:14,4
49
+ DA:15,1
50
+ DA:17,3
51
+ LF:4
52
+ LH:4
53
+ BRDA:14,0,0,1
54
+ BRDA:14,0,1,3
55
+ BRF:2
56
+ BRH:2
48
57
  end_of_record
49
58
  TN:
50
59
  SF:src/rgbToHex.ts
51
- FN:3,(anonymous_1)
60
+ FN:3,(anonymous_0)
52
61
  FN:18,rgbToHex
53
62
  FNF:2
54
63
  FNH:2
55
- FNDA:34,(anonymous_1)
64
+ FNDA:34,(anonymous_0)
56
65
  FNDA:10,rgbToHex
57
66
  DA:3,1
58
67
  DA:4,34
59
68
  DA:5,34
60
- DA:18,10
61
69
  DA:19,10
62
70
  DA:20,10
63
71
  DA:21,10
64
72
  DA:22,4
65
73
  DA:24,10
66
- LF:9
67
- LH:9
74
+ LF:8
75
+ LH:8
68
76
  BRDA:5,0,0,19
69
77
  BRDA:5,0,1,15
70
78
  BRDA:21,1,0,4
79
+ BRDA:21,1,1,6
71
80
  BRDA:21,2,0,10
72
81
  BRDA:21,2,1,4
73
82
  BRDA:21,2,2,4
74
- BRF:6
75
- BRH:6
83
+ BRF:7
84
+ BRH:7
85
+ end_of_record
86
+ TN:
87
+ SF:src/types.ts
88
+ FNF:0
89
+ FNH:0
90
+ LF:0
91
+ LH:0
92
+ BRF:0
93
+ BRH:0
76
94
  end_of_record
@@ -0,0 +1 @@
1
+ "use strict";var p=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var u=(r,t)=>{for(var n in t)p(r,n,{get:t[n],enumerable:!0})},$=(r,t,n,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of b(t))!m.call(r,o)&&o!==n&&p(r,o,{get:()=>t[o],enumerable:!(e=l(t,o))||e.enumerable});return r};var a=r=>$(p({},"__esModule",{value:!0}),r);var y={};u(y,{hexToRgb:()=>g,rgbToCssString:()=>c,rgbToHex:()=>f});module.exports=a(y);function g(r){r=r[0]==="#"?r.slice(1):r,(r.length===3||r.length===4)&&(r=r[0]+r[0]+r[1]+r[1]+r[2]+r[2]+(r[3]||"")+(r[3]||""));let t=parseInt(r.slice(0,2),16),n=parseInt(r.slice(2,4),16),e=parseInt(r.slice(4,6),16),o=+(parseInt(r.slice(6,8)||"ff",16)/255).toFixed(2);return{r:t,g:n,b:e,a:o}}var s=r=>{let t=r.toString(16);return t.length===1?`0${t}`:t};function f(r){let{r:t,g:n,b:e,a:o}=r,i=`#${s(t)}${s(n)}${s(e)}`;return typeof o=="number"&&o>=0&&o<=1&&(i+=s(parseInt((255*o).toFixed(0)))),i}function c(r){let{r:t,g:n,b:e,a:o}=r;return typeof o!="number"?`rgb(${t}, ${n}, ${e})`:`rgba(${t}, ${n}, ${e}, ${o})`}0&&(module.exports={hexToRgb,rgbToCssString,rgbToHex});
@@ -0,0 +1,47 @@
1
+ type RGBColor = {
2
+ r: number;
3
+ g: number;
4
+ b: number;
5
+ a?: number;
6
+ };
7
+
8
+ /**
9
+ * Convert a hexadecimal color code to its corresponding RGBA representation.
10
+ * @param {string} hex - The hexadecimal color code to be converted.
11
+ * @returns {RGBColor} - An object containing the RGBA values.
12
+ * @example
13
+ * ```
14
+ * import { hexToRgb } from "@library/color";
15
+ *
16
+ * hexToRgb("#f00"); // { r: 255, g: 0, b: 0, a: 1 }
17
+ * hexToRgb("#f000"); // { r: 255, g: 0, b: 0, a: 0 }
18
+ * hexToRgb("#7f11e0"); // { r: 127, g: 17, b: 224, a: 1 }
19
+ * hexToRgb("#11223344"); // { r: 17, g: 34, b: 51, a: 0.27 }
20
+ * ```
21
+ */
22
+ declare function hexToRgb(hex: string): RGBColor;
23
+
24
+ /**
25
+ * @param {RGBColor} rgb An object containing the RGBA values.
26
+ * @returns {string} The hexadecimal color code
27
+ *
28
+ * @example
29
+ * ```ts
30
+ * rgbToHex({ r: 255, g: 99, b: 71 }); // "#ff6347"
31
+ * rgbToHex({ r: 255, g: 99, b: 71, a: 0.5 }); // "#ff634780"
32
+ * ```
33
+ */
34
+ declare function rgbToHex(rgb: RGBColor): string;
35
+
36
+ /**
37
+ * Converts an RGB or RGBA color object into a CSS color string.
38
+ *
39
+ * If the alpha (`a`) value is provided, it returns a `rgba(r, g, b, a)` string.
40
+ * Otherwise, it returns a `rgb(r, g, b)` string.
41
+ *
42
+ * @param {RGBColor} rgb An object containing the RGBA values.
43
+ * @returns {string} A CSS color string.
44
+ */
45
+ declare function rgbToCssString(rgb: RGBColor): string;
46
+
47
+ export { type RGBColor, hexToRgb, rgbToCssString, rgbToHex };
@@ -0,0 +1 @@
1
+ var o=e=>{let r=e.toString(16);return r.length===1?`0${r}`:r};function s(e){let{r,g:i,b:g,a:t}=e,n=`#${o(r)}${o(i)}${o(g)}`;return typeof t=="number"&&t>=0&&t<=1&&(n+=o(parseInt((255*t).toFixed(0)))),n}export{s as a};
@@ -0,0 +1 @@
1
+ function $(e){let{r,g:o,b:t,a:n}=e;return typeof n!="number"?`rgb(${r}, ${o}, ${t})`:`rgba(${r}, ${o}, ${t}, ${n})`}export{$ as a};
@@ -0,0 +1 @@
1
+ function c(t){t=t[0]==="#"?t.slice(1):t,(t.length===3||t.length===4)&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]+(t[3]||"")+(t[3]||""));let s=parseInt(t.slice(0,2),16),n=parseInt(t.slice(2,4),16),o=parseInt(t.slice(4,6),16),r=+(parseInt(t.slice(6,8)||"ff",16)/255).toFixed(2);return{r:s,g:n,b:o,a:r}}export{c as a};
@@ -1,4 +1,5 @@
1
- import type { RGBColor } from "./types";
1
+ import { RGBColor } from './types.js';
2
+
2
3
  /**
3
4
  * Convert a hexadecimal color code to its corresponding RGBA representation.
4
5
  * @param {string} hex - The hexadecimal color code to be converted.
@@ -13,5 +14,6 @@ import type { RGBColor } from "./types";
13
14
  * hexToRgb("#11223344"); // { r: 17, g: 34, b: 51, a: 0.27 }
14
15
  * ```
15
16
  */
16
- export declare function hexToRgb(hex: string): RGBColor;
17
- //# sourceMappingURL=hexToRgb.d.ts.map
17
+ declare function hexToRgb(hex: string): RGBColor;
18
+
19
+ export { hexToRgb };
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-VBFFO3TQ.js";export{a as hexToRgb};
@@ -0,0 +1,4 @@
1
+ export { hexToRgb } from './hexToRgb.js';
2
+ export { rgbToHex } from './rgbToHex.js';
3
+ export { rgbToCssString } from './rgbToCssString.js';
4
+ export { RGBColor } from './types.js';
@@ -0,0 +1 @@
1
+ import{a as o}from"./chunk-VBFFO3TQ.js";import{a as e}from"./chunk-ICWEDZDJ.js";import{a as r}from"./chunk-EGTD3OI6.js";export{o as hexToRgb,e as rgbToCssString,r as rgbToHex};
@@ -1,4 +1,5 @@
1
- import type { RGBColor } from "./types";
1
+ import { RGBColor } from './types.js';
2
+
2
3
  /**
3
4
  * Converts an RGB or RGBA color object into a CSS color string.
4
5
  *
@@ -8,5 +9,6 @@ import type { RGBColor } from "./types";
8
9
  * @param {RGBColor} rgb An object containing the RGBA values.
9
10
  * @returns {string} A CSS color string.
10
11
  */
11
- export declare function rgbToCssString(rgb: RGBColor): string;
12
- //# sourceMappingURL=rgbToCssString.d.ts.map
12
+ declare function rgbToCssString(rgb: RGBColor): string;
13
+
14
+ export { rgbToCssString };
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-ICWEDZDJ.js";export{a as rgbToCssString};
@@ -1,4 +1,5 @@
1
- import { RGBColor } from "./types";
1
+ import { RGBColor } from './types.js';
2
+
2
3
  /**
3
4
  * @param {RGBColor} rgb An object containing the RGBA values.
4
5
  * @returns {string} The hexadecimal color code
@@ -9,5 +10,6 @@ import { RGBColor } from "./types";
9
10
  * rgbToHex({ r: 255, g: 99, b: 71, a: 0.5 }); // "#ff634780"
10
11
  * ```
11
12
  */
12
- export declare function rgbToHex(rgb: RGBColor): string;
13
- //# sourceMappingURL=rgbToHex.d.ts.map
13
+ declare function rgbToHex(rgb: RGBColor): string;
14
+
15
+ export { rgbToHex };
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-EGTD3OI6.js";export{a as rgbToHex};
@@ -1,7 +1,8 @@
1
- export type RGBColor = {
1
+ type RGBColor = {
2
2
  r: number;
3
3
  g: number;
4
4
  b: number;
5
5
  a?: number;
6
6
  };
7
- //# sourceMappingURL=types.d.ts.map
7
+
8
+ export type { RGBColor };
File without changes
package/package.json CHANGED
@@ -1,16 +1,29 @@
1
1
  {
2
2
  "name": "@library/color",
3
- "version": "0.0.4",
4
- "main": "./dist/index.js",
5
- "exports": "./dist/index.js",
6
- "types": "./dist/index.d.ts",
3
+ "version": "0.0.6",
4
+ "type": "module",
5
+ "main": "./dist/cjs/index.cjs",
6
+ "types": "./dist/cjs/index.d.cts",
7
+ "module": "./dist/esm/index.js",
8
+ "exports": {
9
+ ".": {
10
+ "import": {
11
+ "types": "./dist/esm/index.d.ts",
12
+ "default": "./dist/esm/index.js"
13
+ },
14
+ "require": {
15
+ "types": "./dist/cjs/index.d.cts",
16
+ "default": "./dist/cjs/index.cjs"
17
+ }
18
+ }
19
+ },
7
20
  "license": "MIT",
8
21
  "scripts": {
9
- "build": "rimraf dist && tsc -p tsconfig.build.json ",
10
- "test": "jest --verbose"
22
+ "build": "rimraf dist && tsup --tsconfig tsconfig.build.json",
23
+ "test": "vitest run"
11
24
  },
12
25
  "publishConfig": {
13
26
  "access": "public"
14
27
  },
15
- "gitHead": "95b2a37ecb3e4b963a573a66961aa08e35722232"
28
+ "gitHead": "e1d0caf47e9ca8305ad84b2e2284c30fbe6b754d"
16
29
  }
@@ -1,4 +1,4 @@
1
- import type { RGBColor } from "../dist";
1
+ import type { RGBColor } from "./types";
2
2
  import { rgbToHex } from "./rgbToHex";
3
3
 
4
4
  describe("rgbToHex", () => {
package/tsup.config.ts ADDED
@@ -0,0 +1,26 @@
1
+ import { defineConfig } from "tsup";
2
+
3
+ const common = {
4
+ dts: true,
5
+ clean: true,
6
+ sourcemap: false,
7
+ skipNodeModulesBundle: true,
8
+ minify: true,
9
+ } as const;
10
+
11
+ export default defineConfig([
12
+ {
13
+ ...common,
14
+ format: ["cjs"],
15
+ target: ["es2016"],
16
+ outDir: "dist/cjs",
17
+ entry: ["src/index.ts"],
18
+ },
19
+ {
20
+ ...common,
21
+ format: ["esm"],
22
+ target: ["esnext"],
23
+ outDir: "dist/esm",
24
+ entry: ["src/**/*.ts", "!src/**/*.spec.ts"],
25
+ },
26
+ ]);
@@ -0,0 +1,8 @@
1
+ import { defineConfig } from "vitest/config";
2
+ import { baseConfig } from "../../vitest.config.base";
3
+
4
+ export default defineConfig({
5
+ test: {
6
+ ...baseConfig,
7
+ },
8
+ });
@@ -1,2 +0,0 @@
1
-
2
- 
@@ -1 +0,0 @@
1
- {"version":3,"file":"hexToRgb.d.ts","sourceRoot":"","sources":["../src/hexToRgb.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC;;;;;;;;;;;;;GAaG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,QAAQ,CAuB9C"}
package/dist/hexToRgb.js DELETED
@@ -1,38 +0,0 @@
1
- /**
2
- * Convert a hexadecimal color code to its corresponding RGBA representation.
3
- * @param {string} hex - The hexadecimal color code to be converted.
4
- * @returns {RGBColor} - An object containing the RGBA values.
5
- * @example
6
- * ```
7
- * import { hexToRgb } from "@library/color";
8
- *
9
- * hexToRgb("#f00"); // { r: 255, g: 0, b: 0, a: 1 }
10
- * hexToRgb("#f000"); // { r: 255, g: 0, b: 0, a: 0 }
11
- * hexToRgb("#7f11e0"); // { r: 127, g: 17, b: 224, a: 1 }
12
- * hexToRgb("#11223344"); // { r: 17, g: 34, b: 51, a: 0.27 }
13
- * ```
14
- */
15
- export function hexToRgb(hex) {
16
- hex = hex[0] === "#" ? hex.slice(1) : hex;
17
- if (hex.length === 3 || hex.length === 4) {
18
- hex =
19
- hex[0] +
20
- hex[0] +
21
- hex[1] +
22
- hex[1] +
23
- hex[2] +
24
- hex[2] +
25
- (hex[3] || "") +
26
- (hex[3] || "");
27
- }
28
- const r = parseInt(hex.slice(0, 2), 16);
29
- const g = parseInt(hex.slice(2, 4), 16);
30
- const b = parseInt(hex.slice(4, 6), 16);
31
- const a = +(parseInt(hex.slice(6, 8) || "ff", 16) / 255).toFixed(2);
32
- return {
33
- r,
34
- g,
35
- b,
36
- a,
37
- };
38
- }
package/dist/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- export { hexToRgb } from "./hexToRgb.js";
2
- export { rgbToHex } from "./rgbToHex.js";
3
- export { rgbToCssString } from "./rgbToCssString.js";
4
- export type * from "./types";
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,mBAAmB,SAAS,CAAC"}
package/dist/index.js DELETED
@@ -1,3 +0,0 @@
1
- export { hexToRgb } from "./hexToRgb.js";
2
- export { rgbToHex } from "./rgbToHex.js";
3
- export { rgbToCssString } from "./rgbToCssString.js";
@@ -1 +0,0 @@
1
- {"version":3,"file":"rgbToCssString.d.ts","sourceRoot":"","sources":["../src/rgbToCssString.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,QAAQ,GAAG,MAAM,CAMpD"}
@@ -1,16 +0,0 @@
1
- /**
2
- * Converts an RGB or RGBA color object into a CSS color string.
3
- *
4
- * If the alpha (`a`) value is provided, it returns a `rgba(r, g, b, a)` string.
5
- * Otherwise, it returns a `rgb(r, g, b)` string.
6
- *
7
- * @param {RGBColor} rgb An object containing the RGBA values.
8
- * @returns {string} A CSS color string.
9
- */
10
- export function rgbToCssString(rgb) {
11
- const { r, g, b, a } = rgb;
12
- if (typeof a !== "number") {
13
- return `rgb(${r}, ${g}, ${b})`;
14
- }
15
- return `rgba(${r}, ${g}, ${b}, ${a})`;
16
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"rgbToHex.d.ts","sourceRoot":"","sources":["../src/rgbToHex.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAOnC;;;;;;;;;GASG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,QAAQ,GAAG,MAAM,CAO9C"}
package/dist/rgbToHex.js DELETED
@@ -1,22 +0,0 @@
1
- const hex = (num) => {
2
- const hex = num.toString(16);
3
- return hex.length === 1 ? `0${hex}` : hex;
4
- };
5
- /**
6
- * @param {RGBColor} rgb An object containing the RGBA values.
7
- * @returns {string} The hexadecimal color code
8
- *
9
- * @example
10
- * ```ts
11
- * rgbToHex({ r: 255, g: 99, b: 71 }); // "#ff6347"
12
- * rgbToHex({ r: 255, g: 99, b: 71, a: 0.5 }); // "#ff634780"
13
- * ```
14
- */
15
- export function rgbToHex(rgb) {
16
- const { r, g, b, a } = rgb;
17
- let ret = `#${hex(r)}${hex(g)}${hex(b)}`;
18
- if (typeof a === "number" && a >= 0 && a <= 1) {
19
- ret += hex(parseInt((255 * a).toFixed(0)));
20
- }
21
- return ret;
22
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG;IACrB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ,CAAC"}
package/dist/types.js DELETED
@@ -1 +0,0 @@
1
- export {};
package/jest.config.js DELETED
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- /** @type {import('@jest/types').Config.InitialOptions} */
4
- module.exports = {
5
- ...require("../../jest.config.base.js"),
6
- };