版博士V2.0程序
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. 3.2.0 2022-08-30
  2. =================
  3. - update the version of the bundled Javascript files to `es2020`.
  4. - include all `const enum` values in the bundled JavaScript files (`ScanError`, `SyntaxKind`, `ParseErrorCode`).
  5. 3.1.0 2022-07-07
  6. ==================
  7. * added new API `FormattingOptions.keepLines` : It leaves the initial line positions in the formatting.
  8. 3.0.0 2020-11-13
  9. ==================
  10. * fixed API spec for `parseTree`. Can return `undefine` for empty input.
  11. * added new API `FormattingOptions.insertFinalNewline`.
  12. 2.3.0 2020-07-03
  13. ==================
  14. * new API `ModificationOptions.isArrayInsertion`: If `JSONPath` refers to an index of an array and `isArrayInsertion` is `true`, then `modify` will insert a new item at that location instead of overwriting its contents.
  15. * `ModificationOptions.formattingOptions` is now optional. If not set, newly inserted content will not be formatted.
  16. 2.2.0 2019-10-25
  17. ==================
  18. * added `ParseOptions.allowEmptyContent`. Default is `false`.
  19. * new API `getNodeType`: Returns the type of a value returned by parse.
  20. * `parse`: Fix issue with empty property name
  21. 2.1.0 2019-03-29
  22. ==================
  23. * `JSONScanner` and `JSONVisitor` return lineNumber / character.
  24. 2.0.0 2018-04-12
  25. ==================
  26. * renamed `Node.columnOffset` to `Node.colonOffset`
  27. * new API `getNodePath`: Gets the JSON path of the given JSON DOM node
  28. * 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.
  29. 1.0.3 2018-03-07
  30. ==================
  31. * provide ems modules
  32. 1.0.2 2018-03-05
  33. ==================
  34. * added the `visit.onComment` API, reported when comments are allowed.
  35. * added the `ParseErrorCode.InvalidCommentToken` enum value, reported when comments are disallowed.
  36. 1.0.1
  37. ==================
  38. * added the `format` API: computes edits to format a JSON document.
  39. * added the `modify` API: computes edits to insert, remove or replace a property or value in a JSON document.
  40. * added the `allyEdits` API: applies edits to a document
  41. 1.0.0
  42. ==================
  43. * remove nls dependency (remove `getParseErrorMessage`)
  44. 0.4.2 / 2017-05-05
  45. ==================
  46. * added `ParseError.offset` & `ParseError.length`
  47. 0.4.1 / 2017-04-02
  48. ==================
  49. * added `ParseOptions.allowTrailingComma`
  50. 0.4.0 / 2017-02-23
  51. ==================
  52. * 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', ' ']`
  53. 0.3.0 / 2017-01-17
  54. ==================
  55. * Updating to typescript 2.0