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.

199 lines
3.6 KiB

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