File: changelog.md

package info (click to toggle)
node-css 2.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 1,580 kB
  • ctags: 123
  • sloc: makefile: 10; sh: 4
file content (42 lines) | stat: -rw-r--r-- 1,605 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
### Version 0.3.0 (2014-08-16) ###

- Changed: sourceMappingURL comments used to be matched only if they appeared
  on their own line. However, the spec only says:

  > The generated code may include a line at the end of the source, with the following form:
  >
  >     //# sourceMappingURL=<url>

  So now they are matched also when they appear on the same line as code.

- Removed: The `.set()` method. I couldn’t decide how it should work
  considering the above change. Moreover, it was unnecessarily complex (and
  would have gotten worse) for very little gain. It is much easier to run
  `.remove()` if needed, and then simply `code += "\n//# sourceMappingURL=" +
  url` (using the appropriate comment syntax and newline). KISS.

- Changed: The `.insertBefore()` method now always inserts the string exactly
  before the sourceMappingURL comment; not before the newline before the
  comment (if any). Moreover, it does not ensure that the comment will be on a
  new line anymore. This is up to the caller. KISS.

- Changed: The `.remove()` method no longer removes the newline before the
  sourceMappingURL (if any).

- Changed: Renamed `.get()` to `.getFrom()`.
- Changed: Renamed `.remove()` to `.removeFrom()`.

- Added: The `.existsIn()` method.


### Version 0.2.0 (2014-02-23) ###

- Changed: A space is no longer inserted before the closing comment syntax. If
  such a space is desired, it needs to be put in the closing comment syntax
  itself (such as `["/*", " */"]` instead of `["/*", "*/"]`). (Backwards
  incompatible change.)


### Version 0.1.0 (2014-02-22) ###

- Initial release.