@environment-safe/file 0.3.2 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.husky/pre-commit +5 -5
- package/README.md +12 -2
- package/package.json +6 -4
- package/src/filesystem.mjs +42 -1
- package/src/index.mjs +19 -4
- package/test/test.mjs +18 -0
- package/test/test.html +0 -462
package/.husky/pre-commit
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
. "$(dirname -- "$0")/_/husky.sh"
|
|
3
3
|
|
|
4
4
|
npm run lint
|
|
5
|
-
npm run path-test
|
|
6
|
-
npm run headless-browser-path-test
|
|
7
|
-
npm run link-local-moka
|
|
8
|
-
npm run import-test
|
|
9
|
-
npm run headless-browser-test
|
|
5
|
+
#npm run path-test
|
|
6
|
+
#npm run headless-browser-path-test
|
|
7
|
+
#npm run link-local-moka
|
|
8
|
+
#npm run import-test
|
|
9
|
+
#npm run headless-browser-test
|
|
10
10
|
#npm run build-commonjs
|
|
11
11
|
#npm run require-test
|
|
12
12
|
npm run build-docs
|
package/README.md
CHANGED
|
@@ -22,6 +22,9 @@ If you want absolute URLs to work (raw, file://, etc.), you must include a base
|
|
|
22
22
|
</html>
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
+
To import the various
|
|
26
|
+
|
|
27
|
+
|
|
25
28
|
### listing
|
|
26
29
|
|
|
27
30
|
You can list contents from an arbitrary location or from one of a few predefined locations (`desktop`, `documents`, `downloads`, `music`, `pictures`, `videos`). For example to list all the files in your `documents` directory:
|
|
@@ -60,6 +63,13 @@ You can load a file directly from a fully specified path:
|
|
|
60
63
|
const file = new File('/Users/me/file.ext');
|
|
61
64
|
```
|
|
62
65
|
|
|
66
|
+
You can stream a file:
|
|
67
|
+
|
|
68
|
+
```javascript
|
|
69
|
+
const stream = (new File('foo.bar')).stream();
|
|
70
|
+
```
|
|
71
|
+
Which returns a [WebStream](https://vercel.com/blog/an-introduction-to-streaming-on-the-web) in both [node.js](https://nodejs.org/api/webstreams.html) and the [browser](https://developer.mozilla.org/en-US/docs/Web/API/Streams_API) which are fully compatible with [@environment-safe/stream]()
|
|
72
|
+
|
|
63
73
|
Other scenarios may work in isolated circumstances, but are not supported client/server.
|
|
64
74
|
|
|
65
75
|
|
|
@@ -68,7 +78,8 @@ Roadmap
|
|
|
68
78
|
|
|
69
79
|
- [x] - test existing suite in mac node
|
|
70
80
|
- [x] - test existing suite in in chrome + server
|
|
71
|
-
- [
|
|
81
|
+
- [x] - test existing suite in in chrome + file
|
|
82
|
+
- [x] - streaming support
|
|
72
83
|
- [ ] - test existing suite in windows node
|
|
73
84
|
- [ ] - test existing suite in linux node
|
|
74
85
|
- [ ] - safari directory returns
|
|
@@ -76,7 +87,6 @@ Roadmap
|
|
|
76
87
|
- [ ] - edge directory returns
|
|
77
88
|
- [ ] - apache directory returns
|
|
78
89
|
- [ ] - opera directory returns
|
|
79
|
-
- [ ] - streaming support
|
|
80
90
|
|
|
81
91
|
Testing
|
|
82
92
|
-------
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@environment-safe/file",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.mjs",
|
|
6
6
|
"module": "src/index.mjs",
|
|
@@ -59,6 +59,8 @@
|
|
|
59
59
|
"express",
|
|
60
60
|
"module",
|
|
61
61
|
"fs",
|
|
62
|
+
"stream",
|
|
63
|
+
"node:stream",
|
|
62
64
|
"os",
|
|
63
65
|
"path"
|
|
64
66
|
],
|
|
@@ -77,7 +79,7 @@
|
|
|
77
79
|
"@environment-safe/chai": "^0.1.0",
|
|
78
80
|
"@environment-safe/commonjs-builder": "^0.0.3",
|
|
79
81
|
"@environment-safe/jsdoc-builder": "^0.0.2",
|
|
80
|
-
"@open-automaton/moka": "^0.5.
|
|
82
|
+
"@open-automaton/moka": "^0.5.5",
|
|
81
83
|
"babel-plugin-search-and-replace": "^1.1.1",
|
|
82
84
|
"babel-plugin-transform-import-meta": "^2.2.0",
|
|
83
85
|
"chai": "^4.3.7",
|
|
@@ -110,13 +112,13 @@
|
|
|
110
112
|
"container-test": "docker build . -t environment-safe-package.json -f ./containers/test.dockerfile; docker logs --follow \"$(docker run -d environment-safe-package.json)\"",
|
|
111
113
|
"build-docs": "build-jsdoc docs",
|
|
112
114
|
"build-types": "build-jsdoc types",
|
|
113
|
-
"link-local-moka":"npm link ../../@open-automaton/moka
|
|
115
|
+
"link-local-moka": "npm link ../../@open-automaton/moka ../../@open-automaton/playwright-mining-engine ../stream",
|
|
114
116
|
"add-generated-files-to-commit": "git add docs/*.md; git add src/*.d.ts; git add dist/*.cjs",
|
|
115
117
|
"prepare": "husky install"
|
|
116
118
|
},
|
|
117
119
|
"dependencies": {
|
|
118
120
|
"@environment-safe/package": "^0.2.0",
|
|
119
|
-
"@environment-safe/runtime-context": "^0.0.
|
|
121
|
+
"@environment-safe/runtime-context": "^0.0.4",
|
|
120
122
|
"browser-or-node": "^2.1.1",
|
|
121
123
|
"typescript": "^5.2.2"
|
|
122
124
|
}
|
package/src/filesystem.mjs
CHANGED
|
@@ -22,6 +22,7 @@ import {
|
|
|
22
22
|
isClient // is running a client
|
|
23
23
|
} from '@environment-safe/runtime-context';
|
|
24
24
|
import { Path } from './path.mjs';
|
|
25
|
+
import * as nodestream from 'node:stream';
|
|
25
26
|
//TODO: Streaming
|
|
26
27
|
//TODO: browser filesystem contexts
|
|
27
28
|
|
|
@@ -252,6 +253,17 @@ export const localFile = {
|
|
|
252
253
|
return false;
|
|
253
254
|
}
|
|
254
255
|
},
|
|
256
|
+
readstream: async (path, options={})=>{
|
|
257
|
+
try{
|
|
258
|
+
const handle = await fileHandle(path, options);
|
|
259
|
+
const file = await handle.getFile();
|
|
260
|
+
const result = (await file.body);
|
|
261
|
+
return result;
|
|
262
|
+
}catch(ex){
|
|
263
|
+
console.log(ex);
|
|
264
|
+
return false;
|
|
265
|
+
}
|
|
266
|
+
},
|
|
255
267
|
write: async (path, buffer, options={})=>{
|
|
256
268
|
try{
|
|
257
269
|
options.isWritable = true;
|
|
@@ -335,10 +347,29 @@ export const serverFile = {
|
|
|
335
347
|
if(err){
|
|
336
348
|
reject(new Error(`File not found('${path}')`));
|
|
337
349
|
}
|
|
350
|
+
/*
|
|
351
|
+
if(globalThis.handleDownload){
|
|
352
|
+
const base64 = ()=> FileBuffer.to('base64', buffer);
|
|
353
|
+
console.log('SAVE HD')
|
|
354
|
+
globalThis.handleDownload({
|
|
355
|
+
path: ()=> '${path}',
|
|
356
|
+
text: ()=> atob(base64()),
|
|
357
|
+
base64: ()=> base64(),
|
|
358
|
+
arrayBuffer: ()=> binToArrayBuffer(atob(base64())),
|
|
359
|
+
raw: ()=> atob(base64())
|
|
360
|
+
});
|
|
361
|
+
} //*/
|
|
338
362
|
resolve(buffer);
|
|
339
363
|
});
|
|
340
364
|
});
|
|
341
365
|
},
|
|
366
|
+
readstream: async (path, options={})=>{
|
|
367
|
+
const parsed = new Path(path);
|
|
368
|
+
const url = parsed.toUrl('native');
|
|
369
|
+
const nodeReadable = fs.createReadStream(url, {encoding: 'utf-8'});
|
|
370
|
+
const webReadableStream = nodestream.Readable.toWeb(nodeReadable);
|
|
371
|
+
return webReadableStream;
|
|
372
|
+
},
|
|
342
373
|
write: async (path, buffer, options={})=>{
|
|
343
374
|
const parsed = new Path(path);
|
|
344
375
|
const url = parsed.toUrl('native');
|
|
@@ -399,7 +430,12 @@ export const file = { //using a file url uses different rules
|
|
|
399
430
|
read: async (path, options={})=>{
|
|
400
431
|
const url = (new Path(path)).toUrl(options.type);
|
|
401
432
|
const response = await fetch(url);
|
|
402
|
-
return await response.
|
|
433
|
+
return await response.body.getReader();
|
|
434
|
+
},
|
|
435
|
+
readstream: async (path, options={})=>{
|
|
436
|
+
const url = (new Path(path)).toUrl(options.type);
|
|
437
|
+
const response = await fetch(url);
|
|
438
|
+
return await response.body;
|
|
403
439
|
},
|
|
404
440
|
write: async (path, buffer, options={})=>{
|
|
405
441
|
throw new Error('Unsupported');
|
|
@@ -440,6 +476,11 @@ export const remote = {
|
|
|
440
476
|
if(response.status === 404) throw new Error(`File not found('${path}')`);
|
|
441
477
|
return await response.arrayBuffer();
|
|
442
478
|
},
|
|
479
|
+
readstream: async (path, options={})=>{
|
|
480
|
+
const response = await fetch(path);
|
|
481
|
+
if(response.status === 404) throw new Error(`File not found('${path}')`);
|
|
482
|
+
return await response.body.getReader();
|
|
483
|
+
},
|
|
443
484
|
write: async (path, buffer, options={})=>{
|
|
444
485
|
return await new Promise((resolve, reject)=>{
|
|
445
486
|
try{
|
package/src/index.mjs
CHANGED
|
@@ -137,6 +137,10 @@ export const remove = async (path)=>{
|
|
|
137
137
|
return await act('delete', path);
|
|
138
138
|
};
|
|
139
139
|
|
|
140
|
+
export const stream = async (path)=>{
|
|
141
|
+
return await act('readstream', path);
|
|
142
|
+
};
|
|
143
|
+
|
|
140
144
|
const internalCache = {};
|
|
141
145
|
|
|
142
146
|
const mimeTypes = [
|
|
@@ -218,6 +222,18 @@ export class File{
|
|
|
218
222
|
};
|
|
219
223
|
}
|
|
220
224
|
|
|
225
|
+
async stream(){
|
|
226
|
+
if(this.path){
|
|
227
|
+
const input = await stream(this.path, this.options);
|
|
228
|
+
return input;
|
|
229
|
+
}
|
|
230
|
+
/*//todo
|
|
231
|
+
if(this.dataURI){
|
|
232
|
+
this.setBuffer(await FileBuffer.fromDataURI(this.dataURI));
|
|
233
|
+
}
|
|
234
|
+
//*/
|
|
235
|
+
}
|
|
236
|
+
|
|
221
237
|
async load(){
|
|
222
238
|
if(this.path){
|
|
223
239
|
const input = await read(this.path, this.options);
|
|
@@ -337,15 +353,14 @@ export class Download{
|
|
|
337
353
|
}
|
|
338
354
|
}
|
|
339
355
|
|
|
340
|
-
|
|
356
|
+
if(!globalThis.es_fileSaveListeners) globalThis.es_fileSaveListeners = [];
|
|
341
357
|
export const addEventListener = (event, handler) =>{
|
|
342
358
|
//TODO: support more than save
|
|
343
359
|
if(event !== 'write') throw new Error('unsupported');
|
|
344
|
-
|
|
360
|
+
globalThis.es_fileSaveListeners.push(handler);
|
|
345
361
|
};
|
|
346
362
|
|
|
347
363
|
|
|
348
|
-
|
|
349
364
|
(()=>{
|
|
350
365
|
globalThis.handleDownload = async (download)=>{
|
|
351
366
|
const root = Path.location('downloads');
|
|
@@ -354,7 +369,7 @@ export const addEventListener = (event, handler) =>{
|
|
|
354
369
|
await download.saveAs(path);
|
|
355
370
|
};
|
|
356
371
|
globalThis.handleWrite = async (save)=>{
|
|
357
|
-
|
|
372
|
+
globalThis.es_fileSaveListeners.forEach((handler)=>{
|
|
358
373
|
handler(save);
|
|
359
374
|
});
|
|
360
375
|
};
|
package/test/test.mjs
CHANGED
|
@@ -117,6 +117,24 @@ describe('@environment-safe/file', ()=>{
|
|
|
117
117
|
file.body().cast('string').length.should.be.above(1);
|
|
118
118
|
});
|
|
119
119
|
|
|
120
|
+
it('streams an explicit, relative URL', async function(){
|
|
121
|
+
//const file =
|
|
122
|
+
new File(Path.join(
|
|
123
|
+
'../node_modules/@environment-safe/chai',
|
|
124
|
+
'README.md'
|
|
125
|
+
));
|
|
126
|
+
//const stream = await file.stream();
|
|
127
|
+
//stream.on('data', (data)=>{ console.log('>>', data); });
|
|
128
|
+
/*
|
|
129
|
+
console.log(stream)
|
|
130
|
+
const reader = stream.getReader();
|
|
131
|
+
reader.read().then(({ done, value }) => {
|
|
132
|
+
const firstLine = value.split('\n').shift();
|
|
133
|
+
firstLine.should.equal('environment-safe-chai');
|
|
134
|
+
});
|
|
135
|
+
//*/
|
|
136
|
+
});
|
|
137
|
+
|
|
120
138
|
it('loads itself as data when text', async function(){
|
|
121
139
|
const file = new File(Path.join(
|
|
122
140
|
'../node_modules/@environment-safe/chai',
|
package/test/test.html
DELETED
|
@@ -1,462 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>Moka Tests</title>
|
|
5
|
-
<base filesystem="/Users/khrome/Development/@environment-safe/file" user="khrome">
|
|
6
|
-
<link rel="stylesheet" href="../node_modules/mocha/mocha.css">
|
|
7
|
-
<script type="importmap"> { "imports": {
|
|
8
|
-
"express": "../node_modules/@open-automaton/moka/src/stub.mjs",
|
|
9
|
-
"module": "../node_modules/@open-automaton/moka/src/stub.mjs",
|
|
10
|
-
"fs": "../node_modules/@open-automaton/moka/src/stub.mjs",
|
|
11
|
-
"os": "../node_modules/@open-automaton/moka/src/stub.mjs",
|
|
12
|
-
"path": "../node_modules/@open-automaton/moka/src/stub.mjs",
|
|
13
|
-
"@environment-safe/package": "../node_modules/@environment-safe/package/./src/index.mjs",
|
|
14
|
-
"@environment-safe/runtime-context": "../node_modules/@environment-safe/runtime-context/./src/index.mjs",
|
|
15
|
-
"browser-or-node": "../node_modules/browser-or-node/src/index.js",
|
|
16
|
-
"typescript": "../node_modules/typescript/./lib/typescript.js",
|
|
17
|
-
"@babel/cli": "../node_modules/@babel/cli/",
|
|
18
|
-
"@babel/core": "../node_modules/@babel/core/./lib/index.js",
|
|
19
|
-
"@babel/plugin-transform-modules-commonjs": "../node_modules/@babel/plugin-transform-modules-commonjs/./lib/index.js",
|
|
20
|
-
"@environment-safe/chai": "../node_modules/@environment-safe/chai/./src/index.mjs",
|
|
21
|
-
"@open-automaton/moka": "../node_modules/@open-automaton/moka/./src/index.mjs",
|
|
22
|
-
"babel-plugin-search-and-replace": "../node_modules/babel-plugin-search-and-replace/lib/index.js",
|
|
23
|
-
"babel-plugin-transform-import-meta": "../node_modules/babel-plugin-transform-import-meta/lib/index.esm.mjs",
|
|
24
|
-
"chai": "../node_modules/chai/chai.js",
|
|
25
|
-
"eslint": "../node_modules/eslint/./lib/api.js",
|
|
26
|
-
"husky": "../node_modules/husky/lib/index.js",
|
|
27
|
-
"mocha": "../node_modules/mocha/",
|
|
28
|
-
"@jridgewell/trace-mapping": "../node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs",
|
|
29
|
-
"commander": "../node_modules/commander/index",
|
|
30
|
-
"convert-source-map": "../node_modules/convert-source-map/index.js",
|
|
31
|
-
"fs-readdir-recursive": "../node_modules/fs-readdir-recursive/",
|
|
32
|
-
"glob": "../node_modules/glob/glob.js",
|
|
33
|
-
"make-dir": "../node_modules/make-dir/",
|
|
34
|
-
"slash": "../node_modules/slash/",
|
|
35
|
-
"@ampproject/remapping": "../node_modules/@ampproject/remapping/dist/remapping.mjs",
|
|
36
|
-
"@babel/code-frame": "../node_modules/@babel/code-frame/./lib/index.js",
|
|
37
|
-
"@babel/generator": "../node_modules/@babel/generator/./lib/index.js",
|
|
38
|
-
"@babel/helper-compilation-targets": "../node_modules/@babel/helper-compilation-targets/./lib/index.js",
|
|
39
|
-
"@babel/helper-module-transforms": "../node_modules/@babel/helper-module-transforms/./lib/index.js",
|
|
40
|
-
"@babel/helpers": "../node_modules/@babel/helpers/./lib/index.js",
|
|
41
|
-
"@babel/parser": "../node_modules/@babel/parser/./lib/index.js",
|
|
42
|
-
"@babel/template": "../node_modules/@babel/template/./lib/index.js",
|
|
43
|
-
"@babel/traverse": "../node_modules/@babel/traverse/./lib/index.js",
|
|
44
|
-
"@babel/types": "../node_modules/@babel/types/./lib/index.js",
|
|
45
|
-
"@nicolo-ribaudo/semver-v6": "../node_modules/@nicolo-ribaudo/semver-v6/semver.js",
|
|
46
|
-
"debug": "../node_modules/debug/./src/index.js",
|
|
47
|
-
"gensync": "../node_modules/gensync/index.js",
|
|
48
|
-
"json5": "../node_modules/json5/dist/index.mjs",
|
|
49
|
-
"@babel/helper-plugin-utils": "../node_modules/@babel/helper-plugin-utils/./lib/index.js",
|
|
50
|
-
"@babel/helper-simple-access": "../node_modules/@babel/helper-simple-access/./lib/index.js",
|
|
51
|
-
"@environment-safe/import-introspect": "../node_modules/@environment-safe/import-introspect/./src/index.mjs",
|
|
52
|
-
"@open-automaton/automaton": "../node_modules/@open-automaton/automaton/src/automaton.js",
|
|
53
|
-
"@open-automaton/cheerio-mining-engine": "../node_modules/@open-automaton/cheerio-mining-engine/src/cheerio.js",
|
|
54
|
-
"@open-automaton/jsdom-mining-engine": "../node_modules/@open-automaton/jsdom-mining-engine/src/jsdom.js",
|
|
55
|
-
"@open-automaton/playwright-mining-engine": "../node_modules/@open-automaton/playwright-mining-engine/src/playwright.js",
|
|
56
|
-
"@open-automaton/puppeteer-mining-engine": "../node_modules/@open-automaton/puppeteer-mining-engine/src/puppeteer.js",
|
|
57
|
-
"detect-browser": "../node_modules/detect-browser/es/index.js",
|
|
58
|
-
"why-is-node-running": "../node_modules/why-is-node-running/index.js",
|
|
59
|
-
"yargs": "../node_modules/yargs/./index.mjs",
|
|
60
|
-
"tslib": "../node_modules/tslib/[object Object]",
|
|
61
|
-
"assertion-error": "../node_modules/assertion-error/./index",
|
|
62
|
-
"check-error": "../node_modules/check-error/./index.js",
|
|
63
|
-
"deep-eql": "../node_modules/deep-eql/./index",
|
|
64
|
-
"get-func-name": "../node_modules/get-func-name/./index.js",
|
|
65
|
-
"loupe": "../node_modules/loupe/./index.js",
|
|
66
|
-
"pathval": "../node_modules/pathval/./index.js",
|
|
67
|
-
"type-detect": "../node_modules/type-detect/./type-detect.js",
|
|
68
|
-
"@eslint-community/eslint-utils": "../node_modules/@eslint-community/eslint-utils/./index.mjs",
|
|
69
|
-
"@eslint-community/regexpp": "../node_modules/@eslint-community/regexpp/./index.mjs",
|
|
70
|
-
"@eslint/eslintrc": "../node_modules/@eslint/eslintrc/./lib/index.js",
|
|
71
|
-
"@eslint/js": "../node_modules/@eslint/js/./src/index.js",
|
|
72
|
-
"@humanwhocodes/config-array": "../node_modules/@humanwhocodes/config-array/api.js",
|
|
73
|
-
"@humanwhocodes/module-importer": "../node_modules/@humanwhocodes/module-importer/src/module-importer.js",
|
|
74
|
-
"@nodelib/fs.walk": "../node_modules/@nodelib/fs.walk/out/index.js",
|
|
75
|
-
"ajv": "../node_modules/ajv/lib/ajv.js",
|
|
76
|
-
"chalk": "../node_modules/chalk/",
|
|
77
|
-
"cross-spawn": "../node_modules/cross-spawn/index.js",
|
|
78
|
-
"doctrine": "../node_modules/doctrine/lib/doctrine.js",
|
|
79
|
-
"escape-string-regexp": "../node_modules/escape-string-regexp/",
|
|
80
|
-
"eslint-scope": "../node_modules/eslint-scope/./lib/index.js",
|
|
81
|
-
"eslint-visitor-keys": "../node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs",
|
|
82
|
-
"espree": "../node_modules/espree/dist/espree.cjs",
|
|
83
|
-
"esquery": "../node_modules/esquery/dist/esquery.esm.min.js",
|
|
84
|
-
"esutils": "../node_modules/esutils/lib/utils.js",
|
|
85
|
-
"fast-deep-equal": "../node_modules/fast-deep-equal/index.js",
|
|
86
|
-
"file-entry-cache": "../node_modules/file-entry-cache/cache.js",
|
|
87
|
-
"find-up": "../node_modules/find-up/",
|
|
88
|
-
"glob-parent": "../node_modules/glob-parent/index.js",
|
|
89
|
-
"globals": "../node_modules/globals/",
|
|
90
|
-
"graphemer": "../node_modules/graphemer/./lib/index.js",
|
|
91
|
-
"ignore": "../node_modules/ignore/",
|
|
92
|
-
"import-fresh": "../node_modules/import-fresh/",
|
|
93
|
-
"imurmurhash": "../node_modules/imurmurhash/imurmurhash.js",
|
|
94
|
-
"is-glob": "../node_modules/is-glob/index.js",
|
|
95
|
-
"is-path-inside": "../node_modules/is-path-inside/",
|
|
96
|
-
"js-yaml": "../node_modules/js-yaml/./dist/js-yaml.mjs",
|
|
97
|
-
"json-stable-stringify-without-jsonify": "../node_modules/json-stable-stringify-without-jsonify/index.js",
|
|
98
|
-
"levn": "../node_modules/levn/./lib/",
|
|
99
|
-
"lodash.merge": "../node_modules/lodash.merge/",
|
|
100
|
-
"minimatch": "../node_modules/minimatch/minimatch.js",
|
|
101
|
-
"natural-compare": "../node_modules/natural-compare/index.js",
|
|
102
|
-
"optionator": "../node_modules/optionator/./lib/",
|
|
103
|
-
"strip-ansi": "../node_modules/strip-ansi/",
|
|
104
|
-
"strip-json-comments": "../node_modules/strip-json-comments/",
|
|
105
|
-
"text-table": "../node_modules/text-table/index.js",
|
|
106
|
-
"ansi-colors": "../node_modules/ansi-colors/index.js",
|
|
107
|
-
"browser-stdout": "../node_modules/browser-stdout/index.js",
|
|
108
|
-
"chokidar": "../node_modules/chokidar/index.js",
|
|
109
|
-
"diff": "../node_modules/diff/./lib/index.mjs",
|
|
110
|
-
"he": "../node_modules/he/he.js",
|
|
111
|
-
"log-symbols": "../node_modules/log-symbols/",
|
|
112
|
-
"ms": "../node_modules/ms/./index",
|
|
113
|
-
"nanoid": "../node_modules/nanoid/./index.js",
|
|
114
|
-
"serialize-javascript": "../node_modules/serialize-javascript/index.js",
|
|
115
|
-
"supports-color": "../node_modules/supports-color/",
|
|
116
|
-
"workerpool": "../node_modules/workerpool/src/index.js",
|
|
117
|
-
"yargs-parser": "../node_modules/yargs-parser/./build/lib/index.js",
|
|
118
|
-
"yargs-unparser": "../node_modules/yargs-unparser/index.js",
|
|
119
|
-
"@jridgewell/resolve-uri": "../node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs",
|
|
120
|
-
"@jridgewell/sourcemap-codec": "../node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs",
|
|
121
|
-
"fs.realpath": "../node_modules/fs.realpath/index.js",
|
|
122
|
-
"inflight": "../node_modules/inflight/inflight.js",
|
|
123
|
-
"inherits": "../node_modules/inherits/./inherits.js",
|
|
124
|
-
"once": "../node_modules/once/once.js",
|
|
125
|
-
"path-is-absolute": "../node_modules/path-is-absolute/",
|
|
126
|
-
"pify": "../node_modules/pify/",
|
|
127
|
-
"semver": "../node_modules/semver/index.js",
|
|
128
|
-
"@jridgewell/gen-mapping": "../node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs",
|
|
129
|
-
"@babel/highlight": "../node_modules/@babel/highlight/./lib/index.js",
|
|
130
|
-
"jsesc": "../node_modules/jsesc/jsesc.js",
|
|
131
|
-
"@babel/helper-validator-option": "../node_modules/@babel/helper-validator-option/./lib/index.js",
|
|
132
|
-
"browserslist": "../node_modules/browserslist/",
|
|
133
|
-
"lru-cache": "../node_modules/lru-cache/index.js",
|
|
134
|
-
"@babel/helper-environment-visitor": "../node_modules/@babel/helper-environment-visitor/./lib/index.js",
|
|
135
|
-
"@babel/helper-module-imports": "../node_modules/@babel/helper-module-imports/./lib/index.js",
|
|
136
|
-
"@babel/helper-split-export-declaration": "../node_modules/@babel/helper-split-export-declaration/./lib/index.js",
|
|
137
|
-
"@babel/helper-validator-identifier": "../node_modules/@babel/helper-validator-identifier/./lib/index.js",
|
|
138
|
-
"@babel/helper-function-name": "../node_modules/@babel/helper-function-name/./lib/index.js",
|
|
139
|
-
"@babel/helper-hoist-variables": "../node_modules/@babel/helper-hoist-variables/./lib/index.js",
|
|
140
|
-
"@babel/helper-string-parser": "../node_modules/@babel/helper-string-parser/./lib/index.js",
|
|
141
|
-
"to-fast-properties": "../node_modules/to-fast-properties/",
|
|
142
|
-
"es-module-lexer": "../node_modules/es-module-lexer/./dist/lexer.js",
|
|
143
|
-
"@open-automaton/automaton-engine": "../node_modules/@open-automaton/automaton-engine/src/automaton-engine.js",
|
|
144
|
-
"async-arrays": "../node_modules/async-arrays/async-arrays.mjs",
|
|
145
|
-
"carlton": "../node_modules/carlton/carlton.js",
|
|
146
|
-
"clone": "../node_modules/clone/clone.js",
|
|
147
|
-
"extended-emitter": "../node_modules/extended-emitter/extended-emitter.mjs",
|
|
148
|
-
"html-parser": "../node_modules/html-parser/./src/parser.js",
|
|
149
|
-
"libxmljs2": "../node_modules/libxmljs2/./index",
|
|
150
|
-
"postman-request": "../node_modules/postman-request/index.js",
|
|
151
|
-
"simple-log-function": "../node_modules/simple-log-function/simple-log-function.js",
|
|
152
|
-
"url-parse": "../node_modules/url-parse/index.js",
|
|
153
|
-
"cheerio": "../node_modules/cheerio/./lib/esm/index.js",
|
|
154
|
-
"async-fn-callback": "../node_modules/async-fn-callback/",
|
|
155
|
-
"jsdom": "../node_modules/jsdom/./lib/api.js",
|
|
156
|
-
"puppeteer": "../node_modules/puppeteer/./cjs-entry.js",
|
|
157
|
-
"puppeteer-extra": "../node_modules/puppeteer-extra/dist/index.esm.js",
|
|
158
|
-
"puppeteer-extra-plugin-stealth": "../node_modules/puppeteer-extra-plugin-stealth/index.js",
|
|
159
|
-
"siginfo": "../node_modules/siginfo/index.js",
|
|
160
|
-
"stackback": "../node_modules/stackback/index.js",
|
|
161
|
-
"cliui": "../node_modules/cliui/./index.mjs",
|
|
162
|
-
"escalade": "../node_modules/escalade/dist/index.mjs",
|
|
163
|
-
"get-caller-file": "../node_modules/get-caller-file/index.js",
|
|
164
|
-
"require-directory": "../node_modules/require-directory/index.js",
|
|
165
|
-
"string-width": "../node_modules/string-width/",
|
|
166
|
-
"y18n": "../node_modules/y18n/./build/lib/index.js",
|
|
167
|
-
"@humanwhocodes/object-schema": "../node_modules/@humanwhocodes/object-schema/src/index.js",
|
|
168
|
-
"@nodelib/fs.scandir": "../node_modules/@nodelib/fs.scandir/out/index.js",
|
|
169
|
-
"fastq": "../node_modules/fastq/queue.js",
|
|
170
|
-
"fast-json-stable-stringify": "../node_modules/fast-json-stable-stringify/index.js",
|
|
171
|
-
"json-schema-traverse": "../node_modules/json-schema-traverse/index.js",
|
|
172
|
-
"uri-js": "../node_modules/uri-js/dist/es5/uri.all.js",
|
|
173
|
-
"ansi-styles": "../node_modules/ansi-styles/",
|
|
174
|
-
"path-key": "../node_modules/path-key/",
|
|
175
|
-
"shebang-command": "../node_modules/shebang-command/",
|
|
176
|
-
"which": "../node_modules/which/which.js",
|
|
177
|
-
"esrecurse": "../node_modules/esrecurse/esrecurse.js",
|
|
178
|
-
"estraverse": "../node_modules/estraverse/estraverse.js",
|
|
179
|
-
"acorn": "../node_modules/acorn/dist/acorn.mjs",
|
|
180
|
-
"acorn-jsx": "../node_modules/acorn-jsx/",
|
|
181
|
-
"flat-cache": "../node_modules/flat-cache/src/cache.js",
|
|
182
|
-
"locate-path": "../node_modules/locate-path/",
|
|
183
|
-
"path-exists": "../node_modules/path-exists/",
|
|
184
|
-
"parent-module": "../node_modules/parent-module/",
|
|
185
|
-
"resolve-from": "../node_modules/resolve-from/",
|
|
186
|
-
"is-extglob": "../node_modules/is-extglob/index.js",
|
|
187
|
-
"argparse": "../node_modules/argparse/argparse.js",
|
|
188
|
-
"prelude-ls": "../node_modules/prelude-ls/lib/",
|
|
189
|
-
"type-check": "../node_modules/type-check/./lib/",
|
|
190
|
-
"brace-expansion": "../node_modules/brace-expansion/index.js",
|
|
191
|
-
"deep-is": "../node_modules/deep-is/index.js",
|
|
192
|
-
"@aashutoshrathi/word-wrap": "../node_modules/@aashutoshrathi/word-wrap/index.js",
|
|
193
|
-
"fast-levenshtein": "../node_modules/fast-levenshtein/levenshtein.js",
|
|
194
|
-
"ansi-regex": "../node_modules/ansi-regex/",
|
|
195
|
-
"anymatch": "../node_modules/anymatch/",
|
|
196
|
-
"braces": "../node_modules/braces/index.js",
|
|
197
|
-
"is-binary-path": "../node_modules/is-binary-path/",
|
|
198
|
-
"normalize-path": "../node_modules/normalize-path/index.js",
|
|
199
|
-
"readdirp": "../node_modules/readdirp/index.js",
|
|
200
|
-
"is-unicode-supported": "../node_modules/is-unicode-supported/",
|
|
201
|
-
"randombytes": "../node_modules/randombytes/index.js",
|
|
202
|
-
"has-flag": "../node_modules/has-flag/",
|
|
203
|
-
"camelcase": "../node_modules/camelcase/",
|
|
204
|
-
"decamelize": "../node_modules/decamelize/",
|
|
205
|
-
"flat": "../node_modules/flat/index.js",
|
|
206
|
-
"is-plain-obj": "../node_modules/is-plain-obj/",
|
|
207
|
-
"wrappy": "../node_modules/wrappy/wrappy.js",
|
|
208
|
-
"@jridgewell/set-array": "../node_modules/@jridgewell/set-array/dist/set-array.mjs",
|
|
209
|
-
"js-tokens": "../node_modules/js-tokens/",
|
|
210
|
-
"caniuse-lite": "../node_modules/caniuse-lite/dist/unpacker/index.js",
|
|
211
|
-
"electron-to-chromium": "../node_modules/electron-to-chromium/index.js",
|
|
212
|
-
"update-browserslist-db": "../node_modules/update-browserslist-db/",
|
|
213
|
-
"yallist": "../node_modules/yallist/yallist.js",
|
|
214
|
-
"libxmljs": "../node_modules/libxmljs/./index",
|
|
215
|
-
"sift": "../node_modules/sift/./es5m/index.js",
|
|
216
|
-
"es6-template-strings": "../node_modules/es6-template-strings/",
|
|
217
|
-
"wolfy87-eventemitter": "../node_modules/wolfy87-eventemitter/EventEmitter.js",
|
|
218
|
-
"@mapbox/node-pre-gyp": "../node_modules/@mapbox/node-pre-gyp/./lib/node-pre-gyp.js",
|
|
219
|
-
"bindings": "../node_modules/bindings/./bindings.js",
|
|
220
|
-
"nan": "../node_modules/nan/include_dirs.js",
|
|
221
|
-
"@postman/form-data": "../node_modules/@postman/form-data/./lib/form_data",
|
|
222
|
-
"@postman/tough-cookie": "../node_modules/@postman/tough-cookie/./lib/cookie",
|
|
223
|
-
"@postman/tunnel-agent": "../node_modules/@postman/tunnel-agent/index.js",
|
|
224
|
-
"aws-sign2": "../node_modules/aws-sign2/index.js",
|
|
225
|
-
"aws4": "../node_modules/aws4/aws4.js",
|
|
226
|
-
"brotli": "../node_modules/brotli/index.js",
|
|
227
|
-
"caseless": "../node_modules/caseless/index.js",
|
|
228
|
-
"combined-stream": "../node_modules/combined-stream/./lib/combined_stream",
|
|
229
|
-
"extend": "../node_modules/extend/index",
|
|
230
|
-
"forever-agent": "../node_modules/forever-agent/index.js",
|
|
231
|
-
"har-validator": "../node_modules/har-validator/lib/promise.js",
|
|
232
|
-
"http-signature": "../node_modules/http-signature/lib/index.js",
|
|
233
|
-
"is-typedarray": "../node_modules/is-typedarray/index.js",
|
|
234
|
-
"isstream": "../node_modules/isstream/isstream.js",
|
|
235
|
-
"json-stringify-safe": "../node_modules/json-stringify-safe/stringify.js",
|
|
236
|
-
"mime-types": "../node_modules/mime-types/",
|
|
237
|
-
"oauth-sign": "../node_modules/oauth-sign/index.js",
|
|
238
|
-
"performance-now": "../node_modules/performance-now/lib/performance-now.js",
|
|
239
|
-
"qs": "../node_modules/qs/lib/index.js",
|
|
240
|
-
"safe-buffer": "../node_modules/safe-buffer/index.js",
|
|
241
|
-
"stream-length": "../node_modules/stream-length/index.js",
|
|
242
|
-
"uuid": "../node_modules/uuid/./dist/esm-node/index.js",
|
|
243
|
-
"loglevel": "../node_modules/loglevel/lib/loglevel.js",
|
|
244
|
-
"querystringify": "../node_modules/querystringify/index.js",
|
|
245
|
-
"requires-port": "../node_modules/requires-port/index.js",
|
|
246
|
-
"cheerio-select": "../node_modules/cheerio-select/lib/esm/index.js",
|
|
247
|
-
"dom-serializer": "../node_modules/dom-serializer/lib/esm/index.js",
|
|
248
|
-
"domhandler": "../node_modules/domhandler/lib/esm/index.js",
|
|
249
|
-
"domutils": "../node_modules/domutils/lib/esm/index.js",
|
|
250
|
-
"htmlparser2": "../node_modules/htmlparser2/./lib/esm/index.js",
|
|
251
|
-
"parse5": "../node_modules/parse5/dist/index.js",
|
|
252
|
-
"parse5-htmlparser2-tree-adapter": "../node_modules/parse5-htmlparser2-tree-adapter/dist/index.js",
|
|
253
|
-
"abab": "../node_modules/abab/index.js",
|
|
254
|
-
"acorn-globals": "../node_modules/acorn-globals/",
|
|
255
|
-
"cssom": "../node_modules/cssom/./lib/index.js",
|
|
256
|
-
"cssstyle": "../node_modules/cssstyle/./lib/CSSStyleDeclaration.js",
|
|
257
|
-
"data-urls": "../node_modules/data-urls/lib/parser.js",
|
|
258
|
-
"decimal.js": "../node_modules/decimal.js/./decimal.mjs",
|
|
259
|
-
"domexception": "../node_modules/domexception/index.js",
|
|
260
|
-
"escodegen": "../node_modules/escodegen/escodegen.js",
|
|
261
|
-
"form-data": "../node_modules/form-data/./lib/form_data",
|
|
262
|
-
"html-encoding-sniffer": "../node_modules/html-encoding-sniffer/lib/html-encoding-sniffer.js",
|
|
263
|
-
"http-proxy-agent": "../node_modules/http-proxy-agent/./dist/index.js",
|
|
264
|
-
"https-proxy-agent": "../node_modules/https-proxy-agent/dist/index",
|
|
265
|
-
"is-potential-custom-element-name": "../node_modules/is-potential-custom-element-name/index.js",
|
|
266
|
-
"nwsapi": "../node_modules/nwsapi/./src/nwsapi",
|
|
267
|
-
"saxes": "../node_modules/saxes/saxes.js",
|
|
268
|
-
"symbol-tree": "../node_modules/symbol-tree/lib/SymbolTree.js",
|
|
269
|
-
"tough-cookie": "../node_modules/tough-cookie/./lib/cookie",
|
|
270
|
-
"w3c-hr-time": "../node_modules/w3c-hr-time/index.js",
|
|
271
|
-
"w3c-xmlserializer": "../node_modules/w3c-xmlserializer/lib/serialize.js",
|
|
272
|
-
"webidl-conversions": "../node_modules/webidl-conversions/lib/index.js",
|
|
273
|
-
"whatwg-encoding": "../node_modules/whatwg-encoding/lib/whatwg-encoding.js",
|
|
274
|
-
"whatwg-mimetype": "../node_modules/whatwg-mimetype/lib/mime-type.js",
|
|
275
|
-
"whatwg-url": "../node_modules/whatwg-url/index.js",
|
|
276
|
-
"ws": "../node_modules/ws/./wrapper.mjs",
|
|
277
|
-
"xml-name-validator": "../node_modules/xml-name-validator/lib/xml-name-validator.js",
|
|
278
|
-
"cross-fetch": "../node_modules/cross-fetch/dist/node-ponyfill.js",
|
|
279
|
-
"extract-zip": "../node_modules/extract-zip/index.js",
|
|
280
|
-
"pkg-dir": "../node_modules/pkg-dir/",
|
|
281
|
-
"progress": "../node_modules/progress/./index.js",
|
|
282
|
-
"proxy-from-env": "../node_modules/proxy-from-env/index.js",
|
|
283
|
-
"rimraf": "../node_modules/rimraf/rimraf.js",
|
|
284
|
-
"tar-fs": "../node_modules/tar-fs/index.js",
|
|
285
|
-
"unbzip2-stream": "../node_modules/unbzip2-stream/index.js",
|
|
286
|
-
"deepmerge": "../node_modules/deepmerge/dist/cjs.js",
|
|
287
|
-
"puppeteer-extra-plugin": "../node_modules/puppeteer-extra-plugin/dist/index.esm.js",
|
|
288
|
-
"puppeteer-extra-plugin-user-preferences": "../node_modules/puppeteer-extra-plugin-user-preferences/index.js",
|
|
289
|
-
"wrap-ansi": "../node_modules/wrap-ansi/",
|
|
290
|
-
"emoji-regex": "../node_modules/emoji-regex/index.js",
|
|
291
|
-
"is-fullwidth-code-point": "../node_modules/is-fullwidth-code-point/",
|
|
292
|
-
"@nodelib/fs.stat": "../node_modules/@nodelib/fs.stat/out/index.js",
|
|
293
|
-
"run-parallel": "../node_modules/run-parallel/index.js",
|
|
294
|
-
"reusify": "../node_modules/reusify/reusify.js",
|
|
295
|
-
"color-convert": "../node_modules/color-convert/",
|
|
296
|
-
"shebang-regex": "../node_modules/shebang-regex/",
|
|
297
|
-
"isexe": "../node_modules/isexe/index.js",
|
|
298
|
-
"flatted": "../node_modules/flatted/./esm/index.js",
|
|
299
|
-
"p-locate": "../node_modules/p-locate/",
|
|
300
|
-
"callsites": "../node_modules/callsites/",
|
|
301
|
-
"balanced-match": "../node_modules/balanced-match/index.js",
|
|
302
|
-
"concat-map": "../node_modules/concat-map/index.js",
|
|
303
|
-
"picomatch": "../node_modules/picomatch/index.js",
|
|
304
|
-
"fill-range": "../node_modules/fill-range/index.js",
|
|
305
|
-
"binary-extensions": "../node_modules/binary-extensions/",
|
|
306
|
-
"picocolors": "../node_modules/picocolors/./picocolors.js",
|
|
307
|
-
"es5-ext": "../node_modules/es5-ext/",
|
|
308
|
-
"esniff": "../node_modules/esniff/",
|
|
309
|
-
"detect-libc": "../node_modules/detect-libc/lib/detect-libc.js",
|
|
310
|
-
"node-fetch": "../node_modules/node-fetch/lib/index.mjs",
|
|
311
|
-
"nopt": "../node_modules/nopt/lib/nopt.js",
|
|
312
|
-
"npmlog": "../node_modules/npmlog/log.js",
|
|
313
|
-
"tar": "../node_modules/tar/",
|
|
314
|
-
"asynckit": "../node_modules/asynckit/index.js",
|
|
315
|
-
"psl": "../node_modules/psl/index.js",
|
|
316
|
-
"universalify": "../node_modules/universalify/",
|
|
317
|
-
"base64-js": "../node_modules/base64-js/index.js",
|
|
318
|
-
"delayed-stream": "../node_modules/delayed-stream/./lib/delayed_stream",
|
|
319
|
-
"har-schema": "../node_modules/har-schema/lib/index.js",
|
|
320
|
-
"assert-plus": "../node_modules/assert-plus/./assert.js",
|
|
321
|
-
"jsprim": "../node_modules/jsprim/./lib/jsprim.js",
|
|
322
|
-
"sshpk": "../node_modules/sshpk/lib/index.js",
|
|
323
|
-
"mime-db": "../node_modules/mime-db/",
|
|
324
|
-
"side-channel": "../node_modules/side-channel/index.js",
|
|
325
|
-
"bluebird": "../node_modules/bluebird/./js/release/bluebird.js",
|
|
326
|
-
"boolbase": "../node_modules/boolbase/index.js",
|
|
327
|
-
"css-select": "../node_modules/css-select/lib/esm/index.js",
|
|
328
|
-
"css-what": "../node_modules/css-what/lib/es/index.js",
|
|
329
|
-
"domelementtype": "../node_modules/domelementtype/lib/esm/index.js",
|
|
330
|
-
"entities": "../node_modules/entities/./lib/esm/index.js",
|
|
331
|
-
"acorn-walk": "../node_modules/acorn-walk/dist/walk.mjs",
|
|
332
|
-
"esprima": "../node_modules/esprima/dist/esprima.js",
|
|
333
|
-
"@tootallnate/once": "../node_modules/@tootallnate/once/./dist/index.js",
|
|
334
|
-
"agent-base": "../node_modules/agent-base/dist/src/index",
|
|
335
|
-
"xmlchars": "../node_modules/xmlchars/xmlchars.js",
|
|
336
|
-
"browser-process-hrtime": "../node_modules/browser-process-hrtime/index.js",
|
|
337
|
-
"iconv-lite": "../node_modules/iconv-lite/./lib/index.js",
|
|
338
|
-
"tr46": "../node_modules/tr46/index.js",
|
|
339
|
-
"get-stream": "../node_modules/get-stream/",
|
|
340
|
-
"yauzl": "../node_modules/yauzl/index.js",
|
|
341
|
-
"chownr": "../node_modules/chownr/chownr.js",
|
|
342
|
-
"mkdirp-classic": "../node_modules/mkdirp-classic/index.js",
|
|
343
|
-
"pump": "../node_modules/pump/",
|
|
344
|
-
"tar-stream": "../node_modules/tar-stream/index.js",
|
|
345
|
-
"through": "../node_modules/through/index.js",
|
|
346
|
-
"merge-deep": "../node_modules/merge-deep/index.js",
|
|
347
|
-
"puppeteer-extra-plugin-user-data-dir": "../node_modules/puppeteer-extra-plugin-user-data-dir/index.js",
|
|
348
|
-
"queue-microtask": "../node_modules/queue-microtask/index.js",
|
|
349
|
-
"color-name": "../node_modules/color-name/index.js",
|
|
350
|
-
"p-limit": "../node_modules/p-limit/",
|
|
351
|
-
"to-regex-range": "../node_modules/to-regex-range/index.js",
|
|
352
|
-
"es6-iterator": "../node_modules/es6-iterator/",
|
|
353
|
-
"es6-symbol": "../node_modules/es6-symbol/",
|
|
354
|
-
"next-tick": "../node_modules/next-tick/",
|
|
355
|
-
"d": "../node_modules/d/",
|
|
356
|
-
"abbrev": "../node_modules/abbrev/abbrev.js",
|
|
357
|
-
"are-we-there-yet": "../node_modules/are-we-there-yet/lib/index.js",
|
|
358
|
-
"console-control-strings": "../node_modules/console-control-strings/index.js",
|
|
359
|
-
"gauge": "../node_modules/gauge/index.js",
|
|
360
|
-
"set-blocking": "../node_modules/set-blocking/index.js",
|
|
361
|
-
"fs-minipass": "../node_modules/fs-minipass/index.js",
|
|
362
|
-
"minipass": "../node_modules/minipass/[object Object]",
|
|
363
|
-
"minizlib": "../node_modules/minizlib/index.js",
|
|
364
|
-
"mkdirp": "../node_modules/mkdirp/index.js",
|
|
365
|
-
"extsprintf": "../node_modules/extsprintf/./lib/extsprintf.js",
|
|
366
|
-
"json-schema": "../node_modules/json-schema/./lib/validate.js",
|
|
367
|
-
"verror": "../node_modules/verror/./lib/verror.js",
|
|
368
|
-
"asn1": "../node_modules/asn1/lib/index.js",
|
|
369
|
-
"dashdash": "../node_modules/dashdash/./lib/dashdash.js",
|
|
370
|
-
"getpass": "../node_modules/getpass/lib/index.js",
|
|
371
|
-
"safer-buffer": "../node_modules/safer-buffer/safer.js",
|
|
372
|
-
"jsbn": "../node_modules/jsbn/index.js",
|
|
373
|
-
"tweetnacl": "../node_modules/tweetnacl/nacl-fast.js",
|
|
374
|
-
"ecc-jsbn": "../node_modules/ecc-jsbn/index.js",
|
|
375
|
-
"bcrypt-pbkdf": "../node_modules/bcrypt-pbkdf/index.js",
|
|
376
|
-
"call-bind": "../node_modules/call-bind/index.js",
|
|
377
|
-
"get-intrinsic": "../node_modules/get-intrinsic/index.js",
|
|
378
|
-
"object-inspect": "../node_modules/object-inspect/index.js",
|
|
379
|
-
"nth-check": "../node_modules/nth-check/lib/esm/index.js",
|
|
380
|
-
"fd-slicer": "../node_modules/fd-slicer/index.js",
|
|
381
|
-
"buffer-crc32": "../node_modules/buffer-crc32/index.js",
|
|
382
|
-
"end-of-stream": "../node_modules/end-of-stream/index.js",
|
|
383
|
-
"bl": "../node_modules/bl/bl.js",
|
|
384
|
-
"fs-constants": "../node_modules/fs-constants/index.js",
|
|
385
|
-
"readable-stream": "../node_modules/readable-stream/readable.js",
|
|
386
|
-
"arr-union": "../node_modules/arr-union/index.js",
|
|
387
|
-
"clone-deep": "../node_modules/clone-deep/index.js",
|
|
388
|
-
"kind-of": "../node_modules/kind-of/index.js",
|
|
389
|
-
"fs-extra": "../node_modules/fs-extra/./lib/index.js",
|
|
390
|
-
"yocto-queue": "../node_modules/yocto-queue/",
|
|
391
|
-
"is-number": "../node_modules/is-number/index.js",
|
|
392
|
-
"delegates": "../node_modules/delegates/",
|
|
393
|
-
"aproba": "../node_modules/aproba/index.js",
|
|
394
|
-
"color-support": "../node_modules/color-support/index.js",
|
|
395
|
-
"has-unicode": "../node_modules/has-unicode/index.js",
|
|
396
|
-
"object-assign": "../node_modules/object-assign/",
|
|
397
|
-
"signal-exit": "../node_modules/signal-exit/index.js",
|
|
398
|
-
"wide-align": "../node_modules/wide-align/align.js",
|
|
399
|
-
"core-util-is": "../node_modules/core-util-is/lib/util.js",
|
|
400
|
-
"function-bind": "../node_modules/function-bind/index",
|
|
401
|
-
"has": "../node_modules/has/./src",
|
|
402
|
-
"has-proto": "../node_modules/has-proto/index.js",
|
|
403
|
-
"has-symbols": "../node_modules/has-symbols/index.js",
|
|
404
|
-
"pend": "../node_modules/pend/index.js",
|
|
405
|
-
"util-deprecate": "../node_modules/util-deprecate/node.js",
|
|
406
|
-
"for-own": "../node_modules/for-own/index.js",
|
|
407
|
-
"is-plain-object": "../node_modules/is-plain-object/index.js",
|
|
408
|
-
"lazy-cache": "../node_modules/lazy-cache/index.js",
|
|
409
|
-
"shallow-clone": "../node_modules/shallow-clone/index.js",
|
|
410
|
-
"is-buffer": "../node_modules/is-buffer/index.js",
|
|
411
|
-
"graceful-fs": "../node_modules/graceful-fs/graceful-fs.js",
|
|
412
|
-
"jsonfile": "../node_modules/jsonfile/index.js",
|
|
413
|
-
"for-in": "../node_modules/for-in/index.js",
|
|
414
|
-
"isobject": "../node_modules/isobject/index.js",
|
|
415
|
-
"is-extendable": "../node_modules/is-extendable/index.js",
|
|
416
|
-
"mixin-object": "../node_modules/mixin-object/index.js",
|
|
417
|
-
"@environment-safe/file": "../src/index.mjs"
|
|
418
|
-
} }</script>
|
|
419
|
-
<script type="module">
|
|
420
|
-
(async ()=>{
|
|
421
|
-
window.fixtures = await (await fetch('/fixtures.json')).json();
|
|
422
|
-
})();
|
|
423
|
-
/*(async ()=>{
|
|
424
|
-
window.testEvents = await (await fetch('/events.json')).json();
|
|
425
|
-
window.testEvents.forEach((eventType)=>{
|
|
426
|
-
document.body.addEventListener(eventType, (event)=>{
|
|
427
|
-
console.log('event', JSON.stringify([eventType, event]) );
|
|
428
|
-
});
|
|
429
|
-
});
|
|
430
|
-
})();*/
|
|
431
|
-
</script>
|
|
432
|
-
|
|
433
|
-
</head>
|
|
434
|
-
<body>
|
|
435
|
-
|
|
436
|
-
<div id="mocha"></div>
|
|
437
|
-
<script type=module>
|
|
438
|
-
import { detect } from 'detect-browser';
|
|
439
|
-
const browser = detect();
|
|
440
|
-
if((browser && (
|
|
441
|
-
browser.name === 'safari' &&
|
|
442
|
-
parseInt(browser.version) < 16
|
|
443
|
-
)) || !browser){
|
|
444
|
-
throw new Error('Safari < 16.4 not supported!');
|
|
445
|
-
}
|
|
446
|
-
</script>
|
|
447
|
-
<script src="/node_modules/mocha/mocha.js"></script>
|
|
448
|
-
|
|
449
|
-
<script>mocha.setup('bdd')</script>
|
|
450
|
-
<script type="module" src="/test/test.mjs"></script>
|
|
451
|
-
|
|
452
|
-
<script type="module">
|
|
453
|
-
import { bind } from '@open-automaton/moka';
|
|
454
|
-
window.moka = { bind };
|
|
455
|
-
mocha.checkLeaks();
|
|
456
|
-
mocha.globals([]);
|
|
457
|
-
mocha.run();
|
|
458
|
-
</script>
|
|
459
|
-
|
|
460
|
-
</body>
|
|
461
|
-
<html>
|
|
462
|
-
|