Skip to content

Commit 3edd99f

Browse files
committed
Update pubspec, readme, and changelog
1 parent 3a953a6 commit 3edd99f

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
## 1.2.0 (2017-05-06)
2+
3+
- Added an option to parse the input as an expression.
4+
15
## 1.1.0 (2015-06-01)
26

3-
Added visitor with one argument.
7+
- Added visitor with one argument.
48

59
## 1.0.0 - 1.0.3
610

7-
Initial version with some bugfixes releases.
11+
- Initial version with some bugfixes releases.

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,4 @@ The `parsejs` function takes the following optional arguments:
2222
- `firstLine`: The line number to associate with the first line of code. Default is 1. Useful if code was extracted from an HTML file, and you prefer absolute line numbers.
2323
- `handleNoise`: If true, parser will try to ignore hash bangs and HTML comment tags surrounding the source code. Default is true.
2424
- `annotate`: If true, parser will initialize `Node.parent`, `Scope.environment`, and `Name.scope`, to simplify subsequent AST analysis. Default is true.
25-
26-
27-
28-
25+
- `parseAsExpression`: If true, the input will be parsed as an expression statement.

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: parsejs
2-
version: 1.1.0
2+
version: 1.2.0
33
author: Asger Feldthaus <asger.feldthaus@gmail.com>
44
description: JavaScript parser.
55
homepage: https://github.com/asgerf/parsejs.dart

0 commit comments

Comments
 (0)