/third_party/node/deps/npm/test/tap/ |
D | install-from-local-multipath.js | 117 fs.writeFileSync( 122 fs.writeFileSync( 128 fs.writeFileSync( 132 fs.writeFileSync( 138 fs.writeFileSync( 142 fs.writeFileSync( 148 fs.writeFileSync( 152 fs.writeFileSync(
|
D | version-lifecycle.js | 17 fs.writeFileSync(path.resolve(pkg, 'package.json'), JSON.stringify({ 26 fs.writeFileSync(path.resolve(pkg, 'fail.js'), 'process.exit(50)', 'utf8') 44 fs.writeFileSync(path.resolve(pkg, 'package.json'), JSON.stringify({ 53 fs.writeFileSync(path.resolve(pkg, 'fail.js'), 'process.exit(50)', 'utf8') 71 fs.writeFileSync(path.resolve(pkg, 'package.json'), JSON.stringify({ 80 fs.writeFileSync(path.resolve(pkg, 'fail.js'), 'process.exit(50)', 'utf8') 98 fs.writeFileSync(path.resolve(pkg, 'package.json'), JSON.stringify({ 152 fs.writeFileSync(npmrc, configContents, 'ascii') 170 fs.writeFileSync(lifecycle + '-git.txt', stdout) 178 fs.writeFileSync(
|
D | gently-rm-cmdshims.js | 93 …fs.writeFileSync(path.join(doremove, 'node_modules', 'example', 'package.json'), JSON.stringify(ex… 94 …fs.writeFileSync(path.join(doremove, 'node_modules', 'example', 'example.js'), JSON.stringify(exam… 95 fs.writeFileSync(doremove_example_cmd, do_example_cmd) 96 fs.writeFileSync(doremove_example_cygwin, do_example_cygwin) 100 …fs.writeFileSync(path.join(dontremove, 'node_modules', 'example', 'package.json'), JSON.stringify(… 101 …fs.writeFileSync(path.join(dontremove, 'node_modules', 'example', 'example.js'), JSON.stringify(ex… 102 fs.writeFileSync(dontremove_example_cmd, dont_example_cmd) 103 fs.writeFileSync(dontremove_example_cygwin, dont_example_cygwin)
|
D | bin-overwriting.js | 5 const { writeFileSync, readFileSync, readlink } = require('fs') 41 writeFileSync(beep, 'beep boop') 45 writeFileSync(pkg + '/first/package.json', JSON.stringify({ 50 writeFileSync(pkg + '/first/first.js', `#!/usr/bin/env node 55 writeFileSync(pkg + '/second/package.json', JSON.stringify({ 60 writeFileSync(pkg + '/second/second.js', `#!/usr/bin/env node
|
D | bearer-token-check.js | 2 var writeFileSync = require('graceful-fs').writeFileSync variable 65 writeFileSync(resolve(pkg, 'package.json'), JSON.stringify(json, null, 2) + '\n') 66 writeFileSync(outfile, contents) 67 writeFileSync(
|
D | shrinkwrap-scoped-auth.js | 5 var writeFileSync = require('graceful-fs').writeFileSync variable 58 writeFileSync(path.resolve(pkg, 'package.json'), JSON.stringify(json, null, 2) + '\n') 59 writeFileSync(outfile, contents) 60 writeFileSync(
|
D | shrinkwrap-global-auth.js | 5 var writeFileSync = require('graceful-fs').writeFileSync variable 59 writeFileSync(path.resolve(pkg, 'package.json'), JSON.stringify(json, null, 2) + '\n') 60 writeFileSync(outfile, contents) 61 writeFileSync(
|
D | shrinkwrap-_auth.js | 5 var writeFileSync = require('graceful-fs').writeFileSync variable 74 writeFileSync(path.resolve(pkg, 'package.json'), JSON.stringify(json, null, 2) + '\n') 75 writeFileSync(outfile, contents) 76 writeFileSync(
|
D | optional-metadep-rollback-collision.js | 128 fs.writeFileSync( 134 fs.writeFileSync( 140 fs.writeFileSync( 144 fs.writeFileSync(path.join(deps, 'd2', 'blart.js'), blart) 147 fs.writeFileSync(
|
D | link.js | 5 var writeFileSync = require('fs').writeFileSync variable 75 writeFileSync( 80 writeFileSync( 85 writeFileSync( 90 writeFileSync( 94 writeFileSync(configPath, config)
|
D | no-global-warns.js | 5 var writeFileSync = require('fs').writeFileSync variable 41 writeFileSync( 45 writeFileSync(configPath, config)
|
D | install-link-metadeps-subfolders.js | 4 const { writeFileSync, readFileSync } = require('fs') 19 writeFileSync(resolve(app, 'package.json'), JSON.stringify({ 27 writeFileSync(resolve(moda, 'package.json'), JSON.stringify({ 35 writeFileSync(resolve(modb, 'package.json'), JSON.stringify({
|
D | install-windows-newlines.js | 37 fs.writeFileSync( 41 fs.writeFileSync( 45 fs.writeFileSync( 51 fs.writeFileSync(
|
/third_party/node/deps/npm/test/need-npm5-update/ |
D | outdated-local.js | 170 fs.writeFileSync(path.resolve(pkg, 'package.json'), pjParent) 173 fs.writeFileSync(path.resolve(pkgLocal, 'package.json'), pjLocal) 176 fs.writeFileSync(path.resolve(pkgScopedLocal, 'package.json'), pjScopedLocal) 179 fs.writeFileSync(path.resolve(pkgLocalUnderscore, 'package.json'), pjLocalUnderscore) 182 fs.writeFileSync(path.resolve(pkgLocalOptimist, 'package.json'), pjLocalOptimist) 186 fs.writeFileSync(path.resolve(pkgLocal, 'package.json'), pjLocalBumped) 187 fs.writeFileSync(path.resolve(pkgScopedLocal, 'package.json'), pjScopedLocalBumped) 188 fs.writeFileSync(path.resolve(pkgLocalUnderscore, 'package.json'), pjLocalUnderscoreBumped) 189 fs.writeFileSync(path.resolve(pkgLocalOptimist, 'package.json'), pjLocalOptimistBumped)
|
D | rm-linked.js | 6 var writeFileSync = require('fs').writeFileSync variable 133 writeFileSync( 138 writeFileSync( 143 writeFileSync( 147 writeFileSync(configPath, config)
|
D | outdated-private.js | 96 fs.writeFileSync(path.resolve(pkg, 'package.json'), pjParent) 99 fs.writeFileSync(path.resolve(pkgLocalPrivate, 'package.json'), pjLocalPrivate) 102 fs.writeFileSync(path.resolve(pkgScopedLocalPrivate, 'package.json'), pjScopedLocalPrivate) 105 fs.writeFileSync(path.resolve(pkgLocalUnderscore, 'package.json'), pjLocalUnderscore) 109 fs.writeFileSync(path.resolve(pkgLocalPrivate, 'package.json'), pjLocalPrivateBumped)
|
/third_party/node/test/pummel/ |
D | test-fs-watch-file.js | 57 fs.writeFileSync(filepathOne, 'hello'); 71 fs.writeFileSync(filepathOne, 'world'); 77 fs.writeFileSync(filepathTwoAbs, 'howdy'); 99 fs.writeFileSync(filepathTwoAbs, 'pardner'); 114 fs.writeFileSync(filenameThree, 'pardner'); 118 fs.writeFileSync(filenameFour, 'hey'); 122 fs.writeFileSync(filenameFour, 'hey');
|
/third_party/typescript/src/testRunner/unittests/tsbuild/ |
D | sample.ts | 32 modifyFs: fs => fs.writeFileSync("/src/logic/tsconfig.json", JSON.stringify({ 43 modifyFs: fs => fs.writeFileSync("/src/logic/tsconfig.json", JSON.stringify({ 132 modifyFs: fs => fs.writeFileSync("/src/tests/index.ts", "const m = 10;"), 210 …fs.writeFileSync("/src/tests/tsconfig.base.json", JSON.stringify({ compilerOptions: { target: "es3… 215 …modifyFs: fs => fs.writeFileSync("/src/tests/tsconfig.base.json", JSON.stringify({ compilerOptions… 318 const originalWriteFile = fs.writeFileSync; 320 fs.writeFileSync = (path, data, encoding) => { 330 fs.writeFileSync("/src/logic/index.ts", `${fs.readFileSync("/src/logic/index.ts")} 434 modifyFs: fs => fs.writeFileSync("/src/core/tsconfig.json", `{ 452 … fs.writeFileSync("/lib/lib.esnext.full.d.ts", `/// <reference no-default-lib="true"/> [all …]
|
D | referencesWithRootDirInParent.ts | 33 fs.writeFileSync("/src/src/main/tsconfig.json", JSON.stringify({ 37 fs.writeFileSync("/src/src/other/tsconfig.json", JSON.stringify({ 51 fs.writeFileSync("/src/src/main/tsconfig.main.json", JSON.stringify({ 55 fs.writeFileSync("/src/src/other/tsconfig.other.json", JSON.stringify({
|
/third_party/node/test/parallel/ |
D | test-fs-truncate.js | 40 fs.writeFileSync(filename, data); 53 fs.writeFileSync(filename, data); 140 fs.writeFileSync(file1, 'Hi'); 147 fs.writeFileSync(file2, 'Hi'); 156 fs.writeFileSync(file3, 'Hi'); 164 fs.writeFileSync(file4, 'Hi'); 174 fs.writeFileSync(file5, 'Hi'); 228 fs.writeFileSync(file6, 'Hi'); 238 fs.writeFileSync(file7, 'Hi'); 286 fs.writeFileSync(file1, 'Hi'); [all …]
|
D | test-module-symlinked-peer-modules.js | 51 fs.writeFileSync(path.join(moduleA, 'package.json'), 53 fs.writeFileSync(path.join(moduleA, 'index.js'), 55 fs.writeFileSync(path.join(app, 'index.js'), 57 fs.writeFileSync(path.join(moduleB, 'package.json'), 59 fs.writeFileSync(path.join(moduleB, 'index.js'),
|
D | test-fs-chmod-mask.js | 30 fs.writeFileSync(file, 'test', 'utf-8'); 39 fs.writeFileSync(file, 'test', 'utf-8'); 47 fs.writeFileSync(file, 'test', 'utf-8'); 58 fs.writeFileSync(file, 'test', 'utf-8'); 70 fs.writeFileSync(file, 'test', 'utf-8'); 81 fs.writeFileSync(file, 'test', 'utf-8');
|
D | test-fs-write-file-sync.js | 46 fs.writeFileSync(file, '123', { mode }); 83 fs.writeFileSync(fd, '123'); 99 fs.writeFileSync(file, 'hello ', { encoding: 'utf8', flag: 'a' }); 100 fs.writeFileSync(file, 'world!', { encoding: 'utf8', flag: 'a' }); 114 fs.writeFileSync(file, data, { encoding: 'utf8', flag: 'a' });
|
D | test-fs-rm.js | 18 fs.writeFileSync(path.join(dirname, 'text.txt'), 'hello', 'utf8'); 23 fs.writeFileSync(path.join(dirname, `f-${depth}-${f}`), '', options); 43 fs.writeFileSync(path.join(dirname, '[a-z0-9].txt'), '', options); 114 fs.writeFileSync(filePath, ''); 149 fs.writeFileSync(filePath, ''); 196 fs.writeFileSync(filePath, ''); 210 fs.writeFileSync(filePath, '');
|
D | test-fs-append-file.js | 70 fs.writeFileSync(filename, currentFileData); 83 fs.writeFileSync(filename, currentFileData); 97 fs.writeFileSync(filename, currentFileData); 111 fs.writeFileSync(filename, currentFileData); 158 fs.writeFileSync(filename, currentFileData); 175 fs.writeFileSync(filename, currentFileData);
|