svg-path-commander 2.3.3 → 2.3.5

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/package.json CHANGED
@@ -1,33 +1,33 @@
1
1
  {
2
2
  "name": "svg-path-commander",
3
- "author": "thednp",
4
- "license": "MIT",
5
- "version": "2.3.3",
3
+ "version": "2.3.5",
6
4
  "description": "🛹 Modern TypeScript tools for SVG",
7
- "homepage": "http://thednp.github.io/svg-path-commander",
8
- "bugs": {
9
- "url": "https://github.com/thednp/svg-path-commander/issues"
10
- },
11
- "repository": {
12
- "type": "git",
13
- "url": "git+https://github.com/thednp/svg-path-commander.git"
14
- },
15
5
  "keywords": [
16
- "svg",
17
- "path",
6
+ "absolute",
18
7
  "commander",
19
- "parse",
8
+ "convert",
9
+ "curve",
10
+ "intersect",
20
11
  "normalize",
21
12
  "optimize",
22
- "reverse",
23
- "intersect",
24
- "convert",
25
- "absolute",
13
+ "parse",
14
+ "path",
26
15
  "relative",
27
- "curve",
16
+ "reverse",
17
+ "svg",
28
18
  "transform3d",
29
19
  "typescript"
30
20
  ],
21
+ "homepage": "http://thednp.github.io/svg-path-commander",
22
+ "bugs": {
23
+ "url": "https://github.com/thednp/svg-path-commander/issues"
24
+ },
25
+ "license": "MIT",
26
+ "author": "thednp",
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "git+https://github.com/thednp/svg-path-commander.git"
30
+ },
31
31
  "files": [
32
32
  "dist",
33
33
  "package.json",
@@ -36,48 +36,53 @@
36
36
  "CHANGELOG.md",
37
37
  "LICENSE"
38
38
  ],
39
+ "type": "module",
40
+ "sideEffects": false,
39
41
  "main": "./dist/index.js",
40
- "browser": "./dist/index.min.js",
41
42
  "module": "./dist/index.js",
43
+ "browser": "./dist/index.min.js",
42
44
  "types": "./dist/index.d.ts",
43
- "sideEffects": false,
44
- "type": "module",
45
45
  "exports": {
46
46
  ".": "./dist/index.js",
47
47
  "./util": "./dist/util.js",
48
48
  "./package.json": "./package.json"
49
49
  },
50
+ "dependencies": {
51
+ "@thednp/dommatrix": "^3.1.4"
52
+ },
50
53
  "devDependencies": {
51
- "@types/node": "^26.4.1",
52
- "@vitest/browser": "^4.1.11",
53
- "@vitest/browser-playwright": "^4.1.11",
54
- "@vitest/coverage-istanbul": "^4.1.11",
55
- "@vitest/ui": "^4.1.11",
56
- "happy-dom": "^20.12.2",
57
- "playwright": "^1.62.1",
58
- "tsdown": "0.22.14",
54
+ "@types/node": "^26.6.6",
55
+ "@vitest/browser-playwright": "5.1.0",
56
+ "@vitest/coverage-istanbul": "5.1.0",
57
+ "@vitest/ui": "5.1.0",
58
+ "happy-dom": "^21.0.4",
59
+ "playwright": "^1.65.1",
59
60
  "typescript": "^7.0.2",
60
- "vite": "^8.2.2",
61
- "vite-plugin-strip-comments": "^0.0.10",
62
- "vitest": "^4.1.11"
61
+ "vite-plus": "1.6.0",
62
+ "vitest": "5.1.0"
63
63
  },
64
- "dependencies": {
65
- "@thednp/dommatrix": "^3.1.2"
64
+ "catalog": {
65
+ "vitest": "5.1.0",
66
+ "vite-plus": "1.6.0",
67
+ "@vitest/browser-playwright": "5.1.0",
68
+ "@vitest/coverage-istanbul": "5.1.0",
69
+ "@vitest/ui": "5.1.0"
66
70
  },
67
71
  "scripts": {
68
- "pre-test": "pnpm clean-coverage",
69
- "dev": "vite serve docs --port 3000",
70
- "test": "vitest",
71
- "test-ui": "vitest --ui",
72
+ "pre-test": "vpr clean-coverage",
73
+ "dev": "vp dev docs --port 3000",
74
+ "test": "vp test",
75
+ "test:ui": "vp test --ui --watch",
76
+ "test:watch": "vp test --watch",
72
77
  "clean-coverage": "rm -rf coverage .nyc_output",
73
- "format": "deno fmt src",
74
- "lint": "pnpm lint:ts",
78
+ "format": "vp fmt src",
79
+ "lint": "vpr lint:ts && vpr check:ts",
75
80
  "bench": "node scripts/bench.js",
76
- "fix:ts": "deno lint --fix src",
77
- "lint:ts": "deno lint src",
81
+ "fix:ts": "vp lint --fix src",
82
+ "lint:ts": "vp lint src",
78
83
  "check:ts": "tsc --noEmit",
79
84
  "up:deno": "deno update --latest && deno run -A scripts/update-deno.js",
80
- "build": "tsdown && pnpm copy-docs",
85
+ "build": "vp pack && vpr copy-docs",
81
86
  "copy-docs": "cp dist/index.min.js docs/index.min.js && cp dist/index.min.js.map docs/index.min.js.map"
82
87
  }
83
88
  }