Shelljs Versions Save

:shell: Portable Unix shell commands for Node.js

v0.7.3

7 years ago

Closed issues:

  • expose execSync #494
  • Add a way to create commands that can receive from a pipe without being standalone commands #487
  • cp -r breaks when the directory contains a softlink #193
  • Redirect output to file fails #60
  • We need sed -n ? #38

Merged pull requests:

  • refactor: allow pipeOnly commands (methods on ShellStrings) #493 (nfischer)
  • refactor: glob by default for commands #492 (nfischer)
  • refactor: switch from notUnix to unix in wrap() #491 (nfischer)
  • refactor: switch common.extend() to Object.assign ponyfill #490 (nfischer)
  • fix: conflicting options now properly override each other #489 (nfischer)
  • refactor: expose plugin utils & add initial tests #484 (nfischer)

v0.7.4

7 years ago

Closed issues:

  • fix: echo -e should not print "-e" #510
  • Wrong method signature in doc #498
  • readFromPipe should be a function with no arguments #485
  • TypeError: Cannot read property 'toString' of undefined #471

Merged pull requests:

v0.7.5

7 years ago

Closed issues:

  • Project objectives: there is some higher goal to achieve? #533
  • fs.existsSync is un-deprecated #531
  • Inadvertent breaking change to shell.test() #529
  • Add -u flag support for cp #526
  • API request: allow plugin.error\(\) to take an options parameter #522
  • FS Real Path error thrown when requiring shelljs #521
  • Question: passing code via pipe? #520
  • The performance in cp is different between 0.6.0 and 0.7.4 #517
  • ShellJS in Electron package don't find ffmpeg anymore #516
  • Exec issues with string option introduced in 0.7.4 #515
  • [ Feature ] SSH command #435
  • Synchronous exec stalls permenantly when there is an error/w the shell #7

Merged pull requests:

v0.7.6

7 years ago

Closed issues:

  • unable to execute ionic command with shell js #640
  • How to increase ShellJS buffer size? #639
  • mkdir fails with non-normalized path #634
  • Move execPath into common #633
  • QUESTION: Feedback while an operation is running? #629
  • Test setup/cleanup is broken #621
  • Ignore temp directories when running lint #620
  • parseOptions should throw an error if the option string doesn't start with '-' #614
  • chore: LGTM.co is gone #595
  • refactor: objectAssign should refer to Object.assign if it exists, or the internal polyfill otherwise #592
  • parseOptions: allow a way to keep errors silent (exception only) #591
  • [Question] commands with multiple options / arguments? #589
  • feature: GNU Parallel #585
  • write to file #568
  • Cannot figure out how to disable globbing for rm #567
  • Switch to the ava test framework #560
  • feature: echo -n #559
  • Option not recognized #556
  • chore: add @freitagbr to LGTM maintainers #552
  • chore: set up dev branch #548
  • bug: cp() doesn't always copy everything #547
  • User-friendly lint command #544
  • Lint warning #542
  • Possible Regression: cp from 0.6.0 to 0.7.x version #538
  • chore: add nodejs v7 to CI #537
  • error.code is not always available #536
  • Add shx as a dependency for testing #525
  • Feature request: allow common.error\(\) to optionally not insert a prefix and optionally not print to console #523
  • Feature request: Add "shelljs.unlink" #519
  • Sed should allow a replacement string to contain \1 for match groups #507
  • Don't kill the node process upon unexpected error #483
  • Usage with neodoc #445
  • [ Feature idea ] synchronous sleep command #441
  • Improve test coverage #347
  • Add a way to prevent shell-expansion on commands (this issue is not for exec) #345
  • Chown #183
  • spawn EMFILE #81
  • Rewrite exec using execsync-ng (which uses node-ffi) #66
  • exec gets stuck on my Debian box #51
  • 100% cpu usage when a nodejs script goes side ways executing a command. #5

Merged pull requests:

v0.7.0

8 years ago

Changelog from v0.6.0...v0.7.0:

Bug Fixes

  • fix: null is no longer confused for an object
  • fix(ls): no trailing newline for empty directories (#425)
  • fix: error message now printed for fatal failures
  • refactor(cp): clean up code and fix #376
  • Perf improvement for ls, and fix for Windows
  • Improved cd performance and fix error messages
  • fix(exec): properly handles paths with spaces and quotes
  • fix(verbose): verbose-style logging is consistent
  • fix(exec): now actually supports shell option
  • fix(exec): temp files are now cleaned up

Features

  • feat(cp): -P option, plus better handling of symlinks (#421)
  • feat(command): new command: tail()
  • feat(command): new command: head()
  • feat(command): new command: sort()
  • feat(glob): expose config.globOptions.
  • feat(cp): add -L/follow symlink option
  • feat: adding error codes to ShellJS
  • feat(pipe): add support for pipes between commands
  • feat(touch): supports multiple files
  • feat(set): add -f option to disable shell globbing
  • feat(glob): use glob module for globbing
  • feat(glob): glob support for (almost) all commands
  • feat(grep): add -l option

v0.6.0

8 years ago

v0.6.0! Mine and @nfischer's first release!

We're really exited to be a part of the shelljs team.

Changelog:

0.6.0 (2016-02-04)

Bug Fixes

  • regexes: make regexes more consistent with sed and grep (1ee696d)
  • cat: make behavior more like unix (580d6d3)
  • cp: add -n option, make -f default behavior (8377b92)
  • mv: add -n option, make -f default behavior (2d1ee4d)
  • windows: fix shjs tests for windows (985ac20)
  • windows: fix symlinking on windows (fb5a7ec), closes #301.
  • which: properly search PATHEXT on Windows (eaa7710), closes #301.
  • electron: fix electron compatibility by not doing console.log.apply(this, ...) (9e9b500), closes #255.

Features

  • expand: add tilde expansion to expand() (b3f2664)
  • cd: cd() (no args) changes to home directory (dfaa78a)
  • ls: add -d flag to ls() (c6da9e7)
  • ls: add -l option (e918c75)
  • sed: support multiple file names (bccf620), closes #231
  • set: add new set() command (ca045ea)
  • cd: cd('-') now returns you to the previous directory, as in bash (1979d07)
  • chmod: add X for directories (766c2dd)
  • exec: add exec(...).stdout (8a7f7ce)
  • exec: allow passing options to child_process.exec (c0d9cf7)
  • options: options with values (see touch -r for an example) (f9c8fc0)