|
2 | 2 | "name": "safe-formdata", |
3 | 3 | "version": "0.1.3", |
4 | 4 | "description": "Boundary-focused FormData parser with strict security guarantees", |
| 5 | + "keywords": [ |
| 6 | + "boundary", |
| 7 | + "formdata", |
| 8 | + "parser", |
| 9 | + "prototype-pollution", |
| 10 | + "security" |
| 11 | + ], |
| 12 | + "homepage": "https://github.com/roottool/safe-formdata#readme", |
| 13 | + "bugs": { |
| 14 | + "url": "https://github.com/roottool/safe-formdata/issues" |
| 15 | + }, |
| 16 | + "license": "MIT", |
5 | 17 | "author": "roottool", |
6 | 18 | "repository": { |
7 | 19 | "type": "git", |
8 | 20 | "url": "git+https://github.com/roottool/safe-formdata.git" |
9 | 21 | }, |
10 | | - "bugs": { |
11 | | - "url": "https://github.com/roottool/safe-formdata/issues" |
12 | | - }, |
13 | | - "homepage": "https://github.com/roottool/safe-formdata#readme", |
| 22 | + "files": [ |
| 23 | + "dist" |
| 24 | + ], |
| 25 | + "type": "module", |
| 26 | + "main": "./dist/index.js", |
| 27 | + "module": "./dist/index.js", |
| 28 | + "types": "./dist/index.d.ts", |
14 | 29 | "imports": { |
15 | 30 | "#*": { |
16 | 31 | "types": "./src/*.ts", |
|
19 | 34 | }, |
20 | 35 | "#safe-formdata": "./src/index.ts" |
21 | 36 | }, |
22 | | - "type": "module", |
23 | | - "main": "./dist/index.js", |
24 | | - "module": "./dist/index.js", |
25 | | - "types": "./dist/index.d.ts", |
26 | 37 | "exports": { |
27 | 38 | ".": { |
28 | 39 | "types": "./dist/index.d.ts", |
29 | 40 | "import": "./dist/index.js", |
30 | 41 | "default": "./dist/index.js" |
31 | 42 | } |
32 | 43 | }, |
33 | | - "files": [ |
34 | | - "dist" |
35 | | - ], |
36 | 44 | "scripts": { |
37 | 45 | "dev": "tsup --watch", |
38 | 46 | "lint": "oxlint . --deny-warnings", |
39 | 47 | "lint:fix": "oxlint . --fix-suggestions", |
40 | | - "format:biome": "biome check --write --assist-enabled true", |
41 | | - "format:prettier": "prettier --cache --write \"**/*.{md,yml,yaml}\"", |
42 | | - "format": "npm-run-all2 format:biome format:prettier", |
| 48 | + "format": "oxfmt", |
43 | 49 | "fix": "npm-run-all2 lint:fix format", |
44 | | - "check:biome": "biome check . --assist-enabled true", |
45 | | - "check:prettier": "prettier --cache --check \"**/*.{md,yml,yaml}\"", |
46 | | - "check:format": "npm-run-all2 check:biome check:prettier", |
| 50 | + "check:format": "oxfmt --check", |
47 | 51 | "check:source": "npm-run-all2 lint check:format", |
48 | 52 | "check": "bun run check:source", |
49 | 53 | "check:type:source": "tsc --noEmit", |
50 | 54 | "check:type:example": "tsc --project tsconfig.examples.json --noEmit", |
51 | 55 | "check:type": "npm-run-all2 check:type:source check:type:example", |
52 | | - "check:prettier:ci": "prettier --check \"**/*.{md,yml,yaml}\"", |
53 | | - "check:format:ci": "npm-run-all2 check:biome check:prettier:ci", |
54 | | - "check:source:ci": "npm-run-all2 lint check:format:ci", |
| 56 | + "check:source:ci": "npm-run-all2 lint check:format", |
55 | 57 | "test": "vitest run", |
56 | 58 | "test:watch": "vitest", |
57 | 59 | "test:coverage": "vitest run --coverage", |
|
61 | 63 | }, |
62 | 64 | "devDependencies": { |
63 | 65 | "@arethetypeswrong/cli": "0.18.2", |
64 | | - "@biomejs/biome": "2.3.10", |
65 | 66 | "@types/node": "25.0.3", |
66 | 67 | "@vitest/coverage-v8": "4.0.16", |
67 | 68 | "happy-dom": "20.0.11", |
68 | 69 | "npm-run-all2": "8.0.4", |
| 70 | + "oxfmt": "0.35.0", |
69 | 71 | "oxlint": "1.34.0", |
70 | | - "prettier": "3.7.4", |
71 | 72 | "publint": "0.3.16", |
72 | 73 | "terser": "5.44.1", |
73 | 74 | "tsup": "8.5.1", |
74 | 75 | "typescript": "5.9.3", |
75 | 76 | "vitest": "4.0.16" |
76 | | - }, |
77 | | - "license": "MIT", |
78 | | - "keywords": [ |
79 | | - "formdata", |
80 | | - "parser", |
81 | | - "security", |
82 | | - "boundary", |
83 | | - "prototype-pollution" |
84 | | - ] |
| 77 | + } |
85 | 78 | } |
0 commit comments