Skip to content

Commit 158e072

Browse files
committed
update deps, build
1 parent 4ebe17f commit 158e072

File tree

9 files changed

+27
-27
lines changed

9 files changed

+27
-27
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![jsDeliver](https://img.shields.io/jsdelivr/npm/hw/svg-path-commander)](https://www.jsdelivr.com/package/npm/svg-path-commander)
77
[![typescript version](https://img.shields.io/badge/typescript-5.7.3-brightgreen)](https://www.typescriptlang.org/)
88
[![vitest version](https://img.shields.io/badge/vitest-3.0.5-brightgreen)](https://vitest.dev/)
9-
[![vite version](https://img.shields.io/badge/vite-6.0.11-brightgreen)](https://vitejs.dev/)
9+
[![vite version](https://img.shields.io/badge/vite-6.1.0-brightgreen)](https://vitejs.dev/)
1010

1111
![image](./docs/assets/SVGPathCommander.svg)
1212

dist/svg-path-commander.cjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/svg-path-commander.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/svg-path-commander.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/svg-path-commander.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"playwright": "^1.50.1",
6666
"tsup": "^8.3.6",
6767
"typescript": "5.7.3",
68-
"vite": "^6.0.11",
68+
"vite": "^6.1.0",
6969
"vitest": "^3.0.5"
7070
},
7171
"dependencies": {

pnpm-lock.yaml

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class SVGPathCommander {
106106

107107
if (undefPath || !pathValue.length) {
108108
throw TypeError(
109-
`${error}: "pathValue" is ${undefPath ? "undefined" : "empty"}`
109+
`${error}: "pathValue" is ${undefPath ? "undefined" : "empty"}`,
110110
);
111111
}
112112

@@ -226,11 +226,11 @@ class SVGPathCommander {
226226

227227
const absoluteMultiPath = subPath
228228
? subPath.map((x, i) => {
229-
if (onlySubpath) {
230-
return i ? reversePath(x) : x.slice(0);
231-
}
232-
return reversePath(x);
233-
})
229+
if (onlySubpath) {
230+
return i ? reversePath(x) : x.slice(0);
231+
}
232+
return reversePath(x);
233+
})
234234
: segments.slice(0);
235235

236236
let path = [] as unknown as PathArray;
@@ -594,4 +594,4 @@ class SVGPathCommander {
594594
}
595595
}
596596

597-
export default SVGPathCommander;
597+
export default SVGPathCommander;

src/temp

Whitespace-only changes.

0 commit comments

Comments
 (0)