All Versions
45
Latest Version
Avg Release Cycle
105 days
Latest Release
1461 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v0.8.4 Changes
April 25, 2020๐ Small patch release to fix a circular dependency warning in node v14. See #973.
-
v0.8.3 Changes
November 13, 2018Closed issues:
- ๐จ Shelljs print stderr to console even if exec-only "silent" is true #905
- ๐จ refactor: remove common.state.tempDir #902
- Can't suppress stdout for echo #899
- exec() doesn't apply the arguments correctly #895
- shell.exec('npm pack') painfully slow #885
- shelljs.exec cannot find app.asar/node_modules/shelljs/src/exec-child.js #881
- โ test infra: mocks and skipOnWin conflict #862
- ๐ Support for shell function completion on IDE #859
- echo command shows options in stdout #855
- silent does not always work #851
- โ Appveyor installs the latest npm, instead of the latest compatible npm #844
- ๐ฎ Force symbolic link (ln -sf) does not overwrite/recreate existing destination #830
- inconsistent result when trying to echo to a file #798
- Prevent require()ing executable-only files #789
- Cannot set property to of [object String] which has only a getter #752
- which() should check executability before returning a value #657
- Bad encoding experience #456
- phpcs very slow #440
- Error shown when triggering a sigint during shelljs.exec if process.on sigint is defined #254
.to\(file\)
does not mute STDIO output #146- Escaping shell arguments to exec() #143
- ๐ Allow multiple string arguments for exec() #103
- cp does not recursively copy from readonly location #98
- Handling permissions errors on file I/O #64
๐ Merged pull requests:
- โ Add test case for sed on empty file #904 (wyardley)
- ๐จ refactor: don't expose tempdir in common.state #903 (nfischer)
- chore(ci): fix codecov on travis #897 (nfischer)
- chore(npm): add ci-or-install script #896 (nfischer)
- ๐ Fix silent exec #892 (nfischer)
- โ chore(appveyor): run entire test matrix #886 (nfischer)
- ๐ docs: remove gitter badge #880 (nfischer)
- grep includes the i flag #876 (ppsleep)
- ๐ Fix(which): match only executable files (#657) #874 (termosa)
- โ chore: rename some tests #871 (nfischer)
- ๐ Fix cp from readonly source #870 (nfischer)
- ๐ chore: bump dev dependencies and add package-lock #864 (nfischer)
- ๐ fix(mocks): fix conflict between mocks and skip #863 (nfischer)
- chore: output npm version in travis #850 (nfischer)
- Prevent require-ing bin/shjs #848 (freitagbr)
- โ chore(appveyor): do not use latest npm #847 (nfischer)
- ๐ chore: update shelljs-release version #846 (nfischer)
-
v0.8.2 Changes
May 08, 2018Closed issues:
- High severity vulnerability in shelljs 0.8.1 #842
- โ Add test for ls() on a symlink to a directory #795
- Harden shell.exec by writing the child process in a source file #782
- shell.exec() doesn't respond correctly to config.fatal = true #735
- ๐ Merge 'exec: internal error' with ShellJSInternalError #734
- exec returning null from command #724
- Only Get Stderr from Exec #371
- Execute child.stdout.on before child.on("exit") #224
๐ Merged pull requests:
- โช Workaround codecov bug of miscalculation of coverage (#795) #838 (dwi2)
- โก๏ธ Update doc comments and regenerate README.md. #825 (Zearin)
- โก๏ธ chore: update contributing guidelines #817 (nfischer)
- ๐ chore(lint): don't allow excess trailing newlines #816 (nfischer)
- โ Remove separate "internal error" from exec #802 (freitagbr)
-
v0.8.0 Changes
January 12, 2018Closed issues:
- Snyk vulnerability DB reporting command injection vulnerability in ShellJS #810
- โฌ๏ธ chore: upgrade nyc #803
- โก๏ธ Update CI to use Node v9 #799
- ๐ Link to FAQ wiki section in our issue template #787
- Is it possible to get a js library(file) for ShellJS #776
- 48, #774
- 47 #773
- Exec function calls JSON.stringify on command #772
- getting different result from terminal and with shelljs #769
- โ test() does not support -w and -x options #768
- Snyk "high severity" issue #766
- ๐ Snyk "high security #765
- ShellJS doesn't respect NPM Registry being set outside of it #761
- โ Run second shell script #756
- ๐ shelljs seems NOT compatible with nexe under CentOS 6.5 #754
- ๐ Feature request: pushd/popd -q option #753
- ๐ cat doesn't support '-n' option #750
- shelljs run xcodebuild error #749
- โ Add wrappers around fs.statSync and fs.lstatSync #745
- ๐ Improve coverage for exec() #742
- ๐ Improve coverage for head() #741
- shelljs is no longer used in PDF.js #737
- ls doesn't follow links to directories #733
- โ Add test for
ls regular-file.txt
#732 - shelljs.exec hangs when password it's asked #716
- โ Clean up common tests #714
- ๐ณ Can't run docker with exec() (the input device is not a TTY) #680
- Cant get encoding buffer to work on exec #675
- Set up Codecov for the project #671
- ShellJS: internal error Error: EBUSY: resource busy or locked, lstat 'C:\pagefile.sys' #514
- ๐ Feature request: provide a way to skip option parsing #778
- ๐ Switch to os.homedir() when we move to v4+ #683
- โฌ๏ธ Drop support for v0.12 #647
- ๐ feature: echo -n #559
- Don't kill the node process upon unexpected error #483
- Echo doesn't return value ending in a trailing newline #476
- ๐ Synchronous exec stalls permenantly when there is an error/w the shell #7
๐ Merged pull requests:
- ๐ docs: announce plugin API #812 (nfischer)
- โก๏ธ chore: update CI to Node v9 #811 (nfischer)
- ๐จ refactor(exec): remove paramsFile #807 (nfischer)
- โก๏ธ chore: update nyc dependency #805 (nfischer)
- ๐จ refactor: harden plugins against unknown options #804 (nfischer)
- ๐ chore(eslint): use words instead of numbers #797 (nfischer)
- โ Add note to issue template about FAQ #794 (freitagbr)
- โ Remove codeFile parameter #791 (nfischer)
- ๐ Use execFileSync to launch child process #790 (nfischer)
- ๐จ refactor(exec): move child process to source file #786 (nfischer)
- โ Remove unnecessary shell.error checks from common tests #785 (freitagbr)
- โ Add a test for ls for a single file #784 (freitagbr)
- Wrap fs.statSync and fs.lstatSync #783 (freitagbr)
- chore: set AVA options #780 (nfischer)
- ๐ chore: clean up refs to unsupported node versions #779 (nfischer)
- โ Added
-q
(quiet) option topush
,popd
,dirs
functions. #777 (alexreg) - feat(cat): number output lines (#750) #775 (gcca)
- ๐จ refactor(test): update AVA and refactor tests #760 (nfischer)
- โ chore: add skipOnWin and skipOnUnix test helpers #746 (nfischer)
- โ test(exec): add tests for coverage #744 (nfischer)
- โ test(head): improve coverage #743 (nfischer)
- โ Remove PDF.js mention from README.md #738 (voy)
- Provide an API to pass parameters which resemble options #792 (nfischer)
- ๐ Fix ls not following links to directories by default #764 (freitagbr)
- โ Add "encoding" option to exec #763 (freitagbr)
- ๐ Merge dev into master #731 (freitagbr)
- ๐ Deprecate common.getUserHome, advise using os.homedir instead #725 (freitagbr)
- โ Echo test mocks #708 (freitagbr)
- Safely exit by throwing an error #546 (freitagbr)
- chore(make): depreciate shelljs/make #431 (ariporad)
-
v0.7.8 Changes
June 07, 2017Closed issues:
- โ Add node v8 to CI #729
- Exec not working in Electron ! #726
- is rechoir used anywhere? #723
- ShellJS: internal error on shelljs.mkdir('myFile/myDir') #720
- Can't make sed perform global replace #719
- grep: option not recognized: l #717
- Problems getting code, stdout, stderr #715
- ๐ Copying hidden files fails on Windows 10 #711
- How am I suppose to handle errors with ShellJS? #707
- ๐ use cp('-r', './src', './dist') bug #705
- Way to ignore files in globs. #699
- ๐ Buffer constructor is deprecated #694
- source command not working via exec method. #693
- Would you be interested in a PR for
open
? #692 - Get rid of common.platform in favor of process.platform #670
- Passing empty string to cp throws internal error #664
- Why does sed split files into an array, call replace on each line and rejoin? #645
- feat: cp & mv should not overwrite recently created files #631
- โ Echo tests unnecessarily run tests in own process #622
- rm -rf on a symbolic link to a dir deletes its contents #587
- ๐ฆ "Cannot extract package" with node-webkit #181
- EBADF, bad file descriptor #180
๐ Merged pull requests:
- โ Add node 8 to CI #730 (freitagbr)
- ๐ Deprecate common.getUserHome, advise using os.homedir instead #725 (freitagbr)
- ๐ fix(mkdir): improve error handling around files #721 (nfischer)
- Properly handle directories as arguments #713 (nfischer)
- โ Add common.buffer #710 (freitagbr)
- ๐ Fix common.expand error #709 (freitagbr)
- โ Echo test mocks #708 (freitagbr)
- ๐จ refactor: remove unnecessary common.js imports #703 (nfischer)
- ๐ Fix #631 throw error when overwriting recently created file #702 (uttpal)
- Small clarification of verbose flag #691 (zommerfelds)
- ๐ fix(grep, sed, sort, uniq): Split only on newline characters #690 (freitagbr)
- ๐จ Refactor: Use process.platform across codebase #689 (freitagbr)
- โ Remove contents of symlink to dir with rm -rf #688 (freitagbr)
- Echo stdout #677 (nfischer)
-
v0.7.7 Changes
March 10, 2017Closed issues:
- Error output should be consistent across all platforms. #681
- ๐ *CRITICAL data loss* shell.cp() Content of file is erased when trying to copy it to the folder it already belongs to #678
- ๐ Use with webpack broken in 0.7.6 #667
- Difference between bash ls -R and ShellJS ls -R with symlinks #666
- ๐จ Refactor which() (too many repeated code blocks) #656
- find() raises error when unable to find any files matching, expected to return empty array. #653
- โฌ๏ธ Drop support for v0.12 #647
- ๐ Reformat the markdown in RELEASE.md #642
- rm -rf doesn't work if the directory contains an asar archive in Electron #618
- โ Add support for other file types in rm #617
- ๐ Feature request: ls -L option #563
- ๐ฆ How to send SIGINT signal to child process launched with exec #518
- ๐ exec doesnt seem to be working #480
- ๐ feature request: option to add node_modules to the path for shelljs scripts #469
- ๐ high cpu usage during synchronous exec #167
๐ Merged pull requests:
- โ Add support for removing fifos #687 (freitagbr)
- ๐ท chore: add codecov script to appveyor CI #686 (nfischer)
- ๐จ Refactor tests to improve readability #685 (nfischer)
- ๐ fix: convert error output to be consistent cross-platform #684 (nfischer)
- chore: add codecov #682 (nfischer)
- ๐ Fix cp overwriting identical files #679 (freitagbr)
- ๐ Modified glob pattern. Fixes #666 #676 (frandiox)
- ๐จ refactor(parseOptions): better handle errors #674 (nfischer)
- โ test: add misc. tests to improve coverage #673 (nfischer)
- โ test: don't count hard-to-test lines for coverage #672 (nfischer)
- ๐ fix: switch commands.json -> commands.js #668 (nfischer)
- ls -L (follow symlinks) #665 (frandiox)
- ๐ docs(chmod): document
options
argument #663 (gkalpak) - ๐ docs: clean up RELEASE.md #662 (nfischer)
- ๐ docs: miscellaneous README changes #661 (nfischer)
- ๐ Fix typo in README #660 (faheel)
- ๐จ refactor: reduce repeated code in which() #659 (nfischer)
- ๐ feature: add -a option for which command #655 (termosa)
- ๐ Fix find ENOENT #654 (freitagbr)
- Safely exit by throwing an error #649 (freitagbr)
- Chore drop 0.12 #648 (nfischer)
- ๐ chore(lint): Enforce a trailing comma for multi-line #646 (nfischer)
- ๐ docs(release): use bulleted list #643 (freitagbr)
-
v0.7.6 Changes
January 09, 2017Closed 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:
- ๐จ refactor: add config.reset() and .resetForTesting() #641 (nfischer)
- โ chore: set up test coverage #638 (nfischer)
- ๐จ refactor: create common.execPath #636 (nfischer)
- ๐ fix: allow non-normalized paths as input to mkdir #635 (nfischer)
- Finalize moving to ava #630 (freitagbr)
- ๐จ test: refactor pushd tests to AVA #627 (nfischer)
- ๐จ test: refactor popd tests to AVA #626 (nfischer)
- ๐จ test: refactor shjs tests to AVA #625 (nfischer)
- ๐ test: remove tests for make (deprecated) #624 (nfischer)
- ๐ Ignore test temp directories during linting #623 (freitagbr)
- ๐จ refactor: list all commands in commands.json #616 (nfischer)
- Throw an error if the options string does not start with '-' #615 (freitagbr)
- chore: switch to files attribute from npmignore #613 (nfischer)
- ๐จ test: refactor 'test' command tests to AVA #612 (nfischer)
- ๐จ test: refactor find tests to AVA #611 (nfischer)
- ๐จ test: refactor ln tests to AVA #610 (nfischer)
- ๐จ test: refactor ls to use AVA #609 (nfischer)
- ๐จ test: refactor pipe tests to AVA #608 (nfischer)
- ๐จ test: refactor sed tests to AVA #607 (nfischer)
- ๐จ test: refactor grep tests to AVA #606 (nfischer)
- ๐จ test: refactor global tests to AVA #605 (nfischer)
- ๐จ test: refactor touch tests to AVA #604 (nfischer)
- ๐จ test: refactor uniq tests to AVA #603 (nfischer)
- ๐จ test: refactor sort tests to AVA #602 (nfischer)
- ๐จ test: refactor tail tests to AVA #601 (nfischer)
- ๐จ test: refactor head tests to AVA #600 (nfischer)
- ๐จ test: refactor mkdir tests to AVA #599 (nfischer)
- ๐ Fix: rm behavior regarding symlinks #598 (freitagbr)
- ๐จ test: refactor mv tests to AVA #597 (nfischer)
- โ Remove files related to lgtm.co #596 (freitagbr)
- โ Add ability to configure error from parseOptions #594 (freitagbr)
- ๐ Use Object.assign if possible #593 (freitagbr)
- โ Add "-n" option to echo #590 (freitagbr)
- ๐จ test: refactor rm tests to AVA #586 (nfischer)
- ๐จ test: refactor pwd tests to AVA #582 (nfischer)
- ๐จ test: refactor tempdir tests to AVA #581 (nfischer)
- ๐จ test: refactor 'which' tests to AVA #580 (nfischer)
- ๐จ test: refactor plugin tests to AVA #579 (nfischer)
- ๐จ test: refactor toEnd tests to AVA #578 (nfischer)
- ๐จ test: refactor to tests to AVA #577 (nfischer)
- ๐จ test: refactor 'set' tests to AVA #576 (nfischer)
- ๐จ test: refactor echo tests to AVA #575 (nfischer)
- ๐จ test: refactor exec tests to AVA #574 (nfischer)
- ๐จ test: refactor env tests to AVA #573 (nfischer)
- ๐จ test: refactor dirs tests to AVA #572 (nfischer)
- ๐จ test: refactor config tests to AVA #571 (nfischer)
- ๐จ test: refactor common tests to AVA #570 (nfischer)
- ๐จ test: refactor chmod tests to AVA #569 (nfischer)
- ๐จ test: refactor cp tests to ava #565 (nfischer)
- ๐จ test: refactor cat tests to ava #564 (nfischer)
- ๐ test: set up ava and move cd.js #561 (nfischer)
- ๐ Update sed documentation regarding capture groups #558 (freitagbr)
- โ Add newline to output of echo #557 (freitagbr)
- ๐ fix: handle code-less errors more carefully in exec #554 (nfischer)
- โ Add Brandon Freitag to maintainers/contributors #553 (freitagbr)
- ๐ Get pipe tests running on Windows. #550 (binki)
- ๐ fix: maxdepth doesn't limit total number of copies #549 (nfischer)
- Safely exit by throwing an error #546 (freitagbr)
- ๐ Fix lint warning #543 (freitagbr)
- ๐ท chore: remove v0.10 from Travis CI #540 (nfischer)
- ๐ท chore: add Node v7 for CI #539 (nfischer)
-
v0.7.5 Changes
January 09, 2017Closed 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 between0.6.0
and0.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:
- ๐ feat: plugin.error() takes an options parameter #535 (nfischer)
- ๐จ Revert "refactor: replace fs.existsSync" fixes(#531) #532 (gyandeeps)
- ๐ Fix: Remove default glob from shell.test (fixes #529) #530 (gyandeeps)
- feat: cp -u option #527 (nfischer)
- chore: add downloads per month on README #513 (nfischer)
-
v0.7.4 Changes
January 09, 2017Closed 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:
- ๐ fix: echo supports -e option properly #511 (nfischer)
- ๐จ refactor: replace fs.existsSync #509 (nfischer)
- ๐จ refactor: readFromPipe() requires no arguments #506 (nfischer)
- ๐ chore: switch to eslint #504 (nfischer)
- feat: add overWrite option for commands #503 (nfischer)
- โก๏ธ chore: update issue template #502 (nfischer)
- ๐ fixed head/tail readme #499 (charlesread)