/third_party/node/test/sequential/ |
D | test-debugger-break.js | 16 const cli = startCLI([script]); constant 19 cli.quit(); 23 cli.waitForInitialBreak() 24 .then(() => cli.waitForPrompt()) 27 cli.breakInfo, 31 cli.output, 35 .then(() => cli.stepCommand('n')) 38 cli.output.includes(`break in ${script}:2`), 41 cli.output, 45 .then(() => cli.stepCommand('next')) [all …]
|
D | test-debugger-run-after-quit-restart.js | 16 const cli = startCLI([script]); constant 19 cli.quit(); 23 cli.waitForInitialBreak() 24 .then(() => cli.waitForPrompt()) 25 .then(() => cli.stepCommand('n')) 28 cli.output.includes(`break in ${script}:2`), 32 .then(() => cli.command('cont')) 33 .then(() => cli.waitFor(/disconnect/)) 36 cli.output, 42 return cli.command('kill'); [all …]
|
D | test-debugger-exceptions.js | 16 const cli = startCLI([script]); constant 19 cli.quit(); 23 cli.waitForInitialBreak() 24 .then(() => cli.waitForPrompt()) 26 assert.deepStrictEqual(cli.breakInfo, { filename: script, line: 1 }); 29 .then(() => cli.command('c')) 31 .then(() => cli.waitFor(/disconnect|FATAL ERROR/)) 34 .then(() => cli.stepCommand('r')) 35 .then(() => cli.waitForInitialBreak()) 37 assert.deepStrictEqual(cli.breakInfo, { filename: script, line: 1 }); [all …]
|
D | test-debugger-preserve-breaks.js | 16 const cli = startCLI([script]); constant 19 cli.quit(); 23 return cli.waitForInitialBreak() 24 .then(() => cli.waitForPrompt()) 25 .then(() => cli.command('breakpoints')) 27 assert.match(cli.output, /No breakpoints yet/); 29 .then(() => cli.command('sb(2)')) 30 .then(() => cli.command('sb(3)')) 31 .then(() => cli.command('breakpoints')) 33 assert.ok(cli.output.includes(`#0 ${script}:2`)); [all …]
|
D | test-debugger-exec.js | 13 const cli = startCLI([fixtures.path('debugger/alive.js')]); constant 16 cli.quit(); 20 cli.waitForInitialBreak() 21 .then(() => cli.waitForPrompt()) 22 .then(() => cli.command('exec [typeof heartbeat, typeof process.exit]')) 25 cli.output, 30 .then(() => cli.command('repl')) 33 cli.output, 36 assert.doesNotMatch(cli.output, /debug>/, 'changes the repl style'); 38 .then(() => cli.command('[typeof heartbeat, typeof process.exit]')) [all …]
|
D | test-debugger-watchers.js | 13 const cli = startCLI([fixtures.path('debugger/break.js')]); constant 16 cli.quit(); 20 return cli.waitForInitialBreak() 21 .then(() => cli.waitForPrompt()) 22 .then(() => cli.command('watch("x")')) 23 .then(() => cli.command('watch("\\"Hello\\"")')) 24 .then(() => cli.command('watch("42")')) 25 .then(() => cli.command('watch("NaN")')) 26 .then(() => cli.command('watch("true")')) 27 .then(() => cli.command('watch("[1, 2]")')) [all …]
|
D | test-debugger-clear-breakpoints.js | 16 const cli = startCLI([script]); constant 19 cli.quit(); 23 return cli.waitForInitialBreak() 24 .then(() => cli.waitForPrompt()) 25 .then(() => cli.command('sb("break.js", 3)')) 26 .then(() => cli.command('sb("break.js", 9)')) 27 .then(() => cli.command('breakpoints')) 29 assert.ok(cli.output.includes(`#0 ${script}:3`)); 30 assert.ok(cli.output.includes(`#1 ${script}:9`)); 32 .then(() => cli.command('clearBreakpoint("break.js", 4)')) [all …]
|
D | test-debugger-launch.js | 13 const cli = startCLI([script]); constant 15 cli.waitForInitialBreak() 16 .then(() => cli.waitForPrompt()) 18 assert.match(cli.output, /debug>/, 'prints a prompt'); 20 cli.output, 24 .then(() => cli.command('["hello", "world"].join(" ")')) 26 assert.match(cli.output, /hello world/, 'prints the result'); 28 .then(() => cli.command('')) 31 cli.output, 36 .then(() => cli.command('version')) [all …]
|
D | test-debugger-exec-scope.js | 13 const cli = startCLI([fixtures.path('debugger/backtrace.js')]); constant 16 cli.quit(); 20 cli.waitForInitialBreak() 21 .then(() => cli.waitForPrompt()) 22 .then(() => cli.stepCommand('c')) 23 .then(() => cli.command('exec .scope')) 26 cli.output, 28 assert.match(cli.output, /'a'/, 'displays local / function arg'); 29 assert.match(cli.output, /'l1'/, 'displays local scope'); 31 cli.output, [all …]
|
D | test-debugger-scripts.js | 14 const cli = startCLI([script]); constant 17 cli.quit(); 21 return cli.waitForInitialBreak() 22 .then(() => cli.waitForPrompt()) 23 .then(() => cli.command('scripts')) 26 cli.output, 30 cli.output, 34 .then(() => cli.command('scripts(true)')) 37 cli.output, 41 cli.output, [all …]
|
D | test-debugger-backtrace.js | 16 const cli = startCLI([script]); constant 19 cli.quit(); 23 return cli.waitForInitialBreak() 24 .then(() => cli.waitForPrompt()) 25 .then(() => cli.stepCommand('c')) 26 .then(() => cli.command('bt')) 28 assert.ok(cli.output.includes(`#0 topFn ${script}:7:2`)); 30 .then(() => cli.command('backtrace')) 32 assert.ok(cli.output.includes(`#0 topFn ${script}:7:2`)); 34 .then(() => cli.quit())
|
D | test-debugger-profile.js | 17 const cli = startCLI([fixtures.path('debugger/empty.js')]); constant 20 cli.quit(); 24 return cli.waitForInitialBreak() 25 .then(() => cli.waitForPrompt()) 26 .then(() => cli.command('exec console.profile()')) 28 assert.match(cli.output, /undefined/); 30 .then(() => cli.command('exec console.profileEnd()')) 33 assert.match(cli.output, /undefined/); 34 assert.match(cli.output, /Captured new CPU profile\./); 36 .then(() => cli.quit())
|
D | test-debugger-pid.js | 20 let cli = null; variable 24 if (cli) { 25 cli.quit(); 26 cli = null; 38 cli = startCLI(['-p', `${target.pid}`]); 39 return cli.waitForPrompt(); 41 .then(() => cli.command('sb("alive.js", 3)')) 42 .then(() => cli.waitFor(/break/)) 43 .then(() => cli.waitForPrompt()) 46 cli.output,
|
D | test-debugger-sb-before-load.js | 20 const cli = startCLI([script]); constant 23 cli.quit(); 27 cli.waitForInitialBreak() 28 .then(() => cli.waitForPrompt()) 29 .then(() => cli.command('sb("other.js", 2)')) 32 cli.output, 36 .then(() => cli.stepCommand('cont')) 39 cli.output.includes(`break in ${otherScript}:2`), 42 .then(() => cli.quit())
|
D | test-debugger-breakpoint-exists.js | 13 const cli = startCLI([script]); constant 16 cli.quit(); 20 cli.waitForInitialBreak() 21 .then(() => cli.waitForPrompt()) 22 .then(() => cli.command('setBreakpoint(1)')) 23 .then(() => cli.command('setBreakpoint(1)')) 24 .then(() => cli.waitFor(/Breakpoint at specified location already exists/)) 25 .then(() => cli.quit())
|
D | test-debugger-low-level.js | 12 const cli = startCLI([fixtures.path('debugger/three-lines.js')]); constant 16 cli.quit(); 20 return cli.waitForInitialBreak() 21 .then(() => cli.waitForPrompt()) 22 .then(() => cli.command('scripts')) 24 const [, scriptId] = cli.output.match(scriptPattern); 25 return cli.command( 31 cli.output,
|
D | test-debugger-restart-message.js | 17 const cli = startCLI([script]); constant 20 cli.quit(); 26 cli.waitForInitialBreak() 27 .then(() => cli.waitForPrompt()) 29 assert.strictEqual(cli.output.match(listeningRegExp).length, 1); 33 await cli.stepCommand('restart'); 34 assert.strictEqual(cli.output.match(listeningRegExp).length, 1); 37 .then(() => cli.quit())
|
/third_party/node/test/parallel/ |
D | test-repl-mode.js | 19 const cli = initRepl(repl.REPL_MODE_SLOPPY); 21 cli.input.emit('data', 'x = 3\n'); 22 assert.strictEqual(cli.output.accumulator.join(''), '> 3\n> '); 23 cli.output.accumulator.length = 0; 25 cli.input.emit('data', 'let y = 3\n'); 26 assert.strictEqual(cli.output.accumulator.join(''), 'undefined\n> '); 30 const cli = initRepl(repl.REPL_MODE_STRICT); 32 cli.input.emit('data', 'x = 3\n'); 34 cli.output.accumulator.join(''))); 35 cli.output.accumulator.length = 0; [all …]
|
D | test-debugger-address.js | 41 let cli = null; variable 45 if (cli) { 46 cli.quit(); 47 cli = null; 59 cli = startCLI([`${host || '127.0.0.1'}:${port}`]); 60 return cli.waitForPrompt(); 62 .then(() => cli.command('sb("alive.js", 3)')) 63 .then(() => cli.waitFor(/break/)) 64 .then(() => cli.waitForPrompt()) 67 cli.output,
|
/third_party/node/deps/npm/node_modules/cli-table3/ |
D | CHANGELOG.md | 6 * [#21](https://github.com/cli-table/cli-table3/pull/21) Import type definition from `@types/cli-ta… 15 * [#2](https://github.com/cli-table/cli-table3/pull/2) Update Node version requirements. ([@Turbo87… 18 * [#11](https://github.com/cli-table/cli-table3/pull/11) Update Documentation. ([@Turbo87](https://… 21 * [#16](https://github.com/cli-table/cli-table3/pull/16) Replace `kind-of` dependency with `typeof`… 22 * [#15](https://github.com/cli-table/cli-table3/pull/15) Remove Gulp. ([@Turbo87](https://github.co… 23 * [#13](https://github.com/cli-table/cli-table3/pull/13) Use ES6 class syntax and `let/const`. ([@T… 24 * [#12](https://github.com/cli-table/cli-table3/pull/12) Add ESLint and Prettier. ([@Turbo87](https… 25 * [#10](https://github.com/cli-table/cli-table3/pull/10) chore: use yarn cache. ([@DanielRuf](https… 26 * [#9](https://github.com/cli-table/cli-table3/pull/9) Use Jest for testing. ([@Turbo87](https://gi… 27 * [#3](https://github.com/cli-table/cli-table3/pull/3) Add `yarn.lock` file. ([@Turbo87](https://gi… [all …]
|
D | README.md | 1 cli-table3 4 [![npm version](https://img.shields.io/npm/v/cli-table3.svg)](https://www.npmjs.com/package/cli-tab… 5 …![Build Status](https://travis-ci.com/cli-table/cli-table3.svg?branch=master)](https://travis-ci.c… 10 `cli-table3` is based on (and api compatible with) the original [cli-table](https://github.com/Auto… 11 and [cli-table2](https://github.com/jamestalmage/cli-table2), which are both 12 unmaintained. `cli-table3` includes all the additional features from 13 `cli-table2`. 17 ## Features not in the original cli-table 25 - API compatible with the original cli-table. 26 - Exhaustive test suite including the entire original cli-table test suite. [all …]
|
/third_party/node/deps/npm/ |
D | CHANGELOG.md | 5 * [`a869ec48b`](https://github.com/npm/cli/commit/a869ec48b9481c10302378e6c2d94fe36e4c81c2) 7 * [`a869ec48b`](https://github.com/npm/cli/commit/a869ec48b9481c10302378e6c2d94fe36e4c81c2) 14 * [`0afe4f12f`](https://github.com/npm/cli/commit/0afe4f12f6b69f8fa6d39451b6e684fbef5fe1e2) 20 * [`2c534f801`](https://github.com/npm/cli/commit/2c534f801b87d6b8d6c534d326ca39654e313fe9) 28 * [`8160e6e4b`](https://github.com/npm/cli/commit/8160e6e4b58c0f76e720183f2057e26c6d9d8470) 30 * [`3079f5038`](https://github.com/npm/cli/commit/3079f503896323ab10bfad5bbdb7fe5ca9207d4b) 37 * [`4627c0670`](https://github.com/npm/cli/commit/4627c0670957ee5c5e8506750f4626493aabdc25) 44 * [`285ab3f65`](https://github.com/npm/cli/commit/285ab3f654882860246f729eb52e2c8c6a6d6e01) 46 * [`63b5c56c5`](https://github.com/npm/cli/commit/63b5c56c5203c8965c8ddeff28f2a65010b40b7c) 53 * [`e47654048`](https://github.com/npm/cli/commit/e4765404844a0b6795752b2bc6f9b9107fe713be) [all …]
|
/third_party/protobuf/src/google/protobuf/compiler/ |
D | main.cc | 49 CommandLineInterface cli; in ProtobufMain() local 50 cli.AllowPlugins("protoc-"); in ProtobufMain() 54 cli.RegisterGenerator("--cpp_out", "--cpp_opt", &cpp_generator, in ProtobufMain() 64 cli.RegisterGenerator("--java_out", "--java_opt", &java_generator, in ProtobufMain() 70 cli.RegisterGenerator("--python_out", "--python_opt", &py_generator, in ProtobufMain() 75 cli.RegisterGenerator("--php_out", "--php_opt", &php_generator, in ProtobufMain() 80 cli.RegisterGenerator("--ruby_out", "--ruby_opt", &rb_generator, in ProtobufMain() 85 cli.RegisterGenerator("--csharp_out", "--csharp_opt", &csharp_generator, in ProtobufMain() 90 cli.RegisterGenerator("--objc_out", "--objc_opt", &objc_generator, in ProtobufMain() 95 cli.RegisterGenerator("--js_out", "--js_opt", &js_generator, in ProtobufMain() [all …]
|
/third_party/node/benchmark/ |
D | compare.js | 12 const cli = new CLI(`usage: ./node compare.js [options] [--] <category> ... constant 29 if (!cli.optional.new || !cli.optional.old) { 30 cli.abort(cli.usage); 34 const runs = cli.optional.runs ? parseInt(cli.optional.runs, 10) : 30; 35 const benchmarks = cli.benchmarks(); 63 const showProgress = !cli.optional['no-progress']; 73 const child = fork(path.resolve(__dirname, job.filename), cli.optional.set, { 74 execPath: cli.optional[job.binary]
|
/third_party/node/deps/npm/scripts/ |
D | relocate.sh | 13 cli="$dir"/bin/npm-cli.js 14 tmp="$cli".tmp 22 sed -e 1d "$cli" > "$tmp" 23 echo "$node" > "$cli" 24 cat "$tmp" >> "$cli" 26 chmod ogu+x $cli
|