Skip to content
Permalink
Branch: master
Commits on Jul 10, 2019
  1. chore(github): create `FUNDING.yml`

    remarkablemark committed Jul 10, 2019
    Add accounts to the following platforms:
    
    - patreon
    - open_collective
    - ko_fi
    - liberapay
  2. Merge pull request #119 from remarkablemark/chore/examples

    remarkablemark committed Jul 10, 2019
    chore(examples): tidy script and amd examples; add app bootstrapped by create-react-app
  3. chore(examples): add example app bootstrapped by Create React App

    remarkablemark committed Jul 10, 2019
    This is useful for testing that `html-react-parser` is properly
    consumed and bundled by webpack.
  4. chore(examples): tidy and simplify `requirejs.html`

    remarkablemark committed Jul 10, 2019
    Remove HTML cruft and use development versions of React and
    ReactDOM.
  5. chore(examples): simplify and tidy `script-tag.html`

    remarkablemark committed Jul 10, 2019
    Remove HTML cruft and use development versions of React and
    ReactDOM.
Commits on Jul 9, 2019
  1. chore(release): 0.9.1

    remarkablemark committed Jul 9, 2019
  2. Merge pull request #118 from remarkablemark/build/rollup

    remarkablemark committed Jul 9, 2019
    build: replace `webpack` with `rollup` in order to optimize bundle
  3. docs(index): improve JSDoc in `index.d.ts` and `index.js`

    remarkablemark committed Jul 9, 2019
  4. build(index): fix rollup error of mixing named and default exports

    remarkablemark committed Jul 9, 2019
    ```
    (!) Mixing named and default exports
    Consumers of your bundle will have to use bundle['default'] to access the default export, which may not be what you want. Use `output.exports: 'named'` to disable this warning
    ```
    
    This fixes the UMD bundle (in `dist`) as the library can only be
    accessed via the default export.
  5. build: replace `webpack` with `rollup` in order to optimize bundle

    remarkablemark committed Jul 9, 2019
    Save devDependencies:
    
    * rollup@1.16.2
    * rollup-plugin-commonjs@10.0.0
    * rollup-plugin-node-resolve@5.0.4
    * rollup-plugin-uglify@6.0.2
    
    Remove `webpack.config.js` and add `rollup.config.js`
    
    Update npm scripts `build:min` and `build:unmin`
  6. chore(release): 0.9.0

    remarkablemark committed Jul 9, 2019
  7. Merge pull request #117 from remarkablemark/feat/react-property

    remarkablemark committed Jul 9, 2019
    feat: replace `react-dom-core` with `react-property`
  8. build(package): update `react-property` to 1.0.1

    remarkablemark committed Jul 9, 2019
    There are optimizations that help decrease the final bundle size.
Commits on Jul 7, 2019
  1. fix(attributes-to-props): handle attr named after Object properties

    remarkablemark committed Jul 7, 2019
    Since the property config is a POJO (Plain Old JavaScript Object),
    this means the Object properties/methods are accessible.
    
    Thus, use `hasOwnProperty` to check if the attribute name is on the
    config map rather than on the Object prototype chain.
    
    Handle attributes that share the same name as custom attributes.
  2. feat(attributes-to-props): check for overloaded boolean values

    remarkablemark committed Jul 7, 2019
    For HTML DOM attributes that can be either boolean or string,
    make sure to convert the value correctly for React.
    
    Add test to confirm `download` attribute is properly converted.
  3. feat(attributes-to-props): replace `react-dom` with `react-property`

    remarkablemark committed Jul 7, 2019
    Save `react-property@0.1.0` to package.json dependencies and remove
    `react-dom-core`.
    
    Delete `lib/property-config.js` given that the mapping is already
    created in `react-property`.
    
    Fix incorrect test since both `ychannelselector` and
    `yChannelSelector` are applicable SVG attribute names.
    
    Resolves #107
Commits on Jul 3, 2019
  1. chore(release): 0.8.1

    remarkablemark committed Jul 3, 2019
  2. Merge pull request #116 from remarkablemark/fix/script

    remarkablemark committed Jul 3, 2019
    fix: revert commit so <script> is parsed or else server-side rendering breaks
  3. revert: feat(dom-to-react): skip and do not parse <script> content

    remarkablemark committed Jul 3, 2019
    This reverts commit 1fb5ee2.
    
    The reason for the revert is because removing the <script> from
    the parsing causes server-side rendering to break.
    
    Fixes #115
You can’t perform that action at this time.