vite-plugin-lucide-preprocess 1.0.4 → 1.1.1

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.
package/README.md CHANGED
@@ -47,6 +47,18 @@ but I don't know if it will ever be implemented.
47
47
  [I opened an issue](https://github.com/lucide-icons/lucide/issues/2295) on the `lucide-icons` repository to discuss
48
48
  this.
49
49
 
50
+ ## Auto-updater
51
+
52
+ As of version 1.1.0, the plugin includes an auto-updater.
53
+ It helps support the renamed and deprecated icons by automatically updating the plugin when necessary.
54
+
55
+ If you use a recently deprecated icon and can't make your build work, please wait for a few hours for the plugin
56
+ to update itself.
57
+ If the issue persists, please open an issue on this repository.
58
+
59
+ More information about the auto-updater can be found
60
+ in https://github.com/WarningImHack3r/vite-plugin-lucide-preprocess/pull/6.
61
+
50
62
  ## Installation
51
63
 
52
64
  Install the plugin with your package manager of choice:
package/dist/plugin.d.ts CHANGED
@@ -10,7 +10,7 @@ export function rawModulesToLists(rawModules: string): [string[], string[]];
10
10
  * Converts a PascalCase icon component name to a dashed string
11
11
  * (e.g. `IconComp` to `icon-comp`)
12
12
  * @param component {string} The PascalCase icon component name
13
- * @return {string} The dashed icon component name
13
+ * @return {string} The dashed icon component name, or the renamed one if it exists
14
14
  */
15
15
  export function iconCompToDashed(component: string): string;
16
16
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.js"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,8CAJsB,MAAM,GAChB,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,CAAC,CAY/B;AAED;;;;;GAKG;AACH,4CAHqB,MAAM,GACf,MAAM,CAejB;AAID;;;GAGG;AACH,0BAFY,OAAO,MAAM,EAAE,MAAM,CAwChC;AA5CD,oCAAiG"}
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.js"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,8CAJsB,MAAM,GAChB,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,CAAC,CAY/B;AAED;;;;;GAKG;AACH,4CAHqB,MAAM,GACf,MAAM,CAgBjB;AAID;;;GAGG;AACH,0BAFY,OAAO,MAAM,EAAE,MAAM,CAwChC;AA5CD,oCAAiG"}
package/dist/plugin.js CHANGED
@@ -1,3 +1,4 @@
1
+ import renamedReplacementsModules from "./renamedReplacements.js";
1
2
  const ignoredPaths = ["/node_modules/", "/.svelte-kit/"];
2
3
  /**
3
4
  * Converts a raw string of imported icons to a list of module names,
@@ -20,10 +21,10 @@ export function rawModulesToLists(rawModules) {
20
21
  * Converts a PascalCase icon component name to a dashed string
21
22
  * (e.g. `IconComp` to `icon-comp`)
22
23
  * @param component {string} The PascalCase icon component name
23
- * @return {string} The dashed icon component name
24
+ * @return {string} The dashed icon component name, or the renamed one if it exists
24
25
  */
