Releases: remarkablemark/inline-style-parser
Releases · remarkablemark/inline-style-parser
v0.2.4
v0.2.3
v0.2.2
v0.2.1
v0.2.0
v0.1.2
v0.1.1
v0.1.0
0.1.0 (2019-06-19)
Bug Fixes
- index: do not throw an error if a comment precedes the colon (7f962ee)
Build System
- package: add
build
andclean
scripts (d27a653) - package: add script
prepublishOnly
and "files" field (5fad9ff) - package: save
css@2.2.4
to devDependencies (93ad729) - package: save devDependencies for
rollup
and its plugins (872b1fa) - package: set
NODE_ENV=development
in scriptbuild:unmin
(5a7877b) - package: update
build:min
to generate sourcemap (external) (c81d66a) - rollup: add
rollup.config.js
(ac60124)
Features
- clone project from
npm-package-template
(5976c6f) - index: copy
parse
module fromcss
package (3bf4bee) - index: parse only declarations and remove all unused code (a04d918)
- index: throw error if first argument is not a string (346ae28)
Tests
- add snapshot for the parsed output of a single declaration (c2c774c)
- data: add more cases for 'content' and 'background-image' (204c574)
- index: add more misc and one-off test cases (a08f521)
- index: check that a comment before colon is parsed correctly (bf9518c)
- index: check that the error message matches (9169525)
- add snapshots for the parsed output of multiple declarations (8708031)
- index: disable placeholder test suite (20bf8af)
- add cases and compare parser output with
css.parse
output (361974b) - index: refactor tests and use
expect
andit.each
(dbf2ef0) - organize tests with describe blocks and tidy test names (5c5fcd4)
- replace
mocha
andnyc
withjest
(100311d) - index: test "End of comment missing" error and silent option (9f0c832)
- index: verify that expected errors are thrown (d0ed3bd)
- package: collect coverage from
index.js
only (bc503b7)