Age | Commit message (Collapse) | Author |
|
adds fsync option
|
|
|
|
|
|
Wait for `fsync` to complete before considering our file written to disk.
|
|
When the target is a symlink, write-file-atomic now overwrites the
_destination_ of the symlink, instead of replacing the symlink itself. This
makes it's behavior match `fs.writeFile`.
Fixed a bug where it would ALWAYS fs.stat to look up default mode and chown
values even if you'd passed them in. (It still used the values you passed
in, but did a needless stat.)
Fixes: #10223
Fixes: https://github.com/npm/write-file-atomic/issues/5
Credit: @iarna
|
|
* Preserve chmod and chown from the overwritten file
Credit: @iarna
|
|
Don't need to use MD5 (which interferes with using npm with a
FIPS-compliant Node.js binary), and murmur is faster anyway.
Fixes: #10629
Credit: @othiym23
|
|
Restore the ability to do one-shot upgrades from the versions of npm
bundled with Node 0.8 to npm@3, which simplifies using Travis with old
Node and new npm, for compatibility testing purposes. Older versions of
npm repack packages on install, which works poorly with the way npm@3
handles bundledDependencies with flat trees.
Fixes: #9668
PR-URL: https://github.com/npm/npm/pull/9981
|
|
|
|
PR-URL: https://github.com/npm/npm/pull/8735
|
|
|
|
Add ISC license file.
PR-URL: https://github.com/iarna/write-file-atomic/pull/2
|
|
use graceful-fs like everything else
|
|
|