mirror of
https://github.com/JonasunderscoreJones/aka-worker.git
synced 2025-10-23 01:49:19 +02:00
757 B
757 B
Version 2.0 (with breaking changes)
-
Added asynchronous methods,
withSourcesAsync
andcleanAsync
. -
All property accessors like
.clean
are now methods (e.g..clean ()
) for consistency reasons -
.pretty
now.asTable (opts?: { maxColumnWidths:? { callee, file, sourceLine } })
- Also, it does not call
withSources
automatically — you need to call it explicitly.
- Also, it does not call
-
It is no longer
extends Array
due to non-working user subclassing with Babel ES5- Use
.items
to access original array
- Use
-
No static methods and properties (except public
.locationsEqual
helper).isThirdParty
is now just an overrideable method.maxColumnWidths
is an overrideable method + a configuration option passed toasTable ()
method