single-file-cli 2.0.76 → 2.0.78
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/build.sh +1 -1
- package/deno.json +1 -1
- package/lib/browser.js +0 -3
- package/lib/cdp-client-util.js +95 -0
- package/lib/cdp-client.js +593 -506
- package/lib/deno-polyfill.js +3 -1
- package/lib/single-file-bundle.js +1 -1
- package/lib/single-file-script.js +103 -28
- package/lib/version.js +1 -1
- package/options.js +156 -107
- package/package.json +2 -2
- package/single-file-cli-api.js +1 -1
package/lib/deno-polyfill.js
CHANGED
|
@@ -125,9 +125,11 @@ const pathAPI = {
|
|
|
125
125
|
SEPARATOR: DENO_RUNTIME_DETECTED ? path.SEPARATOR : path.sep
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
+
const isDeno = DENO_RUNTIME_DETECTED;
|
|
129
|
+
|
|
128
130
|
await initGlobalThisProperties();
|
|
129
131
|
|
|
130
|
-
export { DenoAPI as Deno, pathAPI as path };
|
|
132
|
+
export { DenoAPI as Deno, pathAPI as path, isDeno };
|
|
131
133
|
|
|
132
134
|
async function initGlobalThisProperties() {
|
|
133
135
|
if (!DENO_RUNTIME_DETECTED) {
|