// Hardcoded module "node:repl" // This is a stub! None of this is actually implemented yet. // It only exists to make some packages which import this module work. import { throwNotImplemented } from "../shared"; function REPLServer() { throwNotImplemented("node:repl REPLServer"); } function Recoverable() { throwNotImplemented("node:repl Recoverable"); } var REPL_MODE_SLOPPY = 0, REPL_MODE_STRICT = 1; function start() { throwNotImplemented("node:repl"); } var repl = { [Symbol.for("CommonJS")]: 0, lines: [], context: globalThis, historyIndex: -1, cursor: 0, historySize: 1000, removeHistoryDuplicates: false, crlfDelay: 100, completer: () => { throwNotImplemented("node:repl"); }, history: [], _initialPrompt: "> ", terminal: true, input: new Proxy( {}, { get() { throwNotImplemented("node:repl"); }, has: () => false, ownKeys: () => [], getOwnPropertyDescriptor: () => undefined, set() { throwNotImplemented("node:repl"); }, }, ), line: "", eval: () => { throwNotImplemented("node:repl"); }, isCompletionEnabled: true, escapeCodeTimeout: 500, tabSize: 8, breakEvalOnSigint: true, useGlobal: true, underscoreAssigned: false, last: undefined, _domain: undefined, allowBlockingCompletions: false, useColors: true, output: new Proxy( {}, { get() { throwNotImplemented("node:repl"); }, has: () => false, ownKeys: () => [], getOwnPropertyDescriptor: () => undefined, set() { throwNotImplemented("node:repl"); }, }, ), }; export { repl as default, repl, REPLServer, Recoverable, REPL_MODE_SLOPPY, REPL_MODE_STRICT, start }; db-remote-server-destroy'>chore/db-remote-server-destroy Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2023-07-11Filter out astro from `peerDependencies` in `astro add` (#7620)Gravatar Chris Swithinbank 2-1/+7
2023-07-11[ci] formatGravatar bluwy 1-1/+1
2023-07-11Refactor simple CLI commands (#7619)Gravatar Bjorn Lu 12-115/+123
2023-07-10fix: `astro info` command fallback for package manager (#7618)Gravatar Emanuele Stoppa 2-1/+7
2023-07-10Add CLI startup speed benchmark (#7617)Gravatar Bjorn Lu 5-11/+95
2023-07-10[ci] formatGravatar bluwy 1-1/+1