25
26
  export function iconCompToDashed(component) {
26
- return (component
27
+ const computedDashed = component
27
28
  .split(" ")[0] // take only the first part if there's an alias
28
29
  // transform "IconComp" to "icon-comp"
29
30
  .replace(/[A-Z\d]/g, (match, offset) => (offset > 0 ? "-" : "") + match.toLowerCase())
@@ -31,8 +32,11 @@ export function iconCompToDashed(component) {
31
32
  .replace(/(\d)x-(\d)/, (_, a, b) => `${a}x${b}`)
32
33
  // exception for ClockNN
33
34
  .replace(/clock-(\d)-(\d)/, (_, a, b) => `clock-${a}${b}`)
35
+ // remove the Lucide prefix
36
+ .replace(/^lucide-/, "")
34
37
  // remove the "Icon" suffix
35
- .replace(/-icon$/, ""));
38
+ .replace(/-icon$/, "");
39
+ return renamedReplacementsModules[computedDashed] ?? computedDashed;
36
40
  }
37
41
  export const importsMatcher = /^(\s*)import\s+\{([^}]*)}\s+from\s+(["'])lucide-(.*?)["'](.*)$/gm;
38
42
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.js","sourceRoot":"","sources":["../src/plugin.js"],"names":[],"mappings":"AAAA,MAAM,YAAY,GAAG,CAAC,g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AC,CAAC,EAAE,CACH,GAAG,cAAc,UAAU,CAAC,SAAS,KAAK,UAAU,SAAS,UAAU,gBAAgB,CAAC,CAAC,CAAC,GAAG,KAAK,GAAG,UAAU,CAAC,OAAO,EAAE,EAAE,CAC5H;yBACA,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;oBAClD,MAAM,WAAW,GAAG,GAAG,cAAc,iBAAiB,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,KAAK,UAAU,SAAS,GAAG,KAAK,GAAG,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC;oBAC3I,OAAO;wBACN,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS;wBACtC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS;qBAC1C;yBACC,MAAM,CAAC,OAAO,CAAC;yBACf,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;gBACnD,CAAC,CACD;aACD,CAAC;QACH,CAAC;KACD,CAAC;AACH,CAAC"}
@@ -0,0 +1,158 @@
1
+ declare const _default: {
2
+ "alarm-check": string;
3
+ "alarm-minus": string;
4
+ "alarm-plus": string;
5
+ "arrow-down-az": string;
6
+ "sort-desc": string;
7
+ "arrow-down-za": string;
8
+ "arrow-up-az": string;
9
+ "sort-asc": string;
10
+ "arrow-up-za": string;
11
+ "axis-3-d": string;
12
+ verified: string;
13
+ "book-template": string;
14
+ "curly-braces": string;
15
+ subtitles: string;
16
+ "alert-circle": string;
17
+ "arrow-down-circle": string;
18
+ "arrow-left-circle": string;
19
+ "arrow-down-left-from-circle": string;
20
+ "arrow-down-right-from-circle": string;
21
+ "arrow-up-left-from-circle": string;
22
+ "arrow-up-right-from-circle": string;
23
+ "arrow-right-circle": string;
24
+ "arrow-up-circle": string;
25
+ "check-circle": string;
26
+ "check-circle-2": string;
27
+ "chevron-down-circle": string;
28
+ "chevron-left-circle": string;
29
+ "chevron-right-circle": string;
30
+ "chevron-up-circle": string;
31
+ "divide-circle": string;
32
+ "gauge-circle": string;
33
+ "help-circle": string;
34
+ "minus-circle": string;
35
+ "parking-circle-off": string;
36
+ "parking-circle": string;
37
+ "pause-circle": string;
38
+ "percent-circle": string;
39
+ "play-circle": string;
40
+ "plus-circle": string;
41
+ "power-circle": string;
42
+ "circle-slashed": string;
43
+ "stop-circle": string;
44
+ "user-circle": string;
45
+ "x-circle": string;
46
+ "clipboard-signature": string;
47
+ "clipboard-edit": string;
48
+ "download-cloud": string;
49
+ "upload-cloud": string;
50
+ columns: string;
51
+ "panels-left-right": string;
52
+ "percent-diamond": string;
53
+ "more-vertical": string;
54
+ "more-horizontal": string;
55
+ "file-axis-3-d": string;
56
+ "file-signature": string;
57
+ "file-edit": string;
58
+ "folder-edit": string;
59
+ "git-commit": string;
60
+ "grid-2-x-2": string;
61
+ grid: string;
62
+ "grid-3-x-3": string;
63
+ "helping-hand": string;
64
+ home: string;
65
+ "ice-cream": string;
66
+ outdent: string;
67
+ indent: string;
68
+ "loader-2": string;
69
+ "unlock-keyhole": string;
70
+ unlock: string;
71
+ "move-3-d": string;
72
+ "alert-octagon": string;
73
+ "pause-octagon": string;
74
+ "x-octagon": string;
75
+ "paintbrush-2": string;
76
+ "panel-bottom-inactive": string;
77
+ "sidebar-close": string;
78
+ "panel-left-inactive": string;
79
+ "sidebar-open": string;
80
+ sidebar: string;
81
+ "panel-right-inactive": string;
82
+ "panel-top-inactive": string;
83
+ layout: string;
84
+ "plug-zap-2": string;
85
+ "form-input": string;
86
+ "rotate-3-d": string;
87
+ rows: string;
88
+ "panels-top-bottom": string;
89
+ "scale-3-d": string;
90
+ "shield-close": string;
91
+ sliders: string;
92
+ stars: string;
93
+ "activity-square": string;
94
+ "arrow-down-left-square": string;
95
+ "arrow-down-right-square": string;
96
+ "arrow-down-square": string;
97
+ "arrow-left-square": string;
98
+ "arrow-down-left-from-square": string;
99
+ "arrow-down-right-from-square": string;
100
+ "arrow-up-left-from-square": string;
101
+ "arrow-up-right-from-square": string;
102
+ "arrow-right-square": string;
103
+ "arrow-up-left-square": string;
104
+ "arrow-up-right-square": string;
105
+ "arrow-up-square": string;
106
+ "asterisk-square": string;
107
+ "scissors-square-dashed-bottom": string;
108
+ "gantt-chart-square": string;
109
+ "square-gantt-chart": string;
110
+ "check-square": string;
111
+ "check-square-2": string;
112
+ "chevron-down-square": string;
113
+ "chevron-left-square": string;
114
+ "chevron-right-square": string;
115
+ "chevron-up-square": string;
116
+ "code-square": string;
117
+ "kanban-square-dashed": string;
118
+ "mouse-pointer-square-dashed": string;
119
+ "box-select": string;
120
+ "divide-square": string;
121
+ "dot-square": string;
122
+ "equal-square": string;
123
+ "function-square": string;
124
+ "kanban-square": string;
125
+ "library-square": string;
126
+ "m-square": string;
127
+ "menu-square": string;
128
+ "minus-square": string;
129
+ inspect: string;
130
+ "parking-square-off": string;
131
+ "parking-square": string;
132
+ "pen-box": string;
133
+ edit: string;
134
+ "pen-square": string;
135
+ "percent-square": string;
136
+ "pi-square": string;
137
+ "pilcrow-square": string;
138
+ "play-square": string;
139
+ "plus-square": string;
140
+ "power-square": string;
141
+ "scissors-square": string;
142
+ "sigma-square": string;
143
+ "slash-square": string;
144
+ "split-square-horizontal": string;
145
+ "split-square-vertical": string;
146
+ "terminal-square": string;
147
+ "user-square": string;
148
+ "x-square": string;
149
+ "test-tube-2": string;
150
+ "text-selection": string;
151
+ train: string;
152
+ palmtree: string;
153
+ "alert-triangle": string;
154
+ "fork-knife-crossed": string;
155
+ "fork-knife": string;
156
+ };
157
+ export default _default;
158
+ //# sourceMappingURL=renamedReplacements.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renamedReplacements.d.ts","sourceRoot":"","sources":["../src/renamedReplacements.js"],"names":[],"mappings":""}
@@ -0,0 +1,157 @@
1
+ export default {
2
+ "alarm-check": "alarm-clock-check",
3
+ "alarm-minus": "alarm-clock-minus",
4
+ "alarm-plus": "alarm-clock-plus",
5
+ "arrow-down-az": "arrow-down-a-z",
6
+ "sort-desc": "arrow-down-wide-narrow",
7
+ "arrow-down-za": "arrow-down-z-a",
8
+ "arrow-up-az": "arrow-up-a-z",
9
+ "sort-asc": "arrow-up-narrow-wide",
10
+ "arrow-up-za": "arrow-up-z-a",
11
+ "axis-3-d": "axis-3d",
12
+ verified: "badge-check",
13
+ "book-template": "book-dashed",
14
+ "curly-braces": "braces",
15
+ subtitles: "captions",
16
+ "alert-circle": "circle-alert",
17
+ "arrow-down-circle": "circle-arrow-down",
18
+ "arrow-left-circle": "circle-arrow-left",
19
+ "arrow-down-left-from-circle": "circle-arrow-out-down-left",
20
+ "arrow-down-right-from-circle": "circle-arrow-out-down-right",
21
+ "arrow-up-left-from-circle": "circle-arrow-out-up-left",
22
+ "arrow-up-right-from-circle": "circle-arrow-out-up-right",
23
+ "arrow-right-circle": "circle-arrow-right",
24
+ "arrow-up-circle": "circle-arrow-up",
25
+ "check-circle": "circle-check-big",
26
+ "check-circle-2": "circle-check",
27
+ "chevron-down-circle": "circle-chevron-down",
28
+ "chevron-left-circle": "circle-chevron-left",
29
+ "chevron-right-circle": "circle-chevron-right",
30
+ "chevron-up-circle": "circle-chevron-up",
31
+ "divide-circle": "circle-divide",
32
+ "gauge-circle": "circle-gauge",
33
+ "help-circle": "circle-help",
34
+ "minus-circle": "circle-minus",
35
+ "parking-circle-off": "circle-parking-off",
36
+ "parking-circle": "circle-parking",
37
+ "pause-circle": "circle-pause",
38
+ "percent-circle": "circle-percent",
39
+ "play-circle": "circle-play",
40
+ "plus-circle": "circle-plus",
41
+ "power-circle": "circle-power",
42
+ "circle-slashed": "circle-slash-2",
43
+ "stop-circle": "circle-stop",
44
+ "user-circle": "circle-user",
45
+ "x-circle": "circle-x",
46
+ "clipboard-signature": "clipboard-pen-line",
47
+ "clipboard-edit": "clipboard-pen",
48
+ "download-cloud": "cloud-download",
49
+ "upload-cloud": "cloud-upload",
50
+ columns: "columns-2",
51
+ "panels-left-right": "columns-3",
52
+ "percent-diamond": "diamond-percent",
53
+ "more-vertical": "ellipsis-vertical",
54
+ "more-horizontal": "ellipsis",
55
+ "file-axis-3-d": "file-axis-3d",
56
+ "file-signature": "file-pen-line",
57
+ "file-edit": "file-pen",
58
+ "folder-edit": "folder-pen",
59
+ "git-commit": "git-commit-horizontal",
60
+ "grid-2-x-2": "grid-2x2",
61
+ grid: "grid-3x3",
62
+ "grid-3-x-3": "grid-3x3",
63
+ "helping-hand": "hand-helping",
64
+ home: "house",
65
+ "ice-cream": "ice-cream-cone",
66
+ outdent: "indent-decrease",
67
+ indent: "indent-increase",
68
+ "loader-2": "loader-circle",
69
+ "unlock-keyhole": "lock-keyhole-open",
70
+ unlock: "lock-open",
71
+ "move-3-d": "move-3d",
72
+ "alert-octagon": "octagon-alert",
73
+ "pause-octagon": "octagon-pause",
74
+ "x-octagon": "octagon-x",
75
+ "paintbrush-2": "paintbrush-vertical",
76
+ "panel-bottom-inactive": "panel-bottom-dashed",
77
+ "sidebar-close": "panel-left-close",
78
+ "panel-left-inactive": "panel-left-dashed",
79
+ "sidebar-open": "panel-left-open",
80
+ sidebar: "panel-left",
81
+ "panel-right-inactive": "panel-right-dashed",
82
+ "panel-top-inactive": "panel-top-dashed",
83
+ layout: "panels-top-left",
84
+ "plug-zap-2": "plug-zap",
85
+ "form-input": "rectangle-ellipsis",
86
+ "rotate-3-d": "rotate-3d",
87
+ rows: "rows-2",
88
+ "panels-top-bottom": "rows-3",
89
+ "scale-3-d": "scale-3d",
90
+ "shield-close": "shield-x",
91
+ sliders: "sliders-vertical",
92
+ stars: "sparkles",
93
+ "activity-square": "square-activity",
94
+ "arrow-down-left-square": "square-arrow-down-left",
95
+ "arrow-down-right-square": "square-arrow-down-right",
96
+ "arrow-down-square": "square-arrow-down",
97
+ "arrow-left-square": "square-arrow-left",
98
+ "arrow-down-left-from-square": "square-arrow-out-down-left",
99
+ "arrow-down-right-from-square": "square-arrow-out-down-right",
100
+ "arrow-up-left-from-square": "square-arrow-out-up-left",
101
+ "arrow-up-right-from-square": "square-arrow-out-up-right",
102
+ "arrow-right-square": "square-arrow-right",
103
+ "arrow-up-left-square": "square-arrow-up-left",
104
+ "arrow-up-right-square": "square-arrow-up-right",
105
+ "arrow-up-square": "square-arrow-up",
106
+ "asterisk-square": "square-asterisk",
107
+ "scissors-square-dashed-bottom": "square-bottom-dashed-scissors",
108
+ "gantt-chart-square": "square-chart-gantt",
109
+ "square-gantt-chart": "square-chart-gantt",
110
+ "check-square": "square-check-big",
111
+ "check-square-2": "square-check",
112
+ "chevron-down-square": "square-chevron-down",
113
+ "chevron-left-square": "square-chevron-left",
114
+ "chevron-right-square": "square-chevron-right",
115
+ "chevron-up-square": "square-chevron-up",
116
+ "code-square": "square-code",
117
+ "kanban-square-dashed": "square-dashed-kanban",
118
+ "mouse-pointer-square-dashed": "square-dashed-mouse-pointer",
119
+ "box-select": "square-dashed",
120
+ "divide-square": "square-divide",
121
+ "dot-square": "square-dot",
122
+ "equal-square": "square-equal",
123
+ "function-square": "square-function",
124
+ "kanban-square": "square-kanban",
125
+ "library-square": "square-library",
126
+ "m-square": "square-m",
127
+ "menu-square": "square-menu",
128
+ "minus-square": "square-minus",
129
+ inspect: "square-mouse-pointer",
130
+ "parking-square-off": "square-parking-off",
131
+ "parking-square": "square-parking",
132
+ "pen-box": "square-pen",
133
+ edit: "square-pen",
134
+ "pen-square": "square-pen",
135
+ "percent-square": "square-percent",
136
+ "pi-square": "square-pi",
137
+ "pilcrow-square": "square-pilcrow",
138
+ "play-square": "square-play",
139
+ "plus-square": "square-plus",
140
+ "power-square": "square-power",
141
+ "scissors-square": "square-scissors",
142
+ "sigma-square": "square-sigma",
143
+ "slash-square": "square-slash",
144
+ "split-square-horizontal": "square-split-horizontal",
145
+ "split-square-vertical": "square-split-vertical",
146
+ "terminal-square": "square-terminal",
147
+ "user-square": "square-user",
148
+ "x-square": "square-x",
149
+ "test-tube-2": "test-tube-diagonal",
150
+ "text-selection": "text-select",
151
+ train: "tram-front",
152
+ palmtree: "tree-palm",
153
+ "alert-triangle": "triangle-alert",
154
+ "fork-knife-crossed": "utensils-crossed",
155
+ "fork-knife": "utensils"
156
+ };
157
+ //# sourceMappingURL=renamedReplacements.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renamedReplacements.js","sourceRoot":"","sources":["../src/renamedReplacements.js"],"names":[],"mappings":"AAAA,eAAe;IACd,aAAa,EAAE,mBAAmB;IAClC,aAAa,EAAE,mBAAmB;IAClC,YAAY,EAAE,kBAAkB;IAChC,eAAe,EAAE,gBAAgB;IACjC,WAAW,EAAE,wBAAwB;IACrC,eAAe,EAAE,gBAAgB;IACjC,aAAa,EAAE,cAAc;IAC7B,UAAU,EAAE,sBAAsB;IAClC,aAAa,EAAE,cAAc;IAC7B,UAAU,EAAE,SAAS;IACrB,QAAQ,EAAE,aAAa;IACvB,eAAe,EAAE,aAAa;IAC9B,cAAc,EAAE,QAAQ;IACxB,SAAS,EAAE,UAAU;IACrB,cAAc,EAAE,cAAc;IAC9B,mBAAmB,EAAE,mBAAmB;IACxC,mBAAmB,EAAE,mBAAmB;IACxC,6BAA6B,EAAE,4BAA4B;IAC3D,8BAA8B,EAAE,6BAA6B;IAC7D,2BAA2B,EAAE,0BAA0B;IACvD,4BAA4B,EAAE,2BAA2B;IACzD,oBAAoB,EAAE,oBAAoB;IAC1C,iBAAiB,EAAE,iBAAiB;IACpC,cAAc,EAAE,kBAAkB;IAClC,gBAAgB,EAAE,cAAc;IAChC,qBAAqB,EAAE,qBAAqB;IAC5C,qBAAqB,EAAE,qBAAqB;IAC5C,sBAAsB,EAAE,sBAAsB;IAC9C,mBAAmB,EAAE,mBAAmB;IACxC,eAAe,EAAE,eAAe;IAChC,cAAc,EAAE,cAAc;IAC9B,aAAa,E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IAChC,gBAAgB,EAAE,gBAAgB;IAClC,UAAU,EAAE,UAAU;IACtB,aAAa,EAAE,aAAa;IAC5B,cAAc,EAAE,cAAc;IAC9B,OAAO,EAAE,sBAAsB;IAC/B,oBAAoB,EAAE,oBAAoB;IAC1C,gBAAgB,EAAE,gBAAgB;IAClC,SAAS,EAAE,YAAY;IACvB,IAAI,EAAE,YAAY;IAClB,YAAY,EAAE,YAAY;IAC1B,gBAAgB,EAAE,gBAAgB;IAClC,WAAW,EAAE,WAAW;IACxB,gBAAgB,EAAE,gBAAgB;IAClC,aAAa,EAAE,aAAa;IAC5B,aAAa,EAAE,aAAa;IAC5B,cAAc,EAAE,cAAc;IAC9B,iBAAiB,EAAE,iBAAiB;IACpC,cAAc,EAAE,cAAc;IAC9B,cAAc,EAAE,cAAc;IAC9B,yBAAyB,EAAE,yBAAyB;IACpD,uBAAuB,EAAE,uBAAuB;IAChD,iBAAiB,EAAE,iBAAiB;IACpC,aAAa,EAAE,aAAa;IAC5B,UAAU,EAAE,UAAU;IACtB,aAAa,EAAE,oBAAoB;IACnC,gBAAgB,EAAE,aAAa;IAC/B,KAAK,EAAE,YAAY;IACnB,QAAQ,EAAE,WAAW;IACrB,gBAAgB,EAAE,gBAAgB;IAClC,oBAAoB,EAAE,kBAAkB;IACxC,YAAY,EAAE,UAAU;CACxB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-lucide-preprocess",
3
- "version": "1.0.4",
3
+ "version": "1.1.1",
4
4
  "author": {
5
5
  "url": "https://github.com/WarningImHack3r",
6
6
  "name": "WarningImHack3r"
@@ -31,12 +31,12 @@
31
31
  "vite": "^5"
32
32
  },
33
33
  "devDependencies": {
34
- "lucide-svelte": "^0.428.0",
34
+ "lucide-svelte": "^0.452.0",
35
35
  "prettier": "^3.3.3",
36
- "publint": "^0.2.10",
37
- "typescript": "^5.5.4",
38
- "vite": "^5.4.1",
39
- "vitest": "^2.0.5"
36
+ "publint": "^0.2.11",
37
+ "typescript": "^5.6.3",
38
+ "vite": "^5.4.8",
39
+ "vitest": "^2.1.2"
40
40
  },
41
41
  "main": "./dist/index.js",
42
42
  "types": "./dist/index.d.ts",