LiveScript 1.4.0 發布,包括 Source Maps

jopen 9年前發布 | 5K 次閱讀 LiveScript

LiveScript 1.4.0 發布,此版本包括 source maps;功能性 JSON 命令行處理;改進生成器支持;大量 bug 修復。

更新內容如下:

  • Changed npm name to livescript as npm no longer allows publishing updates to packages with upper-case letters

  • Added source map support using the -m,--map flag

  • Added command line JSON processing with JSON and the -e,--eval flag. Inbound JSON is bound to this

  • Fixed a regression from previous versions that did not allow for flag style positionals after a first positional (eg. lsc app.ls --flag caused an error)

  • Generators are no longer auto-hushed, moving behavior in line with what was expected

  • Allow backcall generators, eg. *<-

  • Added back -k shorthand for the --const flag

  • Made it possible to use the by keyword in slices, eg. list[1 til 5 by 2]

  • Object comprehension bug fixes

  • Fixed various backcall issues

  • Fixed composition operator spacing issues

  • Yield bug fixes - including allowing it to be used with no operand

  • Replaced deprecated usage of customFds in child_process.spawn

  • Added CLI tests

  • Many other bug fixes

此版本現已提供下載:https://github.com/gkz/LiveScript/archive/1.4.0.zip

LiveScript 是一種腳本語言,最終編譯成 JavaScript,LiveScript 在函數式風格編程方面增加了很多新特性,改進了面向對象編程。

LiveScript 1.4.0 發布,包括 Source Maps


來自:http://www.oschina.net/news/62370/livescript-1-4-0

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!