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

Migrate to ES6 #496

Merged
merged 41 commits into from
Feb 21, 2016
Merged

Migrate to ES6 #496

merged 41 commits into from
Feb 21, 2016

Commits on Feb 11, 2016

  1. Replace jshint with eslint

    forabi committed Feb 11, 2016
    Configuration menu
    Copy the full SHA
    61906f0 View commit details
    Browse the repository at this point in the history
  2. Migrate to ES6

    * Move each validation function to its own module, so you can now require only the functions you need e.g. require('validator/isEmail') instead of bundling the whole library in your scripts.
    * Use babel to build for node
    * Use rollup to generate an optimized browser bundle in umd format
    * Use npm scripts instead of make.
    forabi committed Feb 11, 2016
    1 Configuration menu
    Copy the full SHA
    d369a39 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5dc5c24 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0ebb3b4 View commit details
    Browse the repository at this point in the history
  5. Restore test for AMD

    * define is a giant hack, looks like it will handle everything you throw
    at it
    * Here is the implementation https://github.com/jrburke/requirejs/blob/a1da39714bc3eea9ab85c77e47d544e815e2699f/require.js#L2049
    forabi committed Feb 11, 2016
    Configuration menu
    Copy the full SHA
    2487421 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2016

  1. Configuration menu
    Copy the full SHA
    95f853b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9b73512 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    150667d View commit details
    Browse the repository at this point in the history
  4. Tidy up npm scripts

    * build no longer runs tests or cleans broken builds
    * add clean:browser and clean:node
    * add minify runs uglifyjs to generate validator.min.js
    * add pretest (alias to build) which is run automatically before tests
    * build-browser => build:browser
    * build-node => build:node
    * build:browser now eliminates dead code for unminified build
    forabi committed Feb 12, 2016
    Configuration menu
    Copy the full SHA
    51aaaa9 View commit details
    Browse the repository at this point in the history
  5. Update builds

    forabi committed Feb 12, 2016
    Configuration menu
    Copy the full SHA
    d5d53fe View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2016

  1. Configuration menu
    Copy the full SHA
    daa442a View commit details
    Browse the repository at this point in the history
  2. Revert version number

    forabi committed Feb 13, 2016
    Configuration menu
    Copy the full SHA
    8aa4a57 View commit details
    Browse the repository at this point in the history
  3. Add for-in guard

    forabi committed Feb 13, 2016
    Configuration menu
    Copy the full SHA
    238248a View commit details
    Browse the repository at this point in the history
  4. Revert depd version

    forabi committed Feb 13, 2016
    Configuration menu
    Copy the full SHA
    850286d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7832ee3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1a264a0 View commit details
    Browse the repository at this point in the history
  7. Remove coersion test

    forabi committed Feb 13, 2016
    Configuration menu
    Copy the full SHA
    ad5c980 View commit details
    Browse the repository at this point in the history
  8. 1 Configuration menu
    Copy the full SHA
    c9efde6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    760015d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3cdb173 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    2a3a92d View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    81337be View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    0283443 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    bd5e68b View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    5197625 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    11c98c8 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    e53389a View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2016

  1. Keep things simple

    forabi committed Feb 14, 2016
    Configuration menu
    Copy the full SHA
    bf9232a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eaf5088 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2016

  1. assertString throw a TypeError

    forabi committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    e25b884 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a2c4471 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2016

  1. Configuration menu
    Copy the full SHA
    8b84882 View commit details
    Browse the repository at this point in the history
  2. Lint tests

    forabi committed Feb 16, 2016
    Configuration menu
    Copy the full SHA
    369b753 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    95f355c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e44ca88 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2016

  1. Prefer template strings

    forabi committed Feb 20, 2016
    Configuration menu
    Copy the full SHA
    f919358 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2016

  1. Upgrade to ESLint 2, remove unnecessary deps

    * Note: Looks like ESLint 2 has a bug with the rule "prefer-const", so it is disabled for now
    forabi committed Feb 21, 2016
    Configuration menu
    Copy the full SHA
    af94fb7 View commit details
    Browse the repository at this point in the history
  2. Remove old ESLint config file

    forabi committed Feb 21, 2016
    Configuration menu
    Copy the full SHA
    b1ff8bc View commit details
    Browse the repository at this point in the history
  3. Fix ESLint config

    forabi committed Feb 21, 2016
    Configuration menu
    Copy the full SHA
    bf16624 View commit details
    Browse the repository at this point in the history
  4. Rebase on 4.9.0

    forabi committed Feb 21, 2016
    Configuration menu
    Copy the full SHA
    be9fb9c View commit details
    Browse the repository at this point in the history
  5. Fix README.md

    forabi committed Feb 21, 2016
    1 Configuration menu
    Copy the full SHA
    a33b64b View commit details
    Browse the repository at this point in the history