npm vinyl-fs 3.0.0

latest releases: 4.0.0, 3.0.3, 3.0.2...
6 years ago

Breaking

  • Utilize vinyl-prepare & vinyl-sourcemap dependencies (af035a5) - Closes #193
  • Consistent modules names (7fd3190)
  • Improve symlink/junction behaviour (4b15227)
  • Rename relative option to relativeSymlinks (09379ba) - Closes #251
  • Rename stripBOM option to removeBOM (bfb56cd)
  • Remove flag property leakage on Vinyl objects (de1eced)
  • Handle overwrite option in symlink to be consistent with dest (08d33fb)
  • Remove ability to pass options to through2 (5fcdf3a)
  • Remove passthrough option & infer readable or passthrough (325a784)
  • Replace flag option with append option (e739f6c)
  • Default to using Junctions on Windows (40ac6e9) - Closes #210 #231
  • Rename option followSymlinks to resolveSymlinks (20fc47c) - Closes #205
  • Consistent directory layout (8dfe08b)
  • Upgrade Vinyl to 2.0.0 (5dc079c)
  • Added support for changing uid/gid on disk (7fc8509) - Closes #157 #188
  • Remove base option from dest/symlink options, use functions for folder instead (7abaf4d) - Closes #141
  • Remove superfluous argument from write-xxx modules & use file.path instead (501673b)
  • Throw when dest()/symlink() is called with invalid folder argument & unskip tests (462fee5)

Fix

  • Use explicit chmod to ensure setgid permission can be set & account for umask with default mode (8eb33dc) - Closes #183 #185
  • Avoid file.isDirectory in useJunctions default (a741486) - Closes #247 #252
  • Remove lodash.isequal dependency due to changed behavior (94f7ac7)
  • Use the sink stream utility to sink symlink stream (7a16a0b) - Closes #195
  • Use custom implementation of fs.WriteStream that supports flush (483d1cc) - Closes #189
  • Avoid setting a position in custom write stream (81f343b) - Closes #202 #203
  • Properly handle file in mkdirp path (3087b78) - Closes #181
  • Don't rely on undocumented Stream.fd property (c7798bb)
  • Increase offset in futimes test timestamps (12f92f8)
  • Make tests aware of umask & use octal strings for expected results (31b0a66) - Closes #166
  • Support setting setuid/setgid/sticky in updateMetadata (799b057) - Closes #156

New

Update

  • Avoid realpath calls & use stat instead (e060d2e)
  • Reorganize symlinks options to match API docs (710122a)
  • Test cleanup (b8318dd)
  • Add failing tests for symlink behavior (e0e4b4b)
  • Support Node 8 by adding ._destroy to WriteStream (3178606)
  • Invoke callback with error or result, not both, when reading contents (5fcb6ee)
  • When testing utime-related cases, check `fs.futimes (97649a6) - Closes #208
  • Attach symlink property when passed through dest or symlink (1665b38) - Closes #249
  • Mirror symlink logic in dest (971accb)
  • Replace del devDependency with rimraf (d5014e4)
  • Replace strip-bom/strip-bom-stream dependencies with remove-bom-buffer/remove-bom-stream (9bf2927)
  • Replace object-assign dependency with object.assign (df044c6)
  • Resolve options based on definition (19004c7)
  • Remove vinyl-prepare & embed logic once again (a751c41)
  • Revive wrap-vinyl as separate stream stage in src (8cd5aff)
  • Swap mkdirp/mkdirpStream for fs-mkdirp-stream dependency (33ee92a)
  • De-duplicate error handling into file-operations (cb9f0c8)
  • Use new mkdirpStream in dest & symlink (743d216)
  • Make constant match file contents (00b6f88)
  • Add a better error message if a non-Vinyl is received by .dest/.symlink (fdc6fe5) - Closes #281
  • Refactor dest with makeDirs & streaming writeContents (6043981)
  • Make variable/argument names consistent across project (e699278)
  • Use lead as stream sinking utility (3a23cb8)
  • Remove unused dependencies (ef021b8)
  • Handle dates consistently (c11dcbd) - Closes #191
  • Replace lodash.defaultto with koalas (b12eca9) - Closes #220 #221
  • Use lodash.defaultto instead of our custom method (4b9a692)
  • Use flush-write-stream for sink instead of readable-stream (84cebfc)
  • Refactor and reword tests (e7191c1)
  • Make internals consistent (0cec736)
  • Add test for not setting directory mode (79c7216)
  • Add mkdirp Windows tests & improve mkdirp tests (e63dd97) - Closes #180
  • Make consistent internal callback names (3c5d319)
  • Introduce module for constants (e8be746)
  • Implement custom mkdirp (a8ab60b) - Closes #165 #169
  • Avoid passing fd to updateMetadata callback (a273d3c)
  • Support functions for all options (5aa245b)
  • Change source filenames to kebab-case (cb4a6ff) - Closes #152

Docs

  • API Review (3af7b1c)
  • Add caveats about dangling links on Windows (47f8f06)
  • Rephrase note about 32-bit timestamp precision issue (b5e62da)
  • Notes about precision lost of mtime in 32bit Node.js (3d52dda)
  • Bring options documentation inline with changes (a1a06f4)
  • Correct dot option in README.md (5ef6ef6)
  • Add dot option surfaced from node-glob (3665a1b)

Upgrade

  • Update value-or-function, resolve-options & vinyl-sourcemap dependencies (d6a56d0)
  • Update mocha (921863d)
  • Update is-valid-glob, remove-bom-buffer & remove-bom-stream dependencies (75c8cb5)
  • Update vinyl-sourcemap dependency (9f0ec1d)
  • Update glob-stream (4e682c1)

Build

Scaffold

  • Remove executable flag from LICENSE (6e45dc9)
  • Update license year range (4790576)
  • Normalize project (77c09e3)
  • Generate updated changelog (261205d)

Don't miss a new vinyl-fs release

NewReleases is sending notifications on new releases.