Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: remarkablemark/html-react-parser
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.0.5
Choose a base ref
...
head repository: remarkablemark/html-react-parser
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.0.6
Choose a head ref
  • 17 commits
  • 8 files changed
  • 3 contributors

Commits on Aug 30, 2016

  1. Updates README with advanced usage of the replace method

    Keeping child nodes that in turn gets parsed recursively.
    Daniel Skogly (poacher2k) committed Aug 30, 2016
    Configuration menu
    Copy the full SHA
    6a664de View commit details
    Browse the repository at this point in the history
  2. Merge pull request #17 from poacher2k/master

    Update README with advanced usage of `replace` method
    remarkablemark authored Aug 30, 2016
    Configuration menu
    Copy the full SHA
    9241f1b View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2016

  1. Tidy and reword README for readability and add contributors

    - Try to follow the 80 column rule for readability.
    - Reword sentences to make them more understandable.
    - Gives thanks to `htmlparser2` and contributors.
    - Add lint script to testing documentation.
    remarkablemark committed Aug 31, 2016
    Configuration menu
    Copy the full SHA
    71e3de4 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #21 from remarkablemark/chore-readme

    Tidy and reword README for readability and add contributors
    remarkablemark authored Aug 31, 2016
    Configuration menu
    Copy the full SHA
    9556e4f View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2016

  1. Configuration menu
    Copy the full SHA
    1774d2c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f1e3c2a View commit details
    Browse the repository at this point in the history
  3. Create webpack.config.js

    Follow standard config:
    https://webpack.github.io/docs/configuration.html
    
    Export to `./dist/html-react-parser.min.js`
    
    Specify `react` in "externals":
    https://github.com/webpack/webpack/tree/master/examples/externals
    remarkablemark committed Sep 26, 2016
    Configuration menu
    Copy the full SHA
    8644c1c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3ae836a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bc66407 View commit details
    Browse the repository at this point in the history
  6. Create npm build scripts that use webpack to build UMD bundle

    npm scripts:
    - build (unminified UMD bundle)
    - build-min (minified UMD bundle)
    
    `webpack.config.js`:
    - Remove "entry" and "output.filename" now that paths are passed
      via CLI
    remarkablemark committed Sep 26, 2016
    Configuration menu
    Copy the full SHA
    626d411 View commit details
    Browse the repository at this point in the history
  7. Optimize webpack build with NODE_ENV and plugin

    Remove branches where `process.env.NODE_ENV !== "production"`
    especially for React.
    remarkablemark committed Sep 26, 2016
    Configuration menu
    Copy the full SHA
    6495a8e View commit details
    Browse the repository at this point in the history
  8. Create npm prepublish script that builds the bundles before publish

    Build the unminified and minified client-side bundles before
    publish.
    remarkablemark committed Sep 26, 2016
    Configuration menu
    Copy the full SHA
    22453d0 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2016

  1. Merge pull request #22 from remarkablemark/webpack

    Use webpack to build UMD bundle
    remarkablemark authored Sep 27, 2016
    Configuration menu
    Copy the full SHA
    646b4a8 View commit details
    Browse the repository at this point in the history
  2. Fix error for client-side parser by improving regex

    For the client parser, when the first element of the HTML string
    has attributes, the regex will improperly capture everything and
    make the tag name invalid.
    
    The fix is to ensure only the tag name is matched and whitespace
    is trimmed.
    
    Fixes #23
    remarkablemark committed Sep 27, 2016
    Configuration menu
    Copy the full SHA
    2dfffb3 View commit details
    Browse the repository at this point in the history
  3. Add test to ensure client-side parser works with DOMParser

    Confirm that for the client parser, if the first HTML element has
    attributes, it should properly match only the tag name and no
    longer throw an error.
    
    Issue #23
    remarkablemark committed Sep 27, 2016
    Configuration menu
    Copy the full SHA
    1bd17dd View commit details
    Browse the repository at this point in the history
  4. Merge pull request #24 from remarkablemark/bug-client-parser

    Fix regex bug on client parser
    remarkablemark authored Sep 27, 2016
    Configuration menu
    Copy the full SHA
    0bc51e0 View commit details
    Browse the repository at this point in the history
  5. Bump version to 0.0.6

    - Update README (#17 and #21):
      - Improve documentation of `replace` option with the help of
        @poacher2k
      - Tidy and reword some parts
    - Use webpack to build UMD bundle (#22)
      - Build to `./dist/` directory before publish
    - Fix regex bug on client parser (#24)
      - Add test for `window.DOMParser`
    remarkablemark committed Sep 27, 2016
    Configuration menu
    Copy the full SHA
    5601606 View commit details
    Browse the repository at this point in the history
Loading