Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/isexe.json

raw
1 {
2 "_id": "isexe",
3 "_rev": "6-98e67785e55d67f61bdcd1e5c6074df2",
4 "name": "isexe",
5 "description": "Minimal module to check if a file is executable.",
6 "dist-tags": {
7 "latest": "2.0.0"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "isexe",
12 "version": "1.0.0",
13 "description": "Minimal module to check if a file is executable.",
14 "main": "index.js",
15 "directories": {
16 "test": "test"
17 },
18 "devDependencies": {
19 "mkdirp": "^0.5.1",
20 "rimraf": "^2.5.0",
21 "tap": "^5.0.1"
22 },
23 "scripts": {
24 "test": "tap test/*.js --cov"
25 },
26 "author": {
27 "name": "Isaac Z. Schlueter",
28 "email": "[email protected]",
29 "url": "http://blog.izs.me/"
30 },
31 "license": "ISC",
32 "gitHead": "d1c8749b748c5ed8bbd16cccd2ef19236b9e673b",
33 "_id": "[email protected]",
34 "_shasum": "9aa37a1d11d27b523bec4f8791b72af1ead44ee3",
35 "_from": ".",
36 "_npmVersion": "2.14.15",
37 "_nodeVersion": "4.0.0",
38 "_npmUser": {
39 "name": "isaacs",
40 "email": "[email protected]"
41 },
42 "dist": {
43 "shasum": "9aa37a1d11d27b523bec4f8791b72af1ead44ee3",
44 "tarball": "https://registry.npmjs.org/isexe/-/isexe-1.0.0.tgz"
45 },
46 "maintainers": [
47 {
48 "name": "isaacs",
49 "email": "[email protected]"
50 }
51 ]
52 },
53 "1.0.1": {
54 "name": "isexe",
55 "version": "1.0.1",
56 "description": "Minimal module to check if a file is executable.",
57 "main": "index.js",
58 "directories": {
59 "test": "test"
60 },
61 "devDependencies": {
62 "mkdirp": "^0.5.1",
63 "rimraf": "^2.5.0",
64 "tap": "^5.0.1"
65 },
66 "scripts": {
67 "test": "tap test/*.js --cov"
68 },
69 "author": {
70 "name": "Isaac Z. Schlueter",
71 "email": "[email protected]",
72 "url": "http://blog.izs.me/"
73 },
74 "license": "ISC",
75 "repository": {
76 "type": "git",
77 "url": "git+https://github.com/isaacs/isexe.git"
78 },
79 "keywords": [],
80 "bugs": {
81 "url": "https://github.com/isaacs/isexe/issues"
82 },
83 "homepage": "https://github.com/isaacs/isexe#readme",
84 "gitHead": "111ec9c0a0ec7ed53073c1893db9745ed8d41758",
85 "_id": "[email protected]",
86 "_shasum": "5db010ed38a649d12d5faf9884b3474002e66a65",
87 "_from": ".",
88 "_npmVersion": "2.14.15",
89 "_nodeVersion": "4.0.0",
90 "_npmUser": {
91 "name": "isaacs",
92 "email": "[email protected]"
93 },
94 "dist": {
95 "shasum": "5db010ed38a649d12d5faf9884b3474002e66a65",
96 "tarball": "https://registry.npmjs.org/isexe/-/isexe-1.0.1.tgz"
97 },
98 "maintainers": [
99 {
100 "name": "isaacs",
101 "email": "[email protected]"
102 }
103 ]
104 },
105 "1.1.0": {
106 "name": "isexe",
107 "version": "1.1.0",
108 "description": "Minimal module to check if a file is executable.",
109 "main": "index.js",
110 "directories": {
111 "test": "test"
112 },
113 "devDependencies": {
114 "mkdirp": "^0.5.1",
115 "rimraf": "^2.5.0",
116 "tap": "^5.1.2"
117 },
118 "scripts": {
119 "test": "tap test/*.js --branches=100 --statements=100 --functions=100 --lines=100"
120 },
121 "author": {
122 "name": "Isaac Z. Schlueter",
123 "email": "[email protected]",
124 "url": "http://blog.izs.me/"
125 },
126 "license": "ISC",
127 "repository": {
128 "type": "git",
129 "url": "git+https://github.com/isaacs/isexe.git"
130 },
131 "keywords": [],
132 "bugs": {
133 "url": "https://github.com/isaacs/isexe/issues"
134 },
135 "homepage": "https://github.com/isaacs/isexe#readme",
136 "gitHead": "5cadd61b64338cdd49249720c40fff60deedd051",
137 "_id": "[email protected]",
138 "_shasum": "3cdbafc1a3b16b11290ce4e9da58c781dc368931",
139 "_from": ".",
140 "_npmVersion": "2.14.15",
141 "_nodeVersion": "4.0.0",
142 "_npmUser": {
143 "name": "isaacs",
144 "email": "[email protected]"
145 },
146 "dist": {
147 "shasum": "3cdbafc1a3b16b11290ce4e9da58c781dc368931",
148 "tarball": "https://registry.npmjs.org/isexe/-/isexe-1.1.0.tgz"
149 },
150 "maintainers": [
151 {
152 "name": "isaacs",
153 "email": "[email protected]"
154 }
155 ]
156 },
157 "1.1.1": {
158 "name": "isexe",
159 "version": "1.1.1",
160 "description": "Minimal module to check if a file is executable.",
161 "main": "index.js",
162 "directories": {
163 "test": "test"
164 },
165 "devDependencies": {
166 "mkdirp": "^0.5.1",
167 "rimraf": "^2.5.0",
168 "tap": "^5.1.2"
169 },
170 "scripts": {
171 "test": "tap test/*.js --branches=100 --statements=100 --functions=100 --lines=100"
172 },
173 "author": {
174 "name": "Isaac Z. Schlueter",
175 "email": "[email protected]",
176 "url": "http://blog.izs.me/"
177 },
178 "license": "ISC",
179 "repository": {
180 "type": "git",
181 "url": "git+https://github.com/isaacs/isexe.git"
182 },
183 "keywords": [],
184 "bugs": {
185 "url": "https://github.com/isaacs/isexe/issues"
186 },
187 "homepage": "https://github.com/isaacs/isexe#readme",
188 "gitHead": "af83031caed58654ad9d20b98eb710d383618ad7",
189 "_id": "[email protected]",
190 "_shasum": "f0d4793ed2fb5c46bfdeab760bbb965f4485a66c",
191 "_from": ".",
192 "_npmVersion": "2.14.15",
193 "_nodeVersion": "4.0.0",
194 "_npmUser": {
195 "name": "isaacs",
196 "email": "[email protected]"
197 },
198 "dist": {
199 "shasum": "f0d4793ed2fb5c46bfdeab760bbb965f4485a66c",
200 "tarball": "https://registry.npmjs.org/isexe/-/isexe-1.1.1.tgz"
201 },
202 "maintainers": [
203 {
204 "name": "isaacs",
205 "email": "[email protected]"
206 }
207 ]
208 },
209 "1.1.2": {
210 "name": "isexe",
211 "version": "1.1.2",
212 "description": "Minimal module to check if a file is executable.",
213 "main": "index.js",
214 "directories": {
215 "test": "test"
216 },
217 "devDependencies": {
218 "mkdirp": "^0.5.1",
219 "rimraf": "^2.5.0",
220 "tap": "^5.1.2"
221 },
222 "scripts": {
223 "test": "tap test/*.js --branches=100 --statements=100 --functions=100 --lines=100"
224 },
225 "author": {
226 "name": "Isaac Z. Schlueter",
227 "email": "[email protected]",
228 "url": "http://blog.izs.me/"
229 },
230 "license": "ISC",
231 "repository": {
232 "type": "git",
233 "url": "git+https://github.com/isaacs/isexe.git"
234 },
235 "keywords": [],
236 "bugs": {
237 "url": "https://github.com/isaacs/isexe/issues"
238 },
239 "homepage": "https://github.com/isaacs/isexe#readme",
240 "gitHead": "1882eed72c2ba152f4dd1336d857b0755ae306d9",
241 "_id": "[email protected]",
242 "_shasum": "36f3e22e60750920f5e7241a476a8c6a42275ad0",
243 "_from": ".",
244 "_npmVersion": "3.7.0",
245 "_nodeVersion": "4.0.0",
246 "_npmUser": {
247 "name": "isaacs",
248 "email": "[email protected]"
249 },
250 "dist": {
251 "shasum": "36f3e22e60750920f5e7241a476a8c6a42275ad0",
252 "tarball": "https://registry.npmjs.org/isexe/-/isexe-1.1.2.tgz"
253 },
254 "maintainers": [
255 {
256 "name": "isaacs",
257 "email": "[email protected]"
258 }
259 ],
260 "_npmOperationalInternal": {
261 "host": "packages-9-west.internal.npmjs.com",
262 "tmp": "tmp/isexe-1.1.2.tgz_1454992795963_0.7608721863944083"
263 }
264 },
265 "2.0.0": {
266 "name": "isexe",
267 "version": "2.0.0",
268 "description": "Minimal module to check if a file is executable.",
269 "main": "index.js",
270 "directories": {
271 "test": "test"
272 },
273 "devDependencies": {
274 "mkdirp": "^0.5.1",
275 "rimraf": "^2.5.0",
276 "tap": "^10.3.0"
277 },
278 "scripts": {
279 "test": "tap test/*.js --100",
280 "preversion": "npm test",
281 "postversion": "npm publish",
282 "postpublish": "git push origin --all; git push origin --tags"
283 },
284 "author": {
285 "name": "Isaac Z. Schlueter",
286 "email": "[email protected]",
287 "url": "http://blog.izs.me/"
288 },
289 "license": "ISC",
290 "repository": {
291 "type": "git",
292 "url": "git+https://github.com/isaacs/isexe.git"
293 },
294 "keywords": [],
295 "bugs": {
296 "url": "https://github.com/isaacs/isexe/issues"
297 },
298 "homepage": "https://github.com/isaacs/isexe#readme",
299 "gitHead": "10f8be491aab2e158c7e20df64a7f90ab5b5475c",
300 "_id": "[email protected]",
301 "_shasum": "e8fbf374dc556ff8947a10dcb0572d633f2cfa10",
302 "_from": ".",
303 "_npmVersion": "4.4.2",
304 "_nodeVersion": "8.0.0-pre",
305 "_npmUser": {
306 "name": "isaacs",
307 "email": "[email protected]"
308 },
309 "dist": {
310 "shasum": "e8fbf374dc556ff8947a10dcb0572d633f2cfa10",
311 "tarball": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz"
312 },
313 "maintainers": [
314 {
315 "name": "isaacs",
316 "email": "[email protected]"
317 }
318 ],
319 "_npmOperationalInternal": {
320 "host": "packages-12-west.internal.npmjs.com",
321 "tmp": "tmp/isexe-2.0.0.tgz_1490230396126_0.8949183595832437"
322 }
323 }
324 },
325 "readme": "# isexe\n\nMinimal module to check if a file is executable, and a normal file.\n\nUses `fs.stat` and tests against the `PATHEXT` environment variable on\nWindows.\n\n## USAGE\n\n```javascript\nvar isexe = require('isexe')\nisexe('some-file-name', function (err, isExe) {\n if (err) {\n console.error('probably file does not exist or something', err)\n } else if (isExe) {\n console.error('this thing can be run')\n } else {\n console.error('cannot be run')\n }\n})\n\n// same thing but synchronous, throws errors\nvar isExe = isexe.sync('some-file-name')\n\n// treat errors as just \"not executable\"\nisexe('maybe-missing-file', { ignoreErrors: true }, callback)\nvar isExe = isexe.sync('maybe-missing-file', { ignoreErrors: true })\n```\n\n## API\n\n### `isexe(path, [options], [callback])`\n\nCheck if the path is executable. If no callback provided, and a\nglobal `Promise` object is available, then a Promise will be returned.\n\nWill raise whatever errors may be raised by `fs.stat`, unless\n`options.ignoreErrors` is set to true.\n\n### `isexe.sync(path, [options])`\n\nSame as `isexe` but returns the value and throws any errors raised.\n\n### Options\n\n* `ignoreErrors` Treat all errors as \"no, this is not executable\", but\n don't raise them.\n* `uid` Number to use as the user id\n* `gid` Number to use as the group id\n* `pathExt` List of path extensions to use instead of `PATHEXT`\n environment variable on Windows.\n",
326 "maintainers": [
327 {
328 "name": "isaacs",
329 "email": "[email protected]"
330 }
331 ],
332 "time": {
333 "modified": "2017-03-23T00:53:16.356Z",
334 "created": "2016-01-17T05:25:47.501Z",
335 "1.0.0": "2016-01-17T05:25:47.501Z",
336 "1.0.1": "2016-01-20T01:35:20.406Z",
337 "1.1.0": "2016-01-26T02:03:38.497Z",
338 "1.1.1": "2016-01-26T02:05:55.873Z",
339 "1.1.2": "2016-02-09T04:39:57.031Z",
340 "2.0.0": "2017-03-23T00:53:16.356Z"
341 },
342 "author": {
343 "name": "Isaac Z. Schlueter",
344 "email": "[email protected]",
345 "url": "http://blog.izs.me/"
346 },
347 "license": "ISC",
348 "readmeFilename": "README.md",
349 "homepage": "https://github.com/isaacs/isexe#readme",
350 "keywords": [],
351 "repository": {
352 "type": "git",
353 "url": "git+https://github.com/isaacs/isexe.git"
354 },
355 "bugs": {
356 "url": "https://github.com/isaacs/isexe/issues"
357 },
358 "_attachments": {}
359 }