@babel/traverse 8.0.0-rc.6 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -424,7 +424,7 @@ function verify$1(visitor) {
424
424
  }
425
425
  if (shouldIgnoreKey(nodeType)) continue;
426
426
  if (!TYPES.includes(nodeType)) {
427
- throw new Error(`You gave us a visitor for the node type ${nodeType} but it's not a valid type in @babel/traverse ${"8.0.0-rc.6"}`);
427
+ throw new Error(`You gave us a visitor for the node type ${nodeType} but it's not a valid type in @babel/traverse ${"8.0.0"}`);
428
428
  }
429
429
  const visitors = visitor[nodeType];
430
430
  if (typeof visitors === "object") {