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,352 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* grunt
|
3
|
-
* http://gruntjs.com/
|
4
|
-
*
|
5
|
-
* Copyright (c) 2013 "Cowboy" Ben Alman
|
6
|
-
* Licensed under the MIT license.
|
7
|
-
* https://github.com/gruntjs/grunt/blob/master/LICENSE-MIT
|
8
|
-
*/
|
9
|
-
|
10
|
-
'use strict';
|
11
|
-
|
12
|
-
var grunt = require('../grunt');
|
13
|
-
|
14
|
-
// Nodejs libs.
|
15
|
-
var util = require('util');
|
16
|
-
|
17
|
-
// The module to be exported.
|
18
|
-
var log = module.exports = {};
|
19
|
-
|
20
|
-
// External lib. Requiring this here modifies the String prototype!
|
21
|
-
var colors = require('colors');
|
22
|
-
|
23
|
-
// Disable colors if --no-colors was passed.
|
24
|
-
log.initColors = function() {
|
25
|
-
var util = grunt.util;
|
26
|
-
if (grunt.option('no-color')) {
|
27
|
-
// String color getters should just return the string.
|
28
|
-
colors.mode = 'none';
|
29
|
-
// Strip colors from strings passed to console.log.
|
30
|
-
util.hooker.hook(console, 'log', function() {
|
31
|
-
var args = util.toArray(arguments);
|
32
|
-
return util.hooker.filter(this, args.map(function(arg) {
|
33
|
-
return util.kindOf(arg) === 'string' ? colors.stripColors(arg) : arg;
|
34
|
-
}));
|
35
|
-
});
|
36
|
-
}
|
37
|
-
};
|
38
|
-
|
39
|
-
// Temporarily suppress output.
|
40
|
-
var suppressOutput;
|
41
|
-
|
42
|
-
// Allow external muting of output.
|
43
|
-
log.muted = false;
|
44
|
-
|
45
|
-
// True once anything has actually been logged.
|
46
|
-
var hasLogged;
|
47
|
-
|
48
|
-
// Parse certain markup in strings to be logged.
|
49
|
-
function markup(str) {
|
50
|
-
str = str || '';
|
51
|
-
// Make _foo_ underline.
|
52
|
-
str = str.replace(/(\s|^)_(\S|\S[\s\S]+?\S)_(?=[\s,.!?]|$)/g, '$1' + '$2'.underline);
|
53
|
-
// Make *foo* bold.
|
54
|
-
str = str.replace(/(\s|^)\*(\S|\S[\s\S]+?\S)\*(?=[\s,.!?]|$)/g, '$1' + '$2'.bold);
|
55
|
-
return str;
|
56
|
-
}
|
57
|
-
|
58
|
-
// Similar to util.format in the standard library, however it'll always
|
59
|
-
// cast the first argument to a string and treat it as the format string.
|
60
|
-
function format(args) {
|
61
|
-
// Args is a argument array so copy it in order to avoid wonky behavior.
|
62
|
-
args = [].slice.call(args, 0);
|
63
|
-
if (args.length > 0) {
|
64
|
-
args[0] = String(args[0]);
|
65
|
-
}
|
66
|
-
return util.format.apply(util, args);
|
67
|
-
}
|
68
|
-
|
69
|
-
function write(msg) {
|
70
|
-
msg = msg || '';
|
71
|
-
// Actually write output.
|
72
|
-
if (!log.muted && !suppressOutput) {
|
73
|
-
hasLogged = true;
|
74
|
-
// Users should probably use the colors-provided methods, but if they
|
75
|
-
// don't, this should strip extraneous color codes.
|
76
|
-
if (grunt.option('no-color')) { msg = colors.stripColors(msg); }
|
77
|
-
// Actually write to stdout.
|
78
|
-
process.stdout.write(markup(msg));
|
79
|
-
}
|
80
|
-
}
|
81
|
-
|
82
|
-
function writeln(msg) {
|
83
|
-
// Write blank line if no msg is passed in.
|
84
|
-
msg = msg || '';
|
85
|
-
write(msg + '\n');
|
86
|
-
}
|
87
|
-
|
88
|
-
// Write output.
|
89
|
-
log.write = function() {
|
90
|
-
write(format(arguments));
|
91
|
-
return log;
|
92
|
-
};
|
93
|
-
|
94
|
-
// Write a line of output.
|
95
|
-
log.writeln = function() {
|
96
|
-
writeln(format(arguments));
|
97
|
-
return log;
|
98
|
-
};
|
99
|
-
|
100
|
-
log.warn = function() {
|
101
|
-
var msg = format(arguments);
|
102
|
-
if (arguments.length > 0) {
|
103
|
-
writeln('>> '.red + grunt.util._.trim(msg).replace(/\n/g, '\n>> '.red));
|
104
|
-
} else {
|
105
|
-
writeln('ERROR'.red);
|
106
|
-
}
|
107
|
-
return log;
|
108
|
-
};
|
109
|
-
log.error = function() {
|
110
|
-
grunt.fail.errorcount++;
|
111
|
-
log.warn.apply(log, arguments);
|
112
|
-
return log;
|
113
|
-
};
|
114
|
-
log.ok = function() {
|
115
|
-
var msg = format(arguments);
|
116
|
-
if (arguments.length > 0) {
|
117
|
-
writeln('>> '.green + grunt.util._.trim(msg).replace(/\n/g, '\n>> '.green));
|
118
|
-
} else {
|
119
|
-
writeln('OK'.green);
|
120
|
-
}
|
121
|
-
return log;
|
122
|
-
};
|
123
|
-
log.errorlns = function() {
|
124
|
-
var msg = format(arguments);
|
125
|
-
log.error(log.wraptext(77, msg));
|
126
|
-
return log;
|
127
|
-
};
|
128
|
-
log.oklns = function() {
|
129
|
-
var msg = format(arguments);
|
130
|
-
log.ok(log.wraptext(77, msg));
|
131
|
-
return log;
|
132
|
-
};
|
133
|
-
log.success = function() {
|
134
|
-
var msg = format(arguments);
|
135
|
-
writeln(msg.green);
|
136
|
-
return log;
|
137
|
-
};
|
138
|
-
log.fail = function() {
|
139
|
-
var msg = format(arguments);
|
140
|
-
writeln(msg.red);
|
141
|
-
return log;
|
142
|
-
};
|
143
|
-
log.header = function() {
|
144
|
-
var msg = format(arguments);
|
145
|
-
// Skip line before header, but not if header is the very first line output.
|
146
|
-
if (hasLogged) { writeln(); }
|
147
|
-
writeln(msg.underline);
|
148
|
-
return log;
|
149
|
-
};
|
150
|
-
log.subhead = function() {
|
151
|
-
var msg = format(arguments);
|
152
|
-
// Skip line before subhead, but not if subhead is the very first line output.
|
153
|
-
if (hasLogged) { writeln(); }
|
154
|
-
writeln(msg.bold);
|
155
|
-
return log;
|
156
|
-
};
|
157
|
-
// For debugging.
|
158
|
-
log.debug = function() {
|
159
|
-
var msg = format(arguments);
|
160
|
-
if (grunt.option('debug')) {
|
161
|
-
writeln('[D] ' + msg.magenta);
|
162
|
-
}
|
163
|
-
return log;
|
164
|
-
};
|
165
|
-
|
166
|
-
// Write a line of a table.
|
167
|
-
log.writetableln = function(widths, texts) {
|
168
|
-
writeln(log.table(widths, texts));
|
169
|
-
return log;
|
170
|
-
};
|
171
|
-
|
172
|
-
// Wrap a long line of text to 80 columns.
|
173
|
-
log.writelns = function() {
|
174
|
-
var msg = format(arguments);
|
175
|
-
writeln(log.wraptext(80, msg));
|
176
|
-
return log;
|
177
|
-
};
|
178
|
-
|
179
|
-
// Display flags in verbose mode.
|
180
|
-
log.writeflags = function(obj, prefix) {
|
181
|
-
var wordlist;
|
182
|
-
if (Array.isArray(obj)) {
|
183
|
-
wordlist = log.wordlist(obj);
|
184
|
-
} else if (typeof obj === 'object' && obj) {
|
185
|
-
wordlist = log.wordlist(Object.keys(obj).map(function(key) {
|
186
|
-
var val = obj[key];
|
187
|
-
return key + (val === true ? '' : '=' + JSON.stringify(val));
|
188
|
-
}));
|
189
|
-
}
|
190
|
-
writeln((prefix || 'Flags') + ': ' + (wordlist || '(none)'.cyan));
|
191
|
-
return log;
|
192
|
-
};
|
193
|
-
|
194
|
-
// Create explicit "verbose" and "notverbose" functions, one for each already-
|
195
|
-
// defined log function, that do the same thing but ONLY if -v or --verbose is
|
196
|
-
// specified (or not specified).
|
197
|
-
log.verbose = {};
|
198
|
-
log.notverbose = {};
|
199
|
-
|
200
|
-
// Iterate over all exported functions.
|
201
|
-
Object.keys(log).filter(function(key) {
|
202
|
-
return typeof log[key] === 'function';
|
203
|
-
}).forEach(function(key) {
|
204
|
-
// Like any other log function, but suppresses output if the "verbose" option
|
205
|
-
// IS NOT set.
|
206
|
-
log.verbose[key] = function() {
|
207
|
-
suppressOutput = !grunt.option('verbose');
|
208
|
-
log[key].apply(log, arguments);
|
209
|
-
suppressOutput = false;
|
210
|
-
return log.verbose;
|
211
|
-
};
|
212
|
-
// Like any other log function, but suppresses output if the "verbose" option
|
213
|
-
// IS set.
|
214
|
-
log.notverbose[key] = function() {
|
215
|
-
suppressOutput = grunt.option('verbose');
|
216
|
-
log[key].apply(log, arguments);
|
217
|
-
suppressOutput = false;
|
218
|
-
return log.notverbose;
|
219
|
-
};
|
220
|
-
});
|
221
|
-
|
222
|
-
// A way to switch between verbose and notverbose modes. For example, this will
|
223
|
-
// write 'foo' if verbose logging is enabled, otherwise write 'bar':
|
224
|
-
// verbose.write('foo').or.write('bar');
|
225
|
-
log.verbose.or = log.notverbose;
|
226
|
-
log.notverbose.or = log.verbose;
|
227
|
-
|
228
|
-
// Static methods.
|
229
|
-
|
230
|
-
// Pretty-format a word list.
|
231
|
-
log.wordlist = function(arr, options) {
|
232
|
-
options = grunt.util._.defaults(options || {}, {
|
233
|
-
separator: ', ',
|
234
|
-
color: 'cyan'
|
235
|
-
});
|
236
|
-
return arr.map(function(item) {
|
237
|
-
return options.color ? String(item)[options.color] : item;
|
238
|
-
}).join(options.separator);
|
239
|
-
};
|
240
|
-
|
241
|
-
// Return a string, uncolored (suitable for testing .length, etc).
|
242
|
-
log.uncolor = function(str) {
|
243
|
-
return str.replace(/\x1B\[\d+m/g, '');
|
244
|
-
};
|
245
|
-
|
246
|
-
// Word-wrap text to a given width, permitting ANSI color codes.
|
247
|
-
log.wraptext = function(width, text) {
|
248
|
-
// notes to self:
|
249
|
-
// grab 1st character or ansi code from string
|
250
|
-
// if ansi code, add to array and save for later, strip from front of string
|
251
|
-
// if character, add to array and increment counter, strip from front of string
|
252
|
-
// if width + 1 is reached and current character isn't space:
|
253
|
-
// slice off everything after last space in array and prepend it to string
|
254
|
-
// etc
|
255
|
-
|
256
|
-
// This result array will be joined on \n.
|
257
|
-
var result = [];
|
258
|
-
var matches, color, tmp;
|
259
|
-
var captured = [];
|
260
|
-
var charlen = 0;
|
261
|
-
|
262
|
-
while (matches = text.match(/(?:(\x1B\[\d+m)|\n|(.))([\s\S]*)/)) {
|
263
|
-
// Updated text to be everything not matched.
|
264
|
-
text = matches[3];
|
265
|
-
|
266
|
-
// Matched a color code?
|
267
|
-
if (matches[1]) {
|
268
|
-
// Save last captured color code for later use.
|
269
|
-
color = matches[1];
|
270
|
-
// Capture color code.
|
271
|
-
captured.push(matches[1]);
|
272
|
-
continue;
|
273
|
-
|
274
|
-
// Matched a non-newline character?
|
275
|
-
} else if (matches[2]) {
|
276
|
-
// If this is the first character and a previous color code was set, push
|
277
|
-
// that onto the captured array first.
|
278
|
-
if (charlen === 0 && color) { captured.push(color); }
|
279
|
-
// Push the matched character.
|
280
|
-
captured.push(matches[2]);
|
281
|
-
// Increment the current charlen.
|
282
|
-
charlen++;
|
283
|
-
// If not yet at the width limit or a space was matched, continue.
|
284
|
-
if (charlen <= width || matches[2] === ' ') { continue; }
|
285
|
-
// The current charlen exceeds the width and a space wasn't matched.
|
286
|
-
// "Roll everything back" until the last space character.
|
287
|
-
tmp = captured.lastIndexOf(' ');
|
288
|
-
text = captured.slice(tmp === -1 ? tmp : tmp + 1).join('') + text;
|
289
|
-
captured = captured.slice(0, tmp);
|
290
|
-
}
|
291
|
-
|
292
|
-
// The limit has been reached. Push captured string onto result array.
|
293
|
-
result.push(captured.join(''));
|
294
|
-
|
295
|
-
// Reset captured array and charlen.
|
296
|
-
captured = [];
|
297
|
-
charlen = 0;
|
298
|
-
}
|
299
|
-
|
300
|
-
result.push(captured.join(''));
|
301
|
-
return result.join('\n');
|
302
|
-
};
|
303
|
-
|
304
|
-
// todo: write unit tests
|
305
|
-
//
|
306
|
-
// function logs(text) {
|
307
|
-
// [4, 6, 10, 15, 20, 25, 30, 40].forEach(function(n) {
|
308
|
-
// log(n, text);
|
309
|
-
// });
|
310
|
-
// }
|
311
|
-
//
|
312
|
-
// function log(n, text) {
|
313
|
-
// console.log(Array(n + 1).join('-'));
|
314
|
-
// console.log(wrap(n, text));
|
315
|
-
// }
|
316
|
-
//
|
317
|
-
// var text = 'this is '.red + 'a simple'.yellow.inverse + ' test of'.green + ' ' + 'some wrapped'.blue + ' text over '.inverse.magenta + 'many lines'.red;
|
318
|
-
// logs(text);
|
319
|
-
//
|
320
|
-
// var text = 'foolish '.red.inverse + 'monkeys'.yellow + ' eating'.green + ' ' + 'delicious'.inverse.blue + ' bananas '.magenta + 'forever'.red;
|
321
|
-
// logs(text);
|
322
|
-
//
|
323
|
-
// var text = 'foolish monkeys eating delicious bananas forever'.rainbow;
|
324
|
-
// logs(text);
|
325
|
-
|
326
|
-
// Format output into columns, wrapping words as-necessary.
|
327
|
-
log.table = function(widths, texts) {
|
328
|
-
var rows = [];
|
329
|
-
widths.forEach(function(width, i) {
|
330
|
-
var lines = log.wraptext(width, texts[i]).split('\n');
|
331
|
-
lines.forEach(function(line, j) {
|
332
|
-
var row = rows[j];
|
333
|
-
if (!row) { row = rows[j] = []; }
|
334
|
-
row[i] = line;
|
335
|
-
});
|
336
|
-
});
|
337
|
-
|
338
|
-
var lines = [];
|
339
|
-
rows.forEach(function(row) {
|
340
|
-
var txt = '';
|
341
|
-
var column;
|
342
|
-
for (var i = 0; i < row.length; i++) {
|
343
|
-
column = row[i] || '';
|
344
|
-
txt += column;
|
345
|
-
var diff = widths[i] - log.uncolor(column).length;
|
346
|
-
if (diff > 0) { txt += grunt.util.repeat(diff, ' '); }
|
347
|
-
}
|
348
|
-
lines.push(txt);
|
349
|
-
});
|
350
|
-
|
351
|
-
return lines.join('\n');
|
352
|
-
};
|
@@ -1,42 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* grunt
|
3
|
-
* http://gruntjs.com/
|
4
|
-
*
|
5
|
-
* Copyright (c) 2013 "Cowboy" Ben Alman
|
6
|
-
* Licensed under the MIT license.
|
7
|
-
* https://github.com/gruntjs/grunt/blob/master/LICENSE-MIT
|
8
|
-
*/
|
9
|
-
|
10
|
-
'use strict';
|
11
|
-
|
12
|
-
// The actual option data.
|
13
|
-
var data = {};
|
14
|
-
|
15
|
-
// Get or set an option value.
|
16
|
-
var option = module.exports = function(key, value) {
|
17
|
-
var no = key.match(/^no-(.+)$/);
|
18
|
-
if (arguments.length === 2) {
|
19
|
-
return (data[key] = value);
|
20
|
-
} else if (no) {
|
21
|
-
return data[no[1]] === false;
|
22
|
-
} else {
|
23
|
-
return data[key];
|
24
|
-
}
|
25
|
-
};
|
26
|
-
|
27
|
-
// Initialize option data.
|
28
|
-
option.init = function(obj) {
|
29
|
-
return (data = obj || {});
|
30
|
-
};
|
31
|
-
|
32
|
-
// List of options as flags.
|
33
|
-
option.flags = function() {
|
34
|
-
return Object.keys(data).filter(function(key) {
|
35
|
-
// Don't display empty arrays.
|
36
|
-
return !(Array.isArray(data[key]) && data[key].length === 0);
|
37
|
-
}).map(function(key) {
|
38
|
-
var val = data[key];
|
39
|
-
return '--' + (val === false ? 'no-' : '') + key +
|
40
|
-
(typeof val === 'boolean' ? '' : '=' + val);
|
41
|
-
});
|
42
|
-
};
|
@@ -1,451 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* grunt
|
3
|
-
* http://gruntjs.com/
|
4
|
-
*
|
5
|
-
* Copyright (c) 2013 "Cowboy" Ben Alman
|
6
|
-
* Licensed under the MIT license.
|
7
|
-
* https://github.com/gruntjs/grunt/blob/master/LICENSE-MIT
|
8
|
-
*/
|
9
|
-
|
10
|
-
'use strict';
|
11
|
-
|
12
|
-
var grunt = require('../grunt');
|
13
|
-
|
14
|
-
// Nodejs libs.
|
15
|
-
var path = require('path');
|
16
|
-
|
17
|
-
// Extend generic "task" util lib.
|
18
|
-
var parent = grunt.util.task.create();
|
19
|
-
|
20
|
-
// The module to be exported.
|
21
|
-
var task = module.exports = Object.create(parent);
|
22
|
-
|
23
|
-
// A temporary registry of tasks and metadata.
|
24
|
-
var registry = {tasks: [], untasks: [], meta: {}};
|
25
|
-
|
26
|
-
// The last specified tasks message.
|
27
|
-
var lastInfo;
|
28
|
-
|
29
|
-
// Number of levels of recursion when loading tasks in collections.
|
30
|
-
var loadTaskDepth = 0;
|
31
|
-
|
32
|
-
// Keep track of the number of log.error() calls.
|
33
|
-
var errorcount;
|
34
|
-
|
35
|
-
// Override built-in registerTask.
|
36
|
-
task.registerTask = function(name) {
|
37
|
-
// Add task to registry.
|
38
|
-
registry.tasks.push(name);
|
39
|
-
// Register task.
|
40
|
-
parent.registerTask.apply(task, arguments);
|
41
|
-
// This task, now that it's been registered.
|
42
|
-
var thisTask = task._tasks[name];
|
43
|
-
// Metadata about the current task.
|
44
|
-
thisTask.meta = grunt.util._.clone(registry.meta);
|
45
|
-
// Override task function.
|
46
|
-
var _fn = thisTask.fn;
|
47
|
-
thisTask.fn = function(arg) {
|
48
|
-
// Guaranteed to always be the actual task name.
|
49
|
-
var name = thisTask.name;
|
50
|
-
// Initialize the errorcount for this task.
|
51
|
-
errorcount = grunt.fail.errorcount;
|
52
|
-
// Return the number of errors logged during this task.
|
53
|
-
Object.defineProperty(this, 'errorCount', {
|
54
|
-
enumerable: true,
|
55
|
-
get: function() {
|
56
|
-
return grunt.fail.errorcount - errorcount;
|
57
|
-
}
|
58
|
-
});
|
59
|
-
// Expose task.requires on `this`.
|
60
|
-
this.requires = task.requires.bind(task);
|
61
|
-
// Expose config.requires on `this`.
|
62
|
-
this.requiresConfig = grunt.config.requires;
|
63
|
-
// Return an options object with the specified defaults overwritten by task-
|
64
|
-
// specific overrides, via the "options" property.
|
65
|
-
this.options = function() {
|
66
|
-
var args = [{}].concat(grunt.util.toArray(arguments)).concat([
|
67
|
-
grunt.config([name, 'options'])
|
68
|
-
]);
|
69
|
-
var options = grunt.util._.extend.apply(null, args);
|
70
|
-
grunt.verbose.writeflags(options, 'Options');
|
71
|
-
return options;
|
72
|
-
};
|
73
|
-
// If this task was an alias or a multi task called without a target,
|
74
|
-
// only log if in verbose mode.
|
75
|
-
var logger = _fn.alias || (thisTask.multi && (!arg || arg === '*')) ? 'verbose' : 'log';
|
76
|
-
// Actually log.
|
77
|
-
grunt[logger].header('Running "' + this.nameArgs + '"' +
|
78
|
-
(this.name !== this.nameArgs ? ' (' + this.name + ')' : '') + ' task');
|
79
|
-
// If --debug was specified, log the path to this task's source file.
|
80
|
-
grunt[logger].debug('Task source: ' + thisTask.meta.filepath);
|
81
|
-
// Actually run the task.
|
82
|
-
return _fn.apply(this, arguments);
|
83
|
-
};
|
84
|
-
return task;
|
85
|
-
};
|
86
|
-
|
87
|
-
// Multi task targets can't start with _ or be a reserved property (options).
|
88
|
-
function isValidMultiTaskTarget(target) {
|
89
|
-
return !/^_|^options$/.test(target);
|
90
|
-
}
|
91
|
-
|
92
|
-
// Normalize multi task files.
|
93
|
-
task.normalizeMultiTaskFiles = function(data, target) {
|
94
|
-
var prop, obj;
|
95
|
-
var files = [];
|
96
|
-
if (grunt.util.kindOf(data) === 'object') {
|
97
|
-
if ('src' in data || 'dest' in data) {
|
98
|
-
obj = {};
|
99
|
-
for (prop in data) {
|
100
|
-
if (prop !== 'options') {
|
101
|
-
obj[prop] = data[prop];
|
102
|
-
}
|
103
|
-
}
|
104
|
-
files.push(obj);
|
105
|
-
} else if (grunt.util.kindOf(data.files) === 'object') {
|
106
|
-
for (prop in data.files) {
|
107
|
-
files.push({src: data.files[prop], dest: grunt.config.process(prop)});
|
108
|
-
}
|
109
|
-
} else if (Array.isArray(data.files)) {
|
110
|
-
data.files.forEach(function(obj) {
|
111
|
-
var prop;
|
112
|
-
if ('src' in obj || 'dest' in obj) {
|
113
|
-
files.push(obj);
|
114
|
-
} else {
|
115
|
-
for (prop in obj) {
|
116
|
-
files.push({src: obj[prop], dest: grunt.config.process(prop)});
|
117
|
-
}
|
118
|
-
}
|
119
|
-
});
|
120
|
-
}
|
121
|
-
} else {
|
122
|
-
files.push({src: data, dest: grunt.config.process(target)});
|
123
|
-
}
|
124
|
-
|
125
|
-
// If no src/dest or files were specified, return an empty files array.
|
126
|
-
if (files.length === 0) {
|
127
|
-
grunt.verbose.writeln('File: ' + '[no files]'.yellow);
|
128
|
-
return [];
|
129
|
-
}
|
130
|
-
|
131
|
-
// Process all normalized file objects.
|
132
|
-
files = grunt.util._(files).chain().forEach(function(obj) {
|
133
|
-
if (!('src' in obj) || !obj.src) { return; }
|
134
|
-
// Normalize .src properties to flattened array.
|
135
|
-
if (Array.isArray(obj.src)) {
|
136
|
-
obj.src = grunt.util._.flatten(obj.src);
|
137
|
-
} else {
|
138
|
-
obj.src = [obj.src];
|
139
|
-
}
|
140
|
-
}).map(function(obj) {
|
141
|
-
// Build options object, removing unwanted properties.
|
142
|
-
var expandOptions = grunt.util._.extend({}, obj);
|
143
|
-
delete expandOptions.src;
|
144
|
-
delete expandOptions.dest;
|
145
|
-
|
146
|
-
// Expand file mappings.
|
147
|
-
if (obj.expand) {
|
148
|
-
return grunt.file.expandMapping(obj.src, obj.dest, expandOptions).map(function(mapObj) {
|
149
|
-
// Copy obj properties to result.
|
150
|
-
var result = grunt.util._.extend({}, obj);
|
151
|
-
// Make a clone of the orig obj available.
|
152
|
-
result.orig = grunt.util._.extend({}, obj);
|
153
|
-
// Set .src and .dest, processing both as templates.
|
154
|
-
result.src = grunt.config.process(mapObj.src);
|
155
|
-
result.dest = grunt.config.process(mapObj.dest);
|
156
|
-
// Remove unwanted properties.
|
157
|
-
['expand', 'cwd', 'flatten', 'rename', 'ext'].forEach(function(prop) {
|
158
|
-
delete result[prop];
|
159
|
-
});
|
160
|
-
return result;
|
161
|
-
});
|
162
|
-
}
|
163
|
-
|
164
|
-
// Copy obj properties to result, adding an .orig property.
|
165
|
-
var result = grunt.util._.extend({}, obj);
|
166
|
-
// Make a clone of the orig obj available.
|
167
|
-
result.orig = grunt.util._.extend({}, obj);
|
168
|
-
|
169
|
-
if ('src' in result) {
|
170
|
-
// Expose an expand-on-demand getter method as .src.
|
171
|
-
Object.defineProperty(result, 'src', {
|
172
|
-
enumerable: true,
|
173
|
-
get: function fn() {
|
174
|
-
var src;
|
175
|
-
if (!('result' in fn)) {
|
176
|
-
src = obj.src;
|
177
|
-
// If src is an array, flatten it. Otherwise, make it into an array.
|
178
|
-
src = Array.isArray(src) ? grunt.util._.flatten(src) : [src];
|
179
|
-
// Expand src files, memoizing result.
|
180
|
-
fn.result = grunt.file.expand(expandOptions, src);
|
181
|
-
}
|
182
|
-
return fn.result;
|
183
|
-
}
|
184
|
-
});
|
185
|
-
}
|
186
|
-
|
187
|
-
if ('dest' in result) {
|
188
|
-
result.dest = obj.dest;
|
189
|
-
}
|
190
|
-
|
191
|
-
return result;
|
192
|
-
}).flatten().value();
|
193
|
-
|
194
|
-
// Log this.file src and dest properties when --verbose is specified.
|
195
|
-
if (grunt.option('verbose')) {
|
196
|
-
files.forEach(function(obj) {
|
197
|
-
var output = [];
|
198
|
-
if ('src' in obj) {
|
199
|
-
output.push(obj.src.length > 0 ? grunt.log.wordlist(obj.src) : '[no src]'.yellow);
|
200
|
-
}
|
201
|
-
if ('dest' in obj) {
|
202
|
-
output.push('-> ' + (obj.dest ? String(obj.dest).cyan : '[no dest]'.yellow));
|
203
|
-
}
|
204
|
-
if (output.length > 0) {
|
205
|
-
grunt.verbose.writeln('Files: ' + output.join(' '));
|
206
|
-
}
|
207
|
-
});
|
208
|
-
}
|
209
|
-
|
210
|
-
return files;
|
211
|
-
};
|
212
|
-
|
213
|
-
// This is the most common "multi task" pattern.
|
214
|
-
task.registerMultiTask = function(name, info, fn) {
|
215
|
-
// If optional "info" string is omitted, shuffle arguments a bit.
|
216
|
-
if (fn == null) {
|
217
|
-
fn = info;
|
218
|
-
info = 'Custom multi task.';
|
219
|
-
}
|
220
|
-
// Store a reference to the task object, in case the task gets renamed.
|
221
|
-
var thisTask;
|
222
|
-
task.registerTask(name, info, function(target) {
|
223
|
-
// Guaranteed to always be the actual task name.
|
224
|
-
var name = thisTask.name;
|
225
|
-
// Arguments (sans target) as an array.
|
226
|
-
this.args = grunt.util.toArray(arguments).slice(1);
|
227
|
-
// If a target wasn't specified, run this task once for each target.
|
228
|
-
if (!target || target === '*') {
|
229
|
-
return task.runAllTargets(name, this.args);
|
230
|
-
} else if (!isValidMultiTaskTarget(target)) {
|
231
|
-
throw new Error('Invalid target "' + target + '" specified.');
|
232
|
-
}
|
233
|
-
// Fail if any required config properties have been omitted.
|
234
|
-
this.requiresConfig([name, target]);
|
235
|
-
// Return an options object with the specified defaults overwritten by task-
|
236
|
-
// and/or target-specific overrides, via the "options" property.
|
237
|
-
this.options = function() {
|
238
|
-
var targetObj = grunt.config([name, target]);
|
239
|
-
var args = [{}].concat(grunt.util.toArray(arguments)).concat([
|
240
|
-
grunt.config([name, 'options']),
|
241
|
-
grunt.util.kindOf(targetObj) === 'object' ? targetObj.options : {}
|
242
|
-
]);
|
243
|
-
var options = grunt.util._.extend.apply(null, args);
|
244
|
-
grunt.verbose.writeflags(options, 'Options');
|
245
|
-
return options;
|
246
|
-
};
|
247
|
-
// Expose data on `this` (as well as task.current).
|
248
|
-
this.data = grunt.config([name, target]);
|
249
|
-
// Expose normalized files object.
|
250
|
-
this.files = task.normalizeMultiTaskFiles(this.data, target);
|
251
|
-
// Expose normalized, flattened, uniqued array of src files.
|
252
|
-
Object.defineProperty(this, 'filesSrc', {
|
253
|
-
enumerable: true,
|
254
|
-
get: function() {
|
255
|
-
return grunt.util._(this.files).chain().pluck('src').flatten().uniq().value();
|
256
|
-
}.bind(this)
|
257
|
-
});
|
258
|
-
// Expose the current target.
|
259
|
-
this.target = target;
|
260
|
-
// Recreate flags object so that the target isn't set as a flag.
|
261
|
-
this.flags = {};
|
262
|
-
this.args.forEach(function(arg) { this.flags[arg] = true; }, this);
|
263
|
-
// Call original task function, passing in the target and any other args.
|
264
|
-
return fn.apply(this, this.args);
|
265
|
-
});
|
266
|
-
|
267
|
-
thisTask = task._tasks[name];
|
268
|
-
thisTask.multi = true;
|
269
|
-
};
|
270
|
-
|
271
|
-
// Init tasks don't require properties in config, and as such will preempt
|
272
|
-
// config loading errors.
|
273
|
-
task.registerInitTask = function(name, info, fn) {
|
274
|
-
task.registerTask(name, info, fn);
|
275
|
-
task._tasks[name].init = true;
|
276
|
-
};
|
277
|
-
|
278
|
-
// Override built-in renameTask to use the registry.
|
279
|
-
task.renameTask = function(oldname, newname) {
|
280
|
-
// Add and remove task.
|
281
|
-
registry.untasks.push(oldname);
|
282
|
-
registry.tasks.push(newname);
|
283
|
-
// Actually rename task.
|
284
|
-
return parent.renameTask.apply(task, arguments);
|
285
|
-
};
|
286
|
-
|
287
|
-
// If a property wasn't passed, run all task targets in turn.
|
288
|
-
task.runAllTargets = function(taskname, args) {
|
289
|
-
// Get an array of sub-property keys under the given config object.
|
290
|
-
var targets = Object.keys(grunt.config.getRaw(taskname) || {});
|
291
|
-
// Fail if there are no actual properties to iterate over.
|
292
|
-
if (targets.length === 0) {
|
293
|
-
grunt.log.error('No "' + taskname + '" targets found.');
|
294
|
-
return false;
|
295
|
-
}
|
296
|
-
// Iterate over all valid target properties, running a task for each.
|
297
|
-
targets.filter(isValidMultiTaskTarget).forEach(function(target) {
|
298
|
-
// Be sure to pass in any additionally specified args.
|
299
|
-
task.run([taskname, target].concat(args || []).join(':'));
|
300
|
-
});
|
301
|
-
};
|
302
|
-
|
303
|
-
// Load tasks and handlers from a given tasks file.
|
304
|
-
var loadTaskStack = [];
|
305
|
-
function loadTask(filepath) {
|
306
|
-
// In case this was called recursively, save registry for later.
|
307
|
-
loadTaskStack.push(registry);
|
308
|
-
// Reset registry.
|
309
|
-
registry = {tasks: [], untasks: [], meta: {info: lastInfo, filepath: filepath}};
|
310
|
-
var filename = path.basename(filepath);
|
311
|
-
var msg = 'Loading "' + filename + '" tasks...';
|
312
|
-
var regCount = 0;
|
313
|
-
var fn;
|
314
|
-
try {
|
315
|
-
// Load taskfile.
|
316
|
-
fn = require(path.resolve(filepath));
|
317
|
-
if (typeof fn === 'function') {
|
318
|
-
fn.call(grunt, grunt);
|
319
|
-
}
|
320
|
-
grunt.verbose.write(msg).ok();
|
321
|
-
// Log registered/renamed/unregistered tasks.
|
322
|
-
['un', ''].forEach(function(prefix) {
|
323
|
-
var list = grunt.util._.chain(registry[prefix + 'tasks']).uniq().sort().value();
|
324
|
-
if (list.length > 0) {
|
325
|
-
regCount++;
|
326
|
-
grunt.verbose.writeln((prefix ? '- ' : '+ ') + grunt.log.wordlist(list));
|
327
|
-
}
|
328
|
-
});
|
329
|
-
if (regCount === 0) {
|
330
|
-
grunt.verbose.error('No tasks were registered or unregistered.');
|
331
|
-
}
|
332
|
-
} catch(e) {
|
333
|
-
// Something went wrong.
|
334
|
-
grunt.log.write(msg).error().verbose.error(e.stack).or.error(e);
|
335
|
-
}
|
336
|
-
// Restore registry.
|
337
|
-
registry = loadTaskStack.pop() || {};
|
338
|
-
}
|
339
|
-
|
340
|
-
// Log a message when loading tasks.
|
341
|
-
function loadTasksMessage(info) {
|
342
|
-
// Only keep track of names of top-level loaded tasks and collections,
|
343
|
-
// not sub-tasks.
|
344
|
-
if (loadTaskDepth === 0) { lastInfo = info; }
|
345
|
-
grunt.verbose.subhead('Registering ' + info + ' tasks.');
|
346
|
-
}
|
347
|
-
|
348
|
-
// Load tasks and handlers from a given directory.
|
349
|
-
function loadTasks(tasksdir) {
|
350
|
-
try {
|
351
|
-
var files = grunt.file.glob.sync('*.{js,coffee}', {cwd: tasksdir, maxDepth: 1});
|
352
|
-
// Load tasks from files.
|
353
|
-
files.forEach(function(filename) {
|
354
|
-
loadTask(path.join(tasksdir, filename));
|
355
|
-
});
|
356
|
-
} catch(e) {
|
357
|
-
grunt.log.verbose.error(e.stack).or.error(e);
|
358
|
-
}
|
359
|
-
}
|
360
|
-
|
361
|
-
// Load tasks and handlers from a given directory.
|
362
|
-
task.loadTasks = function(tasksdir) {
|
363
|
-
loadTasksMessage('"' + tasksdir + '"');
|
364
|
-
if (grunt.file.exists(tasksdir)) {
|
365
|
-
loadTasks(tasksdir);
|
366
|
-
} else {
|
367
|
-
grunt.log.error('Tasks directory "' + tasksdir + '" not found.');
|
368
|
-
}
|
369
|
-
};
|
370
|
-
|
371
|
-
// Load tasks and handlers from a given locally-installed Npm module (installed
|
372
|
-
// relative to the base dir).
|
373
|
-
task.loadNpmTasks = function(name) {
|
374
|
-
loadTasksMessage('"' + name + '" local Npm module');
|
375
|
-
var root = path.resolve('node_modules');
|
376
|
-
var pkgfile = path.join(root, name, 'package.json');
|
377
|
-
var pkg = grunt.file.exists(pkgfile) ? grunt.file.readJSON(pkgfile) : {keywords: []};
|
378
|
-
|
379
|
-
// Process collection plugins.
|
380
|
-
if (pkg.keywords && pkg.keywords.indexOf('gruntcollection') !== -1) {
|
381
|
-
loadTaskDepth++;
|
382
|
-
Object.keys(pkg.dependencies).forEach(function(depName) {
|
383
|
-
// Npm sometimes pulls dependencies out if they're shared, so find
|
384
|
-
// upwards if not found locally.
|
385
|
-
var filepath = grunt.file.findup('node_modules/' + depName, {
|
386
|
-
cwd: path.resolve('node_modules', name),
|
387
|
-
nocase: true
|
388
|
-
});
|
389
|
-
if (filepath) {
|
390
|
-
// Load this task plugin recursively.
|
391
|
-
task.loadNpmTasks(path.relative(root, filepath));
|
392
|
-
}
|
393
|
-
});
|
394
|
-
loadTaskDepth--;
|
395
|
-
return;
|
396
|
-
}
|
397
|
-
|
398
|
-
// Process task plugins.
|
399
|
-
var tasksdir = path.join(root, name, 'tasks');
|
400
|
-
if (grunt.file.exists(tasksdir)) {
|
401
|
-
loadTasks(tasksdir);
|
402
|
-
} else {
|
403
|
-
grunt.log.error('Local Npm module "' + name + '" not found. Is it installed?');
|
404
|
-
}
|
405
|
-
};
|
406
|
-
|
407
|
-
// Initialize tasks.
|
408
|
-
task.init = function(tasks, options) {
|
409
|
-
if (!options) { options = {}; }
|
410
|
-
|
411
|
-
// Were only init tasks specified?
|
412
|
-
var allInit = tasks.length > 0 && tasks.every(function(name) {
|
413
|
-
var obj = task._taskPlusArgs(name).task;
|
414
|
-
return obj && obj.init;
|
415
|
-
});
|
416
|
-
|
417
|
-
// Get any local Gruntfile or tasks that might exist. Use --gruntfile override
|
418
|
-
// if specified, otherwise search the current directory or any parent.
|
419
|
-
var gruntfile = allInit ? null : grunt.option('gruntfile') ||
|
420
|
-
grunt.file.findup('Gruntfile.{js,coffee}', {nocase: true});
|
421
|
-
|
422
|
-
var msg = 'Reading "' + (gruntfile ? path.basename(gruntfile) : '???') + '" Gruntfile...';
|
423
|
-
if (gruntfile && grunt.file.exists(gruntfile)) {
|
424
|
-
grunt.verbose.writeln().write(msg).ok();
|
425
|
-
// Change working directory so that all paths are relative to the
|
426
|
-
// Gruntfile's location (or the --base option, if specified).
|
427
|
-
process.chdir(grunt.option('base') || path.dirname(gruntfile));
|
428
|
-
// Load local tasks, if the file exists.
|
429
|
-
loadTasksMessage('Gruntfile');
|
430
|
-
loadTask(gruntfile);
|
431
|
-
} else if (options.help || allInit) {
|
432
|
-
// Don't complain about missing Gruntfile.
|
433
|
-
} else if (grunt.option('gruntfile')) {
|
434
|
-
// If --config override was specified and it doesn't exist, complain.
|
435
|
-
grunt.log.writeln().write(msg).error();
|
436
|
-
grunt.fatal('Unable to find "' + gruntfile + '" Gruntfile.', grunt.fail.code.MISSING_GRUNTFILE);
|
437
|
-
} else if (!grunt.option('help')) {
|
438
|
-
grunt.verbose.writeln().write(msg).error();
|
439
|
-
grunt.log.writelns(
|
440
|
-
'A valid Gruntfile could not be found. Please see the getting ' +
|
441
|
-
'started guide for more information on how to configure grunt: ' +
|
442
|
-
'http://gruntjs.com/getting-started'
|
443
|
-
);
|
444
|
-
grunt.fatal('Unable to find Gruntfile.', grunt.fail.code.MISSING_GRUNTFILE);
|
445
|
-
}
|
446
|
-
|
447
|
-
// Load all user-specified --npm tasks.
|
448
|
-
(grunt.option('npm') || []).forEach(task.loadNpmTasks);
|
449
|
-
// Load all user-specified --tasks.
|
450
|
-
(grunt.option('tasks') || []).forEach(task.loadTasks);
|
451
|
-
};
|