1 | 2.2.0 2019-10-25
|
2 | ==================
|
3 | * added *ParseOptions.allowEmptyContent*. Default is `false`.
|
4 | * New API *getNodeType*: Returns the type of a value returned by parse.
|
5 | * parse: Fix issue with empty property name
|
6 |
|
7 | 2.1.0 2019-03-29
|
8 | ==================
|
9 | * `JSONScanner` and `JSONVisitor` return lineNumber / character.
|
10 |
|
11 | 2.0.0 2018-04-12
|
12 | ==================
|
13 | * renamed Node.columnOffset to Node.colonOffset
|
14 | * new API getNodePath: Gets the JSON path of the given JSON DOM node
|
15 | * new API findNodeAtOffset: Finds the most inner node at the given offset. If includeRightBound is set, also finds nodes that end at the given offset.
|
16 |
|
17 | 1.0.3 2018-03-07
|
18 | ==================
|
19 | * provide ems modules
|
20 |
|
21 | 1.0.2 2018-03-05
|
22 | ==================
|
23 | * added the *visit.onComment* API, reported when comments are allowed.
|
24 | * added the *ParseErrorCode.InvalidCommentToken* enum value, reported when comments are disallowed.
|
25 |
|
26 | 1.0.1
|
27 | ==================
|
28 | * added the *format* API: computes edits to format a JSON document.
|
29 | * added the *modify* API: computes edits to insert, remove or replace a property or value in a JSON document.
|
30 | * added the *allyEdits* API: applies edits to a document
|
31 |
|
32 | 1.0.0
|
33 | ==================
|
34 | * remove nls dependency (remove getParseErrorMessage)
|
35 |
|
36 | 0.4.2 / 2017-05-05
|
37 | ==================
|
38 | * added ParseError.offset & ParseError.length
|
39 |
|
40 | 0.4.1 / 2017-04-02
|
41 | ==================
|
42 | * added ParseOptions.allowTrailingComma
|
43 |
|
44 | 0.4.0 / 2017-02-23
|
45 | ==================
|
46 | * fix for `getLocation`. Now `getLocation` inside an object will always return a property from inside that property. Can be empty string if the object has no properties or if the offset is before a actual property `{ "a": { | }} will return location ['a', ' ']`
|
47 |
|
48 | 0.3.0 / 2017-01-17
|
49 | ==================
|
50 | * Updating to typescript 2.0 |
\ | No newline at end of file |