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
data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/usage.js
DELETED
@@ -1,292 +0,0 @@
|
|
1
|
-
var Hash = require('hashish');
|
2
|
-
var optimist = require('../index');
|
3
|
-
var test = require('tap').test;
|
4
|
-
|
5
|
-
test('usageFail', function (t) {
|
6
|
-
var r = checkUsage(function () {
|
7
|
-
return optimist('-x 10 -z 20'.split(' '))
|
8
|
-
.usage('Usage: $0 -x NUM -y NUM')
|
9
|
-
.demand(['x','y'])
|
10
|
-
.argv;
|
11
|
-
});
|
12
|
-
t.same(
|
13
|
-
r.result,
|
14
|
-
{ x : 10, z : 20, _ : [], $0 : './usage' }
|
15
|
-
);
|
16
|
-
|
17
|
-
t.same(
|
18
|
-
r.errors.join('\n').split(/\n+/),
|
19
|
-
[
|
20
|
-
'Usage: ./usage -x NUM -y NUM',
|
21
|
-
'Options:',
|
22
|
-
' -x [required]',
|
23
|
-
' -y [required]',
|
24
|
-
'Missing required arguments: y',
|
25
|
-
]
|
26
|
-
);
|
27
|
-
t.same(r.logs, []);
|
28
|
-
t.ok(r.exit);
|
29
|
-
t.end();
|
30
|
-
});
|
31
|
-
|
32
|
-
|
33
|
-
test('usagePass', function (t) {
|
34
|
-
var r = checkUsage(function () {
|
35
|
-
return optimist('-x 10 -y 20'.split(' '))
|
36
|
-
.usage('Usage: $0 -x NUM -y NUM')
|
37
|
-
.demand(['x','y'])
|
38
|
-
.argv;
|
39
|
-
});
|
40
|
-
t.same(r, {
|
41
|
-
result : { x : 10, y : 20, _ : [], $0 : './usage' },
|
42
|
-
errors : [],
|
43
|
-
logs : [],
|
44
|
-
exit : false,
|
45
|
-
});
|
46
|
-
t.end();
|
47
|
-
});
|
48
|
-
|
49
|
-
test('checkPass', function (t) {
|
50
|
-
var r = checkUsage(function () {
|
51
|
-
return optimist('-x 10 -y 20'.split(' '))
|
52
|
-
.usage('Usage: $0 -x NUM -y NUM')
|
53
|
-
.check(function (argv) {
|
54
|
-
if (!('x' in argv)) throw 'You forgot about -x';
|
55
|
-
if (!('y' in argv)) throw 'You forgot about -y';
|
56
|
-
})
|
57
|
-
.argv;
|
58
|
-
});
|
59
|
-
t.same(r, {
|
60
|
-
result : { x : 10, y : 20, _ : [], $0 : './usage' },
|
61
|
-
errors : [],
|
62
|
-
logs : [],
|
63
|
-
exit : false,
|
64
|
-
});
|
65
|
-
t.end();
|
66
|
-
});
|
67
|
-
|
68
|
-
test('checkFail', function (t) {
|
69
|
-
var r = checkUsage(function () {
|
70
|
-
return optimist('-x 10 -z 20'.split(' '))
|
71
|
-
.usage('Usage: $0 -x NUM -y NUM')
|
72
|
-
.check(function (argv) {
|
73
|
-
if (!('x' in argv)) throw 'You forgot about -x';
|
74
|
-
if (!('y' in argv)) throw 'You forgot about -y';
|
75
|
-
})
|
76
|
-
.argv;
|
77
|
-
});
|
78
|
-
|
79
|
-
t.same(
|
80
|
-
r.result,
|
81
|
-
{ x : 10, z : 20, _ : [], $0 : './usage' }
|
82
|
-
);
|
83
|
-
|
84
|
-
t.same(
|
85
|
-
r.errors.join('\n').split(/\n+/),
|
86
|
-
[
|
87
|
-
'Usage: ./usage -x NUM -y NUM',
|
88
|
-
'You forgot about -y'
|
89
|
-
]
|
90
|
-
);
|
91
|
-
|
92
|
-
t.same(r.logs, []);
|
93
|
-
t.ok(r.exit);
|
94
|
-
t.end();
|
95
|
-
});
|
96
|
-
|
97
|
-
test('checkCondPass', function (t) {
|
98
|
-
function checker (argv) {
|
99
|
-
return 'x' in argv && 'y' in argv;
|
100
|
-
}
|
101
|
-
|
102
|
-
var r = checkUsage(function () {
|
103
|
-
return optimist('-x 10 -y 20'.split(' '))
|
104
|
-
.usage('Usage: $0 -x NUM -y NUM')
|
105
|
-
.check(checker)
|
106
|
-
.argv;
|
107
|
-
});
|
108
|
-
t.same(r, {
|
109
|
-
result : { x : 10, y : 20, _ : [], $0 : './usage' },
|
110
|
-
errors : [],
|
111
|
-
logs : [],
|
112
|
-
exit : false,
|
113
|
-
});
|
114
|
-
t.end();
|
115
|
-
});
|
116
|
-
|
117
|
-
test('checkCondFail', function (t) {
|
118
|
-
function checker (argv) {
|
119
|
-
return 'x' in argv && 'y' in argv;
|
120
|
-
}
|
121
|
-
|
122
|
-
var r = checkUsage(function () {
|
123
|
-
return optimist('-x 10 -z 20'.split(' '))
|
124
|
-
.usage('Usage: $0 -x NUM -y NUM')
|
125
|
-
.check(checker)
|
126
|
-
.argv;
|
127
|
-
});
|
128
|
-
|
129
|
-
t.same(
|
130
|
-
r.result,
|
131
|
-
{ x : 10, z : 20, _ : [], $0 : './usage' }
|
132
|
-
);
|
133
|
-
|
134
|
-
t.same(
|
135
|
-
r.errors.join('\n').split(/\n+/).join('\n'),
|
136
|
-
'Usage: ./usage -x NUM -y NUM\n'
|
137
|
-
+ 'Argument check failed: ' + checker.toString()
|
138
|
-
);
|
139
|
-
|
140
|
-
t.same(r.logs, []);
|
141
|
-
t.ok(r.exit);
|
142
|
-
t.end();
|
143
|
-
});
|
144
|
-
|
145
|
-
test('countPass', function (t) {
|
146
|
-
var r = checkUsage(function () {
|
147
|
-
return optimist('1 2 3 --moo'.split(' '))
|
148
|
-
.usage('Usage: $0 [x] [y] [z] {OPTIONS}')
|
149
|
-
.demand(3)
|
150
|
-
.argv;
|
151
|
-
});
|
152
|
-
t.same(r, {
|
153
|
-
result : { _ : [ '1', '2', '3' ], moo : true, $0 : './usage' },
|
154
|
-
errors : [],
|
155
|
-
logs : [],
|
156
|
-
exit : false,
|
157
|
-
});
|
158
|
-
t.end();
|
159
|
-
});
|
160
|
-
|
161
|
-
test('countFail', function (t) {
|
162
|
-
var r = checkUsage(function () {
|
163
|
-
return optimist('1 2 --moo'.split(' '))
|
164
|
-
.usage('Usage: $0 [x] [y] [z] {OPTIONS}')
|
165
|
-
.demand(3)
|
166
|
-
.argv;
|
167
|
-
});
|
168
|
-
t.same(
|
169
|
-
r.result,
|
170
|
-
{ _ : [ '1', '2' ], moo : true, $0 : './usage' }
|
171
|
-
);
|
172
|
-
|
173
|
-
t.same(
|
174
|
-
r.errors.join('\n').split(/\n+/),
|
175
|
-
[
|
176
|
-
'Usage: ./usage [x] [y] [z] {OPTIONS}',
|
177
|
-
'Not enough non-option arguments: got 2, need at least 3',
|
178
|
-
]
|
179
|
-
);
|
180
|
-
|
181
|
-
t.same(r.logs, []);
|
182
|
-
t.ok(r.exit);
|
183
|
-
t.end();
|
184
|
-
});
|
185
|
-
|
186
|
-
test('defaultSingles', function (t) {
|
187
|
-
var r = checkUsage(function () {
|
188
|
-
return optimist('--foo 50 --baz 70 --powsy'.split(' '))
|
189
|
-
.default('foo', 5)
|
190
|
-
.default('bar', 6)
|
191
|
-
.default('baz', 7)
|
192
|
-
.argv
|
193
|
-
;
|
194
|
-
});
|
195
|
-
t.same(r.result, {
|
196
|
-
foo : '50',
|
197
|
-
bar : 6,
|
198
|
-
baz : '70',
|
199
|
-
powsy : true,
|
200
|
-
_ : [],
|
201
|
-
$0 : './usage',
|
202
|
-
});
|
203
|
-
t.end();
|
204
|
-
});
|
205
|
-
|
206
|
-
test('defaultAliases', function (t) {
|
207
|
-
var r = checkUsage(function () {
|
208
|
-
return optimist('')
|
209
|
-
.alias('f', 'foo')
|
210
|
-
.default('f', 5)
|
211
|
-
.argv
|
212
|
-
;
|
213
|
-
});
|
214
|
-
t.same(r.result, {
|
215
|
-
f : '5',
|
216
|
-
foo : '5',
|
217
|
-
_ : [],
|
218
|
-
$0 : './usage',
|
219
|
-
});
|
220
|
-
t.end();
|
221
|
-
});
|
222
|
-
|
223
|
-
test('defaultHash', function (t) {
|
224
|
-
var r = checkUsage(function () {
|
225
|
-
return optimist('--foo 50 --baz 70'.split(' '))
|
226
|
-
.default({ foo : 10, bar : 20, quux : 30 })
|
227
|
-
.argv
|
228
|
-
;
|
229
|
-
});
|
230
|
-
t.same(r.result, {
|
231
|
-
_ : [],
|
232
|
-
$0 : './usage',
|
233
|
-
foo : 50,
|
234
|
-
baz : 70,
|
235
|
-
bar : 20,
|
236
|
-
quux : 30,
|
237
|
-
});
|
238
|
-
t.end();
|
239
|
-
});
|
240
|
-
|
241
|
-
test('rebase', function (t) {
|
242
|
-
t.equal(
|
243
|
-
optimist.rebase('/home/substack', '/home/substack/foo/bar/baz'),
|
244
|
-
'./foo/bar/baz'
|
245
|
-
);
|
246
|
-
t.equal(
|
247
|
-
optimist.rebase('/home/substack/foo/bar/baz', '/home/substack'),
|
248
|
-
'../../..'
|
249
|
-
);
|
250
|
-
t.equal(
|
251
|
-
optimist.rebase('/home/substack/foo', '/home/substack/pow/zoom.txt'),
|
252
|
-
'../pow/zoom.txt'
|
253
|
-
);
|
254
|
-
t.end();
|
255
|
-
});
|
256
|
-
|
257
|
-
function checkUsage (f) {
|
258
|
-
|
259
|
-
var exit = false;
|
260
|
-
|
261
|
-
process._exit = process.exit;
|
262
|
-
process._env = process.env;
|
263
|
-
process._argv = process.argv;
|
264
|
-
|
265
|
-
process.exit = function (t) { exit = true };
|
266
|
-
process.env = Hash.merge(process.env, { _ : 'node' });
|
267
|
-
process.argv = [ './usage' ];
|
268
|
-
|
269
|
-
var errors = [];
|
270
|
-
var logs = [];
|
271
|
-
|
272
|
-
console._error = console.error;
|
273
|
-
console.error = function (msg) { errors.push(msg) };
|
274
|
-
console._log = console.log;
|
275
|
-
console.log = function (msg) { logs.push(msg) };
|
276
|
-
|
277
|
-
var result = f();
|
278
|
-
|
279
|
-
process.exit = process._exit;
|
280
|
-
process.env = process._env;
|
281
|
-
process.argv = process._argv;
|
282
|
-
|
283
|
-
console.error = console._error;
|
284
|
-
console.log = console._log;
|
285
|
-
|
286
|
-
return {
|
287
|
-
errors : errors,
|
288
|
-
logs : logs,
|
289
|
-
exit : exit,
|
290
|
-
result : result,
|
291
|
-
};
|
292
|
-
};
|
@@ -1,29 +0,0 @@
|
|
1
|
-
UglifyJS is released under the BSD license:
|
2
|
-
|
3
|
-
Copyright 2012-2013 (c) Mihai Bazon <mihai.bazon@gmail.com>
|
4
|
-
|
5
|
-
Redistribution and use in source and binary forms, with or without
|
6
|
-
modification, are permitted provided that the following conditions
|
7
|
-
are met:
|
8
|
-
|
9
|
-
* Redistributions of source code must retain the above
|
10
|
-
copyright notice, this list of conditions and the following
|
11
|
-
disclaimer.
|
12
|
-
|
13
|
-
* Redistributions in binary form must reproduce the above
|
14
|
-
copyright notice, this list of conditions and the following
|
15
|
-
disclaimer in the documentation and/or other materials
|
16
|
-
provided with the distribution.
|
17
|
-
|
18
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
|
19
|
-
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
20
|
-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
21
|
-
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE
|
22
|
-
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
|
23
|
-
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
24
|
-
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
25
|
-
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
26
|
-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
27
|
-
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
28
|
-
THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
29
|
-
SUCH DAMAGE.
|
@@ -1,588 +0,0 @@
|
|
1
|
-
UglifyJS 2
|
2
|
-
==========
|
3
|
-
[](https://travis-ci.org/mishoo/UglifyJS2)
|
4
|
-
|
5
|
-
UglifyJS is a JavaScript parser, minifier, compressor or beautifier toolkit.
|
6
|
-
|
7
|
-
This page documents the command line utility. For
|
8
|
-
[API and internals documentation see my website](http://lisperator.net/uglifyjs/).
|
9
|
-
There's also an
|
10
|
-
[in-browser online demo](http://lisperator.net/uglifyjs/#demo) (for Firefox,
|
11
|
-
Chrome and probably Safari).
|
12
|
-
|
13
|
-
Install
|
14
|
-
-------
|
15
|
-
|
16
|
-
First make sure you have installed the latest version of [node.js](http://nodejs.org/)
|
17
|
-
(You may need to restart your computer after this step).
|
18
|
-
|
19
|
-
From NPM for use as a command line app:
|
20
|
-
|
21
|
-
npm install uglify-js -g
|
22
|
-
|
23
|
-
From NPM for programmatic use:
|
24
|
-
|
25
|
-
npm install uglify-js
|
26
|
-
|
27
|
-
From Git:
|
28
|
-
|
29
|
-
git clone git://github.com/mishoo/UglifyJS2.git
|
30
|
-
cd UglifyJS2
|
31
|
-
npm link .
|
32
|
-
|
33
|
-
Usage
|
34
|
-
-----
|
35
|
-
|
36
|
-
uglifyjs [input files] [options]
|
37
|
-
|
38
|
-
UglifyJS2 can take multiple input files. It's recommended that you pass the
|
39
|
-
input files first, then pass the options. UglifyJS will parse input files
|
40
|
-
in sequence and apply any compression options. The files are parsed in the
|
41
|
-
same global scope, that is, a reference from a file to some
|
42
|
-
variable/function declared in another file will be matched properly.
|
43
|
-
|
44
|
-
If you want to read from STDIN instead, pass a single dash instead of input
|
45
|
-
files.
|
46
|
-
|
47
|
-
The available options are:
|
48
|
-
|
49
|
-
--source-map Specify an output file where to generate source map.
|
50
|
-
[string]
|
51
|
-
--source-map-root The path to the original source to be included in the
|
52
|
-
source map. [string]
|
53
|
-
--source-map-url The path to the source map to be added in //@
|
54
|
-
sourceMappingURL. Defaults to the value passed with
|
55
|
-
--source-map. [string]
|
56
|
-
--in-source-map Input source map, useful if you're compressing JS that was
|
57
|
-
generated from some other original code.
|
58
|
-
--screw-ie8 Pass this flag if you don't care about full compliance with
|
59
|
-
Internet Explorer 6-8 quirks (by default UglifyJS will try
|
60
|
-
to be IE-proof).
|
61
|
-
-p, --prefix Skip prefix for original filenames that appear in source
|
62
|
-
maps. For example -p 3 will drop 3 directories from file
|
63
|
-
names and ensure they are relative paths.
|
64
|
-
-o, --output Output file (default STDOUT).
|
65
|
-
-b, --beautify Beautify output/specify output options. [string]
|
66
|
-
-m, --mangle Mangle names/pass mangler options. [string]
|
67
|
-
-r, --reserved Reserved names to exclude from mangling.
|
68
|
-
-c, --compress Enable compressor/pass compressor options. Pass options
|
69
|
-
like -c hoist_vars=false,if_return=false. Use -c with no
|
70
|
-
argument to use the default compression options. [string]
|
71
|
-
-d, --define Global definitions [string]
|
72
|
-
--comments Preserve copyright comments in the output. By default this
|
73
|
-
works like Google Closure, keeping JSDoc-style comments
|
74
|
-
that contain "@license" or "@preserve". You can optionally
|
75
|
-
pass one of the following arguments to this flag:
|
76
|
-
- "all" to keep all comments
|
77
|
-
- a valid JS regexp (needs to start with a slash) to keep
|
78
|
-
only comments that match.
|
79
|
-
Note that currently not *all* comments can be kept when
|
80
|
-
compression is on, because of dead code removal or
|
81
|
-
cascading statements into sequences. [string]
|
82
|
-
--stats Display operations run time on STDERR. [boolean]
|
83
|
-
--acorn Use Acorn for parsing. [boolean]
|
84
|
-
--spidermonkey Assume input files are SpiderMonkey AST format (as JSON).
|
85
|
-
[boolean]
|
86
|
-
--self Build itself (UglifyJS2) as a library (implies
|
87
|
-
--wrap=UglifyJS --export-all) [boolean]
|
88
|
-
--wrap Embed everything in a big function, making the “exports”
|
89
|
-
and “global” variables available. You need to pass an
|
90
|
-
argument to this option to specify the name that your
|
91
|
-
module will take when included in, say, a browser.
|
92
|
-
[string]
|
93
|
-
--export-all Only used when --wrap, this tells UglifyJS to add code to
|
94
|
-
automatically export all globals. [boolean]
|
95
|
-
--lint Display some scope warnings [boolean]
|
96
|
-
-v, --verbose Verbose [boolean]
|
97
|
-
-V, --version Print version number and exit. [boolean]
|
98
|
-
|
99
|
-
Specify `--output` (`-o`) to declare the output file. Otherwise the output
|
100
|
-
goes to STDOUT.
|
101
|
-
|
102
|
-
## Source map options
|
103
|
-
|
104
|
-
UglifyJS2 can generate a source map file, which is highly useful for
|
105
|
-
debugging your compressed JavaScript. To get a source map, pass
|
106
|
-
`--source-map output.js.map` (full path to the file where you want the
|
107
|
-
source map dumped).
|
108
|
-
|
109
|
-
Additionally you might need `--source-map-root` to pass the URL where the
|
110
|
-
original files can be found. In case you are passing full paths to input
|
111
|
-
files to UglifyJS, you can use `--prefix` (`-p`) to specify the number of
|
112
|
-
directories to drop from the path prefix when declaring files in the source
|
113
|
-
map.
|
114
|
-
|
115
|
-
For example:
|
116
|
-
|
117
|
-
uglifyjs /home/doe/work/foo/src/js/file1.js \
|
118
|
-
/home/doe/work/foo/src/js/file2.js \
|
119
|
-
-o foo.min.js \
|
120
|
-
--source-map foo.min.js.map \
|
121
|
-
--source-map-root http://foo.com/src \
|
122
|
-
-p 5 -c -m
|
123
|
-
|
124
|
-
The above will compress and mangle `file1.js` and `file2.js`, will drop the
|
125
|
-
output in `foo.min.js` and the source map in `foo.min.js.map`. The source
|
126
|
-
mapping will refer to `http://foo.com/src/js/file1.js` and
|
127
|
-
`http://foo.com/src/js/file2.js` (in fact it will list `http://foo.com/src`
|
128
|
-
as the source map root, and the original files as `js/file1.js` and
|
129
|
-
`js/file2.js`).
|
130
|
-
|
131
|
-
### Composed source map
|
132
|
-
|
133
|
-
When you're compressing JS code that was output by a compiler such as
|
134
|
-
CoffeeScript, mapping to the JS code won't be too helpful. Instead, you'd
|
135
|
-
like to map back to the original code (i.e. CoffeeScript). UglifyJS has an
|
136
|
-
option to take an input source map. Assuming you have a mapping from
|
137
|
-
CoffeeScript → compiled JS, UglifyJS can generate a map from CoffeeScript →
|
138
|
-
compressed JS by mapping every token in the compiled JS to its original
|
139
|
-
location.
|
140
|
-
|
141
|
-
To use this feature you need to pass `--in-source-map
|
142
|
-
/path/to/input/source.map`. Normally the input source map should also point
|
143
|
-
to the file containing the generated JS, so if that's correct you can omit
|
144
|
-
input files from the command line.
|
145
|
-
|
146
|
-
## Mangler options
|
147
|
-
|
148
|
-
To enable the mangler you need to pass `--mangle` (`-m`). The following
|
149
|
-
(comma-separated) options are supported:
|
150
|
-
|
151
|
-
- `sort` — to assign shorter names to most frequently used variables. This
|
152
|
-
saves a few hundred bytes on jQuery before gzip, but the output is
|
153
|
-
_bigger_ after gzip (and seems to happen for other libraries I tried it
|
154
|
-
on) therefore it's not enabled by default.
|
155
|
-
|
156
|
-
- `toplevel` — mangle names declared in the toplevel scope (disabled by
|
157
|
-
default).
|
158
|
-
|
159
|
-
- `eval` — mangle names visible in scopes where `eval` or `when` are used
|
160
|
-
(disabled by default).
|
161
|
-
|
162
|
-
When mangling is enabled but you want to prevent certain names from being
|
163
|
-
mangled, you can declare those names with `--reserved` (`-r`) — pass a
|
164
|
-
comma-separated list of names. For example:
|
165
|
-
|
166
|
-
uglifyjs ... -m -r '$,require,exports'
|
167
|
-
|
168
|
-
to prevent the `require`, `exports` and `$` names from being changed.
|
169
|
-
|
170
|
-
## Compressor options
|
171
|
-
|
172
|
-
You need to pass `--compress` (`-c`) to enable the compressor. Optionally
|
173
|
-
you can pass a comma-separated list of options. Options are in the form
|
174
|
-
`foo=bar`, or just `foo` (the latter implies a boolean option that you want
|
175
|
-
to set `true`; it's effectively a shortcut for `foo=true`).
|
176
|
-
|
177
|
-
- `sequences` -- join consecutive simple statements using the comma operator
|
178
|
-
- `properties` -- rewrite property access using the dot notation, for
|
179
|
-
example `foo["bar"] → foo.bar`
|
180
|
-
- `dead_code` -- remove unreachable code
|
181
|
-
- `drop_debugger` -- remove `debugger;` statements
|
182
|
-
- `unsafe` (default: false) -- apply "unsafe" transformations (discussion below)
|
183
|
-
- `conditionals` -- apply optimizations for `if`-s and conditional
|
184
|
-
expressions
|
185
|
-
- `comparisons` -- apply certain optimizations to binary nodes, for example:
|
186
|
-
`!(a <= b) → a > b` (only when `unsafe`), attempts to negate binary nodes,
|
187
|
-
e.g. `a = !b && !c && !d && !e → a=!(b||c||d||e)` etc.
|
188
|
-
- `evaluate` -- attempt to evaluate constant expressions
|
189
|
-
- `booleans` -- various optimizations for boolean context, for example `!!a
|
190
|
-
? b : c → a ? b : c`
|
191
|
-
- `loops` -- optimizations for `do`, `while` and `for` loops when we can
|
192
|
-
statically determine the condition
|
193
|
-
- `unused` -- drop unreferenced functions and variables
|
194
|
-
- `hoist_funs` -- hoist function declarations
|
195
|
-
- `hoist_vars` (default: false) -- hoist `var` declarations (this is `false`
|
196
|
-
by default because it seems to increase the size of the output in general)
|
197
|
-
- `if_return` -- optimizations for if/return and if/continue
|
198
|
-
- `join_vars` -- join consecutive `var` statements
|
199
|
-
- `cascade` -- small optimization for sequences, transform `x, x` into `x`
|
200
|
-
and `x = something(), x` into `x = something()`
|
201
|
-
- `warnings` -- display warnings when dropping unreachable code or unused
|
202
|
-
declarations etc.
|
203
|
-
|
204
|
-
### The `unsafe` option
|
205
|
-
|
206
|
-
It enables some transformations that *might* break code logic in certain
|
207
|
-
contrived cases, but should be fine for most code. You might want to try it
|
208
|
-
on your own code, it should reduce the minified size. Here's what happens
|
209
|
-
when this flag is on:
|
210
|
-
|
211
|
-
- `new Array(1, 2, 3)` or `Array(1, 2, 3)` → `[1, 2, 3 ]`
|
212
|
-
- `new Object()` → `{}`
|
213
|
-
- `String(exp)` or `exp.toString()` → `"" + exp`
|
214
|
-
- `new Object/RegExp/Function/Error/Array (...)` → we discard the `new`
|
215
|
-
- `typeof foo == "undefined"` → `foo === void 0`
|
216
|
-
- `void 0` → `"undefined"` (if there is a variable named "undefined" in
|
217
|
-
scope; we do it because the variable name will be mangled, typically
|
218
|
-
reduced to a single character).
|
219
|
-
|
220
|
-
### Conditional compilation
|
221
|
-
|
222
|
-
You can use the `--define` (`-d`) switch in order to declare global
|
223
|
-
variables that UglifyJS will assume to be constants (unless defined in
|
224
|
-
scope). For example if you pass `--define DEBUG=false` then, coupled with
|
225
|
-
dead code removal UglifyJS will discard the following from the output:
|
226
|
-
```javascript
|
227
|
-
if (DEBUG) {
|
228
|
-
console.log("debug stuff");
|
229
|
-
}
|
230
|
-
```
|
231
|
-
|
232
|
-
UglifyJS will warn about the condition being always false and about dropping
|
233
|
-
unreachable code; for now there is no option to turn off only this specific
|
234
|
-
warning, you can pass `warnings=false` to turn off *all* warnings.
|
235
|
-
|
236
|
-
Another way of doing that is to declare your globals as constants in a
|
237
|
-
separate file and include it into the build. For example you can have a
|
238
|
-
`build/defines.js` file with the following:
|
239
|
-
```javascript
|
240
|
-
const DEBUG = false;
|
241
|
-
const PRODUCTION = true;
|
242
|
-
// etc.
|
243
|
-
```
|
244
|
-
|
245
|
-
and build your code like this:
|
246
|
-
|
247
|
-
uglifyjs build/defines.js js/foo.js js/bar.js... -c
|
248
|
-
|
249
|
-
UglifyJS will notice the constants and, since they cannot be altered, it
|
250
|
-
will evaluate references to them to the value itself and drop unreachable
|
251
|
-
code as usual. The possible downside of this approach is that the build
|
252
|
-
will contain the `const` declarations.
|
253
|
-
|
254
|
-
<a name="codegen-options"></a>
|
255
|
-
## Beautifier options
|
256
|
-
|
257
|
-
The code generator tries to output shortest code possible by default. In
|
258
|
-
case you want beautified output, pass `--beautify` (`-b`). Optionally you
|
259
|
-
can pass additional arguments that control the code output:
|
260
|
-
|
261
|
-
- `beautify` (default `true`) -- whether to actually beautify the output.
|
262
|
-
Passing `-b` will set this to true, but you might need to pass `-b` even
|
263
|
-
when you want to generate minified code, in order to specify additional
|
264
|
-
arguments, so you can use `-b beautify=false` to override it.
|
265
|
-
- `indent-level` (default 4)
|
266
|
-
- `indent-start` (default 0) -- prefix all lines by that many spaces
|
267
|
-
- `quote-keys` (default `false`) -- pass `true` to quote all keys in literal
|
268
|
-
objects
|
269
|
-
- `space-colon` (default `true`) -- insert a space after the colon signs
|
270
|
-
- `ascii-only` (default `false`) -- escape Unicode characters in strings and
|
271
|
-
regexps
|
272
|
-
- `inline-script` (default `false`) -- escape the slash in occurrences of
|
273
|
-
`</script` in strings
|
274
|
-
- `width` (default 80) -- only takes effect when beautification is on, this
|
275
|
-
specifies an (orientative) line width that the beautifier will try to
|
276
|
-
obey. It refers to the width of the line text (excluding indentation).
|
277
|
-
It doesn't work very well currently, but it does make the code generated
|
278
|
-
by UglifyJS more readable.
|
279
|
-
- `max-line-len` (default 32000) -- maximum line length (for uglified code)
|
280
|
-
- `ie-proof` (default `true`) -- generate “IE-proof” code (for now this
|
281
|
-
means add brackets around the do/while in code like this: `if (foo) do
|
282
|
-
something(); while (bar); else ...`.
|
283
|
-
- `bracketize` (default `false`) -- always insert brackets in `if`, `for`,
|
284
|
-
`do`, `while` or `with` statements, even if their body is a single
|
285
|
-
statement.
|
286
|
-
- `semicolons` (default `true`) -- separate statements with semicolons. If
|
287
|
-
you pass `false` then whenever possible we will use a newline instead of a
|
288
|
-
semicolon, leading to more readable output of uglified code (size before
|
289
|
-
gzip could be smaller; size after gzip insignificantly larger).
|
290
|
-
- `negate-iife` (default `!beautify`) -- prefer negation, rather than
|
291
|
-
parens, for "Immediately-Called Function Expressions". This defaults to
|
292
|
-
`true` when beautification is off, and `false` if beautification is on;
|
293
|
-
pass it manually to force a value.
|
294
|
-
|
295
|
-
### Keeping copyright notices or other comments
|
296
|
-
|
297
|
-
You can pass `--comments` to retain certain comments in the output. By
|
298
|
-
default it will keep JSDoc-style comments that contain "@preserve",
|
299
|
-
"@license" or "@cc_on" (conditional compilation for IE). You can pass
|
300
|
-
`--comments all` to keep all the comments, or a valid JavaScript regexp to
|
301
|
-
keep only comments that match this regexp. For example `--comments
|
302
|
-
'/foo|bar/'` will keep only comments that contain "foo" or "bar".
|
303
|
-
|
304
|
-
Note, however, that there might be situations where comments are lost. For
|
305
|
-
example:
|
306
|
-
```javascript
|
307
|
-
function f() {
|
308
|
-
/** @preserve Foo Bar */
|
309
|
-
function g() {
|
310
|
-
// this function is never called
|
311
|
-
}
|
312
|
-
return something();
|
313
|
-
}
|
314
|
-
```
|
315
|
-
|
316
|
-
Even though it has "@preserve", the comment will be lost because the inner
|
317
|
-
function `g` (which is the AST node to which the comment is attached to) is
|
318
|
-
discarded by the compressor as not referenced.
|
319
|
-
|
320
|
-
The safest comments where to place copyright information (or other info that
|
321
|
-
needs to be kept in the output) are comments attached to toplevel nodes.
|
322
|
-
|
323
|
-
## Support for the SpiderMonkey AST
|
324
|
-
|
325
|
-
UglifyJS2 has its own abstract syntax tree format; for
|
326
|
-
[practical reasons](http://lisperator.net/blog/uglifyjs-why-not-switching-to-spidermonkey-ast/)
|
327
|
-
we can't easily change to using the SpiderMonkey AST internally. However,
|
328
|
-
UglifyJS now has a converter which can import a SpiderMonkey AST.
|
329
|
-
|
330
|
-
For example [Acorn][acorn] is a super-fast parser that produces a
|
331
|
-
SpiderMonkey AST. It has a small CLI utility that parses one file and dumps
|
332
|
-
the AST in JSON on the standard output. To use UglifyJS to mangle and
|
333
|
-
compress that:
|
334
|
-
|
335
|
-
acorn file.js | uglifyjs --spidermonkey -m -c
|
336
|
-
|
337
|
-
The `--spidermonkey` option tells UglifyJS that all input files are not
|
338
|
-
JavaScript, but JS code described in SpiderMonkey AST in JSON. Therefore we
|
339
|
-
don't use our own parser in this case, but just transform that AST into our
|
340
|
-
internal AST.
|
341
|
-
|
342
|
-
### Use Acorn for parsing
|
343
|
-
|
344
|
-
More for fun, I added the `--acorn` option which will use Acorn to do all
|
345
|
-
the parsing. If you pass this option, UglifyJS will `require("acorn")`.
|
346
|
-
|
347
|
-
Acorn is really fast (e.g. 250ms instead of 380ms on some 650K code), but
|
348
|
-
converting the SpiderMonkey tree that Acorn produces takes another 150ms so
|
349
|
-
in total it's a bit more than just using UglifyJS's own parser.
|
350
|
-
|
351
|
-
API Reference
|
352
|
-
-------------
|
353
|
-
|
354
|
-
Assuming installation via NPM, you can load UglifyJS in your application
|
355
|
-
like this:
|
356
|
-
```javascript
|
357
|
-
var UglifyJS = require("uglify-js");
|
358
|
-
```
|
359
|
-
|
360
|
-
It exports a lot of names, but I'll discuss here the basics that are needed
|
361
|
-
for parsing, mangling and compressing a piece of code. The sequence is (1)
|
362
|
-
parse, (2) compress, (3) mangle, (4) generate output code.
|
363
|
-
|
364
|
-
### The simple way
|
365
|
-
|
366
|
-
There's a single toplevel function which combines all the steps. If you
|
367
|
-
don't need additional customization, you might want to go with `minify`.
|
368
|
-
Example:
|
369
|
-
```javascript
|
370
|
-
var result = UglifyJS.minify("/path/to/file.js");
|
371
|
-
console.log(result.code); // minified output
|
372
|
-
// if you need to pass code instead of file name
|
373
|
-
var result = UglifyJS.minify("var b = function () {};", {fromString: true});
|
374
|
-
```
|
375
|
-
|
376
|
-
You can also compress multiple files:
|
377
|
-
```javascript
|
378
|
-
var result = UglifyJS.minify([ "file1.js", "file2.js", "file3.js" ]);
|
379
|
-
console.log(result.code);
|
380
|
-
```
|
381
|
-
|
382
|
-
To generate a source map:
|
383
|
-
```javascript
|
384
|
-
var result = UglifyJS.minify([ "file1.js", "file2.js", "file3.js" ], {
|
385
|
-
outSourceMap: "out.js.map"
|
386
|
-
});
|
387
|
-
console.log(result.code); // minified output
|
388
|
-
console.log(result.map);
|
389
|
-
```
|
390
|
-
|
391
|
-
Note that the source map is not saved in a file, it's just returned in
|
392
|
-
`result.map`. The value passed for `outSourceMap` is only used to set the
|
393
|
-
`file` attribute in the source map (see [the spec][sm-spec]).
|
394
|
-
|
395
|
-
You can also specify sourceRoot property to be included in source map:
|
396
|
-
```javascript
|
397
|
-
var result = UglifyJS.minify([ "file1.js", "file2.js", "file3.js" ], {
|
398
|
-
outSourceMap: "out.js.map",
|
399
|
-
sourceRoot: "http://example.com/src"
|
400
|
-
});
|
401
|
-
```
|
402
|
-
|
403
|
-
If you're compressing compiled JavaScript and have a source map for it, you
|
404
|
-
can use the `inSourceMap` argument:
|
405
|
-
```javascript
|
406
|
-
var result = UglifyJS.minify("compiled.js", {
|
407
|
-
inSourceMap: "compiled.js.map",
|
408
|
-
outSourceMap: "minified.js.map"
|
409
|
-
});
|
410
|
-
// same as before, it returns `code` and `map`
|
411
|
-
```
|
412
|
-
|
413
|
-
The `inSourceMap` is only used if you also request `outSourceMap` (it makes
|
414
|
-
no sense otherwise).
|
415
|
-
|
416
|
-
Other options:
|
417
|
-
|
418
|
-
- `warnings` (default `false`) — pass `true` to display compressor warnings.
|
419
|
-
|
420
|
-
- `fromString` (default `false`) — if you pass `true` then you can pass
|
421
|
-
JavaScript source code, rather than file names.
|
422
|
-
|
423
|
-
- `mangle` — pass `false` to skip mangling names.
|
424
|
-
|
425
|
-
- `output` (default `null`) — pass an object if you wish to specify
|
426
|
-
additional [output options][codegen]. The defaults are optimized
|
427
|
-
for best compression.
|
428
|
-
|
429
|
-
- `compress` (default `{}`) — pass `false` to skip compressing entirely.
|
430
|
-
Pass an object to specify custom [compressor options][compressor].
|
431
|
-
|
432
|
-
We could add more options to `UglifyJS.minify` — if you need additional
|
433
|
-
functionality please suggest!
|
434
|
-
|
435
|
-
### The hard way
|
436
|
-
|
437
|
-
Following there's more detailed API info, in case the `minify` function is
|
438
|
-
too simple for your needs.
|
439
|
-
|
440
|
-
#### The parser
|
441
|
-
```javascript
|
442
|
-
var toplevel_ast = UglifyJS.parse(code, options);
|
443
|
-
```
|
444
|
-
|
445
|
-
`options` is optional and if present it must be an object. The following
|
446
|
-
properties are available:
|
447
|
-
|
448
|
-
- `strict` — disable automatic semicolon insertion and support for trailing
|
449
|
-
comma in arrays and objects
|
450
|
-
- `filename` — the name of the file where this code is coming from
|
451
|
-
- `toplevel` — a `toplevel` node (as returned by a previous invocation of
|
452
|
-
`parse`)
|
453
|
-
|
454
|
-
The last two options are useful when you'd like to minify multiple files and
|
455
|
-
get a single file as the output and a proper source map. Our CLI tool does
|
456
|
-
something like this:
|
457
|
-
```javascript
|
458
|
-
var toplevel = null;
|
459
|
-
files.forEach(function(file){
|
460
|
-
var code = fs.readFileSync(file);
|
461
|
-
toplevel = UglifyJS.parse(code, {
|
462
|
-
filename: file,
|
463
|
-
toplevel: toplevel
|
464
|
-
});
|
465
|
-
});
|
466
|
-
```
|
467
|
-
|
468
|
-
After this, we have in `toplevel` a big AST containing all our files, with
|
469
|
-
each token having proper information about where it came from.
|
470
|
-
|
471
|
-
#### Scope information
|
472
|
-
|
473
|
-
UglifyJS contains a scope analyzer that you need to call manually before
|
474
|
-
compressing or mangling. Basically it augments various nodes in the AST
|
475
|
-
with information about where is a name defined, how many times is a name
|
476
|
-
referenced, if it is a global or not, if a function is using `eval` or the
|
477
|
-
`with` statement etc. I will discuss this some place else, for now what's
|
478
|
-
important to know is that you need to call the following before doing
|
479
|
-
anything with the tree:
|
480
|
-
```javascript
|
481
|
-
toplevel.figure_out_scope()
|
482
|
-
```
|
483
|
-
|
484
|
-
#### Compression
|
485
|
-
|
486
|
-
Like this:
|
487
|
-
```javascript
|
488
|
-
var compressor = UglifyJS.Compressor(options);
|
489
|
-
var compressed_ast = toplevel.transform(compressor);
|
490
|
-
```
|
491
|
-
|
492
|
-
The `options` can be missing. Available options are discussed above in
|
493
|
-
“Compressor options”. Defaults should lead to best compression in most
|
494
|
-
scripts.
|
495
|
-
|
496
|
-
The compressor is destructive, so don't rely that `toplevel` remains the
|
497
|
-
original tree.
|
498
|
-
|
499
|
-
#### Mangling
|
500
|
-
|
501
|
-
After compression it is a good idea to call again `figure_out_scope` (since
|
502
|
-
the compressor might drop unused variables / unreachable code and this might
|
503
|
-
change the number of identifiers or their position). Optionally, you can
|
504
|
-
call a trick that helps after Gzip (counting character frequency in
|
505
|
-
non-mangleable words). Example:
|
506
|
-
```javascript
|
507
|
-
compressed_ast.figure_out_scope();
|
508
|
-
compressed_ast.compute_char_frequency();
|
509
|
-
compressed_ast.mangle_names();
|
510
|
-
```
|
511
|
-
|
512
|
-
#### Generating output
|
513
|
-
|
514
|
-
AST nodes have a `print` method that takes an output stream. Essentially,
|
515
|
-
to generate code you do this:
|
516
|
-
```javascript
|
517
|
-
var stream = UglifyJS.OutputStream(options);
|
518
|
-
compressed_ast.print(stream);
|
519
|
-
var code = stream.toString(); // this is your minified code
|
520
|
-
```
|
521
|
-
|
522
|
-
or, for a shortcut you can do:
|
523
|
-
```javascript
|
524
|
-
var code = compressed_ast.print_to_string(options);
|
525
|
-
```
|
526
|
-
|
527
|
-
As usual, `options` is optional. The output stream accepts a lot of otions,
|
528
|
-
most of them documented above in section “Beautifier options”. The two
|
529
|
-
which we care about here are `source_map` and `comments`.
|
530
|
-
|
531
|
-
#### Keeping comments in the output
|
532
|
-
|
533
|
-
In order to keep certain comments in the output you need to pass the
|
534
|
-
`comments` option. Pass a RegExp or a function. If you pass a RegExp, only
|
535
|
-
those comments whose body matches the regexp will be kept. Note that body
|
536
|
-
means without the initial `//` or `/*`. If you pass a function, it will be
|
537
|
-
called for every comment in the tree and will receive two arguments: the
|
538
|
-
node that the comment is attached to, and the comment token itself.
|
539
|
-
|
540
|
-
The comment token has these properties:
|
541
|
-
|
542
|
-
- `type`: "comment1" for single-line comments or "comment2" for multi-line
|
543
|
-
comments
|
544
|
-
- `value`: the comment body
|
545
|
-
- `pos` and `endpos`: the start/end positions (zero-based indexes) in the
|
546
|
-
original code where this comment appears
|
547
|
-
- `line` and `col`: the line and column where this comment appears in the
|
548
|
-
original code
|
549
|
-
- `file` — the file name of the original file
|
550
|
-
- `nlb` — true if there was a newline before this comment in the original
|
551
|
-
code, or if this comment contains a newline.
|
552
|
-
|
553
|
-
Your function should return `true` to keep the comment, or a falsy value
|
554
|
-
otherwise.
|
555
|
-
|
556
|
-
#### Generating a source mapping
|
557
|
-
|
558
|
-
You need to pass the `source_map` argument when calling `print`. It needs
|
559
|
-
to be a `SourceMap` object (which is a thin wrapper on top of the
|
560
|
-
[source-map][source-map] library).
|
561
|
-
|
562
|
-
Example:
|
563
|
-
```javascript
|
564
|
-
var source_map = UglifyJS.SourceMap(source_map_options);
|
565
|
-
var stream = UglifyJS.OutputStream({
|
566
|
-
...
|
567
|
-
source_map: source_map
|
568
|
-
});
|
569
|
-
compressed_ast.print(stream);
|
570
|
-
|
571
|
-
var code = stream.toString();
|
572
|
-
var map = source_map.toString(); // json output for your source map
|
573
|
-
```
|
574
|
-
|
575
|
-
The `source_map_options` (optional) can contain the following properties:
|
576
|
-
|
577
|
-
- `file`: the name of the JavaScript output file that this mapping refers to
|
578
|
-
- `root`: the `sourceRoot` property (see the [spec][sm-spec])
|
579
|
-
- `orig`: the "original source map", handy when you compress generated JS
|
580
|
-
and want to map the minified output back to the original code where it
|
581
|
-
came from. It can be simply a string in JSON, or a JSON object containing
|
582
|
-
the original source map.
|
583
|
-
|
584
|
-
[acorn]: https://github.com/marijnh/acorn
|
585
|
-
[source-map]: https://github.com/mozilla/source-map
|
586
|
-
[sm-spec]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit
|
587
|
-
[codegen]: http://lisperator.net/uglifyjs/codegen
|
588
|
-
[compressor]: http://lisperator.net/uglifyjs/compress
|