ScuttleBot

scuttlebot / tests / e2e / node_modules / playwright / lib / utilsBundle.js
Blame History Raw 51 lines
1
"use strict";
2
var __defProp = Object.defineProperty;
3
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
var __getOwnPropNames = Object.getOwnPropertyNames;
5
var __hasOwnProp = Object.prototype.hasOwnProperty;
6
var __export = (target, all) => {
7
for (var name in all)
8
__defProp(target, name, { get: all[name], enumerable: true });
9
};
10
var __copyProps = (to, from, except, desc) => {
11
if (from && typeof from === "object" || typeof from === "function") {
12
for (let key of __getOwnPropNames(from))
13
if (!__hasOwnProp.call(to, key) && key !== except)
14
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
}
16
return to;
17
};
18
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
var utilsBundle_exports = {};
20
__export(utilsBundle_exports, {
21
chokidar: () => chokidar,
22
enquirer: () => enquirer,
23
getEastAsianWidth: () => getEastAsianWidth,
24
json5: () => json5,
25
parseMarkdown: () => parseMarkdown,
26
sourceMapSupport: () => sourceMapSupport,
27
stoppable: () => stoppable
28
});
29
module.exports = __toCommonJS(utilsBundle_exports);
30
const json5 = require("./utilsBundleImpl").json5;
31
const sourceMapSupport = require("./utilsBundleImpl").sourceMapSupport;
32
const stoppable = require("./utilsBundleImpl").stoppable;
33
const enquirer = require("./utilsBundleImpl").enquirer;
34
const chokidar = require("./utilsBundleImpl").chokidar;
35
const getEastAsianWidth = require("./utilsBundleImpl").getEastAsianWidth;
36
const { unified } = require("./utilsBundleImpl").unified;
37
const remarkParse = require("./utilsBundleImpl").remarkParse;
38
function parseMarkdown(content) {
39
return unified().use(remarkParse).parse(content);
40
}
41
// Annotate the CommonJS export names for ESM import in node:
42
0 && (module.exports = {
43
chokidar,
44
enquirer,
45
getEastAsianWidth,
46
json5,
47
parseMarkdown,
48
sourceMapSupport,
49
stoppable
50
});
51

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button