comparison 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
comparison
equal deleted inserted replaced
962:63208f5bb0f6 963:371e1cc2c697
40 -------------- 40 --------------
41 41
42 ### Module File 42 ### Module File
43 43
44 - The method `File.readline` is no longer marked as slow. 44 - The method `File.readline` is no longer marked as slow.
45 - Methods `File.lines`, `File.read`, `File.readline` and `File.seek`, now throw
46 an exception if the file was closed.
45 47
46 ### Module Chrono 48 ### Module Chrono
47 49
48 - The `Chrono.elapsed()` method is now a property named `elapsed`. 50 - The `Chrono.elapsed()` method is now a property named `elapsed`.
49 - All methods have been removed except `Chrono.reset`. 51 - All methods have been removed except `Chrono.reset`.
50 52
51 ### Module Util 53 ### Module Util
52 54
53 - The method `Util.ticks` as been removed. 55 - The method `Util.ticks` as been removed.
56 - The method `Util.cut` now throws a `RangeError` exception if the number of
57 lines exceed `maxl` argument instead of returning null.
54 58
55 ### Module Server 59 ### Module Server
56 60
57 - The property `channels` in the object returned from `Server.info` is now an 61 - The property `channels` in the object returned from `Server.info` is now an
58 array of objects which also contain a list of nicknames present in the 62 array of objects which also contain a list of nicknames present in the