Mercurial > irccd
diff MIGRATING.md @ 963:371e1cc2c697
tests: add 80% of the Javascript API
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 28 Jan 2021 14:20:58 +0100 |
parents | 63208f5bb0f6 |
children | 342fb90f2512 |
line wrap: on
line diff
--- a/MIGRATING.md Mon Jan 25 22:56:05 2021 +0100 +++ b/MIGRATING.md Thu Jan 28 14:20:58 2021 +0100 @@ -42,6 +42,8 @@ ### Module File - The method `File.readline` is no longer marked as slow. +- Methods `File.lines`, `File.read`, `File.readline` and `File.seek`, now throw + an exception if the file was closed. ### Module Chrono @@ -51,6 +53,8 @@ ### Module Util - The method `Util.ticks` as been removed. +- The method `Util.cut` now throws a `RangeError` exception if the number of + lines exceed `maxl` argument instead of returning null. ### Module Server