1 | # Change Log
|
2 |
|
3 | ## 0.4.0
|
4 |
|
5 | * The default direction for fuzzy searching was changed back to its original
|
6 | direction. See #164.
|
7 |
|
8 | * There is now a `bias` option you can supply to `SourceMapConsumer` to control
|
9 | the fuzzy searching direction. See #167.
|
10 |
|
11 | * About an 8% speed up in parsing source maps. See #159.
|
12 |
|
13 | * Added a benchmark for parsing and generating source maps.
|
14 |
|
15 | ## 0.3.0
|
16 |
|
17 | * Change the default direction that searching for positions fuzzes when there is
|
18 | not an exact match. See #154.
|
19 |
|
20 | * Support for environments using json2.js for JSON serialization. See #156.
|
21 |
|
22 | ## 0.2.0
|
23 |
|
24 | * Support for consuming "indexed" source maps which do not have any remote
|
25 | sections. See pull request #127. This introduces a minor backwards
|
26 | incompatibility if you are monkey patching `SourceMapConsumer.prototype`
|
27 | methods.
|
28 |
|
29 | ## 0.1.43
|
30 |
|
31 | * Performance improvements for `SourceMapGenerator` and `SourceNode`. See issue
|
32 | #148 for some discussion and issues #150, #151, and #152 for implementations.
|
33 |
|
34 | ## 0.1.42
|
35 |
|
36 | * Fix an issue where `SourceNode`s from different versions of the source-map
|
37 | library couldn't be used in conjunction with each other. See issue #142.
|
38 |
|
39 | ## 0.1.41
|
40 |
|
41 | * Fix a bug with getting the source content of relative sources with a "./"
|
42 | prefix. See issue #145 and [Bug 1090768](bugzil.la/1090768).
|
43 |
|
44 | * Add the `SourceMapConsumer.prototype.computeColumnSpans` method to compute the
|
45 | column span of each mapping.
|
46 |
|
47 | * Add the `SourceMapConsumer.prototype.allGeneratedPositionsFor` method to find
|
48 | all generated positions associated with a given original source and line.
|
49 |
|
50 | ## 0.1.40
|
51 |
|
52 | * Performance improvements for parsing source maps in SourceMapConsumer.
|
53 |
|
54 | ## 0.1.39
|
55 |
|
56 | * Fix a bug where setting a source's contents to null before any source content
|
57 | had been set before threw a TypeError. See issue #131.
|
58 |
|
59 | ## 0.1.38
|
60 |
|
61 | * Fix a bug where finding relative paths from an empty path were creating
|
62 | absolute paths. See issue #129.
|
63 |
|
64 | ## 0.1.37
|
65 |
|
66 | * Fix a bug where if the source root was an empty string, relative source paths
|
67 | would turn into absolute source paths. Issue #124.
|
68 |
|
69 | ## 0.1.36
|
70 |
|
71 | * Allow the `names` mapping property to be an empty string. Issue #121.
|
72 |
|
73 | ## 0.1.35
|
74 |
|
75 | * A third optional parameter was added to `SourceNode.fromStringWithSourceMap`
|
76 | to specify a path that relative sources in the second parameter should be
|
77 | relative to. Issue #105.
|
78 |
|
79 | * If no file property is given to a `SourceMapGenerator`, then the resulting
|
80 | source map will no longer have a `null` file property. The property will
|
81 | simply not exist. Issue #104.
|
82 |
|
83 | * Fixed a bug where consecutive newlines were ignored in `SourceNode`s.
|
84 | Issue #116.
|
85 |
|
86 | ## 0.1.34
|
87 |
|
88 | * Make `SourceNode` work with windows style ("\r\n") newlines. Issue #103.
|
89 |
|
90 | * Fix bug involving source contents and the
|
91 | `SourceMapGenerator.prototype.applySourceMap`. Issue #100.
|
92 |
|
93 | ## 0.1.33
|
94 |
|
95 | * Fix some edge cases surrounding path joining and URL resolution.
|
96 |
|
97 | * Add a third parameter for relative path to
|
98 | `SourceMapGenerator.prototype.applySourceMap`.
|
99 |
|
100 | * Fix issues with mappings and EOLs.
|
101 |
|
102 | ## 0.1.32
|
103 |
|
104 | * Fixed a bug where SourceMapConsumer couldn't handle negative relative columns
|
105 | (issue 92).
|
106 |
|
107 | * Fixed test runner to actually report number of failed tests as its process
|
108 | exit code.
|
109 |
|
110 | * Fixed a typo when reporting bad mappings (issue 87).
|
111 |
|
112 | ## 0.1.31
|
113 |
|
114 | * Delay parsing the mappings in SourceMapConsumer until queried for a source
|
115 | location.
|
116 |
|
117 | * Support Sass source maps (which at the time of writing deviate from the spec
|
118 | in small ways) in SourceMapConsumer.
|
119 |
|
120 | ## 0.1.30
|
121 |
|
122 | * Do not join source root with a source, when the source is a data URI.
|
123 |
|
124 | * Extend the test runner to allow running single specific test files at a time.
|
125 |
|
126 | * Performance improvements in `SourceNode.prototype.walk` and
|
127 | `SourceMapConsumer.prototype.eachMapping`.
|
128 |
|
129 | * Source map browser builds will now work inside Workers.
|
130 |
|
131 | * Better error messages when attempting to add an invalid mapping to a
|
132 | `SourceMapGenerator`.
|
133 |
|
134 | ## 0.1.29
|
135 |
|
136 | * Allow duplicate entries in the `names` and `sources` arrays of source maps
|
137 | (usually from TypeScript) we are parsing. Fixes github issue 72.
|
138 |
|
139 | ## 0.1.28
|
140 |
|
141 | * Skip duplicate mappings when creating source maps from SourceNode; github
|
142 | issue 75.
|
143 |
|
144 | ## 0.1.27
|
145 |
|
146 | * Don't throw an error when the `file` property is missing in SourceMapConsumer,
|
147 | we don't use it anyway.
|
148 |
|
149 | ## 0.1.26
|
150 |
|
151 | * Fix SourceNode.fromStringWithSourceMap for empty maps. Fixes github issue 70.
|
152 |
|
153 | ## 0.1.25
|
154 |
|
155 | * Make compatible with browserify
|
156 |
|
157 | ## 0.1.24
|
158 |
|
159 | * Fix issue with absolute paths and `file://` URIs. See
|
160 | https://bugzilla.mozilla.org/show_bug.cgi?id=885597
|
161 |
|
162 | ## 0.1.23
|
163 |
|
164 | * Fix issue with absolute paths and sourcesContent, github issue 64.
|
165 |
|
166 | ## 0.1.22
|
167 |
|
168 | * Ignore duplicate mappings in SourceMapGenerator. Fixes github issue 21.
|
169 |
|
170 | ## 0.1.21
|
171 |
|
172 | * Fixed handling of sources that start with a slash so that they are relative to
|
173 | the source root's host.
|
174 |
|
175 | ## 0.1.20
|
176 |
|
177 | * Fixed github issue #43: absolute URLs aren't joined with the source root
|
178 | anymore.
|
179 |
|
180 | ## 0.1.19
|
181 |
|
182 | * Using Travis CI to run tests.
|
183 |
|
184 | ## 0.1.18
|
185 |
|
186 | * Fixed a bug in the handling of sourceRoot.
|
187 |
|
188 | ## 0.1.17
|
189 |
|
190 | * Added SourceNode.fromStringWithSourceMap.
|
191 |
|
192 | ## 0.1.16
|
193 |
|
194 | * Added missing documentation.
|
195 |
|
196 | * Fixed the generating of empty mappings in SourceNode.
|
197 |
|
198 | ## 0.1.15
|
199 |
|
200 | * Added SourceMapGenerator.applySourceMap.
|
201 |
|
202 | ## 0.1.14
|
203 |
|
204 | * The sourceRoot is now handled consistently.
|
205 |
|
206 | ## 0.1.13
|
207 |
|
208 | * Added SourceMapGenerator.fromSourceMap.
|
209 |
|
210 | ## 0.1.12
|
211 |
|
212 | * SourceNode now generates empty mappings too.
|
213 |
|
214 | ## 0.1.11
|
215 |
|
216 | * Added name support to SourceNode.
|
217 |
|
218 | ## 0.1.10
|
219 |
|
220 | * Added sourcesContent support to the customer and generator.
|