cssesc-source 0.1.0
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 +15 -0
- data/lib/cssesc/source.rb +7 -0
- data/vendor/LICENSE-MIT.txt +20 -0
- data/vendor/README.md +207 -0
- data/vendor/bin/cssesc +122 -0
- data/vendor/cssesc.js +177 -0
- data/vendor/man/cssesc.1 +70 -0
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/MIT-LICENSE.txt +21 -0
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/README.md +43 -0
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/bin/stripcolorcodes.js +18 -0
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/index.js +3 -0
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/package.json +42 -0
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/test/fixture/with-colors +2 -0
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/test/fixture/without-colors +2 -0
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/test/stripcolorcodes-test.js +20 -0
- data/vendor/node_modules/grunt-shell/package.json +53 -0
- data/vendor/node_modules/grunt-shell/readme.md +221 -0
- data/vendor/node_modules/grunt-shell/tasks/shell.js +54 -0
- data/vendor/node_modules/grunt-template/LICENSE-MIT.txt +20 -0
- data/vendor/node_modules/grunt-template/README.md +123 -0
- data/vendor/node_modules/grunt-template/package.json +50 -0
- data/vendor/node_modules/grunt-template/tasks/template.js +44 -0
- data/vendor/node_modules/grunt/CONTRIBUTING.md +1 -0
- data/vendor/node_modules/grunt/LICENSE-MIT +22 -0
- data/vendor/node_modules/grunt/README.md +16 -0
- data/vendor/node_modules/grunt/internal-tasks/bump.js +151 -0
- data/vendor/node_modules/grunt/internal-tasks/subgrunt.js +34 -0
- data/vendor/node_modules/grunt/lib/grunt.js +156 -0
- data/vendor/node_modules/grunt/lib/grunt/cli.js +128 -0
- data/vendor/node_modules/grunt/lib/grunt/config.js +118 -0
- data/vendor/node_modules/grunt/lib/grunt/event.js +16 -0
- data/vendor/node_modules/grunt/lib/grunt/fail.js +84 -0
- data/vendor/node_modules/grunt/lib/grunt/file.js +440 -0
- data/vendor/node_modules/grunt/lib/grunt/help.js +129 -0
- data/vendor/node_modules/grunt/lib/grunt/log.js +352 -0
- data/vendor/node_modules/grunt/lib/grunt/option.js +42 -0
- data/vendor/node_modules/grunt/lib/grunt/task.js +451 -0
- data/vendor/node_modules/grunt/lib/grunt/template.js +95 -0
- data/vendor/node_modules/grunt/lib/grunt/util.js +188 -0
- data/vendor/node_modules/grunt/lib/util/task.js +323 -0
- data/vendor/node_modules/grunt/node_modules/async/LICENSE +19 -0
- data/vendor/node_modules/grunt/node_modules/async/Makefile +25 -0
- data/vendor/node_modules/grunt/node_modules/async/README.md +1021 -0
- data/vendor/node_modules/grunt/node_modules/async/index.js +3 -0
- data/vendor/node_modules/grunt/node_modules/async/lib/async.js +692 -0
- data/vendor/node_modules/grunt/node_modules/async/package.json +32 -0
- data/vendor/node_modules/grunt/node_modules/coffee-script/CNAME +1 -0
- data/vendor/node_modules/grunt/node_modules/coffee-script/LICENSE +22 -0
- data/vendor/node_modules/grunt/node_modules/coffee-script/README +51 -0
- data/vendor/node_modules/grunt/node_modules/coffee-script/Rakefile +78 -0
- data/vendor/node_modules/grunt/node_modules/coffee-script/bin/cake +7 -0
- data/vendor/node_modules/grunt/node_modules/coffee-script/bin/coffee +7 -0
- data/vendor/node_modules/grunt/node_modules/coffee-script/extras/jsl.conf +44 -0
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/browser.js +92 -0
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/cake.js +111 -0
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/coffee-script.js +167 -0
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/command.js +500 -0
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/grammar.js +606 -0
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/helpers.js +77 -0
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/index.js +11 -0
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/lexer.js +788 -0
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/nodes.js +2986 -0
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/optparse.js +138 -0
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/parser.js +683 -0
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/repl.js +261 -0
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/rewriter.js +349 -0
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/scope.js +146 -0
- data/vendor/node_modules/grunt/node_modules/coffee-script/package.json +47 -0
- data/vendor/node_modules/grunt/node_modules/colors/MIT-LICENSE.txt +22 -0
- data/vendor/node_modules/grunt/node_modules/colors/ReadMe.md +77 -0
- data/vendor/node_modules/grunt/node_modules/colors/colors.js +342 -0
- data/vendor/node_modules/grunt/node_modules/colors/example.html +76 -0
- data/vendor/node_modules/grunt/node_modules/colors/example.js +77 -0
- data/vendor/node_modules/grunt/node_modules/colors/package.json +29 -0
- data/vendor/node_modules/grunt/node_modules/colors/test.js +70 -0
- data/vendor/node_modules/grunt/node_modules/colors/themes/winston-dark.js +12 -0
- data/vendor/node_modules/grunt/node_modules/colors/themes/winston-light.js +12 -0
- data/vendor/node_modules/grunt/node_modules/dateformat/Readme.md +67 -0
- data/vendor/node_modules/grunt/node_modules/dateformat/lib/dateformat.js +165 -0
- data/vendor/node_modules/grunt/node_modules/dateformat/package.json +20 -0
- data/vendor/node_modules/grunt/node_modules/dateformat/test/test_weekofyear.js +4 -0
- data/vendor/node_modules/grunt/node_modules/dateformat/test/test_weekofyear.sh +27 -0
- data/vendor/node_modules/grunt/node_modules/eventemitter2/README.md +212 -0
- data/vendor/node_modules/grunt/node_modules/eventemitter2/index.js +1 -0
- data/vendor/node_modules/grunt/node_modules/eventemitter2/lib/eventemitter2.js +561 -0
- data/vendor/node_modules/grunt/node_modules/eventemitter2/package.json +62 -0
- data/vendor/node_modules/grunt/node_modules/exit/Gruntfile.js +48 -0
- data/vendor/node_modules/grunt/node_modules/exit/LICENSE-MIT +22 -0
- data/vendor/node_modules/grunt/node_modules/exit/README.md +75 -0
- data/vendor/node_modules/grunt/node_modules/exit/lib/exit.js +41 -0
- data/vendor/node_modules/grunt/node_modules/exit/package.json +51 -0
- data/vendor/node_modules/grunt/node_modules/exit/test/exit_test.js +121 -0
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/10-stderr.txt +10 -0
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/10-stdout-stderr.txt +20 -0
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/10-stdout.txt +10 -0
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/100-stderr.txt +100 -0
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/100-stdout-stderr.txt +200 -0
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/100-stdout.txt +100 -0
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/1000-stderr.txt +1000 -0
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/1000-stdout-stderr.txt +2000 -0
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/1000-stdout.txt +1000 -0
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/create-files.sh +8 -0
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/log-broken.js +23 -0
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/log.js +25 -0
- data/vendor/node_modules/grunt/node_modules/findup-sync/Gruntfile.js +25 -0
- data/vendor/node_modules/grunt/node_modules/findup-sync/LICENSE-MIT +22 -0
- data/vendor/node_modules/grunt/node_modules/findup-sync/README.md +44 -0
- data/vendor/node_modules/grunt/node_modules/findup-sync/lib/findup-sync.js +46 -0
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/README.md +164 -0
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.compat.js +5152 -0
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.compat.min.js +42 -0
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.js +4983 -0
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.min.js +40 -0
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.underscore.js +4307 -0
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.underscore.min.js +34 -0
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/package.json +62 -0
- data/vendor/node_modules/grunt/node_modules/findup-sync/package.json +48 -0
- data/vendor/node_modules/grunt/node_modules/findup-sync/test/findup-sync_test.js +48 -0
- 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 +48 -0
- data/vendor/node_modules/grunt/node_modules/getobject/LICENSE-MIT +22 -0
- data/vendor/node_modules/grunt/node_modules/getobject/README.md +20 -0
- data/vendor/node_modules/grunt/node_modules/getobject/lib/getobject.js +60 -0
- data/vendor/node_modules/grunt/node_modules/getobject/package.json +48 -0
- data/vendor/node_modules/grunt/node_modules/getobject/test/namespace_test.js +51 -0
- data/vendor/node_modules/grunt/node_modules/glob/LICENSE +27 -0
- data/vendor/node_modules/grunt/node_modules/glob/README.md +233 -0
- data/vendor/node_modules/grunt/node_modules/glob/examples/g.js +9 -0
- data/vendor/node_modules/grunt/node_modules/glob/examples/usr-local.js +9 -0
- data/vendor/node_modules/grunt/node_modules/glob/glob.js +643 -0
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/LICENSE +27 -0
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/README.md +33 -0
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/graceful-fs.js +442 -0
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/package.json +49 -0
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/test/open.js +46 -0
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/test/ulimit.js +158 -0
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/inherits/README.md +51 -0
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/inherits/inherits.js +29 -0
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/inherits/package.json +30 -0
- data/vendor/node_modules/grunt/node_modules/glob/package.json +40 -0
- data/vendor/node_modules/grunt/node_modules/glob/test/00-setup.js +176 -0
- data/vendor/node_modules/grunt/node_modules/glob/test/bash-comparison.js +63 -0
- data/vendor/node_modules/grunt/node_modules/glob/test/bash-results.json +348 -0
- data/vendor/node_modules/grunt/node_modules/glob/test/cwd-test.js +55 -0
- data/vendor/node_modules/grunt/node_modules/glob/test/mark.js +74 -0
- data/vendor/node_modules/grunt/node_modules/glob/test/nocase-nomagic.js +113 -0
- data/vendor/node_modules/grunt/node_modules/glob/test/pause-resume.js +73 -0
- data/vendor/node_modules/grunt/node_modules/glob/test/root-nomount.js +39 -0
- data/vendor/node_modules/grunt/node_modules/glob/test/root.js +46 -0
- data/vendor/node_modules/grunt/node_modules/glob/test/zz-cleanup.js +11 -0
- data/vendor/node_modules/grunt/node_modules/hooker/LICENSE-MIT +22 -0
- data/vendor/node_modules/grunt/node_modules/hooker/README.md +186 -0
- data/vendor/node_modules/grunt/node_modules/hooker/child.js +101 -0
- data/vendor/node_modules/grunt/node_modules/hooker/dist/ba-hooker.js +169 -0
- data/vendor/node_modules/grunt/node_modules/hooker/dist/ba-hooker.min.js +4 -0
- data/vendor/node_modules/grunt/node_modules/hooker/grunt.js +47 -0
- data/vendor/node_modules/grunt/node_modules/hooker/lib/hooker.js +174 -0
- data/vendor/node_modules/grunt/node_modules/hooker/package.json +45 -0
- data/vendor/node_modules/grunt/node_modules/hooker/parent.js +17 -0
- data/vendor/node_modules/grunt/node_modules/hooker/test/hooker_test.js +435 -0
- data/vendor/node_modules/grunt/node_modules/iconv-lite/LICENSE +21 -0
- data/vendor/node_modules/grunt/node_modules/iconv-lite/README.md +72 -0
- data/vendor/node_modules/grunt/node_modules/iconv-lite/README.md~ +54 -0
- data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/big5.js +9 -0
- data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/gbk.js +9 -0
- data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/singlebyte.js +340 -0
- data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/table/big5.js +1 -0
- data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/table/gbk.js +1 -0
- data/vendor/node_modules/grunt/node_modules/iconv-lite/generation/generate-big5-table.js +25 -0
- data/vendor/node_modules/grunt/node_modules/iconv-lite/generation/generate-singlebyte.js +142 -0
- data/vendor/node_modules/grunt/node_modules/iconv-lite/index.js +231 -0
- data/vendor/node_modules/grunt/node_modules/iconv-lite/package.json +80 -0
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/big5-test.js +36 -0
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/big5File.txt +13 -0
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/cyrillic-test.js +86 -0
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/gbk-test.js +38 -0
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/gbkFile.txt +14 -0
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/greek-test.js +79 -0
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/main-test.js +55 -0
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/performance.js +67 -0
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/turkish-test.js +90 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/HISTORY.md +155 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/LICENSE +21 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/README.md +249 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/bin/js-yaml.js +125 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/examples/custom_types.js +104 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/examples/custom_types.yaml +18 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/examples/dumper.js +31 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/examples/dumper.json +22 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/examples/sample_document.js +15 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/examples/sample_document.yaml +197 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/index.js +1 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml.js +33 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/common.js +60 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/dumper.js +437 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/exception.js +25 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/loader.js +1549 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/mark.js +78 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/require.js +23 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema.js +103 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/default.js +16 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/minimal.js +13 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/safe.js +25 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type.js +82 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/binary.js +118 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/bool.js +74 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/float.js +102 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/int.js +85 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/js/function.js +56 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +56 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +28 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/map.js +11 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/merge.js +18 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/null.js +36 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/omap.js +53 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/pairs.js +41 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/seq.js +11 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/set.js +31 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/str.js +11 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +91 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/HISTORY.md +109 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/LICENSE +21 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/README.md +239 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/arguments.js +36 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/choice.js +22 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/constants.js +59 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/help.js +13 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/nargs.js +33 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/parents.js +28 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/prefix_chars.js +23 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/sub_commands.js +49 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/sum.js +35 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/testformatters.js +270 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/index.js +1 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action.js +146 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/append.js +55 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/append/constant.js +47 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/count.js +40 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/help.js +48 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/store.js +50 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/store/constant.js +43 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/store/false.js +27 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js +26 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/subparsers.js +148 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/version.js +50 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action_container.js +481 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argparse.js +14 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argument/error.js +50 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argument/exclusive.js +54 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argument/group.js +75 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argument_parser.js +1165 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/const.js +18 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/help/added_formatters.js +88 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/help/formatter.js +803 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/namespace.js +77 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/Gemfile +4 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/Gemfile.lock +17 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/README.markdown +814 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/Rakefile +23 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/component.json +11 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/dist/underscore.string.min.js +1 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/lib/underscore.string.js +673 -0
- 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 +73 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/run-qunit.js +45 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/speed.js +148 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/strings.js +685 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/strings_standalone.js +12 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test.html +31 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_standalone.html +18 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/arrays.js +200 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/chaining.js +59 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/collections.js +426 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/functions.js +259 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/index.html +45 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/objects.js +548 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/speed.js +75 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/utility.js +249 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/vendor/jquery.js +9404 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/vendor/jslitmus.js +670 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/vendor/qunit.css +235 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/vendor/qunit.js +1977 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/underscore.js +1201 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/CNAME +1 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/CONTRIBUTING.md +9 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/LICENSE +22 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/README.md +19 -0
- 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 +2467 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/index.js +1 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/package.json +35 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/underscore-min.js +1 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/underscore.js +1226 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/package.json +50 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/README.md +73 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/bin/esparse.js +117 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/bin/esvalidate.js +177 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/esprima.js +3908 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/package.json +59 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/compat.js +239 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/reflect.js +422 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/run.js +66 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/runner.js +387 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/test.js +20238 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/package.json +60 -0
- data/vendor/node_modules/grunt/node_modules/lodash/README.md +140 -0
- data/vendor/node_modules/grunt/node_modules/lodash/lodash.js +4258 -0
- data/vendor/node_modules/grunt/node_modules/lodash/lodash.min.js +35 -0
- data/vendor/node_modules/grunt/node_modules/lodash/lodash.underscore.js +3688 -0
- data/vendor/node_modules/grunt/node_modules/lodash/lodash.underscore.min.js +28 -0
- data/vendor/node_modules/grunt/node_modules/lodash/package.json +62 -0
- data/vendor/node_modules/grunt/node_modules/minimatch/LICENSE +23 -0
- data/vendor/node_modules/grunt/node_modules/minimatch/README.md +218 -0
- data/vendor/node_modules/grunt/node_modules/minimatch/minimatch.js +1055 -0
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/CONTRIBUTORS +14 -0
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/LICENSE +23 -0
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/README.md +97 -0
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/lib/lru-cache.js +252 -0
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/package.json +33 -0
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/test/basic.js +369 -0
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/test/foreach.js +52 -0
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/test/memory-leak.js +50 -0
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/LICENSE +27 -0
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/README.md +53 -0
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/bench.js +283 -0
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/package.json +42 -0
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/sigmund.js +39 -0
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/test/basic.js +24 -0
- data/vendor/node_modules/grunt/node_modules/minimatch/package.json +40 -0
- data/vendor/node_modules/grunt/node_modules/minimatch/test/basic.js +399 -0
- data/vendor/node_modules/grunt/node_modules/minimatch/test/brace-expand.js +33 -0
- data/vendor/node_modules/grunt/node_modules/minimatch/test/caching.js +14 -0
- data/vendor/node_modules/grunt/node_modules/minimatch/test/defaults.js +274 -0
- data/vendor/node_modules/grunt/node_modules/minimatch/test/extglob-ending-with-state-char.js +8 -0
- data/vendor/node_modules/grunt/node_modules/nopt/LICENSE +23 -0
- data/vendor/node_modules/grunt/node_modules/nopt/README.md +208 -0
- data/vendor/node_modules/grunt/node_modules/nopt/bin/nopt.js +44 -0
- data/vendor/node_modules/grunt/node_modules/nopt/examples/my-program.js +30 -0
- data/vendor/node_modules/grunt/node_modules/nopt/lib/nopt.js +552 -0
- data/vendor/node_modules/grunt/node_modules/nopt/node_modules/abbrev/LICENSE +23 -0
- data/vendor/node_modules/grunt/node_modules/nopt/node_modules/abbrev/README.md +23 -0
- data/vendor/node_modules/grunt/node_modules/nopt/node_modules/abbrev/lib/abbrev.js +111 -0
- data/vendor/node_modules/grunt/node_modules/nopt/node_modules/abbrev/package.json +29 -0
- data/vendor/node_modules/grunt/node_modules/nopt/package.json +36 -0
- data/vendor/node_modules/grunt/node_modules/rimraf/AUTHORS +6 -0
- data/vendor/node_modules/grunt/node_modules/rimraf/LICENSE +23 -0
- data/vendor/node_modules/grunt/node_modules/rimraf/README.md +21 -0
- data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/LICENSE +23 -0
- data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/README.md +5 -0
- data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/graceful-fs.js +312 -0
- data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/package.json +40 -0
- data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/test/open.js +41 -0
- data/vendor/node_modules/grunt/node_modules/rimraf/package.json +59 -0
- data/vendor/node_modules/grunt/node_modules/rimraf/rimraf.js +161 -0
- data/vendor/node_modules/grunt/node_modules/rimraf/test/run.sh +10 -0
- data/vendor/node_modules/grunt/node_modules/rimraf/test/setup.sh +47 -0
- data/vendor/node_modules/grunt/node_modules/rimraf/test/test-async.js +5 -0
- 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 +3 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/Gemfile +5 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/Gemfile.lock +34 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/README.markdown +668 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/Rakefile +28 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/dist/underscore.string.min.js +1 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/lib/underscore.string.js +525 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/package.json +72 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/run-qunit.js +44 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/speed.js +138 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/strings.js +438 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/strings_standalone.js +12 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test.html +31 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_standalone.html +18 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/arrays.js +166 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/chaining.js +59 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/collections.js +270 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/functions.js +198 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/objects.js +535 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/speed.js +70 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/temp.js +27 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/temp_tests.html +19 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/test.html +43 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/utility.js +155 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/vendor/jquery.js +19 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/vendor/jslitmus.js +670 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/vendor/qunit.css +196 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/vendor/qunit.js +2360 -0
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/underscore.js +999 -0
- data/vendor/node_modules/grunt/node_modules/which/LICENSE +23 -0
- data/vendor/node_modules/grunt/node_modules/which/README.md +5 -0
- data/vendor/node_modules/grunt/node_modules/which/bin/which +14 -0
- data/vendor/node_modules/grunt/node_modules/which/package.json +31 -0
- data/vendor/node_modules/grunt/node_modules/which/which.js +104 -0
- data/vendor/node_modules/grunt/package.json +82 -0
- data/vendor/node_modules/istanbul/CHANGELOG.md +57 -0
- data/vendor/node_modules/istanbul/LICENSE +24 -0
- data/vendor/node_modules/istanbul/README.md +205 -0
- data/vendor/node_modules/istanbul/index.js +115 -0
- data/vendor/node_modules/istanbul/lib/cli.js +74 -0
- data/vendor/node_modules/istanbul/lib/collector.js +121 -0
- data/vendor/node_modules/istanbul/lib/command/check-coverage.js +115 -0
- data/vendor/node_modules/istanbul/lib/command/common/run-with-cover.js +199 -0
- data/vendor/node_modules/istanbul/lib/command/cover.js +33 -0
- data/vendor/node_modules/istanbul/lib/command/help.js +58 -0
- data/vendor/node_modules/istanbul/lib/command/index.js +33 -0
- data/vendor/node_modules/istanbul/lib/command/instrument.js +244 -0
- data/vendor/node_modules/istanbul/lib/command/report.js +97 -0
- data/vendor/node_modules/istanbul/lib/command/test.js +31 -0
- data/vendor/node_modules/istanbul/lib/hook.js +187 -0
- data/vendor/node_modules/istanbul/lib/instrumenter.js +759 -0
- data/vendor/node_modules/istanbul/lib/object-utils.js +341 -0
- data/vendor/node_modules/istanbul/lib/register-plugins.js +15 -0
- data/vendor/node_modules/istanbul/lib/report/cobertura.js +207 -0
- data/vendor/node_modules/istanbul/lib/report/html.js +517 -0
- data/vendor/node_modules/istanbul/lib/report/index.js +60 -0
- data/vendor/node_modules/istanbul/lib/report/json.js +55 -0
- data/vendor/node_modules/istanbul/lib/report/lcov.js +49 -0
- data/vendor/node_modules/istanbul/lib/report/lcovonly.js +93 -0
- data/vendor/node_modules/istanbul/lib/report/none.js +20 -0
- data/vendor/node_modules/istanbul/lib/report/teamcity.js +82 -0
- data/vendor/node_modules/istanbul/lib/report/templates/foot.txt +102 -0
- data/vendor/node_modules/istanbul/lib/report/templates/head.txt +200 -0
- data/vendor/node_modules/istanbul/lib/report/text-summary.js +72 -0
- data/vendor/node_modules/istanbul/lib/report/text.js +210 -0
- data/vendor/node_modules/istanbul/lib/store/fslookup.js +60 -0
- data/vendor/node_modules/istanbul/lib/store/index.js +122 -0
- data/vendor/node_modules/istanbul/lib/store/memory.js +55 -0
- data/vendor/node_modules/istanbul/lib/store/tmp.js +80 -0
- data/vendor/node_modules/istanbul/lib/util/factory.js +88 -0
- data/vendor/node_modules/istanbul/lib/util/file-matcher.js +60 -0
- data/vendor/node_modules/istanbul/lib/util/file-writer.js +131 -0
- data/vendor/node_modules/istanbul/lib/util/flow-control.js +26 -0
- data/vendor/node_modules/istanbul/lib/util/help-formatter.js +24 -0
- data/vendor/node_modules/istanbul/lib/util/input-error.js +12 -0
- data/vendor/node_modules/istanbul/lib/util/insertion-text.js +109 -0
- data/vendor/node_modules/istanbul/lib/util/meta.js +13 -0
- data/vendor/node_modules/istanbul/lib/util/tree-summarizer.js +213 -0
- data/vendor/node_modules/istanbul/lib/util/writer.js +56 -0
- data/vendor/node_modules/istanbul/lib/util/yui-load-hook.js +49 -0
- data/vendor/node_modules/istanbul/lib/vendor/prettify.css +1 -0
- data/vendor/node_modules/istanbul/lib/vendor/prettify.js +1 -0
- data/vendor/node_modules/istanbul/node_modules/abbrev/LICENSE +23 -0
- data/vendor/node_modules/istanbul/node_modules/abbrev/README.md +23 -0
- data/vendor/node_modules/istanbul/node_modules/abbrev/lib/abbrev.js +111 -0
- data/vendor/node_modules/istanbul/node_modules/abbrev/package.json +29 -0
- data/vendor/node_modules/istanbul/node_modules/async/LICENSE +19 -0
- data/vendor/node_modules/istanbul/node_modules/async/README.md +1414 -0
- data/vendor/node_modules/istanbul/node_modules/async/component.json +11 -0
- data/vendor/node_modules/istanbul/node_modules/async/lib/async.js +955 -0
- data/vendor/node_modules/istanbul/node_modules/async/package.json +43 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/LICENSE.BSD +19 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/LICENSE.source-map +27 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/README.md +99 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/bin/escodegen.js +45 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/bin/esgenerate.js +45 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/component.json +48 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/escodegen.browser.js +3072 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/escodegen.js +2275 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/estraverse/LICENSE.BSD +19 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/estraverse/README.md +29 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/estraverse/estraverse.js +315 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/estraverse/package.json +41 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/CHANGELOG.md +112 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/LICENSE +28 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/Makefile.dryice.js +166 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/README.md +434 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/assert-shim.js +56 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/mini-require.js +152 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/prefix-source-map.jsm +20 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/prefix-utils.jsm +18 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/suffix-browser.js +8 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/suffix-source-map.jsm +6 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/suffix-utils.jsm +21 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/test-prefix.js +8 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/test-suffix.js +3 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map.js +8 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/array-set.js +97 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/base64-vlq.js +144 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/base64.js +42 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/binary-search.js +81 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/source-map-consumer.js +477 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/source-map-generator.js +380 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/source-node.js +371 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/util.js +205 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/LICENSE +58 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/README.md +171 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/amdefine.js +299 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/intercept.js +36 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/package.json +36 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/package.json +110 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/run-tests.js +71 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-api.js +26 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-array-set.js +104 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-base64-vlq.js +24 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-base64.js +35 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-binary-search.js +54 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-dog-fooding.js +72 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-map-consumer.js +451 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-map-generator.js +417 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-node.js +365 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/util.js +161 -0
- data/vendor/node_modules/istanbul/node_modules/escodegen/package.json +58 -0
- data/vendor/node_modules/istanbul/node_modules/esprima/README.md +73 -0
- data/vendor/node_modules/istanbul/node_modules/esprima/bin/esparse.js +117 -0
- data/vendor/node_modules/istanbul/node_modules/esprima/bin/esvalidate.js +177 -0
- data/vendor/node_modules/istanbul/node_modules/esprima/esprima.js +3908 -0
- data/vendor/node_modules/istanbul/node_modules/esprima/package.json +59 -0
- data/vendor/node_modules/istanbul/node_modules/esprima/test/compat.js +239 -0
- data/vendor/node_modules/istanbul/node_modules/esprima/test/reflect.js +422 -0
- data/vendor/node_modules/istanbul/node_modules/esprima/test/run.js +66 -0
- data/vendor/node_modules/istanbul/node_modules/esprima/test/runner.js +387 -0
- data/vendor/node_modules/istanbul/node_modules/esprima/test/test.js +20238 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/LICENSE-MIT +22 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/README.md +87 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/lib/fileset.js +64 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/LICENSE +27 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/README.md +250 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/examples/g.js +9 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/examples/usr-local.js +9 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/glob.js +680 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/LICENSE +16 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/README.md +42 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/inherits.js +1 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/inherits_browser.js +23 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/package.json +33 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/test.js +25 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/package.json +39 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/00-setup.js +176 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/bash-comparison.js +63 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/bash-results.json +350 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/cwd-test.js +55 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/globstar-match.js +19 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/mark.js +74 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/new-glob-optional-options.js +10 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/nocase-nomagic.js +113 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/pause-resume.js +73 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/root-nomount.js +39 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/root.js +46 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/stat.js +32 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/zz-cleanup.js +11 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/LICENSE +23 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/README.md +218 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/minimatch.js +1055 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/CONTRIBUTORS +14 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/LICENSE +23 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/README.md +97 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/lib/lru-cache.js +252 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/package.json +33 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/test/basic.js +369 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/test/foreach.js +52 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/test/memory-leak.js +50 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/LICENSE +27 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/README.md +53 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/bench.js +283 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/package.json +42 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/sigmund.js +39 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/test/basic.js +24 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/package.json +40 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/basic.js +399 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/brace-expand.js +33 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/caching.js +14 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/defaults.js +274 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/extglob-ending-with-state-char.js +8 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/package.json +34 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/tests/fixtures/an (odd) filename.js +1 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/tests/helper.js +61 -0
- data/vendor/node_modules/istanbul/node_modules/fileset/tests/test.js +133 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/LICENSE +19 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/README.markdown +391 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/bin/handlebars +213 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/bower.json +9 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/dist/handlebars.js +2278 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/dist/handlebars.min.js +2 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/dist/handlebars.runtime.js +362 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/dist/handlebars.runtime.min.js +1 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/global-test.js +18 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/global.js +4 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/handlebars-source.gemspec +21 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/handlebars.js.nuspec +17 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars.js +43 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/base.js +166 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/browser-prefix.js +3 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/browser-suffix.js +1 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/ast.js +138 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/base.js +21 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/compiler.js +1305 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/index.js +16 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/parser.js +483 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/printer.js +138 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/visitor.js +18 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/runtime.js +106 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/source.rb +11 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/utils.js +83 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/min.sh +11 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/LICENSE +21 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/bool.js +10 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/boolean_double.js +7 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/boolean_single.js +7 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/default_hash.js +8 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/default_singles.js +7 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/divide.js +8 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/line_count.js +20 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/line_count_options.js +29 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/line_count_wrap.js +29 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/nonopt.js +4 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/reflect.js +2 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/short.js +3 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/string.js +11 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/usage-options.js +19 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/xup.js +10 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/index.js +478 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/package.json +46 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/readme.markdown +487 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/_.js +71 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/_/argv.js +2 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/_/bin.js +3 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/parse.js +446 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/usage.js +292 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/LICENSE +29 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/README.md +588 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/bin/uglifyjs +402 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/ast.js +985 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/compress.js +2028 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/mozilla-ast.js +267 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/output.js +1229 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/parse.js +1410 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/scope.js +581 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/sourcemap.js +81 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/transform.js +217 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/utils.js +295 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/CHANGELOG.md +112 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/LICENSE +28 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/Makefile.dryice.js +166 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/README.md +434 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/assert-shim.js +56 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/mini-require.js +152 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/prefix-source-map.jsm +20 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/prefix-utils.jsm +18 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/suffix-browser.js +8 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/suffix-source-map.jsm +6 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/suffix-utils.jsm +21 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/test-prefix.js +8 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/test-suffix.js +3 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map.js +8 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/array-set.js +97 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/base64-vlq.js +144 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/base64.js +42 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/binary-search.js +81 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-map-consumer.js +477 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-map-generator.js +380 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-node.js +371 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/util.js +205 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/LICENSE +58 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/README.md +171 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/amdefine.js +299 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/intercept.js +36 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/package.json +37 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/package.json +110 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/run-tests.js +71 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-api.js +26 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-array-set.js +104 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-base64-vlq.js +24 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-base64.js +35 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-binary-search.js +54 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-dog-fooding.js +72 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-source-map-consumer.js +451 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-source-map-generator.js +417 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-source-node.js +365 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/util.js +161 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/package.json +39 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/arrays.js +12 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/blocks.js +49 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/conditionals.js +143 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/dead-code.js +89 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/debugger.js +24 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/drop-unused.js +97 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-105.js +25 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-12.js +11 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-143.js +48 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-22.js +17 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-44.js +31 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-59.js +30 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/labels.js +163 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/loops.js +123 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/properties.js +54 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/sequences.js +161 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/switch.js +260 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/typeof.js +25 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/run-tests.js +170 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/tools/node.js +165 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/package.json +42 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/release-notes.md +93 -0
- data/vendor/node_modules/istanbul/node_modules/handlebars/test.js +20 -0
- data/vendor/node_modules/istanbul/node_modules/mkdirp/LICENSE +21 -0
- data/vendor/node_modules/istanbul/node_modules/mkdirp/examples/pow.js +6 -0
- data/vendor/node_modules/istanbul/node_modules/mkdirp/index.js +82 -0
- data/vendor/node_modules/istanbul/node_modules/mkdirp/package.json +34 -0
- data/vendor/node_modules/istanbul/node_modules/mkdirp/readme.markdown +63 -0
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/chmod.js +38 -0
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/clobber.js +37 -0
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/mkdirp.js +28 -0
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/perm.js +32 -0
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/perm_sync.js +39 -0
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/race.js +41 -0
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/rel.js +32 -0
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/return.js +25 -0
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/return_sync.js +24 -0
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/root.js +18 -0
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/sync.js +32 -0
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/umask.js +28 -0
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/umask_sync.js +32 -0
- data/vendor/node_modules/istanbul/node_modules/nopt/LICENSE +23 -0
- data/vendor/node_modules/istanbul/node_modules/nopt/README.md +210 -0
- data/vendor/node_modules/istanbul/node_modules/nopt/bin/nopt.js +51 -0
- data/vendor/node_modules/istanbul/node_modules/nopt/examples/my-program.js +30 -0
- data/vendor/node_modules/istanbul/node_modules/nopt/lib/nopt.js +612 -0
- data/vendor/node_modules/istanbul/node_modules/nopt/package.json +36 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/LICENSE +18 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/example/async.js +5 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/example/sync.js +3 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/index.js +5 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/lib/async.js +125 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/lib/caller.js +8 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/lib/core.js +4 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/lib/core.json +38 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/lib/node-modules-paths.js +25 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/lib/sync.js +80 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/package.json +36 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/readme.markdown +144 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/core.js +12 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/filter.js +18 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/filter_sync.js +15 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/mock.js +142 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/mock_sync.js +68 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver.js +270 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/bar/node_modules/foo/index.js +1 -0
- 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 +3 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/baz/quux.js +1 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/biz/node_modules/garply/lib/index.js +1 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/biz/node_modules/garply/package.json +3 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/biz/node_modules/grux/index.js +1 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/biz/node_modules/tiv/index.js +1 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/cup.coffee +1 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/foo.js +1 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/incorrect_main/index.js +2 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/incorrect_main/package.json +3 -0
- 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 +1 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/without_basedir/main.js +6 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/without_basedir/node_modules/mymodule.js +1 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver_sync.js +170 -0
- data/vendor/node_modules/istanbul/node_modules/which/LICENSE +23 -0
- data/vendor/node_modules/istanbul/node_modules/which/README.md +5 -0
- data/vendor/node_modules/istanbul/node_modules/which/bin/which +14 -0
- data/vendor/node_modules/istanbul/node_modules/which/package.json +32 -0
- data/vendor/node_modules/istanbul/node_modules/which/which.js +104 -0
- data/vendor/node_modules/istanbul/node_modules/wordwrap/README.markdown +70 -0
- data/vendor/node_modules/istanbul/node_modules/wordwrap/example/center.js +10 -0
- data/vendor/node_modules/istanbul/node_modules/wordwrap/example/meat.js +3 -0
- data/vendor/node_modules/istanbul/node_modules/wordwrap/index.js +76 -0
- data/vendor/node_modules/istanbul/node_modules/wordwrap/package.json +45 -0
- data/vendor/node_modules/istanbul/node_modules/wordwrap/test/break.js +30 -0
- data/vendor/node_modules/istanbul/node_modules/wordwrap/test/idleness.txt +63 -0
- data/vendor/node_modules/istanbul/node_modules/wordwrap/test/wrap.js +31 -0
- data/vendor/node_modules/istanbul/package.json +117 -0
- data/vendor/node_modules/istanbul/test/browser/support/index.html +153 -0
- data/vendor/node_modules/istanbul/test/browser/support/phantom-test.client.js +49 -0
- data/vendor/node_modules/istanbul/test/browser/support/server.js +154 -0
- data/vendor/node_modules/istanbul/test/browser/test-browser-instrumentation.js +94 -0
- data/vendor/node_modules/istanbul/test/cli-helper.js +219 -0
- data/vendor/node_modules/istanbul/test/cli/package.json +8 -0
- data/vendor/node_modules/istanbul/test/cli/sample-project/amd/ipsum.js +11 -0
- data/vendor/node_modules/istanbul/test/cli/sample-project/amd/lorem.js +7 -0
- data/vendor/node_modules/istanbul/test/cli/sample-project/lib/bar.js +13 -0
- data/vendor/node_modules/istanbul/test/cli/sample-project/lib/foo.js +12 -0
- data/vendor/node_modules/istanbul/test/cli/sample-project/lib/util/bad.js +1 -0
- data/vendor/node_modules/istanbul/test/cli/sample-project/lib/util/generate-names.js +5 -0
- data/vendor/node_modules/istanbul/test/cli/sample-project/node_modules/dependency/index.js +9 -0
- data/vendor/node_modules/istanbul/test/cli/sample-project/node_modules/post-require/hook.js +11 -0
- data/vendor/node_modules/istanbul/test/cli/sample-project/node_modules/post-require/package.json +5 -0
- data/vendor/node_modules/istanbul/test/cli/sample-project/test/amd-run.js +16 -0
- data/vendor/node_modules/istanbul/test/cli/sample-project/test/global-leak.js +30 -0
- data/vendor/node_modules/istanbul/test/cli/sample-project/test/run.js +25 -0
- data/vendor/node_modules/istanbul/test/cli/sample-project/vendor/dummy_vendor_lib.js +9 -0
- data/vendor/node_modules/istanbul/test/cli/test-base-cli.js +39 -0
- data/vendor/node_modules/istanbul/test/cli/test-check-coverage-command.js +97 -0
- data/vendor/node_modules/istanbul/test/cli/test-cobertura-report.js +54 -0
- data/vendor/node_modules/istanbul/test/cli/test-cover-command.js +170 -0
- data/vendor/node_modules/istanbul/test/cli/test-html-report.js +125 -0
- data/vendor/node_modules/istanbul/test/cli/test-instrument-command.js +167 -0
- data/vendor/node_modules/istanbul/test/cli/test-json-report.js +60 -0
- data/vendor/node_modules/istanbul/test/cli/test-lcov-report.js +58 -0
- data/vendor/node_modules/istanbul/test/cli/test-lcovonly-report.js +61 -0
- data/vendor/node_modules/istanbul/test/cli/test-lots-of-files.js +87 -0
- data/vendor/node_modules/istanbul/test/cli/test-none-report.js +17 -0
- data/vendor/node_modules/istanbul/test/cli/test-report-command.js +65 -0
- data/vendor/node_modules/istanbul/test/cli/test-teamcity-report.js +54 -0
- data/vendor/node_modules/istanbul/test/cli/test-test-command.js +43 -0
- data/vendor/node_modules/istanbul/test/common.js +19 -0
- data/vendor/node_modules/istanbul/test/helper.js +122 -0
- data/vendor/node_modules/istanbul/test/instrumentation/test-do.js +53 -0
- data/vendor/node_modules/istanbul/test/instrumentation/test-expressions.js +70 -0
- data/vendor/node_modules/istanbul/test/instrumentation/test-for.js +206 -0
- data/vendor/node_modules/istanbul/test/instrumentation/test-forin.js +50 -0
- data/vendor/node_modules/istanbul/test/instrumentation/test-functions.js +102 -0
- data/vendor/node_modules/istanbul/test/instrumentation/test-if.js +393 -0
- data/vendor/node_modules/istanbul/test/instrumentation/test-misc.js +35 -0
- data/vendor/node_modules/istanbul/test/instrumentation/test-statement.js +182 -0
- data/vendor/node_modules/istanbul/test/instrumentation/test-strict.js +121 -0
- data/vendor/node_modules/istanbul/test/instrumentation/test-switch.js +155 -0
- data/vendor/node_modules/istanbul/test/instrumentation/test-while.js +104 -0
- data/vendor/node_modules/istanbul/test/loader.js +38 -0
- data/vendor/node_modules/istanbul/test/other/data-complete-copy/baz.js +3 -0
- data/vendor/node_modules/istanbul/test/other/data-complete-copy/fixture.xml +1 -0
- data/vendor/node_modules/istanbul/test/other/data-complete-copy/foo.js +4 -0
- data/vendor/node_modules/istanbul/test/other/data-complete-copy/myfile1 +0 -0
- data/vendor/node_modules/istanbul/test/other/data-complete-copy/myfile2 +1 -0
- data/vendor/node_modules/istanbul/test/other/data-complete-copy/subdir/x.css +3 -0
- data/vendor/node_modules/istanbul/test/other/data/baz.js +3 -0
- data/vendor/node_modules/istanbul/test/other/data/foo.js +4 -0
- data/vendor/node_modules/istanbul/test/other/data/matcher/general/general.js +2 -0
- data/vendor/node_modules/istanbul/test/other/data/matcher/general/node_modules/mod-file.js +2 -0
- data/vendor/node_modules/istanbul/test/other/data/matcher/lib/lib-top.js +2 -0
- data/vendor/node_modules/istanbul/test/other/data/matcher/node_modules/dep/mod-file.js +2 -0
- data/vendor/node_modules/istanbul/test/other/data/matcher/node_modules/mod-file.js +2 -0
- data/vendor/node_modules/istanbul/test/other/data/matcher/top.js +2 -0
- data/vendor/node_modules/istanbul/test/other/test-collector.js +85 -0
- data/vendor/node_modules/istanbul/test/other/test-command-xface.js +35 -0
- data/vendor/node_modules/istanbul/test/other/test-file-writer.js +71 -0
- data/vendor/node_modules/istanbul/test/other/test-help-formatter.js +31 -0
- data/vendor/node_modules/istanbul/test/other/test-hook.js +87 -0
- data/vendor/node_modules/istanbul/test/other/test-index-xface.js +17 -0
- data/vendor/node_modules/istanbul/test/other/test-input-error.js +10 -0
- data/vendor/node_modules/istanbul/test/other/test-insertion-text.js +102 -0
- data/vendor/node_modules/istanbul/test/other/test-matcher.js +93 -0
- data/vendor/node_modules/istanbul/test/other/test-object-utils.js +201 -0
- data/vendor/node_modules/istanbul/test/other/test-store.js +129 -0
- data/vendor/node_modules/istanbul/test/other/test-summarizer.js +172 -0
- data/vendor/node_modules/istanbul/test/run-again.js +19 -0
- data/vendor/node_modules/istanbul/test/run.js +108 -0
- data/vendor/node_modules/istanbul/yui-coverage-comparison.md +85 -0
- data/vendor/node_modules/qunit-clib/LICENSE.txt +20 -0
- data/vendor/node_modules/qunit-clib/README.md +2 -0
- data/vendor/node_modules/qunit-clib/package.json +36 -0
- data/vendor/node_modules/qunit-clib/qunit-clib.js +570 -0
- data/vendor/node_modules/qunitjs/AUTHORS.txt +55 -0
- data/vendor/node_modules/qunitjs/History.md +496 -0
- data/vendor/node_modules/qunitjs/README.md +62 -0
- data/vendor/node_modules/qunitjs/addons/canvas/README.md +17 -0
- data/vendor/node_modules/qunitjs/addons/canvas/canvas-test.js +76 -0
- data/vendor/node_modules/qunitjs/addons/canvas/canvas.html +15 -0
- data/vendor/node_modules/qunitjs/addons/canvas/qunit-canvas.js +6 -0
- data/vendor/node_modules/qunitjs/addons/close-enough/README.md +18 -0
- data/vendor/node_modules/qunitjs/addons/close-enough/close-enough-test.js +35 -0
- data/vendor/node_modules/qunitjs/addons/close-enough/close-enough.html +14 -0
- data/vendor/node_modules/qunitjs/addons/close-enough/qunit-close-enough.js +32 -0
- data/vendor/node_modules/qunitjs/addons/composite/README.md +26 -0
- data/vendor/node_modules/qunitjs/addons/composite/composite-demo-test.html +24 -0
- data/vendor/node_modules/qunitjs/addons/composite/index.html +34 -0
- data/vendor/node_modules/qunitjs/addons/composite/qunit-composite.css +13 -0
- data/vendor/node_modules/qunitjs/addons/composite/qunit-composite.js +112 -0
- data/vendor/node_modules/qunitjs/addons/junitlogger/README.md +18 -0
- data/vendor/node_modules/qunitjs/addons/junitlogger/index.html +44 -0
- data/vendor/node_modules/qunitjs/addons/junitlogger/junitlogger.js +306 -0
- data/vendor/node_modules/qunitjs/addons/phantomjs/README.md +16 -0
- data/vendor/node_modules/qunitjs/addons/phantomjs/runner.js +127 -0
- data/vendor/node_modules/qunitjs/addons/step/README.md +20 -0
- data/vendor/node_modules/qunitjs/addons/step/qunit-step.js +26 -0
- data/vendor/node_modules/qunitjs/addons/step/step-test.js +15 -0
- data/vendor/node_modules/qunitjs/addons/step/step.html +14 -0
- data/vendor/node_modules/qunitjs/addons/themes/README.md +6 -0
- data/vendor/node_modules/qunitjs/addons/themes/gabe.css +371 -0
- data/vendor/node_modules/qunitjs/addons/themes/gabe.html +15 -0
- data/vendor/node_modules/qunitjs/addons/themes/ninja.css +196 -0
- data/vendor/node_modules/qunitjs/addons/themes/ninja.html +15 -0
- data/vendor/node_modules/qunitjs/addons/themes/nv.css +217 -0
- data/vendor/node_modules/qunitjs/addons/themes/nv.html +15 -0
- data/vendor/node_modules/qunitjs/grunt.js +101 -0
- data/vendor/node_modules/qunitjs/package.json +49 -0
- data/vendor/node_modules/qunitjs/qunit/qunit.css +244 -0
- data/vendor/node_modules/qunitjs/qunit/qunit.js +2152 -0
- data/vendor/node_modules/qunitjs/test/async.html +26 -0
- data/vendor/node_modules/qunitjs/test/async.js +6 -0
- data/vendor/node_modules/qunitjs/test/deepEqual.js +1438 -0
- data/vendor/node_modules/qunitjs/test/headless.html +28 -0
- data/vendor/node_modules/qunitjs/test/index.html +16 -0
- data/vendor/node_modules/qunitjs/test/logs.html +14 -0
- data/vendor/node_modules/qunitjs/test/logs.js +184 -0
- data/vendor/node_modules/qunitjs/test/narwhal-test.js +22 -0
- data/vendor/node_modules/qunitjs/test/node-test.js +22 -0
- data/vendor/node_modules/qunitjs/test/swarminject.js +10 -0
- data/vendor/node_modules/qunitjs/test/test.js +804 -0
- data/vendor/node_modules/regenerate/LICENSE-MIT.txt +20 -0
- data/vendor/node_modules/regenerate/README.md +467 -0
- data/vendor/node_modules/regenerate/package.json +50 -0
- data/vendor/node_modules/regenerate/regenerate.js +617 -0
- data/vendor/node_modules/requirejs/README.md +9 -0
- data/vendor/node_modules/requirejs/bin/r.js +26059 -0
- data/vendor/node_modules/requirejs/package.json +39 -0
- data/vendor/node_modules/requirejs/require.js +2054 -0
- data/vendor/package.json +56 -0
- metadata +949 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"author": {
|
|
3
|
+
"name": "Isaac Z. Schlueter",
|
|
4
|
+
"email": "i@izs.me",
|
|
5
|
+
"url": "http://blog.izs.me"
|
|
6
|
+
},
|
|
7
|
+
"name": "graceful-fs",
|
|
8
|
+
"description": "fs monkey-patching to avoid EMFILE and other problems",
|
|
9
|
+
"version": "1.1.14",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git://github.com/isaacs/node-graceful-fs.git"
|
|
13
|
+
},
|
|
14
|
+
"main": "graceful-fs.js",
|
|
15
|
+
"engines": {
|
|
16
|
+
"node": ">=0.4.0"
|
|
17
|
+
},
|
|
18
|
+
"directories": {
|
|
19
|
+
"test": "test"
|
|
20
|
+
},
|
|
21
|
+
"scripts": {
|
|
22
|
+
"test": "tap test/*.js"
|
|
23
|
+
},
|
|
24
|
+
"keywords": [
|
|
25
|
+
"fs",
|
|
26
|
+
"EMFILE",
|
|
27
|
+
"error",
|
|
28
|
+
"handling",
|
|
29
|
+
"monkeypatch"
|
|
30
|
+
],
|
|
31
|
+
"license": "BSD",
|
|
32
|
+
"readme": "Just like node's `fs` module, but it does an incremental back-off when\nEMFILE is encountered.\n\nUseful in asynchronous situations where one needs to try to open lots\nand lots of files.\n",
|
|
33
|
+
"readmeFilename": "README.md",
|
|
34
|
+
"bugs": {
|
|
35
|
+
"url": "https://github.com/isaacs/node-graceful-fs/issues"
|
|
36
|
+
},
|
|
37
|
+
"homepage": "https://github.com/isaacs/node-graceful-fs",
|
|
38
|
+
"_id": "graceful-fs@1.1.14",
|
|
39
|
+
"_from": "graceful-fs@~1.1"
|
|
40
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
var test = require('tap').test
|
|
2
|
+
var fs = require('../graceful-fs.js')
|
|
3
|
+
|
|
4
|
+
test('open an existing file works', function (t) {
|
|
5
|
+
var start = fs._curOpen
|
|
6
|
+
var fd = fs.openSync(__filename, 'r')
|
|
7
|
+
t.equal(fs._curOpen, start + 1)
|
|
8
|
+
fs.closeSync(fd)
|
|
9
|
+
t.equal(fs._curOpen, start)
|
|
10
|
+
fs.open(__filename, 'r', function (er, fd) {
|
|
11
|
+
if (er) throw er
|
|
12
|
+
t.equal(fs._curOpen, start + 1)
|
|
13
|
+
fs.close(fd, function (er) {
|
|
14
|
+
if (er) throw er
|
|
15
|
+
t.equal(fs._curOpen, start)
|
|
16
|
+
t.end()
|
|
17
|
+
})
|
|
18
|
+
})
|
|
19
|
+
})
|
|
20
|
+
|
|
21
|
+
test('open a non-existing file throws', function (t) {
|
|
22
|
+
var start = fs._curOpen
|
|
23
|
+
var er
|
|
24
|
+
try {
|
|
25
|
+
var fd = fs.openSync('this file does not exist', 'r')
|
|
26
|
+
} catch (x) {
|
|
27
|
+
er = x
|
|
28
|
+
}
|
|
29
|
+
t.ok(er, 'should throw')
|
|
30
|
+
t.notOk(fd, 'should not get an fd')
|
|
31
|
+
t.equal(er.code, 'ENOENT')
|
|
32
|
+
t.equal(fs._curOpen, start)
|
|
33
|
+
|
|
34
|
+
fs.open('neither does this file', 'r', function (er, fd) {
|
|
35
|
+
t.ok(er, 'should throw')
|
|
36
|
+
t.notOk(fd, 'should not get an fd')
|
|
37
|
+
t.equal(er.code, 'ENOENT')
|
|
38
|
+
t.equal(fs._curOpen, start)
|
|
39
|
+
t.end()
|
|
40
|
+
})
|
|
41
|
+
})
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rimraf",
|
|
3
|
+
"version": "2.0.3",
|
|
4
|
+
"main": "rimraf.js",
|
|
5
|
+
"description": "A deep deletion module for node (like `rm -rf`)",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "Isaac Z. Schlueter",
|
|
8
|
+
"email": "i@izs.me",
|
|
9
|
+
"url": "http://blog.izs.me/"
|
|
10
|
+
},
|
|
11
|
+
"license": {
|
|
12
|
+
"type": "MIT",
|
|
13
|
+
"url": "https://github.com/isaacs/rimraf/raw/master/LICENSE"
|
|
14
|
+
},
|
|
15
|
+
"optionalDependencies": {
|
|
16
|
+
"graceful-fs": "~1.1"
|
|
17
|
+
},
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git://github.com/isaacs/rimraf.git"
|
|
21
|
+
},
|
|
22
|
+
"scripts": {
|
|
23
|
+
"test": "cd test && bash run.sh"
|
|
24
|
+
},
|
|
25
|
+
"contributors": [
|
|
26
|
+
{
|
|
27
|
+
"name": "Isaac Z. Schlueter",
|
|
28
|
+
"email": "i@izs.me",
|
|
29
|
+
"url": "http://blog.izs.me"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "Wayne Larsen",
|
|
33
|
+
"email": "wayne@larsen.st",
|
|
34
|
+
"url": "http://github.com/wvl"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "ritch",
|
|
38
|
+
"email": "skawful@gmail.com"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "Marcel Laverdet"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "Yosef Dinerstein",
|
|
45
|
+
"email": "yosefd@microsoft.com"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"readme": "A `rm -rf` for node.\n\nInstall with `npm install rimraf`, or just drop rimraf.js somewhere.\n\n## API\n\n`rimraf(f, callback)`\n\nThe callback will be called with an error if there is one. Certain\nerrors are handled for you:\n\n* `EBUSY` - rimraf will back off a maximum of opts.maxBusyTries times\n before giving up.\n* `EMFILE` - If too many file descriptors get opened, rimraf will\n patiently wait until more become available.\n\n\n## rimraf.sync\n\nIt can remove stuff synchronously, too. But that's not so good. Use\nthe async API. It's better.\n",
|
|
49
|
+
"readmeFilename": "README.md",
|
|
50
|
+
"bugs": {
|
|
51
|
+
"url": "https://github.com/isaacs/rimraf/issues"
|
|
52
|
+
},
|
|
53
|
+
"homepage": "https://github.com/isaacs/rimraf",
|
|
54
|
+
"dependencies": {
|
|
55
|
+
"graceful-fs": "~1.1"
|
|
56
|
+
},
|
|
57
|
+
"_id": "rimraf@2.0.3",
|
|
58
|
+
"_from": "rimraf@~2.0.3"
|
|
59
|
+
}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
module.exports = rimraf
|
|
2
|
+
rimraf.sync = rimrafSync
|
|
3
|
+
|
|
4
|
+
var path = require("path")
|
|
5
|
+
, fs
|
|
6
|
+
|
|
7
|
+
try {
|
|
8
|
+
// optional dependency
|
|
9
|
+
fs = require("graceful-fs")
|
|
10
|
+
} catch (er) {
|
|
11
|
+
fs = require("fs")
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
var lstat = "lstat"
|
|
15
|
+
if (process.platform === "win32") {
|
|
16
|
+
// not reliable on windows prior to 0.7.9
|
|
17
|
+
var v = process.version.replace(/^v/, '').split(/\.|-/).map(Number)
|
|
18
|
+
if (v[0] === 0 && (v[1] < 7 || v[1] == 7 && v[2] < 9)) {
|
|
19
|
+
lstat = "stat"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
if (!fs[lstat]) lstat = "stat"
|
|
23
|
+
var lstatSync = lstat + "Sync"
|
|
24
|
+
|
|
25
|
+
// for EMFILE handling
|
|
26
|
+
var timeout = 0
|
|
27
|
+
exports.EMFILE_MAX = 1000
|
|
28
|
+
exports.BUSYTRIES_MAX = 3
|
|
29
|
+
|
|
30
|
+
function rimraf (p, cb) {
|
|
31
|
+
|
|
32
|
+
if (!cb) throw new Error("No callback passed to rimraf()")
|
|
33
|
+
|
|
34
|
+
var busyTries = 0
|
|
35
|
+
|
|
36
|
+
rimraf_(p, function CB (er) {
|
|
37
|
+
if (er) {
|
|
38
|
+
if (er.code === "EBUSY" && busyTries < exports.BUSYTRIES_MAX) {
|
|
39
|
+
busyTries ++
|
|
40
|
+
var time = busyTries * 100
|
|
41
|
+
// try again, with the same exact callback as this one.
|
|
42
|
+
return setTimeout(function () {
|
|
43
|
+
rimraf_(p, CB)
|
|
44
|
+
}, time)
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// this one won't happen if graceful-fs is used.
|
|
48
|
+
if (er.code === "EMFILE" && timeout < exports.EMFILE_MAX) {
|
|
49
|
+
return setTimeout(function () {
|
|
50
|
+
rimraf_(p, CB)
|
|
51
|
+
}, timeout ++)
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// already gone
|
|
55
|
+
if (er.code === "ENOENT") er = null
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
timeout = 0
|
|
59
|
+
cb(er)
|
|
60
|
+
})
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
function rimraf_ (p, cb) {
|
|
64
|
+
fs[lstat](p, function (er, s) {
|
|
65
|
+
if (er) {
|
|
66
|
+
// already gone
|
|
67
|
+
if (er.code === "ENOENT") return cb()
|
|
68
|
+
// some other kind of error, permissions, etc.
|
|
69
|
+
return cb(er)
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
return rm_(p, s, false, cb)
|
|
73
|
+
})
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
var myGid = function myGid () {
|
|
78
|
+
var g = process.getgid && process.getgid()
|
|
79
|
+
myGid = function myGid () { return g }
|
|
80
|
+
return g
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
var myUid = function myUid () {
|
|
84
|
+
var u = process.getuid && process.getuid()
|
|
85
|
+
myUid = function myUid () { return u }
|
|
86
|
+
return u
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
function writable (s) {
|
|
91
|
+
var mode = s.mode || 0777
|
|
92
|
+
, uid = myUid()
|
|
93
|
+
, gid = myGid()
|
|
94
|
+
return (mode & 0002)
|
|
95
|
+
|| (gid === s.gid && (mode & 0020))
|
|
96
|
+
|| (uid === s.uid && (mode & 0200))
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
function rm_ (p, s, didWritableCheck, cb) {
|
|
100
|
+
if (!didWritableCheck && !writable(s)) {
|
|
101
|
+
// make file writable
|
|
102
|
+
// user/group/world, doesn't matter at this point
|
|
103
|
+
// since it's about to get nuked.
|
|
104
|
+
return fs.chmod(p, s.mode | 0222, function (er) {
|
|
105
|
+
if (er) return cb(er)
|
|
106
|
+
rm_(p, s, true, cb)
|
|
107
|
+
})
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
if (!s.isDirectory()) {
|
|
111
|
+
return fs.unlink(p, cb)
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
// directory
|
|
115
|
+
fs.readdir(p, function (er, files) {
|
|
116
|
+
if (er) return cb(er)
|
|
117
|
+
asyncForEach(files.map(function (f) {
|
|
118
|
+
return path.join(p, f)
|
|
119
|
+
}), function (file, cb) {
|
|
120
|
+
rimraf(file, cb)
|
|
121
|
+
}, function (er) {
|
|
122
|
+
if (er) return cb(er)
|
|
123
|
+
fs.rmdir(p, cb)
|
|
124
|
+
})
|
|
125
|
+
})
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
function asyncForEach (list, fn, cb) {
|
|
129
|
+
if (!list.length) cb()
|
|
130
|
+
var c = list.length
|
|
131
|
+
, errState = null
|
|
132
|
+
list.forEach(function (item, i, list) {
|
|
133
|
+
fn(item, function (er) {
|
|
134
|
+
if (errState) return
|
|
135
|
+
if (er) return cb(errState = er)
|
|
136
|
+
if (-- c === 0) return cb()
|
|
137
|
+
})
|
|
138
|
+
})
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
// this looks simpler, but it will fail with big directory trees,
|
|
142
|
+
// or on slow stupid awful cygwin filesystems
|
|
143
|
+
function rimrafSync (p) {
|
|
144
|
+
try {
|
|
145
|
+
var s = fs[lstatSync](p)
|
|
146
|
+
} catch (er) {
|
|
147
|
+
if (er.code === "ENOENT") return
|
|
148
|
+
throw er
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
if (!writable(s)) {
|
|
152
|
+
fs.chmodSync(p, s.mode | 0222)
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
if (!s.isDirectory()) return fs.unlinkSync(p)
|
|
156
|
+
|
|
157
|
+
fs.readdirSync(p).forEach(function (f) {
|
|
158
|
+
rimrafSync(path.join(p, f))
|
|
159
|
+
})
|
|
160
|
+
fs.rmdirSync(p)
|
|
161
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
set -e
|
|
4
|
+
|
|
5
|
+
files=10
|
|
6
|
+
folders=2
|
|
7
|
+
depth=4
|
|
8
|
+
target="$PWD/target"
|
|
9
|
+
|
|
10
|
+
rm -rf target
|
|
11
|
+
|
|
12
|
+
fill () {
|
|
13
|
+
local depth=$1
|
|
14
|
+
local files=$2
|
|
15
|
+
local folders=$3
|
|
16
|
+
local target=$4
|
|
17
|
+
|
|
18
|
+
if ! [ -d $target ]; then
|
|
19
|
+
mkdir -p $target
|
|
20
|
+
fi
|
|
21
|
+
|
|
22
|
+
local f
|
|
23
|
+
|
|
24
|
+
f=$files
|
|
25
|
+
while [ $f -gt 0 ]; do
|
|
26
|
+
touch "$target/f-$depth-$f"
|
|
27
|
+
let f--
|
|
28
|
+
done
|
|
29
|
+
|
|
30
|
+
let depth--
|
|
31
|
+
|
|
32
|
+
if [ $depth -le 0 ]; then
|
|
33
|
+
return 0
|
|
34
|
+
fi
|
|
35
|
+
|
|
36
|
+
f=$folders
|
|
37
|
+
while [ $f -gt 0 ]; do
|
|
38
|
+
mkdir "$target/folder-$depth-$f"
|
|
39
|
+
fill $depth $files $folders "$target/d-$depth-$f"
|
|
40
|
+
let f--
|
|
41
|
+
done
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
fill $depth $files $folders $target
|
|
45
|
+
|
|
46
|
+
# sanity assert
|
|
47
|
+
[ -d $target ]
|
|
File without changes
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
GEM
|
|
2
|
+
remote: http://rubygems.org/
|
|
3
|
+
specs:
|
|
4
|
+
activesupport (3.2.3)
|
|
5
|
+
i18n (~> 0.6)
|
|
6
|
+
multi_json (~> 1.0)
|
|
7
|
+
execjs (1.3.0)
|
|
8
|
+
multi_json (~> 1.0)
|
|
9
|
+
i18n (0.6.0)
|
|
10
|
+
multi_json (1.2.0)
|
|
11
|
+
rack (1.4.1)
|
|
12
|
+
rack-test (0.6.1)
|
|
13
|
+
rack (>= 1.0)
|
|
14
|
+
rake (0.9.2.2)
|
|
15
|
+
serve (1.5.1)
|
|
16
|
+
activesupport (~> 3.0)
|
|
17
|
+
i18n
|
|
18
|
+
rack (~> 1.2)
|
|
19
|
+
rack-test (~> 0.5)
|
|
20
|
+
tilt (~> 1.3)
|
|
21
|
+
tzinfo
|
|
22
|
+
tilt (1.3.3)
|
|
23
|
+
tzinfo (0.3.33)
|
|
24
|
+
uglifier (1.2.4)
|
|
25
|
+
execjs (>= 0.3.0)
|
|
26
|
+
multi_json (>= 1.0.2)
|
|
27
|
+
|
|
28
|
+
PLATFORMS
|
|
29
|
+
ruby
|
|
30
|
+
|
|
31
|
+
DEPENDENCIES
|
|
32
|
+
rake
|
|
33
|
+
serve
|
|
34
|
+
uglifier
|
|
@@ -0,0 +1,668 @@
|
|
|
1
|
+
# Underscore.string [](http://travis-ci.org/epeli/underscore.string) #
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
Javascript lacks complete string manipulation operations.
|
|
6
|
+
This an attempt to fill that gap. List of build-in methods can be found
|
|
7
|
+
for example from [Dive Into JavaScript][d].
|
|
8
|
+
|
|
9
|
+
[d]: http://www.diveintojavascript.com/core-javascript-reference/the-string-object
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
As name states this an extension for [Underscore.js][u], but it can be used
|
|
13
|
+
independently from **_s**-global variable. But with Underscore.js you can
|
|
14
|
+
use Object-Oriented style and chaining:
|
|
15
|
+
|
|
16
|
+
[u]: http://documentcloud.github.com/underscore/
|
|
17
|
+
|
|
18
|
+
```javascript
|
|
19
|
+
_(" epeli ").chain().trim().capitalize().value()
|
|
20
|
+
=> "Epeli"
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Download ##
|
|
24
|
+
|
|
25
|
+
* [Development version](https://raw.github.com/epeli/underscore.string/master/lib/underscore.string.js) *Uncompressed with Comments 18kb*
|
|
26
|
+
* [Production version](https://github.com/epeli/underscore.string/raw/master/dist/underscore.string.min.js) *Minified 7kb*
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## Node.js installation ##
|
|
30
|
+
|
|
31
|
+
**npm package**
|
|
32
|
+
|
|
33
|
+
npm install underscore.string
|
|
34
|
+
|
|
35
|
+
**Standalone usage**:
|
|
36
|
+
|
|
37
|
+
```javascript
|
|
38
|
+
var _s = require('underscore.string');
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
**Integrate with Underscore.js**:
|
|
42
|
+
|
|
43
|
+
```javascript
|
|
44
|
+
var _ = require('underscore');
|
|
45
|
+
|
|
46
|
+
// Import Underscore.string to separate object, because there are conflict functions (include, reverse, contains)
|
|
47
|
+
_.str = require('underscore.string');
|
|
48
|
+
|
|
49
|
+
// Mix in non-conflict functions to Underscore namespace if you want
|
|
50
|
+
_.mixin(_.str.exports());
|
|
51
|
+
|
|
52
|
+
// All functions, include conflict, will be available through _.str object
|
|
53
|
+
_.str.include('Underscore.string', 'string'); // => true
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## String Functions ##
|
|
57
|
+
|
|
58
|
+
For availability of functions in this way you need to mix in Underscore.string functions:
|
|
59
|
+
|
|
60
|
+
```javascript
|
|
61
|
+
_.mixin(_.string.exports());
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
otherwise functions from examples will be available through _.string or _.str objects:
|
|
65
|
+
|
|
66
|
+
```javascript
|
|
67
|
+
_.str.capitalize('epeli')
|
|
68
|
+
=> "Epeli"
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
**capitalize** _.capitalize(string)
|
|
72
|
+
|
|
73
|
+
Converts first letter of the string to uppercase.
|
|
74
|
+
|
|
75
|
+
```javascript
|
|
76
|
+
_.capitalize("foo Bar")
|
|
77
|
+
=> "Foo Bar"
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
**chop** _.chop(string, step)
|
|
81
|
+
|
|
82
|
+
```javascript
|
|
83
|
+
_.chop('whitespace', 3)
|
|
84
|
+
=> ['whi','tes','pac','e']
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**clean** _.clean(str)
|
|
88
|
+
|
|
89
|
+
Compress some whitespaces to one.
|
|
90
|
+
|
|
91
|
+
```javascript
|
|
92
|
+
_.clean(" foo bar ")
|
|
93
|
+
=> 'foo bar'
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
**chars** _.chars(str)
|
|
97
|
+
|
|
98
|
+
```javascript
|
|
99
|
+
_.chars('Hello')
|
|
100
|
+
=> ['H','e','l','l','o']
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
**includes** _.includes(string, substring)
|
|
104
|
+
|
|
105
|
+
Tests if string contains a substring.
|
|
106
|
+
|
|
107
|
+
```javascript
|
|
108
|
+
_.includes("foobar", "ob")
|
|
109
|
+
=> true
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
**include** available only through _.str object, because Underscore has function with the same name.
|
|
113
|
+
|
|
114
|
+
```javascript
|
|
115
|
+
_.str.include("foobar", "ob")
|
|
116
|
+
=> true
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
**includes** function was removed
|
|
120
|
+
|
|
121
|
+
But you can create it in this way, for compatibility with previous versions:
|
|
122
|
+
|
|
123
|
+
```javascript
|
|
124
|
+
_.includes = _.str.include
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
**count** _.count(string, substring)
|
|
128
|
+
|
|
129
|
+
```javascript
|
|
130
|
+
_('Hello world').count('l')
|
|
131
|
+
=> 3
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
**escapeHTML** _.escapeHTML(string)
|
|
135
|
+
|
|
136
|
+
Converts HTML special characters to their entity equivalents.
|
|
137
|
+
|
|
138
|
+
```javascript
|
|
139
|
+
_('<div>Blah blah blah</div>').escapeHTML();
|
|
140
|
+
=> '<div>Blah blah blah</div>'
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
**unescapeHTML** _.unescapeHTML(string)
|
|
144
|
+
|
|
145
|
+
Converts entity characters to HTML equivalents.
|
|
146
|
+
|
|
147
|
+
```javascript
|
|
148
|
+
_('<div>Blah blah blah</div>').unescapeHTML();
|
|
149
|
+
=> '<div>Blah blah blah</div>'
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
**insert** _.insert(string, index, substing)
|
|
153
|
+
|
|
154
|
+
```javascript
|
|
155
|
+
_('Hello ').insert(6, 'world')
|
|
156
|
+
=> 'Hello world'
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
**isBlank** _.isBlank(string)
|
|
160
|
+
|
|
161
|
+
```javascript
|
|
162
|
+
_('').isBlank(); // => true
|
|
163
|
+
_('\n').isBlank(); // => true
|
|
164
|
+
_(' ').isBlank(); // => true
|
|
165
|
+
_('a').isBlank(); // => false
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
**join** _.join(separator, *strings)
|
|
169
|
+
|
|
170
|
+
Joins strings together with given separator
|
|
171
|
+
|
|
172
|
+
```javascript
|
|
173
|
+
_.join(" ", "foo", "bar")
|
|
174
|
+
=> "foo bar"
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
**lines** _.lines(str)
|
|
178
|
+
|
|
179
|
+
```javascript
|
|
180
|
+
_.lines("Hello\nWorld")
|
|
181
|
+
=> ["Hello", "World"]
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
**reverse** available only through _.str object, because Underscore has function with the same name.
|
|
185
|
+
|
|
186
|
+
Return reversed string:
|
|
187
|
+
|
|
188
|
+
```javascript
|
|
189
|
+
_.str.reverse("foobar")
|
|
190
|
+
=> 'raboof'
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
**splice** _.splice(string, index, howmany, substring)
|
|
194
|
+
|
|
195
|
+
Like a array splice.
|
|
196
|
+
|
|
197
|
+
```javascript
|
|
198
|
+
_('https://edtsech@bitbucket.org/edtsech/underscore.strings').splice(30, 7, 'epeli')
|
|
199
|
+
=> 'https://edtsech@bitbucket.org/epeli/underscore.strings'
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
**startsWith** _.startsWith(string, starts)
|
|
203
|
+
|
|
204
|
+
This method checks whether string starts with starts.
|
|
205
|
+
|
|
206
|
+
```javascript
|
|
207
|
+
_("image.gif").startsWith("image")
|
|
208
|
+
=> true
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
**endsWith** _.endsWith(string, ends)
|
|
212
|
+
|
|
213
|
+
This method checks whether string ends with ends.
|
|
214
|
+
|
|
215
|
+
```javascript
|
|
216
|
+
_("image.gif").endsWith("gif")
|
|
217
|
+
=> true
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
**succ** _.succ(str)
|
|
221
|
+
|
|
222
|
+
Returns the successor to str.
|
|
223
|
+
|
|
224
|
+
```javascript
|
|
225
|
+
_('a').succ()
|
|
226
|
+
=> 'b'
|
|
227
|
+
|
|
228
|
+
_('A').succ()
|
|
229
|
+
=> 'B'
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
**supplant**
|
|
233
|
+
|
|
234
|
+
Supplant function was removed, use Underscore.js [template function][p].
|
|
235
|
+
|
|
236
|
+
[p]: http://documentcloud.github.com/underscore/#template
|
|
237
|
+
|
|
238
|
+
**strip** alias for *trim*
|
|
239
|
+
|
|
240
|
+
**lstrip** alias for *ltrim*
|
|
241
|
+
|
|
242
|
+
**rstrip** alias for *rtrim*
|
|
243
|
+
|
|
244
|
+
**titleize** _.titleize(string)
|
|
245
|
+
|
|
246
|
+
```javascript
|
|
247
|
+
_('my name is epeli').titleize()
|
|
248
|
+
=> 'My Name Is Epeli'
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
**camelize** _.camelize(string)
|
|
252
|
+
|
|
253
|
+
Converts underscored or dasherized string to a camelized one
|
|
254
|
+
|
|
255
|
+
```javascript
|
|
256
|
+
_('-moz-transform').camelize()
|
|
257
|
+
=> 'MozTransform'
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
**classify** _.classify(string)
|
|
261
|
+
|
|
262
|
+
Converts string to camelized class name
|
|
263
|
+
|
|
264
|
+
```javascript
|
|
265
|
+
_('some_class_name').classify()
|
|
266
|
+
=> 'SomeClassName'
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
**underscored** _.underscored(string)
|
|
270
|
+
|
|
271
|
+
Converts a camelized or dasherized string into an underscored one
|
|
272
|
+
|
|
273
|
+
```javascript
|
|
274
|
+
_('MozTransform').underscored()
|
|
275
|
+
=> 'moz_transform'
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
**dasherize** _.dasherize(string)
|
|
279
|
+
|
|
280
|
+
Converts a underscored or camelized string into an dasherized one
|
|
281
|
+
|
|
282
|
+
```javascript
|
|
283
|
+
_('MozTransform').dasherize()
|
|
284
|
+
=> '-moz-transform'
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
**humanize** _.humanize(string)
|
|
288
|
+
|
|
289
|
+
Converts an underscored, camelized, or dasherized string into a humanized one.
|
|
290
|
+
Also removes beginning and ending whitespace, and removes the postfix '_id'.
|
|
291
|
+
|
|
292
|
+
```javascript
|
|
293
|
+
_(' capitalize dash-CamelCase_underscore trim ').humanize()
|
|
294
|
+
=> 'Capitalize dash camel case underscore trim'
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
**trim** _.trim(string, [characters])
|
|
298
|
+
|
|
299
|
+
trims defined characters from begining and ending of the string.
|
|
300
|
+
Defaults to whitespace characters.
|
|
301
|
+
|
|
302
|
+
```javascript
|
|
303
|
+
_.trim(" foobar ")
|
|
304
|
+
=> "foobar"
|
|
305
|
+
|
|
306
|
+
_.trim("_-foobar-_", "_-")
|
|
307
|
+
=> "foobar"
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
**ltrim** _.ltrim(string, [characters])
|
|
312
|
+
|
|
313
|
+
Left trim. Similar to trim, but only for left side.
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
**rtrim** _.rtrim(string, [characters])
|
|
317
|
+
|
|
318
|
+
Right trim. Similar to trim, but only for right side.
|
|
319
|
+
|
|
320
|
+
**truncate** _.truncate(string, length, truncateString)
|
|
321
|
+
|
|
322
|
+
```javascript
|
|
323
|
+
_('Hello world').truncate(5)
|
|
324
|
+
=> 'Hello...'
|
|
325
|
+
|
|
326
|
+
_('Hello').truncate(10)
|
|
327
|
+
=> 'Hello'
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
**prune** _.prune(string, length, pruneString)
|
|
331
|
+
|
|
332
|
+
Elegant version of truncate.
|
|
333
|
+
Makes sure the pruned string does not exceed the original length.
|
|
334
|
+
Avoid half-chopped words when truncating.
|
|
335
|
+
|
|
336
|
+
```javascript
|
|
337
|
+
_('Hello, world').prune(5)
|
|
338
|
+
=> 'Hello...'
|
|
339
|
+
|
|
340
|
+
_('Hello, world').prune(8)
|
|
341
|
+
=> 'Hello...'
|
|
342
|
+
|
|
343
|
+
_('Hello, world').prune(5, ' (read a lot more)')
|
|
344
|
+
=> 'Hello, world' (as adding "(read a lot more)" would be longer than the original string)
|
|
345
|
+
|
|
346
|
+
_('Hello, cruel world').prune(15)
|
|
347
|
+
=> 'Hello, cruel...'
|
|
348
|
+
|
|
349
|
+
_('Hello').prune(10)
|
|
350
|
+
=> 'Hello'
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
**words** _.words(str, delimiter=" ")
|
|
354
|
+
|
|
355
|
+
Split string by delimiter (String or RegExp), ' ' by default.
|
|
356
|
+
|
|
357
|
+
```javascript
|
|
358
|
+
_.words("I love you")
|
|
359
|
+
=> ["I","love","you"]
|
|
360
|
+
|
|
361
|
+
_.words("I_love_you", "_")
|
|
362
|
+
=> ["I","love","you"]
|
|
363
|
+
|
|
364
|
+
_.words("I-love-you", /-/)
|
|
365
|
+
=> ["I","love","you"]
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
**sprintf** _.sprintf(string format, *arguments)
|
|
369
|
+
|
|
370
|
+
C like string formatting.
|
|
371
|
+
Credits goes to [Alexandru Marasteanu][o].
|
|
372
|
+
For more detailed documentation, see the [original page][o].
|
|
373
|
+
|
|
374
|
+
[o]: http://www.diveintojavascript.com/projects/sprintf-for-javascript
|
|
375
|
+
|
|
376
|
+
```javascript
|
|
377
|
+
_.sprintf("%.1f", 1.17)
|
|
378
|
+
"1.2"
|
|
379
|
+
```
|
|
380
|
+
|
|
381
|
+
**pad** _.pad(str, length, [padStr, type])
|
|
382
|
+
|
|
383
|
+
pads the `str` with characters until the total string length is equal to the passed `length` parameter. By default, pads on the **left** with the space char (`" "`). `padStr` is truncated to a single character if necessary.
|
|
384
|
+
|
|
385
|
+
```javascript
|
|
386
|
+
_.pad("1", 8)
|
|
387
|
+
-> " 1";
|
|
388
|
+
|
|
389
|
+
_.pad("1", 8, '0')
|
|
390
|
+
-> "00000001";
|
|
391
|
+
|
|
392
|
+
_.pad("1", 8, '0', 'right')
|
|
393
|
+
-> "10000000";
|
|
394
|
+
|
|
395
|
+
_.pad("1", 8, '0', 'both')
|
|
396
|
+
-> "00001000";
|
|
397
|
+
|
|
398
|
+
_.pad("1", 8, 'bleepblorp', 'both')
|
|
399
|
+
-> "bbbb1bbb";
|
|
400
|
+
```
|
|
401
|
+
|
|
402
|
+
**lpad** _.lpad(str, length, [padStr])
|
|
403
|
+
|
|
404
|
+
left-pad a string. Alias for `pad(str, length, padStr, 'left')`
|
|
405
|
+
|
|
406
|
+
```javascript
|
|
407
|
+
_.lpad("1", 8, '0')
|
|
408
|
+
-> "00000001";
|
|
409
|
+
```
|
|
410
|
+
|
|
411
|
+
**rpad** _.rpad(str, length, [padStr])
|
|
412
|
+
|
|
413
|
+
right-pad a string. Alias for `pad(str, length, padStr, 'right')`
|
|
414
|
+
|
|
415
|
+
```javascript
|
|
416
|
+
_.rpad("1", 8, '0')
|
|
417
|
+
-> "10000000";
|
|
418
|
+
```
|
|
419
|
+
|
|
420
|
+
**lrpad** _.lrpad(str, length, [padStr])
|
|
421
|
+
|
|
422
|
+
left/right-pad a string. Alias for `pad(str, length, padStr, 'both')`
|
|
423
|
+
|
|
424
|
+
```javascript
|
|
425
|
+
_.lrpad("1", 8, '0')
|
|
426
|
+
-> "00001000";
|
|
427
|
+
```
|
|
428
|
+
|
|
429
|
+
**center** alias for **lrpad**
|
|
430
|
+
|
|
431
|
+
**ljust** alias for *rpad*
|
|
432
|
+
|
|
433
|
+
**rjust** alias for *lpad*
|
|
434
|
+
|
|
435
|
+
**toNumber** _.toNumber(string, [decimals])
|
|
436
|
+
|
|
437
|
+
Parse string to number. Returns NaN if string can't be parsed to number.
|
|
438
|
+
|
|
439
|
+
```javascript
|
|
440
|
+
_('2.556').toNumber()
|
|
441
|
+
=> 3
|
|
442
|
+
|
|
443
|
+
_('2.556').toNumber(1)
|
|
444
|
+
=> 2.6
|
|
445
|
+
```
|
|
446
|
+
|
|
447
|
+
**strRight** _.strRight(string, pattern)
|
|
448
|
+
|
|
449
|
+
Searches a string from left to right for a pattern and returns a substring consisting of the characters in the string that are to the right of the pattern or all string if no match found.
|
|
450
|
+
|
|
451
|
+
```javascript
|
|
452
|
+
_('This_is_a_test_string').strRight('_')
|
|
453
|
+
=> "is_a_test_string";
|
|
454
|
+
```
|
|
455
|
+
|
|
456
|
+
**strRightBack** _.strRightBack(string, pattern)
|
|
457
|
+
|
|
458
|
+
Searches a string from right to left for a pattern and returns a substring consisting of the characters in the string that are to the right of the pattern or all string if no match found.
|
|
459
|
+
|
|
460
|
+
```javascript
|
|
461
|
+
_('This_is_a_test_string').strRightBack('_')
|
|
462
|
+
=> "string";
|
|
463
|
+
```
|
|
464
|
+
|
|
465
|
+
**strLeft** _.strLeft(string, pattern)
|
|
466
|
+
|
|
467
|
+
Searches a string from left to right for a pattern and returns a substring consisting of the characters in the string that are to the left of the pattern or all string if no match found.
|
|
468
|
+
|
|
469
|
+
```javascript
|
|
470
|
+
_('This_is_a_test_string').strLeft('_')
|
|
471
|
+
=> "This";
|
|
472
|
+
```
|
|
473
|
+
|
|
474
|
+
**strLeftBack** _.strLeftBack(string, pattern)
|
|
475
|
+
|
|
476
|
+
Searches a string from right to left for a pattern and returns a substring consisting of the characters in the string that are to the left of the pattern or all string if no match found.
|
|
477
|
+
|
|
478
|
+
```javascript
|
|
479
|
+
_('This_is_a_test_string').strLeftBack('_')
|
|
480
|
+
=> "This_is_a_test";
|
|
481
|
+
```
|
|
482
|
+
|
|
483
|
+
**stripTags**
|
|
484
|
+
|
|
485
|
+
Removes all html tags from string.
|
|
486
|
+
|
|
487
|
+
```javascript
|
|
488
|
+
_('a <a href="#">link</a>').stripTags()
|
|
489
|
+
=> 'a link'
|
|
490
|
+
|
|
491
|
+
_('a <a href="#">link</a><script>alert("hello world!")</script>').stripTags()
|
|
492
|
+
=> 'a linkalert("hello world!")'
|
|
493
|
+
```
|
|
494
|
+
|
|
495
|
+
**toSentence** _.toSentence(array, [delimiter, lastDelimiter])
|
|
496
|
+
|
|
497
|
+
Join an array into a human readable sentence.
|
|
498
|
+
|
|
499
|
+
```javascript
|
|
500
|
+
_.toSentence(['jQuery', 'Mootools', 'Prototype'])
|
|
501
|
+
=> 'jQuery, Mootools and Prototype';
|
|
502
|
+
|
|
503
|
+
_.toSentence(['jQuery', 'Mootools', 'Prototype'], ', ', ' unt ')
|
|
504
|
+
=> 'jQuery, Mootools unt Prototype';
|
|
505
|
+
```
|
|
506
|
+
|
|
507
|
+
**repeat** _.repeat(string, count, [separator])
|
|
508
|
+
|
|
509
|
+
Repeats a string count times.
|
|
510
|
+
|
|
511
|
+
```javascript
|
|
512
|
+
_.repeat("foo", 3)
|
|
513
|
+
=> 'foofoofoo';
|
|
514
|
+
|
|
515
|
+
_.repeat("foo", 3, "bar")
|
|
516
|
+
=> 'foobarfoobarfoo'
|
|
517
|
+
```
|
|
518
|
+
|
|
519
|
+
**slugify** _.slugify(string)
|
|
520
|
+
|
|
521
|
+
Transform text into a URL slug. Replaces whitespaces, accentuated, and special characters with a dash.
|
|
522
|
+
|
|
523
|
+
```javascript
|
|
524
|
+
_.slugify("Un éléphant à l'orée du bois")
|
|
525
|
+
=> 'un-elephant-a-loree-du-bois';
|
|
526
|
+
```
|
|
527
|
+
|
|
528
|
+
***Caution: this function is charset dependent***
|
|
529
|
+
|
|
530
|
+
## Roadmap ##
|
|
531
|
+
|
|
532
|
+
Any suggestions or bug reports are welcome. Just email me or more preferably open an issue.
|
|
533
|
+
|
|
534
|
+
## Changelog ##
|
|
535
|
+
|
|
536
|
+
### 2.0.0 ###
|
|
537
|
+
|
|
538
|
+
* Added prune, humanize functions
|
|
539
|
+
* Added _.string (_.str) namespace for Underscore.string library
|
|
540
|
+
* Removed includes function
|
|
541
|
+
|
|
542
|
+
#### Problems
|
|
543
|
+
|
|
544
|
+
We lose two things for `include` and `reverse` methods from `_.string`:
|
|
545
|
+
|
|
546
|
+
* Calls like `_('foobar').include('bar')` aren't available;
|
|
547
|
+
* Chaining isn't available too.
|
|
548
|
+
|
|
549
|
+
But if you need this functionality you can create aliases for conflict functions which will be convenient for you:
|
|
550
|
+
|
|
551
|
+
```javascript
|
|
552
|
+
_.mixin({
|
|
553
|
+
includeString: _.str.include,
|
|
554
|
+
reverseString: _.str.reverse
|
|
555
|
+
})
|
|
556
|
+
|
|
557
|
+
// Now wrapper calls and chaining are available.
|
|
558
|
+
_('foobar').chain().reverseString().includeString('rab').value()
|
|
559
|
+
```
|
|
560
|
+
|
|
561
|
+
#### Standalone Usage
|
|
562
|
+
|
|
563
|
+
If you are using Underscore.string without Underscore. You also have `_.string` namespace for it and `_.str` alias
|
|
564
|
+
But of course you can just reassign `_` variable with `_.string`
|
|
565
|
+
|
|
566
|
+
```javascript
|
|
567
|
+
_ = _.string
|
|
568
|
+
```
|
|
569
|
+
### 2.2.0 ###
|
|
570
|
+
|
|
571
|
+
* Capitalize method behavior changed
|
|
572
|
+
* Various perfomance tweaks
|
|
573
|
+
|
|
574
|
+
### 2.1.1###
|
|
575
|
+
|
|
576
|
+
* Fixed words method bug
|
|
577
|
+
* Added classify method
|
|
578
|
+
|
|
579
|
+
### 2.1.0 ###
|
|
580
|
+
|
|
581
|
+
* AMD support
|
|
582
|
+
* Added toSentence method
|
|
583
|
+
* Added slugify method
|
|
584
|
+
* Lots of speed optimizations
|
|
585
|
+
|
|
586
|
+
### 2.0.0 ###
|
|
587
|
+
|
|
588
|
+
For upgrading to this version you need to mix in Underscore.string library to Underscore object:
|
|
589
|
+
|
|
590
|
+
```javascript
|
|
591
|
+
_.mixin(_.string.exports());
|
|
592
|
+
```
|
|
593
|
+
|
|
594
|
+
and all non-conflict Underscore.string functions will be available through Underscore object.
|
|
595
|
+
Also function `includes` has been removed, you should replace this function by `_.str.include`
|
|
596
|
+
or create alias `_.includes = _.str.include` and all your code will work fine.
|
|
597
|
+
|
|
598
|
+
### 1.1.6 ###
|
|
599
|
+
|
|
600
|
+
* Fixed reverse and truncate
|
|
601
|
+
* Added isBlank, stripTags, inlude(alias for includes)
|
|
602
|
+
* Added uglifier compression
|
|
603
|
+
|
|
604
|
+
### 1.1.5 ###
|
|
605
|
+
|
|
606
|
+
* Added strRight, strRightBack, strLeft, strLeftBack
|
|
607
|
+
|
|
608
|
+
### 1.1.4 ###
|
|
609
|
+
|
|
610
|
+
* Added pad, lpad, rpad, lrpad methods and aliases center, ljust, rjust
|
|
611
|
+
* Integration with Underscore 1.1.6
|
|
612
|
+
|
|
613
|
+
### 1.1.3 ###
|
|
614
|
+
|
|
615
|
+
* Added methods: underscored, camelize, dasherize
|
|
616
|
+
* Support newer version of npm
|
|
617
|
+
|
|
618
|
+
### 1.1.2 ###
|
|
619
|
+
|
|
620
|
+
* Created functions: lines, chars, words functions
|
|
621
|
+
|
|
622
|
+
### 1.0.2 ###
|
|
623
|
+
|
|
624
|
+
* Created integration test suite with underscore.js 1.1.4 (now it's absolutely compatible)
|
|
625
|
+
* Removed 'reverse' function, because this function override underscore.js 'reverse'
|
|
626
|
+
|
|
627
|
+
## Contribute ##
|
|
628
|
+
|
|
629
|
+
* Fork & pull request. Don't forget about tests.
|
|
630
|
+
* If you planning add some feature please create issue before.
|
|
631
|
+
|
|
632
|
+
Otherwise changes will be rejected.
|
|
633
|
+
|
|
634
|
+
## Contributors list ##
|
|
635
|
+
|
|
636
|
+
* Esa-Matti Suuronen <esa-matti@suuronen.org> (<http://esa-matti.suuronen.org/>),
|
|
637
|
+
* Edward Tsech <edtsech@gmail.com>,
|
|
638
|
+
* Sasha Koss <kossnocorp@gmail.com> (<http://koss.nocorp.me/>),
|
|
639
|
+
* Vladimir Dronnikov <dronnikov@gmail.com>,
|
|
640
|
+
* Pete Kruckenberg (<https://github.com/kruckenb>),
|
|
641
|
+
* Paul Chavard <paul@chavard.net> (<http://tchak.net>),
|
|
642
|
+
* Ed Finkler <coj@funkatron.com> (<http://funkatron.com>)
|
|
643
|
+
* Pavel Pravosud <rwz@duckroll.ru>
|
|
644
|
+
* Anton Lindqvist <anton@qvister.se> (<http://qvister.se>)
|
|
645
|
+
|
|
646
|
+
## Licence ##
|
|
647
|
+
|
|
648
|
+
The MIT License
|
|
649
|
+
|
|
650
|
+
Copyright (c) 2011 Esa-Matti Suuronen esa-matti@suuronen.org
|
|
651
|
+
|
|
652
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
653
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
654
|
+
in the Software without restriction, including without limitation the rights
|
|
655
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
656
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
657
|
+
furnished to do so, subject to the following conditions:
|
|
658
|
+
|
|
659
|
+
The above copyright notice and this permission notice shall be included in
|
|
660
|
+
all copies or substantial portions of the Software.
|
|
661
|
+
|
|
662
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
663
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
664
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
665
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
666
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
667
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
668
|
+
THE SOFTWARE.
|