forked from package-url/packageurl-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
108 lines (108 loc) · 3.5 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "@socketregistry/packageurl-js",
"version": "1.0.6",
"license": "MIT",
"description": "Socket.dev optimized package override for packageurl-js",
"keywords": [
"Socket.dev",
"package-overrides"
],
"homepage": "https://github.com/SocketDev/socket-packageurl-js",
"repository": {
"type": "git",
"url": "git+https://github.com/SocketDev/socket-packageurl-js.git"
},
"exports": {
".": {
"types": "./index.d.ts",
"default": "./index.js"
},
"./data/npm/builtin-names.json": "./data/npm/builtin-names.json",
"./data/npm/legacy-names.json": "./data/npm/legacy-names.json",
"./src/constants": "./src/constants.js",
"./src/decode": "./src/decode.js",
"./src/encode": "./src/encode.js",
"./src/error": "./src/error.js",
"./src/helpers": "./src/helpers.js",
"./src/lang": "./src/lang.js",
"./src/normalize": "./src/normalize.js",
"./src/objects": "./src/objects.js",
"./src/package-url": {
"types": "./src/package-url.d.ts",
"default": "./src/package-url.js"
},
"./src/purl-component": "./src/purl-component.js",
"./src/purl-qualifier-names": "./src/purl-qualifier-names.js",
"./src/purl-type": "./src/purl-type.js",
"./src/strings": "./src/strings.js",
"./src/validate": "./src/validate.js",
"./package.json": "./package.json"
},
"sideEffects": false,
"scripts": {
"check": "run-p -c --aggregate-output check:*",
"check:lint": "eslint --report-unused-disable-directives .",
"check:lint:fix": "npm run check:lint -- --fix",
"check:tsc": "tsc",
"clean": "run-p --aggregate-output clean:*",
"clean:node_modules": "del-cli '**/node_modules'",
"fix": "run-s lint:fix check:lint:fix",
"knip:dependencies": "knip --dependencies",
"knip:exports": "knip --include exports,duplicates",
"lint": "oxlint -c=./.oxlintrc.json --ignore-path=./.oxlintignore --tsconfig=./tsconfig.json .",
"lint:fix": "npm run lint -- --fix && npm run lint:fix:fast",
"lint:fix:fast": "biome format --write",
"lint-staged": "lint-staged",
"precommit": "lint-staged",
"prepare": "husky && custompatch",
"test": "tap",
"update": "run-p --aggregate-output update:* && run-s update:longtask:**",
"update:deps": "npx --yes npm-check-updates",
"update:longtask:data:npm": "node ./scripts/update-data-npm.js"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@eslint/compat": "1.2.8",
"@eslint/js": "9.25.0",
"@socketsecurity/registry": "1.0.154",
"all-the-package-names": "2.0.0",
"all-the-package-names-v1.3905.0": "npm:all-the-package-names@1.3905.0",
"custompatch": "1.1.4",
"del-cli": "6.0.0",
"eslint": "9.25.0",
"eslint-plugin-import-x": "4.10.6",
"eslint-plugin-n": "17.17.0",
"eslint-plugin-sort-destructure-keys": "2.0.0",
"eslint-plugin-unicorn": "56.0.1",
"globals": "16.0.0",
"husky": "9.1.7",
"knip": "5.50.5",
"lint-staged": "15.5.1",
"npm-run-all2": "7.0.2",
"oxlint": "0.16.7",
"pacote": "21.0.0",
"semver": "7.7.1",
"tap": "21.1.0",
"typescript": "5.8.3",
"validate-npm-package-name": "6.0.0"
},
"engines": {
"node": ">=18.20.4"
},
"files": [
"*{.js,.ts}",
"data/**/*.json",
"src/**/*{.js,.ts}"
],
"socket": {
"categories": [
"levelup"
]
},
"lint-staged": {
"*.{cjs,cts,js,json,md,mjs,mts,ts}": [
"npm run lint -- --fix",
"npm run lint:fix:fast -- --no-errors-on-unmatched --files-ignore-unknown=true --colors=off"
]
}
}