cssesc-source 0.1.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -13
- data/vendor/LICENSE-MIT.txt +1 -1
- data/vendor/README.md +44 -50
- data/vendor/bin/cssesc +103 -109
- data/vendor/cssesc.js +114 -161
- data/vendor/man/cssesc.1 +2 -2
- data/vendor/package-lock.json +1664 -0
- data/vendor/package.json +47 -54
- metadata +9 -908
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/MIT-LICENSE.txt +0 -21
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/README.md +0 -43
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/bin/stripcolorcodes.js +0 -18
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/index.js +0 -3
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/package.json +0 -42
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/test/fixture/with-colors +0 -2
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/test/fixture/without-colors +0 -2
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/test/stripcolorcodes-test.js +0 -20
- data/vendor/node_modules/grunt-shell/package.json +0 -53
- data/vendor/node_modules/grunt-shell/readme.md +0 -221
- data/vendor/node_modules/grunt-shell/tasks/shell.js +0 -54
- data/vendor/node_modules/grunt-template/LICENSE-MIT.txt +0 -20
- data/vendor/node_modules/grunt-template/README.md +0 -123
- data/vendor/node_modules/grunt-template/package.json +0 -50
- data/vendor/node_modules/grunt-template/tasks/template.js +0 -44
- data/vendor/node_modules/grunt/CONTRIBUTING.md +0 -1
- data/vendor/node_modules/grunt/LICENSE-MIT +0 -22
- data/vendor/node_modules/grunt/README.md +0 -16
- data/vendor/node_modules/grunt/internal-tasks/bump.js +0 -151
- data/vendor/node_modules/grunt/internal-tasks/subgrunt.js +0 -34
- data/vendor/node_modules/grunt/lib/grunt.js +0 -156
- data/vendor/node_modules/grunt/lib/grunt/cli.js +0 -128
- data/vendor/node_modules/grunt/lib/grunt/config.js +0 -118
- data/vendor/node_modules/grunt/lib/grunt/event.js +0 -16
- data/vendor/node_modules/grunt/lib/grunt/fail.js +0 -84
- data/vendor/node_modules/grunt/lib/grunt/file.js +0 -440
- data/vendor/node_modules/grunt/lib/grunt/help.js +0 -129
- data/vendor/node_modules/grunt/lib/grunt/log.js +0 -352
- data/vendor/node_modules/grunt/lib/grunt/option.js +0 -42
- data/vendor/node_modules/grunt/lib/grunt/task.js +0 -451
- data/vendor/node_modules/grunt/lib/grunt/template.js +0 -95
- data/vendor/node_modules/grunt/lib/grunt/util.js +0 -188
- data/vendor/node_modules/grunt/lib/util/task.js +0 -323
- data/vendor/node_modules/grunt/node_modules/async/LICENSE +0 -19
- data/vendor/node_modules/grunt/node_modules/async/Makefile +0 -25
- data/vendor/node_modules/grunt/node_modules/async/README.md +0 -1021
- data/vendor/node_modules/grunt/node_modules/async/index.js +0 -3
- data/vendor/node_modules/grunt/node_modules/async/lib/async.js +0 -692
- data/vendor/node_modules/grunt/node_modules/async/package.json +0 -32
- data/vendor/node_modules/grunt/node_modules/coffee-script/CNAME +0 -1
- data/vendor/node_modules/grunt/node_modules/coffee-script/LICENSE +0 -22
- data/vendor/node_modules/grunt/node_modules/coffee-script/README +0 -51
- data/vendor/node_modules/grunt/node_modules/coffee-script/Rakefile +0 -78
- data/vendor/node_modules/grunt/node_modules/coffee-script/bin/cake +0 -7
- data/vendor/node_modules/grunt/node_modules/coffee-script/bin/coffee +0 -7
- data/vendor/node_modules/grunt/node_modules/coffee-script/extras/jsl.conf +0 -44
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/browser.js +0 -92
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/cake.js +0 -111
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/coffee-script.js +0 -167
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/command.js +0 -500
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/grammar.js +0 -606
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/helpers.js +0 -77
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/index.js +0 -11
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/lexer.js +0 -788
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/nodes.js +0 -2986
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/optparse.js +0 -138
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/parser.js +0 -683
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/repl.js +0 -261
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/rewriter.js +0 -349
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/scope.js +0 -146
- data/vendor/node_modules/grunt/node_modules/coffee-script/package.json +0 -47
- data/vendor/node_modules/grunt/node_modules/colors/MIT-LICENSE.txt +0 -22
- data/vendor/node_modules/grunt/node_modules/colors/ReadMe.md +0 -77
- data/vendor/node_modules/grunt/node_modules/colors/colors.js +0 -342
- data/vendor/node_modules/grunt/node_modules/colors/example.html +0 -76
- data/vendor/node_modules/grunt/node_modules/colors/example.js +0 -77
- data/vendor/node_modules/grunt/node_modules/colors/package.json +0 -29
- data/vendor/node_modules/grunt/node_modules/colors/test.js +0 -70
- data/vendor/node_modules/grunt/node_modules/colors/themes/winston-dark.js +0 -12
- data/vendor/node_modules/grunt/node_modules/colors/themes/winston-light.js +0 -12
- data/vendor/node_modules/grunt/node_modules/dateformat/Readme.md +0 -67
- data/vendor/node_modules/grunt/node_modules/dateformat/lib/dateformat.js +0 -165
- data/vendor/node_modules/grunt/node_modules/dateformat/package.json +0 -20
- data/vendor/node_modules/grunt/node_modules/dateformat/test/test_weekofyear.js +0 -4
- data/vendor/node_modules/grunt/node_modules/dateformat/test/test_weekofyear.sh +0 -27
- data/vendor/node_modules/grunt/node_modules/eventemitter2/README.md +0 -212
- data/vendor/node_modules/grunt/node_modules/eventemitter2/index.js +0 -1
- data/vendor/node_modules/grunt/node_modules/eventemitter2/lib/eventemitter2.js +0 -561
- data/vendor/node_modules/grunt/node_modules/eventemitter2/package.json +0 -62
- data/vendor/node_modules/grunt/node_modules/exit/Gruntfile.js +0 -48
- data/vendor/node_modules/grunt/node_modules/exit/LICENSE-MIT +0 -22
- data/vendor/node_modules/grunt/node_modules/exit/README.md +0 -75
- data/vendor/node_modules/grunt/node_modules/exit/lib/exit.js +0 -41
- data/vendor/node_modules/grunt/node_modules/exit/package.json +0 -51
- data/vendor/node_modules/grunt/node_modules/exit/test/exit_test.js +0 -121
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/10-stderr.txt +0 -10
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/10-stdout-stderr.txt +0 -20
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/10-stdout.txt +0 -10
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/100-stderr.txt +0 -100
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/100-stdout-stderr.txt +0 -200
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/100-stdout.txt +0 -100
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/1000-stderr.txt +0 -1000
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/1000-stdout-stderr.txt +0 -2000
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/1000-stdout.txt +0 -1000
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/create-files.sh +0 -8
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/log-broken.js +0 -23
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/log.js +0 -25
- data/vendor/node_modules/grunt/node_modules/findup-sync/Gruntfile.js +0 -25
- data/vendor/node_modules/grunt/node_modules/findup-sync/LICENSE-MIT +0 -22
- data/vendor/node_modules/grunt/node_modules/findup-sync/README.md +0 -44
- data/vendor/node_modules/grunt/node_modules/findup-sync/lib/findup-sync.js +0 -46
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/README.md +0 -164
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.compat.js +0 -5152
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.compat.min.js +0 -42
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.js +0 -4983
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.min.js +0 -40
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.underscore.js +0 -4307
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.underscore.min.js +0 -34
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/package.json +0 -62
- data/vendor/node_modules/grunt/node_modules/findup-sync/package.json +0 -48
- data/vendor/node_modules/grunt/node_modules/findup-sync/test/findup-sync_test.js +0 -48
- data/vendor/node_modules/grunt/node_modules/findup-sync/test/fixtures/a.txt +0 -0
- data/vendor/node_modules/grunt/node_modules/findup-sync/test/fixtures/a/b/bar.txt +0 -0
- data/vendor/node_modules/grunt/node_modules/findup-sync/test/fixtures/a/foo.txt +0 -0
- data/vendor/node_modules/grunt/node_modules/findup-sync/test/fixtures/aaa.txt +0 -0
- data/vendor/node_modules/grunt/node_modules/getobject/Gruntfile.js +0 -48
- data/vendor/node_modules/grunt/node_modules/getobject/LICENSE-MIT +0 -22
- data/vendor/node_modules/grunt/node_modules/getobject/README.md +0 -20
- data/vendor/node_modules/grunt/node_modules/getobject/lib/getobject.js +0 -60
- data/vendor/node_modules/grunt/node_modules/getobject/package.json +0 -48
- data/vendor/node_modules/grunt/node_modules/getobject/test/namespace_test.js +0 -51
- data/vendor/node_modules/grunt/node_modules/glob/LICENSE +0 -27
- data/vendor/node_modules/grunt/node_modules/glob/README.md +0 -233
- data/vendor/node_modules/grunt/node_modules/glob/examples/g.js +0 -9
- data/vendor/node_modules/grunt/node_modules/glob/examples/usr-local.js +0 -9
- data/vendor/node_modules/grunt/node_modules/glob/glob.js +0 -643
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/LICENSE +0 -27
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/README.md +0 -33
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/graceful-fs.js +0 -442
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/package.json +0 -49
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/test/open.js +0 -46
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/test/ulimit.js +0 -158
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/inherits/README.md +0 -51
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/inherits/inherits.js +0 -29
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/inherits/package.json +0 -30
- data/vendor/node_modules/grunt/node_modules/glob/package.json +0 -40
- data/vendor/node_modules/grunt/node_modules/glob/test/00-setup.js +0 -176
- data/vendor/node_modules/grunt/node_modules/glob/test/bash-comparison.js +0 -63
- data/vendor/node_modules/grunt/node_modules/glob/test/bash-results.json +0 -348
- data/vendor/node_modules/grunt/node_modules/glob/test/cwd-test.js +0 -55
- data/vendor/node_modules/grunt/node_modules/glob/test/mark.js +0 -74
- data/vendor/node_modules/grunt/node_modules/glob/test/nocase-nomagic.js +0 -113
- data/vendor/node_modules/grunt/node_modules/glob/test/pause-resume.js +0 -73
- data/vendor/node_modules/grunt/node_modules/glob/test/root-nomount.js +0 -39
- data/vendor/node_modules/grunt/node_modules/glob/test/root.js +0 -46
- data/vendor/node_modules/grunt/node_modules/glob/test/zz-cleanup.js +0 -11
- data/vendor/node_modules/grunt/node_modules/hooker/LICENSE-MIT +0 -22
- data/vendor/node_modules/grunt/node_modules/hooker/README.md +0 -186
- data/vendor/node_modules/grunt/node_modules/hooker/child.js +0 -101
- data/vendor/node_modules/grunt/node_modules/hooker/dist/ba-hooker.js +0 -169
- data/vendor/node_modules/grunt/node_modules/hooker/dist/ba-hooker.min.js +0 -4
- data/vendor/node_modules/grunt/node_modules/hooker/grunt.js +0 -47
- data/vendor/node_modules/grunt/node_modules/hooker/lib/hooker.js +0 -174
- data/vendor/node_modules/grunt/node_modules/hooker/package.json +0 -45
- data/vendor/node_modules/grunt/node_modules/hooker/parent.js +0 -17
- data/vendor/node_modules/grunt/node_modules/hooker/test/hooker_test.js +0 -435
- data/vendor/node_modules/grunt/node_modules/iconv-lite/LICENSE +0 -21
- data/vendor/node_modules/grunt/node_modules/iconv-lite/README.md +0 -72
- data/vendor/node_modules/grunt/node_modules/iconv-lite/README.md~ +0 -54
- data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/big5.js +0 -9
- data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/gbk.js +0 -9
- data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/singlebyte.js +0 -340
- data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/table/big5.js +0 -1
- data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/table/gbk.js +0 -1
- data/vendor/node_modules/grunt/node_modules/iconv-lite/generation/generate-big5-table.js +0 -25
- data/vendor/node_modules/grunt/node_modules/iconv-lite/generation/generate-singlebyte.js +0 -142
- data/vendor/node_modules/grunt/node_modules/iconv-lite/index.js +0 -231
- data/vendor/node_modules/grunt/node_modules/iconv-lite/package.json +0 -80
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/big5-test.js +0 -36
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/big5File.txt +0 -13
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/cyrillic-test.js +0 -86
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/gbk-test.js +0 -38
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/gbkFile.txt +0 -14
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/greek-test.js +0 -79
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/main-test.js +0 -55
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/performance.js +0 -67
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/turkish-test.js +0 -90
- data/vendor/node_modules/grunt/node_modules/js-yaml/HISTORY.md +0 -155
- data/vendor/node_modules/grunt/node_modules/js-yaml/LICENSE +0 -21
- data/vendor/node_modules/grunt/node_modules/js-yaml/README.md +0 -249
- data/vendor/node_modules/grunt/node_modules/js-yaml/bin/js-yaml.js +0 -125
- data/vendor/node_modules/grunt/node_modules/js-yaml/examples/custom_types.js +0 -104
- data/vendor/node_modules/grunt/node_modules/js-yaml/examples/custom_types.yaml +0 -18
- data/vendor/node_modules/grunt/node_modules/js-yaml/examples/dumper.js +0 -31
- data/vendor/node_modules/grunt/node_modules/js-yaml/examples/dumper.json +0 -22
- data/vendor/node_modules/grunt/node_modules/js-yaml/examples/sample_document.js +0 -15
- data/vendor/node_modules/grunt/node_modules/js-yaml/examples/sample_document.yaml +0 -197
- data/vendor/node_modules/grunt/node_modules/js-yaml/index.js +0 -1
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml.js +0 -33
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/common.js +0 -60
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/dumper.js +0 -437
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/exception.js +0 -25
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/loader.js +0 -1549
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/mark.js +0 -78
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/require.js +0 -23
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema.js +0 -103
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/default.js +0 -16
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/minimal.js +0 -13
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/safe.js +0 -25
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type.js +0 -82
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/binary.js +0 -118
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/bool.js +0 -74
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/float.js +0 -102
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/int.js +0 -85
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/js/function.js +0 -56
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +0 -56
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +0 -28
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/map.js +0 -11
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/merge.js +0 -18
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/null.js +0 -36
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/omap.js +0 -53
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/pairs.js +0 -41
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/seq.js +0 -11
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/set.js +0 -31
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/str.js +0 -11
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +0 -91
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/HISTORY.md +0 -109
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/LICENSE +0 -21
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/README.md +0 -239
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/arguments.js +0 -36
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/choice.js +0 -22
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/constants.js +0 -59
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/help.js +0 -13
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/nargs.js +0 -33
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/parents.js +0 -28
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/prefix_chars.js +0 -23
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/sub_commands.js +0 -49
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/sum.js +0 -35
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/testformatters.js +0 -270
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/index.js +0 -1
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action.js +0 -146
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/append.js +0 -55
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/append/constant.js +0 -47
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/count.js +0 -40
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/help.js +0 -48
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/store.js +0 -50
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/store/constant.js +0 -43
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/store/false.js +0 -27
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js +0 -26
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/subparsers.js +0 -148
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/version.js +0 -50
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action_container.js +0 -481
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argparse.js +0 -14
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argument/error.js +0 -50
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argument/exclusive.js +0 -54
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argument/group.js +0 -75
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argument_parser.js +0 -1165
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/const.js +0 -18
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/help/added_formatters.js +0 -88
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/help/formatter.js +0 -803
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/namespace.js +0 -77
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/Gemfile +0 -4
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/Gemfile.lock +0 -17
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/README.markdown +0 -814
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/Rakefile +0 -23
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/component.json +0 -11
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/dist/underscore.string.min.js +0 -1
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/lib/underscore.string.js +0 -673
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/libpeerconnection.log +0 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/package.json +0 -73
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/run-qunit.js +0 -45
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/speed.js +0 -148
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/strings.js +0 -685
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/strings_standalone.js +0 -12
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test.html +0 -31
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_standalone.html +0 -18
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/arrays.js +0 -200
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/chaining.js +0 -59
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/collections.js +0 -426
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/functions.js +0 -259
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/index.html +0 -45
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/objects.js +0 -548
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/speed.js +0 -75
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/utility.js +0 -249
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/vendor/jquery.js +0 -9404
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/vendor/jslitmus.js +0 -670
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/vendor/qunit.css +0 -235
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/vendor/qunit.js +0 -1977
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/underscore.js +0 -1201
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/CNAME +0 -1
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/CONTRIBUTING.md +0 -9
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/LICENSE +0 -22
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/README.md +0 -19
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/favicon.ico +0 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/index.html +0 -2467
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/index.js +0 -1
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/package.json +0 -35
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/underscore-min.js +0 -1
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/underscore.js +0 -1226
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/package.json +0 -50
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/README.md +0 -73
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/bin/esparse.js +0 -117
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/bin/esvalidate.js +0 -177
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/esprima.js +0 -3908
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/package.json +0 -59
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/compat.js +0 -239
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/reflect.js +0 -422
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/run.js +0 -66
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/runner.js +0 -387
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/test.js +0 -20238
- data/vendor/node_modules/grunt/node_modules/js-yaml/package.json +0 -60
- data/vendor/node_modules/grunt/node_modules/lodash/README.md +0 -140
- data/vendor/node_modules/grunt/node_modules/lodash/lodash.js +0 -4258
- data/vendor/node_modules/grunt/node_modules/lodash/lodash.min.js +0 -35
- data/vendor/node_modules/grunt/node_modules/lodash/lodash.underscore.js +0 -3688
- data/vendor/node_modules/grunt/node_modules/lodash/lodash.underscore.min.js +0 -28
- data/vendor/node_modules/grunt/node_modules/lodash/package.json +0 -62
- data/vendor/node_modules/grunt/node_modules/minimatch/LICENSE +0 -23
- data/vendor/node_modules/grunt/node_modules/minimatch/README.md +0 -218
- data/vendor/node_modules/grunt/node_modules/minimatch/minimatch.js +0 -1055
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/CONTRIBUTORS +0 -14
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/LICENSE +0 -23
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/README.md +0 -97
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/lib/lru-cache.js +0 -252
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/package.json +0 -33
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/test/basic.js +0 -369
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/test/foreach.js +0 -52
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/test/memory-leak.js +0 -50
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/LICENSE +0 -27
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/README.md +0 -53
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/bench.js +0 -283
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/package.json +0 -42
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/sigmund.js +0 -39
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/test/basic.js +0 -24
- data/vendor/node_modules/grunt/node_modules/minimatch/package.json +0 -40
- data/vendor/node_modules/grunt/node_modules/minimatch/test/basic.js +0 -399
- data/vendor/node_modules/grunt/node_modules/minimatch/test/brace-expand.js +0 -33
- data/vendor/node_modules/grunt/node_modules/minimatch/test/caching.js +0 -14
- data/vendor/node_modules/grunt/node_modules/minimatch/test/defaults.js +0 -274
- data/vendor/node_modules/grunt/node_modules/minimatch/test/extglob-ending-with-state-char.js +0 -8
- data/vendor/node_modules/grunt/node_modules/nopt/LICENSE +0 -23
- data/vendor/node_modules/grunt/node_modules/nopt/README.md +0 -208
- data/vendor/node_modules/grunt/node_modules/nopt/bin/nopt.js +0 -44
- data/vendor/node_modules/grunt/node_modules/nopt/examples/my-program.js +0 -30
- data/vendor/node_modules/grunt/node_modules/nopt/lib/nopt.js +0 -552
- data/vendor/node_modules/grunt/node_modules/nopt/node_modules/abbrev/LICENSE +0 -23
- data/vendor/node_modules/grunt/node_modules/nopt/node_modules/abbrev/README.md +0 -23
- data/vendor/node_modules/grunt/node_modules/nopt/node_modules/abbrev/lib/abbrev.js +0 -111
- data/vendor/node_modules/grunt/node_modules/nopt/node_modules/abbrev/package.json +0 -29
- data/vendor/node_modules/grunt/node_modules/nopt/package.json +0 -36
- data/vendor/node_modules/grunt/node_modules/rimraf/AUTHORS +0 -6
- data/vendor/node_modules/grunt/node_modules/rimraf/LICENSE +0 -23
- data/vendor/node_modules/grunt/node_modules/rimraf/README.md +0 -21
- data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/LICENSE +0 -23
- data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/README.md +0 -5
- data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/graceful-fs.js +0 -312
- data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/package.json +0 -40
- data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/test/open.js +0 -41
- data/vendor/node_modules/grunt/node_modules/rimraf/package.json +0 -59
- data/vendor/node_modules/grunt/node_modules/rimraf/rimraf.js +0 -161
- data/vendor/node_modules/grunt/node_modules/rimraf/test/run.sh +0 -10
- data/vendor/node_modules/grunt/node_modules/rimraf/test/setup.sh +0 -47
- data/vendor/node_modules/grunt/node_modules/rimraf/test/test-async.js +0 -5
- data/vendor/node_modules/grunt/node_modules/rimraf/test/test-fiber.js +0 -0
- data/vendor/node_modules/grunt/node_modules/rimraf/test/test-sync.js +0 -3
- data/vendor/node_modules/grunt/node_modules/underscore.string/Gemfile +0 -5
- data/vendor/node_modules/grunt/node_modules/underscore.string/Gemfile.lock +0 -34
- data/vendor/node_modules/grunt/node_modules/underscore.string/README.markdown +0 -668
- data/vendor/node_modules/grunt/node_modules/underscore.string/Rakefile +0 -28
- data/vendor/node_modules/grunt/node_modules/underscore.string/dist/underscore.string.min.js +0 -1
- data/vendor/node_modules/grunt/node_modules/underscore.string/lib/underscore.string.js +0 -525
- data/vendor/node_modules/grunt/node_modules/underscore.string/package.json +0 -72
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/run-qunit.js +0 -44
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/speed.js +0 -138
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/strings.js +0 -438
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/strings_standalone.js +0 -12
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test.html +0 -31
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_standalone.html +0 -18
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/arrays.js +0 -166
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/chaining.js +0 -59
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/collections.js +0 -270
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/functions.js +0 -198
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/objects.js +0 -535
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/speed.js +0 -70
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/temp.js +0 -27
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/temp_tests.html +0 -19
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/test.html +0 -43
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/utility.js +0 -155
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/vendor/jquery.js +0 -19
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/vendor/jslitmus.js +0 -670
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/vendor/qunit.css +0 -196
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/vendor/qunit.js +0 -2360
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/underscore.js +0 -999
- data/vendor/node_modules/grunt/node_modules/which/LICENSE +0 -23
- data/vendor/node_modules/grunt/node_modules/which/README.md +0 -5
- data/vendor/node_modules/grunt/node_modules/which/bin/which +0 -14
- data/vendor/node_modules/grunt/node_modules/which/package.json +0 -31
- data/vendor/node_modules/grunt/node_modules/which/which.js +0 -104
- data/vendor/node_modules/grunt/package.json +0 -82
- data/vendor/node_modules/istanbul/CHANGELOG.md +0 -57
- data/vendor/node_modules/istanbul/LICENSE +0 -24
- data/vendor/node_modules/istanbul/README.md +0 -205
- data/vendor/node_modules/istanbul/index.js +0 -115
- data/vendor/node_modules/istanbul/lib/cli.js +0 -74
- data/vendor/node_modules/istanbul/lib/collector.js +0 -121
- data/vendor/node_modules/istanbul/lib/command/check-coverage.js +0 -115
- data/vendor/node_modules/istanbul/lib/command/common/run-with-cover.js +0 -199
- data/vendor/node_modules/istanbul/lib/command/cover.js +0 -33
- data/vendor/node_modules/istanbul/lib/command/help.js +0 -58
- data/vendor/node_modules/istanbul/lib/command/index.js +0 -33
- data/vendor/node_modules/istanbul/lib/command/instrument.js +0 -244
- data/vendor/node_modules/istanbul/lib/command/report.js +0 -97
- data/vendor/node_modules/istanbul/lib/command/test.js +0 -31
- data/vendor/node_modules/istanbul/lib/hook.js +0 -187
- data/vendor/node_modules/istanbul/lib/instrumenter.js +0 -759
- data/vendor/node_modules/istanbul/lib/object-utils.js +0 -341
- data/vendor/node_modules/istanbul/lib/register-plugins.js +0 -15
- data/vendor/node_modules/istanbul/lib/report/cobertura.js +0 -207
- data/vendor/node_modules/istanbul/lib/report/html.js +0 -517
- data/vendor/node_modules/istanbul/lib/report/index.js +0 -60
- data/vendor/node_modules/istanbul/lib/report/json.js +0 -55
- data/vendor/node_modules/istanbul/lib/report/lcov.js +0 -49
- data/vendor/node_modules/istanbul/lib/report/lcovonly.js +0 -93
- data/vendor/node_modules/istanbul/lib/report/none.js +0 -20
- data/vendor/node_modules/istanbul/lib/report/teamcity.js +0 -82
- data/vendor/node_modules/istanbul/lib/report/templates/foot.txt +0 -102
- data/vendor/node_modules/istanbul/lib/report/templates/head.txt +0 -200
- data/vendor/node_modules/istanbul/lib/report/text-summary.js +0 -72
- data/vendor/node_modules/istanbul/lib/report/text.js +0 -210
- data/vendor/node_modules/istanbul/lib/store/fslookup.js +0 -60
- data/vendor/node_modules/istanbul/lib/store/index.js +0 -122
- data/vendor/node_modules/istanbul/lib/store/memory.js +0 -55
- data/vendor/node_modules/istanbul/lib/store/tmp.js +0 -80
- data/vendor/node_modules/istanbul/lib/util/factory.js +0 -88
- data/vendor/node_modules/istanbul/lib/util/file-matcher.js +0 -60
- data/vendor/node_modules/istanbul/lib/util/file-writer.js +0 -131
- data/vendor/node_modules/istanbul/lib/util/flow-control.js +0 -26
- data/vendor/node_modules/istanbul/lib/util/help-formatter.js +0 -24
- data/vendor/node_modules/istanbul/lib/util/input-error.js +0 -12
- data/vendor/node_modules/istanbul/lib/util/insertion-text.js +0 -109
- data/vendor/node_modules/istanbul/lib/util/meta.js +0 -13
- data/vendor/node_modules/istanbul/lib/util/tree-summarizer.js +0 -213
- data/vendor/node_modules/istanbul/lib/util/writer.js +0 -56
- data/vendor/node_modules/istanbul/lib/util/yui-load-hook.js +0 -49
- data/vendor/node_modules/istanbul/lib/vendor/prettify.css +0 -1
- data/vendor/node_modules/istanbul/lib/vendor/prettify.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/abbrev/LICENSE +0 -23
- data/vendor/node_modules/istanbul/node_modules/abbrev/README.md +0 -23
- data/vendor/node_modules/istanbul/node_modules/abbrev/lib/abbrev.js +0 -111
- data/vendor/node_modules/istanbul/node_modules/abbrev/package.json +0 -29
- data/vendor/node_modules/istanbul/node_modules/async/LICENSE +0 -19
- data/vendor/node_modules/istanbul/node_modules/async/README.md +0 -1414
- data/vendor/node_modules/istanbul/node_modules/async/component.json +0 -11
- data/vendor/node_modules/istanbul/node_modules/async/lib/async.js +0 -955
- data/vendor/node_modules/istanbul/node_modules/async/package.json +0 -43
- data/vendor/node_modules/istanbul/node_modules/escodegen/LICENSE.BSD +0 -19
- data/vendor/node_modules/istanbul/node_modules/escodegen/LICENSE.source-map +0 -27
- data/vendor/node_modules/istanbul/node_modules/escodegen/README.md +0 -99
- data/vendor/node_modules/istanbul/node_modules/escodegen/bin/escodegen.js +0 -45
- data/vendor/node_modules/istanbul/node_modules/escodegen/bin/esgenerate.js +0 -45
- data/vendor/node_modules/istanbul/node_modules/escodegen/component.json +0 -48
- data/vendor/node_modules/istanbul/node_modules/escodegen/escodegen.browser.js +0 -3072
- data/vendor/node_modules/istanbul/node_modules/escodegen/escodegen.js +0 -2275
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/estraverse/LICENSE.BSD +0 -19
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/estraverse/README.md +0 -29
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/estraverse/estraverse.js +0 -315
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/estraverse/package.json +0 -41
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/CHANGELOG.md +0 -112
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/LICENSE +0 -28
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/Makefile.dryice.js +0 -166
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/README.md +0 -434
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/assert-shim.js +0 -56
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/mini-require.js +0 -152
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/prefix-source-map.jsm +0 -20
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/prefix-utils.jsm +0 -18
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/suffix-browser.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/suffix-source-map.jsm +0 -6
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/suffix-utils.jsm +0 -21
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/test-prefix.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/test-suffix.js +0 -3
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/array-set.js +0 -97
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/base64-vlq.js +0 -144
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/base64.js +0 -42
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/binary-search.js +0 -81
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/source-map-consumer.js +0 -477
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/source-map-generator.js +0 -380
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/source-node.js +0 -371
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/util.js +0 -205
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/LICENSE +0 -58
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/README.md +0 -171
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/amdefine.js +0 -299
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/intercept.js +0 -36
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/package.json +0 -36
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/package.json +0 -110
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/run-tests.js +0 -71
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-api.js +0 -26
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-array-set.js +0 -104
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-base64-vlq.js +0 -24
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-base64.js +0 -35
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-binary-search.js +0 -54
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-dog-fooding.js +0 -72
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-map-consumer.js +0 -451
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-map-generator.js +0 -417
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-node.js +0 -365
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/util.js +0 -161
- data/vendor/node_modules/istanbul/node_modules/escodegen/package.json +0 -58
- data/vendor/node_modules/istanbul/node_modules/esprima/README.md +0 -73
- data/vendor/node_modules/istanbul/node_modules/esprima/bin/esparse.js +0 -117
- data/vendor/node_modules/istanbul/node_modules/esprima/bin/esvalidate.js +0 -177
- data/vendor/node_modules/istanbul/node_modules/esprima/esprima.js +0 -3908
- data/vendor/node_modules/istanbul/node_modules/esprima/package.json +0 -59
- data/vendor/node_modules/istanbul/node_modules/esprima/test/compat.js +0 -239
- data/vendor/node_modules/istanbul/node_modules/esprima/test/reflect.js +0 -422
- data/vendor/node_modules/istanbul/node_modules/esprima/test/run.js +0 -66
- data/vendor/node_modules/istanbul/node_modules/esprima/test/runner.js +0 -387
- data/vendor/node_modules/istanbul/node_modules/esprima/test/test.js +0 -20238
- data/vendor/node_modules/istanbul/node_modules/fileset/LICENSE-MIT +0 -22
- data/vendor/node_modules/istanbul/node_modules/fileset/README.md +0 -87
- data/vendor/node_modules/istanbul/node_modules/fileset/lib/fileset.js +0 -64
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/LICENSE +0 -27
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/README.md +0 -250
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/examples/g.js +0 -9
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/examples/usr-local.js +0 -9
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/glob.js +0 -680
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/LICENSE +0 -16
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/README.md +0 -42
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/inherits.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/inherits_browser.js +0 -23
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/package.json +0 -33
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/test.js +0 -25
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/package.json +0 -39
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/00-setup.js +0 -176
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/bash-comparison.js +0 -63
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/bash-results.json +0 -350
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/cwd-test.js +0 -55
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/globstar-match.js +0 -19
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/mark.js +0 -74
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/new-glob-optional-options.js +0 -10
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/nocase-nomagic.js +0 -113
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/pause-resume.js +0 -73
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/root-nomount.js +0 -39
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/root.js +0 -46
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/stat.js +0 -32
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/zz-cleanup.js +0 -11
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/LICENSE +0 -23
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/README.md +0 -218
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/minimatch.js +0 -1055
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/CONTRIBUTORS +0 -14
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/LICENSE +0 -23
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/README.md +0 -97
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/lib/lru-cache.js +0 -252
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/package.json +0 -33
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/test/basic.js +0 -369
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/test/foreach.js +0 -52
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/test/memory-leak.js +0 -50
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/LICENSE +0 -27
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/README.md +0 -53
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/bench.js +0 -283
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/package.json +0 -42
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/sigmund.js +0 -39
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/test/basic.js +0 -24
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/package.json +0 -40
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/basic.js +0 -399
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/brace-expand.js +0 -33
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/caching.js +0 -14
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/defaults.js +0 -274
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/extglob-ending-with-state-char.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/fileset/package.json +0 -34
- data/vendor/node_modules/istanbul/node_modules/fileset/tests/fixtures/an (odd) filename.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/fileset/tests/helper.js +0 -61
- data/vendor/node_modules/istanbul/node_modules/fileset/tests/test.js +0 -133
- data/vendor/node_modules/istanbul/node_modules/handlebars/LICENSE +0 -19
- data/vendor/node_modules/istanbul/node_modules/handlebars/README.markdown +0 -391
- data/vendor/node_modules/istanbul/node_modules/handlebars/bin/handlebars +0 -213
- data/vendor/node_modules/istanbul/node_modules/handlebars/bower.json +0 -9
- data/vendor/node_modules/istanbul/node_modules/handlebars/dist/handlebars.js +0 -2278
- data/vendor/node_modules/istanbul/node_modules/handlebars/dist/handlebars.min.js +0 -2
- data/vendor/node_modules/istanbul/node_modules/handlebars/dist/handlebars.runtime.js +0 -362
- data/vendor/node_modules/istanbul/node_modules/handlebars/dist/handlebars.runtime.min.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/handlebars/global-test.js +0 -18
- data/vendor/node_modules/istanbul/node_modules/handlebars/global.js +0 -4
- data/vendor/node_modules/istanbul/node_modules/handlebars/handlebars-source.gemspec +0 -21
- data/vendor/node_modules/istanbul/node_modules/handlebars/handlebars.js.nuspec +0 -17
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars.js +0 -43
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/base.js +0 -166
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/browser-prefix.js +0 -3
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/browser-suffix.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/ast.js +0 -138
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/base.js +0 -21
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/compiler.js +0 -1305
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/index.js +0 -16
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/parser.js +0 -483
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/printer.js +0 -138
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/visitor.js +0 -18
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/runtime.js +0 -106
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/source.rb +0 -11
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/utils.js +0 -83
- data/vendor/node_modules/istanbul/node_modules/handlebars/min.sh +0 -11
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/LICENSE +0 -21
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/bool.js +0 -10
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/boolean_double.js +0 -7
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/boolean_single.js +0 -7
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/default_hash.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/default_singles.js +0 -7
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/divide.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/line_count.js +0 -20
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/line_count_options.js +0 -29
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/line_count_wrap.js +0 -29
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/nonopt.js +0 -4
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/reflect.js +0 -2
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/short.js +0 -3
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/string.js +0 -11
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/usage-options.js +0 -19
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/xup.js +0 -10
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/index.js +0 -478
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/package.json +0 -46
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/readme.markdown +0 -487
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/_.js +0 -71
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/_/argv.js +0 -2
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/_/bin.js +0 -3
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/parse.js +0 -446
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/usage.js +0 -292
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/LICENSE +0 -29
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/README.md +0 -588
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/bin/uglifyjs +0 -402
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/ast.js +0 -985
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/compress.js +0 -2028
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/mozilla-ast.js +0 -267
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/output.js +0 -1229
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/parse.js +0 -1410
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/scope.js +0 -581
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/sourcemap.js +0 -81
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/transform.js +0 -217
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/utils.js +0 -295
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/CHANGELOG.md +0 -112
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/LICENSE +0 -28
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/Makefile.dryice.js +0 -166
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/README.md +0 -434
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/assert-shim.js +0 -56
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/mini-require.js +0 -152
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/prefix-source-map.jsm +0 -20
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/prefix-utils.jsm +0 -18
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/suffix-browser.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/suffix-source-map.jsm +0 -6
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/suffix-utils.jsm +0 -21
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/test-prefix.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/test-suffix.js +0 -3
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/array-set.js +0 -97
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/base64-vlq.js +0 -144
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/base64.js +0 -42
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/binary-search.js +0 -81
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-map-consumer.js +0 -477
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-map-generator.js +0 -380
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-node.js +0 -371
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/util.js +0 -205
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/LICENSE +0 -58
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/README.md +0 -171
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/amdefine.js +0 -299
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/intercept.js +0 -36
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/package.json +0 -37
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/package.json +0 -110
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/run-tests.js +0 -71
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-api.js +0 -26
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-array-set.js +0 -104
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-base64-vlq.js +0 -24
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-base64.js +0 -35
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-binary-search.js +0 -54
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-dog-fooding.js +0 -72
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-source-map-consumer.js +0 -451
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-source-map-generator.js +0 -417
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-source-node.js +0 -365
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/util.js +0 -161
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/package.json +0 -39
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/arrays.js +0 -12
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/blocks.js +0 -49
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/conditionals.js +0 -143
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/dead-code.js +0 -89
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/debugger.js +0 -24
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/drop-unused.js +0 -97
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-105.js +0 -25
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-12.js +0 -11
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-143.js +0 -48
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-22.js +0 -17
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-44.js +0 -31
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-59.js +0 -30
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/labels.js +0 -163
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/loops.js +0 -123
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/properties.js +0 -54
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/sequences.js +0 -161
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/switch.js +0 -260
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/typeof.js +0 -25
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/run-tests.js +0 -170
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/tools/node.js +0 -165
- data/vendor/node_modules/istanbul/node_modules/handlebars/package.json +0 -42
- data/vendor/node_modules/istanbul/node_modules/handlebars/release-notes.md +0 -93
- data/vendor/node_modules/istanbul/node_modules/handlebars/test.js +0 -20
- data/vendor/node_modules/istanbul/node_modules/mkdirp/LICENSE +0 -21
- data/vendor/node_modules/istanbul/node_modules/mkdirp/examples/pow.js +0 -6
- data/vendor/node_modules/istanbul/node_modules/mkdirp/index.js +0 -82
- data/vendor/node_modules/istanbul/node_modules/mkdirp/package.json +0 -34
- data/vendor/node_modules/istanbul/node_modules/mkdirp/readme.markdown +0 -63
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/chmod.js +0 -38
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/clobber.js +0 -37
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/mkdirp.js +0 -28
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/perm.js +0 -32
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/perm_sync.js +0 -39
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/race.js +0 -41
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/rel.js +0 -32
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/return.js +0 -25
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/return_sync.js +0 -24
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/root.js +0 -18
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/sync.js +0 -32
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/umask.js +0 -28
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/umask_sync.js +0 -32
- data/vendor/node_modules/istanbul/node_modules/nopt/LICENSE +0 -23
- data/vendor/node_modules/istanbul/node_modules/nopt/README.md +0 -210
- data/vendor/node_modules/istanbul/node_modules/nopt/bin/nopt.js +0 -51
- data/vendor/node_modules/istanbul/node_modules/nopt/examples/my-program.js +0 -30
- data/vendor/node_modules/istanbul/node_modules/nopt/lib/nopt.js +0 -612
- data/vendor/node_modules/istanbul/node_modules/nopt/package.json +0 -36
- data/vendor/node_modules/istanbul/node_modules/resolve/LICENSE +0 -18
- data/vendor/node_modules/istanbul/node_modules/resolve/example/async.js +0 -5
- data/vendor/node_modules/istanbul/node_modules/resolve/example/sync.js +0 -3
- data/vendor/node_modules/istanbul/node_modules/resolve/index.js +0 -5
- data/vendor/node_modules/istanbul/node_modules/resolve/lib/async.js +0 -125
- data/vendor/node_modules/istanbul/node_modules/resolve/lib/caller.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/resolve/lib/core.js +0 -4
- data/vendor/node_modules/istanbul/node_modules/resolve/lib/core.json +0 -38
- data/vendor/node_modules/istanbul/node_modules/resolve/lib/node-modules-paths.js +0 -25
- data/vendor/node_modules/istanbul/node_modules/resolve/lib/sync.js +0 -80
- data/vendor/node_modules/istanbul/node_modules/resolve/package.json +0 -36
- data/vendor/node_modules/istanbul/node_modules/resolve/readme.markdown +0 -144
- data/vendor/node_modules/istanbul/node_modules/resolve/test/core.js +0 -12
- data/vendor/node_modules/istanbul/node_modules/resolve/test/filter.js +0 -18
- data/vendor/node_modules/istanbul/node_modules/resolve/test/filter_sync.js +0 -15
- data/vendor/node_modules/istanbul/node_modules/resolve/test/mock.js +0 -142
- data/vendor/node_modules/istanbul/node_modules/resolve/test/mock_sync.js +0 -68
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver.js +0 -270
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/bar/node_modules/foo/index.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/baz/doom.js +0 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/baz/package.json +0 -3
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/baz/quux.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/biz/node_modules/garply/lib/index.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/biz/node_modules/garply/package.json +0 -3
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/biz/node_modules/grux/index.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/biz/node_modules/tiv/index.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/cup.coffee +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/foo.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/incorrect_main/index.js +0 -2
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/incorrect_main/package.json +0 -3
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/mug.coffee +0 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/mug.js +0 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/other_path/root.js +0 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/quux/foo/index.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/without_basedir/main.js +0 -6
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/without_basedir/node_modules/mymodule.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver_sync.js +0 -170
- data/vendor/node_modules/istanbul/node_modules/which/LICENSE +0 -23
- data/vendor/node_modules/istanbul/node_modules/which/README.md +0 -5
- data/vendor/node_modules/istanbul/node_modules/which/bin/which +0 -14
- data/vendor/node_modules/istanbul/node_modules/which/package.json +0 -32
- data/vendor/node_modules/istanbul/node_modules/which/which.js +0 -104
- data/vendor/node_modules/istanbul/node_modules/wordwrap/README.markdown +0 -70
- data/vendor/node_modules/istanbul/node_modules/wordwrap/example/center.js +0 -10
- data/vendor/node_modules/istanbul/node_modules/wordwrap/example/meat.js +0 -3
- data/vendor/node_modules/istanbul/node_modules/wordwrap/index.js +0 -76
- data/vendor/node_modules/istanbul/node_modules/wordwrap/package.json +0 -45
- data/vendor/node_modules/istanbul/node_modules/wordwrap/test/break.js +0 -30
- data/vendor/node_modules/istanbul/node_modules/wordwrap/test/idleness.txt +0 -63
- data/vendor/node_modules/istanbul/node_modules/wordwrap/test/wrap.js +0 -31
- data/vendor/node_modules/istanbul/package.json +0 -117
- data/vendor/node_modules/istanbul/test/browser/support/index.html +0 -153
- data/vendor/node_modules/istanbul/test/browser/support/phantom-test.client.js +0 -49
- data/vendor/node_modules/istanbul/test/browser/support/server.js +0 -154
- data/vendor/node_modules/istanbul/test/browser/test-browser-instrumentation.js +0 -94
- data/vendor/node_modules/istanbul/test/cli-helper.js +0 -219
- data/vendor/node_modules/istanbul/test/cli/package.json +0 -8
- data/vendor/node_modules/istanbul/test/cli/sample-project/amd/ipsum.js +0 -11
- data/vendor/node_modules/istanbul/test/cli/sample-project/amd/lorem.js +0 -7
- data/vendor/node_modules/istanbul/test/cli/sample-project/lib/bar.js +0 -13
- data/vendor/node_modules/istanbul/test/cli/sample-project/lib/foo.js +0 -12
- data/vendor/node_modules/istanbul/test/cli/sample-project/lib/util/bad.js +0 -1
- data/vendor/node_modules/istanbul/test/cli/sample-project/lib/util/generate-names.js +0 -5
- data/vendor/node_modules/istanbul/test/cli/sample-project/node_modules/dependency/index.js +0 -9
- data/vendor/node_modules/istanbul/test/cli/sample-project/node_modules/post-require/hook.js +0 -11
- data/vendor/node_modules/istanbul/test/cli/sample-project/node_modules/post-require/package.json +0 -5
- data/vendor/node_modules/istanbul/test/cli/sample-project/test/amd-run.js +0 -16
- data/vendor/node_modules/istanbul/test/cli/sample-project/test/global-leak.js +0 -30
- data/vendor/node_modules/istanbul/test/cli/sample-project/test/run.js +0 -25
- data/vendor/node_modules/istanbul/test/cli/sample-project/vendor/dummy_vendor_lib.js +0 -9
- data/vendor/node_modules/istanbul/test/cli/test-base-cli.js +0 -39
- data/vendor/node_modules/istanbul/test/cli/test-check-coverage-command.js +0 -97
- data/vendor/node_modules/istanbul/test/cli/test-cobertura-report.js +0 -54
- data/vendor/node_modules/istanbul/test/cli/test-cover-command.js +0 -170
- data/vendor/node_modules/istanbul/test/cli/test-html-report.js +0 -125
- data/vendor/node_modules/istanbul/test/cli/test-instrument-command.js +0 -167
- data/vendor/node_modules/istanbul/test/cli/test-json-report.js +0 -60
- data/vendor/node_modules/istanbul/test/cli/test-lcov-report.js +0 -58
- data/vendor/node_modules/istanbul/test/cli/test-lcovonly-report.js +0 -61
- data/vendor/node_modules/istanbul/test/cli/test-lots-of-files.js +0 -87
- data/vendor/node_modules/istanbul/test/cli/test-none-report.js +0 -17
- data/vendor/node_modules/istanbul/test/cli/test-report-command.js +0 -65
- data/vendor/node_modules/istanbul/test/cli/test-teamcity-report.js +0 -54
- data/vendor/node_modules/istanbul/test/cli/test-test-command.js +0 -43
- data/vendor/node_modules/istanbul/test/common.js +0 -19
- data/vendor/node_modules/istanbul/test/helper.js +0 -122
- data/vendor/node_modules/istanbul/test/instrumentation/test-do.js +0 -53
- data/vendor/node_modules/istanbul/test/instrumentation/test-expressions.js +0 -70
- data/vendor/node_modules/istanbul/test/instrumentation/test-for.js +0 -206
- data/vendor/node_modules/istanbul/test/instrumentation/test-forin.js +0 -50
- data/vendor/node_modules/istanbul/test/instrumentation/test-functions.js +0 -102
- data/vendor/node_modules/istanbul/test/instrumentation/test-if.js +0 -393
- data/vendor/node_modules/istanbul/test/instrumentation/test-misc.js +0 -35
- data/vendor/node_modules/istanbul/test/instrumentation/test-statement.js +0 -182
- data/vendor/node_modules/istanbul/test/instrumentation/test-strict.js +0 -121
- data/vendor/node_modules/istanbul/test/instrumentation/test-switch.js +0 -155
- data/vendor/node_modules/istanbul/test/instrumentation/test-while.js +0 -104
- data/vendor/node_modules/istanbul/test/loader.js +0 -38
- data/vendor/node_modules/istanbul/test/other/data-complete-copy/baz.js +0 -3
- data/vendor/node_modules/istanbul/test/other/data-complete-copy/fixture.xml +0 -1
- data/vendor/node_modules/istanbul/test/other/data-complete-copy/foo.js +0 -4
- data/vendor/node_modules/istanbul/test/other/data-complete-copy/myfile1 +0 -0
- data/vendor/node_modules/istanbul/test/other/data-complete-copy/myfile2 +0 -1
- data/vendor/node_modules/istanbul/test/other/data-complete-copy/subdir/x.css +0 -3
- data/vendor/node_modules/istanbul/test/other/data/baz.js +0 -3
- data/vendor/node_modules/istanbul/test/other/data/foo.js +0 -4
- data/vendor/node_modules/istanbul/test/other/data/matcher/general/general.js +0 -2
- data/vendor/node_modules/istanbul/test/other/data/matcher/general/node_modules/mod-file.js +0 -2
- data/vendor/node_modules/istanbul/test/other/data/matcher/lib/lib-top.js +0 -2
- data/vendor/node_modules/istanbul/test/other/data/matcher/node_modules/dep/mod-file.js +0 -2
- data/vendor/node_modules/istanbul/test/other/data/matcher/node_modules/mod-file.js +0 -2
- data/vendor/node_modules/istanbul/test/other/data/matcher/top.js +0 -2
- data/vendor/node_modules/istanbul/test/other/test-collector.js +0 -85
- data/vendor/node_modules/istanbul/test/other/test-command-xface.js +0 -35
- data/vendor/node_modules/istanbul/test/other/test-file-writer.js +0 -71
- data/vendor/node_modules/istanbul/test/other/test-help-formatter.js +0 -31
- data/vendor/node_modules/istanbul/test/other/test-hook.js +0 -87
- data/vendor/node_modules/istanbul/test/other/test-index-xface.js +0 -17
- data/vendor/node_modules/istanbul/test/other/test-input-error.js +0 -10
- data/vendor/node_modules/istanbul/test/other/test-insertion-text.js +0 -102
- data/vendor/node_modules/istanbul/test/other/test-matcher.js +0 -93
- data/vendor/node_modules/istanbul/test/other/test-object-utils.js +0 -201
- data/vendor/node_modules/istanbul/test/other/test-store.js +0 -129
- data/vendor/node_modules/istanbul/test/other/test-summarizer.js +0 -172
- data/vendor/node_modules/istanbul/test/run-again.js +0 -19
- data/vendor/node_modules/istanbul/test/run.js +0 -108
- data/vendor/node_modules/istanbul/yui-coverage-comparison.md +0 -85
- data/vendor/node_modules/qunit-clib/LICENSE.txt +0 -20
- data/vendor/node_modules/qunit-clib/README.md +0 -2
- data/vendor/node_modules/qunit-clib/package.json +0 -36
- data/vendor/node_modules/qunit-clib/qunit-clib.js +0 -570
- data/vendor/node_modules/qunitjs/AUTHORS.txt +0 -55
- data/vendor/node_modules/qunitjs/History.md +0 -496
- data/vendor/node_modules/qunitjs/README.md +0 -62
- data/vendor/node_modules/qunitjs/addons/canvas/README.md +0 -17
- data/vendor/node_modules/qunitjs/addons/canvas/canvas-test.js +0 -76
- data/vendor/node_modules/qunitjs/addons/canvas/canvas.html +0 -15
- data/vendor/node_modules/qunitjs/addons/canvas/qunit-canvas.js +0 -6
- data/vendor/node_modules/qunitjs/addons/close-enough/README.md +0 -18
- data/vendor/node_modules/qunitjs/addons/close-enough/close-enough-test.js +0 -35
- data/vendor/node_modules/qunitjs/addons/close-enough/close-enough.html +0 -14
- data/vendor/node_modules/qunitjs/addons/close-enough/qunit-close-enough.js +0 -32
- data/vendor/node_modules/qunitjs/addons/composite/README.md +0 -26
- data/vendor/node_modules/qunitjs/addons/composite/composite-demo-test.html +0 -24
- data/vendor/node_modules/qunitjs/addons/composite/index.html +0 -34
- data/vendor/node_modules/qunitjs/addons/composite/qunit-composite.css +0 -13
- data/vendor/node_modules/qunitjs/addons/composite/qunit-composite.js +0 -112
- data/vendor/node_modules/qunitjs/addons/junitlogger/README.md +0 -18
- data/vendor/node_modules/qunitjs/addons/junitlogger/index.html +0 -44
- data/vendor/node_modules/qunitjs/addons/junitlogger/junitlogger.js +0 -306
- data/vendor/node_modules/qunitjs/addons/phantomjs/README.md +0 -16
- data/vendor/node_modules/qunitjs/addons/phantomjs/runner.js +0 -127
- data/vendor/node_modules/qunitjs/addons/step/README.md +0 -20
- data/vendor/node_modules/qunitjs/addons/step/qunit-step.js +0 -26
- data/vendor/node_modules/qunitjs/addons/step/step-test.js +0 -15
- data/vendor/node_modules/qunitjs/addons/step/step.html +0 -14
- data/vendor/node_modules/qunitjs/addons/themes/README.md +0 -6
- data/vendor/node_modules/qunitjs/addons/themes/gabe.css +0 -371
- data/vendor/node_modules/qunitjs/addons/themes/gabe.html +0 -15
- data/vendor/node_modules/qunitjs/addons/themes/ninja.css +0 -196
- data/vendor/node_modules/qunitjs/addons/themes/ninja.html +0 -15
- data/vendor/node_modules/qunitjs/addons/themes/nv.css +0 -217
- data/vendor/node_modules/qunitjs/addons/themes/nv.html +0 -15
- data/vendor/node_modules/qunitjs/grunt.js +0 -101
- data/vendor/node_modules/qunitjs/package.json +0 -49
- data/vendor/node_modules/qunitjs/qunit/qunit.css +0 -244
- data/vendor/node_modules/qunitjs/qunit/qunit.js +0 -2152
- data/vendor/node_modules/qunitjs/test/async.html +0 -26
- data/vendor/node_modules/qunitjs/test/async.js +0 -6
- data/vendor/node_modules/qunitjs/test/deepEqual.js +0 -1438
- data/vendor/node_modules/qunitjs/test/headless.html +0 -28
- data/vendor/node_modules/qunitjs/test/index.html +0 -16
- data/vendor/node_modules/qunitjs/test/logs.html +0 -14
- data/vendor/node_modules/qunitjs/test/logs.js +0 -184
- data/vendor/node_modules/qunitjs/test/narwhal-test.js +0 -22
- data/vendor/node_modules/qunitjs/test/node-test.js +0 -22
- data/vendor/node_modules/qunitjs/test/swarminject.js +0 -10
- data/vendor/node_modules/qunitjs/test/test.js +0 -804
- data/vendor/node_modules/regenerate/LICENSE-MIT.txt +0 -20
- data/vendor/node_modules/regenerate/README.md +0 -467
- data/vendor/node_modules/regenerate/package.json +0 -50
- data/vendor/node_modules/regenerate/regenerate.js +0 -617
- data/vendor/node_modules/requirejs/README.md +0 -9
- data/vendor/node_modules/requirejs/bin/r.js +0 -26059
- data/vendor/node_modules/requirejs/package.json +0 -39
- data/vendor/node_modules/requirejs/require.js +0 -2054
@@ -1,680 +0,0 @@
|
|
1
|
-
// Approach:
|
2
|
-
//
|
3
|
-
// 1. Get the minimatch set
|
4
|
-
// 2. For each pattern in the set, PROCESS(pattern)
|
5
|
-
// 3. Store matches per-set, then uniq them
|
6
|
-
//
|
7
|
-
// PROCESS(pattern)
|
8
|
-
// Get the first [n] items from pattern that are all strings
|
9
|
-
// Join these together. This is PREFIX.
|
10
|
-
// If there is no more remaining, then stat(PREFIX) and
|
11
|
-
// add to matches if it succeeds. END.
|
12
|
-
// readdir(PREFIX) as ENTRIES
|
13
|
-
// If fails, END
|
14
|
-
// If pattern[n] is GLOBSTAR
|
15
|
-
// // handle the case where the globstar match is empty
|
16
|
-
// // by pruning it out, and testing the resulting pattern
|
17
|
-
// PROCESS(pattern[0..n] + pattern[n+1 .. $])
|
18
|
-
// // handle other cases.
|
19
|
-
// for ENTRY in ENTRIES (not dotfiles)
|
20
|
-
// // attach globstar + tail onto the entry
|
21
|
-
// PROCESS(pattern[0..n] + ENTRY + pattern[n .. $])
|
22
|
-
//
|
23
|
-
// else // not globstar
|
24
|
-
// for ENTRY in ENTRIES (not dotfiles, unless pattern[n] is dot)
|
25
|
-
// Test ENTRY against pattern[n]
|
26
|
-
// If fails, continue
|
27
|
-
// If passes, PROCESS(pattern[0..n] + item + pattern[n+1 .. $])
|
28
|
-
//
|
29
|
-
// Caveat:
|
30
|
-
// Cache all stats and readdirs results to minimize syscall. Since all
|
31
|
-
// we ever care about is existence and directory-ness, we can just keep
|
32
|
-
// `true` for files, and [children,...] for directories, or `false` for
|
33
|
-
// things that don't exist.
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
module.exports = glob
|
38
|
-
|
39
|
-
var fs = require("fs")
|
40
|
-
, minimatch = require("minimatch")
|
41
|
-
, Minimatch = minimatch.Minimatch
|
42
|
-
, inherits = require("inherits")
|
43
|
-
, EE = require("events").EventEmitter
|
44
|
-
, path = require("path")
|
45
|
-
, isDir = {}
|
46
|
-
, assert = require("assert").ok
|
47
|
-
|
48
|
-
function glob (pattern, options, cb) {
|
49
|
-
if (typeof options === "function") cb = options, options = {}
|
50
|
-
if (!options) options = {}
|
51
|
-
|
52
|
-
if (typeof options === "number") {
|
53
|
-
deprecated()
|
54
|
-
return
|
55
|
-
}
|
56
|
-
|
57
|
-
var g = new Glob(pattern, options, cb)
|
58
|
-
return g.sync ? g.found : g
|
59
|
-
}
|
60
|
-
|
61
|
-
glob.fnmatch = deprecated
|
62
|
-
|
63
|
-
function deprecated () {
|
64
|
-
throw new Error("glob's interface has changed. Please see the docs.")
|
65
|
-
}
|
66
|
-
|
67
|
-
glob.sync = globSync
|
68
|
-
function globSync (pattern, options) {
|
69
|
-
if (typeof options === "number") {
|
70
|
-
deprecated()
|
71
|
-
return
|
72
|
-
}
|
73
|
-
|
74
|
-
options = options || {}
|
75
|
-
options.sync = true
|
76
|
-
return glob(pattern, options)
|
77
|
-
}
|
78
|
-
|
79
|
-
|
80
|
-
glob.Glob = Glob
|
81
|
-
inherits(Glob, EE)
|
82
|
-
function Glob (pattern, options, cb) {
|
83
|
-
if (!(this instanceof Glob)) {
|
84
|
-
return new Glob(pattern, options, cb)
|
85
|
-
}
|
86
|
-
|
87
|
-
if (typeof options === "function") {
|
88
|
-
cb = options
|
89
|
-
options = null
|
90
|
-
}
|
91
|
-
|
92
|
-
if (typeof cb === "function") {
|
93
|
-
this.on("error", cb)
|
94
|
-
this.on("end", function (matches) {
|
95
|
-
cb(null, matches)
|
96
|
-
})
|
97
|
-
}
|
98
|
-
|
99
|
-
options = options || {}
|
100
|
-
|
101
|
-
this.EOF = {}
|
102
|
-
this._emitQueue = []
|
103
|
-
|
104
|
-
this.maxDepth = options.maxDepth || 1000
|
105
|
-
this.maxLength = options.maxLength || Infinity
|
106
|
-
this.cache = options.cache || {}
|
107
|
-
this.statCache = options.statCache || {}
|
108
|
-
|
109
|
-
this.changedCwd = false
|
110
|
-
var cwd = process.cwd()
|
111
|
-
if (!options.hasOwnProperty("cwd")) this.cwd = cwd
|
112
|
-
else {
|
113
|
-
this.cwd = options.cwd
|
114
|
-
this.changedCwd = path.resolve(options.cwd) !== cwd
|
115
|
-
}
|
116
|
-
|
117
|
-
this.root = options.root || path.resolve(this.cwd, "/")
|
118
|
-
this.root = path.resolve(this.root)
|
119
|
-
if (process.platform === "win32")
|
120
|
-
this.root = this.root.replace(/\\/g, "/")
|
121
|
-
|
122
|
-
this.nomount = !!options.nomount
|
123
|
-
|
124
|
-
if (!pattern) {
|
125
|
-
throw new Error("must provide pattern")
|
126
|
-
}
|
127
|
-
|
128
|
-
// base-matching: just use globstar for that.
|
129
|
-
if (options.matchBase && -1 === pattern.indexOf("/")) {
|
130
|
-
if (options.noglobstar) {
|
131
|
-
throw new Error("base matching requires globstar")
|
132
|
-
}
|
133
|
-
pattern = "**/" + pattern
|
134
|
-
}
|
135
|
-
|
136
|
-
this.strict = options.strict !== false
|
137
|
-
this.dot = !!options.dot
|
138
|
-
this.mark = !!options.mark
|
139
|
-
this.sync = !!options.sync
|
140
|
-
this.nounique = !!options.nounique
|
141
|
-
this.nonull = !!options.nonull
|
142
|
-
this.nosort = !!options.nosort
|
143
|
-
this.nocase = !!options.nocase
|
144
|
-
this.stat = !!options.stat
|
145
|
-
|
146
|
-
this.debug = !!options.debug || !!options.globDebug
|
147
|
-
if (this.debug)
|
148
|
-
this.log = console.error
|
149
|
-
|
150
|
-
this.silent = !!options.silent
|
151
|
-
|
152
|
-
var mm = this.minimatch = new Minimatch(pattern, options)
|
153
|
-
this.options = mm.options
|
154
|
-
pattern = this.pattern = mm.pattern
|
155
|
-
|
156
|
-
this.error = null
|
157
|
-
this.aborted = false
|
158
|
-
|
159
|
-
// list of all the patterns that ** has resolved do, so
|
160
|
-
// we can avoid visiting multiple times.
|
161
|
-
this._globstars = {}
|
162
|
-
|
163
|
-
EE.call(this)
|
164
|
-
|
165
|
-
// process each pattern in the minimatch set
|
166
|
-
var n = this.minimatch.set.length
|
167
|
-
|
168
|
-
// The matches are stored as {<filename>: true,...} so that
|
169
|
-
// duplicates are automagically pruned.
|
170
|
-
// Later, we do an Object.keys() on these.
|
171
|
-
// Keep them as a list so we can fill in when nonull is set.
|
172
|
-
this.matches = new Array(n)
|
173
|
-
|
174
|
-
this.minimatch.set.forEach(iterator.bind(this))
|
175
|
-
function iterator (pattern, i, set) {
|
176
|
-
this._process(pattern, 0, i, function (er) {
|
177
|
-
if (er) this.emit("error", er)
|
178
|
-
if (-- n <= 0) this._finish()
|
179
|
-
})
|
180
|
-
}
|
181
|
-
}
|
182
|
-
|
183
|
-
Glob.prototype.log = function () {}
|
184
|
-
|
185
|
-
Glob.prototype._finish = function () {
|
186
|
-
assert(this instanceof Glob)
|
187
|
-
|
188
|
-
var nou = this.nounique
|
189
|
-
, all = nou ? [] : {}
|
190
|
-
|
191
|
-
for (var i = 0, l = this.matches.length; i < l; i ++) {
|
192
|
-
var matches = this.matches[i]
|
193
|
-
this.log("matches[%d] =", i, matches)
|
194
|
-
// do like the shell, and spit out the literal glob
|
195
|
-
if (!matches) {
|
196
|
-
if (this.nonull) {
|
197
|
-
var literal = this.minimatch.globSet[i]
|
198
|
-
if (nou) all.push(literal)
|
199
|
-
else all[literal] = true
|
200
|
-
}
|
201
|
-
} else {
|
202
|
-
// had matches
|
203
|
-
var m = Object.keys(matches)
|
204
|
-
if (nou) all.push.apply(all, m)
|
205
|
-
else m.forEach(function (m) {
|
206
|
-
all[m] = true
|
207
|
-
})
|
208
|
-
}
|
209
|
-
}
|
210
|
-
|
211
|
-
if (!nou) all = Object.keys(all)
|
212
|
-
|
213
|
-
if (!this.nosort) {
|
214
|
-
all = all.sort(this.nocase ? alphasorti : alphasort)
|
215
|
-
}
|
216
|
-
|
217
|
-
if (this.mark) {
|
218
|
-
// at *some* point we statted all of these
|
219
|
-
all = all.map(function (m) {
|
220
|
-
var sc = this.cache[m]
|
221
|
-
if (!sc)
|
222
|
-
return m
|
223
|
-
var isDir = (Array.isArray(sc) || sc === 2)
|
224
|
-
if (isDir && m.slice(-1) !== "/") {
|
225
|
-
return m + "/"
|
226
|
-
}
|
227
|
-
if (!isDir && m.slice(-1) === "/") {
|
228
|
-
return m.replace(/\/+$/, "")
|
229
|
-
}
|
230
|
-
return m
|
231
|
-
}, this)
|
232
|
-
}
|
233
|
-
|
234
|
-
this.log("emitting end", all)
|
235
|
-
|
236
|
-
this.EOF = this.found = all
|
237
|
-
this.emitMatch(this.EOF)
|
238
|
-
}
|
239
|
-
|
240
|
-
function alphasorti (a, b) {
|
241
|
-
a = a.toLowerCase()
|
242
|
-
b = b.toLowerCase()
|
243
|
-
return alphasort(a, b)
|
244
|
-
}
|
245
|
-
|
246
|
-
function alphasort (a, b) {
|
247
|
-
return a > b ? 1 : a < b ? -1 : 0
|
248
|
-
}
|
249
|
-
|
250
|
-
Glob.prototype.abort = function () {
|
251
|
-
this.aborted = true
|
252
|
-
this.emit("abort")
|
253
|
-
}
|
254
|
-
|
255
|
-
Glob.prototype.pause = function () {
|
256
|
-
if (this.paused) return
|
257
|
-
if (this.sync)
|
258
|
-
this.emit("error", new Error("Can't pause/resume sync glob"))
|
259
|
-
this.paused = true
|
260
|
-
this.emit("pause")
|
261
|
-
}
|
262
|
-
|
263
|
-
Glob.prototype.resume = function () {
|
264
|
-
if (!this.paused) return
|
265
|
-
if (this.sync)
|
266
|
-
this.emit("error", new Error("Can't pause/resume sync glob"))
|
267
|
-
this.paused = false
|
268
|
-
this.emit("resume")
|
269
|
-
this._processEmitQueue()
|
270
|
-
//process.nextTick(this.emit.bind(this, "resume"))
|
271
|
-
}
|
272
|
-
|
273
|
-
Glob.prototype.emitMatch = function (m) {
|
274
|
-
if (!this.stat || this.statCache[m] || m === this.EOF) {
|
275
|
-
this._emitQueue.push(m)
|
276
|
-
this._processEmitQueue()
|
277
|
-
} else {
|
278
|
-
this._stat(m, function(exists, isDir) {
|
279
|
-
if (exists) {
|
280
|
-
this._emitQueue.push(m)
|
281
|
-
this._processEmitQueue()
|
282
|
-
}
|
283
|
-
})
|
284
|
-
}
|
285
|
-
}
|
286
|
-
|
287
|
-
Glob.prototype._processEmitQueue = function (m) {
|
288
|
-
while (!this._processingEmitQueue &&
|
289
|
-
!this.paused) {
|
290
|
-
this._processingEmitQueue = true
|
291
|
-
var m = this._emitQueue.shift()
|
292
|
-
if (!m) {
|
293
|
-
this._processingEmitQueue = false
|
294
|
-
break
|
295
|
-
}
|
296
|
-
|
297
|
-
this.log('emit!', m === this.EOF ? "end" : "match")
|
298
|
-
|
299
|
-
this.emit(m === this.EOF ? "end" : "match", m)
|
300
|
-
this._processingEmitQueue = false
|
301
|
-
}
|
302
|
-
}
|
303
|
-
|
304
|
-
Glob.prototype._process = function (pattern, depth, index, cb_) {
|
305
|
-
assert(this instanceof Glob)
|
306
|
-
|
307
|
-
var cb = function cb (er, res) {
|
308
|
-
assert(this instanceof Glob)
|
309
|
-
if (this.paused) {
|
310
|
-
if (!this._processQueue) {
|
311
|
-
this._processQueue = []
|
312
|
-
this.once("resume", function () {
|
313
|
-
var q = this._processQueue
|
314
|
-
this._processQueue = null
|
315
|
-
q.forEach(function (cb) { cb() })
|
316
|
-
})
|
317
|
-
}
|
318
|
-
this._processQueue.push(cb_.bind(this, er, res))
|
319
|
-
} else {
|
320
|
-
cb_.call(this, er, res)
|
321
|
-
}
|
322
|
-
}.bind(this)
|
323
|
-
|
324
|
-
if (this.aborted) return cb()
|
325
|
-
|
326
|
-
if (depth > this.maxDepth) return cb()
|
327
|
-
|
328
|
-
// Get the first [n] parts of pattern that are all strings.
|
329
|
-
var n = 0
|
330
|
-
while (typeof pattern[n] === "string") {
|
331
|
-
n ++
|
332
|
-
}
|
333
|
-
// now n is the index of the first one that is *not* a string.
|
334
|
-
|
335
|
-
// see if there's anything else
|
336
|
-
var prefix
|
337
|
-
switch (n) {
|
338
|
-
// if not, then this is rather simple
|
339
|
-
case pattern.length:
|
340
|
-
prefix = pattern.join("/")
|
341
|
-
this._stat(prefix, function (exists, isDir) {
|
342
|
-
// either it's there, or it isn't.
|
343
|
-
// nothing more to do, either way.
|
344
|
-
if (exists) {
|
345
|
-
if (prefix && isAbsolute(prefix) && !this.nomount) {
|
346
|
-
if (prefix.charAt(0) === "/") {
|
347
|
-
prefix = path.join(this.root, prefix)
|
348
|
-
} else {
|
349
|
-
prefix = path.resolve(this.root, prefix)
|
350
|
-
}
|
351
|
-
}
|
352
|
-
|
353
|
-
if (process.platform === "win32")
|
354
|
-
prefix = prefix.replace(/\\/g, "/")
|
355
|
-
|
356
|
-
this.matches[index] = this.matches[index] || {}
|
357
|
-
this.matches[index][prefix] = true
|
358
|
-
this.emitMatch(prefix)
|
359
|
-
}
|
360
|
-
return cb()
|
361
|
-
})
|
362
|
-
return
|
363
|
-
|
364
|
-
case 0:
|
365
|
-
// pattern *starts* with some non-trivial item.
|
366
|
-
// going to readdir(cwd), but not include the prefix in matches.
|
367
|
-
prefix = null
|
368
|
-
break
|
369
|
-
|
370
|
-
default:
|
371
|
-
// pattern has some string bits in the front.
|
372
|
-
// whatever it starts with, whether that's "absolute" like /foo/bar,
|
373
|
-
// or "relative" like "../baz"
|
374
|
-
prefix = pattern.slice(0, n)
|
375
|
-
prefix = prefix.join("/")
|
376
|
-
break
|
377
|
-
}
|
378
|
-
|
379
|
-
// get the list of entries.
|
380
|
-
var read
|
381
|
-
if (prefix === null) read = "."
|
382
|
-
else if (isAbsolute(prefix) || isAbsolute(pattern.join("/"))) {
|
383
|
-
if (!prefix || !isAbsolute(prefix)) {
|
384
|
-
prefix = path.join("/", prefix)
|
385
|
-
}
|
386
|
-
read = prefix = path.resolve(prefix)
|
387
|
-
|
388
|
-
// if (process.platform === "win32")
|
389
|
-
// read = prefix = prefix.replace(/^[a-zA-Z]:|\\/g, "/")
|
390
|
-
|
391
|
-
this.log('absolute: ', prefix, this.root, pattern, read)
|
392
|
-
} else {
|
393
|
-
read = prefix
|
394
|
-
}
|
395
|
-
|
396
|
-
this.log('readdir(%j)', read, this.cwd, this.root)
|
397
|
-
|
398
|
-
return this._readdir(read, function (er, entries) {
|
399
|
-
if (er) {
|
400
|
-
// not a directory!
|
401
|
-
// this means that, whatever else comes after this, it can never match
|
402
|
-
return cb()
|
403
|
-
}
|
404
|
-
|
405
|
-
// globstar is special
|
406
|
-
if (pattern[n] === minimatch.GLOBSTAR) {
|
407
|
-
// test without the globstar, and with every child both below
|
408
|
-
// and replacing the globstar.
|
409
|
-
var s = [ pattern.slice(0, n).concat(pattern.slice(n + 1)) ]
|
410
|
-
entries.forEach(function (e) {
|
411
|
-
if (e.charAt(0) === "." && !this.dot) return
|
412
|
-
// instead of the globstar
|
413
|
-
s.push(pattern.slice(0, n).concat(e).concat(pattern.slice(n + 1)))
|
414
|
-
// below the globstar
|
415
|
-
s.push(pattern.slice(0, n).concat(e).concat(pattern.slice(n)))
|
416
|
-
}, this)
|
417
|
-
|
418
|
-
s = s.filter(function (pattern) {
|
419
|
-
var key = gsKey(pattern)
|
420
|
-
var seen = !this._globstars[key]
|
421
|
-
this._globstars[key] = true
|
422
|
-
return seen
|
423
|
-
}, this)
|
424
|
-
|
425
|
-
if (!s.length)
|
426
|
-
return cb()
|
427
|
-
|
428
|
-
// now asyncForEach over this
|
429
|
-
var l = s.length
|
430
|
-
, errState = null
|
431
|
-
s.forEach(function (gsPattern) {
|
432
|
-
this._process(gsPattern, depth + 1, index, function (er) {
|
433
|
-
if (errState) return
|
434
|
-
if (er) return cb(errState = er)
|
435
|
-
if (--l <= 0) return cb()
|
436
|
-
})
|
437
|
-
}, this)
|
438
|
-
|
439
|
-
return
|
440
|
-
}
|
441
|
-
|
442
|
-
// not a globstar
|
443
|
-
// It will only match dot entries if it starts with a dot, or if
|
444
|
-
// dot is set. Stuff like @(.foo|.bar) isn't allowed.
|
445
|
-
var pn = pattern[n]
|
446
|
-
var rawGlob = pattern[n]._glob
|
447
|
-
, dotOk = this.dot || rawGlob.charAt(0) === "."
|
448
|
-
|
449
|
-
entries = entries.filter(function (e) {
|
450
|
-
return (e.charAt(0) !== "." || dotOk) &&
|
451
|
-
e.match(pattern[n])
|
452
|
-
})
|
453
|
-
|
454
|
-
// If n === pattern.length - 1, then there's no need for the extra stat
|
455
|
-
// *unless* the user has specified "mark" or "stat" explicitly.
|
456
|
-
// We know that they exist, since the readdir returned them.
|
457
|
-
if (n === pattern.length - 1 &&
|
458
|
-
!this.mark &&
|
459
|
-
!this.stat) {
|
460
|
-
entries.forEach(function (e) {
|
461
|
-
if (prefix) {
|
462
|
-
if (prefix !== "/") e = prefix + "/" + e
|
463
|
-
else e = prefix + e
|
464
|
-
}
|
465
|
-
if (e.charAt(0) === "/" && !this.nomount) {
|
466
|
-
e = path.join(this.root, e)
|
467
|
-
}
|
468
|
-
|
469
|
-
if (process.platform === "win32")
|
470
|
-
e = e.replace(/\\/g, "/")
|
471
|
-
|
472
|
-
this.matches[index] = this.matches[index] || {}
|
473
|
-
this.matches[index][e] = true
|
474
|
-
this.emitMatch(e)
|
475
|
-
}, this)
|
476
|
-
return cb.call(this)
|
477
|
-
}
|
478
|
-
|
479
|
-
|
480
|
-
// now test all the remaining entries as stand-ins for that part
|
481
|
-
// of the pattern.
|
482
|
-
var l = entries.length
|
483
|
-
, errState = null
|
484
|
-
if (l === 0) return cb() // no matches possible
|
485
|
-
entries.forEach(function (e) {
|
486
|
-
var p = pattern.slice(0, n).concat(e).concat(pattern.slice(n + 1))
|
487
|
-
this._process(p, depth + 1, index, function (er) {
|
488
|
-
if (errState) return
|
489
|
-
if (er) return cb(errState = er)
|
490
|
-
if (--l === 0) return cb.call(this)
|
491
|
-
})
|
492
|
-
}, this)
|
493
|
-
})
|
494
|
-
|
495
|
-
}
|
496
|
-
|
497
|
-
function gsKey (pattern) {
|
498
|
-
return '**' + pattern.map(function (p) {
|
499
|
-
return (p === minimatch.GLOBSTAR) ? '**' : (''+p)
|
500
|
-
}).join('/')
|
501
|
-
}
|
502
|
-
|
503
|
-
Glob.prototype._stat = function (f, cb) {
|
504
|
-
assert(this instanceof Glob)
|
505
|
-
var abs = f
|
506
|
-
if (f.charAt(0) === "/") {
|
507
|
-
abs = path.join(this.root, f)
|
508
|
-
} else if (this.changedCwd) {
|
509
|
-
abs = path.resolve(this.cwd, f)
|
510
|
-
}
|
511
|
-
|
512
|
-
if (f.length > this.maxLength) {
|
513
|
-
var er = new Error("Path name too long")
|
514
|
-
er.code = "ENAMETOOLONG"
|
515
|
-
er.path = f
|
516
|
-
return this._afterStat(f, abs, cb, er)
|
517
|
-
}
|
518
|
-
|
519
|
-
this.log('stat', [this.cwd, f, '=', abs])
|
520
|
-
|
521
|
-
if (!this.stat && this.cache.hasOwnProperty(f)) {
|
522
|
-
var exists = this.cache[f]
|
523
|
-
, isDir = exists && (Array.isArray(exists) || exists === 2)
|
524
|
-
if (this.sync) return cb.call(this, !!exists, isDir)
|
525
|
-
return process.nextTick(cb.bind(this, !!exists, isDir))
|
526
|
-
}
|
527
|
-
|
528
|
-
var stat = this.statCache[abs]
|
529
|
-
if (this.sync || stat) {
|
530
|
-
var er
|
531
|
-
try {
|
532
|
-
stat = fs.statSync(abs)
|
533
|
-
} catch (e) {
|
534
|
-
er = e
|
535
|
-
}
|
536
|
-
this._afterStat(f, abs, cb, er, stat)
|
537
|
-
} else {
|
538
|
-
fs.stat(abs, this._afterStat.bind(this, f, abs, cb))
|
539
|
-
}
|
540
|
-
}
|
541
|
-
|
542
|
-
Glob.prototype._afterStat = function (f, abs, cb, er, stat) {
|
543
|
-
var exists
|
544
|
-
assert(this instanceof Glob)
|
545
|
-
|
546
|
-
if (abs.slice(-1) === "/" && stat && !stat.isDirectory()) {
|
547
|
-
this.log("should be ENOTDIR, fake it")
|
548
|
-
|
549
|
-
er = new Error("ENOTDIR, not a directory '" + abs + "'")
|
550
|
-
er.path = abs
|
551
|
-
er.code = "ENOTDIR"
|
552
|
-
stat = null
|
553
|
-
}
|
554
|
-
|
555
|
-
var emit = !this.statCache[abs]
|
556
|
-
this.statCache[abs] = stat
|
557
|
-
|
558
|
-
if (er || !stat) {
|
559
|
-
exists = false
|
560
|
-
} else {
|
561
|
-
exists = stat.isDirectory() ? 2 : 1
|
562
|
-
if (emit)
|
563
|
-
this.emit('stat', f, stat)
|
564
|
-
}
|
565
|
-
this.cache[f] = this.cache[f] || exists
|
566
|
-
cb.call(this, !!exists, exists === 2)
|
567
|
-
}
|
568
|
-
|
569
|
-
Glob.prototype._readdir = function (f, cb) {
|
570
|
-
assert(this instanceof Glob)
|
571
|
-
var abs = f
|
572
|
-
if (f.charAt(0) === "/") {
|
573
|
-
abs = path.join(this.root, f)
|
574
|
-
} else if (isAbsolute(f)) {
|
575
|
-
abs = f
|
576
|
-
} else if (this.changedCwd) {
|
577
|
-
abs = path.resolve(this.cwd, f)
|
578
|
-
}
|
579
|
-
|
580
|
-
if (f.length > this.maxLength) {
|
581
|
-
var er = new Error("Path name too long")
|
582
|
-
er.code = "ENAMETOOLONG"
|
583
|
-
er.path = f
|
584
|
-
return this._afterReaddir(f, abs, cb, er)
|
585
|
-
}
|
586
|
-
|
587
|
-
this.log('readdir', [this.cwd, f, abs])
|
588
|
-
if (this.cache.hasOwnProperty(f)) {
|
589
|
-
var c = this.cache[f]
|
590
|
-
if (Array.isArray(c)) {
|
591
|
-
if (this.sync) return cb.call(this, null, c)
|
592
|
-
return process.nextTick(cb.bind(this, null, c))
|
593
|
-
}
|
594
|
-
|
595
|
-
if (!c || c === 1) {
|
596
|
-
// either ENOENT or ENOTDIR
|
597
|
-
var code = c ? "ENOTDIR" : "ENOENT"
|
598
|
-
, er = new Error((c ? "Not a directory" : "Not found") + ": " + f)
|
599
|
-
er.path = f
|
600
|
-
er.code = code
|
601
|
-
this.log(f, er)
|
602
|
-
if (this.sync) return cb.call(this, er)
|
603
|
-
return process.nextTick(cb.bind(this, er))
|
604
|
-
}
|
605
|
-
|
606
|
-
// at this point, c === 2, meaning it's a dir, but we haven't
|
607
|
-
// had to read it yet, or c === true, meaning it's *something*
|
608
|
-
// but we don't have any idea what. Need to read it, either way.
|
609
|
-
}
|
610
|
-
|
611
|
-
if (this.sync) {
|
612
|
-
var er, entries
|
613
|
-
try {
|
614
|
-
entries = fs.readdirSync(abs)
|
615
|
-
} catch (e) {
|
616
|
-
er = e
|
617
|
-
}
|
618
|
-
return this._afterReaddir(f, abs, cb, er, entries)
|
619
|
-
}
|
620
|
-
|
621
|
-
fs.readdir(abs, this._afterReaddir.bind(this, f, abs, cb))
|
622
|
-
}
|
623
|
-
|
624
|
-
Glob.prototype._afterReaddir = function (f, abs, cb, er, entries) {
|
625
|
-
assert(this instanceof Glob)
|
626
|
-
if (entries && !er) {
|
627
|
-
this.cache[f] = entries
|
628
|
-
// if we haven't asked to stat everything for suresies, then just
|
629
|
-
// assume that everything in there exists, so we can avoid
|
630
|
-
// having to stat it a second time. This also gets us one step
|
631
|
-
// further into ELOOP territory.
|
632
|
-
if (!this.mark && !this.stat) {
|
633
|
-
entries.forEach(function (e) {
|
634
|
-
if (f === "/") e = f + e
|
635
|
-
else e = f + "/" + e
|
636
|
-
this.cache[e] = true
|
637
|
-
}, this)
|
638
|
-
}
|
639
|
-
|
640
|
-
return cb.call(this, er, entries)
|
641
|
-
}
|
642
|
-
|
643
|
-
// now handle errors, and cache the information
|
644
|
-
if (er) switch (er.code) {
|
645
|
-
case "ENOTDIR": // totally normal. means it *does* exist.
|
646
|
-
this.cache[f] = 1
|
647
|
-
return cb.call(this, er)
|
648
|
-
case "ENOENT": // not terribly unusual
|
649
|
-
case "ELOOP":
|
650
|
-
case "ENAMETOOLONG":
|
651
|
-
case "UNKNOWN":
|
652
|
-
this.cache[f] = false
|
653
|
-
return cb.call(this, er)
|
654
|
-
default: // some unusual error. Treat as failure.
|
655
|
-
this.cache[f] = false
|
656
|
-
if (this.strict) this.emit("error", er)
|
657
|
-
if (!this.silent) console.error("glob error", er)
|
658
|
-
return cb.call(this, er)
|
659
|
-
}
|
660
|
-
}
|
661
|
-
|
662
|
-
var isAbsolute = process.platform === "win32" ? absWin : absUnix
|
663
|
-
|
664
|
-
function absWin (p) {
|
665
|
-
if (absUnix(p)) return true
|
666
|
-
// pull off the device/UNC bit from a windows path.
|
667
|
-
// from node's lib/path.js
|
668
|
-
var splitDeviceRe =
|
669
|
-
/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/
|
670
|
-
, result = splitDeviceRe.exec(p)
|
671
|
-
, device = result[1] || ''
|
672
|
-
, isUnc = device && device.charAt(1) !== ':'
|
673
|
-
, isAbsolute = !!result[2] || isUnc // UNC paths are always absolute
|
674
|
-
|
675
|
-
return isAbsolute
|
676
|
-
}
|
677
|
-
|
678
|
-
function absUnix (p) {
|
679
|
-
return p.charAt(0) === "/" || p === ""
|
680
|
-
}
|