版博士V2.0程序
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.

CHANGELOG.md 2.9 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. ## 8.2.0 (2021-09-06)
  2. ### New features
  3. Add support for walking ES2022 class static blocks.
  4. ## 8.1.1 (2021-06-29)
  5. ### Bug fixes
  6. Include `base` in the type declarations.
  7. ## 8.1.0 (2021-04-24)
  8. ### New features
  9. Support node types for class fields and private methods.
  10. ## 8.0.2 (2021-01-25)
  11. ### Bug fixes
  12. Adjust package.json to work with Node 12.16.0 and 13.0-13.6.
  13. ## 8.0.0 (2021-01-05)
  14. ### Bug fixes
  15. Fix a bug where `full` and `fullAncestor` would skip nodes with overridden types.
  16. ## 8.0.0 (2020-08-12)
  17. ### New features
  18. The package can now be loaded directly as an ECMAScript module in node 13+.
  19. ## 7.2.0 (2020-06-17)
  20. ### New features
  21. Support optional chaining and nullish coalescing.
  22. Support `import.meta`.
  23. Add support for `export * as ns from "source"`.
  24. ## 7.1.1 (2020-02-13)
  25. ### Bug fixes
  26. Clean up the type definitions to actually work well with the main parser.
  27. ## 7.1.0 (2020-02-11)
  28. ### New features
  29. Add a TypeScript definition file for the library.
  30. ## 7.0.0 (2017-08-12)
  31. ### New features
  32. Support walking `ImportExpression` nodes.
  33. ## 6.2.0 (2017-07-04)
  34. ### New features
  35. Add support for `Import` nodes.
  36. ## 6.1.0 (2018-09-28)
  37. ### New features
  38. The walker now walks `TemplateElement` nodes.
  39. ## 6.0.1 (2018-09-14)
  40. ### Bug fixes
  41. Fix bad "main" field in package.json.
  42. ## 6.0.0 (2018-09-14)
  43. ### Breaking changes
  44. This is now a separate package, `acorn-walk`, rather than part of the main `acorn` package.
  45. The `ScopeBody` and `ScopeExpression` meta-node-types are no longer supported.
  46. ## 5.7.1 (2018-06-15)
  47. ### Bug fixes
  48. Make sure the walker and bin files are rebuilt on release (the previous release didn't get the up-to-date versions).
  49. ## 5.7.0 (2018-06-15)
  50. ### Bug fixes
  51. Fix crash in walker when walking a binding-less catch node.
  52. ## 5.6.2 (2018-06-05)
  53. ### Bug fixes
  54. In the walker, go back to allowing the `baseVisitor` argument to be null to default to the default base everywhere.
  55. ## 5.6.1 (2018-06-01)
  56. ### Bug fixes
  57. Fix regression when passing `null` as fourth argument to `walk.recursive`.
  58. ## 5.6.0 (2018-05-31)
  59. ### Bug fixes
  60. Fix a bug in the walker that caused a crash when walking an object pattern spread.
  61. ## 5.5.1 (2018-03-06)
  62. ### Bug fixes
  63. Fix regression in walker causing property values in object patterns to be walked as expressions.
  64. ## 5.5.0 (2018-02-27)
  65. ### Bug fixes
  66. Support object spread in the AST walker.
  67. ## 5.4.1 (2018-02-02)
  68. ### Bug fixes
  69. 5.4.0 somehow accidentally included an old version of walk.js.
  70. ## 5.2.0 (2017-10-30)
  71. ### Bug fixes
  72. The `full` and `fullAncestor` walkers no longer visit nodes multiple times.
  73. ## 5.1.0 (2017-07-05)
  74. ### New features
  75. New walker functions `full` and `fullAncestor`.
  76. ## 3.2.0 (2016-06-07)
  77. ### New features
  78. Make it possible to use `visit.ancestor` with a walk state.
  79. ## 3.1.0 (2016-04-18)
  80. ### New features
  81. The walker now allows defining handlers for `CatchClause` nodes.
  82. ## 2.5.2 (2015-10-27)
  83. ### Fixes
  84. Fix bug where the walker walked an exported `let` statement as an expression.