Skip to content

Releases: expo/spawn-async

v1.8.0

19 May 16:49
v1.8.0
5a3013e

Choose a tag to compare

Changes

  • stdout and stderr are now getters that will concatenate strings on demand from collected stdout/stderr chunks (#55)
  • maxBuffer may now be passed to set a limit for how many characters/bytes are accepted on stdout/stderr. The command aborts and an error is thrown when this limit is exceeded (#55)

Fixes

  • spawnAsync prevents exceeding maximum V8 string length and exposes a cut-off stdout and stderr on the corresponding error when the maximum string length is exceeded (#55)

Dependencies

1.7.2 (and 1.7.1)

18 Mar 00:01
@ide ide
175cbaa

Choose a tag to compare

Patches

  • Includes arguments in the error message if a command fails for easier debugging
  • Uses TypeScript 5 to emit JS
  • Excludes tests from the published npm package

v1.7.0

27 Jul 16:52
@ide ide
b64b2cc

Choose a tag to compare

New features

  • Use export = in TypeScript so that both CommonJS and ES module projects can import this library (#41)

v1.4.1

22 Nov 02:08
@ide ide

Choose a tag to compare

Changes

  • Removed @types/cross-spawn from dependencies since it is not needed by consumers of this package. (It is now a devDependency.)

v1.4.0

22 Nov 01:49
@ide ide

Choose a tag to compare

Changes

  • Convert to TypeScript and publish TypeScript declarations and source maps
  • Compile source with tsc instead of Babel (should not be a breaking change)
  • Upgrade from cross-spawn 5.x to 6.x