Home
last modified time | relevance | path

Searched refs:writeFileSync (Results 1 – 25 of 368) sorted by relevance

12345678910>>...15

/third_party/node/deps/npm/test/tap/
Dinstall-from-local-multipath.js117 fs.writeFileSync(
122 fs.writeFileSync(
128 fs.writeFileSync(
132 fs.writeFileSync(
138 fs.writeFileSync(
142 fs.writeFileSync(
148 fs.writeFileSync(
152 fs.writeFileSync(
Dversion-lifecycle.js17 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(
Dgently-rm-cmdshims.js93 …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)
Dbin-overwriting.js5 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
Dbearer-token-check.js2 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(
Dshrinkwrap-scoped-auth.js5 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(
Dshrinkwrap-global-auth.js5 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(
Dshrinkwrap-_auth.js5 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(
Doptional-metadep-rollback-collision.js128 fs.writeFileSync(
134 fs.writeFileSync(
140 fs.writeFileSync(
144 fs.writeFileSync(path.join(deps, 'd2', 'blart.js'), blart)
147 fs.writeFileSync(
Dlink.js5 var writeFileSync = require('fs').writeFileSync variable
75 writeFileSync(
80 writeFileSync(
85 writeFileSync(
90 writeFileSync(
94 writeFileSync(configPath, config)
Dno-global-warns.js5 var writeFileSync = require('fs').writeFileSync variable
41 writeFileSync(
45 writeFileSync(configPath, config)
Dinstall-link-metadeps-subfolders.js4 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({
Dinstall-windows-newlines.js37 fs.writeFileSync(
41 fs.writeFileSync(
45 fs.writeFileSync(
51 fs.writeFileSync(
/third_party/node/deps/npm/test/need-npm5-update/
Doutdated-local.js170 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)
Drm-linked.js6 var writeFileSync = require('fs').writeFileSync variable
133 writeFileSync(
138 writeFileSync(
143 writeFileSync(
147 writeFileSync(configPath, config)
Doutdated-private.js96 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/
Dtest-fs-watch-file.js57 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/
Dsample.ts32 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 …]
DreferencesWithRootDirInParent.ts33 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/
Dtest-fs-truncate.js40 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 …]
Dtest-module-symlinked-peer-modules.js51 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'),
Dtest-fs-chmod-mask.js30 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');
Dtest-fs-write-file-sync.js46 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' });
Dtest-fs-rm.js18 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, '');
Dtest-fs-append-file.js70 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);

12345678910>>...15