Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite using promises and less dependencies #23

Closed
wants to merge 14 commits into from

Commits on Jun 27, 2016

  1. Remove dependencies from

    * Remove async dependency
    * Remove lodash.constant dependency
    * Remove xtend dependency
    * Added test for inline-ignore in CSS
    * Only search content once before replacing and rebasing
    * Returning a promise, making callbak optional
    Samuel Tilly committed Jun 27, 2016
    Configuration menu
    Copy the full SHA
    f06df51 View commit details
    Browse the repository at this point in the history
  2. made option parsing a function

    Samuel Tilly committed Jun 27, 2016
    Configuration menu
    Copy the full SHA
    c140565 View commit details
    Browse the repository at this point in the history
  3. fix typo

    Samuel Tilly committed Jun 27, 2016
    Configuration menu
    Copy the full SHA
    05f73d4 View commit details
    Browse the repository at this point in the history
  4. update node requirement to latest lts

    Samuel Tilly committed Jun 27, 2016
    Configuration menu
    Copy the full SHA
    0bf2cdd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b3005be View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2016

  1. Rewrite html.js

    * Added suport for srcset
    * Added promise response
    * Removed async
    * Removed lodash
    * Removed xtend
    * Use htmlparser2 instead of regex
    * Respect original attributes
    * Use htmlparse2 for generating valid output
    Samuel Tilly committed Jun 28, 2016
    Configuration menu
    Copy the full SHA
    d84da3c View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2016

  1. do not publish tests

    Samuel Tilly committed Jun 29, 2016
    Configuration menu
    Copy the full SHA
    415dace View commit details
    Browse the repository at this point in the history
  2. only return promise when there is no callback

    Samuel Tilly committed Jun 29, 2016
    Configuration menu
    Copy the full SHA
    304191e View commit details
    Browse the repository at this point in the history
  3. Precalculate sources for HTML

    Samuel Tilly committed Jun 29, 2016
    Configuration menu
    Copy the full SHA
    3bd61c6 View commit details
    Browse the repository at this point in the history
  4. Use fs.readFile instead of fs.readFileSync

    Samuel Tilly committed Jun 29, 2016
    Configuration menu
    Copy the full SHA
    2bb0077 View commit details
    Browse the repository at this point in the history
  5. Faster CSS parsing

    * Lookup inlineAttribute on initial serach
    * Only replace content of url()
    Samuel Tilly committed Jun 29, 2016
    Configuration menu
    Copy the full SHA
    6590c9d View commit details
    Browse the repository at this point in the history
  6. remove unused code

    Samuel Tilly committed Jun 29, 2016
    Configuration menu
    Copy the full SHA
    b08a3d9 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2016

  1. Added support for srcset

    * Make sure to ignore CID paths
    Samuel Tilly committed Jun 30, 2016
    Configuration menu
    Copy the full SHA
    6e83253 View commit details
    Browse the repository at this point in the history
  2. Fix test issues

    * Correctly opt-in for sources
    * Fix issue with svg sources
    * Re-added xtend dependency
    Samuel Tilly committed Jun 30, 2016
    Configuration menu
    Copy the full SHA
    b2ad935 View commit details
    Browse the repository at this point in the history