sprockets-browserify 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +14 -6
- data/lib/sprockets/browserify.rb +7 -3
- data/node_modules/browserify/README.markdown +366 -107
- data/node_modules/browserify/{node_modules/resolve/test/resolver/baz/doom.js → _empty.js} +0 -0
- data/node_modules/browserify/bin/advanced.txt +36 -0
- data/node_modules/browserify/bin/args.js +116 -0
- data/node_modules/browserify/bin/cmd.js +56 -145
- data/node_modules/browserify/bin/usage.txt +32 -0
- data/node_modules/browserify/example/api/browser/bar.js +1 -0
- data/node_modules/browserify/example/api/browser/foo.js +5 -0
- data/node_modules/browserify/example/api/browser/main.js +2 -0
- data/node_modules/browserify/example/api/build.js +4 -0
- data/node_modules/browserify/example/multiple_bundles/beep.js +2 -0
- data/node_modules/browserify/example/multiple_bundles/boop.js +2 -0
- data/node_modules/browserify/example/multiple_bundles/build.sh +4 -0
- data/node_modules/browserify/example/multiple_bundles/robot.js +1 -0
- data/node_modules/browserify/example/multiple_bundles/static/beep.html +2 -0
- data/node_modules/browserify/example/multiple_bundles/static/beep.js +6 -0
- data/node_modules/browserify/example/multiple_bundles/static/boop.html +2 -0
- data/node_modules/browserify/example/multiple_bundles/static/boop.js +6 -0
- data/node_modules/browserify/example/multiple_bundles/static/common.js +3 -0
- data/node_modules/browserify/example/source_maps/build.js +10 -0
- data/node_modules/browserify/example/source_maps/build.sh +4 -0
- data/node_modules/browserify/example/source_maps/index.html +11 -0
- data/node_modules/browserify/example/source_maps/js/foo.js +7 -0
- data/node_modules/browserify/example/source_maps/js/main.js +4 -0
- data/node_modules/browserify/example/source_maps/js/wunder/bar.js +8 -0
- data/node_modules/browserify/index.js +319 -156
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/LICENSE.APACHE2 +0 -0
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/LICENSE.MIT +0 -0
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/examples/all_docs.js +0 -0
- data/node_modules/browserify/node_modules/JSONStream/index.js +191 -0
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/node_modules/jsonparse/LICENSE +0 -0
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/node_modules/jsonparse/README.markdown +0 -0
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/node_modules/jsonparse/bench.js +0 -0
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/node_modules/jsonparse/examples/twitterfeed.js +0 -0
- data/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/jsonparse.js +401 -0
- data/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/package.json +34 -0
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/node_modules/jsonparse/samplejson/basic.json +0 -0
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/node_modules/jsonparse/samplejson/basic2.json +0 -0
- data/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/test/boundary.js +110 -0
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/node_modules/jsonparse/test/primitives.js +0 -0
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/node_modules/jsonparse/test/utf8.js +0 -0
- data/node_modules/browserify/node_modules/JSONStream/package.json +36 -0
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/readme.markdown +0 -0
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/test/bool.js +0 -0
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/test/destroy_missing.js +0 -0
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/test/empty.js +0 -0
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/test/fixtures/all_npm.json +0 -0
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/test/fn.js +0 -0
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/test/multiple_objects.js +0 -0
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/test/multiple_objects_error.js +0 -0
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/test/parsejson.js +0 -0
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/test/stringify.js +0 -0
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/test/stringify_object.js +0 -0
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/test/test.js +0 -0
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/test/test2.js +0 -0
- data/node_modules/{JSONStream → browserify/node_modules/JSONStream}/test/two-ways.js +0 -0
- data/node_modules/browserify/node_modules/{resolve → browser-pack}/LICENSE +0 -0
- data/node_modules/browserify/node_modules/browser-pack/cmd.js +4 -0
- data/node_modules/browserify/node_modules/browser-pack/example/input.json +13 -0
- data/node_modules/browserify/node_modules/browser-pack/example/output.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/example/sourcemap/input.json +15 -0
- data/node_modules/browserify/node_modules/browser-pack/example/sourcemap/output.js +6 -0
- data/node_modules/browserify/node_modules/browser-pack/index.js +79 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/LICENSE +23 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/README.md +111 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/example/two-files-short.js +26 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/example/two-files.js +47 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/index.js +97 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/LICENSE +23 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/README.md +85 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/example/comment-to-json.js +15 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/index.js +89 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/package.json +33 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/test/comment-regex.js +25 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/test/convert-source-map.js +129 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/LICENSE +23 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/README.md +88 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/example/foo-bar.js +8 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/index.js +127 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/CHANGELOG.md +58 -0
- data/node_modules/{module-deps/node_modules/detective/node_modules/escodegen → browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map}/node_modules/source-map/LICENSE +0 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/Makefile.dryice.js +166 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/README.md +347 -0
- data/node_modules/{module-deps/node_modules/detective/node_modules/escodegen → browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map}/node_modules/source-map/build/assert-shim.js +0 -0
- data/node_modules/{module-deps/node_modules/detective/node_modules/escodegen → browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map}/node_modules/source-map/build/mini-require.js +0 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/build/prefix-source-map.jsm +20 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/build/prefix-utils.jsm +18 -0
- data/node_modules/{module-deps/node_modules/detective/node_modules/escodegen → browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map}/node_modules/source-map/build/suffix-browser.js +0 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/build/suffix-source-map.jsm +6 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/build/suffix-utils.jsm +21 -0
- data/node_modules/{module-deps/node_modules/detective/node_modules/escodegen → browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map}/node_modules/source-map/build/test-prefix.js +0 -0
- data/node_modules/{module-deps/node_modules/detective/node_modules/escodegen → browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map}/node_modules/source-map/build/test-suffix.js +0 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/lib/source-map/array-set.js +96 -0
- data/node_modules/{module-deps/node_modules/detective/node_modules/escodegen → browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map}/node_modules/source-map/lib/source-map/base64-vlq.js +0 -0
- data/node_modules/{module-deps/node_modules/detective/node_modules/escodegen → browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map}/node_modules/source-map/lib/source-map/base64.js +0 -0
- data/node_modules/{module-deps/node_modules/detective/node_modules/escodegen → browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map}/node_modules/source-map/lib/source-map/binary-search.js +0 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/lib/source-map/source-map-consumer.js +426 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/lib/source-map/source-map-generator.js +381 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/lib/source-map/source-node.js +353 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/lib/source-map/util.js +91 -0
- data/node_modules/{module-deps/node_modules/detective/node_modules/escodegen → browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map}/node_modules/source-map/lib/source-map.js +0 -0
- data/node_modules/{module-deps/node_modules/detective/node_modules/escodegen → browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map}/node_modules/source-map/node_modules/amdefine/LICENSE +0 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/node_modules/amdefine/README.md +119 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/node_modules/amdefine/amdefine.js +299 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/node_modules/amdefine/package.json +33 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/package.json +74 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/run-tests.js +73 -0
- data/node_modules/{module-deps/node_modules/detective/node_modules/escodegen → browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map}/node_modules/source-map/test/source-map/test-api.js +0 -0
- data/node_modules/{module-deps/node_modules/detective/node_modules/escodegen → browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map}/node_modules/source-map/test/source-map/test-array-set.js +0 -0
- data/node_modules/{module-deps/node_modules/detective/node_modules/escodegen → browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map}/node_modules/source-map/test/source-map/test-base64-vlq.js +0 -0
- data/node_modules/{module-deps/node_modules/detective/node_modules/escodegen → browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map}/node_modules/source-map/test/source-map/test-base64.js +0 -0
- data/node_modules/{module-deps/node_modules/detective/node_modules/escodegen → browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map}/node_modules/source-map/test/source-map/test-binary-search.js +0 -0
- data/node_modules/{module-deps/node_modules/detective/node_modules/escodegen → browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map}/node_modules/source-map/test/source-map/test-dog-fooding.js +0 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/source-map/test-source-map-consumer.js +291 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/source-map/test-source-map-generator.js +391 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/source-map/test-source-node.js +282 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/source-map/util.js +152 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/package.json +42 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/test/inline-source-map.js +247 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/test/source-content.js +129 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/LICENSE +23 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/MOZILLA_LICENSE +28 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/README.md +35 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/base64-vlq.js +108 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/base64.js +35 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/example/one-to-one-mappings.js +5 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/index.js +82 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/package.json +39 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/test/parse-base64vlq-mappings.js +72 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/package.json +45 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/test/combine-source-map.js +143 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/README.html +1012 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/README.org +593 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/bin/uglifyjs +334 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/docstyle.css +75 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/lib/consolidator.js +1220 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/lib/parse-js.js +1369 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/lib/process.js +2117 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/lib/squeeze-more.js +78 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/package.json +28 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/beautify.js +28 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/testconsolidator.js +1391 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/testparser.js +409 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/1e21.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/array1.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/array2.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/array3.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/array4.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/assignment.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/concatstring.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/const.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/div-with-regexp.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/empty-blocks.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/forstatement.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/if-not.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/if.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/ifreturn.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/ifreturn2.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/infinite.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue10.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue11.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue13.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue14.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue16.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue17.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue20.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue21.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue25.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue27.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue278.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue28.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue29.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue30.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue34.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue349.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue353.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue372.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue4.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue48.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue50.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue53.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue54.1.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue68.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue69.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue9.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issues222_324.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/mangle.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/null_string.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/strict-equals.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/var.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/whitespace.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/with.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/1e21.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/array1.js +3 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/array2.js +4 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/array3.js +4 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/array4.js +6 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/assignment.js +20 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/concatstring.js +3 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/const.js +5 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/div-with-regexp.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/empty-blocks.js +4 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/forstatement.js +10 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/if-not.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/if.js +6 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/ifreturn.js +9 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/ifreturn2.js +16 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/infinite.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue10.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue11.js +3 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue13.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue14.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue16.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue17.js +4 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue20.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue21.js +6 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue25.js +7 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue27.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue278.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue28.js +3 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue29.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue30.js +3 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue34.js +3 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue349.js +25 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue353.js +4 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue372.js +32 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue4.js +3 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue48.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue50.js +9 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue53.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue54.1.js +3 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue68.js +5 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue69.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue9.js +4 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issues222_324.js +82 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/mangle.js +5 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/null_string.js +1 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/strict-equals.js +3 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/var.js +3 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/whitespace.js +21 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/with.js +2 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/scripts.js +57 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/tmp/hoist.js +33 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/tmp/instrument.js +97 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/tmp/test.js +30 -0
- data/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/uglify-js.js +18 -0
- data/node_modules/browserify/node_modules/browser-pack/package.json +63 -0
- data/node_modules/browserify/node_modules/browser-pack/prelude.js +42 -0
- data/node_modules/browserify/node_modules/browser-pack/readme.markdown +85 -0
- data/node_modules/browserify/node_modules/browser-pack/test/comment.js +33 -0
- data/node_modules/browserify/node_modules/browser-pack/test/only_execute_entries.js +26 -0
- data/node_modules/browserify/node_modules/browser-pack/test/order.js +38 -0
- data/node_modules/browserify/node_modules/browser-pack/test/pack.js +28 -0
- data/node_modules/browserify/node_modules/browser-pack/test/raw.js +32 -0
- data/node_modules/browserify/node_modules/browser-pack/test/source-maps-existing.js +56 -0
- data/node_modules/browserify/node_modules/browser-pack/test/source-maps.js +113 -0
- data/node_modules/browserify/node_modules/browser-pack/test/this.js +24 -0
- data/node_modules/browserify/node_modules/browser-resolve/README.md +115 -0
- data/node_modules/browserify/{builtins → node_modules/browser-resolve/builtin}/assert.js +0 -0
- data/node_modules/browserify/{builtins → node_modules/browser-resolve/builtin}/child_process.js +0 -0
- data/node_modules/browserify/node_modules/{resolve/test/resolver/mug.coffee → browser-resolve/builtin/dgram.js} +0 -0
- data/node_modules/{module-deps → browserify}/node_modules/browser-resolve/builtin/events.js +0 -0
- data/node_modules/browserify/{builtins → node_modules/browser-resolve/builtin}/fs.js +0 -0
- data/node_modules/{module-deps → browserify}/node_modules/browser-resolve/builtin/https.js +0 -0
- data/node_modules/browserify/{builtins → node_modules/browser-resolve/builtin}/net.js +0 -0
- data/node_modules/browserify/{builtins → node_modules/browser-resolve/builtin}/path.js +0 -0
- data/node_modules/{module-deps → browserify}/node_modules/browser-resolve/builtin/process.js +0 -0
- data/node_modules/browserify/{builtins → node_modules/browser-resolve/builtin}/querystring.js +0 -0
- data/node_modules/browserify/{builtins → node_modules/browser-resolve/builtin}/stream.js +0 -0
- data/node_modules/browserify/{builtins → node_modules/browser-resolve/builtin}/string_decoder.js +0 -0
- data/node_modules/browserify/{builtins → node_modules/browser-resolve/builtin}/sys.js +0 -0
- data/node_modules/browserify/{builtins → node_modules/browser-resolve/builtin}/timers.js +0 -0
- data/node_modules/browserify/{builtins → node_modules/browser-resolve/builtin}/tls.js +0 -0
- data/node_modules/browserify/{builtins → node_modules/browser-resolve/builtin}/tty.js +0 -0
- data/node_modules/browserify/{builtins → node_modules/browser-resolve/builtin}/url.js +0 -0
- data/node_modules/browserify/{builtins → node_modules/browser-resolve/builtin}/util.js +0 -0
- data/node_modules/browserify/node_modules/{resolve/test/resolver/mug.js → browser-resolve/empty.js} +0 -0
- data/node_modules/browserify/node_modules/browser-resolve/example/builtin.js +4 -0
- data/node_modules/browserify/node_modules/browser-resolve/example/custom/custom.js +1 -0
- data/node_modules/browserify/node_modules/browser-resolve/example/custom/main.js +1 -0
- data/node_modules/browserify/node_modules/browser-resolve/example/custom/package.json +7 -0
- data/node_modules/browserify/node_modules/browser-resolve/example/custom.js +5 -0
- data/node_modules/browserify/node_modules/browser-resolve/example/resolve.js +4 -0
- data/node_modules/browserify/node_modules/browser-resolve/example/skip/main.js +9 -0
- data/node_modules/browserify/node_modules/browser-resolve/example/skip/package.json +7 -0
- data/node_modules/browserify/node_modules/browser-resolve/example/skip.js +5 -0
- data/node_modules/browserify/node_modules/browser-resolve/index.js +170 -0
- data/node_modules/browserify/node_modules/{buffer-browserify → browser-resolve/node_modules/buffer-browserify}/README.md +0 -0
- data/node_modules/browserify/node_modules/{buffer-browserify → browser-resolve/node_modules/buffer-browserify}/buffer_ieee754.js +0 -0
- data/node_modules/browserify/node_modules/{buffer-browserify → browser-resolve/node_modules/buffer-browserify}/index.js +0 -0
- data/node_modules/browserify/node_modules/{buffer-browserify → browser-resolve/node_modules/buffer-browserify}/node_modules/base64-js/README.md +0 -0
- data/node_modules/browserify/node_modules/{buffer-browserify → browser-resolve/node_modules/buffer-browserify}/node_modules/base64-js/lib/b64.js +0 -0
- data/node_modules/browserify/node_modules/{buffer-browserify → browser-resolve/node_modules/buffer-browserify}/node_modules/base64-js/package.json +0 -0
- data/node_modules/browserify/node_modules/{buffer-browserify → browser-resolve/node_modules/buffer-browserify}/node_modules/base64-js/test/runner.js +0 -0
- data/node_modules/browserify/node_modules/browser-resolve/node_modules/buffer-browserify/package.json +42 -0
- data/node_modules/browserify/node_modules/{buffer-browserify → browser-resolve/node_modules/buffer-browserify}/test/buffer.js +0 -0
- data/node_modules/browserify/node_modules/{console-browserify → browser-resolve/node_modules/console-browserify}/LICENCE +0 -0
- data/node_modules/browserify/node_modules/{console-browserify → browser-resolve/node_modules/console-browserify}/README.md +0 -0
- data/node_modules/browserify/node_modules/{console-browserify → browser-resolve/node_modules/console-browserify}/index.js +0 -0
- data/node_modules/browserify/node_modules/browser-resolve/node_modules/console-browserify/package.json +76 -0
- data/node_modules/browserify/node_modules/{console-browserify → browser-resolve/node_modules/console-browserify}/test/index.js +0 -0
- data/node_modules/browserify/node_modules/{console-browserify → browser-resolve/node_modules/console-browserify}/test/static/index.html +0 -0
- data/node_modules/browserify/node_modules/{console-browserify → browser-resolve/node_modules/console-browserify}/test/static/test-adapter.js +0 -0
- data/node_modules/browserify/node_modules/{crypto-browserify → browser-resolve/node_modules/crypto-browserify}/example/bundle.js +0 -0
- data/node_modules/browserify/node_modules/{crypto-browserify → browser-resolve/node_modules/crypto-browserify}/example/index.html +0 -0
- data/node_modules/browserify/node_modules/{crypto-browserify → browser-resolve/node_modules/crypto-browserify}/example/test.js +0 -0
- data/node_modules/browserify/node_modules/{crypto-browserify → browser-resolve/node_modules/crypto-browserify}/index.js +0 -0
- data/node_modules/browserify/node_modules/{crypto-browserify → browser-resolve/node_modules/crypto-browserify}/md5.js +0 -0
- data/node_modules/browserify/node_modules/browser-resolve/node_modules/crypto-browserify/package.json +30 -0
- data/node_modules/browserify/node_modules/{crypto-browserify → browser-resolve/node_modules/crypto-browserify}/readme.markdown +0 -0
- data/node_modules/browserify/node_modules/{crypto-browserify → browser-resolve/node_modules/crypto-browserify}/rng.js +0 -0
- data/node_modules/browserify/node_modules/{crypto-browserify → browser-resolve/node_modules/crypto-browserify}/sha.js +0 -0
- data/node_modules/browserify/node_modules/{crypto-browserify → browser-resolve/node_modules/crypto-browserify}/test/simple.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/get/index.html +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/get/main.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/get/server.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/headers/index.html +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/headers/main.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/headers/server.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/data.json +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/index.html +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/main.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/LICENSE.APACHE2 +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/LICENSE.MIT +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/examples/all_docs.js +0 -0
- data/node_modules/{JSONStream → browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream}/index.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/LICENSE +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/README.markdown +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/bench.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/examples/twitterfeed.js +0 -0
- data/node_modules/{JSONStream → browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream}/node_modules/jsonparse/jsonparse.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/package.json +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/samplejson/basic.json +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/samplejson/basic2.json +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/test/primitives.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/test/utf8.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/package.json +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/readme.markdown +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/test/bool.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/test/destroy_missing.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/test/empty.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/test/fixtures/all_npm.json +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/test/fn.js +0 -0
- data/node_modules/{JSONStream → browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream}/test/memory.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/test/multiple_objects.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/test/multiple_objects_error.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/test/parsejson.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/test/stringify.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/test/stringify_object.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/test/test.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/test/test2.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/node_modules/JSONStream/test/two-ways.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/json-stream/server.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/post/index.html +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/post/main.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/post/server.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/streaming/index.html +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/streaming/main.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/example/streaming/server.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/index.js +0 -0
- data/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/lib/request.js +131 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/lib/response.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/node_modules/concat-stream/index.js +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/node_modules/concat-stream/package.json +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/node_modules/concat-stream/readme.md +0 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/node_modules/concat-stream/test.js +0 -0
- data/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/package.json +42 -0
- data/node_modules/browserify/node_modules/{http-browserify → browser-resolve/node_modules/http-browserify}/readme.markdown +0 -0
- data/node_modules/{module-deps → browserify/node_modules/browser-resolve/node_modules/resolve}/LICENSE +0 -0
- data/node_modules/{module-deps → browserify/node_modules/browser-resolve}/node_modules/resolve/example/async.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/browser-resolve}/node_modules/resolve/example/sync.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/browser-resolve}/node_modules/resolve/index.js +0 -0
- data/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js +131 -0
- data/node_modules/{module-deps → browserify/node_modules/browser-resolve}/node_modules/resolve/lib/core.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/browser-resolve}/node_modules/resolve/lib/core.json +0 -0
- data/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/sync.js +99 -0
- data/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/package.json +32 -0
- data/node_modules/{module-deps → browserify/node_modules/browser-resolve}/node_modules/resolve/readme.markdown +0 -0
- data/node_modules/browserify/node_modules/{resolve → browser-resolve/node_modules/resolve}/test/core.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/browser-resolve}/node_modules/resolve/test/filter.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/browser-resolve}/node_modules/resolve/test/filter_sync.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/browser-resolve}/node_modules/resolve/test/mock.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/browser-resolve}/node_modules/resolve/test/mock_sync.js +0 -0
- data/node_modules/browserify/node_modules/{resolve → browser-resolve/node_modules/resolve}/test/resolver/bar/node_modules/foo/index.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/browser-resolve}/node_modules/resolve/test/resolver/baz/doom.js +0 -0
- data/node_modules/browserify/node_modules/{resolve → browser-resolve/node_modules/resolve}/test/resolver/baz/package.json +0 -0
- data/node_modules/browserify/node_modules/{resolve → browser-resolve/node_modules/resolve}/test/resolver/baz/quux.js +0 -0
- data/node_modules/browserify/node_modules/{resolve → browser-resolve/node_modules/resolve}/test/resolver/biz/node_modules/grux/index.js +0 -0
- data/node_modules/browserify/node_modules/{resolve → browser-resolve/node_modules/resolve}/test/resolver/biz/node_modules/tiv/index.js +0 -0
- data/node_modules/browserify/node_modules/{resolve → browser-resolve/node_modules/resolve}/test/resolver/cup.coffee +0 -0
- data/node_modules/browserify/node_modules/{resolve → browser-resolve/node_modules/resolve}/test/resolver/foo.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/browser-resolve}/node_modules/resolve/test/resolver/mug.coffee +0 -0
- data/node_modules/{module-deps → browserify/node_modules/browser-resolve}/node_modules/resolve/test/resolver/mug.js +0 -0
- data/node_modules/browserify/node_modules/{resolve → browser-resolve/node_modules/resolve}/test/resolver/other_path/lib/other-lib.js +0 -0
- data/node_modules/browserify/node_modules/{resolve → browser-resolve/node_modules/resolve}/test/resolver/other_path/root.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/browser-resolve}/node_modules/resolve/test/resolver.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/browser-resolve}/node_modules/resolve/test/resolver_sync.js +0 -0
- data/node_modules/browserify/node_modules/{vm-browserify → browser-resolve/node_modules/vm-browserify}/README.markdown +0 -0
- data/node_modules/browserify/node_modules/{vm-browserify → browser-resolve/node_modules/vm-browserify}/example/run/bundle.js +0 -0
- data/node_modules/browserify/node_modules/{vm-browserify → browser-resolve/node_modules/vm-browserify}/example/run/entry.js +0 -0
- data/node_modules/browserify/node_modules/{vm-browserify → browser-resolve/node_modules/vm-browserify}/example/run/index.html +0 -0
- data/node_modules/browserify/node_modules/{vm-browserify → browser-resolve/node_modules/vm-browserify}/example/run/server.js +0 -0
- data/node_modules/browserify/node_modules/{vm-browserify → browser-resolve/node_modules/vm-browserify}/index.js +0 -0
- data/node_modules/browserify/node_modules/browser-resolve/node_modules/vm-browserify/package.json +39 -0
- data/node_modules/browserify/node_modules/{vm-browserify → browser-resolve/node_modules/vm-browserify}/testling/run.js +0 -0
- data/node_modules/browserify/node_modules/{vm-browserify → browser-resolve/node_modules/vm-browserify}/testling/test.sh +0 -0
- data/node_modules/{module-deps → browserify}/node_modules/browser-resolve/node_modules/zlib-browserify/index.js +0 -0
- data/node_modules/{module-deps → browserify}/node_modules/browser-resolve/node_modules/zlib-browserify/package.json +0 -0
- data/node_modules/{module-deps → browserify}/node_modules/browser-resolve/node_modules/zlib-browserify/readme.md +0 -0
- data/node_modules/{module-deps → browserify}/node_modules/browser-resolve/node_modules/zlib-browserify/test/zlib.test.js +0 -0
- data/node_modules/{module-deps → browserify}/node_modules/browser-resolve/node_modules/zlib-browserify/zlib.js +0 -0
- data/node_modules/browserify/node_modules/browser-resolve/package.json +38 -0
- data/node_modules/browserify/node_modules/browser-resolve/test/core.js +28 -0
- data/node_modules/browserify/node_modules/browser-resolve/test/false.js +24 -0
- data/node_modules/{module-deps → browserify}/node_modules/browser-resolve/test/fixtures/foo.js +0 -0
- data/node_modules/{module-deps → browserify}/node_modules/browser-resolve/test/local.js +0 -0
- data/node_modules/{module-deps → browserify}/node_modules/browser-resolve/test/mocha.opts +0 -0
- data/node_modules/{module-deps → browserify}/node_modules/browser-resolve/test/modules.js +0 -0
- data/node_modules/browserify/node_modules/concat-stream/index.js +50 -0
- data/node_modules/browserify/node_modules/concat-stream/package.json +29 -0
- data/node_modules/{module-deps/node_modules/browser-resolve/node_modules/http-browserify → browserify}/node_modules/concat-stream/readme.md +0 -0
- data/node_modules/browserify/node_modules/concat-stream/test.js +34 -0
- data/node_modules/{module-deps/node_modules/browser-resolve/node_modules/console-browserify → browserify/node_modules/duplexer}/LICENCE +0 -0
- data/node_modules/browserify/node_modules/duplexer/Makefile +4 -0
- data/node_modules/browserify/node_modules/duplexer/README.md +36 -0
- data/node_modules/browserify/node_modules/duplexer/index.js +77 -0
- data/node_modules/browserify/node_modules/duplexer/package.json +42 -0
- data/node_modules/browserify/node_modules/duplexer/test.js +27 -0
- data/node_modules/browserify/node_modules/inherits/README.md +51 -0
- data/node_modules/browserify/node_modules/inherits/inherits.js +29 -0
- data/node_modules/browserify/node_modules/inherits/package.json +26 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals}/LICENSE +0 -0
- data/node_modules/browserify/node_modules/insert-module-globals/bench/results.txt +18 -0
- data/node_modules/browserify/node_modules/insert-module-globals/bench/run.sh +2 -0
- data/node_modules/browserify/node_modules/insert-module-globals/bin/cmd.js +13 -0
- data/node_modules/browserify/node_modules/insert-module-globals/buffer.js +3863 -0
- data/node_modules/browserify/node_modules/insert-module-globals/bundle.sh +4 -0
- data/node_modules/browserify/node_modules/insert-module-globals/example/files/foo/index.js +6 -0
- data/node_modules/browserify/node_modules/insert-module-globals/example/files/main.js +6 -0
- data/node_modules/browserify/node_modules/insert-module-globals/example/insert.js +10 -0
- data/node_modules/browserify/node_modules/insert-module-globals/index.js +102 -0
- data/node_modules/browserify/node_modules/{commondir → insert-module-globals/node_modules/commondir}/README.markdown +0 -0
- data/node_modules/browserify/node_modules/{commondir → insert-module-globals/node_modules/commondir}/example/base.js +0 -0
- data/node_modules/browserify/node_modules/{commondir → insert-module-globals/node_modules/commondir}/example/dir.js +0 -0
- data/node_modules/browserify/node_modules/{commondir → insert-module-globals/node_modules/commondir}/index.js +0 -0
- data/node_modules/browserify/node_modules/{commondir → insert-module-globals/node_modules/commondir}/package.json +0 -0
- data/node_modules/browserify/node_modules/{commondir → insert-module-globals/node_modules/commondir}/test/dirs.js +0 -0
- data/node_modules/{module-deps/node_modules/resolve → browserify/node_modules/insert-module-globals/node_modules/lexical-scope}/LICENSE +0 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/bench/jquery.js +4 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/bench/results.txt +15 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/bench/run.js +7 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/example/detect.js +6 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/example/src.js +27 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/index.js +164 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/LICENSE +18 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/example/types.js +8 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/index.js +42 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/ChangeLog +0 -0
- data/node_modules/browserify/node_modules/{detective → insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/LICENSE.BSD +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/README.md +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/bin/esparse.js +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/bin/esvalidate.js +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/component.json +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/doc/index.html +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/esprima.js +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/examples/detectnestedternary.js +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/examples/findbooleantrap.js +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/examples/tokendist.js +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/index.html +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/package.json +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/test/benchmarks.html +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/test/benchmarks.js +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/test/compare.html +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/test/compare.js +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/test/compat.html +0 -0
- data/node_modules/browserify/node_modules/{detective → insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/test/compat.js +0 -0
- data/node_modules/browserify/node_modules/{detective → insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/test/coverage.footer.html +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/test/coverage.header.html +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/test/coverage.html +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/test/index.html +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/test/module.html +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/test/module.js +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/test/reflect.js +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/test/run.js +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/test/runner.js +0 -0
- data/node_modules/{module-deps/node_modules/detective → browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw}/node_modules/esprima/test/test.js +0 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/package.json +50 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/readme.markdown +52 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/test/parent.js +25 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/package.json +61 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/readme.markdown +99 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/argument.js +17 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/assign_implicit.js +13 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/detect.js +17 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/argument.js +6 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/assign_implicit.js +2 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/detect.js +32 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/labels.js +11 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/multiple-exports.js +6 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/named_arg.js +6 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/obj.js +1 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/return_hash.js +5 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/right_hand.js +2 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/labels.js +13 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/multiple-exports.js +18 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/named_arg.js +17 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/obj.js +16 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/package.json +5 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/return_hash.js +13 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/right_hand.js +16 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/shebang.js +19 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/2132fedf7e11adbdb654aea08615ffea7b84cbf0.patch +25 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/README.md +15 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js +52 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/index.js +2 -0
- data/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/package.json +26 -0
- data/node_modules/browserify/node_modules/insert-module-globals/package.json +52 -0
- data/node_modules/browserify/node_modules/insert-module-globals/readme.markdown +86 -0
- data/node_modules/browserify/node_modules/insert-module-globals/test/always/main.js +6 -0
- data/node_modules/browserify/node_modules/insert-module-globals/test/always.js +23 -0
- data/node_modules/browserify/node_modules/insert-module-globals/test/global/filename.js +2 -0
- data/node_modules/browserify/node_modules/insert-module-globals/test/global/main.js +2 -0
- data/node_modules/browserify/node_modules/insert-module-globals/test/global.js +49 -0
- data/node_modules/browserify/node_modules/insert-module-globals/test/insert/buffer.js +1 -0
- data/node_modules/browserify/node_modules/insert-module-globals/test/insert/foo/buf.js +4 -0
- data/node_modules/browserify/node_modules/insert-module-globals/test/insert/foo/index.js +4 -0
- data/node_modules/browserify/node_modules/insert-module-globals/test/insert/main.js +4 -0
- data/node_modules/browserify/node_modules/insert-module-globals/test/insert.js +35 -0
- data/node_modules/browserify/node_modules/module-deps/LICENSE +18 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/cmd.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/example/deps.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/example/files/bar.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/example/files/foo.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/example/files/main.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/example/files/xyz.js +0 -0
- data/node_modules/browserify/node_modules/module-deps/index.js +195 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/LICENSE +18 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/node_modules/detective/example/strings.js +0 -0
- data/node_modules/browserify/node_modules/{detective → module-deps/node_modules/detective}/example/strings_src.js +0 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/index.js +66 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/node_modules/detective/node_modules/escodegen/LICENSE.BSD +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/node_modules/detective/node_modules/escodegen/LICENSE.source-map +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/node_modules/detective/node_modules/escodegen/README.md +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/node_modules/detective/node_modules/escodegen/bin/escodegen.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/node_modules/detective/node_modules/escodegen/bin/esgenerate.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/node_modules/detective/node_modules/escodegen/escodegen.js +0 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/CHANGELOG.md +58 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/LICENSE +28 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/Makefile.dryice.js +166 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/README.md +347 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/assert-shim.js +56 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/mini-require.js +152 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/prefix-source-map.jsm +20 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/prefix-utils.jsm +18 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/suffix-browser.js +8 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/suffix-source-map.jsm +6 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/suffix-utils.jsm +21 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/test-prefix.js +8 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/test-suffix.js +3 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/array-set.js +96 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/base64-vlq.js +144 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/base64.js +42 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/binary-search.js +81 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/source-map-consumer.js +426 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/source-map-generator.js +381 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/source-node.js +353 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/util.js +91 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map.js +8 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/LICENSE +58 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/README.md +119 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/amdefine.js +299 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/package.json +34 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/package.json +74 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/run-tests.js +73 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-api.js +26 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-array-set.js +71 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-base64-vlq.js +24 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-base64.js +35 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-binary-search.js +54 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-dog-fooding.js +72 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-map-consumer.js +291 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-map-generator.js +391 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-node.js +282 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/util.js +152 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/node_modules/detective/node_modules/escodegen/package.json +0 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/ChangeLog +18 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/node_modules/detective/node_modules/esprima/LICENSE.BSD +0 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/README.md +73 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/bin/esparse.js +117 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/bin/esvalidate.js +177 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/component.json +14 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/doc/index.html +473 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/esprima.js +3895 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/examples/detectnestedternary.js +106 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/examples/findbooleantrap.js +173 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/examples/tokendist.js +33 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/index.html +102 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/package.json +40 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/benchmarks.html +58 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/benchmarks.js +334 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/compare.html +69 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/compare.js +328 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/compat.html +40 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/node_modules/detective/node_modules/esprima/test/compat.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/node_modules/detective/node_modules/esprima/test/coverage.footer.html +0 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/coverage.header.html +37 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/coverage.html +4676 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/index.html +37 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/module.html +36 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/module.js +129 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/reflect.js +422 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/run.js +66 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/runner.js +387 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/test.js +19764 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/package.json +36 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/readme.markdown +73 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/both.js +26 -0
- data/node_modules/browserify/node_modules/{detective → module-deps/node_modules/detective}/test/chained.js +0 -0
- data/node_modules/browserify/node_modules/{detective → module-deps/node_modules/detective}/test/files/both.js +0 -0
- data/node_modules/browserify/node_modules/{detective → module-deps/node_modules/detective}/test/files/chained.js +0 -0
- data/node_modules/browserify/node_modules/{detective → module-deps/node_modules/detective}/test/files/nested.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/node_modules/detective/test/files/shebang.js +0 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/files/sparse-array.js +3 -0
- data/node_modules/browserify/node_modules/{detective → module-deps/node_modules/detective}/test/files/strings.js +0 -0
- data/node_modules/browserify/node_modules/{detective → module-deps/node_modules/detective}/test/files/word.js +0 -0
- data/node_modules/browserify/node_modules/{detective → module-deps/node_modules/detective}/test/nested.js +0 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/return.js +9 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/node_modules/detective/test/shebang.js +0 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/sparse-array.js +14 -0
- data/node_modules/browserify/node_modules/{detective → module-deps/node_modules/detective}/test/strings.js +0 -0
- data/node_modules/browserify/node_modules/{detective → module-deps/node_modules/detective}/test/word.js +0 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/resolve/LICENSE +18 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/resolve/example/async.js +5 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/resolve/example/sync.js +3 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/resolve/index.js +5 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/resolve/lib/async.js +131 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/resolve/lib/core.js +4 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/resolve/lib/core.json +38 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/resolve/lib/sync.js +99 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/resolve/package.json +32 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/resolve/readme.markdown +134 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/node_modules/resolve/test/core.js +0 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/filter.js +17 -0
- data/node_modules/browserify/node_modules/{resolve/test/filter.js → module-deps/node_modules/resolve/test/filter_sync.js} +0 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/mock.js +68 -0
- data/node_modules/browserify/node_modules/{resolve/test/mock.js → module-deps/node_modules/resolve/test/mock_sync.js} +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/node_modules/resolve/test/resolver/bar/node_modules/foo/index.js +0 -0
- data/node_modules/browserify/{test/wrap/x.js → node_modules/module-deps/node_modules/resolve/test/resolver/baz/doom.js} +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/node_modules/resolve/test/resolver/baz/package.json +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/node_modules/resolve/test/resolver/baz/quux.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/node_modules/resolve/test/resolver/biz/node_modules/grux/index.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/node_modules/resolve/test/resolver/biz/node_modules/tiv/index.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/node_modules/resolve/test/resolver/cup.coffee +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/node_modules/resolve/test/resolver/foo.js +0 -0
- data/node_modules/{module-deps/node_modules/resolve/test/resolver/other_path/lib/other-lib.js → browserify/node_modules/module-deps/node_modules/resolve/test/resolver/mug.coffee} +0 -0
- data/node_modules/{module-deps/node_modules/resolve/test/resolver/other_path/root.js → browserify/node_modules/module-deps/node_modules/resolve/test/resolver/mug.js} +0 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/other_path/root.js +0 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver.js +144 -0
- data/node_modules/browserify/node_modules/{resolve/test/resolver.js → module-deps/node_modules/resolve/test/resolver_sync.js} +0 -0
- data/node_modules/{through → browserify/node_modules/module-deps/node_modules/through}/LICENSE.APACHE2 +0 -0
- data/node_modules/{through → browserify/node_modules/module-deps/node_modules/through}/LICENSE.MIT +0 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/through/index.js +108 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/through/package.json +43 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/through/readme.markdown +63 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/through/test/auto-destroy.js +30 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/through/test/buffering.js +71 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/through/test/end.js +45 -0
- data/node_modules/browserify/node_modules/module-deps/node_modules/through/test/index.js +114 -0
- data/node_modules/browserify/node_modules/module-deps/package.json +48 -0
- data/node_modules/browserify/node_modules/module-deps/readme.markdown +137 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/bundle.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/deps.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/files/bar.js +0 -0
- data/node_modules/browserify/node_modules/module-deps/test/files/filterable.js +10 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/files/foo.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/files/main.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/files/tr_module/f.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/files/tr_module/main.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/files/tr_module/node_modules/g/index.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/files/tr_module/node_modules/g/node_modules/insert-ggg/index.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/files/tr_module/node_modules/g/package.json +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/files/tr_module/node_modules/insert-aaa/index.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/files/tr_module/node_modules/insert-bbb/index.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/files/tr_module/node_modules/m/index.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/files/tr_sh/f.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/files/tr_sh/main.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/files/tr_sh/node_modules/g/index.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/files/tr_sh/node_modules/g/package.json +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/files/tr_sh/node_modules/g/tr_g.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/files/tr_sh/node_modules/m/index.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/files/tr_sh/tr_a.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/files/tr_sh/tr_b.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/files/xyz.js +0 -0
- data/node_modules/browserify/node_modules/module-deps/test/filter.js +37 -0
- data/node_modules/browserify/node_modules/module-deps/test/noparse.js +37 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/tr_fn.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/tr_module.js +0 -0
- data/node_modules/{module-deps → browserify/node_modules/module-deps}/test/tr_sh.js +0 -0
- data/node_modules/browserify/node_modules/optimist/README.markdown +13 -0
- data/node_modules/browserify/node_modules/optimist/index.js +36 -13
- data/node_modules/browserify/node_modules/optimist/package.json +6 -11
- data/node_modules/browserify/node_modules/optimist/test/dash.js +31 -0
- data/node_modules/browserify/node_modules/optimist/test/parse.js +13 -0
- data/node_modules/browserify/node_modules/optimist/test/parse_modified.js +14 -0
- data/node_modules/browserify/node_modules/optimist/test/short.js +16 -0
- data/node_modules/browserify/node_modules/optimist/test/whitespace.js +8 -0
- data/node_modules/browserify/node_modules/shell-quote/README.markdown +72 -0
- data/node_modules/browserify/node_modules/shell-quote/example/parse.js +3 -0
- data/node_modules/browserify/node_modules/shell-quote/example/quote.js +3 -0
- data/node_modules/browserify/node_modules/shell-quote/index.js +33 -0
- data/node_modules/browserify/node_modules/shell-quote/package.json +39 -0
- data/node_modules/browserify/node_modules/shell-quote/test/parse.js +14 -0
- data/node_modules/browserify/node_modules/shell-quote/test/quote.js +15 -0
- data/node_modules/browserify/node_modules/syntax-error/index.js +1 -1
- data/node_modules/browserify/node_modules/syntax-error/package.json +2 -2
- data/node_modules/browserify/node_modules/through/LICENSE.APACHE2 +15 -0
- data/node_modules/browserify/node_modules/through/LICENSE.MIT +24 -0
- data/node_modules/{through → browserify/node_modules/through}/index.js +0 -0
- data/node_modules/browserify/node_modules/through/package.json +43 -0
- data/node_modules/browserify/node_modules/through/readme.markdown +43 -0
- data/node_modules/browserify/node_modules/through/test/buffering.js +71 -0
- data/node_modules/browserify/node_modules/through/test/end.js +26 -0
- data/node_modules/browserify/node_modules/through/test/index.js +114 -0
- data/node_modules/browserify/node_modules/umd/README.md +46 -0
- data/node_modules/browserify/node_modules/umd/index.js +63 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/README.md +81 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/index.js +39 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/callsite/History.md +10 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/callsite/Makefile +6 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/callsite/Readme.md +44 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/callsite/index.js +10 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/callsite/package.json +27 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/LICENSE +18 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/example/async.js +5 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/example/sync.js +3 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/index.js +5 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/lib/async.js +131 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/lib/core.js +4 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/lib/core.json +38 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/lib/sync.js +99 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/package.json +32 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/readme.markdown +134 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/core.js +12 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/filter.js +17 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/filter_sync.js +15 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/mock.js +68 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/mock_sync.js +68 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/bar/node_modules/foo/index.js +1 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/baz/doom.js +0 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/baz/package.json +3 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/baz/quux.js +1 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/biz/node_modules/grux/index.js +1 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/biz/node_modules/tiv/index.js +1 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/cup.coffee +1 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/foo.js +1 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/mug.coffee +0 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/mug.js +0 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/other_path/root.js +0 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver.js +144 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver_sync.js +157 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/package.json +36 -0
- data/node_modules/browserify/node_modules/umd/node_modules/rfile/test/index.js +43 -0
- data/node_modules/browserify/node_modules/umd/node_modules/ruglify/README.md +26 -0
- data/node_modules/browserify/node_modules/umd/node_modules/ruglify/index.js +9 -0
- data/node_modules/browserify/node_modules/umd/node_modules/ruglify/package.json +39 -0
- data/node_modules/browserify/node_modules/umd/node_modules/ruglify/test/fixture/jquery.js +9597 -0
- data/node_modules/browserify/node_modules/umd/node_modules/ruglify/test/fixture/jquery.min.js +3 -0
- data/node_modules/browserify/node_modules/umd/node_modules/ruglify/test/index.js +8 -0
- data/node_modules/browserify/node_modules/umd/node_modules/through/LICENSE.APACHE2 +15 -0
- data/node_modules/browserify/node_modules/umd/node_modules/through/LICENSE.MIT +24 -0
- data/node_modules/browserify/node_modules/umd/node_modules/through/index.js +108 -0
- data/node_modules/browserify/node_modules/umd/node_modules/through/package.json +43 -0
- data/node_modules/browserify/node_modules/umd/node_modules/through/readme.markdown +63 -0
- data/node_modules/browserify/node_modules/umd/node_modules/through/test/auto-destroy.js +30 -0
- data/node_modules/browserify/node_modules/umd/node_modules/through/test/buffering.js +71 -0
- data/node_modules/browserify/node_modules/umd/node_modules/through/test/end.js +45 -0
- data/node_modules/browserify/node_modules/umd/node_modules/through/test/index.js +114 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/README.md +544 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/bin/uglifyjs +370 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/ast.js +964 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/compress.js +1968 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/mozilla-ast.js +265 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/output.js +1220 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/parse.js +1407 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/scope.js +580 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/sourcemap.js +81 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/transform.js +218 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/utils.js +288 -0
- data/node_modules/browserify/node_modules/{deputy/node_modules/mkdirp → umd/node_modules/uglify-js/node_modules/optimist}/LICENSE +0 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/example/bool.js +10 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/example/boolean_double.js +7 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/example/boolean_single.js +7 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/example/default_hash.js +8 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/example/default_singles.js +7 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/example/divide.js +8 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/example/line_count.js +20 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/example/line_count_options.js +29 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/example/line_count_wrap.js +29 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/example/nonopt.js +4 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/example/reflect.js +2 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/example/short.js +3 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/example/string.js +11 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/example/usage-options.js +19 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/example/xup.js +10 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/index.js +478 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/node_modules/wordwrap/README.markdown +70 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/node_modules/wordwrap/example/center.js +10 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/node_modules/wordwrap/example/meat.js +3 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/node_modules/wordwrap/index.js +76 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/node_modules/wordwrap/package.json +41 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/node_modules/wordwrap/test/break.js +30 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/node_modules/wordwrap/test/idleness.txt +63 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/node_modules/wordwrap/test/wrap.js +31 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/package.json +42 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/readme.markdown +487 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/test/_/argv.js +2 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/test/_/bin.js +3 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/test/_.js +71 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/test/parse.js +446 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/optimist/test/usage.js +292 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/CHANGELOG.md +58 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/LICENSE +28 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/Makefile.dryice.js +166 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/README.md +347 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/assert-shim.js +56 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/mini-require.js +152 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/prefix-source-map.jsm +20 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/prefix-utils.jsm +18 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/suffix-browser.js +8 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/suffix-source-map.jsm +6 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/suffix-utils.jsm +21 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/test-prefix.js +8 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/test-suffix.js +3 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map/array-set.js +96 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map/base64-vlq.js +144 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map/base64.js +42 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map/binary-search.js +81 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-map-consumer.js +426 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-map-generator.js +381 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-node.js +353 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map/util.js +91 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map.js +8 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/LICENSE +58 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/README.md +119 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/amdefine.js +299 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/package.json +33 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/package.json +74 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/run-tests.js +73 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-api.js +26 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-array-set.js +71 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-base64-vlq.js +24 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-base64.js +35 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-binary-search.js +54 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-dog-fooding.js +72 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-source-map-consumer.js +291 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-source-map-generator.js +391 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-source-node.js +282 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/util.js +152 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/package.json +37 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/arrays.js +12 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/blocks.js +49 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/conditionals.js +143 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/dead-code.js +89 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/debugger.js +24 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/drop-unused.js +97 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/issue-105.js +17 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/issue-12.js +11 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/issue-22.js +17 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/issue-44.js +31 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/issue-59.js +30 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/labels.js +163 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/loops.js +123 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/properties.js +25 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/sequences.js +161 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/switch.js +210 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/run-tests.js +170 -0
- data/node_modules/browserify/node_modules/umd/node_modules/uglify-js/tools/node.js +164 -0
- data/node_modules/browserify/node_modules/umd/package.json +32 -0
- data/node_modules/browserify/node_modules/umd/template.js +33 -0
- data/node_modules/browserify/package.json +25 -38
- data/node_modules/browserify/test/args.js +15 -0
- data/node_modules/browserify/test/backbone.js +13 -12
- data/node_modules/browserify/test/bin.js +6 -14
- data/node_modules/browserify/test/bin_entry.js +31 -0
- data/node_modules/browserify/test/buffer.js +83 -64
- data/node_modules/browserify/test/bundle_sourcemap.js +30 -0
- data/node_modules/browserify/test/catch/main.js +1 -0
- data/node_modules/browserify/test/catch.js +22 -0
- data/node_modules/browserify/test/circular/a.js +3 -0
- data/node_modules/browserify/test/circular/b.js +1 -0
- data/node_modules/browserify/test/circular/main.js +1 -0
- data/node_modules/browserify/test/circular.js +34 -0
- data/node_modules/browserify/test/coffee_bin/main.coffee +2 -0
- data/node_modules/browserify/test/coffee_bin/x.coffee +1 -0
- data/node_modules/browserify/test/coffee_bin.js +36 -0
- data/node_modules/browserify/test/comment.js +8 -9
- data/node_modules/browserify/test/dep.js +31 -0
- data/node_modules/browserify/test/dnode.js +17 -17
- data/node_modules/browserify/test/dollar.js +11 -12
- data/node_modules/browserify/test/entry.js +11 -28
- data/node_modules/browserify/test/entry_exec/fail.js +1 -0
- data/node_modules/browserify/test/entry_exec/main.js +1 -0
- data/node_modules/browserify/test/entry_exec.js +15 -0
- data/node_modules/browserify/test/error_code.js +0 -2
- data/node_modules/browserify/test/export.js +22 -39
- data/node_modules/browserify/test/fake/fake_fs.js +1 -0
- data/node_modules/browserify/test/fake/main.js +2 -0
- data/node_modules/browserify/test/fake.js +15 -0
- data/node_modules/browserify/test/field/node_modules/z-object/package.json +1 -3
- data/node_modules/browserify/test/field.js +40 -40
- data/node_modules/browserify/test/file_event.js +33 -0
- data/node_modules/browserify/test/global/buffer.js +2 -0
- data/node_modules/browserify/test/global/filename.js +2 -0
- data/node_modules/browserify/test/global/tick.js +3 -0
- data/node_modules/browserify/test/global.js +45 -10
- data/node_modules/browserify/test/ignore/by-id.js +4 -0
- data/node_modules/browserify/test/ignore/main.js +1 -0
- data/node_modules/browserify/test/ignore/skip.js +1 -0
- data/node_modules/browserify/test/ignore.js +33 -0
- data/node_modules/browserify/test/json.js +11 -10
- data/node_modules/browserify/test/maxlisteners/main.js +3 -0
- data/node_modules/browserify/test/maxlisteners.js +9 -4
- data/node_modules/browserify/test/multi_bundle/a.js +2 -0
- data/node_modules/browserify/test/multi_bundle/b.js +5 -0
- data/node_modules/browserify/test/multi_bundle.js +44 -0
- data/node_modules/browserify/test/multi_entry/c.js +0 -1
- data/node_modules/browserify/test/multi_entry.js +16 -11
- data/node_modules/browserify/test/process/main.js +3 -0
- data/node_modules/browserify/test/process/one.js +1 -0
- data/node_modules/browserify/test/process/two.js +1 -0
- data/node_modules/browserify/test/process.js +20 -0
- data/node_modules/browserify/test/require_cache.js +13 -12
- data/node_modules/browserify/test/retarget.js +2 -6
- data/node_modules/browserify/test/reverse_multi_bundle/app.js +22 -0
- data/node_modules/browserify/test/reverse_multi_bundle/lazy.js +4 -0
- data/node_modules/browserify/test/reverse_multi_bundle/shared.js +4 -0
- data/node_modules/browserify/test/reverse_multi_bundle.js +43 -0
- data/node_modules/browserify/test/shebang/foo.js +2 -0
- data/node_modules/browserify/test/shebang/main.js +4 -0
- data/node_modules/browserify/test/shebang.js +11 -0
- data/node_modules/browserify/test/standalone/main.js +3 -0
- data/node_modules/browserify/test/standalone/one.js +1 -0
- data/node_modules/browserify/test/standalone/two.js +1 -0
- data/node_modules/browserify/test/standalone.js +73 -0
- data/node_modules/browserify/test/subdep.js +8 -18
- data/node_modules/browserify/test/tr/f.js +1 -0
- data/node_modules/browserify/test/tr/main.js +7 -0
- data/node_modules/browserify/test/tr/node_modules/g/index.js +1 -0
- data/node_modules/browserify/test/tr/node_modules/g/node_modules/insert-ggg/index.js +7 -0
- data/node_modules/browserify/test/tr/node_modules/g/package.json +6 -0
- data/node_modules/browserify/test/tr/node_modules/insert-aaa/index.js +7 -0
- data/node_modules/browserify/test/tr/node_modules/insert-bbb/index.js +7 -0
- data/node_modules/browserify/test/tr/node_modules/m/index.js +3 -0
- data/node_modules/browserify/test/tr.js +21 -0
- data/node_modules/browserify/test/util.js +43 -29
- data/package.json +2 -5
- metadata +931 -614
- data/node_modules/JSONStream/node_modules/jsonparse/package.json +0 -34
- data/node_modules/JSONStream/package.json +0 -38
- data/node_modules/browserify/builtins/__browserify_process.js +0 -55
- data/node_modules/browserify/builtins/events.js +0 -178
- data/node_modules/browserify/builtins/https.js +0 -1
- data/node_modules/browserify/doc/methods.markdown +0 -182
- data/node_modules/browserify/doc/recipes.markdown +0 -62
- data/node_modules/browserify/example/debug/browserify.js +0 -219
- data/node_modules/browserify/example/debug/build.sh +0 -3
- data/node_modules/browserify/example/debug/index.html +0 -7
- data/node_modules/browserify/example/debug/js/entry.js +0 -2
- data/node_modules/browserify/example/debug/js/thrower.js +0 -3
- data/node_modules/browserify/example/debug/server.js +0 -9
- data/node_modules/browserify/example/simple-build/browserify.js +0 -368
- data/node_modules/browserify/example/simple-build/build.sh +0 -3
- data/node_modules/browserify/example/simple-build/index.html +0 -9
- data/node_modules/browserify/example/simple-build/js/bar.js +0 -3
- data/node_modules/browserify/example/simple-build/js/entry.js +0 -5
- data/node_modules/browserify/example/simple-build/js/foo.js +0 -5
- data/node_modules/browserify/example/simple-build/server.js +0 -9
- data/node_modules/browserify/example/test/b.js +0 -5
- data/node_modules/browserify/example/test/bar.js +0 -3
- data/node_modules/browserify/example/test/foo.js +0 -3
- data/node_modules/browserify/example/test/m.js +0 -3
- data/node_modules/browserify/example/test/n.js +0 -3
- data/node_modules/browserify/example/using-http/bundle.js +0 -813
- data/node_modules/browserify/example/using-http/entry.js +0 -25
- data/node_modules/browserify/example/using-http/index.html +0 -9
- data/node_modules/browserify/example/using-http/server.js +0 -28
- data/node_modules/browserify/lib/watch.js +0 -75
- data/node_modules/browserify/lib/wrap.js +0 -583
- data/node_modules/browserify/lib/wrappers.js +0 -10
- data/node_modules/browserify/node_modules/buffer-browserify/package.json +0 -42
- data/node_modules/browserify/node_modules/coffee-script/CNAME +0 -1
- data/node_modules/browserify/node_modules/coffee-script/CONTRIBUTING.md +0 -9
- data/node_modules/browserify/node_modules/coffee-script/LICENSE +0 -22
- data/node_modules/browserify/node_modules/coffee-script/README +0 -51
- data/node_modules/browserify/node_modules/coffee-script/Rakefile +0 -79
- data/node_modules/browserify/node_modules/coffee-script/bin/cake +0 -7
- data/node_modules/browserify/node_modules/coffee-script/bin/coffee +0 -7
- data/node_modules/browserify/node_modules/coffee-script/extras/jsl.conf +0 -44
- data/node_modules/browserify/node_modules/coffee-script/lib/coffee-script/browser.js +0 -101
- data/node_modules/browserify/node_modules/coffee-script/lib/coffee-script/cake.js +0 -113
- data/node_modules/browserify/node_modules/coffee-script/lib/coffee-script/coffee-script.js +0 -218
- data/node_modules/browserify/node_modules/coffee-script/lib/coffee-script/command.js +0 -506
- data/node_modules/browserify/node_modules/coffee-script/lib/coffee-script/grammar.js +0 -623
- data/node_modules/browserify/node_modules/coffee-script/lib/coffee-script/helpers.js +0 -150
- data/node_modules/browserify/node_modules/coffee-script/lib/coffee-script/index.js +0 -11
- data/node_modules/browserify/node_modules/coffee-script/lib/coffee-script/lexer.js +0 -905
- data/node_modules/browserify/node_modules/coffee-script/lib/coffee-script/nodes.js +0 -3088
- data/node_modules/browserify/node_modules/coffee-script/lib/coffee-script/optparse.js +0 -138
- data/node_modules/browserify/node_modules/coffee-script/lib/coffee-script/parser.js +0 -608
- data/node_modules/browserify/node_modules/coffee-script/lib/coffee-script/repl.js +0 -104
- data/node_modules/browserify/node_modules/coffee-script/lib/coffee-script/rewriter.js +0 -478
- data/node_modules/browserify/node_modules/coffee-script/lib/coffee-script/scope.js +0 -147
- data/node_modules/browserify/node_modules/coffee-script/lib/coffee-script/sourcemap.js +0 -237
- data/node_modules/browserify/node_modules/coffee-script/package.json +0 -48
- data/node_modules/browserify/node_modules/console-browserify/package.json +0 -76
- data/node_modules/browserify/node_modules/crypto-browserify/package.json +0 -30
- data/node_modules/browserify/node_modules/deputy/README.markdown +0 -55
- data/node_modules/browserify/node_modules/deputy/example/cache.js +0 -5
- data/node_modules/browserify/node_modules/deputy/index.js +0 -46
- data/node_modules/browserify/node_modules/deputy/node_modules/mkdirp/examples/pow.js +0 -6
- data/node_modules/browserify/node_modules/deputy/node_modules/mkdirp/index.js +0 -82
- data/node_modules/browserify/node_modules/deputy/node_modules/mkdirp/package.json +0 -30
- data/node_modules/browserify/node_modules/deputy/node_modules/mkdirp/readme.markdown +0 -63
- data/node_modules/browserify/node_modules/deputy/node_modules/mkdirp/test/chmod.js +0 -38
- data/node_modules/browserify/node_modules/deputy/node_modules/mkdirp/test/clobber.js +0 -37
- data/node_modules/browserify/node_modules/deputy/node_modules/mkdirp/test/mkdirp.js +0 -28
- data/node_modules/browserify/node_modules/deputy/node_modules/mkdirp/test/perm.js +0 -32
- data/node_modules/browserify/node_modules/deputy/node_modules/mkdirp/test/perm_sync.js +0 -39
- data/node_modules/browserify/node_modules/deputy/node_modules/mkdirp/test/race.js +0 -41
- data/node_modules/browserify/node_modules/deputy/node_modules/mkdirp/test/rel.js +0 -32
- data/node_modules/browserify/node_modules/deputy/node_modules/mkdirp/test/return.js +0 -25
- data/node_modules/browserify/node_modules/deputy/node_modules/mkdirp/test/return_sync.js +0 -24
- data/node_modules/browserify/node_modules/deputy/node_modules/mkdirp/test/root.js +0 -18
- data/node_modules/browserify/node_modules/deputy/node_modules/mkdirp/test/sync.js +0 -32
- data/node_modules/browserify/node_modules/deputy/node_modules/mkdirp/test/umask.js +0 -28
- data/node_modules/browserify/node_modules/deputy/node_modules/mkdirp/test/umask_sync.js +0 -32
- data/node_modules/browserify/node_modules/deputy/package.json +0 -43
- data/node_modules/browserify/node_modules/deputy/test/cache.js +0 -58
- data/node_modules/browserify/node_modules/detective/README.markdown +0 -66
- data/node_modules/browserify/node_modules/detective/example/strings.js +0 -6
- data/node_modules/browserify/node_modules/detective/index.js +0 -60
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/README.md +0 -74
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/assets/codemirror/codemirror.css +0 -112
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/assets/codemirror/codemirror.js +0 -2972
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/assets/codemirror/javascript.js +0 -360
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/assets/json2.js +0 -487
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/assets/style.css +0 -164
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/assets/yui/treeview-min.js +0 -12
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/assets/yui/treeview-sprite.gif +0 -0
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/assets/yui/treeview.css +0 -7
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/assets/yui/yahoo-dom-event.js +0 -14
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/bin/esparse.js +0 -42
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/changes +0 -92
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/cm +0 -696
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/demo/checkenv.js +0 -42
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/demo/collector.html +0 -82
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/demo/collector.js +0 -170
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/demo/functiontrace.html +0 -106
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/demo/functiontrace.js +0 -123
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/demo/parse.css +0 -82
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/demo/parse.html +0 -352
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/demo/precedence.html +0 -225
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/demo/rewrite.html +0 -120
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/demo/rewrite.js +0 -71
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/esprima.js +0 -3577
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/index.html +0 -103
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/package.json +0 -39
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/3rdparty/Tokenizer.js +0 -646
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/3rdparty/XMLHttpRequest.js +0 -509
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/3rdparty/ZeParser.js +0 -2185
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/3rdparty/backbone-0.5.3.js +0 -1158
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/3rdparty/benchmark.js +0 -3261
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/3rdparty/escodegen.js +0 -906
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/3rdparty/esmorph.js +0 -240
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/3rdparty/ext-core-3.0.0.js +0 -6579
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/3rdparty/ext-core-3.1.0.js +0 -10255
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/3rdparty/jquery-1.6.4.js +0 -9046
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/3rdparty/jquery-1.7.1.js +0 -9266
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/3rdparty/jquery.mobile-1.0.js +0 -6951
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/3rdparty/jsdefs.js +0 -731
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/3rdparty/jslex.js +0 -588
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/3rdparty/jsparse.js +0 -1921
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/3rdparty/mootools-1.3.2.js +0 -5952
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/3rdparty/mootools-1.4.1.js +0 -6297
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/3rdparty/parse-js.js +0 -1342
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/3rdparty/platform.js +0 -878
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/3rdparty/prototype-1.6.1.js +0 -4874
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/3rdparty/prototype-1.7.0.0.js +0 -6082
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/3rdparty/underscore-1.2.3.js +0 -981
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/benchmarks.html +0 -58
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/benchmarks.js +0 -328
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/compare.html +0 -140
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/compare.js +0 -270
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/compat.html +0 -40
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/coverage.header.html +0 -37
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/coverage.html +0 -3617
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/index.html +0 -36
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/reflect.js +0 -403
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/run.js +0 -66
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/test/test.js +0 -16659
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/tools/generate-unicode-regex.py +0 -164
- data/node_modules/browserify/node_modules/detective/node_modules/esprima/tools/update-coverage.sh +0 -28
- data/node_modules/browserify/node_modules/detective/package.json +0 -43
- data/node_modules/browserify/node_modules/detective/test/both.js +0 -11
- data/node_modules/browserify/node_modules/detective/test/files/skip.js +0 -7
- data/node_modules/browserify/node_modules/detective/test/skip.js +0 -9
- data/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/index.js +0 -189
- data/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/jsonparse.js +0 -379
- data/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/memory.js +0 -69
- data/node_modules/browserify/node_modules/http-browserify/lib/request.js +0 -128
- data/node_modules/browserify/node_modules/http-browserify/package.json +0 -42
- data/node_modules/browserify/node_modules/nub/README.markdown +0 -23
- data/node_modules/browserify/node_modules/nub/index.js +0 -64
- data/node_modules/browserify/node_modules/nub/package.json +0 -42
- data/node_modules/browserify/node_modules/nub/test/by.js +0 -51
- data/node_modules/browserify/node_modules/nub/test/nub.js +0 -46
- data/node_modules/browserify/node_modules/optimist/x.js +0 -1
- data/node_modules/browserify/node_modules/resolve/README.markdown +0 -47
- data/node_modules/browserify/node_modules/resolve/index.js +0 -109
- data/node_modules/browserify/node_modules/resolve/package.json +0 -41
- data/node_modules/browserify/node_modules/vm-browserify/package.json +0 -39
- data/node_modules/browserify/test/alias.js +0 -58
- data/node_modules/browserify/test/bundle.js +0 -32
- data/node_modules/browserify/test/cache.js +0 -28
- data/node_modules/browserify/test/coffee/bar.js +0 -1
- data/node_modules/browserify/test/coffee/baz.coffee +0 -1
- data/node_modules/browserify/test/coffee/entry.coffee +0 -1
- data/node_modules/browserify/test/coffee/foo.coffee +0 -1
- data/node_modules/browserify/test/coffee/index.coffee +0 -5
- data/node_modules/browserify/test/coffee/nested/nested.coffee +0 -2
- data/node_modules/browserify/test/coffee.js +0 -39
- data/node_modules/browserify/test/jade.js +0 -35
- data/node_modules/browserify/test/module.js +0 -22
- data/node_modules/browserify/test/multi_ignore.js +0 -23
- data/node_modules/browserify/test/seq.js +0 -47
- data/node_modules/browserify/test/watch/a.js +0 -1
- data/node_modules/browserify/test/watch.js +0 -91
- data/node_modules/browserify/test/wrap/a.js +0 -2
- data/node_modules/browserify/test/wrap/c.js +0 -1
- data/node_modules/browserify/test/wrap/node_modules/b/main.js +0 -1
- data/node_modules/browserify/test/wrap/node_modules/b/package.json +0 -3
- data/node_modules/browserify/test/wrap/node_modules/skipmetoo/index.js +0 -1
- data/node_modules/browserify/test/wrap/skipme.js +0 -1
- data/node_modules/browserify/test/wrap.js +0 -43
- data/node_modules/browserify/testling/README.markdown +0 -29
- data/node_modules/browserify/testling/test.sh +0 -37
- data/node_modules/browserify/testling/tick.js +0 -9
- data/node_modules/browserify/testling/timers.js +0 -50
- data/node_modules/browserify/testling/util.js +0 -24
- data/node_modules/browserify/v2.markdown +0 -41
- data/node_modules/browserify/wrappers/alias.js +0 -1
- data/node_modules/browserify/wrappers/body.js +0 -2
- data/node_modules/browserify/wrappers/body_debug.js +0 -2
- data/node_modules/browserify/wrappers/entry.js +0 -3
- data/node_modules/browserify/wrappers/entry_debug.js +0 -3
- data/node_modules/browserify/wrappers/package.js +0 -3
- data/node_modules/browserify/wrappers/prelude.js +0 -196
- data/node_modules/module-deps/index.js +0 -142
- data/node_modules/module-deps/node_modules/browser-resolve/README.md +0 -14
- data/node_modules/module-deps/node_modules/browser-resolve/builtin/assert.js +0 -314
- data/node_modules/module-deps/node_modules/browser-resolve/builtin/child_process.js +0 -2
- data/node_modules/module-deps/node_modules/browser-resolve/builtin/fs.js +0 -1
- data/node_modules/module-deps/node_modules/browser-resolve/builtin/net.js +0 -1
- data/node_modules/module-deps/node_modules/browser-resolve/builtin/path.js +0 -175
- data/node_modules/module-deps/node_modules/browser-resolve/builtin/querystring.js +0 -250
- data/node_modules/module-deps/node_modules/browser-resolve/builtin/stream.js +0 -119
- data/node_modules/module-deps/node_modules/browser-resolve/builtin/string_decoder.js +0 -161
- data/node_modules/module-deps/node_modules/browser-resolve/builtin/sys.js +0 -1
- data/node_modules/module-deps/node_modules/browser-resolve/builtin/timers.js +0 -39
- data/node_modules/module-deps/node_modules/browser-resolve/builtin/tls.js +0 -1
- data/node_modules/module-deps/node_modules/browser-resolve/builtin/tty.js +0 -2
- data/node_modules/module-deps/node_modules/browser-resolve/builtin/url.js +0 -604
- data/node_modules/module-deps/node_modules/browser-resolve/builtin/util.js +0 -351
- data/node_modules/module-deps/node_modules/browser-resolve/index.js +0 -144
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/buffer-browserify/README.md +0 -11
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/buffer-browserify/buffer_ieee754.js +0 -84
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/buffer-browserify/index.js +0 -1282
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/buffer-browserify/node_modules/base64-js/README.md +0 -14
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/buffer-browserify/node_modules/base64-js/lib/b64.js +0 -84
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/buffer-browserify/node_modules/base64-js/package.json +0 -26
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/buffer-browserify/node_modules/base64-js/test/runner.js +0 -50
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/buffer-browserify/package.json +0 -42
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/buffer-browserify/test/buffer.js +0 -121
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/console-browserify/README.md +0 -32
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/console-browserify/index.js +0 -85
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/console-browserify/package.json +0 -76
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/console-browserify/test/index.js +0 -67
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/console-browserify/test/static/index.html +0 -12
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/console-browserify/test/static/test-adapter.js +0 -53
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/crypto-browserify/example/bundle.js +0 -637
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/crypto-browserify/example/index.html +0 -12
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/crypto-browserify/example/test.js +0 -4
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/crypto-browserify/index.js +0 -74
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/crypto-browserify/md5.js +0 -384
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/crypto-browserify/package.json +0 -30
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/crypto-browserify/readme.markdown +0 -20
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/crypto-browserify/rng.js +0 -37
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/crypto-browserify/sha.js +0 -210
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/crypto-browserify/test/simple.js +0 -35
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/http-browserify/README.markdown +0 -128
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/http-browserify/example/get/index.html +0 -9
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/http-browserify/example/get/main.js +0 -14
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/http-browserify/example/get/server.js +0 -12
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/http-browserify/example/headers/index.html +0 -9
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/http-browserify/example/headers/main.js +0 -18
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/http-browserify/example/headers/server.js +0 -15
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/http-browserify/example/post/index.html +0 -9
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/http-browserify/example/post/main.js +0 -16
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/http-browserify/example/post/server.js +0 -19
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/http-browserify/example/streaming/index.html +0 -9
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/http-browserify/example/streaming/main.js +0 -16
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/http-browserify/example/streaming/server.js +0 -21
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/http-browserify/index.js +0 -59
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/http-browserify/lib/request.js +0 -122
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/http-browserify/lib/response.js +0 -119
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/http-browserify/node_modules/concat-stream/index.js +0 -48
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/http-browserify/node_modules/concat-stream/package.json +0 -29
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/http-browserify/node_modules/concat-stream/test.js +0 -34
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/http-browserify/package.json +0 -42
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/vm-browserify/README.markdown +0 -103
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/vm-browserify/example/run/bundle.js +0 -473
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/vm-browserify/example/run/entry.js +0 -6
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/vm-browserify/example/run/index.html +0 -9
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/vm-browserify/example/run/server.js +0 -6
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/vm-browserify/index.js +0 -85
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/vm-browserify/package.json +0 -39
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/vm-browserify/testling/run.js +0 -22
- data/node_modules/module-deps/node_modules/browser-resolve/node_modules/vm-browserify/testling/test.sh +0 -11
- data/node_modules/module-deps/node_modules/browser-resolve/package.json +0 -38
- data/node_modules/module-deps/node_modules/browser-resolve/test/core.js +0 -20
- data/node_modules/module-deps/node_modules/detective/example/strings_src.js +0 -3
- data/node_modules/module-deps/node_modules/detective/index.js +0 -62
- data/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/Makefile.dryice.js +0 -165
- data/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/README.md +0 -268
- data/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/prefix-source-map.jsm +0 -20
- data/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/prefix-utils.jsm +0 -18
- data/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/suffix-source-map.jsm +0 -6
- data/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/suffix-utils.jsm +0 -20
- data/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/array-set.js +0 -107
- data/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/source-map-consumer.js +0 -379
- data/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/source-map-generator.js +0 -202
- data/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/source-node.js +0 -199
- data/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/util.js +0 -40
- data/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/README.md +0 -119
- data/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/amdefine.js +0 -299
- data/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/package.json +0 -29
- data/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/package.json +0 -38
- data/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/run-tests.js +0 -72
- data/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-map-consumer.js +0 -142
- data/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-map-generator.js +0 -187
- data/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-node.js +0 -163
- data/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/util.js +0 -78
- data/node_modules/module-deps/node_modules/detective/package.json +0 -36
- data/node_modules/module-deps/node_modules/detective/readme.markdown +0 -70
- data/node_modules/module-deps/node_modules/detective/test/both.js +0 -11
- data/node_modules/module-deps/node_modules/detective/test/chained.js +0 -9
- data/node_modules/module-deps/node_modules/detective/test/files/both.js +0 -4
- data/node_modules/module-deps/node_modules/detective/test/files/chained.js +0 -5
- data/node_modules/module-deps/node_modules/detective/test/files/nested.js +0 -22
- data/node_modules/module-deps/node_modules/detective/test/files/strings.js +0 -13
- data/node_modules/module-deps/node_modules/detective/test/files/word.js +0 -13
- data/node_modules/module-deps/node_modules/detective/test/nested.js +0 -9
- data/node_modules/module-deps/node_modules/detective/test/strings.js +0 -9
- data/node_modules/module-deps/node_modules/detective/test/word.js +0 -12
- data/node_modules/module-deps/node_modules/resolve/lib/async.js +0 -131
- data/node_modules/module-deps/node_modules/resolve/lib/sync.js +0 -98
- data/node_modules/module-deps/node_modules/resolve/package.json +0 -32
- data/node_modules/module-deps/package.json +0 -47
- data/node_modules/module-deps/readme.markdown +0 -128
- data/node_modules/through/package.json +0 -35
- data/node_modules/through/readme.markdown +0 -43
- data/node_modules/through/test/buffering.js +0 -71
- data/node_modules/through/test/end.js +0 -27
- data/node_modules/through/test/index.js +0 -113
data/node_modules/module-deps/node_modules/browser-resolve/node_modules/buffer-browserify/index.js
DELETED
@@ -1,1282 +0,0 @@
|
|
1
|
-
function SlowBuffer (size) {
|
2
|
-
this.length = size;
|
3
|
-
};
|
4
|
-
|
5
|
-
var assert = require('assert');
|
6
|
-
|
7
|
-
exports.INSPECT_MAX_BYTES = 50;
|
8
|
-
|
9
|
-
|
10
|
-
function toHex(n) {
|
11
|
-
if (n < 16) return '0' + n.toString(16);
|
12
|
-
return n.toString(16);
|
13
|
-
}
|
14
|
-
|
15
|
-
function utf8ToBytes(str) {
|
16
|
-
var byteArray = [];
|
17
|
-
for (var i = 0; i < str.length; i++)
|
18
|
-
if (str.charCodeAt(i) <= 0x7F)
|
19
|
-
byteArray.push(str.charCodeAt(i));
|
20
|
-
else {
|
21
|
-
var h = encodeURIComponent(str.charAt(i)).substr(1).split('%');
|
22
|
-
for (var j = 0; j < h.length; j++)
|
23
|
-
byteArray.push(parseInt(h[j], 16));
|
24
|
-
}
|
25
|
-
|
26
|
-
return byteArray;
|
27
|
-
}
|
28
|
-
|
29
|
-
function asciiToBytes(str) {
|
30
|
-
var byteArray = []
|
31
|
-
for (var i = 0; i < str.length; i++ )
|
32
|
-
// Node's code seems to be doing this and not & 0x7F..
|
33
|
-
byteArray.push( str.charCodeAt(i) & 0xFF );
|
34
|
-
|
35
|
-
return byteArray;
|
36
|
-
}
|
37
|
-
|
38
|
-
function base64ToBytes(str) {
|
39
|
-
return require("base64-js").toByteArray(str);
|
40
|
-
}
|
41
|
-
|
42
|
-
SlowBuffer.byteLength = function (str, encoding) {
|
43
|
-
switch (encoding || "utf8") {
|
44
|
-
case 'hex':
|
45
|
-
return str.length / 2;
|
46
|
-
|
47
|
-
case 'utf8':
|
48
|
-
case 'utf-8':
|
49
|
-
return utf8ToBytes(str).length;
|
50
|
-
|
51
|
-
case 'ascii':
|
52
|
-
return str.length;
|
53
|
-
|
54
|
-
case 'base64':
|
55
|
-
return base64ToBytes(str).length;
|
56
|
-
|
57
|
-
default:
|
58
|
-
throw new Error('Unknown encoding');
|
59
|
-
}
|
60
|
-
};
|
61
|
-
|
62
|
-
function blitBuffer(src, dst, offset, length) {
|
63
|
-
var pos, i = 0;
|
64
|
-
while (i < length) {
|
65
|
-
if ((i+offset >= dst.length) || (i >= src.length))
|
66
|
-
break;
|
67
|
-
|
68
|
-
dst[i + offset] = src[i];
|
69
|
-
i++;
|
70
|
-
}
|
71
|
-
return i;
|
72
|
-
}
|
73
|
-
|
74
|
-
SlowBuffer.prototype.utf8Write = function (string, offset, length) {
|
75
|
-
var bytes, pos;
|
76
|
-
return SlowBuffer._charsWritten = blitBuffer(utf8ToBytes(string), this, offset, length);
|
77
|
-
};
|
78
|
-
|
79
|
-
SlowBuffer.prototype.asciiWrite = function (string, offset, length) {
|
80
|
-
var bytes, pos;
|
81
|
-
return SlowBuffer._charsWritten = blitBuffer(asciiToBytes(string), this, offset, length);
|
82
|
-
};
|
83
|
-
|
84
|
-
SlowBuffer.prototype.base64Write = function (string, offset, length) {
|
85
|
-
var bytes, pos;
|
86
|
-
return SlowBuffer._charsWritten = blitBuffer(base64ToBytes(string), this, offset, length);
|
87
|
-
};
|
88
|
-
|
89
|
-
SlowBuffer.prototype.base64Slice = function (start, end) {
|
90
|
-
var bytes = Array.prototype.slice.apply(this, arguments)
|
91
|
-
return require("base64-js").fromByteArray(bytes);
|
92
|
-
}
|
93
|
-
|
94
|
-
function decodeUtf8Char(str) {
|
95
|
-
try {
|
96
|
-
return decodeURIComponent(str);
|
97
|
-
} catch (err) {
|
98
|
-
return String.fromCharCode(0xFFFD); // UTF 8 invalid char
|
99
|
-
}
|
100
|
-
}
|
101
|
-
|
102
|
-
SlowBuffer.prototype.utf8Slice = function () {
|
103
|
-
var bytes = Array.prototype.slice.apply(this, arguments);
|
104
|
-
var res = "";
|
105
|
-
var tmp = "";
|
106
|
-
var i = 0;
|
107
|
-
while (i < bytes.length) {
|
108
|
-
if (bytes[i] <= 0x7F) {
|
109
|
-
res += decodeUtf8Char(tmp) + String.fromCharCode(bytes[i]);
|
110
|
-
tmp = "";
|
111
|
-
} else
|
112
|
-
tmp += "%" + bytes[i].toString(16);
|
113
|
-
|
114
|
-
i++;
|
115
|
-
}
|
116
|
-
|
117
|
-
return res + decodeUtf8Char(tmp);
|
118
|
-
}
|
119
|
-
|
120
|
-
SlowBuffer.prototype.asciiSlice = function () {
|
121
|
-
var bytes = Array.prototype.slice.apply(this, arguments);
|
122
|
-
var ret = "";
|
123
|
-
for (var i = 0; i < bytes.length; i++)
|
124
|
-
ret += String.fromCharCode(bytes[i]);
|
125
|
-
return ret;
|
126
|
-
}
|
127
|
-
|
128
|
-
SlowBuffer.prototype.inspect = function() {
|
129
|
-
var out = [],
|
130
|
-
len = this.length;
|
131
|
-
for (var i = 0; i < len; i++) {
|
132
|
-
out[i] = toHex(this[i]);
|
133
|
-
if (i == exports.INSPECT_MAX_BYTES) {
|
134
|
-
out[i + 1] = '...';
|
135
|
-
break;
|
136
|
-
}
|
137
|
-
}
|
138
|
-
return '<SlowBuffer ' + out.join(' ') + '>';
|
139
|
-
};
|
140
|
-
|
141
|
-
|
142
|
-
SlowBuffer.prototype.hexSlice = function(start, end) {
|
143
|
-
var len = this.length;
|
144
|
-
|
145
|
-
if (!start || start < 0) start = 0;
|
146
|
-
if (!end || end < 0 || end > len) end = len;
|
147
|
-
|
148
|
-
var out = '';
|
149
|
-
for (var i = start; i < end; i++) {
|
150
|
-
out += toHex(this[i]);
|
151
|
-
}
|
152
|
-
return out;
|
153
|
-
};
|
154
|
-
|
155
|
-
|
156
|
-
SlowBuffer.prototype.toString = function(encoding, start, end) {
|
157
|
-
encoding = String(encoding || 'utf8').toLowerCase();
|
158
|
-
start = +start || 0;
|
159
|
-
if (typeof end == 'undefined') end = this.length;
|
160
|
-
|
161
|
-
// Fastpath empty strings
|
162
|
-
if (+end == start) {
|
163
|
-
return '';
|
164
|
-
}
|
165
|
-
|
166
|
-
switch (encoding) {
|
167
|
-
case 'hex':
|
168
|
-
return this.hexSlice(start, end);
|
169
|
-
|
170
|
-
case 'utf8':
|
171
|
-
case 'utf-8':
|
172
|
-
return this.utf8Slice(start, end);
|
173
|
-
|
174
|
-
case 'ascii':
|
175
|
-
return this.asciiSlice(start, end);
|
176
|
-
|
177
|
-
case 'binary':
|
178
|
-
return this.binarySlice(start, end);
|
179
|
-
|
180
|
-
case 'base64':
|
181
|
-
return this.base64Slice(start, end);
|
182
|
-
|
183
|
-
case 'ucs2':
|
184
|
-
case 'ucs-2':
|
185
|
-
return this.ucs2Slice(start, end);
|
186
|
-
|
187
|
-
default:
|
188
|
-
throw new Error('Unknown encoding');
|
189
|
-
}
|
190
|
-
};
|
191
|
-
|
192
|
-
|
193
|
-
SlowBuffer.prototype.hexWrite = function(string, offset, length) {
|
194
|
-
offset = +offset || 0;
|
195
|
-
var remaining = this.length - offset;
|
196
|
-
if (!length) {
|
197
|
-
length = remaining;
|
198
|
-
} else {
|
199
|
-
length = +length;
|
200
|
-
if (length > remaining) {
|
201
|
-
length = remaining;
|
202
|
-
}
|
203
|
-
}
|
204
|
-
|
205
|
-
// must be an even number of digits
|
206
|
-
var strLen = string.length;
|
207
|
-
if (strLen % 2) {
|
208
|
-
throw new Error('Invalid hex string');
|
209
|
-
}
|
210
|
-
if (length > strLen / 2) {
|
211
|
-
length = strLen / 2;
|
212
|
-
}
|
213
|
-
for (var i = 0; i < length; i++) {
|
214
|
-
var byte = parseInt(string.substr(i * 2, 2), 16);
|
215
|
-
if (isNaN(byte)) throw new Error('Invalid hex string');
|
216
|
-
this[offset + i] = byte;
|
217
|
-
}
|
218
|
-
SlowBuffer._charsWritten = i * 2;
|
219
|
-
return i;
|
220
|
-
};
|
221
|
-
|
222
|
-
|
223
|
-
SlowBuffer.prototype.write = function(string, offset, length, encoding) {
|
224
|
-
// Support both (string, offset, length, encoding)
|
225
|
-
// and the legacy (string, encoding, offset, length)
|
226
|
-
if (isFinite(offset)) {
|
227
|
-
if (!isFinite(length)) {
|
228
|
-
encoding = length;
|
229
|
-
length = undefined;
|
230
|
-
}
|
231
|
-
} else { // legacy
|
232
|
-
var swap = encoding;
|
233
|
-
encoding = offset;
|
234
|
-
offset = length;
|
235
|
-
length = swap;
|
236
|
-
}
|
237
|
-
|
238
|
-
offset = +offset || 0;
|
239
|
-
var remaining = this.length - offset;
|
240
|
-
if (!length) {
|
241
|
-
length = remaining;
|
242
|
-
} else {
|
243
|
-
length = +length;
|
244
|
-
if (length > remaining) {
|
245
|
-
length = remaining;
|
246
|
-
}
|
247
|
-
}
|
248
|
-
encoding = String(encoding || 'utf8').toLowerCase();
|
249
|
-
|
250
|
-
switch (encoding) {
|
251
|
-
case 'hex':
|
252
|
-
return this.hexWrite(string, offset, length);
|
253
|
-
|
254
|
-
case 'utf8':
|
255
|
-
case 'utf-8':
|
256
|
-
return this.utf8Write(string, offset, length);
|
257
|
-
|
258
|
-
case 'ascii':
|
259
|
-
return this.asciiWrite(string, offset, length);
|
260
|
-
|
261
|
-
case 'binary':
|
262
|
-
return this.binaryWrite(string, offset, length);
|
263
|
-
|
264
|
-
case 'base64':
|
265
|
-
return this.base64Write(string, offset, length);
|
266
|
-
|
267
|
-
case 'ucs2':
|
268
|
-
case 'ucs-2':
|
269
|
-
return this.ucs2Write(string, offset, length);
|
270
|
-
|
271
|
-
default:
|
272
|
-
throw new Error('Unknown encoding');
|
273
|
-
}
|
274
|
-
};
|
275
|
-
|
276
|
-
|
277
|
-
// slice(start, end)
|
278
|
-
SlowBuffer.prototype.slice = function(start, end) {
|
279
|
-
if (end === undefined) end = this.length;
|
280
|
-
|
281
|
-
if (end > this.length) {
|
282
|
-
throw new Error('oob');
|
283
|
-
}
|
284
|
-
if (start > end) {
|
285
|
-
throw new Error('oob');
|
286
|
-
}
|
287
|
-
|
288
|
-
return new Buffer(this, end - start, +start);
|
289
|
-
};
|
290
|
-
|
291
|
-
SlowBuffer.prototype.copy = function(target, targetstart, sourcestart, sourceend) {
|
292
|
-
var temp = [];
|
293
|
-
for (var i=sourcestart; i<sourceend; i++) {
|
294
|
-
assert.ok(typeof this[i] !== 'undefined', "copying undefined buffer bytes!");
|
295
|
-
temp.push(this[i]);
|
296
|
-
}
|
297
|
-
|
298
|
-
for (var i=targetstart; i<targetstart+temp.length; i++) {
|
299
|
-
target[i] = temp[i-targetstart];
|
300
|
-
}
|
301
|
-
};
|
302
|
-
|
303
|
-
function coerce(length) {
|
304
|
-
// Coerce length to a number (possibly NaN), round up
|
305
|
-
// in case it's fractional (e.g. 123.456) then do a
|
306
|
-
// double negate to coerce a NaN to 0. Easy, right?
|
307
|
-
length = ~~Math.ceil(+length);
|
308
|
-
return length < 0 ? 0 : length;
|
309
|
-
}
|
310
|
-
|
311
|
-
|
312
|
-
// Buffer
|
313
|
-
|
314
|
-
function Buffer(subject, encoding, offset) {
|
315
|
-
if (!(this instanceof Buffer)) {
|
316
|
-
return new Buffer(subject, encoding, offset);
|
317
|
-
}
|
318
|
-
|
319
|
-
var type;
|
320
|
-
|
321
|
-
// Are we slicing?
|
322
|
-
if (typeof offset === 'number') {
|
323
|
-
this.length = coerce(encoding);
|
324
|
-
this.parent = subject;
|
325
|
-
this.offset = offset;
|
326
|
-
} else {
|
327
|
-
// Find the length
|
328
|
-
switch (type = typeof subject) {
|
329
|
-
case 'number':
|
330
|
-
this.length = coerce(subject);
|
331
|
-
break;
|
332
|
-
|
333
|
-
case 'string':
|
334
|
-
this.length = Buffer.byteLength(subject, encoding);
|
335
|
-
break;
|
336
|
-
|
337
|
-
case 'object': // Assume object is an array
|
338
|
-
this.length = coerce(subject.length);
|
339
|
-
break;
|
340
|
-
|
341
|
-
default:
|
342
|
-
throw new Error('First argument needs to be a number, ' +
|
343
|
-
'array or string.');
|
344
|
-
}
|
345
|
-
|
346
|
-
if (this.length > Buffer.poolSize) {
|
347
|
-
// Big buffer, just alloc one.
|
348
|
-
this.parent = new SlowBuffer(this.length);
|
349
|
-
this.offset = 0;
|
350
|
-
|
351
|
-
} else {
|
352
|
-
// Small buffer.
|
353
|
-
if (!pool || pool.length - pool.used < this.length) allocPool();
|
354
|
-
this.parent = pool;
|
355
|
-
this.offset = pool.used;
|
356
|
-
pool.used += this.length;
|
357
|
-
}
|
358
|
-
|
359
|
-
// Treat array-ish objects as a byte array.
|
360
|
-
if (isArrayIsh(subject)) {
|
361
|
-
for (var i = 0; i < this.length; i++) {
|
362
|
-
this.parent[i + this.offset] = subject[i];
|
363
|
-
}
|
364
|
-
} else if (type == 'string') {
|
365
|
-
// We are a string
|
366
|
-
this.length = this.write(subject, 0, encoding);
|
367
|
-
}
|
368
|
-
}
|
369
|
-
|
370
|
-
}
|
371
|
-
|
372
|
-
function isArrayIsh(subject) {
|
373
|
-
return Array.isArray(subject) || Buffer.isBuffer(subject) ||
|
374
|
-
subject && typeof subject === 'object' &&
|
375
|
-
typeof subject.length === 'number';
|
376
|
-
}
|
377
|
-
|
378
|
-
exports.SlowBuffer = SlowBuffer;
|
379
|
-
exports.Buffer = Buffer;
|
380
|
-
|
381
|
-
Buffer.poolSize = 8 * 1024;
|
382
|
-
var pool;
|
383
|
-
|
384
|
-
function allocPool() {
|
385
|
-
pool = new SlowBuffer(Buffer.poolSize);
|
386
|
-
pool.used = 0;
|
387
|
-
}
|
388
|
-
|
389
|
-
|
390
|
-
// Static methods
|
391
|
-
Buffer.isBuffer = function isBuffer(b) {
|
392
|
-
return b instanceof Buffer || b instanceof SlowBuffer;
|
393
|
-
};
|
394
|
-
|
395
|
-
Buffer.concat = function (list, totalLength) {
|
396
|
-
if (!Array.isArray(list)) {
|
397
|
-
throw new Error("Usage: Buffer.concat(list, [totalLength])\n \
|
398
|
-
list should be an Array.");
|
399
|
-
}
|
400
|
-
|
401
|
-
if (list.length === 0) {
|
402
|
-
return new Buffer(0);
|
403
|
-
} else if (list.length === 1) {
|
404
|
-
return list[0];
|
405
|
-
}
|
406
|
-
|
407
|
-
if (typeof totalLength !== 'number') {
|
408
|
-
totalLength = 0;
|
409
|
-
for (var i = 0; i < list.length; i++) {
|
410
|
-
var buf = list[i];
|
411
|
-
totalLength += buf.length;
|
412
|
-
}
|
413
|
-
}
|
414
|
-
|
415
|
-
var buffer = new Buffer(totalLength);
|
416
|
-
var pos = 0;
|
417
|
-
for (var i = 0; i < list.length; i++) {
|
418
|
-
var buf = list[i];
|
419
|
-
buf.copy(buffer, pos);
|
420
|
-
pos += buf.length;
|
421
|
-
}
|
422
|
-
return buffer;
|
423
|
-
};
|
424
|
-
|
425
|
-
// Inspect
|
426
|
-
Buffer.prototype.inspect = function inspect() {
|
427
|
-
var out = [],
|
428
|
-
len = this.length;
|
429
|
-
|
430
|
-
for (var i = 0; i < len; i++) {
|
431
|
-
out[i] = toHex(this.parent[i + this.offset]);
|
432
|
-
if (i == exports.INSPECT_MAX_BYTES) {
|
433
|
-
out[i + 1] = '...';
|
434
|
-
break;
|
435
|
-
}
|
436
|
-
}
|
437
|
-
|
438
|
-
return '<Buffer ' + out.join(' ') + '>';
|
439
|
-
};
|
440
|
-
|
441
|
-
|
442
|
-
Buffer.prototype.get = function get(i) {
|
443
|
-
if (i < 0 || i >= this.length) throw new Error('oob');
|
444
|
-
return this.parent[this.offset + i];
|
445
|
-
};
|
446
|
-
|
447
|
-
|
448
|
-
Buffer.prototype.set = function set(i, v) {
|
449
|
-
if (i < 0 || i >= this.length) throw new Error('oob');
|
450
|
-
return this.parent[this.offset + i] = v;
|
451
|
-
};
|
452
|
-
|
453
|
-
|
454
|
-
// write(string, offset = 0, length = buffer.length-offset, encoding = 'utf8')
|
455
|
-
Buffer.prototype.write = function(string, offset, length, encoding) {
|
456
|
-
// Support both (string, offset, length, encoding)
|
457
|
-
// and the legacy (string, encoding, offset, length)
|
458
|
-
if (isFinite(offset)) {
|
459
|
-
if (!isFinite(length)) {
|
460
|
-
encoding = length;
|
461
|
-
length = undefined;
|
462
|
-
}
|
463
|
-
} else { // legacy
|
464
|
-
var swap = encoding;
|
465
|
-
encoding = offset;
|
466
|
-
offset = length;
|
467
|
-
length = swap;
|
468
|
-
}
|
469
|
-
|
470
|
-
offset = +offset || 0;
|
471
|
-
var remaining = this.length - offset;
|
472
|
-
if (!length) {
|
473
|
-
length = remaining;
|
474
|
-
} else {
|
475
|
-
length = +length;
|
476
|
-
if (length > remaining) {
|
477
|
-
length = remaining;
|
478
|
-
}
|
479
|
-
}
|
480
|
-
encoding = String(encoding || 'utf8').toLowerCase();
|
481
|
-
|
482
|
-
var ret;
|
483
|
-
switch (encoding) {
|
484
|
-
case 'hex':
|
485
|
-
ret = this.parent.hexWrite(string, this.offset + offset, length);
|
486
|
-
break;
|
487
|
-
|
488
|
-
case 'utf8':
|
489
|
-
case 'utf-8':
|
490
|
-
ret = this.parent.utf8Write(string, this.offset + offset, length);
|
491
|
-
break;
|
492
|
-
|
493
|
-
case 'ascii':
|
494
|
-
ret = this.parent.asciiWrite(string, this.offset + offset, length);
|
495
|
-
break;
|
496
|
-
|
497
|
-
case 'binary':
|
498
|
-
ret = this.parent.binaryWrite(string, this.offset + offset, length);
|
499
|
-
break;
|
500
|
-
|
501
|
-
case 'base64':
|
502
|
-
// Warning: maxLength not taken into account in base64Write
|
503
|
-
ret = this.parent.base64Write(string, this.offset + offset, length);
|
504
|
-
break;
|
505
|
-
|
506
|
-
case 'ucs2':
|
507
|
-
case 'ucs-2':
|
508
|
-
ret = this.parent.ucs2Write(string, this.offset + offset, length);
|
509
|
-
break;
|
510
|
-
|
511
|
-
default:
|
512
|
-
throw new Error('Unknown encoding');
|
513
|
-
}
|
514
|
-
|
515
|
-
Buffer._charsWritten = SlowBuffer._charsWritten;
|
516
|
-
|
517
|
-
return ret;
|
518
|
-
};
|
519
|
-
|
520
|
-
|
521
|
-
// toString(encoding, start=0, end=buffer.length)
|
522
|
-
Buffer.prototype.toString = function(encoding, start, end) {
|
523
|
-
encoding = String(encoding || 'utf8').toLowerCase();
|
524
|
-
|
525
|
-
if (typeof start == 'undefined' || start < 0) {
|
526
|
-
start = 0;
|
527
|
-
} else if (start > this.length) {
|
528
|
-
start = this.length;
|
529
|
-
}
|
530
|
-
|
531
|
-
if (typeof end == 'undefined' || end > this.length) {
|
532
|
-
end = this.length;
|
533
|
-
} else if (end < 0) {
|
534
|
-
end = 0;
|
535
|
-
}
|
536
|
-
|
537
|
-
start = start + this.offset;
|
538
|
-
end = end + this.offset;
|
539
|
-
|
540
|
-
switch (encoding) {
|
541
|
-
case 'hex':
|
542
|
-
return this.parent.hexSlice(start, end);
|
543
|
-
|
544
|
-
case 'utf8':
|
545
|
-
case 'utf-8':
|
546
|
-
return this.parent.utf8Slice(start, end);
|
547
|
-
|
548
|
-
case 'ascii':
|
549
|
-
return this.parent.asciiSlice(start, end);
|
550
|
-
|
551
|
-
case 'binary':
|
552
|
-
return this.parent.binarySlice(start, end);
|
553
|
-
|
554
|
-
case 'base64':
|
555
|
-
return this.parent.base64Slice(start, end);
|
556
|
-
|
557
|
-
case 'ucs2':
|
558
|
-
case 'ucs-2':
|
559
|
-
return this.parent.ucs2Slice(start, end);
|
560
|
-
|
561
|
-
default:
|
562
|
-
throw new Error('Unknown encoding');
|
563
|
-
}
|
564
|
-
};
|
565
|
-
|
566
|
-
|
567
|
-
// byteLength
|
568
|
-
Buffer.byteLength = SlowBuffer.byteLength;
|
569
|
-
|
570
|
-
|
571
|
-
// fill(value, start=0, end=buffer.length)
|
572
|
-
Buffer.prototype.fill = function fill(value, start, end) {
|
573
|
-
value || (value = 0);
|
574
|
-
start || (start = 0);
|
575
|
-
end || (end = this.length);
|
576
|
-
|
577
|
-
if (typeof value === 'string') {
|
578
|
-
value = value.charCodeAt(0);
|
579
|
-
}
|
580
|
-
if (!(typeof value === 'number') || isNaN(value)) {
|
581
|
-
throw new Error('value is not a number');
|
582
|
-
}
|
583
|
-
|
584
|
-
if (end < start) throw new Error('end < start');
|
585
|
-
|
586
|
-
// Fill 0 bytes; we're done
|
587
|
-
if (end === start) return 0;
|
588
|
-
if (this.length == 0) return 0;
|
589
|
-
|
590
|
-
if (start < 0 || start >= this.length) {
|
591
|
-
throw new Error('start out of bounds');
|
592
|
-
}
|
593
|
-
|
594
|
-
if (end < 0 || end > this.length) {
|
595
|
-
throw new Error('end out of bounds');
|
596
|
-
}
|
597
|
-
|
598
|
-
return this.parent.fill(value,
|
599
|
-
start + this.offset,
|
600
|
-
end + this.offset);
|
601
|
-
};
|
602
|
-
|
603
|
-
|
604
|
-
// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)
|
605
|
-
Buffer.prototype.copy = function(target, target_start, start, end) {
|
606
|
-
var source = this;
|
607
|
-
start || (start = 0);
|
608
|
-
end || (end = this.length);
|
609
|
-
target_start || (target_start = 0);
|
610
|
-
|
611
|
-
if (end < start) throw new Error('sourceEnd < sourceStart');
|
612
|
-
|
613
|
-
// Copy 0 bytes; we're done
|
614
|
-
if (end === start) return 0;
|
615
|
-
if (target.length == 0 || source.length == 0) return 0;
|
616
|
-
|
617
|
-
if (target_start < 0 || target_start >= target.length) {
|
618
|
-
throw new Error('targetStart out of bounds');
|
619
|
-
}
|
620
|
-
|
621
|
-
if (start < 0 || start >= source.length) {
|
622
|
-
throw new Error('sourceStart out of bounds');
|
623
|
-
}
|
624
|
-
|
625
|
-
if (end < 0 || end > source.length) {
|
626
|
-
throw new Error('sourceEnd out of bounds');
|
627
|
-
}
|
628
|
-
|
629
|
-
// Are we oob?
|
630
|
-
if (end > this.length) {
|
631
|
-
end = this.length;
|
632
|
-
}
|
633
|
-
|
634
|
-
if (target.length - target_start < end - start) {
|
635
|
-
end = target.length - target_start + start;
|
636
|
-
}
|
637
|
-
|
638
|
-
return this.parent.copy(target.parent,
|
639
|
-
target_start + target.offset,
|
640
|
-
start + this.offset,
|
641
|
-
end + this.offset);
|
642
|
-
};
|
643
|
-
|
644
|
-
|
645
|
-
// slice(start, end)
|
646
|
-
Buffer.prototype.slice = function(start, end) {
|
647
|
-
if (end === undefined) end = this.length;
|
648
|
-
if (end > this.length) throw new Error('oob');
|
649
|
-
if (start > end) throw new Error('oob');
|
650
|
-
|
651
|
-
return new Buffer(this.parent, end - start, +start + this.offset);
|
652
|
-
};
|
653
|
-
|
654
|
-
|
655
|
-
// Legacy methods for backwards compatibility.
|
656
|
-
|
657
|
-
Buffer.prototype.utf8Slice = function(start, end) {
|
658
|
-
return this.toString('utf8', start, end);
|
659
|
-
};
|
660
|
-
|
661
|
-
Buffer.prototype.binarySlice = function(start, end) {
|
662
|
-
return this.toString('binary', start, end);
|
663
|
-
};
|
664
|
-
|
665
|
-
Buffer.prototype.asciiSlice = function(start, end) {
|
666
|
-
return this.toString('ascii', start, end);
|
667
|
-
};
|
668
|
-
|
669
|
-
Buffer.prototype.utf8Write = function(string, offset) {
|
670
|
-
return this.write(string, offset, 'utf8');
|
671
|
-
};
|
672
|
-
|
673
|
-
Buffer.prototype.binaryWrite = function(string, offset) {
|
674
|
-
return this.write(string, offset, 'binary');
|
675
|
-
};
|
676
|
-
|
677
|
-
Buffer.prototype.asciiWrite = function(string, offset) {
|
678
|
-
return this.write(string, offset, 'ascii');
|
679
|
-
};
|
680
|
-
|
681
|
-
Buffer.prototype.readUInt8 = function(offset, noAssert) {
|
682
|
-
var buffer = this;
|
683
|
-
|
684
|
-
if (!noAssert) {
|
685
|
-
assert.ok(offset !== undefined && offset !== null,
|
686
|
-
'missing offset');
|
687
|
-
|
688
|
-
assert.ok(offset < buffer.length,
|
689
|
-
'Trying to read beyond buffer length');
|
690
|
-
}
|
691
|
-
|
692
|
-
return buffer.parent[buffer.offset + offset];
|
693
|
-
};
|
694
|
-
|
695
|
-
function readUInt16(buffer, offset, isBigEndian, noAssert) {
|
696
|
-
var val = 0;
|
697
|
-
|
698
|
-
|
699
|
-
if (!noAssert) {
|
700
|
-
assert.ok(typeof (isBigEndian) === 'boolean',
|
701
|
-
'missing or invalid endian');
|
702
|
-
|
703
|
-
assert.ok(offset !== undefined && offset !== null,
|
704
|
-
'missing offset');
|
705
|
-
|
706
|
-
assert.ok(offset + 1 < buffer.length,
|
707
|
-
'Trying to read beyond buffer length');
|
708
|
-
}
|
709
|
-
|
710
|
-
if (isBigEndian) {
|
711
|
-
val = buffer.parent[buffer.offset + offset] << 8;
|
712
|
-
val |= buffer.parent[buffer.offset + offset + 1];
|
713
|
-
} else {
|
714
|
-
val = buffer.parent[buffer.offset + offset];
|
715
|
-
val |= buffer.parent[buffer.offset + offset + 1] << 8;
|
716
|
-
}
|
717
|
-
|
718
|
-
return val;
|
719
|
-
}
|
720
|
-
|
721
|
-
Buffer.prototype.readUInt16LE = function(offset, noAssert) {
|
722
|
-
return readUInt16(this, offset, false, noAssert);
|
723
|
-
};
|
724
|
-
|
725
|
-
Buffer.prototype.readUInt16BE = function(offset, noAssert) {
|
726
|
-
return readUInt16(this, offset, true, noAssert);
|
727
|
-
};
|
728
|
-
|
729
|
-
function readUInt32(buffer, offset, isBigEndian, noAssert) {
|
730
|
-
var val = 0;
|
731
|
-
|
732
|
-
if (!noAssert) {
|
733
|
-
assert.ok(typeof (isBigEndian) === 'boolean',
|
734
|
-
'missing or invalid endian');
|
735
|
-
|
736
|
-
assert.ok(offset !== undefined && offset !== null,
|
737
|
-
'missing offset');
|
738
|
-
|
739
|
-
assert.ok(offset + 3 < buffer.length,
|
740
|
-
'Trying to read beyond buffer length');
|
741
|
-
}
|
742
|
-
|
743
|
-
if (isBigEndian) {
|
744
|
-
val = buffer.parent[buffer.offset + offset + 1] << 16;
|
745
|
-
val |= buffer.parent[buffer.offset + offset + 2] << 8;
|
746
|
-
val |= buffer.parent[buffer.offset + offset + 3];
|
747
|
-
val = val + (buffer.parent[buffer.offset + offset] << 24 >>> 0);
|
748
|
-
} else {
|
749
|
-
val = buffer.parent[buffer.offset + offset + 2] << 16;
|
750
|
-
val |= buffer.parent[buffer.offset + offset + 1] << 8;
|
751
|
-
val |= buffer.parent[buffer.offset + offset];
|
752
|
-
val = val + (buffer.parent[buffer.offset + offset + 3] << 24 >>> 0);
|
753
|
-
}
|
754
|
-
|
755
|
-
return val;
|
756
|
-
}
|
757
|
-
|
758
|
-
Buffer.prototype.readUInt32LE = function(offset, noAssert) {
|
759
|
-
return readUInt32(this, offset, false, noAssert);
|
760
|
-
};
|
761
|
-
|
762
|
-
Buffer.prototype.readUInt32BE = function(offset, noAssert) {
|
763
|
-
return readUInt32(this, offset, true, noAssert);
|
764
|
-
};
|
765
|
-
|
766
|
-
|
767
|
-
/*
|
768
|
-
* Signed integer types, yay team! A reminder on how two's complement actually
|
769
|
-
* works. The first bit is the signed bit, i.e. tells us whether or not the
|
770
|
-
* number should be positive or negative. If the two's complement value is
|
771
|
-
* positive, then we're done, as it's equivalent to the unsigned representation.
|
772
|
-
*
|
773
|
-
* Now if the number is positive, you're pretty much done, you can just leverage
|
774
|
-
* the unsigned translations and return those. Unfortunately, negative numbers
|
775
|
-
* aren't quite that straightforward.
|
776
|
-
*
|
777
|
-
* At first glance, one might be inclined to use the traditional formula to
|
778
|
-
* translate binary numbers between the positive and negative values in two's
|
779
|
-
* complement. (Though it doesn't quite work for the most negative value)
|
780
|
-
* Mainly:
|
781
|
-
* - invert all the bits
|
782
|
-
* - add one to the result
|
783
|
-
*
|
784
|
-
* Of course, this doesn't quite work in Javascript. Take for example the value
|
785
|
-
* of -128. This could be represented in 16 bits (big-endian) as 0xff80. But of
|
786
|
-
* course, Javascript will do the following:
|
787
|
-
*
|
788
|
-
* > ~0xff80
|
789
|
-
* -65409
|
790
|
-
*
|
791
|
-
* Whoh there, Javascript, that's not quite right. But wait, according to
|
792
|
-
* Javascript that's perfectly correct. When Javascript ends up seeing the
|
793
|
-
* constant 0xff80, it has no notion that it is actually a signed number. It
|
794
|
-
* assumes that we've input the unsigned value 0xff80. Thus, when it does the
|
795
|
-
* binary negation, it casts it into a signed value, (positive 0xff80). Then
|
796
|
-
* when you perform binary negation on that, it turns it into a negative number.
|
797
|
-
*
|
798
|
-
* Instead, we're going to have to use the following general formula, that works
|
799
|
-
* in a rather Javascript friendly way. I'm glad we don't support this kind of
|
800
|
-
* weird numbering scheme in the kernel.
|
801
|
-
*
|
802
|
-
* (BIT-MAX - (unsigned)val + 1) * -1
|
803
|
-
*
|
804
|
-
* The astute observer, may think that this doesn't make sense for 8-bit numbers
|
805
|
-
* (really it isn't necessary for them). However, when you get 16-bit numbers,
|
806
|
-
* you do. Let's go back to our prior example and see how this will look:
|
807
|
-
*
|
808
|
-
* (0xffff - 0xff80 + 1) * -1
|
809
|
-
* (0x007f + 1) * -1
|
810
|
-
* (0x0080) * -1
|
811
|
-
*/
|
812
|
-
Buffer.prototype.readInt8 = function(offset, noAssert) {
|
813
|
-
var buffer = this;
|
814
|
-
var neg;
|
815
|
-
|
816
|
-
if (!noAssert) {
|
817
|
-
assert.ok(offset !== undefined && offset !== null,
|
818
|
-
'missing offset');
|
819
|
-
|
820
|
-
assert.ok(offset < buffer.length,
|
821
|
-
'Trying to read beyond buffer length');
|
822
|
-
}
|
823
|
-
|
824
|
-
neg = buffer.parent[buffer.offset + offset] & 0x80;
|
825
|
-
if (!neg) {
|
826
|
-
return (buffer.parent[buffer.offset + offset]);
|
827
|
-
}
|
828
|
-
|
829
|
-
return ((0xff - buffer.parent[buffer.offset + offset] + 1) * -1);
|
830
|
-
};
|
831
|
-
|
832
|
-
function readInt16(buffer, offset, isBigEndian, noAssert) {
|
833
|
-
var neg, val;
|
834
|
-
|
835
|
-
if (!noAssert) {
|
836
|
-
assert.ok(typeof (isBigEndian) === 'boolean',
|
837
|
-
'missing or invalid endian');
|
838
|
-
|
839
|
-
assert.ok(offset !== undefined && offset !== null,
|
840
|
-
'missing offset');
|
841
|
-
|
842
|
-
assert.ok(offset + 1 < buffer.length,
|
843
|
-
'Trying to read beyond buffer length');
|
844
|
-
}
|
845
|
-
|
846
|
-
val = readUInt16(buffer, offset, isBigEndian, noAssert);
|
847
|
-
neg = val & 0x8000;
|
848
|
-
if (!neg) {
|
849
|
-
return val;
|
850
|
-
}
|
851
|
-
|
852
|
-
return (0xffff - val + 1) * -1;
|
853
|
-
}
|
854
|
-
|
855
|
-
Buffer.prototype.readInt16LE = function(offset, noAssert) {
|
856
|
-
return readInt16(this, offset, false, noAssert);
|
857
|
-
};
|
858
|
-
|
859
|
-
Buffer.prototype.readInt16BE = function(offset, noAssert) {
|
860
|
-
return readInt16(this, offset, true, noAssert);
|
861
|
-
};
|
862
|
-
|
863
|
-
function readInt32(buffer, offset, isBigEndian, noAssert) {
|
864
|
-
var neg, val;
|
865
|
-
|
866
|
-
if (!noAssert) {
|
867
|
-
assert.ok(typeof (isBigEndian) === 'boolean',
|
868
|
-
'missing or invalid endian');
|
869
|
-
|
870
|
-
assert.ok(offset !== undefined && offset !== null,
|
871
|
-
'missing offset');
|
872
|
-
|
873
|
-
assert.ok(offset + 3 < buffer.length,
|
874
|
-
'Trying to read beyond buffer length');
|
875
|
-
}
|
876
|
-
|
877
|
-
val = readUInt32(buffer, offset, isBigEndian, noAssert);
|
878
|
-
neg = val & 0x80000000;
|
879
|
-
if (!neg) {
|
880
|
-
return (val);
|
881
|
-
}
|
882
|
-
|
883
|
-
return (0xffffffff - val + 1) * -1;
|
884
|
-
}
|
885
|
-
|
886
|
-
Buffer.prototype.readInt32LE = function(offset, noAssert) {
|
887
|
-
return readInt32(this, offset, false, noAssert);
|
888
|
-
};
|
889
|
-
|
890
|
-
Buffer.prototype.readInt32BE = function(offset, noAssert) {
|
891
|
-
return readInt32(this, offset, true, noAssert);
|
892
|
-
};
|
893
|
-
|
894
|
-
function readFloat(buffer, offset, isBigEndian, noAssert) {
|
895
|
-
if (!noAssert) {
|
896
|
-
assert.ok(typeof (isBigEndian) === 'boolean',
|
897
|
-
'missing or invalid endian');
|
898
|
-
|
899
|
-
assert.ok(offset + 3 < buffer.length,
|
900
|
-
'Trying to read beyond buffer length');
|
901
|
-
}
|
902
|
-
|
903
|
-
return require('./buffer_ieee754').readIEEE754(buffer, offset, isBigEndian,
|
904
|
-
23, 4);
|
905
|
-
}
|
906
|
-
|
907
|
-
Buffer.prototype.readFloatLE = function(offset, noAssert) {
|
908
|
-
return readFloat(this, offset, false, noAssert);
|
909
|
-
};
|
910
|
-
|
911
|
-
Buffer.prototype.readFloatBE = function(offset, noAssert) {
|
912
|
-
return readFloat(this, offset, true, noAssert);
|
913
|
-
};
|
914
|
-
|
915
|
-
function readDouble(buffer, offset, isBigEndian, noAssert) {
|
916
|
-
if (!noAssert) {
|
917
|
-
assert.ok(typeof (isBigEndian) === 'boolean',
|
918
|
-
'missing or invalid endian');
|
919
|
-
|
920
|
-
assert.ok(offset + 7 < buffer.length,
|
921
|
-
'Trying to read beyond buffer length');
|
922
|
-
}
|
923
|
-
|
924
|
-
return require('./buffer_ieee754').readIEEE754(buffer, offset, isBigEndian,
|
925
|
-
52, 8);
|
926
|
-
}
|
927
|
-
|
928
|
-
Buffer.prototype.readDoubleLE = function(offset, noAssert) {
|
929
|
-
return readDouble(this, offset, false, noAssert);
|
930
|
-
};
|
931
|
-
|
932
|
-
Buffer.prototype.readDoubleBE = function(offset, noAssert) {
|
933
|
-
return readDouble(this, offset, true, noAssert);
|
934
|
-
};
|
935
|
-
|
936
|
-
|
937
|
-
/*
|
938
|
-
* We have to make sure that the value is a valid integer. This means that it is
|
939
|
-
* non-negative. It has no fractional component and that it does not exceed the
|
940
|
-
* maximum allowed value.
|
941
|
-
*
|
942
|
-
* value The number to check for validity
|
943
|
-
*
|
944
|
-
* max The maximum value
|
945
|
-
*/
|
946
|
-
function verifuint(value, max) {
|
947
|
-
assert.ok(typeof (value) == 'number',
|
948
|
-
'cannot write a non-number as a number');
|
949
|
-
|
950
|
-
assert.ok(value >= 0,
|
951
|
-
'specified a negative value for writing an unsigned value');
|
952
|
-
|
953
|
-
assert.ok(value <= max, 'value is larger than maximum value for type');
|
954
|
-
|
955
|
-
assert.ok(Math.floor(value) === value, 'value has a fractional component');
|
956
|
-
}
|
957
|
-
|
958
|
-
Buffer.prototype.writeUInt8 = function(value, offset, noAssert) {
|
959
|
-
var buffer = this;
|
960
|
-
|
961
|
-
if (!noAssert) {
|
962
|
-
assert.ok(value !== undefined && value !== null,
|
963
|
-
'missing value');
|
964
|
-
|
965
|
-
assert.ok(offset !== undefined && offset !== null,
|
966
|
-
'missing offset');
|
967
|
-
|
968
|
-
assert.ok(offset < buffer.length,
|
969
|
-
'trying to write beyond buffer length');
|
970
|
-
|
971
|
-
verifuint(value, 0xff);
|
972
|
-
}
|
973
|
-
|
974
|
-
buffer.parent[buffer.offset + offset] = value;
|
975
|
-
};
|
976
|
-
|
977
|
-
function writeUInt16(buffer, value, offset, isBigEndian, noAssert) {
|
978
|
-
if (!noAssert) {
|
979
|
-
assert.ok(value !== undefined && value !== null,
|
980
|
-
'missing value');
|
981
|
-
|
982
|
-
assert.ok(typeof (isBigEndian) === 'boolean',
|
983
|
-
'missing or invalid endian');
|
984
|
-
|
985
|
-
assert.ok(offset !== undefined && offset !== null,
|
986
|
-
'missing offset');
|
987
|
-
|
988
|
-
assert.ok(offset + 1 < buffer.length,
|
989
|
-
'trying to write beyond buffer length');
|
990
|
-
|
991
|
-
verifuint(value, 0xffff);
|
992
|
-
}
|
993
|
-
|
994
|
-
if (isBigEndian) {
|
995
|
-
buffer.parent[buffer.offset + offset] = (value & 0xff00) >>> 8;
|
996
|
-
buffer.parent[buffer.offset + offset + 1] = value & 0x00ff;
|
997
|
-
} else {
|
998
|
-
buffer.parent[buffer.offset + offset + 1] = (value & 0xff00) >>> 8;
|
999
|
-
buffer.parent[buffer.offset + offset] = value & 0x00ff;
|
1000
|
-
}
|
1001
|
-
}
|
1002
|
-
|
1003
|
-
Buffer.prototype.writeUInt16LE = function(value, offset, noAssert) {
|
1004
|
-
writeUInt16(this, value, offset, false, noAssert);
|
1005
|
-
};
|
1006
|
-
|
1007
|
-
Buffer.prototype.writeUInt16BE = function(value, offset, noAssert) {
|
1008
|
-
writeUInt16(this, value, offset, true, noAssert);
|
1009
|
-
};
|
1010
|
-
|
1011
|
-
function writeUInt32(buffer, value, offset, isBigEndian, noAssert) {
|
1012
|
-
if (!noAssert) {
|
1013
|
-
assert.ok(value !== undefined && value !== null,
|
1014
|
-
'missing value');
|
1015
|
-
|
1016
|
-
assert.ok(typeof (isBigEndian) === 'boolean',
|
1017
|
-
'missing or invalid endian');
|
1018
|
-
|
1019
|
-
assert.ok(offset !== undefined && offset !== null,
|
1020
|
-
'missing offset');
|
1021
|
-
|
1022
|
-
assert.ok(offset + 3 < buffer.length,
|
1023
|
-
'trying to write beyond buffer length');
|
1024
|
-
|
1025
|
-
verifuint(value, 0xffffffff);
|
1026
|
-
}
|
1027
|
-
|
1028
|
-
if (isBigEndian) {
|
1029
|
-
buffer.parent[buffer.offset + offset] = (value >>> 24) & 0xff;
|
1030
|
-
buffer.parent[buffer.offset + offset + 1] = (value >>> 16) & 0xff;
|
1031
|
-
buffer.parent[buffer.offset + offset + 2] = (value >>> 8) & 0xff;
|
1032
|
-
buffer.parent[buffer.offset + offset + 3] = value & 0xff;
|
1033
|
-
} else {
|
1034
|
-
buffer.parent[buffer.offset + offset + 3] = (value >>> 24) & 0xff;
|
1035
|
-
buffer.parent[buffer.offset + offset + 2] = (value >>> 16) & 0xff;
|
1036
|
-
buffer.parent[buffer.offset + offset + 1] = (value >>> 8) & 0xff;
|
1037
|
-
buffer.parent[buffer.offset + offset] = value & 0xff;
|
1038
|
-
}
|
1039
|
-
}
|
1040
|
-
|
1041
|
-
Buffer.prototype.writeUInt32LE = function(value, offset, noAssert) {
|
1042
|
-
writeUInt32(this, value, offset, false, noAssert);
|
1043
|
-
};
|
1044
|
-
|
1045
|
-
Buffer.prototype.writeUInt32BE = function(value, offset, noAssert) {
|
1046
|
-
writeUInt32(this, value, offset, true, noAssert);
|
1047
|
-
};
|
1048
|
-
|
1049
|
-
|
1050
|
-
/*
|
1051
|
-
* We now move onto our friends in the signed number category. Unlike unsigned
|
1052
|
-
* numbers, we're going to have to worry a bit more about how we put values into
|
1053
|
-
* arrays. Since we are only worrying about signed 32-bit values, we're in
|
1054
|
-
* slightly better shape. Unfortunately, we really can't do our favorite binary
|
1055
|
-
* & in this system. It really seems to do the wrong thing. For example:
|
1056
|
-
*
|
1057
|
-
* > -32 & 0xff
|
1058
|
-
* 224
|
1059
|
-
*
|
1060
|
-
* What's happening above is really: 0xe0 & 0xff = 0xe0. However, the results of
|
1061
|
-
* this aren't treated as a signed number. Ultimately a bad thing.
|
1062
|
-
*
|
1063
|
-
* What we're going to want to do is basically create the unsigned equivalent of
|
1064
|
-
* our representation and pass that off to the wuint* functions. To do that
|
1065
|
-
* we're going to do the following:
|
1066
|
-
*
|
1067
|
-
* - if the value is positive
|
1068
|
-
* we can pass it directly off to the equivalent wuint
|
1069
|
-
* - if the value is negative
|
1070
|
-
* we do the following computation:
|
1071
|
-
* mb + val + 1, where
|
1072
|
-
* mb is the maximum unsigned value in that byte size
|
1073
|
-
* val is the Javascript negative integer
|
1074
|
-
*
|
1075
|
-
*
|
1076
|
-
* As a concrete value, take -128. In signed 16 bits this would be 0xff80. If
|
1077
|
-
* you do out the computations:
|
1078
|
-
*
|
1079
|
-
* 0xffff - 128 + 1
|
1080
|
-
* 0xffff - 127
|
1081
|
-
* 0xff80
|
1082
|
-
*
|
1083
|
-
* You can then encode this value as the signed version. This is really rather
|
1084
|
-
* hacky, but it should work and get the job done which is our goal here.
|
1085
|
-
*/
|
1086
|
-
|
1087
|
-
/*
|
1088
|
-
* A series of checks to make sure we actually have a signed 32-bit number
|
1089
|
-
*/
|
1090
|
-
function verifsint(value, max, min) {
|
1091
|
-
assert.ok(typeof (value) == 'number',
|
1092
|
-
'cannot write a non-number as a number');
|
1093
|
-
|
1094
|
-
assert.ok(value <= max, 'value larger than maximum allowed value');
|
1095
|
-
|
1096
|
-
assert.ok(value >= min, 'value smaller than minimum allowed value');
|
1097
|
-
|
1098
|
-
assert.ok(Math.floor(value) === value, 'value has a fractional component');
|
1099
|
-
}
|
1100
|
-
|
1101
|
-
function verifIEEE754(value, max, min) {
|
1102
|
-
assert.ok(typeof (value) == 'number',
|
1103
|
-
'cannot write a non-number as a number');
|
1104
|
-
|
1105
|
-
assert.ok(value <= max, 'value larger than maximum allowed value');
|
1106
|
-
|
1107
|
-
assert.ok(value >= min, 'value smaller than minimum allowed value');
|
1108
|
-
}
|
1109
|
-
|
1110
|
-
Buffer.prototype.writeInt8 = function(value, offset, noAssert) {
|
1111
|
-
var buffer = this;
|
1112
|
-
|
1113
|
-
if (!noAssert) {
|
1114
|
-
assert.ok(value !== undefined && value !== null,
|
1115
|
-
'missing value');
|
1116
|
-
|
1117
|
-
assert.ok(offset !== undefined && offset !== null,
|
1118
|
-
'missing offset');
|
1119
|
-
|
1120
|
-
assert.ok(offset < buffer.length,
|
1121
|
-
'Trying to write beyond buffer length');
|
1122
|
-
|
1123
|
-
verifsint(value, 0x7f, -0x80);
|
1124
|
-
}
|
1125
|
-
|
1126
|
-
if (value >= 0) {
|
1127
|
-
buffer.writeUInt8(value, offset, noAssert);
|
1128
|
-
} else {
|
1129
|
-
buffer.writeUInt8(0xff + value + 1, offset, noAssert);
|
1130
|
-
}
|
1131
|
-
};
|
1132
|
-
|
1133
|
-
function writeInt16(buffer, value, offset, isBigEndian, noAssert) {
|
1134
|
-
if (!noAssert) {
|
1135
|
-
assert.ok(value !== undefined && value !== null,
|
1136
|
-
'missing value');
|
1137
|
-
|
1138
|
-
assert.ok(typeof (isBigEndian) === 'boolean',
|
1139
|
-
'missing or invalid endian');
|
1140
|
-
|
1141
|
-
assert.ok(offset !== undefined && offset !== null,
|
1142
|
-
'missing offset');
|
1143
|
-
|
1144
|
-
assert.ok(offset + 1 < buffer.length,
|
1145
|
-
'Trying to write beyond buffer length');
|
1146
|
-
|
1147
|
-
verifsint(value, 0x7fff, -0x8000);
|
1148
|
-
}
|
1149
|
-
|
1150
|
-
if (value >= 0) {
|
1151
|
-
writeUInt16(buffer, value, offset, isBigEndian, noAssert);
|
1152
|
-
} else {
|
1153
|
-
writeUInt16(buffer, 0xffff + value + 1, offset, isBigEndian, noAssert);
|
1154
|
-
}
|
1155
|
-
}
|
1156
|
-
|
1157
|
-
Buffer.prototype.writeInt16LE = function(value, offset, noAssert) {
|
1158
|
-
writeInt16(this, value, offset, false, noAssert);
|
1159
|
-
};
|
1160
|
-
|
1161
|
-
Buffer.prototype.writeInt16BE = function(value, offset, noAssert) {
|
1162
|
-
writeInt16(this, value, offset, true, noAssert);
|
1163
|
-
};
|
1164
|
-
|
1165
|
-
function writeInt32(buffer, value, offset, isBigEndian, noAssert) {
|
1166
|
-
if (!noAssert) {
|
1167
|
-
assert.ok(value !== undefined && value !== null,
|
1168
|
-
'missing value');
|
1169
|
-
|
1170
|
-
assert.ok(typeof (isBigEndian) === 'boolean',
|
1171
|
-
'missing or invalid endian');
|
1172
|
-
|
1173
|
-
assert.ok(offset !== undefined && offset !== null,
|
1174
|
-
'missing offset');
|
1175
|
-
|
1176
|
-
assert.ok(offset + 3 < buffer.length,
|
1177
|
-
'Trying to write beyond buffer length');
|
1178
|
-
|
1179
|
-
verifsint(value, 0x7fffffff, -0x80000000);
|
1180
|
-
}
|
1181
|
-
|
1182
|
-
if (value >= 0) {
|
1183
|
-
writeUInt32(buffer, value, offset, isBigEndian, noAssert);
|
1184
|
-
} else {
|
1185
|
-
writeUInt32(buffer, 0xffffffff + value + 1, offset, isBigEndian, noAssert);
|
1186
|
-
}
|
1187
|
-
}
|
1188
|
-
|
1189
|
-
Buffer.prototype.writeInt32LE = function(value, offset, noAssert) {
|
1190
|
-
writeInt32(this, value, offset, false, noAssert);
|
1191
|
-
};
|
1192
|
-
|
1193
|
-
Buffer.prototype.writeInt32BE = function(value, offset, noAssert) {
|
1194
|
-
writeInt32(this, value, offset, true, noAssert);
|
1195
|
-
};
|
1196
|
-
|
1197
|
-
function writeFloat(buffer, value, offset, isBigEndian, noAssert) {
|
1198
|
-
if (!noAssert) {
|
1199
|
-
assert.ok(value !== undefined && value !== null,
|
1200
|
-
'missing value');
|
1201
|
-
|
1202
|
-
assert.ok(typeof (isBigEndian) === 'boolean',
|
1203
|
-
'missing or invalid endian');
|
1204
|
-
|
1205
|
-
assert.ok(offset !== undefined && offset !== null,
|
1206
|
-
'missing offset');
|
1207
|
-
|
1208
|
-
assert.ok(offset + 3 < buffer.length,
|
1209
|
-
'Trying to write beyond buffer length');
|
1210
|
-
|
1211
|
-
verifIEEE754(value, 3.4028234663852886e+38, -3.4028234663852886e+38);
|
1212
|
-
}
|
1213
|
-
|
1214
|
-
require('./buffer_ieee754').writeIEEE754(buffer, value, offset, isBigEndian,
|
1215
|
-
23, 4);
|
1216
|
-
}
|
1217
|
-
|
1218
|
-
Buffer.prototype.writeFloatLE = function(value, offset, noAssert) {
|
1219
|
-
writeFloat(this, value, offset, false, noAssert);
|
1220
|
-
};
|
1221
|
-
|
1222
|
-
Buffer.prototype.writeFloatBE = function(value, offset, noAssert) {
|
1223
|
-
writeFloat(this, value, offset, true, noAssert);
|
1224
|
-
};
|
1225
|
-
|
1226
|
-
function writeDouble(buffer, value, offset, isBigEndian, noAssert) {
|
1227
|
-
if (!noAssert) {
|
1228
|
-
assert.ok(value !== undefined && value !== null,
|
1229
|
-
'missing value');
|
1230
|
-
|
1231
|
-
assert.ok(typeof (isBigEndian) === 'boolean',
|
1232
|
-
'missing or invalid endian');
|
1233
|
-
|
1234
|
-
assert.ok(offset !== undefined && offset !== null,
|
1235
|
-
'missing offset');
|
1236
|
-
|
1237
|
-
assert.ok(offset + 7 < buffer.length,
|
1238
|
-
'Trying to write beyond buffer length');
|
1239
|
-
|
1240
|
-
verifIEEE754(value, 1.7976931348623157E+308, -1.7976931348623157E+308);
|
1241
|
-
}
|
1242
|
-
|
1243
|
-
require('./buffer_ieee754').writeIEEE754(buffer, value, offset, isBigEndian,
|
1244
|
-
52, 8);
|
1245
|
-
}
|
1246
|
-
|
1247
|
-
Buffer.prototype.writeDoubleLE = function(value, offset, noAssert) {
|
1248
|
-
writeDouble(this, value, offset, false, noAssert);
|
1249
|
-
};
|
1250
|
-
|
1251
|
-
Buffer.prototype.writeDoubleBE = function(value, offset, noAssert) {
|
1252
|
-
writeDouble(this, value, offset, true, noAssert);
|
1253
|
-
};
|
1254
|
-
|
1255
|
-
SlowBuffer.prototype.readUInt8 = Buffer.prototype.readUInt8;
|
1256
|
-
SlowBuffer.prototype.readUInt16LE = Buffer.prototype.readUInt16LE;
|
1257
|
-
SlowBuffer.prototype.readUInt16BE = Buffer.prototype.readUInt16BE;
|
1258
|
-
SlowBuffer.prototype.readUInt32LE = Buffer.prototype.readUInt32LE;
|
1259
|
-
SlowBuffer.prototype.readUInt32BE = Buffer.prototype.readUInt32BE;
|
1260
|
-
SlowBuffer.prototype.readInt8 = Buffer.prototype.readInt8;
|
1261
|
-
SlowBuffer.prototype.readInt16LE = Buffer.prototype.readInt16LE;
|
1262
|
-
SlowBuffer.prototype.readInt16BE = Buffer.prototype.readInt16BE;
|
1263
|
-
SlowBuffer.prototype.readInt32LE = Buffer.prototype.readInt32LE;
|
1264
|
-
SlowBuffer.prototype.readInt32BE = Buffer.prototype.readInt32BE;
|
1265
|
-
SlowBuffer.prototype.readFloatLE = Buffer.prototype.readFloatLE;
|
1266
|
-
SlowBuffer.prototype.readFloatBE = Buffer.prototype.readFloatBE;
|
1267
|
-
SlowBuffer.prototype.readDoubleLE = Buffer.prototype.readDoubleLE;
|
1268
|
-
SlowBuffer.prototype.readDoubleBE = Buffer.prototype.readDoubleBE;
|
1269
|
-
SlowBuffer.prototype.writeUInt8 = Buffer.prototype.writeUInt8;
|
1270
|
-
SlowBuffer.prototype.writeUInt16LE = Buffer.prototype.writeUInt16LE;
|
1271
|
-
SlowBuffer.prototype.writeUInt16BE = Buffer.prototype.writeUInt16BE;
|
1272
|
-
SlowBuffer.prototype.writeUInt32LE = Buffer.prototype.writeUInt32LE;
|
1273
|
-
SlowBuffer.prototype.writeUInt32BE = Buffer.prototype.writeUInt32BE;
|
1274
|
-
SlowBuffer.prototype.writeInt8 = Buffer.prototype.writeInt8;
|
1275
|
-
SlowBuffer.prototype.writeInt16LE = Buffer.prototype.writeInt16LE;
|
1276
|
-
SlowBuffer.prototype.writeInt16BE = Buffer.prototype.writeInt16BE;
|
1277
|
-
SlowBuffer.prototype.writeInt32LE = Buffer.prototype.writeInt32LE;
|
1278
|
-
SlowBuffer.prototype.writeInt32BE = Buffer.prototype.writeInt32BE;
|
1279
|
-
SlowBuffer.prototype.writeFloatLE = Buffer.prototype.writeFloatLE;
|
1280
|
-
SlowBuffer.prototype.writeFloatBE = Buffer.prototype.writeFloatBE;
|
1281
|
-
SlowBuffer.prototype.writeDoubleLE = Buffer.prototype.writeDoubleLE;
|
1282
|
-
SlowBuffer.prototype.writeDoubleBE = Buffer.prototype.writeDoubleBE;
|