Skip to content

refactor: replace cssToJs with style-to-js and remove camelCase#182

Merged
remarkablemark merged 2 commits intomasterfrom
refactor/style-to-js
Nov 23, 2020
Merged

refactor: replace cssToJs with style-to-js and remove camelCase#182
remarkablemark merged 2 commits intomasterfrom
refactor/style-to-js

Conversation

@remarkablemark
Copy link
Copy Markdown
Owner

@remarkablemark remarkablemark commented Nov 23, 2020

What is the motivation for this pull request?

refactor: replace cssToJs with style-to-js and remove camelCase. See #177

What is the current behavior?

Cannot make use of cssToJs function

What is the new behavior?

Can install style-to-js and use with library:

const htmlReactParser = require('html-react-parser');
const styleToJS = require('style-to-js').default;

// ...

Checklist:

  • Tests
  • Documentation

@remarkablemark remarkablemark added the dependencies Pull requests that update a dependency file label Nov 23, 2020
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling a980df4 on refactor/style-to-js into c3028a7 on master.

@remarkablemark remarkablemark merged commit 9c3708d into master Nov 23, 2020
@remarkablemark remarkablemark deleted the refactor/style-to-js branch November 23, 2020 01:50
@remarkablemark
Copy link
Copy Markdown
Owner Author

Published 0.14.2:

npm:

npm install html-react-parser@0.14.2

yarn:

yarn add html-react-parser@0.14.2

@remarkablemark remarkablemark mentioned this pull request Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants