Releases: vitaly-t/decomment
Releases · vitaly-t/decomment
v.0.7.0
Only documentation updates.
It also sums up all the fixes applied in 0.6.x updates.
v.0.6.5
Found and fixed a special case for quotes inside text when preceded by an odd number (>1) of slashes:
'\\\''
, '\\\\\''
, '\\\\\\\''
, etc...
"\\\""
, "\\\\\""
, "\\\\\\\""
, etc...
Added new tests to cover such cases.
v.0.6.4
Fixing a bug for two special cases: //
or /*
inside regular expressions without a preceding /
:
/[a-b//]text/
/[a-b/*]text/
Turns out the tests for those were present, but incorrect. Corrected the tests and fixed the bug.
v.0.6.3
Found and fixed an ugly bug for special slash cases inside text blocks:
'\''
"\"";
'\'\''
"\"\""
'\\\\\\'
"\\\\\\"
`\\\\\\`
`\``
`\"`
`\`\``
`\\`
Added new tests to cover each such case.
v.0.6.2
- Code optimization for performance
- Code documentation and refactoring
- Adding more tests
v.0.6.1
Minor code refactoring + documentation updates.
v.0.6.0
This is a major update in the protocol, to support any-text comment removal as opposed to just CSS.
Documentation has been updated with the new protocol.
The default decomment can handle JSON, JavaScript or HTML automatically, as before, while the additional extensions are decomment.text and decomment.html.
v.0.5.1
Significant performance optimizations.
This library was fast, but thanks to these guys, it is now 3 times faster than before, and much simpler.
v.0.5.0
This is a major rewrite of the library, with introduction of esprima as the JavaScript parser of choice, to guarantee correct parsing for regular expressions.
- Lots of new tests added
- Lots of documentation updated
Now with the help of esprima, the library is 100% accurate.
Also, moved CSS processing into a sub-call of decomment.css
.
v.0.4.2
This version is a temporary rollback from the previous changes, as they introduced a different problem that needs to be resolved first.