@@ -29,12 +29,13 @@ var acorn = require('acorn-node')
2929
3030The API is the same as [ acorn] ( https://github.com/acornjs/acorn ) , but the following syntax features are enabled by default:
3131
32- - Bigint syntax (via [ acorn-bigint] ( https://github.com/acornjs/acorn-bigint] ) , MIT)
33- - Public and private class instance fields (via [ acorn-class-fields] ( https://github.com/acornjs/acorn-class-fields ) , MIT)
34- - Public and private class static fields (via [ acorn-static-class-features] ( https://github.com/acornjs/acorn-static-class-features ) , MIT)
35- - Dynamic ` import() ` (via [ acorn-dynamic-import] ( https://github.com/kesne/acorn-dynamic-import ) )
36- - The ` import.meta ` property (via [ acorn-import-meta] ( https://github.com/acornjs/acorn-import-meta ) , MIT)
37- - ` export * as ns from ` syntax (via [ acorn-export-ns-from] ( https://github.com/acornjs/acorn-export-ns-from ) , MIT)
32+ - Bigint syntax ` 10n `
33+ - Numeric separators syntax ` 10_000 `
34+ - Public and private class instance fields
35+ - Public and private class static fields
36+ - Dynamic ` import() `
37+ - The ` import.meta ` property
38+ - ` export * as ns from ` syntax
3839
3940And the following options have different defaults from acorn, to match Node modules:
4041
@@ -51,4 +52,14 @@ See the [acorn documentation](https://github.com/acornjs/acorn#distwalkjs) for d
5152
5253## License
5354
54- [ Apache-2.0] ( LICENSE.md )
55+ The files in the repo root and the ./test folder are licensed as [ Apache-2.0] ( LICENSE.md ) .
56+
57+ The files in lib/ are generated from other packages:
58+
59+ - lib/bigint: [ acorn-bigint] ( https://github.com/acornjs/acorn-bigint] ) , MIT
60+ - lib/class-private-elements: [ acorn-class-private-elements] ( https://github.com/acornjs/acorn-class-private-elements ) , MIT
61+ - lib/dynamic-import: [ acorn-dynamic-import] ( https://github.com/acornjs/acorn-dynamic-import ) , MIT
62+ - lib/export-ns-from: [ acorn-export-ns-from] ( https://github.com/acornjs/acorn-export-ns-from ) , MIT
63+ - lib/import-meta: [ acorn-import-meta] ( https://github.com/acornjs/acorn-import-meta ) , MIT
64+ - lib/numeric-separator: [ acorn-numeric-separator] ( https://github.com/acornjs/acorn-numeric-separator] ) , MIT
65+ - lib/static-class-features: [ acorn-static-class-features] ( https://github.com/acornjs/acorn-static-class-features ) , MIT
0 commit comments