- Add
uniqueKey
support to exec options - exec: Breaking: Rename
throwOnStdErr
to `throwOnStderr - exec: Support
Buffer
s inoptions.stdin
- exec: Kill all subprocesses properly on windows
- Make
exec
andexecNode
behave the way they were supposed and documented to be by restoring their 10 seconds default timeout
- Rename
rangeFromLineNumber
togenerateRange
- Return Range-compatible Array instead of Range in generateRange
- Show line number in col too big error messages
- Handle
ENOENT
properly and show a nice message - Bump
sb-exec
to v3.0.3 to include fix for an inconsistent behavior on windows bug (See steelbrain/exec#48) - Bump
sb-exec
to 3.1.0 to includekill()
support for spawned processes
- Upgrade from
[email protected]
to[email protected]
to include compatibility fixes for npm path and general fixes for Windows
- Return
Range
s fromrangeFromLineNumber
- Make
rangeFromLineNumber
return entire line if no colStart is provided. (API breaking change)
- Update
rangeFromLineNumber
to return a range that wraps a word not an entire line. (API breaking change)
- Bump patch version of
sb-exec
to include support for non-stringish parameters
- Bump patch version of
sb-exec
to includeignoreExitCode
option
- Bump major version of
sb-exec
, it contains fixes for windows and improved handling of error codes. This change shouldn't break most of the dependents, but if it does, they can be fixed by settingallowEmptyStderr
totrue
inexec*
methods
- Use an alternative technique to export
exec
andexecNode
methods to allow temporary assignments, such as in-specs to work
- Use
sb-exec
for process execution, to include a bugfix for Atom 1.7.0
- Republish because of an unknown deployment issue
- Add
timeout
option to exec, with a default value of 10 seconds - Use
consistent-env
instead ofconsistent-path
- Fix for runtimes which don't have the
atom
module
-
Internal cleanup
-
Fix a bug with findCachedAsync where it would throw error if requested file wasn't found (#105)
-
Fix a bug where text editors won't be validated properly for Atom versions < 1.4.0
-
Trim outputs of exec commands
- Highlight the whole first line when no line is given
- Do not add
g
flag to regex if it already exists
- Switch to
named-js-regexp
instead ofxregexp
forparse
method
- Fix a bug where linter execution modifies
process.env
-
Remove
createElement
helper, reason is nobody was using it (according to GitHub code search) -
Upgrade
consistent-path
version to include fix for critical typo
- Add
tempFiles
helper
- Use
consistent-path
package to determine$PATH
correctly on OSX
- Export
FindCache
, now you can doHelper.FindCache.clear()
to clear find cache
- Add
findCachedAsync
helper - Add
findCached
helper
- Upgrade dependencies
-
Use ES6 exports instead of commonjs
-
Remove
Helpers.findFile$
in favor ofHelpers.find$
-
Use XRegExp.forEach instead of splitting given input by lines and applying regex over each line (mostly backward compatible, but no guarantee)
-
Revert ES6 exports to use commonjs again (broke compatibility with babel packages)
-
Rename
Helpers.findFile$
toHelpers.find$
(also exported with previous names for backward compatibility) -
Fix a non-critical bug in
Helpers.find$
where it won't search in drive root
- Add
Helpers.findFileAsync
- Add dist files for inclusion in non-babel envs
- Revert the changes in 3.3.2,
Range()
's end point is exclusive, not inclusive.
- Fix
rangeFromLineNumber
on files with mixed indentation
- Force lineNumber in
rangeFromLineNumber
to be within buffer range
-
Handle column start in
rangeFromLineNumber
, when it is greater than line length -
Handle negative column start values and invalid line numbers
- Add
Helpers.createElement
- Handle invalid
lineNumber
and return a valid range
- Fix an API deprecation with TextEditor
- Fix a bug in
Helpers.rangeFromLineNumber
- Future proof a check
- Add
flags
option toparse
method
- Show a nicer message for
EACCES
errors
- Couple of fixes for
findFile
- Correct
npm test
script
- Add support for third-argument to
rangeFromLineNumber
- Fixed an undefined variable reference
- Added
tempFile
method
- Added support for
both
streams
- Pass the options on to
BufferedProcess
- Add
rangeFromLineNumber(textEditor, lineNumber)
- Reject with an Error, instead of a string if
stderr
encountered unexpectedly
- Throw an error if something is seen on
stderr
whenthrowOnStdErr
is true
- Add
options.throwOnStdErr
to theexec()
options, defaulting to false
- Remove
OS
key properly on all platforms
- Remove
OS
key from the environment
- Use Atom's
BufferedProcess
instead ofchild_process
- Throw an error if output is seen on
stderr
, unless stream isstderr
- Copy Atom's environment to the spawned process
execFilePath()
replaced byexecNode()
- Verify the data passed to
parse()
is a string
- Add
findFile(startDir, names)
- Initial release