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.7
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.1.0
Choose a head ref
  • 7 commits
  • 13 files changed
  • 2 contributors

Commits on Sep 28, 2016

  1. Configuration menu
    Copy the full SHA
    40fec9d View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2016

  1. Replace HTML to DOM implementation with html-dom-parser package

    The HTML to DOM parser has been externalized to its own package.
    
    Save to dependencies:
    - html-dom-parser@0.0.2
    
    Remove from dependencies:
    - domhandler@2.3.0
    - htmlparser2@3.9.1
    
    Remove files:
    - lib/html-to-dom-server.js
    - lib/html-to-dom-client.js
    
    Update `index.js` to require `html-dom-parser`.
    remarkablemark committed Oct 14, 2016
    Configuration menu
    Copy the full SHA
    c1832a7 View commit details
    Browse the repository at this point in the history
  2. Update tests to use html-dom-parser and prune unused helpers

    Fix broken requires in tests now that `lib/html-to-dom-server.js`
    and `lib/html-to-dom-client.js` have been deleted (use
    `html-dom-parser` instead).
    
    Remove HTML to DOM tests since `html-dom-parser` has its own tests.
    
    Remove `helpers.deepEqualCircular()` and its tests as it was
    used to test HTML to DOM parsing (which is no longer handled by
    this package, but `html-dom-parser`).
    remarkablemark committed Oct 14, 2016
    Configuration menu
    Copy the full SHA
    0dd9a7d View commit details
    Browse the repository at this point in the history
  3. Rename test mocks file and update tests

    - Rename `test/data.json` to `test/helpers/mocks.json`
    - Require mocks in test helpers index
    - Add a test for doctype (should be skipped and not parsed)
    - Tidy tests
    remarkablemark committed Oct 14, 2016
    Configuration menu
    Copy the full SHA
    07c6847 View commit details
    Browse the repository at this point in the history
  4. Update README with html-dom-parser and tidy up special thanks

    Replace `htmlparser2` with `html-dom-parser` link and tidy up
    other parts.
    remarkablemark committed Oct 14, 2016
    Configuration menu
    Copy the full SHA
    e207d62 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #28 from remarkablemark/html-to-dom

    Replace HTML to DOM implementation with `html-dom-parser` package
    remarkablemark authored Oct 14, 2016
    Configuration menu
    Copy the full SHA
    310f45e View commit details
    Browse the repository at this point in the history
  6. Bump version to 0.1.0

    - Replace HTML to DOM implementation with `html-dom-parser` (#28)
      - Update dependencies
        - Save `html-dom-parser`
        - Remove `domhandler` and `htmlparser2`
      - Update tests
        - Remove unused tests and helpers
        - Update mocks
        - Add test for doctype
    - Throw `TypeError` instead of `Error` for invalid first argument
      - Update tests
    - README
      - Update "Special Thanks" section
      - Tidy where necessary
    remarkablemark committed Oct 14, 2016
    Configuration menu
    Copy the full SHA
    cc9c53e View commit details
    Browse the repository at this point in the history
Loading