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