@environment-safe/file 0.0.1 → 0.1.0

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.
File without changes
@@ -0,0 +1,48 @@
1
+ import { chai } from '@environment-safe/chai';
2
+ import { it, configure } from '@open-automaton/moka';
3
+ import * as path from 'path';
4
+ import * as os from 'os';
5
+ import { Path } from '../../src/path.mjs';
6
+ const should = chai.should();
7
+
8
+
9
+ describe('module', ()=>{
10
+ describe('performs a simple test suite', ()=>{
11
+
12
+ // This test assumes you are executing from within your home dir
13
+ it(`identifies PWD relative to user home`, ()=>{
14
+ const parsed = Path.from(Path.location('home'));
15
+ const path = parsed.toString();
16
+ should.exist(path);
17
+ path.substring(0, 2).should.equal('..');
18
+ });
19
+
20
+ it(`identifies a relative windows path`, async function(){
21
+ const oldRoot = Path.current;
22
+ Path.current = 'C:\\foo';
23
+ const path = Path.from('C:\\foo\\bar');
24
+ path.toUrl('windows', true).should.equal('bar');
25
+ Path.current = 'C:\\foo';
26
+ const subpath = Path.from('C:\\foo\\bar\\baz');
27
+ subpath.toUrl('windows', true).should.equal('bar\\baz');
28
+ Path.current = 'C:\\foo\\nardo';
29
+ const relativePath = Path.from('C:\\foo\\bar\\baz');
30
+ relativePath.toString().should.equal('..\\bar\\baz');
31
+ Path.current = oldRoot;
32
+ });
33
+
34
+ it(`identifies a relative posix path`, async function(){
35
+ const oldRoot = Path.current;
36
+ Path.current = '/foo';
37
+ const path = Path.from('/foo/bar');
38
+ path.toString().should.equal('bar');
39
+ Path.current = '/foo';
40
+ const subpath = Path.from('/foo/bar/baz');
41
+ subpath.toString().should.equal('bar/baz');
42
+ Path.current = '/foo/nardo';
43
+ const relativePath = Path.from('/foo/bar/baz');
44
+ relativePath.toString().should.equal('../bar/baz');
45
+ Path.current = oldRoot;
46
+ });
47
+ });
48
+ });
@@ -0,0 +1,448 @@
1
+
2
+ <html>
3
+ <head>
4
+ <title>Moka Tests</title>
5
+ <link rel="stylesheet" href="../node_modules/mocha/mocha.css">
6
+ <base filesystem="/Users/khrome/Developement/@environment-safe/file" user="khrome">
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
+ "os": "../node_modules/@open-automaton/moka/src/stub.mjs",
11
+ "fs": "../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
+ "@babel/cli": "../node_modules/@babel/cli/",
17
+ "@babel/core": "../node_modules/@babel/core/./lib/index.js",
18
+ "@babel/plugin-transform-modules-commonjs": "../node_modules/@babel/plugin-transform-modules-commonjs/./lib/index.js",
19
+ "@environment-safe/chai": "../node_modules/@environment-safe/chai/./src/index.mjs",
20
+ "@environment-safe/commonjs-builder": "../node_modules/@environment-safe/commonjs-builder/./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
+ "debug": "../node_modules/debug/./src/index.js",
46
+ "gensync": "../node_modules/gensync/index.js",
47
+ "json5": "../node_modules/json5/dist/index.mjs",
48
+ "semver": "../node_modules/semver/semver.js",
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
+ "async-arrays": "../node_modules/async-arrays/async-arrays.mjs",
52
+ "@environment-safe/import-introspect": "../node_modules/@environment-safe/import-introspect/./src/index.mjs",
53
+ "@open-automaton/automaton": "../node_modules/@open-automaton/automaton/src/automaton.js",
54
+ "@open-automaton/cheerio-mining-engine": "../node_modules/@open-automaton/cheerio-mining-engine/src/cheerio.js",
55
+ "@open-automaton/jsdom-mining-engine": "../node_modules/@open-automaton/jsdom-mining-engine/src/jsdom.js",
56
+ "@open-automaton/playwright-mining-engine": "../node_modules/@open-automaton/playwright-mining-engine/src/playwright.js",
57
+ "@open-automaton/puppeteer-mining-engine": "../node_modules/@open-automaton/puppeteer-mining-engine/src/puppeteer.js",
58
+ "detect-browser": "../node_modules/detect-browser/es/index.js",
59
+ "why-is-node-running": "../node_modules/why-is-node-running/index.js",
60
+ "yargs": "../node_modules/yargs/./index.mjs",
61
+ "tslib": "../node_modules/tslib/[object Object]",
62
+ "assertion-error": "../node_modules/assertion-error/./index",
63
+ "check-error": "../node_modules/check-error/./index.js",
64
+ "deep-eql": "../node_modules/deep-eql/./index",
65
+ "get-func-name": "../node_modules/get-func-name/./index.js",
66
+ "loupe": "../node_modules/loupe/./index.js",
67
+ "pathval": "../node_modules/pathval/./index.js",
68
+ "type-detect": "../node_modules/type-detect/./type-detect.js",
69
+ "@eslint-community/eslint-utils": "../node_modules/@eslint-community/eslint-utils/./index.mjs",
70
+ "@eslint-community/regexpp": "../node_modules/@eslint-community/regexpp/./index.mjs",
71
+ "@eslint/eslintrc": "../node_modules/@eslint/eslintrc/./lib/index.js",
72
+ "@eslint/js": "../node_modules/@eslint/js/./src/index.js",
73
+ "@humanwhocodes/config-array": "../node_modules/@humanwhocodes/config-array/api.js",
74
+ "@humanwhocodes/module-importer": "../node_modules/@humanwhocodes/module-importer/src/module-importer.js",
75
+ "@nodelib/fs.walk": "../node_modules/@nodelib/fs.walk/out/index.js",
76
+ "ajv": "../node_modules/ajv/lib/ajv.js",
77
+ "chalk": "../node_modules/chalk/",
78
+ "cross-spawn": "../node_modules/cross-spawn/index.js",
79
+ "doctrine": "../node_modules/doctrine/lib/doctrine.js",
80
+ "escape-string-regexp": "../node_modules/escape-string-regexp/",
81
+ "eslint-scope": "../node_modules/eslint-scope/./lib/index.js",
82
+ "eslint-visitor-keys": "../node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs",
83
+ "espree": "../node_modules/espree/dist/espree.cjs",
84
+ "esquery": "../node_modules/esquery/dist/esquery.esm.min.js",
85
+ "esutils": "../node_modules/esutils/lib/utils.js",
86
+ "fast-deep-equal": "../node_modules/fast-deep-equal/index.js",
87
+ "file-entry-cache": "../node_modules/file-entry-cache/cache.js",
88
+ "find-up": "../node_modules/find-up/",
89
+ "glob-parent": "../node_modules/glob-parent/index.js",
90
+ "globals": "../node_modules/globals/",
91
+ "graphemer": "../node_modules/graphemer/./lib/index.js",
92
+ "ignore": "../node_modules/ignore/",
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
+ "text-table": "../node_modules/text-table/index.js",
105
+ "ansi-colors": "../node_modules/ansi-colors/index.js",
106
+ "browser-stdout": "../node_modules/browser-stdout/index.js",
107
+ "chokidar": "../node_modules/chokidar/index.js",
108
+ "diff": "../node_modules/diff/./lib/index.mjs",
109
+ "he": "../node_modules/he/he.js",
110
+ "log-symbols": "../node_modules/log-symbols/",
111
+ "ms": "../node_modules/ms/./index",
112
+ "nanoid": "../node_modules/nanoid/./index.js",
113
+ "serialize-javascript": "../node_modules/serialize-javascript/index.js",
114
+ "strip-json-comments": "../node_modules/strip-json-comments/",
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
+ "@jridgewell/gen-mapping": "../node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs",
128
+ "@babel/highlight": "../node_modules/@babel/highlight/./lib/index.js",
129
+ "jsesc": "../node_modules/jsesc/jsesc.js",
130
+ "@babel/helper-validator-option": "../node_modules/@babel/helper-validator-option/./lib/index.js",
131
+ "browserslist": "../node_modules/browserslist/",
132
+ "lru-cache": "../node_modules/lru-cache/index.js",
133
+ "@babel/helper-environment-visitor": "../node_modules/@babel/helper-environment-visitor/./lib/index.js",
134
+ "@babel/helper-module-imports": "../node_modules/@babel/helper-module-imports/./lib/index.js",
135
+ "@babel/helper-split-export-declaration": "../node_modules/@babel/helper-split-export-declaration/./lib/index.js",
136
+ "@babel/helper-validator-identifier": "../node_modules/@babel/helper-validator-identifier/./lib/index.js",
137
+ "@babel/helper-function-name": "../node_modules/@babel/helper-function-name/./lib/index.js",
138
+ "@babel/helper-hoist-variables": "../node_modules/@babel/helper-hoist-variables/./lib/index.js",
139
+ "@babel/helper-string-parser": "../node_modules/@babel/helper-string-parser/./lib/index.js",
140
+ "to-fast-properties": "../node_modules/to-fast-properties/",
141
+ "sift": "../node_modules/sift/./es5m/index.js",
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
+ "carlton": "../node_modules/carlton/carlton.js",
145
+ "clone": "../node_modules/clone/clone.js",
146
+ "extended-emitter": "../node_modules/extended-emitter/./extended-emitter.mjs",
147
+ "html-parser": "../node_modules/html-parser/./src/parser.js",
148
+ "libxmljs2": "../node_modules/libxmljs2/./index",
149
+ "postman-request": "../node_modules/postman-request/index.js",
150
+ "simple-log-function": "../node_modules/simple-log-function/simple-log-function.js",
151
+ "url-parse": "../node_modules/url-parse/index.js",
152
+ "cheerio": "../node_modules/cheerio/./lib/esm/index.js",
153
+ "async-fn-callback": "../node_modules/async-fn-callback/",
154
+ "jsdom": "../node_modules/jsdom/./lib/api.js",
155
+ "playwright": "../node_modules/playwright/./index.mjs",
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
+ "import-fresh": "../node_modules/import-fresh/",
168
+ "@humanwhocodes/object-schema": "../node_modules/@humanwhocodes/object-schema/src/index.js",
169
+ "@nodelib/fs.scandir": "../node_modules/@nodelib/fs.scandir/out/index.js",
170
+ "fastq": "../node_modules/fastq/queue.js",
171
+ "fast-json-stable-stringify": "../node_modules/fast-json-stable-stringify/index.js",
172
+ "json-schema-traverse": "../node_modules/json-schema-traverse/index.js",
173
+ "uri-js": "../node_modules/uri-js/dist/es5/uri.all.js",
174
+ "ansi-styles": "../node_modules/ansi-styles/",
175
+ "path-key": "../node_modules/path-key/",
176
+ "shebang-command": "../node_modules/shebang-command/",
177
+ "which": "../node_modules/which/which.js",
178
+ "esrecurse": "../node_modules/esrecurse/esrecurse.js",
179
+ "estraverse": "../node_modules/estraverse/estraverse.js",
180
+ "acorn": "../node_modules/acorn/dist/acorn.mjs",
181
+ "acorn-jsx": "../node_modules/acorn-jsx/",
182
+ "flat-cache": "../node_modules/flat-cache/src/cache.js",
183
+ "locate-path": "../node_modules/locate-path/",
184
+ "path-exists": "../node_modules/path-exists/",
185
+ "is-extglob": "../node_modules/is-extglob/index.js",
186
+ "argparse": "../node_modules/argparse/argparse.js",
187
+ "prelude-ls": "../node_modules/prelude-ls/lib/",
188
+ "type-check": "../node_modules/type-check/./lib/",
189
+ "brace-expansion": "../node_modules/brace-expansion/index.js",
190
+ "deep-is": "../node_modules/deep-is/index.js",
191
+ "@aashutoshrathi/word-wrap": "../node_modules/@aashutoshrathi/word-wrap/index.js",
192
+ "fast-levenshtein": "../node_modules/fast-levenshtein/levenshtein.js",
193
+ "ansi-regex": "../node_modules/ansi-regex/",
194
+ "anymatch": "../node_modules/anymatch/",
195
+ "braces": "../node_modules/braces/index.js",
196
+ "is-binary-path": "../node_modules/is-binary-path/",
197
+ "normalize-path": "../node_modules/normalize-path/index.js",
198
+ "readdirp": "../node_modules/readdirp/index.js",
199
+ "is-unicode-supported": "../node_modules/is-unicode-supported/",
200
+ "randombytes": "../node_modules/randombytes/index.js",
201
+ "has-flag": "../node_modules/has-flag/",
202
+ "camelcase": "../node_modules/camelcase/",
203
+ "decamelize": "../node_modules/decamelize/",
204
+ "flat": "../node_modules/flat/index.js",
205
+ "is-plain-obj": "../node_modules/is-plain-obj/",
206
+ "wrappy": "../node_modules/wrappy/wrappy.js",
207
+ "@jridgewell/set-array": "../node_modules/@jridgewell/set-array/dist/set-array.mjs",
208
+ "js-tokens": "../node_modules/js-tokens/",
209
+ "caniuse-lite": "../node_modules/caniuse-lite/dist/unpacker/index.js",
210
+ "electron-to-chromium": "../node_modules/electron-to-chromium/index.js",
211
+ "update-browserslist-db": "../node_modules/update-browserslist-db/",
212
+ "yallist": "../node_modules/yallist/yallist.js",
213
+ "libxmljs": "../node_modules/libxmljs/dist/index.js",
214
+ "es6-template-strings": "../node_modules/es6-template-strings/",
215
+ "@mapbox/node-pre-gyp": "../node_modules/@mapbox/node-pre-gyp/./lib/node-pre-gyp.js",
216
+ "bindings": "../node_modules/bindings/./bindings.js",
217
+ "nan": "../node_modules/nan/include_dirs.js",
218
+ "@postman/form-data": "../node_modules/@postman/form-data/./lib/form_data",
219
+ "@postman/tough-cookie": "../node_modules/@postman/tough-cookie/./lib/cookie",
220
+ "@postman/tunnel-agent": "../node_modules/@postman/tunnel-agent/index.js",
221
+ "aws-sign2": "../node_modules/aws-sign2/index.js",
222
+ "aws4": "../node_modules/aws4/aws4.js",
223
+ "brotli": "../node_modules/brotli/index.js",
224
+ "caseless": "../node_modules/caseless/index.js",
225
+ "combined-stream": "../node_modules/combined-stream/./lib/combined_stream",
226
+ "extend": "../node_modules/extend/index",
227
+ "forever-agent": "../node_modules/forever-agent/index.js",
228
+ "har-validator": "../node_modules/har-validator/lib/promise.js",
229
+ "http-signature": "../node_modules/http-signature/lib/index.js",
230
+ "is-typedarray": "../node_modules/is-typedarray/index.js",
231
+ "isstream": "../node_modules/isstream/isstream.js",
232
+ "json-stringify-safe": "../node_modules/json-stringify-safe/stringify.js",
233
+ "mime-types": "../node_modules/mime-types/",
234
+ "oauth-sign": "../node_modules/oauth-sign/index.js",
235
+ "performance-now": "../node_modules/performance-now/lib/performance-now.js",
236
+ "qs": "../node_modules/qs/lib/index.js",
237
+ "safe-buffer": "../node_modules/safe-buffer/index.js",
238
+ "stream-length": "../node_modules/stream-length/index.js",
239
+ "uuid": "../node_modules/uuid/./dist/esm-node/index.js",
240
+ "loglevel": "../node_modules/loglevel/lib/loglevel.js",
241
+ "querystringify": "../node_modules/querystringify/index.js",
242
+ "requires-port": "../node_modules/requires-port/index.js",
243
+ "cheerio-select": "../node_modules/cheerio-select/lib/esm/index.js",
244
+ "dom-serializer": "../node_modules/dom-serializer/lib/esm/index.js",
245
+ "domhandler": "../node_modules/domhandler/lib/esm/index.js",
246
+ "domutils": "../node_modules/domutils/lib/esm/index.js",
247
+ "htmlparser2": "../node_modules/htmlparser2/./lib/esm/index.js",
248
+ "parse5": "../node_modules/parse5/dist/index.js",
249
+ "parse5-htmlparser2-tree-adapter": "../node_modules/parse5-htmlparser2-tree-adapter/dist/index.js",
250
+ "abab": "../node_modules/abab/index.js",
251
+ "acorn-globals": "../node_modules/acorn-globals/",
252
+ "cssom": "../node_modules/cssom/./lib/index.js",
253
+ "cssstyle": "../node_modules/cssstyle/./lib/CSSStyleDeclaration.js",
254
+ "data-urls": "../node_modules/data-urls/lib/parser.js",
255
+ "decimal.js": "../node_modules/decimal.js/./decimal.mjs",
256
+ "domexception": "../node_modules/domexception/index.js",
257
+ "escodegen": "../node_modules/escodegen/escodegen.js",
258
+ "form-data": "../node_modules/form-data/./lib/form_data",
259
+ "html-encoding-sniffer": "../node_modules/html-encoding-sniffer/lib/html-encoding-sniffer.js",
260
+ "http-proxy-agent": "../node_modules/http-proxy-agent/./dist/index.js",
261
+ "https-proxy-agent": "../node_modules/https-proxy-agent/dist/index",
262
+ "is-potential-custom-element-name": "../node_modules/is-potential-custom-element-name/index.js",
263
+ "nwsapi": "../node_modules/nwsapi/./src/nwsapi",
264
+ "saxes": "../node_modules/saxes/saxes.js",
265
+ "symbol-tree": "../node_modules/symbol-tree/lib/SymbolTree.js",
266
+ "tough-cookie": "../node_modules/tough-cookie/./lib/cookie",
267
+ "w3c-hr-time": "../node_modules/w3c-hr-time/index.js",
268
+ "w3c-xmlserializer": "../node_modules/w3c-xmlserializer/lib/serialize.js",
269
+ "webidl-conversions": "../node_modules/webidl-conversions/lib/index.js",
270
+ "whatwg-encoding": "../node_modules/whatwg-encoding/lib/whatwg-encoding.js",
271
+ "whatwg-mimetype": "../node_modules/whatwg-mimetype/lib/mime-type.js",
272
+ "whatwg-url": "../node_modules/whatwg-url/index.js",
273
+ "ws": "../node_modules/ws/./wrapper.mjs",
274
+ "xml-name-validator": "../node_modules/xml-name-validator/lib/xml-name-validator.js",
275
+ "playwright-core": "../node_modules/playwright-core/./index.mjs",
276
+ "cross-fetch": "../node_modules/cross-fetch/dist/node-ponyfill.js",
277
+ "extract-zip": "../node_modules/extract-zip/index.js",
278
+ "pkg-dir": "../node_modules/pkg-dir/",
279
+ "progress": "../node_modules/progress/./index.js",
280
+ "proxy-from-env": "../node_modules/proxy-from-env/index.js",
281
+ "rimraf": "../node_modules/rimraf/rimraf.js",
282
+ "tar-fs": "../node_modules/tar-fs/index.js",
283
+ "unbzip2-stream": "../node_modules/unbzip2-stream/index.js",
284
+ "deepmerge": "../node_modules/deepmerge/dist/cjs.js",
285
+ "puppeteer-extra-plugin": "../node_modules/puppeteer-extra-plugin/dist/index.esm.js",
286
+ "puppeteer-extra-plugin-user-preferences": "../node_modules/puppeteer-extra-plugin-user-preferences/index.js",
287
+ "wrap-ansi": "../node_modules/wrap-ansi/",
288
+ "emoji-regex": "../node_modules/emoji-regex/index.js",
289
+ "is-fullwidth-code-point": "../node_modules/is-fullwidth-code-point/",
290
+ "parent-module": "../node_modules/parent-module/",
291
+ "resolve-from": "../node_modules/resolve-from/",
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
+ "keyv": "../node_modules/keyv/src/index.js",
300
+ "p-locate": "../node_modules/p-locate/",
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
+ "callsites": "../node_modules/callsites/",
349
+ "queue-microtask": "../node_modules/queue-microtask/index.js",
350
+ "color-name": "../node_modules/color-name/index.js",
351
+ "json-buffer": "../node_modules/json-buffer/",
352
+ "p-limit": "../node_modules/p-limit/",
353
+ "to-regex-range": "../node_modules/to-regex-range/index.js",
354
+ "es6-iterator": "../node_modules/es6-iterator/",
355
+ "es6-symbol": "../node_modules/es6-symbol/",
356
+ "next-tick": "../node_modules/next-tick/",
357
+ "d": "../node_modules/d/",
358
+ "abbrev": "../node_modules/abbrev/abbrev.js",
359
+ "are-we-there-yet": "../node_modules/are-we-there-yet/lib/index.js",
360
+ "console-control-strings": "../node_modules/console-control-strings/index.js",
361
+ "gauge": "../node_modules/gauge/index.js",
362
+ "set-blocking": "../node_modules/set-blocking/index.js",
363
+ "fs-minipass": "../node_modules/fs-minipass/index.js",
364
+ "minipass": "../node_modules/minipass/[object Object]",
365
+ "minizlib": "../node_modules/minizlib/index.js",
366
+ "mkdirp": "../node_modules/mkdirp/index.js",
367
+ "extsprintf": "../node_modules/extsprintf/./lib/extsprintf.js",
368
+ "json-schema": "../node_modules/json-schema/./lib/validate.js",
369
+ "verror": "../node_modules/verror/./lib/verror.js",
370
+ "asn1": "../node_modules/asn1/lib/index.js",
371
+ "dashdash": "../node_modules/dashdash/./lib/dashdash.js",
372
+ "getpass": "../node_modules/getpass/lib/index.js",
373
+ "safer-buffer": "../node_modules/safer-buffer/safer.js",
374
+ "jsbn": "../node_modules/jsbn/index.js",
375
+ "tweetnacl": "../node_modules/tweetnacl/nacl-fast.js",
376
+ "ecc-jsbn": "../node_modules/ecc-jsbn/index.js",
377
+ "bcrypt-pbkdf": "../node_modules/bcrypt-pbkdf/index.js",
378
+ "call-bind": "../node_modules/call-bind/index.js",
379
+ "get-intrinsic": "../node_modules/get-intrinsic/index.js",
380
+ "object-inspect": "../node_modules/object-inspect/index.js",
381
+ "nth-check": "../node_modules/nth-check/lib/esm/index.js",
382
+ "fd-slicer": "../node_modules/fd-slicer/index.js",
383
+ "buffer-crc32": "../node_modules/buffer-crc32/index.js",
384
+ "end-of-stream": "../node_modules/end-of-stream/index.js",
385
+ "bl": "../node_modules/bl/bl.js",
386
+ "fs-constants": "../node_modules/fs-constants/index.js",
387
+ "readable-stream": "../node_modules/readable-stream/readable.js",
388
+ "arr-union": "../node_modules/arr-union/index.js",
389
+ "clone-deep": "../node_modules/clone-deep/index.js",
390
+ "kind-of": "../node_modules/kind-of/index.js",
391
+ "fs-extra": "../node_modules/fs-extra/./lib/index.js",
392
+ "yocto-queue": "../node_modules/yocto-queue/",
393
+ "is-number": "../node_modules/is-number/index.js",
394
+ "delegates": "../node_modules/delegates/",
395
+ "aproba": "../node_modules/aproba/index.js",
396
+ "color-support": "../node_modules/color-support/index.js",
397
+ "has-unicode": "../node_modules/has-unicode/index.js",
398
+ "object-assign": "../node_modules/object-assign/",
399
+ "signal-exit": "../node_modules/signal-exit/index.js",
400
+ "wide-align": "../node_modules/wide-align/align.js",
401
+ "core-util-is": "../node_modules/core-util-is/lib/util.js",
402
+ "function-bind": "../node_modules/function-bind/index",
403
+ "has": "../node_modules/has/./src",
404
+ "has-proto": "../node_modules/has-proto/index.js",
405
+ "has-symbols": "../node_modules/has-symbols/index.js",
406
+ "pend": "../node_modules/pend/index.js",
407
+ "util-deprecate": "../node_modules/util-deprecate/node.js",
408
+ "for-own": "../node_modules/for-own/index.js",
409
+ "is-plain-object": "../node_modules/is-plain-object/index.js",
410
+ "lazy-cache": "../node_modules/lazy-cache/index.js",
411
+ "shallow-clone": "../node_modules/shallow-clone/index.js",
412
+ "is-buffer": "../node_modules/is-buffer/index.js",
413
+ "graceful-fs": "../node_modules/graceful-fs/graceful-fs.js",
414
+ "jsonfile": "../node_modules/jsonfile/index.js",
415
+ "for-in": "../node_modules/for-in/index.js",
416
+ "isobject": "../node_modules/isobject/index.js",
417
+ "is-extendable": "../node_modules/is-extendable/index.js",
418
+ "mixin-object": "../node_modules/mixin-object/index.js"
419
+ } }</script>
420
+
421
+ </head>
422
+ <body>
423
+
424
+ <div id="mocha"></div>
425
+ <script type=module>
426
+ import { detect } from 'detect-browser';
427
+ const browser = detect();
428
+ if((browser && (
429
+ browser.name === 'safari' &&
430
+ parseInt(browser.version) < 16
431
+ )) || !browser){
432
+ throw new Error('Safari < 16.4 not supported!');
433
+ }
434
+ </script>
435
+ <script src="/node_modules/mocha/mocha.js"></script>
436
+
437
+ <script>mocha.setup('bdd')</script>
438
+ <script type="module" src="/test/isolated/path.mjs"></script>
439
+
440
+ <script type="module">
441
+ mocha.checkLeaks();
442
+ mocha.globals([]);
443
+ mocha.run();
444
+ </script>
445
+
446
+ </body>
447
+ <html>
448
+