Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Feb 7, 2015
  1. @gotwarlost

    Merge pull request #306 from gustavnikolaj/feature/colorizedOutput

    gotwarlost authored
    use supports-color module
Commits on Feb 2, 2015
  1. @gustavnikolaj

    use supports-color module

    gustavnikolaj authored
    To check if colors should be used or not.
    
    It allows you to force colors through the use of command line flags.
    
    See https://github.com/sindresorhus/supports-color/blob/2ae39320b7ca26c2803b4da531ed9bbcc40d78a3/index.js#L11
Commits on Jan 11, 2015
  1. @gotwarlost

    Merge pull request #234 from dougwilson/fix/portable-tests

    gotwarlost authored
    Fix tests to be portable to Windows
Commits on Jan 10, 2015
  1. @gotwarlost

    Merge pull request #288 from robatron/patch-1

    gotwarlost authored
    "Instrument code" API example correction
  2. @gotwarlost

    Merge pull request #292 from booleangate/master

    gotwarlost authored
    Extracted embedded CSS and JavaScript and made them external files.
Commits on Jan 5, 2015
  1. @booleangate

    Extracted embedded CSS and JavaScript and made them external files. T…

    booleangate authored
    …his dramatically decreases sum file size for HTML reports
Commits on Dec 22, 2014
  1. @robatron

    "Instrument code" API example correction

    robatron authored
    Executing the ["Instrument code" API example](https://github.com/gotwarlost/istanbul#instrument-code) code yields the following error:
    
    ```sh
    /Users/rob/code/istanbul/instrument-code.js:3
    var generatedCode = instrumenter.instrumentSync('function meaningOfLife() { re
                                     ^
    TypeError: Cannot call method 'instrumentSync' of undefined
        at Object.<anonymous> (/Users/rob/code/istanbul/instrument-code.js:3:34)
        at Module._compile (module.js:456:26)
        at Object.Module._extensions..js (module.js:474:10)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:312:12)
        at Function.Module.runMain (module.js:497:10)
        at startup (node.js:119:16)
        at node.js:906:3
    ```
    
    This PR corrects the error by separating the `istanbul` import, and the `Instrumenter` instantiation.
Commits on Dec 7, 2014
  1. @gotwarlost
Commits on Dec 6, 2014
  1. @gotwarlost
Commits on Dec 4, 2014
  1. @gotwarlost

    Merge pull request #275 from gustavnikolaj/feature/includeAllNonExclu…

    gotwarlost authored
    …dedFilesInReport
    
    Include all source files in the report
  2. @gustavnikolaj
  3. @gustavnikolaj
  4. @gustavnikolaj
  5. @gustavnikolaj
  6. @gustavnikolaj

    include all source files in the report

    gustavnikolaj authored
    hidden behind the --include-all-sources flag
    
    After the coverage report has been built, manually instrument the files
    which have not been visited already, and add those to the report.
    
    When instrumenting the code manually, reset the count in the coverState
    object. FunctionDeclaration is given a visit number of 1 when
    instrumenting to compensate for function hoisting. We don't want that
    in this case, as the file was not actually loaded.
Commits on Dec 3, 2014
  1. @gotwarlost

    Merge pull request #280 from andrewrk/master

    gotwarlost authored
    get rid of preferGlobal in package.json
  2. @gotwarlost

    Merge pull request #258 from denis-sokolov/jshint-config

    gotwarlost authored
    Move jshint config into a separate file
  3. @andrewrk
  4. @gotwarlost
  5. @gotwarlost

    Merge pull request #219 from dougwilson/fix/symlinks

    gotwarlost authored
    Support reporting within symlink/junction
  6. @gotwarlost
  7. @gotwarlost

    Merge pull request #268 from FormidableLabs/feature-per-file-coverage…

    gotwarlost authored
    …-final
    
    Add per-file / config-based coverage enforcement.
Commits on Oct 23, 2014
  1. @ryan-roemer
Commits on Sep 16, 2014
  1. @denis-sokolov

    Move jshint config into a separate file

    denis-sokolov authored
    It seems better for clarity to store different things in different places.
    package.json is already a big and complicated file, and .jshintrc is
    a special file precisely for storing this configuration.
    
    Not to mention that jshint authors themselves have switched away
    from using jshintConfig key:
    jshint/jshint@91bf14d
  2. @denis-sokolov
  3. @gotwarlost

    Merge pull request #257 from denis-sokolov/license

    gotwarlost authored
    Add explicit license tag to the package meta-data
  4. @denis-sokolov

    Add explicit license tag to the package meta-data

    denis-sokolov authored
    This tag allows automated tools to detect a correct license for the package.
Commits on Sep 4, 2014
  1. @gotwarlost
  2. @gotwarlost

    Change order of walk for the children of a do-while statement, fixes #…

    gotwarlost authored
    …249
    
    * Add test
    * Fix walk order
    * Up changelog, version
Commits on Aug 4, 2014
  1. @gotwarlost

    Merge pull request #235 from wlabranche/patch-1

    gotwarlost authored
    Update README.md
  2. @wlabranche

    Update README.md

    wlabranche authored
    Changed 'writeReport' to 'write' as shown here: http://gotwarlost.github.io/istanbul/public/apidocs/classes/Reporter.html. 'writeReport' is a method of Istanbul's 'Report' class and 'write' is the corresponding method of 'Reporter'.
    
    Great module by the way.
Commits on Aug 3, 2014
  1. @dougwilson

    Support reporting within symlink/junction

    dougwilson authored
    This changes the matcher for source files to get the file list as
    real paths (resolving links) such that when the matcher checks if
    the file is covered from the Node.js core module path, it actually
    matches, since it uses realpath.
  2. @dougwilson
Commits on Jul 30, 2014
  1. @gotwarlost

    Merge pull request #226 from math-nao/master

    gotwarlost authored
    Add nodejs 0.6 support.
Commits on Jul 25, 2014
  1. @gotwarlost

    Merge pull request #224 from piuccio/performance

    gotwarlost authored
    Faster file writer
Something went wrong with that request. Please try again.