You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

320 lines
8.4 KiB

2 years ago
  1. # Change Log
  2. ## 1.0.2
  3. * Add types for path imports ([#13](https://github.com/7rulnik/source-map-js/pull/13)) [@TrySound](https://github.com/TrySound)
  4. ## 1.0.1
  5. * Remove cleanComments optimization ([#10](https://github.com/7rulnik/source-map-js/pull/10)) [@ai](https://github.com/ai)
  6. ## 1.0.0
  7. * Fix package.json#typings field ([#6](https://github.com/7rulnik/source-map-js/pull/6)) [@chalkygames123](https://github.com/chalkygames123)
  8. * Reduce memory usage of eachMapping w/ loop ([#5](https://github.com/7rulnik/source-map-js/pull/5)) [@noppa](https://github.com/noppa)
  9. * Reduce npm package size ([#7](https://github.com/7rulnik/source-map-js/pull/7)) [@ai](https://github.com/ai)
  10. ----------
  11. # It doesn't related to this fork:
  12. ## 0.5.6
  13. * Fix for regression when people were using numbers as names in source maps. See
  14. #236.
  15. ## 0.5.5
  16. * Fix "regression" of unsupported, implementation behavior that half the world
  17. happens to have come to depend on. See #235.
  18. * Fix regression involving function hoisting in SpiderMonkey. See #233.
  19. ## 0.5.4
  20. * Large performance improvements to source-map serialization. See #228 and #229.
  21. ## 0.5.3
  22. * Do not include unnecessary distribution files. See
  23. commit ef7006f8d1647e0a83fdc60f04f5a7ca54886f86.
  24. ## 0.5.2
  25. * Include browser distributions of the library in package.json's `files`. See
  26. issue #212.
  27. ## 0.5.1
  28. * Fix latent bugs in IndexedSourceMapConsumer.prototype._parseMappings. See
  29. ff05274becc9e6e1295ed60f3ea090d31d843379.
  30. ## 0.5.0
  31. * Node 0.8 is no longer supported.
  32. * Use webpack instead of dryice for bundling.
  33. * Big speedups serializing source maps. See pull request #203.
  34. * Fix a bug with `SourceMapConsumer.prototype.sourceContentFor` and sources that
  35. explicitly start with the source root. See issue #199.
  36. ## 0.4.4
  37. * Fix an issue where using a `SourceMapGenerator` after having created a
  38. `SourceMapConsumer` from it via `SourceMapConsumer.fromSourceMap` failed. See
  39. issue #191.
  40. * Fix an issue with where `SourceMapGenerator` would mistakenly consider
  41. different mappings as duplicates of each other and avoid generating them. See
  42. issue #192.
  43. ## 0.4.3
  44. * A very large number of performance improvements, particularly when parsing
  45. source maps. Collectively about 75% of time shaved off of the source map
  46. parsing benchmark!
  47. * Fix a bug in `SourceMapConsumer.prototype.allGeneratedPositionsFor` and fuzzy
  48. searching in the presence of a column option. See issue #177.
  49. * Fix a bug with joining a source and its source root when the source is above
  50. the root. See issue #182.
  51. * Add the `SourceMapConsumer.prototype.hasContentsOfAllSources` method to
  52. determine when all sources' contents are inlined into the source map. See
  53. issue #190.
  54. ## 0.4.2
  55. * Add an `.npmignore` file so that the benchmarks aren't pulled down by
  56. dependent projects. Issue #169.
  57. * Add an optional `column` argument to
  58. `SourceMapConsumer.prototype.allGeneratedPositionsFor` and better handle lines
  59. with no mappings. Issues #172 and #173.
  60. ## 0.4.1
  61. * Fix accidentally defining a global variable. #170.
  62. ## 0.4.0
  63. * The default direction for fuzzy searching was changed back to its original
  64. direction. See #164.
  65. * There is now a `bias` option you can supply to `SourceMapConsumer` to control
  66. the fuzzy searching direction. See #167.
  67. * About an 8% speed up in parsing source maps. See #159.
  68. * Added a benchmark for parsing and generating source maps.
  69. ## 0.3.0
  70. * Change the default direction that searching for positions fuzzes when there is
  71. not an exact match. See #154.
  72. * Support for environments using json2.js for JSON serialization. See #156.
  73. ## 0.2.0
  74. * Support for consuming "indexed" source maps which do not have any remote
  75. sections. See pull request #127. This introduces a minor backwards
  76. incompatibility if you are monkey patching `SourceMapConsumer.prototype`
  77. methods.
  78. ## 0.1.43
  79. * Performance improvements for `SourceMapGenerator` and `SourceNode`. See issue
  80. #148 for some discussion and issues #150, #151, and #152 for implementations.
  81. ## 0.1.42
  82. * Fix an issue where `SourceNode`s from different versions of the source-map
  83. library couldn't be used in conjunction with each other. See issue #142.
  84. ## 0.1.41
  85. * Fix a bug with getting the source content of relative sources with a "./"
  86. prefix. See issue #145 and [Bug 1090768](bugzil.la/1090768).
  87. * Add the `SourceMapConsumer.prototype.computeColumnSpans` method to compute the
  88. column span of each mapping.
  89. * Add the `SourceMapConsumer.prototype.allGeneratedPositionsFor` method to find
  90. all generated positions associated with a given original source and line.
  91. ## 0.1.40
  92. * Performance improvements for parsing source maps in SourceMapConsumer.
  93. ## 0.1.39
  94. * Fix a bug where setting a source's contents to null before any source content
  95. had been set before threw a TypeError. See issue #131.
  96. ## 0.1.38
  97. * Fix a bug where finding relative paths from an empty path were creating
  98. absolute paths. See issue #129.
  99. ## 0.1.37
  100. * Fix a bug where if the source root was an empty string, relative source paths
  101. would turn into absolute source paths. Issue #124.
  102. ## 0.1.36
  103. * Allow the `names` mapping property to be an empty string. Issue #121.
  104. ## 0.1.35
  105. * A third optional parameter was added to `SourceNode.fromStringWithSourceMap`
  106. to specify a path that relative sources in the second parameter should be
  107. relative to. Issue #105.
  108. * If no file property is given to a `SourceMapGenerator`, then the resulting
  109. source map will no longer have a `null` file property. The property will
  110. simply not exist. Issue #104.
  111. * Fixed a bug where consecutive newlines were ignored in `SourceNode`s.
  112. Issue #116.
  113. ## 0.1.34
  114. * Make `SourceNode` work with windows style ("\r\n") newlines. Issue #103.
  115. * Fix bug involving source contents and the
  116. `SourceMapGenerator.prototype.applySourceMap`. Issue #100.
  117. ## 0.1.33
  118. * Fix some edge cases surrounding path joining and URL resolution.
  119. * Add a third parameter for relative path to
  120. `SourceMapGenerator.prototype.applySourceMap`.
  121. * Fix issues with mappings and EOLs.
  122. ## 0.1.32
  123. * Fixed a bug where SourceMapConsumer couldn't handle negative relative columns
  124. (issue 92).
  125. * Fixed test runner to actually report number of failed tests as its process
  126. exit code.
  127. * Fixed a typo when reporting bad mappings (issue 87).
  128. ## 0.1.31
  129. * Delay parsing the mappings in SourceMapConsumer until queried for a source
  130. location.
  131. * Support Sass source maps (which at the time of writing deviate from the spec
  132. in small ways) in SourceMapConsumer.
  133. ## 0.1.30
  134. * Do not join source root with a source, when the source is a data URI.
  135. * Extend the test runner to allow running single specific test files at a time.
  136. * Performance improvements in `SourceNode.prototype.walk` and
  137. `SourceMapConsumer.prototype.eachMapping`.
  138. * Source map browser builds will now work inside Workers.
  139. * Better error messages when attempting to add an invalid mapping to a
  140. `SourceMapGenerator`.
  141. ## 0.1.29
  142. * Allow duplicate entries in the `names` and `sources` arrays of source maps
  143. (usually from TypeScript) we are parsing. Fixes github issue 72.
  144. ## 0.1.28
  145. * Skip duplicate mappings when creating source maps from SourceNode; github
  146. issue 75.
  147. ## 0.1.27
  148. * Don't throw an error when the `file` property is missing in SourceMapConsumer,
  149. we don't use it anyway.
  150. ## 0.1.26
  151. * Fix SourceNode.fromStringWithSourceMap for empty maps. Fixes github issue 70.
  152. ## 0.1.25
  153. * Make compatible with browserify
  154. ## 0.1.24
  155. * Fix issue with absolute paths and `file://` URIs. See
  156. https://bugzilla.mozilla.org/show_bug.cgi?id=885597
  157. ## 0.1.23
  158. * Fix issue with absolute paths and sourcesContent, github issue 64.
  159. ## 0.1.22
  160. * Ignore duplicate mappings in SourceMapGenerator. Fixes github issue 21.
  161. ## 0.1.21
  162. * Fixed handling of sources that start with a slash so that they are relative to
  163. the source root's host.
  164. ## 0.1.20
  165. * Fixed github issue #43: absolute URLs aren't joined with the source root
  166. anymore.
  167. ## 0.1.19
  168. * Using Travis CI to run tests.
  169. ## 0.1.18
  170. * Fixed a bug in the handling of sourceRoot.
  171. ## 0.1.17
  172. * Added SourceNode.fromStringWithSourceMap.
  173. ## 0.1.16
  174. * Added missing documentation.
  175. * Fixed the generating of empty mappings in SourceNode.
  176. ## 0.1.15
  177. * Added SourceMapGenerator.applySourceMap.
  178. ## 0.1.14
  179. * The sourceRoot is now handled consistently.
  180. ## 0.1.13
  181. * Added SourceMapGenerator.fromSourceMap.
  182. ## 0.1.12
  183. * SourceNode now generates empty mappings too.
  184. ## 0.1.11
  185. * Added name support to SourceNode.
  186. ## 0.1.10
  187. * Added sourcesContent support to the customer and generator.