项目原始demo,不改动
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

преди 4 години
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409
  1. 3.7.0 / 2016-11-12
  2. ------------------
  3. - Fix parsing of quotes followed by newlines (#304, thanks to @dplepage).
  4. - Support polymorphism for tags (#300, thanks to @monken).
  5. 3.6.1 / 2016-05-11
  6. ------------------
  7. - Fix output cut on a pipe, #286.
  8. 3.6.0 / 2016-04-16
  9. ------------------
  10. - Dumper rewrite, fix multiple bugs with trailing `\n`.
  11. Big thanks to @aepsilon!
  12. - Loader: fix leading/trailing newlines in block scalars, @aepsilon.
  13. 3.5.5 / 2016-03-17
  14. ------------------
  15. - Date parse fix: don't allow dates with on digit in month and day, #268.
  16. 3.5.4 / 2016-03-09
  17. ------------------
  18. - `noCompatMode` for dumper, to disable quoting YAML 1.1 values.
  19. 3.5.3 / 2016-02-11
  20. ------------------
  21. - Maintenance release.
  22. 3.5.2 / 2016-01-11
  23. ------------------
  24. - Maintenance: missed comma in bower config.
  25. 3.5.1 / 2016-01-11
  26. ------------------
  27. - Removed `inherit` dependency, #239.
  28. - Better browserify workaround for esprima load.
  29. - Demo rewrite.
  30. 3.5.0 / 2016-01-10
  31. ------------------
  32. - Dumper. Fold strings only, #217.
  33. - Dumper. `norefs` option, to clone linked objects, #229.
  34. - Loader. Throw a warning for duplicate keys, #166.
  35. - Improved browserify support (mark `esprima` & `Buffer` excluded).
  36. 3.4.6 / 2015-11-26
  37. ------------------
  38. - Use standalone `inherit` to keep browserified files clear.
  39. 3.4.5 / 2015-11-23
  40. ------------------
  41. - Added `lineWidth` option to dumper.
  42. 3.4.4 / 2015-11-21
  43. ------------------
  44. - Fixed floats dump (missed dot for scientific format), #220.
  45. - Allow non-printable characters inside quoted scalars, #192.
  46. 3.4.3 / 2015-10-10
  47. ------------------
  48. - Maintenance release - deps bump (esprima, argparse).
  49. 3.4.2 / 2015-09-09
  50. ------------------
  51. - Fixed serialization of duplicated entries in sequences, #205.
  52. Thanks to @vogelsgesang.
  53. 3.4.1 / 2015-09-05
  54. ------------------
  55. - Fixed stacktrace handling in generated errors, for browsers (FF/IE).
  56. 3.4.0 / 2015-08-23
  57. ------------------
  58. - Fixed multiline keys dump, #197. Thanks to @tcr.
  59. - Don't throw on warnongs anymore. Use `onWarning` option to catch.
  60. - Throw error on unknown tags (was warning before).
  61. - Fixed heading line breaks in some scalars (regression).
  62. - Reworked internals of error class.
  63. 3.3.1 / 2015-05-13
  64. ------------------
  65. - Added `.sortKeys` dumper option, thanks to @rjmunro.
  66. - Fixed astral characters support, #191.
  67. 3.3.0 / 2015-04-26
  68. ------------------
  69. - Significantly improved long strings formatting in dumper, thanks to @isaacs.
  70. - Strip BOM if exists.
  71. 3.2.7 / 2015-02-19
  72. ------------------
  73. - Maintenance release.
  74. - Updated dependencies.
  75. - HISTORY.md -> CHANGELOG.md
  76. 3.2.6 / 2015-02-07
  77. ------------------
  78. - Fixed encoding of UTF-16 surrogate pairs. (e.g. "\U0001F431" CAT FACE).
  79. - Fixed demo dates dump (#113, thanks to @Hypercubed).
  80. 3.2.5 / 2014-12-28
  81. ------------------
  82. - Fixed resolving of all built-in types on empty nodes.
  83. - Fixed invalid warning on empty lines within quoted scalars and flow collections.
  84. - Fixed bug: Tag on an empty node didn't resolve in some cases.
  85. 3.2.4 / 2014-12-19
  86. ------------------
  87. - Fixed resolving of !!null tag on an empty node.
  88. 3.2.3 / 2014-11-08
  89. ------------------
  90. - Implemented dumping of objects with circular and cross references.
  91. - Partially fixed aliasing of constructed objects. (see issue #141 for details)
  92. 3.2.2 / 2014-09-07
  93. ------------------
  94. - Fixed infinite loop on unindented block scalars.
  95. - Rewritten base64 encode/decode in binary type, to keep code licence clear.
  96. 3.2.1 / 2014-08-24
  97. ------------------
  98. - Nothig new. Just fix npm publish error.
  99. 3.2.0 / 2014-08-24
  100. ------------------
  101. - Added input piping support to CLI.
  102. - Fixed typo, that could cause hand on initial indent (#139).
  103. 3.1.0 / 2014-07-07
  104. ------------------
  105. - 1.5x-2x speed boost.
  106. - Removed deprecated `require('xxx.yml')` support.
  107. - Significant code cleanup and refactoring.
  108. - Internal API changed. If you used custom types - see updated examples.
  109. Others are not affected.
  110. - Even if the input string has no trailing line break character,
  111. it will be parsed as if it has one.
  112. - Added benchmark scripts.
  113. - Moved bower files to /dist folder
  114. - Bugfixes.
  115. 3.0.2 / 2014-02-27
  116. ------------------
  117. - Fixed bug: "constructor" string parsed as `null`.
  118. 3.0.1 / 2013-12-22
  119. ------------------
  120. - Fixed parsing of literal scalars. (issue #108)
  121. - Prevented adding unnecessary spaces in object dumps. (issue #68)
  122. - Fixed dumping of objects with very long (> 1024 in length) keys.
  123. 3.0.0 / 2013-12-16
  124. ------------------
  125. - Refactored code. Changed API for custom types.
  126. - Removed output colors in CLI, dump json by default.
  127. - Removed big dependencies from browser version (esprima, buffer)
  128. - load `esprima` manually, if !!js/function needed
  129. - !!bin now returns Array in browser
  130. - AMD support.
  131. - Don't quote dumped strings because of `-` & `?` (if not first char).
  132. - __Deprecated__ loading yaml files via `require()`, as not recommended
  133. behaviour for node.
  134. 2.1.3 / 2013-10-16
  135. ------------------
  136. - Fix wrong loading of empty block scalars.
  137. 2.1.2 / 2013-10-07
  138. ------------------
  139. - Fix unwanted line breaks in folded scalars.
  140. 2.1.1 / 2013-10-02
  141. ------------------
  142. - Dumper now respects deprecated booleans syntax from YAML 1.0/1.1
  143. - Fixed reader bug in JSON-like sequences/mappings.
  144. 2.1.0 / 2013-06-05
  145. ------------------
  146. - Add standard YAML schemas: Failsafe (`FAILSAFE_SCHEMA`),
  147. JSON (`JSON_SCHEMA`) and Core (`CORE_SCHEMA`).
  148. - Rename `DEFAULT_SCHEMA` to `DEFAULT_FULL_SCHEMA`
  149. and `SAFE_SCHEMA` to `DEFAULT_SAFE_SCHEMA`.
  150. - Bug fix: export `NIL` constant from the public interface.
  151. - Add `skipInvalid` dumper option.
  152. - Use `safeLoad` for `require` extension.
  153. 2.0.5 / 2013-04-26
  154. ------------------
  155. - Close security issue in !!js/function constructor.
  156. Big thanks to @nealpoole for security audit.
  157. 2.0.4 / 2013-04-08
  158. ------------------
  159. - Updated .npmignore to reduce package size
  160. 2.0.3 / 2013-02-26
  161. ------------------
  162. - Fixed dumping of empty arrays ans objects. ([] and {} instead of null)
  163. 2.0.2 / 2013-02-15
  164. ------------------
  165. - Fixed input validation: tabs are printable characters.
  166. 2.0.1 / 2013-02-09
  167. ------------------
  168. - Fixed error, when options not passed to function cass
  169. 2.0.0 / 2013-02-09
  170. ------------------
  171. - Full rewrite. New architecture. Fast one-stage parsing.
  172. - Changed custom types API.
  173. - Added YAML dumper.
  174. 1.0.3 / 2012-11-05
  175. ------------------
  176. - Fixed utf-8 files loading.
  177. 1.0.2 / 2012-08-02
  178. ------------------
  179. - Pull out hand-written shims. Use ES5-Shims for old browsers support. See #44.
  180. - Fix timstamps incorectly parsed in local time when no time part specified.
  181. 1.0.1 / 2012-07-07
  182. ------------------
  183. - Fixes `TypeError: 'undefined' is not an object` under Safari. Thanks Phuong.
  184. - Fix timestamps incorrectly parsed in local time. Thanks @caolan. Closes #46.
  185. 1.0.0 / 2012-07-01
  186. ------------------
  187. - `y`, `yes`, `n`, `no`, `on`, `off` are not converted to Booleans anymore.
  188. Fixes #42.
  189. - `require(filename)` now returns a single document and throws an Error if
  190. file contains more than one document.
  191. - CLI was merged back from js-yaml.bin
  192. 0.3.7 / 2012-02-28
  193. ------------------
  194. - Fix export of `addConstructor()`. Closes #39.
  195. 0.3.6 / 2012-02-22
  196. ------------------
  197. - Removed AMD parts - too buggy to use. Need help to rewrite from scratch
  198. - Removed YUI compressor warning (renamed `double` variable). Closes #40.
  199. 0.3.5 / 2012-01-10
  200. ------------------
  201. - Workagound for .npmignore fuckup under windows. Thanks to airportyh.
  202. 0.3.4 / 2011-12-24
  203. ------------------
  204. - Fixes str[] for oldIEs support.
  205. - Adds better has change support for browserified demo.
  206. - improves compact output of Error. Closes #33.
  207. 0.3.3 / 2011-12-20
  208. ------------------
  209. - jsyaml executable moved to separate module.
  210. - adds `compact` stringification of Errors.
  211. 0.3.2 / 2011-12-16
  212. ------------------
  213. - Fixes ug with block style scalars. Closes #26.
  214. - All sources are passing JSLint now.
  215. - Fixes bug in Safari. Closes #28.
  216. - Fixes bug in Opers. Closes #29.
  217. - Improves browser support. Closes #20.
  218. - Added jsyaml executable.
  219. - Added !!js/function support. Closes #12.
  220. 0.3.1 / 2011-11-18
  221. ------------------
  222. - Added AMD support for browserified version.
  223. - Wrapped browserified js-yaml into closure.
  224. - Fixed the resolvement of non-specific tags. Closes #17.
  225. - Added permalinks for online demo YAML snippets. Now we have YPaste service, lol.
  226. - Added !!js/regexp and !!js/undefined types. Partially solves #12.
  227. - Fixed !!set mapping.
  228. - Fixed month parse in dates. Closes #19.
  229. 0.3.0 / 2011-11-09
  230. ------------------
  231. - Removed JS.Class dependency. Closes #3.
  232. - Added browserified version. Closes #13.
  233. - Added live demo of browserified version.
  234. - Ported some of the PyYAML tests. See #14.
  235. - Fixed timestamp bug when fraction was given.
  236. 0.2.2 / 2011-11-06
  237. ------------------
  238. - Fixed crash on docs without ---. Closes #8.
  239. - Fixed miltiline string parse
  240. - Fixed tests/comments for using array as key
  241. 0.2.1 / 2011-11-02
  242. ------------------
  243. - Fixed short file read (<4k). Closes #9.
  244. 0.2.0 / 2011-11-02
  245. ------------------
  246. - First public release