Skip to content

Releases: vitaly-t/pg-minify

1.4.0

15 May 00:52
Compare
Choose a tag to compare

Major change in how End-of-Line is handled, supporting Unix+Windows encoding.

Previously, it was relying on detection, but now it just changes the encoding dynamically, to Unix-like \n, which simplifies processing and makes it faster.

In addition, the library now changes Unix-encoding inside of special/copyright comment blocks to Windows encoding, to make sure that special-block formatting created on Linux looks the same on Windows.

1.3.0

14 May 00:19
0c70587
Compare
Choose a tag to compare
  • Implemented feature #7 - added new option removeAll.

1.2.6

13 May 22:04
Compare
Choose a tag to compare
  • code refactoring + tests

1.2.5

12 May 22:30
Compare
Choose a tag to compare
  • Minor code refactoring + extra tests.

1.2.4

12 May 21:46
Compare
Choose a tag to compare
  • Fixed #6 - nested comments inside special/copyright comments.

1.2.3

12 May 19:33
Compare
Choose a tag to compare

Documentation + code refactoring.

1.2.2

12 May 12:53
Compare
Choose a tag to compare

Documentation updates only.

1.2.1

12 May 11:53
Compare
Choose a tag to compare

Implemented #5, to avoid the deprecation warning under new Node.js versions.

1.2.0

12 May 06:46
Compare
Choose a tag to compare
  • Implemented #3, the library now supports nested multi-line comments
  • Fixed #4, errors are now reported correctly, with full details.

1.1.0

08 May 20:35
Compare
Choose a tag to compare
  • Fixed bug #2
  • Removed strict parsing for options, to be ignored when not an object.