Skip to content

Commit 593324f

Browse files
committed
Readme fixes
1 parent 8618a5d commit 593324f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,12 @@ var acorn = require('acorn-node')
2929

3030
The API is the same as [acorn](https://github.com/acornjs/acorn), but the following syntax features are enabled by default:
3131

32-
- None right now.
32+
- Dynamic `import()` (via [acorn-dynamic-import](https://github.com/kesne/acorn-dynamic-import))
33+
- The `import.meta` property (via [acorn-import-meta](https://github.com/acornjs/acorn-import-meta))
3334

3435
And the following options have different defaults from acorn, to match Node modules:
3536

36-
- `ecmaVersion: 9`
37+
- `ecmaVersion: 2019`
3738
- `allowHashBang: true`
3839
- `allowReturnOutsideFunction: true`
3940

0 commit comments

Comments
 (0)