Ignore:
Timestamp:
03/14/14 12:36:58 (11 years ago)
Author:
hendrikvanantwerpen
Message:

Enable deployment with Grunt.

Location:
Dev/trunk
Files:
3 added
16 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk

    • Property svn:ignore
      •  

        old new  
        11build
        2 quod-erat.git
  • Dev/trunk/node_modules/mocha/node_modules/commander/package.json

    r484 r516  
    3535  "homepage": "https://github.com/visionmedia/commander.js",
    3636  "_id": "commander@2.0.0",
    37   "dist": {
    38     "shasum": "45ba4f69d428bc6178e81d200893e6c3d103eb8b"
    39   },
    40   "_from": "commander@2.0.0",
    41   "_resolved": "https://registry.npmjs.org/commander/-/commander-2.0.0.tgz"
     37  "_from": "commander@2.0.0"
    4238}
  • Dev/trunk/node_modules/mocha/node_modules/debug/package.json

    r484 r516  
    4343  "homepage": "https://github.com/visionmedia/debug",
    4444  "_id": "debug@0.7.4",
    45   "dist": {
    46     "shasum": "6283150882c46779d1f025aa25cf9953001b33b8"
    47   },
    48   "_from": "debug@*",
    49   "_resolved": "https://registry.npmjs.org/debug/-/debug-0.7.4.tgz"
     45  "_from": "debug@*"
    5046}
  • Dev/trunk/node_modules/mocha/node_modules/diff/package.json

    r484 r516  
    3333  "main": "./diff",
    3434  "scripts": {
    35     "test": "node_modules/.bin/mocha test/*.js"
     35    "test": "mocha test/*.js"
    3636  },
    3737  "dependencies": {},
     
    4848  "homepage": "https://github.com/kpdecker/jsdiff",
    4949  "_id": "diff@1.0.7",
    50   "dist": {
    51     "shasum": "bc32d3a6173e197f3eff7fe82ab81b821da8909a"
    52   },
    53   "_from": "diff@1.0.7",
    54   "_resolved": "https://registry.npmjs.org/diff/-/diff-1.0.7.tgz"
     50  "_from": "diff@1.0.7"
    5551}
  • Dev/trunk/node_modules/mocha/node_modules/glob/node_modules/graceful-fs/graceful-fs.js

    r484 r516  
    8787
    8888ReaddirReq.prototype.done = function(er, files) {
     89  if (files && files.sort)
     90    files = files.sort()
    8991  Req.prototype.done.call(this, er, files)
    9092  onclose()
  • Dev/trunk/node_modules/mocha/node_modules/glob/node_modules/graceful-fs/package.json

    r484 r516  
    77  "name": "graceful-fs",
    88  "description": "A drop-in replacement for fs, making various improvements.",
    9   "version": "2.0.1",
     9  "version": "2.0.2",
    1010  "repository": {
    1111    "type": "git",
     
    4545  },
    4646  "homepage": "https://github.com/isaacs/node-graceful-fs",
    47   "_id": "graceful-fs@2.0.1",
    48   "_from": "graceful-fs@~2"
     47  "_id": "graceful-fs@2.0.2",
     48  "_from": "graceful-fs@~2.0.0"
    4949}
  • Dev/trunk/node_modules/mocha/node_modules/glob/node_modules/minimatch/README.md

    r484 r516  
    2020minimatch("bar.foo", "*.foo") // true!
    2121minimatch("bar.foo", "*.bar") // false!
     22minimatch("bar.foo", "*.+(bar|foo)", { debug: true }) // true, and noisy!
    2223```
    2324
     
    3637* `man 3 fnmatch`
    3738* `man 5 gitignore`
    38 
    39 ### Comparisons to other fnmatch/glob implementations
    40 
    41 While strict compliance with the existing standards is a worthwhile
    42 goal, some discrepancies exist between minimatch and other
    43 implementations, and are intentional.
    44 
    45 If the pattern starts with a `!` character, then it is negated.  Set the
    46 `nonegate` flag to suppress this behavior, and treat leading `!`
    47 characters normally.  This is perhaps relevant if you wish to start the
    48 pattern with a negative extglob pattern like `!(a|B)`.  Multiple `!`
    49 characters at the start of a pattern will negate the pattern multiple
    50 times.
    51 
    52 If a pattern starts with `#`, then it is treated as a comment, and
    53 will not match anything.  Use `\#` to match a literal `#` at the
    54 start of a line, or set the `nocomment` flag to suppress this behavior.
    55 
    56 The double-star character `**` is supported by default, unless the
    57 `noglobstar` flag is set.  This is supported in the manner of bsdglob
    58 and bash 4.1, where `**` only has special significance if it is the only
    59 thing in a path part.  That is, `a/**/b` will match `a/x/y/b`, but
    60 `a/**b` will not.  **Note that this is different from the way that `**` is
    61 handled by ruby's `Dir` class.**
    62 
    63 If an escaped pattern has no matches, and the `nonull` flag is set,
    64 then minimatch.match returns the pattern as-provided, rather than
    65 interpreting the character escapes.  For example,
    66 `minimatch.match([], "\\*a\\?")` will return `"\\*a\\?"` rather than
    67 `"*a?"`.  This is akin to setting the `nullglob` option in bash, except
    68 that it does not resolve escaped pattern characters.
    69 
    70 If brace expansion is not disabled, then it is performed before any
    71 other interpretation of the glob pattern.  Thus, a pattern like
    72 `+(a|{b),c)}`, which would not be valid in bash or zsh, is expanded
    73 **first** into the set of `+(a|b)` and `+(a|c)`, and those patterns are
    74 checked for validity.  Since those two are valid, matching proceeds.
    75 
    7639
    7740## Minimatch Class
     
    217180Returns from negate expressions the same as if they were not negated.
    218181(Ie, true on a hit, false on a miss.)
     182
     183
     184## Comparisons to other fnmatch/glob implementations
     185
     186While strict compliance with the existing standards is a worthwhile
     187goal, some discrepancies exist between minimatch and other
     188implementations, and are intentional.
     189
     190If the pattern starts with a `!` character, then it is negated.  Set the
     191`nonegate` flag to suppress this behavior, and treat leading `!`
     192characters normally.  This is perhaps relevant if you wish to start the
     193pattern with a negative extglob pattern like `!(a|B)`.  Multiple `!`
     194characters at the start of a pattern will negate the pattern multiple
     195times.
     196
     197If a pattern starts with `#`, then it is treated as a comment, and
     198will not match anything.  Use `\#` to match a literal `#` at the
     199start of a line, or set the `nocomment` flag to suppress this behavior.
     200
     201The double-star character `**` is supported by default, unless the
     202`noglobstar` flag is set.  This is supported in the manner of bsdglob
     203and bash 4.1, where `**` only has special significance if it is the only
     204thing in a path part.  That is, `a/**/b` will match `a/x/y/b`, but
     205`a/**b` will not.
     206
     207If an escaped pattern has no matches, and the `nonull` flag is set,
     208then minimatch.match returns the pattern as-provided, rather than
     209interpreting the character escapes.  For example,
     210`minimatch.match([], "\\*a\\?")` will return `"\\*a\\?"` rather than
     211`"*a?"`.  This is akin to setting the `nullglob` option in bash, except
     212that it does not resolve escaped pattern characters.
     213
     214If brace expansion is not disabled, then it is performed before any
     215other interpretation of the glob pattern.  Thus, a pattern like
     216`+(a|{b),c)}`, which would not be valid in bash or zsh, is expanded
     217**first** into the set of `+(a|b)` and `+(a|c)`, and those patterns are
     218checked for validity.  Since those two are valid, matching proceeds.
  • Dev/trunk/node_modules/mocha/node_modules/glob/node_modules/minimatch/minimatch.js

    r484 r516  
    6969var slashSplit = /\/+/
    7070
    71 minimatch.monkeyPatch = monkeyPatch
    72 function monkeyPatch () {
    73   var desc = Object.getOwnPropertyDescriptor(String.prototype, "match")
    74   var orig = desc.value
    75   desc.value = function (p) {
    76     if (p instanceof Minimatch) return p.match(this)
    77     return orig.call(this, p)
    78   }
    79   Object.defineProperty(String.prototype, desc)
    80 }
    81 
    8271minimatch.filter = filter
    8372function filter (pattern, options) {
     
    179168}
    180169
     170Minimatch.prototype.debug = function() {}
     171
    181172Minimatch.prototype.make = make
    182173function make () {
     
    203194  var set = this.globSet = this.braceExpand()
    204195
    205   if (options.debug) console.error(this.pattern, set)
     196  if (options.debug) this.debug = console.error
     197
     198  this.debug(this.pattern, set)
    206199
    207200  // step 3: now we have a set, so turn each one into a series of path-portion
     
    214207  })
    215208
    216   if (options.debug) console.error(this.pattern, set)
     209  this.debug(this.pattern, set)
    217210
    218211  // glob --> regexps
     
    221214  }, this)
    222215
    223   if (options.debug) console.error(this.pattern, set)
     216  this.debug(this.pattern, set)
    224217
    225218  // filter out everything that didn't compile properly.
     
    228221  })
    229222
    230   if (options.debug) console.error(this.pattern, set)
     223  this.debug(this.pattern, set)
    231224
    232225  this.set = set
     
    303296  // and then prepend it to everything we find.
    304297  if (pattern.charAt(0) !== "{") {
    305     // console.error(pattern)
     298    this.debug(pattern)
    306299    var prefix = null
    307300    for (var i = 0, l = pattern.length; i < l; i ++) {
    308301      var c = pattern.charAt(i)
    309       // console.error(i, c)
     302      this.debug(i, c)
    310303      if (c === "\\") {
    311304        escaping = !escaping
     
    318311    // actually no sets, all { were escaped.
    319312    if (prefix === null) {
    320       // console.error("no sets")
     313      this.debug("no sets")
    321314      return [pattern]
    322315    }
    323316
    324     var tail = braceExpand(pattern.substr(i), options)
     317   var tail = braceExpand.call(this, pattern.substr(i), options)
    325318    return tail.map(function (t) {
    326319      return prefix + t
     
    337330  var numset = pattern.match(/^\{(-?[0-9]+)\.\.(-?[0-9]+)\}/)
    338331  if (numset) {
    339     // console.error("numset", numset[1], numset[2])
    340     var suf = braceExpand(pattern.substr(numset[0].length), options)
     332    this.debug("numset", numset[1], numset[2])
     333    var suf = braceExpand.call(this, pattern.substr(numset[0].length), options)
    341334      , start = +numset[1]
    342335      , end = +numset[2]
     
    370363  }
    371364
    372   // console.error("Entering for")
     365  this.debug("Entering for")
    373366  FOR: for (i = 1, l = pattern.length; i < l; i ++) {
    374367    var c = pattern.charAt(i)
    375     // console.error("", i, c)
     368    this.debug("", i, c)
    376369
    377370    if (escaping) {
     
    421414  // and need to escape the leading brace
    422415  if (depth !== 0) {
    423     // console.error("didn't close", pattern)
    424     return braceExpand("\\" + pattern, options)
     416    this.debug("didn't close", pattern)
     417    return braceExpand.call(this, "\\" + pattern, options)
    425418  }
    426419
    427420  // x{y,z} -> ["xy", "xz"]
    428   // console.error("set", set)
    429   // console.error("suffix", pattern.substr(i))
    430   var suf = braceExpand(pattern.substr(i), options)
     421  this.debug("set", set)
     422  this.debug("suffix", pattern.substr(i))
     423  var suf = braceExpand.call(this, pattern.substr(i), options)
    431424  // ["b", "c{d,e}","{f,g}h"] ->
    432425  //   [["b"], ["cd", "ce"], ["fh", "gh"]]
    433426  var addBraces = set.length === 1
    434   // console.error("set pre-expanded", set)
     427  this.debug("set pre-expanded", set)
    435428  set = set.map(function (p) {
    436     return braceExpand(p, options)
    437   })
    438   // console.error("set expanded", set)
     429    return braceExpand.call(this, p, options)
     430  }, this)
     431  this.debug("set expanded", set)
    439432
    440433
     
    497490      : options.dot ? "(?!(?:^|\\\/)\\.{1,2}(?:$|\\\/))"
    498491      : "(?!\\.)"
     492    , self = this
    499493
    500494  function clearStateChar () {
     
    515509          break
    516510      }
     511      self.debug('clearStateChar %j %j', stateChar, re)
    517512      stateChar = false
    518513    }
     
    523518      ; i ++ ) {
    524519
    525     if (options.debug) {
    526       console.error("%s\t%s %s %j", pattern, i, re, c)
    527     }
     520    this.debug("%s\t%s %s %j", pattern, i, re, c)
    528521
    529522    // skip over any that are escaped.
     
    552545      case "@":
    553546      case "!":
    554         if (options.debug) {
    555           console.error("%s\t%s %s %j <-- stateChar", pattern, i, re, c)
    556         }
     547        this.debug("%s\t%s %s %j <-- stateChar", pattern, i, re, c)
    557548
    558549        // all of those are literals inside a class, except that
    559550        // the glob [!a] means [^a] in regexp
    560551        if (inClass) {
     552          this.debug('  in class')
    561553          if (c === "!" && i === classStart + 1) c = "^"
    562554          re += c
     
    567559        // that there was something like ** or +? in there.
    568560        // Handle the stateChar, then proceed with this one.
     561        self.debug('call clearStateChar %j', stateChar)
    569562        clearStateChar()
    570563        stateChar = c
     
    592585        // negation is (?:(?!js)[^/]*)
    593586        re += stateChar === "!" ? "(?:(?!" : "(?:"
     587        this.debug('plType %j %j', stateChar, re)
    594588        stateChar = false
    595589        continue
     
    601595        }
    602596
     597        clearStateChar()
    603598        hasMagic = true
    604599        re += ")"
     
    624619        }
    625620
     621        clearStateChar()
    626622        re += "|"
    627623        continue
     
    716712    })
    717713
    718     // console.error("tail=%j\n   %s", tail, tail)
     714    this.debug("tail=%j\n   %s", tail, tail)
    719715    var t = pl.type === "*" ? star
    720716          : pl.type === "?" ? qmark
     
    830826Minimatch.prototype.match = match
    831827function match (f, partial) {
    832   // console.error("match", f, this.pattern)
     828  this.debug("match", f, this.pattern)
    833829  // short-circuit in the case of busted things.
    834830  // comments, etc.
     
    848844  // treat the test path as a set of pathparts.
    849845  f = f.split(slashSplit)
    850   if (options.debug) {
    851     console.error(this.pattern, "split", f)
    852   }
     846  this.debug(this.pattern, "split", f)
    853847
    854848  // just ONE of the pattern sets in this.set needs to match
     
    858852
    859853  var set = this.set
    860   // console.error(this.pattern, "set", set)
     854  this.debug(this.pattern, "set", set)
     855
     856  var splitFile = path.basename(f.join("/")).split("/")
    861857
    862858  for (var i = 0, l = set.length; i < l; i ++) {
    863     var pattern = set[i]
    864     var hit = this.matchOne(f, pattern, partial)
     859    var pattern = set[i], file = f
     860    if (options.matchBase && pattern.length === 1) {
     861      file = splitFile
     862    }
     863    var hit = this.matchOne(file, pattern, partial)
    865864    if (hit) {
    866865      if (options.flipNegate) return true
     
    883882  var options = this.options
    884883
    885   if (options.debug) {
    886     console.error("matchOne",
    887                   { "this": this
    888                   , file: file
    889                   , pattern: pattern })
    890   }
    891 
    892   if (options.matchBase && pattern.length === 1) {
    893     file = path.basename(file.join("/")).split("/")
    894   }
    895 
    896   if (options.debug) {
    897     console.error("matchOne", file.length, pattern.length)
    898   }
     884  this.debug("matchOne",
     885              { "this": this
     886              , file: file
     887              , pattern: pattern })
     888
     889  this.debug("matchOne", file.length, pattern.length)
    899890
    900891  for ( var fi = 0
     
    905896      ; fi ++, pi ++ ) {
    906897
    907     if (options.debug) {
    908       console.error("matchOne loop")
    909     }
     898    this.debug("matchOne loop")
    910899    var p = pattern[pi]
    911900      , f = file[fi]
    912901
    913     if (options.debug) {
    914       console.error(pattern, p, f)
    915     }
     902    this.debug(pattern, p, f)
    916903
    917904    // should be impossible.
     
    920907
    921908    if (p === GLOBSTAR) {
    922       if (options.debug)
    923         console.error('GLOBSTAR', [pattern, p, f])
     909      this.debug('GLOBSTAR', [pattern, p, f])
    924910
    925911      // "**"
     
    948934        , pr = pi + 1
    949935      if (pr === pl) {
    950         if (options.debug)
    951           console.error('** at the end')
     936        this.debug('** at the end')
    952937        // a ** at the end will just swallow the rest.
    953938        // We have found a match.
     
    967952        var swallowee = file[fr]
    968953
    969         if (options.debug) {
    970           console.error('\nglobstar while',
    971                         file, fr, pattern, pr, swallowee)
    972         }
     954        this.debug('\nglobstar while',
     955                    file, fr, pattern, pr, swallowee)
    973956
    974957        // XXX remove this slice.  Just pass the start index.
    975958        if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) {
    976           if (options.debug)
    977             console.error('globstar found match!', fr, fl, swallowee)
     959          this.debug('globstar found match!', fr, fl, swallowee)
    978960          // found a match.
    979961          return true
     
    983965          if (swallowee === "." || swallowee === ".." ||
    984966              (!options.dot && swallowee.charAt(0) === ".")) {
    985             if (options.debug)
    986               console.error("dot detected!", file, fr, pattern, pr)
     967            this.debug("dot detected!", file, fr, pattern, pr)
    987968            break WHILE
    988969          }
    989970
    990971          // ** swallows a segment, and continue.
    991           if (options.debug)
    992             console.error('globstar swallow a segment, and continue')
     972          this.debug('globstar swallow a segment, and continue')
    993973          fr ++
    994974        }
     
    999979      if (partial) {
    1000980        // ran out of file
    1001         // console.error("\n>>> no match, partial?", file, fr, pattern, pr)
     981        this.debug("\n>>> no match, partial?", file, fr, pattern, pr)
    1002982        if (fr === fl) return true
    1003983      }
     
    1015995        hit = f === p
    1016996      }
    1017       if (options.debug) {
    1018         console.error("string match", p, f, hit)
    1019       }
     997      this.debug("string match", p, f, hit)
    1020998    } else {
    1021999      hit = f.match(p)
    1022       if (options.debug) {
    1023         console.error("pattern match", p, f, hit)
    1024       }
     1000      this.debug("pattern match", p, f, hit)
    10251001    }
    10261002
  • Dev/trunk/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/package.json

    r484 r516  
    3030  "homepage": "https://github.com/isaacs/node-lru-cache",
    3131  "_id": "lru-cache@2.5.0",
    32   "dist": {
    33     "shasum": "be07d09e5b05f10b83d0cf01d4891a7729288c69"
    34   },
    35   "_from": "lru-cache@2",
    36   "_resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.5.0.tgz"
     32  "_from": "lru-cache@2"
    3733}
  • Dev/trunk/node_modules/mocha/node_modules/glob/node_modules/minimatch/package.json

    r484 r516  
    77  "name": "minimatch",
    88  "description": "a glob matcher in javascript",
    9   "version": "0.2.12",
     9  "version": "0.2.14",
    1010  "repository": {
    1111    "type": "git",
     
    1414  "main": "minimatch.js",
    1515  "scripts": {
    16     "test": "tap test"
     16    "test": "tap test/*.js"
    1717  },
    1818  "engines": {
     
    3030    "url": "http://github.com/isaacs/minimatch/raw/master/LICENSE"
    3131  },
    32   "readme": "# minimatch\n\nA minimal matching utility.\n\n[![Build Status](https://secure.travis-ci.org/isaacs/minimatch.png)](http://travis-ci.org/isaacs/minimatch)\n\n\nThis is the matching library used internally by npm.\n\nEventually, it will replace the C binding in node-glob.\n\nIt works by converting glob expressions into JavaScript `RegExp`\nobjects.\n\n## Usage\n\n```javascript\nvar minimatch = require(\"minimatch\")\n\nminimatch(\"bar.foo\", \"*.foo\") // true!\nminimatch(\"bar.foo\", \"*.bar\") // false!\n```\n\n## Features\n\nSupports these glob features:\n\n* Brace Expansion\n* Extended glob matching\n* \"Globstar\" `**` matching\n\nSee:\n\n* `man sh`\n* `man bash`\n* `man 3 fnmatch`\n* `man 5 gitignore`\n\n### Comparisons to other fnmatch/glob implementations\n\nWhile strict compliance with the existing standards is a worthwhile\ngoal, some discrepancies exist between minimatch and other\nimplementations, and are intentional.\n\nIf the pattern starts with a `!` character, then it is negated.  Set the\n`nonegate` flag to suppress this behavior, and treat leading `!`\ncharacters normally.  This is perhaps relevant if you wish to start the\npattern with a negative extglob pattern like `!(a|B)`.  Multiple `!`\ncharacters at the start of a pattern will negate the pattern multiple\ntimes.\n\nIf a pattern starts with `#`, then it is treated as a comment, and\nwill not match anything.  Use `\\#` to match a literal `#` at the\nstart of a line, or set the `nocomment` flag to suppress this behavior.\n\nThe double-star character `**` is supported by default, unless the\n`noglobstar` flag is set.  This is supported in the manner of bsdglob\nand bash 4.1, where `**` only has special significance if it is the only\nthing in a path part.  That is, `a/**/b` will match `a/x/y/b`, but\n`a/**b` will not.  **Note that this is different from the way that `**` is\nhandled by ruby's `Dir` class.**\n\nIf an escaped pattern has no matches, and the `nonull` flag is set,\nthen minimatch.match returns the pattern as-provided, rather than\ninterpreting the character escapes.  For example,\n`minimatch.match([], \"\\\\*a\\\\?\")` will return `\"\\\\*a\\\\?\"` rather than\n`\"*a?\"`.  This is akin to setting the `nullglob` option in bash, except\nthat it does not resolve escaped pattern characters.\n\nIf brace expansion is not disabled, then it is performed before any\nother interpretation of the glob pattern.  Thus, a pattern like\n`+(a|{b),c)}`, which would not be valid in bash or zsh, is expanded\n**first** into the set of `+(a|b)` and `+(a|c)`, and those patterns are\nchecked for validity.  Since those two are valid, matching proceeds.\n\n\n## Minimatch Class\n\nCreate a minimatch object by instanting the `minimatch.Minimatch` class.\n\n```javascript\nvar Minimatch = require(\"minimatch\").Minimatch\nvar mm = new Minimatch(pattern, options)\n```\n\n### Properties\n\n* `pattern` The original pattern the minimatch object represents.\n* `options` The options supplied to the constructor.\n* `set` A 2-dimensional array of regexp or string expressions.\n  Each row in the\n  array corresponds to a brace-expanded pattern.  Each item in the row\n  corresponds to a single path-part.  For example, the pattern\n  `{a,b/c}/d` would expand to a set of patterns like:\n\n        [ [ a, d ]\n        , [ b, c, d ] ]\n\n    If a portion of the pattern doesn't have any \"magic\" in it\n    (that is, it's something like `\"foo\"` rather than `fo*o?`), then it\n    will be left as a string rather than converted to a regular\n    expression.\n\n* `regexp` Created by the `makeRe` method.  A single regular expression\n  expressing the entire pattern.  This is useful in cases where you wish\n  to use the pattern somewhat like `fnmatch(3)` with `FNM_PATH` enabled.\n* `negate` True if the pattern is negated.\n* `comment` True if the pattern is a comment.\n* `empty` True if the pattern is `\"\"`.\n\n### Methods\n\n* `makeRe` Generate the `regexp` member if necessary, and return it.\n  Will return `false` if the pattern is invalid.\n* `match(fname)` Return true if the filename matches the pattern, or\n  false otherwise.\n* `matchOne(fileArray, patternArray, partial)` Take a `/`-split\n  filename, and match it against a single row in the `regExpSet`.  This\n  method is mainly for internal use, but is exposed so that it can be\n  used by a glob-walker that needs to avoid excessive filesystem calls.\n\nAll other methods are internal, and will be called as necessary.\n\n## Functions\n\nThe top-level exported function has a `cache` property, which is an LRU\ncache set to store 100 items.  So, calling these methods repeatedly\nwith the same pattern and options will use the same Minimatch object,\nsaving the cost of parsing it multiple times.\n\n### minimatch(path, pattern, options)\n\nMain export.  Tests a path against the pattern using the options.\n\n```javascript\nvar isJS = minimatch(file, \"*.js\", { matchBase: true })\n```\n\n### minimatch.filter(pattern, options)\n\nReturns a function that tests its\nsupplied argument, suitable for use with `Array.filter`.  Example:\n\n```javascript\nvar javascripts = fileList.filter(minimatch.filter(\"*.js\", {matchBase: true}))\n```\n\n### minimatch.match(list, pattern, options)\n\nMatch against the list of\nfiles, in the style of fnmatch or glob.  If nothing is matched, and\noptions.nonull is set, then return a list containing the pattern itself.\n\n```javascript\nvar javascripts = minimatch.match(fileList, \"*.js\", {matchBase: true}))\n```\n\n### minimatch.makeRe(pattern, options)\n\nMake a regular expression object from the pattern.\n\n## Options\n\nAll options are `false` by default.\n\n### debug\n\nDump a ton of stuff to stderr.\n\n### nobrace\n\nDo not expand `{a,b}` and `{1..3}` brace sets.\n\n### noglobstar\n\nDisable `**` matching against multiple folder names.\n\n### dot\n\nAllow patterns to match filenames starting with a period, even if\nthe pattern does not explicitly have a period in that spot.\n\nNote that by default, `a/**/b` will **not** match `a/.d/b`, unless `dot`\nis set.\n\n### noext\n\nDisable \"extglob\" style patterns like `+(a|b)`.\n\n### nocase\n\nPerform a case-insensitive match.\n\n### nonull\n\nWhen a match is not found by `minimatch.match`, return a list containing\nthe pattern itself.  When set, an empty list is returned if there are\nno matches.\n\n### matchBase\n\nIf set, then patterns without slashes will be matched\nagainst the basename of the path if it contains slashes.  For example,\n`a?b` would match the path `/xyz/123/acb`, but not `/xyz/acb/123`.\n\n### nocomment\n\nSuppress the behavior of treating `#` at the start of a pattern as a\ncomment.\n\n### nonegate\n\nSuppress the behavior of treating a leading `!` character as negation.\n\n### flipNegate\n\nReturns from negate expressions the same as if they were not negated.\n(Ie, true on a hit, false on a miss.)\n",
     32  "readme": "# minimatch\n\nA minimal matching utility.\n\n[![Build Status](https://secure.travis-ci.org/isaacs/minimatch.png)](http://travis-ci.org/isaacs/minimatch)\n\n\nThis is the matching library used internally by npm.\n\nEventually, it will replace the C binding in node-glob.\n\nIt works by converting glob expressions into JavaScript `RegExp`\nobjects.\n\n## Usage\n\n```javascript\nvar minimatch = require(\"minimatch\")\n\nminimatch(\"bar.foo\", \"*.foo\") // true!\nminimatch(\"bar.foo\", \"*.bar\") // false!\nminimatch(\"bar.foo\", \"*.+(bar|foo)\", { debug: true }) // true, and noisy!\n```\n\n## Features\n\nSupports these glob features:\n\n* Brace Expansion\n* Extended glob matching\n* \"Globstar\" `**` matching\n\nSee:\n\n* `man sh`\n* `man bash`\n* `man 3 fnmatch`\n* `man 5 gitignore`\n\n## Minimatch Class\n\nCreate a minimatch object by instanting the `minimatch.Minimatch` class.\n\n```javascript\nvar Minimatch = require(\"minimatch\").Minimatch\nvar mm = new Minimatch(pattern, options)\n```\n\n### Properties\n\n* `pattern` The original pattern the minimatch object represents.\n* `options` The options supplied to the constructor.\n* `set` A 2-dimensional array of regexp or string expressions.\n  Each row in the\n  array corresponds to a brace-expanded pattern.  Each item in the row\n  corresponds to a single path-part.  For example, the pattern\n  `{a,b/c}/d` would expand to a set of patterns like:\n\n        [ [ a, d ]\n        , [ b, c, d ] ]\n\n    If a portion of the pattern doesn't have any \"magic\" in it\n    (that is, it's something like `\"foo\"` rather than `fo*o?`), then it\n    will be left as a string rather than converted to a regular\n    expression.\n\n* `regexp` Created by the `makeRe` method.  A single regular expression\n  expressing the entire pattern.  This is useful in cases where you wish\n  to use the pattern somewhat like `fnmatch(3)` with `FNM_PATH` enabled.\n* `negate` True if the pattern is negated.\n* `comment` True if the pattern is a comment.\n* `empty` True if the pattern is `\"\"`.\n\n### Methods\n\n* `makeRe` Generate the `regexp` member if necessary, and return it.\n  Will return `false` if the pattern is invalid.\n* `match(fname)` Return true if the filename matches the pattern, or\n  false otherwise.\n* `matchOne(fileArray, patternArray, partial)` Take a `/`-split\n  filename, and match it against a single row in the `regExpSet`.  This\n  method is mainly for internal use, but is exposed so that it can be\n  used by a glob-walker that needs to avoid excessive filesystem calls.\n\nAll other methods are internal, and will be called as necessary.\n\n## Functions\n\nThe top-level exported function has a `cache` property, which is an LRU\ncache set to store 100 items.  So, calling these methods repeatedly\nwith the same pattern and options will use the same Minimatch object,\nsaving the cost of parsing it multiple times.\n\n### minimatch(path, pattern, options)\n\nMain export.  Tests a path against the pattern using the options.\n\n```javascript\nvar isJS = minimatch(file, \"*.js\", { matchBase: true })\n```\n\n### minimatch.filter(pattern, options)\n\nReturns a function that tests its\nsupplied argument, suitable for use with `Array.filter`.  Example:\n\n```javascript\nvar javascripts = fileList.filter(minimatch.filter(\"*.js\", {matchBase: true}))\n```\n\n### minimatch.match(list, pattern, options)\n\nMatch against the list of\nfiles, in the style of fnmatch or glob.  If nothing is matched, and\noptions.nonull is set, then return a list containing the pattern itself.\n\n```javascript\nvar javascripts = minimatch.match(fileList, \"*.js\", {matchBase: true}))\n```\n\n### minimatch.makeRe(pattern, options)\n\nMake a regular expression object from the pattern.\n\n## Options\n\nAll options are `false` by default.\n\n### debug\n\nDump a ton of stuff to stderr.\n\n### nobrace\n\nDo not expand `{a,b}` and `{1..3}` brace sets.\n\n### noglobstar\n\nDisable `**` matching against multiple folder names.\n\n### dot\n\nAllow patterns to match filenames starting with a period, even if\nthe pattern does not explicitly have a period in that spot.\n\nNote that by default, `a/**/b` will **not** match `a/.d/b`, unless `dot`\nis set.\n\n### noext\n\nDisable \"extglob\" style patterns like `+(a|b)`.\n\n### nocase\n\nPerform a case-insensitive match.\n\n### nonull\n\nWhen a match is not found by `minimatch.match`, return a list containing\nthe pattern itself.  When set, an empty list is returned if there are\nno matches.\n\n### matchBase\n\nIf set, then patterns without slashes will be matched\nagainst the basename of the path if it contains slashes.  For example,\n`a?b` would match the path `/xyz/123/acb`, but not `/xyz/acb/123`.\n\n### nocomment\n\nSuppress the behavior of treating `#` at the start of a pattern as a\ncomment.\n\n### nonegate\n\nSuppress the behavior of treating a leading `!` character as negation.\n\n### flipNegate\n\nReturns from negate expressions the same as if they were not negated.\n(Ie, true on a hit, false on a miss.)\n\n\n## Comparisons to other fnmatch/glob implementations\n\nWhile strict compliance with the existing standards is a worthwhile\ngoal, some discrepancies exist between minimatch and other\nimplementations, and are intentional.\n\nIf the pattern starts with a `!` character, then it is negated.  Set the\n`nonegate` flag to suppress this behavior, and treat leading `!`\ncharacters normally.  This is perhaps relevant if you wish to start the\npattern with a negative extglob pattern like `!(a|B)`.  Multiple `!`\ncharacters at the start of a pattern will negate the pattern multiple\ntimes.\n\nIf a pattern starts with `#`, then it is treated as a comment, and\nwill not match anything.  Use `\\#` to match a literal `#` at the\nstart of a line, or set the `nocomment` flag to suppress this behavior.\n\nThe double-star character `**` is supported by default, unless the\n`noglobstar` flag is set.  This is supported in the manner of bsdglob\nand bash 4.1, where `**` only has special significance if it is the only\nthing in a path part.  That is, `a/**/b` will match `a/x/y/b`, but\n`a/**b` will not.\n\nIf an escaped pattern has no matches, and the `nonull` flag is set,\nthen minimatch.match returns the pattern as-provided, rather than\ninterpreting the character escapes.  For example,\n`minimatch.match([], \"\\\\*a\\\\?\")` will return `\"\\\\*a\\\\?\"` rather than\n`\"*a?\"`.  This is akin to setting the `nullglob` option in bash, except\nthat it does not resolve escaped pattern characters.\n\nIf brace expansion is not disabled, then it is performed before any\nother interpretation of the glob pattern.  Thus, a pattern like\n`+(a|{b),c)}`, which would not be valid in bash or zsh, is expanded\n**first** into the set of `+(a|b)` and `+(a|c)`, and those patterns are\nchecked for validity.  Since those two are valid, matching proceeds.\n",
    3333  "readmeFilename": "README.md",
    3434  "bugs": {
     
    3636  },
    3737  "homepage": "https://github.com/isaacs/minimatch",
    38   "_id": "minimatch@0.2.12",
     38  "_id": "minimatch@0.2.14",
    3939  "_from": "minimatch@~0.2.11"
    4040}
  • Dev/trunk/node_modules/mocha/node_modules/glob/package.json

    r484 r516  
    3737  "homepage": "https://github.com/isaacs/node-glob",
    3838  "_id": "glob@3.2.3",
    39   "_from": "glob@3.2.3"
     39  "dist": {
     40    "shasum": "bb766eb21bf5e312976269aa9a97ae6a1952e404"
     41  },
     42  "_from": "glob@3.2.3",
     43  "_resolved": "https://registry.npmjs.org/glob/-/glob-3.2.3.tgz"
    4044}
  • Dev/trunk/node_modules/mocha/node_modules/jade/node_modules/commander/package.json

    r484 r516  
    3636  "homepage": "https://github.com/visionmedia/commander.js",
    3737  "_id": "commander@0.6.1",
    38   "dist": {
    39     "shasum": "c725ed5e9b2bf532b3fe3cba4f81b552cecf0550"
    40   },
    41   "_from": "commander@0.6.1",
    42   "_resolved": "https://registry.npmjs.org/commander/-/commander-0.6.1.tgz"
     38  "_from": "commander@0.6.1"
    4339}
  • Dev/trunk/node_modules/mocha/node_modules/jade/node_modules/mkdirp/package.json

    r484 r516  
    3434  "homepage": "https://github.com/substack/node-mkdirp",
    3535  "_id": "mkdirp@0.3.0",
    36   "dist": {
    37     "shasum": "03e1756c8f2160b57caad091908d67ff928d0664"
    38   },
    39   "_from": "mkdirp@0.3.0",
    40   "_resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.0.tgz"
     36  "_from": "mkdirp@0.3.0"
    4137}
  • Dev/trunk/node_modules/mocha/node_modules/jade/package.json

    r484 r516  
    4545  "homepage": "https://github.com/visionmedia/jade",
    4646  "_id": "jade@0.26.3",
    47   "dist": {
    48     "shasum": "43c0b6da7fd794b3d7a28db08c37407ab90bd1ad"
    49   },
    50   "_from": "jade@0.26.3",
    51   "_resolved": "https://registry.npmjs.org/jade/-/jade-0.26.3.tgz"
     47  "_from": "jade@0.26.3"
    5248}
  • Dev/trunk/node_modules/mocha/node_modules/mkdirp/package.json

    r484 r516  
    3131  "homepage": "https://github.com/substack/node-mkdirp",
    3232  "_id": "mkdirp@0.3.5",
    33   "dist": {
    34     "shasum": "7d4fee48c751e68eddf5903038ad25370cd80618"
    35   },
    36   "_from": "mkdirp@0.3.5",
    37   "_resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz"
     33  "_from": "mkdirp@0.3.5"
    3834}
  • Dev/trunk/node_modules/mocha/package.json

    r484 r516  
    6060    "shasum": "d904d1c3635c491f4c0adc6afe8cd8b2580dbae7"
    6161  },
    62   "_from": "mocha@",
     62  "_from": "mocha@1.14.0",
    6363  "_resolved": "https://registry.npmjs.org/mocha/-/mocha-1.14.0.tgz"
    6464}
Note: See TracChangeset for help on using the changeset viewer.