-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpackage.json
More file actions
155 lines (155 loc) · 5.93 KB
/
package.json
File metadata and controls
155 lines (155 loc) · 5.93 KB
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "shescape",
"version": "2.1.10",
"description": "simple shell escape library",
"homepage": "https://github.com/ericcornelissen/shescape#readme",
"license": "MPL-2.0",
"type": "module",
"exports": {
".": {
"import": {
"types": "./index.d.ts",
"default": "./src/index.js"
},
"require": {
"types": "./index.d.cts",
"default": "./src/index.cjs"
}
},
"./stateless": {
"import": {
"types": "./stateless.d.ts",
"default": "./src/stateless.js"
},
"require": {
"types": "./stateless.d.cts",
"default": "./src/stateless.cjs"
}
},
"./testing": {
"import": {
"types": "./testing.d.ts",
"default": "./src/testing.js"
},
"require": {
"types": "./testing.d.cts",
"default": "./src/testing.cjs"
}
}
},
"typings": "index.d.ts",
"engines": {
"node": "^14.18.0 || ^16.13.0 || ^18 || ^19 || ^20 || ^22 || ^24 || ^25"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ericcornelissen/shescape.git"
},
"bugs": {
"url": "https://github.com/ericcornelissen/shescape/issues"
},
"author": {
"name": "Eric Cornelissen",
"email": "ericornelissen@gmail.com",
"url": "https://ericcornelissen.dev/"
},
"keywords": [
"shell",
"escape",
"injection"
],
"dependencies": {
"@ericcornelissen/lregexp": "^1.0.3",
"which": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.18.1",
"@ericcornelissen/eslint-plugin-top": "3.6.0",
"@eslint/json": "1.0.1",
"@eslint/markdown": "8.0.0",
"@fast-check/ava": "3.0.0",
"@stryker-mutator/core": "9.6.0",
"@stryker-mutator/tap-runner": "9.6.0",
"ava": "7.0.0",
"better-npm-audit": "3.11.0",
"c8": "11.0.0",
"ci-info": "4.3.1",
"depreman": "0.3.12",
"dotenv": "17.3.1",
"eslint": "9.39.0",
"eslint-plugin-ava": "15.0.1",
"eslint-plugin-depend": "1.5.0",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-jsdoc": "62.7.1",
"eslint-plugin-regexp": "3.0.0",
"eslint-plugin-unicorn": "63.0.0",
"eslint-plugin-yml": "3.3.0",
"fast-check": "4.6.0",
"licensee": "12.0.1",
"lockfile-lint": "5.0.0",
"ls-engines": "0.10.0",
"markdownlint-cli": "0.48.0",
"npm-package-json-lint": "9.0.0",
"npm-run-all2": "8.0.1",
"nve": "18.0.3",
"pp-test-kit": "0.5.2",
"prettier": "3.7.3",
"publint": "0.3.18",
"rollup": "4.60.0",
"shescape-previous": "npm:shescape@2.1.7",
"sinon": "21.0.3"
},
"scripts": {
"_eslint": "eslint --config config/eslint.js",
"_prettier": "prettier . --ignore-path .gitignore",
"audit": "npm-run-all audit:*",
"audit:deprecations": "depreman --errors-only --report-unused",
"audit:deprecations:runtime": "depreman --errors-only --omit=dev",
"audit:vulnerabilities": "better-npm-audit audit",
"audit:vulnerabilities:runtime": "better-npm-audit audit --production",
"check": "npm-run-all check:*",
"check:ci": "node script/maybe-run.js actionlint",
"check:dependencies": "node script/check-runtime-deps.js",
"check:formatting": "npm run _prettier -- --check",
"check:js": "npm run _eslint -- '**/*.{cjs,js}'",
"check:json": "npm run _eslint -- '**/*.json'",
"check:licenses": "licensee --errors-only",
"check:lockfile": "lockfile-lint",
"check:manifest": "npm run transpile && npmPkgJsonLint --quiet --configFile ./config/npmpackagejsonlintrc.json . && publint --strict && attw --pack . && ls-engines",
"check:md": "npm-run-all check:md:*",
"check:md:code": "npm run _eslint -- '**/*.md'",
"check:md:text": "markdownlint --config config/markdownlint.yml --dot --ignore-path .gitignore .",
"check:yml": "npm run _eslint -- '**/*.yml'",
"clean": "node script/clean.js",
"coverage": "npm-run-all coverage:*",
"coverage:unit": "c8 --config config/c8/unit.json npm run test:unit",
"coverage:integration": "node script/run-platform-coverage.js integration",
"coverage:integration:unix": "c8 --config config/c8/integration-unix.json npm run test:integration",
"coverage:integration:win": "c8 --config config/c8/integration-win.json npm run test:integration",
"coverage:e2e": "node script/run-platform-coverage.js e2e",
"coverage:e2e:unix": "c8 --config config/c8/e2e-unix.json npm run test:e2e",
"coverage:e2e:win": "c8 --config config/c8/e2e-win.json npm run test:e2e",
"coverage:compat": "npm-run-all coverage:compat:*",
"coverage:compat:runtime": "c8 --config config/c8/compat.json npm run test:compat:runtime",
"coverage:compat:regexp": "c8 --config config/c8/regexp.json npm run test:compat:regexp",
"coverage:breakage": "c8 --config config/c8/breakage.json npm run test:breakage",
"format": "npm run _prettier -- --write",
"fuzz": "node script/fuzz.js",
"mutation": "npm-run-all mutation:*",
"mutation:unit": "stryker run config/stryker/unit.js",
"mutation:integration": "npm run transpile && stryker run config/stryker/integration.js",
"test": "npm-run-all test:*",
"test:unit": "ava --timeout 59m test/unit/**/*.test.js",
"test:integration": "npm run transpile && ava test/integration/**/*.test.js --timeout 2m",
"test:e2e": "node script/busybox-sh.js && node script/double-link-sh.js && ava test/e2e/**/*.test.js --timeout 1m",
"test:compat": "npm-run-all test:compat:*",
"test:compat:runtime": "node test/compat/runtime/runner.js",
"test:compat:runtime:all": "nve 14.18.0,16.13.0,18.0.0,19.0.0,20.0.0,22.0.0 npm run test:compat",
"test:compat:regexp": "node --enable-experimental-regexp-engine test/compat/regexp-engine/runner.js",
"test:breakage": "ava test/breakage/**/*.test.js",
"transpile": "npm-run-all transpile:*",
"transpile:cjs": "rollup --config config/rollup.js",
"transpile:cts": "node script/create-d-cts.js",
"verify": "npm run check && npm run coverage"
}
}