Skip to content

Commit

Permalink
document changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
PuruVJ committed Jul 16, 2024
1 parent b7d8491 commit db3bed0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Changelog

## 0.6.11

PINNED: [email protected]

### Patch Changes

Fix types for neotraverse/legacy. I am sacrificing types for CJS in favor of ESM.

Use the following to get type-safety

```ts
const traverse = require('neotraverse/legacy');
// ^ It isn't typed

const neoTraverse = traverse as traverse['default'];
// ^ It is typed
```

## 0.6.10

PINNED: [email protected]
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "neotraverse",
"version": "0.6.10",
"version": "0.6.11",
"description": "traverse and transform objects by visiting every node on a recursive walk",
"main": "dist/legacy/legacy.cjs",
"type": "module",
Expand All @@ -25,7 +25,7 @@
"development": "./dist/modern/modern.js",
"default": "./dist/modern/modern.js"
},
"default": "./dist/modern/index.js"
"default": "./dist/modern/modern.js"
},
"./legacy": {
"require": {
Expand Down

0 comments on commit db3bed0

Please sign in to comment.