Skip to content

Commit 36e0ed5

Browse files
committed
Merge remote-tracking branch 'origin/node-12'
2 parents 0c6ee6b + 5a623a5 commit 36e0ed5

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,26 @@ All notable changes to this project will be documented in this file.
44

55
This project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## 1.7.0
8+
* Add class instance fields support:
9+
```js
10+
class X {
11+
public = 1;
12+
#private = 2;
13+
}
14+
```
15+
* Add class static fields support:
16+
```js
17+
class X {
18+
static public = 1;
19+
static #private = 2;
20+
}
21+
```
22+
* Add `export * as ns` support when `sourceType` is 'module':
23+
```js
24+
export * as ns from './ns.mjs';
25+
```
26+
727
## 1.6.2
828

929
* Allow dynamic `import()` in scripts.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "acorn-node",
33
"description": "the acorn javascript parser, preloaded with plugins for syntax parity with recent node versions",
4-
"version": "1.6.2",
4+
"version": "1.7.0",
55
"author": "Renée Kooi <[email protected]>",
66
"bugs": {
77
"url": "https://github.com/browserify/acorn-node/issues"

0 commit comments

Comments
 (0)