dart_spawner 1.1.0 copy "dart_spawner: ^1.1.0" to clipboard
dart_spawner: ^1.1.0 copied to clipboard

Runs a Dart script/File/Uri inside a new Isolate of the current Dart VM. It also can spawn a Dart File from another Dart project/package into the current Dart VM.

1.1.0 #

  • Dart CI: update and optimize jobs.

  • sdk: '>=3.0.0 <4.0.0'

  • path: ^1.8.3

  • yaml: ^3.1.2

  • async_extension: ^1.2.4

  • lints: ^2.1.1

  • test: ^1.24.6

  • dependency_validator: ^3.2.2

  • coverage: ^1.6.3

1.0.6 #

  • Added environment variable:
    • DART_SPAWNER_DEBUG
    • DART_SPAWNER_STARTUP_TIMEOUT
    • DART_SPAWNER_ISOLATE_CHECK_PING_TIMEOUT

1.0.5 #

  • Renamed runCommand to runProcess.
    • Returns a ProcessInfo.
  • Added runDartVM, to start a new Dart VM.

1.0.4 #

  • DartProject.cleanDartPubGetGeneratedFiles:
    • Fix deleteDirectory.

1.0.3 #

  • projectPackageConfigUri:
    • Return .dart_tool/package_config.json, since .packages is deprecated.
  • Added runDartPubGet, ensureProjectDependenciesResolved, existsProjectPackageConfigUri and cleanDartPubGetGeneratedFiles.
  • Improve tests:
    • Test spawn of file in a different project (test/test_project), with different dependencies.
  • Change package pedantic (deprecated) to lints.
  • lints: ^1.0.1

1.0.2 #

  • Improved spawnedMain console logging.

1.0.1 #

  • Adjust package description.
  • Adjust README.md.
    • Added codecov.io badge.

1.0.0 #

  • Support to spawn Dart entry points: script, file and Uri.
    • Allow the use of another project/package dependencies while running a spawned Dart entry point.
  • Added code coverage.
  • Initial version.
12
likes
140
pub points
75%
popularity

Publisher

unverified uploader

Runs a Dart script/File/Uri inside a new Isolate of the current Dart VM. It also can spawn a Dart File from another Dart project/package into the current Dart VM.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

async_extension, path, yaml

More

Packages that depend on dart_spawner