|
1 | 1 | { |
2 | | - "name": "hast-util-sanitize", |
3 | | - "version": "5.0.1", |
4 | | - "description": "hast utility to sanitize nodes", |
5 | | - "license": "MIT", |
6 | | - "keywords": [ |
7 | | - "unist", |
8 | | - "hast", |
9 | | - "hast-util", |
10 | | - "util", |
11 | | - "utility", |
12 | | - "html", |
13 | | - "clean", |
14 | | - "xss", |
15 | | - "safe", |
16 | | - "sanitize" |
17 | | - ], |
18 | | - "repository": "syntax-tree/hast-util-sanitize", |
19 | | - "bugs": "https://github.com/syntax-tree/hast-util-sanitize/issues", |
20 | | - "funding": { |
21 | | - "type": "opencollective", |
22 | | - "url": "https://opencollective.com/unified" |
23 | | - }, |
24 | 2 | "author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)", |
| 3 | + "bugs": "https://github.com/syntax-tree/hast-util-sanitize/issues", |
25 | 4 | "contributors": [ |
26 | | - "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)", |
27 | | - "Jason Switzer <jswitzer@gmail.com>" |
28 | | - ], |
29 | | - "sideEffects": false, |
30 | | - "type": "module", |
31 | | - "exports": "./index.js", |
32 | | - "files": [ |
33 | | - "lib/", |
34 | | - "index.d.ts", |
35 | | - "index.js" |
| 5 | + "Jason Switzer <jswitzer@gmail.com>", |
| 6 | + "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)" |
36 | 7 | ], |
37 | 8 | "dependencies": { |
38 | 9 | "@types/hast": "^3.0.0", |
39 | 10 | "@ungap/structured-clone": "^1.0.0", |
40 | 11 | "unist-util-position": "^5.0.0" |
41 | 12 | }, |
| 13 | + "description": "hast utility to sanitize nodes", |
42 | 14 | "devDependencies": { |
43 | 15 | "@types/node": "^22.0.0", |
44 | 16 | "@types/ungap__structured-clone": "^1.0.0", |
|
59 | 31 | "unist-util-visit": "^5.0.0", |
60 | 32 | "xo": "^0.59.0" |
61 | 33 | }, |
62 | | - "scripts": { |
63 | | - "prepack": "npm run build && npm run format", |
64 | | - "build": "tsc --build --clean && tsc --build && type-coverage", |
65 | | - "format": "remark . -qfo && prettier . -w --log-level warn && xo --fix", |
66 | | - "test-api": "node --conditions development test/index.js", |
67 | | - "test-coverage": "c8 --100 --reporter lcov npm run test-api", |
68 | | - "test": "npm run build && npm run format && npm run test-coverage" |
| 34 | + "exports": "./index.js", |
| 35 | + "files": [ |
| 36 | + "lib/", |
| 37 | + "index.d.ts", |
| 38 | + "index.js" |
| 39 | + ], |
| 40 | + "funding": { |
| 41 | + "type": "opencollective", |
| 42 | + "url": "https://opencollective.com/unified" |
69 | 43 | }, |
| 44 | + "keywords": [ |
| 45 | + "clean", |
| 46 | + "hast-util", |
| 47 | + "hast", |
| 48 | + "html", |
| 49 | + "safe", |
| 50 | + "sanitize", |
| 51 | + "utility", |
| 52 | + "util", |
| 53 | + "unist", |
| 54 | + "xss" |
| 55 | + ], |
| 56 | + "license": "MIT", |
| 57 | + "name": "hast-util-sanitize", |
70 | 58 | "prettier": { |
71 | 59 | "bracketSpacing": false, |
72 | 60 | "semi": false, |
|
80 | 68 | "remark-preset-wooorm" |
81 | 69 | ] |
82 | 70 | }, |
| 71 | + "repository": "syntax-tree/hast-util-sanitize", |
| 72 | + "scripts": { |
| 73 | + "build": "tsc --build --clean && tsc --build && type-coverage", |
| 74 | + "format": "remark . -qfo && prettier . -w --log-level warn && xo --fix", |
| 75 | + "test-api": "node --conditions development test/index.js", |
| 76 | + "test-coverage": "c8 --100 --reporter lcov npm run test-api", |
| 77 | + "test": "npm run build && npm run format && npm run test-coverage" |
| 78 | + }, |
| 79 | + "sideEffects": false, |
83 | 80 | "typeCoverage": { |
84 | 81 | "atLeast": 100, |
85 | | - "detail": true, |
86 | | - "ignoreCatch": true, |
87 | 82 | "#": "Couple of needed `any`s", |
88 | 83 | "ignoreFiles": [ |
89 | 84 | "lib/index.d.ts" |
90 | 85 | ], |
91 | 86 | "strict": true |
92 | 87 | }, |
| 88 | + "type": "module", |
| 89 | + "version": "5.0.1", |
93 | 90 | "xo": { |
94 | 91 | "overrides": [ |
95 | 92 | { |
|
0 commit comments