UNPKG

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