brwy_rails 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/Rakefile +8 -0
- data/lib/brwy_rails/middleware.rb +54 -0
- data/lib/brwy_rails/railtie.rb +21 -0
- data/lib/brwy_rails/runner.rb +75 -0
- data/lib/brwy_rails/version.rb +3 -0
- data/lib/brwy_rails.rb +5 -0
- data/lib/tasks/bywy_rails_tasks.rake +17 -0
- data/test/brwy_rails_test.rb +7 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +1 -0
- data/test/dummy/app/assets/javascripts/sub.js +1 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/controllers/home_controller.rb +4 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/home/index.html +1 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/config/application.rb +22 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +42 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +56 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +1367 -0
- data/test/dummy/log/production.log +0 -0
- data/test/dummy/node_modules/JSONStream/LICENSE.APACHE2 +15 -0
- data/test/dummy/node_modules/JSONStream/LICENSE.MIT +24 -0
- data/test/dummy/node_modules/JSONStream/examples/all_docs.js +13 -0
- data/test/dummy/node_modules/JSONStream/index.js +209 -0
- data/test/dummy/node_modules/JSONStream/package.json +104 -0
- data/test/dummy/node_modules/JSONStream/readme.markdown +188 -0
- data/test/dummy/node_modules/JSONStream/test/bool.js +41 -0
- data/test/dummy/node_modules/JSONStream/test/browser.js +18 -0
- data/test/dummy/node_modules/JSONStream/test/destroy_missing.js +27 -0
- data/test/dummy/node_modules/JSONStream/test/disabled/doubledot1.js +29 -0
- data/test/dummy/node_modules/JSONStream/test/disabled/doubledot2.js +29 -0
- data/test/dummy/node_modules/JSONStream/test/empty.js +44 -0
- data/test/dummy/node_modules/JSONStream/test/fixtures/all_npm.json +4030 -0
- data/test/dummy/node_modules/JSONStream/test/fixtures/couch_sample.json +18 -0
- data/test/dummy/node_modules/JSONStream/test/fixtures/depth.json +15 -0
- data/test/dummy/node_modules/JSONStream/test/fn.js +39 -0
- data/test/dummy/node_modules/JSONStream/test/gen.js +135 -0
- data/test/dummy/node_modules/JSONStream/test/issues.js +20 -0
- data/test/dummy/node_modules/JSONStream/test/keys.js +85 -0
- data/test/dummy/node_modules/JSONStream/test/map.js +40 -0
- data/test/dummy/node_modules/JSONStream/test/multiple_objects.js +36 -0
- data/test/dummy/node_modules/JSONStream/test/multiple_objects_error.js +29 -0
- data/test/dummy/node_modules/JSONStream/test/null.js +28 -0
- data/test/dummy/node_modules/JSONStream/test/parsejson.js +28 -0
- data/test/dummy/node_modules/JSONStream/test/stringify.js +41 -0
- data/test/dummy/node_modules/JSONStream/test/stringify_object.js +47 -0
- data/test/dummy/node_modules/JSONStream/test/test.js +35 -0
- data/test/dummy/node_modules/JSONStream/test/test2.js +29 -0
- data/test/dummy/node_modules/JSONStream/test/two-ways.js +41 -0
- data/test/dummy/node_modules/acorn/AUTHORS +38 -0
- data/test/dummy/node_modules/acorn/LICENSE +19 -0
- data/test/dummy/node_modules/acorn/README.md +377 -0
- data/test/dummy/node_modules/acorn/bin/acorn +54 -0
- data/test/dummy/node_modules/acorn/bin/build-acorn.js +51 -0
- data/test/dummy/node_modules/acorn/bin/generate-identifier-regex.js +47 -0
- data/test/dummy/node_modules/acorn/bin/prepublish.sh +2 -0
- data/test/dummy/node_modules/acorn/bin/update_authors.sh +6 -0
- data/test/dummy/node_modules/acorn/bin/without_eval +48 -0
- data/test/dummy/node_modules/acorn/dist/acorn.js +4014 -0
- data/test/dummy/node_modules/acorn/dist/acorn_csp.js +3985 -0
- data/test/dummy/node_modules/acorn/dist/acorn_loose.js +1298 -0
- data/test/dummy/node_modules/acorn/dist/walk.js +342 -0
- data/test/dummy/node_modules/acorn/package.json +194 -0
- data/test/dummy/node_modules/acorn/src/expression.js +697 -0
- data/test/dummy/node_modules/acorn/src/identifier.js +129 -0
- data/test/dummy/node_modules/acorn/src/index.js +75 -0
- data/test/dummy/node_modules/acorn/src/location.js +68 -0
- data/test/dummy/node_modules/acorn/src/loose/acorn_loose.js +0 -0
- data/test/dummy/node_modules/acorn/src/loose/expression.js +511 -0
- data/test/dummy/node_modules/acorn/src/loose/index.js +50 -0
- data/test/dummy/node_modules/acorn/src/loose/parseutil.js +126 -0
- data/test/dummy/node_modules/acorn/src/loose/state.js +17 -0
- data/test/dummy/node_modules/acorn/src/loose/statement.js +419 -0
- data/test/dummy/node_modules/acorn/src/loose/tokenize.js +108 -0
- data/test/dummy/node_modules/acorn/src/lval.js +213 -0
- data/test/dummy/node_modules/acorn/src/node.js +70 -0
- data/test/dummy/node_modules/acorn/src/options.js +119 -0
- data/test/dummy/node_modules/acorn/src/parseutil.js +89 -0
- data/test/dummy/node_modules/acorn/src/state.js +78 -0
- data/test/dummy/node_modules/acorn/src/statement.js +594 -0
- data/test/dummy/node_modules/acorn/src/tokencontext.js +107 -0
- data/test/dummy/node_modules/acorn/src/tokenize.js +672 -0
- data/test/dummy/node_modules/acorn/src/tokentype.js +142 -0
- data/test/dummy/node_modules/acorn/src/util.js +9 -0
- data/test/dummy/node_modules/acorn/src/walk/index.js +291 -0
- data/test/dummy/node_modules/acorn/src/whitespace.js +12 -0
- data/test/dummy/node_modules/anymatch/LICENSE +15 -0
- data/test/dummy/node_modules/anymatch/README.md +91 -0
- data/test/dummy/node_modules/anymatch/index.js +64 -0
- data/test/dummy/node_modules/anymatch/package.json +96 -0
- data/test/dummy/node_modules/arr-diff/LICENSE +21 -0
- data/test/dummy/node_modules/arr-diff/README.md +74 -0
- data/test/dummy/node_modules/arr-diff/index.js +58 -0
- data/test/dummy/node_modules/arr-diff/package.json +111 -0
- data/test/dummy/node_modules/arr-flatten/LICENSE +21 -0
- data/test/dummy/node_modules/arr-flatten/README.md +73 -0
- data/test/dummy/node_modules/arr-flatten/index.js +27 -0
- data/test/dummy/node_modules/arr-flatten/package.json +100 -0
- data/test/dummy/node_modules/array-filter/README.md +54 -0
- data/test/dummy/node_modules/array-filter/index.js +19 -0
- data/test/dummy/node_modules/array-filter/package.json +96 -0
- data/test/dummy/node_modules/array-filter/test/filter.js +12 -0
- data/test/dummy/node_modules/array-filter/test/holes.js +12 -0
- data/test/dummy/node_modules/array-map/LICENSE +18 -0
- data/test/dummy/node_modules/array-map/example/map.js +5 -0
- data/test/dummy/node_modules/array-map/index.js +11 -0
- data/test/dummy/node_modules/array-map/package.json +100 -0
- data/test/dummy/node_modules/array-map/readme.markdown +46 -0
- data/test/dummy/node_modules/array-map/test/map.js +77 -0
- data/test/dummy/node_modules/array-reduce/LICENSE +18 -0
- data/test/dummy/node_modules/array-reduce/example/sum.js +4 -0
- data/test/dummy/node_modules/array-reduce/index.js +18 -0
- data/test/dummy/node_modules/array-reduce/package.json +99 -0
- data/test/dummy/node_modules/array-reduce/readme.markdown +46 -0
- data/test/dummy/node_modules/array-reduce/test/reduce.js +85 -0
- data/test/dummy/node_modules/array-unique/LICENSE +21 -0
- data/test/dummy/node_modules/array-unique/README.md +51 -0
- data/test/dummy/node_modules/array-unique/index.js +28 -0
- data/test/dummy/node_modules/array-unique/package.json +86 -0
- data/test/dummy/node_modules/arrify/index.js +8 -0
- data/test/dummy/node_modules/arrify/license +21 -0
- data/test/dummy/node_modules/arrify/package.json +89 -0
- data/test/dummy/node_modules/arrify/readme.md +36 -0
- data/test/dummy/node_modules/asn1.js/README.md +100 -0
- data/test/dummy/node_modules/asn1.js/lib/asn1/api.js +59 -0
- data/test/dummy/node_modules/asn1.js/lib/asn1/base/buffer.js +116 -0
- data/test/dummy/node_modules/asn1.js/lib/asn1/base/index.js +6 -0
- data/test/dummy/node_modules/asn1.js/lib/asn1/base/node.js +621 -0
- data/test/dummy/node_modules/asn1.js/lib/asn1/base/reporter.js +102 -0
- data/test/dummy/node_modules/asn1.js/lib/asn1/constants/der.js +42 -0
- data/test/dummy/node_modules/asn1.js/lib/asn1/constants/index.js +19 -0
- data/test/dummy/node_modules/asn1.js/lib/asn1/decoders/der.js +321 -0
- data/test/dummy/node_modules/asn1.js/lib/asn1/decoders/index.js +4 -0
- data/test/dummy/node_modules/asn1.js/lib/asn1/decoders/pem.js +50 -0
- data/test/dummy/node_modules/asn1.js/lib/asn1/encoders/der.js +294 -0
- data/test/dummy/node_modules/asn1.js/lib/asn1/encoders/index.js +4 -0
- data/test/dummy/node_modules/asn1.js/lib/asn1/encoders/pem.js +23 -0
- data/test/dummy/node_modules/asn1.js/lib/asn1.js +9 -0
- data/test/dummy/node_modules/asn1.js/package.json +89 -0
- data/test/dummy/node_modules/asn1.js/rfc/2560/index.js +149 -0
- data/test/dummy/node_modules/asn1.js/rfc/2560/package.json +27 -0
- data/test/dummy/node_modules/asn1.js/rfc/2560/test/basic-test.js +50 -0
- data/test/dummy/node_modules/asn1.js/rfc/5280/index.js +878 -0
- data/test/dummy/node_modules/asn1.js/rfc/5280/package.json +24 -0
- data/test/dummy/node_modules/asn1.js/rfc/5280/test/basic-test.js +105 -0
- data/test/dummy/node_modules/asn1.js/rfc/5280/test/fixtures/cert1.crt +0 -0
- data/test/dummy/node_modules/asn1.js/rfc/5280/test/fixtures/cert2.crt +0 -0
- data/test/dummy/node_modules/asn1.js/rfc/5280/test/fixtures/cert3.crt +0 -0
- data/test/dummy/node_modules/asn1.js/rfc/5280/test/fixtures/cert4.crt +0 -0
- data/test/dummy/node_modules/asn1.js/rfc/5280/test/fixtures/cert5.crt +0 -0
- data/test/dummy/node_modules/asn1.js/rfc/5280/test/fixtures/cert6.crt +0 -0
- data/test/dummy/node_modules/asn1.js/test/der-decode-test.js +149 -0
- data/test/dummy/node_modules/asn1.js/test/der-encode-test.js +133 -0
- data/test/dummy/node_modules/asn1.js/test/error-test.js +222 -0
- data/test/dummy/node_modules/asn1.js/test/fixtures.js +7 -0
- data/test/dummy/node_modules/asn1.js/test/pem-test.js +54 -0
- data/test/dummy/node_modules/asn1.js/test/ping-pong-test.js +170 -0
- data/test/dummy/node_modules/asn1.js/test/use-test.js +128 -0
- data/test/dummy/node_modules/assert/LICENSE +18 -0
- data/test/dummy/node_modules/assert/README.md +64 -0
- data/test/dummy/node_modules/assert/assert.js +359 -0
- data/test/dummy/node_modules/assert/package.json +80 -0
- data/test/dummy/node_modules/assert/test.js +343 -0
- data/test/dummy/node_modules/ast-types/LICENSE +20 -0
- data/test/dummy/node_modules/ast-types/README.md +489 -0
- data/test/dummy/node_modules/ast-types/def/babel.js +105 -0
- data/test/dummy/node_modules/ast-types/def/core.js +367 -0
- data/test/dummy/node_modules/ast-types/def/e4x.js +84 -0
- data/test/dummy/node_modules/ast-types/def/es6.js +217 -0
- data/test/dummy/node_modules/ast-types/def/es7.js +36 -0
- data/test/dummy/node_modules/ast-types/def/esprima.js +96 -0
- data/test/dummy/node_modules/ast-types/def/flow.js +269 -0
- data/test/dummy/node_modules/ast-types/def/jsx.js +100 -0
- data/test/dummy/node_modules/ast-types/def/mozilla.js +49 -0
- data/test/dummy/node_modules/ast-types/lib/equiv.js +184 -0
- data/test/dummy/node_modules/ast-types/lib/node-path.js +474 -0
- data/test/dummy/node_modules/ast-types/lib/path-visitor.js +419 -0
- data/test/dummy/node_modules/ast-types/lib/path.js +366 -0
- data/test/dummy/node_modules/ast-types/lib/scope.js +330 -0
- data/test/dummy/node_modules/ast-types/lib/shared.js +41 -0
- data/test/dummy/node_modules/ast-types/lib/types.js +828 -0
- data/test/dummy/node_modules/ast-types/main.js +34 -0
- data/test/dummy/node_modules/ast-types/package.json +100 -0
- data/test/dummy/node_modules/astw/LICENSE +18 -0
- data/test/dummy/node_modules/astw/example/types.js +8 -0
- data/test/dummy/node_modules/astw/index.js +51 -0
- data/test/dummy/node_modules/astw/package.json +96 -0
- data/test/dummy/node_modules/astw/readme.markdown +52 -0
- data/test/dummy/node_modules/astw/test/json.js +13 -0
- data/test/dummy/node_modules/astw/test/parent.js +25 -0
- data/test/dummy/node_modules/async-each/CHANGELOG.md +23 -0
- data/test/dummy/node_modules/async-each/README.md +64 -0
- data/test/dummy/node_modules/async-each/bower.json +22 -0
- data/test/dummy/node_modules/async-each/component.json +18 -0
- data/test/dummy/node_modules/async-each/index.js +38 -0
- data/test/dummy/node_modules/async-each/package.json +89 -0
- data/test/dummy/node_modules/async-each/test.js +13 -0
- data/test/dummy/node_modules/balanced-match/LICENSE.md +21 -0
- data/test/dummy/node_modules/balanced-match/Makefile +6 -0
- data/test/dummy/node_modules/balanced-match/README.md +89 -0
- data/test/dummy/node_modules/balanced-match/example.js +5 -0
- data/test/dummy/node_modules/balanced-match/index.js +50 -0
- data/test/dummy/node_modules/balanced-match/package.json +98 -0
- data/test/dummy/node_modules/balanced-match/test/balanced.js +84 -0
- data/test/dummy/node_modules/base64-js/LICENSE.MIT +21 -0
- data/test/dummy/node_modules/base64-js/README.md +31 -0
- data/test/dummy/node_modules/base64-js/base64js.min.js +1 -0
- data/test/dummy/node_modules/base64-js/bower.json +33 -0
- data/test/dummy/node_modules/base64-js/lib/b64.js +109 -0
- data/test/dummy/node_modules/base64-js/package.json +87 -0
- data/test/dummy/node_modules/base64-js/test/big-data.js +24 -0
- data/test/dummy/node_modules/base64-js/test/convert.js +47 -0
- data/test/dummy/node_modules/base64-js/test/url-safe.js +18 -0
- data/test/dummy/node_modules/binary-extensions/binary-extensions.json +188 -0
- data/test/dummy/node_modules/binary-extensions/license +21 -0
- data/test/dummy/node_modules/binary-extensions/package.json +104 -0
- data/test/dummy/node_modules/binary-extensions/readme.md +33 -0
- data/test/dummy/node_modules/bn.js/README.md +219 -0
- data/test/dummy/node_modules/bn.js/lib/bn.js +3419 -0
- data/test/dummy/node_modules/bn.js/package.json +104 -0
- data/test/dummy/node_modules/bn.js/test/arithmetic-test.js +635 -0
- data/test/dummy/node_modules/bn.js/test/binary-test.js +228 -0
- data/test/dummy/node_modules/bn.js/test/constructor-test.js +149 -0
- data/test/dummy/node_modules/bn.js/test/fixtures.js +264 -0
- data/test/dummy/node_modules/bn.js/test/pummel/dh-group-test.js +23 -0
- data/test/dummy/node_modules/bn.js/test/red-test.js +263 -0
- data/test/dummy/node_modules/bn.js/test/utils-test.js +345 -0
- data/test/dummy/node_modules/bn.js/util/genCombMulTo.js +65 -0
- data/test/dummy/node_modules/bn.js/util/genCombMulTo10.js +64 -0
- data/test/dummy/node_modules/brace-expansion/README.md +122 -0
- data/test/dummy/node_modules/brace-expansion/example.js +8 -0
- data/test/dummy/node_modules/brace-expansion/index.js +191 -0
- data/test/dummy/node_modules/brace-expansion/package.json +105 -0
- data/test/dummy/node_modules/braces/LICENSE +21 -0
- data/test/dummy/node_modules/braces/README.md +248 -0
- data/test/dummy/node_modules/braces/index.js +399 -0
- data/test/dummy/node_modules/braces/package.json +149 -0
- data/test/dummy/node_modules/brorand/README.md +26 -0
- data/test/dummy/node_modules/brorand/index.js +57 -0
- data/test/dummy/node_modules/brorand/package.json +81 -0
- data/test/dummy/node_modules/brorand/test/api-test.js +8 -0
- data/test/dummy/node_modules/browser-pack/LICENSE +18 -0
- data/test/dummy/node_modules/browser-pack/_prelude.js +1 -0
- data/test/dummy/node_modules/browser-pack/bin/cmd.js +4 -0
- data/test/dummy/node_modules/browser-pack/bin/prepublish.js +8 -0
- data/test/dummy/node_modules/browser-pack/example/input.json +13 -0
- data/test/dummy/node_modules/browser-pack/example/output.js +1 -0
- data/test/dummy/node_modules/browser-pack/example/sourcemap/input.json +15 -0
- data/test/dummy/node_modules/browser-pack/example/sourcemap/output.js +6 -0
- data/test/dummy/node_modules/browser-pack/index.js +121 -0
- data/test/dummy/node_modules/browser-pack/package.json +120 -0
- data/test/dummy/node_modules/browser-pack/prelude.js +44 -0
- data/test/dummy/node_modules/browser-pack/readme.markdown +96 -0
- data/test/dummy/node_modules/browser-pack/test/comment.js +33 -0
- data/test/dummy/node_modules/browser-pack/test/empty.js +33 -0
- data/test/dummy/node_modules/browser-pack/test/not_found.js +34 -0
- data/test/dummy/node_modules/browser-pack/test/only_execute_entries.js +26 -0
- data/test/dummy/node_modules/browser-pack/test/order.js +38 -0
- data/test/dummy/node_modules/browser-pack/test/pack.js +28 -0
- data/test/dummy/node_modules/browser-pack/test/raw.js +32 -0
- data/test/dummy/node_modules/browser-pack/test/source-maps-existing.js +59 -0
- data/test/dummy/node_modules/browser-pack/test/source-maps.js +195 -0
- data/test/dummy/node_modules/browser-pack/test/this.js +24 -0
- data/test/dummy/node_modules/browser-pack/test/unicode.js +32 -0
- data/test/dummy/node_modules/browser-resolve/LICENSE +21 -0
- data/test/dummy/node_modules/browser-resolve/README.md +141 -0
- data/test/dummy/node_modules/browser-resolve/empty.js +0 -0
- data/test/dummy/node_modules/browser-resolve/index.js +340 -0
- data/test/dummy/node_modules/browser-resolve/package.json +89 -0
- data/test/dummy/node_modules/browserify/LICENSE +63 -0
- data/test/dummy/node_modules/browserify/bin/advanced.txt +100 -0
- data/test/dummy/node_modules/browserify/bin/args.js +266 -0
- data/test/dummy/node_modules/browserify/bin/cmd.js +74 -0
- data/test/dummy/node_modules/browserify/bin/usage.txt +34 -0
- data/test/dummy/node_modules/browserify/changelog.markdown +1161 -0
- data/test/dummy/node_modules/browserify/example/api/browser/bar.js +1 -0
- data/test/dummy/node_modules/browserify/example/api/browser/foo.js +5 -0
- data/test/dummy/node_modules/browserify/example/api/browser/main.js +2 -0
- data/test/dummy/node_modules/browserify/example/api/build.js +4 -0
- data/test/dummy/node_modules/browserify/example/multiple_bundles/beep.js +2 -0
- data/test/dummy/node_modules/browserify/example/multiple_bundles/boop.js +2 -0
- data/test/dummy/node_modules/browserify/example/multiple_bundles/build.sh +4 -0
- data/test/dummy/node_modules/browserify/example/multiple_bundles/robot.js +1 -0
- data/test/dummy/node_modules/browserify/example/multiple_bundles/static/beep.html +2 -0
- data/test/dummy/node_modules/browserify/example/multiple_bundles/static/boop.html +2 -0
- data/test/dummy/node_modules/browserify/example/source_maps/build.js +13 -0
- data/test/dummy/node_modules/browserify/example/source_maps/build.sh +4 -0
- data/test/dummy/node_modules/browserify/example/source_maps/index.html +11 -0
- data/test/dummy/node_modules/browserify/example/source_maps/js/build/bundle.js +28 -0
- data/test/dummy/node_modules/browserify/example/source_maps/js/foo.js +7 -0
- data/test/dummy/node_modules/browserify/example/source_maps/js/main.js +4 -0
- data/test/dummy/node_modules/browserify/example/source_maps/js/wunder/bar.js +8 -0
- data/test/dummy/node_modules/browserify/index.js +804 -0
- data/test/dummy/node_modules/browserify/lib/_empty.js +0 -0
- data/test/dummy/node_modules/browserify/lib/builtins.js +38 -0
- data/test/dummy/node_modules/browserify/package.json +185 -0
- data/test/dummy/node_modules/browserify/readme.markdown +786 -0
- data/test/dummy/node_modules/browserify/test/args.js +72 -0
- data/test/dummy/node_modules/browserify/test/array/one.js +1 -0
- data/test/dummy/node_modules/browserify/test/array/three.js +1 -0
- data/test/dummy/node_modules/browserify/test/array/two.js +1 -0
- data/test/dummy/node_modules/browserify/test/array.js +74 -0
- data/test/dummy/node_modules/browserify/test/backbone.js +23 -0
- data/test/dummy/node_modules/browserify/test/bare/main.js +7 -0
- data/test/dummy/node_modules/browserify/test/bare.js +70 -0
- data/test/dummy/node_modules/browserify/test/bare_shebang.js +37 -0
- data/test/dummy/node_modules/browserify/test/bin.js +31 -0
- data/test/dummy/node_modules/browserify/test/bin_entry.js +31 -0
- data/test/dummy/node_modules/browserify/test/bin_tr_error/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/bin_tr_error/tr.js +12 -0
- data/test/dummy/node_modules/browserify/test/bin_tr_error.js +23 -0
- data/test/dummy/node_modules/browserify/test/bom/hello.js +1 -0
- data/test/dummy/node_modules/browserify/test/bom.js +19 -0
- data/test/dummy/node_modules/browserify/test/browser_field_file/package.json +5 -0
- data/test/dummy/node_modules/browserify/test/browser_field_file/wow.js +1 -0
- data/test/dummy/node_modules/browserify/test/browser_field_file.js +13 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/a/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/a/package.json +5 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/b/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/b/package.json +5 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/b/x.js +1 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/c/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/c/package.json +5 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/c/x.js +1 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/d/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/d/package.json +5 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/d/x.js +1 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/e/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/e/package.json +5 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/e/x.js +1 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/f/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/f/package.json +5 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/f/x.js +1 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/g/main.js +2 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/g/package.json +5 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/g/x.js +1 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/h/main.js +2 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/h/package.json +5 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/h/x.js +1 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/i/browser.js +1 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/i/main.js +2 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/i/package.json +5 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/i/x.js +1 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/j/browser.js +1 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/j/main.js +2 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/j/package.json +5 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/j/x.js +1 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/k/main.js +2 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/k/node_modules/x/hey.js +1 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/k/node_modules/x/package.json +5 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/l/main.js +2 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/l/node_modules/x/hey.js +1 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/l/node_modules/x/package.json +5 -0
- data/test/dummy/node_modules/browserify/test/browser_field_resolve.js +124 -0
- data/test/dummy/node_modules/browserify/test/buffer.js +142 -0
- data/test/dummy/node_modules/browserify/test/bundle-bundle-external/bar.js +2 -0
- data/test/dummy/node_modules/browserify/test/bundle-bundle-external/baz.js +3 -0
- data/test/dummy/node_modules/browserify/test/bundle-bundle-external/foo.js +5 -0
- data/test/dummy/node_modules/browserify/test/bundle-bundle-external.js +31 -0
- data/test/dummy/node_modules/browserify/test/bundle-stream.js +18 -0
- data/test/dummy/node_modules/browserify/test/bundle.js +33 -0
- data/test/dummy/node_modules/browserify/test/bundle_external/boop.js +4 -0
- data/test/dummy/node_modules/browserify/test/bundle_external/main.js +4 -0
- data/test/dummy/node_modules/browserify/test/bundle_external/robot.js +1 -0
- data/test/dummy/node_modules/browserify/test/bundle_external.js +26 -0
- data/test/dummy/node_modules/browserify/test/bundle_external_global.js +24 -0
- data/test/dummy/node_modules/browserify/test/bundle_sourcemap.js +32 -0
- data/test/dummy/node_modules/browserify/test/catch/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/catch.js +22 -0
- data/test/dummy/node_modules/browserify/test/circular/a.js +3 -0
- data/test/dummy/node_modules/browserify/test/circular/b.js +1 -0
- data/test/dummy/node_modules/browserify/test/circular/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/circular.js +34 -0
- data/test/dummy/node_modules/browserify/test/coffee_bin/main.coffee +2 -0
- data/test/dummy/node_modules/browserify/test/coffee_bin/x.coffee +1 -0
- data/test/dummy/node_modules/browserify/test/coffee_bin.js +36 -0
- data/test/dummy/node_modules/browserify/test/coffeeify/main.coffee +2 -0
- data/test/dummy/node_modules/browserify/test/coffeeify.js +19 -0
- data/test/dummy/node_modules/browserify/test/comment/main.js +2 -0
- data/test/dummy/node_modules/browserify/test/comment.js +16 -0
- data/test/dummy/node_modules/browserify/test/constants.js +18 -0
- data/test/dummy/node_modules/browserify/test/crypto.js +39 -0
- data/test/dummy/node_modules/browserify/test/crypto_ig.js +39 -0
- data/test/dummy/node_modules/browserify/test/cycle/README.md +16 -0
- data/test/dummy/node_modules/browserify/test/cycle/entry.js +15 -0
- data/test/dummy/node_modules/browserify/test/cycle/mod1/a.js +1 -0
- data/test/dummy/node_modules/browserify/test/cycle/mod1/b.js +1 -0
- data/test/dummy/node_modules/browserify/test/cycle/mod2/a.js +1 -0
- data/test/dummy/node_modules/browserify/test/cycle/mod2/b.js +1 -0
- data/test/dummy/node_modules/browserify/test/cycle.js +13 -0
- data/test/dummy/node_modules/browserify/test/debug_standalone/x.js +1 -0
- data/test/dummy/node_modules/browserify/test/debug_standalone.js +64 -0
- data/test/dummy/node_modules/browserify/test/dedupe-deps.js +43 -0
- data/test/dummy/node_modules/browserify/test/dedupe-nomap.js +64 -0
- data/test/dummy/node_modules/browserify/test/delay/diverted.js +1 -0
- data/test/dummy/node_modules/browserify/test/delay/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/delay.js +24 -0
- data/test/dummy/node_modules/browserify/test/dep.js +25 -0
- data/test/dummy/node_modules/browserify/test/dollar/dollar/index.js +7 -0
- data/test/dummy/node_modules/browserify/test/dollar.js +17 -0
- data/test/dummy/node_modules/browserify/test/double_buffer/explicit.js +1 -0
- data/test/dummy/node_modules/browserify/test/double_buffer/implicit.js +1 -0
- data/test/dummy/node_modules/browserify/test/double_buffer/main.js +4 -0
- data/test/dummy/node_modules/browserify/test/double_buffer.js +14 -0
- data/test/dummy/node_modules/browserify/test/double_bundle.js +24 -0
- data/test/dummy/node_modules/browserify/test/double_bundle_error/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/double_bundle_error/needs_three.js +1 -0
- data/test/dummy/node_modules/browserify/test/double_bundle_error/one.js +1 -0
- data/test/dummy/node_modules/browserify/test/double_bundle_error/package.json +5 -0
- data/test/dummy/node_modules/browserify/test/double_bundle_error/three.js +3 -0
- data/test/dummy/node_modules/browserify/test/double_bundle_error/two.js +1 -0
- data/test/dummy/node_modules/browserify/test/double_bundle_error.js +17 -0
- data/test/dummy/node_modules/browserify/test/double_bundle_json/a.json +1 -0
- data/test/dummy/node_modules/browserify/test/double_bundle_json/b.json +1 -0
- data/test/dummy/node_modules/browserify/test/double_bundle_json/index.js +5 -0
- data/test/dummy/node_modules/browserify/test/double_bundle_json.js +37 -0
- data/test/dummy/node_modules/browserify/test/double_bundle_parallel.js +33 -0
- data/test/dummy/node_modules/browserify/test/double_bundle_parallel_cache.js +35 -0
- data/test/dummy/node_modules/browserify/test/dup/foo-dup.js +4 -0
- data/test/dummy/node_modules/browserify/test/dup/foo.js +4 -0
- data/test/dummy/node_modules/browserify/test/dup/index.js +5 -0
- data/test/dummy/node_modules/browserify/test/entry/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/entry/needs_three.js +1 -0
- data/test/dummy/node_modules/browserify/test/entry/one.js +1 -0
- data/test/dummy/node_modules/browserify/test/entry/package.json +5 -0
- data/test/dummy/node_modules/browserify/test/entry/three.js +1 -0
- data/test/dummy/node_modules/browserify/test/entry/two.js +1 -0
- data/test/dummy/node_modules/browserify/test/entry.js +42 -0
- data/test/dummy/node_modules/browserify/test/entry_exec/fail.js +1 -0
- data/test/dummy/node_modules/browserify/test/entry_exec/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/entry_exec.js +15 -0
- data/test/dummy/node_modules/browserify/test/entry_expose/main.js +2 -0
- data/test/dummy/node_modules/browserify/test/entry_expose.js +19 -0
- data/test/dummy/node_modules/browserify/test/entry_relative.js +44 -0
- data/test/dummy/node_modules/browserify/test/error_code/src.js +2 -0
- data/test/dummy/node_modules/browserify/test/error_code.js +24 -0
- data/test/dummy/node_modules/browserify/test/export/entry.js +1 -0
- data/test/dummy/node_modules/browserify/test/export.js +35 -0
- data/test/dummy/node_modules/browserify/test/external/main.js +2 -0
- data/test/dummy/node_modules/browserify/test/external/x.js +3 -0
- data/test/dummy/node_modules/browserify/test/external.js +20 -0
- data/test/dummy/node_modules/browserify/test/external_args/main.js +10 -0
- data/test/dummy/node_modules/browserify/test/external_shim/bundle1.js +1 -0
- data/test/dummy/node_modules/browserify/test/external_shim/bundle2.js +1 -0
- data/test/dummy/node_modules/browserify/test/external_shim/package.json +5 -0
- data/test/dummy/node_modules/browserify/test/external_shim/shim.js +0 -0
- data/test/dummy/node_modules/browserify/test/external_shim.js +27 -0
- data/test/dummy/node_modules/browserify/test/externalize/beep.js +2 -0
- data/test/dummy/node_modules/browserify/test/externalize/boop.js +2 -0
- data/test/dummy/node_modules/browserify/test/externalize/robot.js +1 -0
- data/test/dummy/node_modules/browserify/test/externalize.js +59 -0
- data/test/dummy/node_modules/browserify/test/fake/fake_fs.js +1 -0
- data/test/dummy/node_modules/browserify/test/fake/main.js +2 -0
- data/test/dummy/node_modules/browserify/test/fake.js +15 -0
- data/test/dummy/node_modules/browserify/test/field/miss.js +1 -0
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-miss/browser.js +1 -0
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-miss/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-miss/package.json +4 -0
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-object/browser.js +1 -0
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-object/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-object/package.json +4 -0
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-string/browser.js +1 -0
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-string/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-string/package.json +4 -0
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-sub/browser/a.js +1 -0
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-sub/browser/b.js +1 -0
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-sub/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-sub/package.json +4 -0
- data/test/dummy/node_modules/browserify/test/field/object.js +1 -0
- data/test/dummy/node_modules/browserify/test/field/string.js +1 -0
- data/test/dummy/node_modules/browserify/test/field/sub.js +1 -0
- data/test/dummy/node_modules/browserify/test/field.js +72 -0
- data/test/dummy/node_modules/browserify/test/file_event.js +33 -0
- data/test/dummy/node_modules/browserify/test/five_bundle.js +30 -0
- data/test/dummy/node_modules/browserify/test/full_paths.js +58 -0
- data/test/dummy/node_modules/browserify/test/glob/a.js +6 -0
- data/test/dummy/node_modules/browserify/test/glob/b.js +5 -0
- data/test/dummy/node_modules/browserify/test/glob/lib/z.js +1 -0
- data/test/dummy/node_modules/browserify/test/glob/vendor/x.js +1 -0
- data/test/dummy/node_modules/browserify/test/glob/vendor/y.js +1 -0
- data/test/dummy/node_modules/browserify/test/glob.js +29 -0
- data/test/dummy/node_modules/browserify/test/global/buffer.js +2 -0
- data/test/dummy/node_modules/browserify/test/global/filename.js +2 -0
- data/test/dummy/node_modules/browserify/test/global/main.js +2 -0
- data/test/dummy/node_modules/browserify/test/global/node_modules/aaa/index.js +2 -0
- data/test/dummy/node_modules/browserify/test/global/node_modules/robot/index.js +1 -0
- data/test/dummy/node_modules/browserify/test/global/node_modules/robot/lib/beep.js +2 -0
- data/test/dummy/node_modules/browserify/test/global/tick.js +3 -0
- data/test/dummy/node_modules/browserify/test/global.js +90 -0
- data/test/dummy/node_modules/browserify/test/global_coffeeify.js +19 -0
- data/test/dummy/node_modules/browserify/test/global_noparse.js +101 -0
- data/test/dummy/node_modules/browserify/test/global_recorder/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/global_recorder.js +22 -0
- data/test/dummy/node_modules/browserify/test/hash/foo/other.js +1 -0
- data/test/dummy/node_modules/browserify/test/hash/foo/two.js +2 -0
- data/test/dummy/node_modules/browserify/test/hash/main.js +2 -0
- data/test/dummy/node_modules/browserify/test/hash/one.js +2 -0
- data/test/dummy/node_modules/browserify/test/hash/other.js +1 -0
- data/test/dummy/node_modules/browserify/test/hash.js +15 -0
- data/test/dummy/node_modules/browserify/test/hash_instance_context/main.js +17 -0
- data/test/dummy/node_modules/browserify/test/hash_instance_context/one/dir/f.js +3 -0
- data/test/dummy/node_modules/browserify/test/hash_instance_context/one/dir/g.js +2 -0
- data/test/dummy/node_modules/browserify/test/hash_instance_context/one/f.js +3 -0
- data/test/dummy/node_modules/browserify/test/hash_instance_context/one/g.js +2 -0
- data/test/dummy/node_modules/browserify/test/hash_instance_context/three/dir/f.js +3 -0
- data/test/dummy/node_modules/browserify/test/hash_instance_context/three/dir/g.js +2 -0
- data/test/dummy/node_modules/browserify/test/hash_instance_context/three/dir/h.js +2 -0
- data/test/dummy/node_modules/browserify/test/hash_instance_context/three/f.js +3 -0
- data/test/dummy/node_modules/browserify/test/hash_instance_context/three/g.js +2 -0
- data/test/dummy/node_modules/browserify/test/hash_instance_context/three/h.js +2 -0
- data/test/dummy/node_modules/browserify/test/hash_instance_context/two/dir/f.js +3 -0
- data/test/dummy/node_modules/browserify/test/hash_instance_context/two/dir/g.js +2 -0
- data/test/dummy/node_modules/browserify/test/hash_instance_context/two/dir/h.js +2 -0
- data/test/dummy/node_modules/browserify/test/hash_instance_context/two/f.js +3 -0
- data/test/dummy/node_modules/browserify/test/hash_instance_context/two/g.js +2 -0
- data/test/dummy/node_modules/browserify/test/hash_instance_context/two/h.js +2 -0
- data/test/dummy/node_modules/browserify/test/hash_instance_context.js +25 -0
- data/test/dummy/node_modules/browserify/test/identical/main.js +6 -0
- data/test/dummy/node_modules/browserify/test/identical/x.js +2 -0
- data/test/dummy/node_modules/browserify/test/identical/y.js +2 -0
- data/test/dummy/node_modules/browserify/test/identical.js +19 -0
- data/test/dummy/node_modules/browserify/test/identical_different/main.js +6 -0
- data/test/dummy/node_modules/browserify/test/identical_different/node_modules/op/index.js +3 -0
- data/test/dummy/node_modules/browserify/test/identical_different/wow/node_modules/op/index.js +3 -0
- data/test/dummy/node_modules/browserify/test/identical_different/wow/y.js +3 -0
- data/test/dummy/node_modules/browserify/test/identical_different/x.js +3 -0
- data/test/dummy/node_modules/browserify/test/identical_different.js +19 -0
- data/test/dummy/node_modules/browserify/test/ignore/by-id.js +3 -0
- data/test/dummy/node_modules/browserify/test/ignore/by-relative.js +5 -0
- data/test/dummy/node_modules/browserify/test/ignore/double-skip/index.js +1 -0
- data/test/dummy/node_modules/browserify/test/ignore/double-skip/skip.js +5 -0
- data/test/dummy/node_modules/browserify/test/ignore/double-skip.js +2 -0
- data/test/dummy/node_modules/browserify/test/ignore/ignored/skip.js +1 -0
- data/test/dummy/node_modules/browserify/test/ignore/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/ignore/relative/index.js +1 -0
- data/test/dummy/node_modules/browserify/test/ignore/skip.js +1 -0
- data/test/dummy/node_modules/browserify/test/ignore.js +72 -0
- data/test/dummy/node_modules/browserify/test/ignore_browser_field/main.js +2 -0
- data/test/dummy/node_modules/browserify/test/ignore_browser_field/node_modules/a/browser.js +1 -0
- data/test/dummy/node_modules/browserify/test/ignore_browser_field/node_modules/a/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/ignore_browser_field/node_modules/a/package.json +6 -0
- data/test/dummy/node_modules/browserify/test/ignore_browser_field/node_modules/b/browser-x.js +1 -0
- data/test/dummy/node_modules/browserify/test/ignore_browser_field/node_modules/b/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/ignore_browser_field/node_modules/b/package.json +8 -0
- data/test/dummy/node_modules/browserify/test/ignore_browser_field/node_modules/b/x.js +1 -0
- data/test/dummy/node_modules/browserify/test/ignore_browser_field.js +21 -0
- data/test/dummy/node_modules/browserify/test/ignore_missing/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/ignore_missing.js +41 -0
- data/test/dummy/node_modules/browserify/test/json/beep.json +4 -0
- data/test/dummy/node_modules/browserify/test/json/evil-chars.json +3 -0
- data/test/dummy/node_modules/browserify/test/json/evil.js +2 -0
- data/test/dummy/node_modules/browserify/test/json/main.js +2 -0
- data/test/dummy/node_modules/browserify/test/json.js +44 -0
- data/test/dummy/node_modules/browserify/test/leak.js +57 -0
- data/test/dummy/node_modules/browserify/test/maxlisteners/main.js +3 -0
- data/test/dummy/node_modules/browserify/test/maxlisteners.js +13 -0
- data/test/dummy/node_modules/browserify/test/multi_bundle/_prelude.js +1 -0
- data/test/dummy/node_modules/browserify/test/multi_bundle/a.js +3 -0
- data/test/dummy/node_modules/browserify/test/multi_bundle/b.js +5 -0
- data/test/dummy/node_modules/browserify/test/multi_bundle/c.js +4 -0
- data/test/dummy/node_modules/browserify/test/multi_bundle.js +86 -0
- data/test/dummy/node_modules/browserify/test/multi_bundle_unique.js +56 -0
- data/test/dummy/node_modules/browserify/test/multi_entry/a.js +2 -0
- data/test/dummy/node_modules/browserify/test/multi_entry/b.js +2 -0
- data/test/dummy/node_modules/browserify/test/multi_entry/c.js +2 -0
- data/test/dummy/node_modules/browserify/test/multi_entry.js +121 -0
- data/test/dummy/node_modules/browserify/test/multi_entry_cross_require/a.js +8 -0
- data/test/dummy/node_modules/browserify/test/multi_entry_cross_require/c.js +7 -0
- data/test/dummy/node_modules/browserify/test/multi_entry_cross_require/lib/b.js +5 -0
- data/test/dummy/node_modules/browserify/test/multi_entry_cross_require.js +92 -0
- data/test/dummy/node_modules/browserify/test/multi_require/a.js +3 -0
- data/test/dummy/node_modules/browserify/test/multi_require/main.js +4 -0
- data/test/dummy/node_modules/browserify/test/multi_require.js +18 -0
- data/test/dummy/node_modules/browserify/test/multi_symlink/main.js +2 -0
- data/test/dummy/node_modules/browserify/test/multi_symlink/x.js +1 -0
- data/test/dummy/node_modules/browserify/test/multi_symlink.js +13 -0
- data/test/dummy/node_modules/browserify/test/no_builtins/extra/fs.js +1 -0
- data/test/dummy/node_modules/browserify/test/no_builtins/extra/tls.js +1 -0
- data/test/dummy/node_modules/browserify/test/no_builtins/main.js +4 -0
- data/test/dummy/node_modules/browserify/test/no_builtins/x.txt +1 -0
- data/test/dummy/node_modules/browserify/test/no_builtins.js +63 -0
- data/test/dummy/node_modules/browserify/test/node_modules/beep/index.js +1 -0
- data/test/dummy/node_modules/browserify/test/node_modules/plugin-foo/index.js +9 -0
- data/test/dummy/node_modules/browserify/test/node_modules/tr/index.js +8 -0
- data/test/dummy/node_modules/browserify/test/noparse/a.js +4 -0
- data/test/dummy/node_modules/browserify/test/noparse/b.js +5 -0
- data/test/dummy/node_modules/browserify/test/noparse/dir1/1.js +4 -0
- data/test/dummy/node_modules/browserify/test/noparse/dir1/dir2/2.js +3 -0
- data/test/dummy/node_modules/browserify/test/noparse/node_modules/robot/lib/beep.js +4 -0
- data/test/dummy/node_modules/browserify/test/noparse/node_modules/robot/lib/boop.js +3 -0
- data/test/dummy/node_modules/browserify/test/noparse/node_modules/robot/main.js +4 -0
- data/test/dummy/node_modules/browserify/test/noparse/node_modules/robot/package.json +3 -0
- data/test/dummy/node_modules/browserify/test/noparse.js +31 -0
- data/test/dummy/node_modules/browserify/test/pack.js +33 -0
- data/test/dummy/node_modules/browserify/test/paths/main.js +3 -0
- data/test/dummy/node_modules/browserify/test/paths/x/aaa/index.js +1 -0
- data/test/dummy/node_modules/browserify/test/paths/x/ccc/index.js +1 -0
- data/test/dummy/node_modules/browserify/test/paths/y/bbb/index.js +1 -0
- data/test/dummy/node_modules/browserify/test/paths/y/ccc/index.js +1 -0
- data/test/dummy/node_modules/browserify/test/paths.js +32 -0
- data/test/dummy/node_modules/browserify/test/paths_transform.js +76 -0
- data/test/dummy/node_modules/browserify/test/pipeline_deps/bar.js +3 -0
- data/test/dummy/node_modules/browserify/test/pipeline_deps/foo.js +5 -0
- data/test/dummy/node_modules/browserify/test/pipeline_deps/main.js +2 -0
- data/test/dummy/node_modules/browserify/test/pipeline_deps/xyz.js +2 -0
- data/test/dummy/node_modules/browserify/test/pipeline_deps.js +22 -0
- data/test/dummy/node_modules/browserify/test/pkg/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/pkg/package.json +1 -0
- data/test/dummy/node_modules/browserify/test/pkg.js +20 -0
- data/test/dummy/node_modules/browserify/test/pkg_event/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/pkg_event/package.json +3 -0
- data/test/dummy/node_modules/browserify/test/pkg_event.js +31 -0
- data/test/dummy/node_modules/browserify/test/plugin/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/plugin.js +28 -0
- data/test/dummy/node_modules/browserify/test/process/main.js +3 -0
- data/test/dummy/node_modules/browserify/test/process/one.js +1 -0
- data/test/dummy/node_modules/browserify/test/process/two.js +1 -0
- data/test/dummy/node_modules/browserify/test/process.js +21 -0
- data/test/dummy/node_modules/browserify/test/relative_dedupe/a/a.js +3 -0
- data/test/dummy/node_modules/browserify/test/relative_dedupe/a/b.js +3 -0
- data/test/dummy/node_modules/browserify/test/relative_dedupe/a/index.js +4 -0
- data/test/dummy/node_modules/browserify/test/relative_dedupe/b/a.js +3 -0
- data/test/dummy/node_modules/browserify/test/relative_dedupe/b/b.js +3 -0
- data/test/dummy/node_modules/browserify/test/relative_dedupe/b/index.js +4 -0
- data/test/dummy/node_modules/browserify/test/relative_dedupe/index.js +4 -0
- data/test/dummy/node_modules/browserify/test/relative_dedupe/main.js +5 -0
- data/test/dummy/node_modules/browserify/test/relative_dedupe.js +17 -0
- data/test/dummy/node_modules/browserify/test/require_cache.js +19 -0
- data/test/dummy/node_modules/browserify/test/require_expose/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/require_expose/some_dep.js +1 -0
- data/test/dummy/node_modules/browserify/test/require_expose.js +53 -0
- data/test/dummy/node_modules/browserify/test/reset.js +31 -0
- data/test/dummy/node_modules/browserify/test/resolve_exposed/main.js +2 -0
- data/test/dummy/node_modules/browserify/test/resolve_exposed/x.js +1 -0
- data/test/dummy/node_modules/browserify/test/resolve_exposed.js +20 -0
- data/test/dummy/node_modules/browserify/test/retarget.js +25 -0
- data/test/dummy/node_modules/browserify/test/reverse_multi_bundle/app.js +22 -0
- data/test/dummy/node_modules/browserify/test/reverse_multi_bundle/arbitrary.js +6 -0
- data/test/dummy/node_modules/browserify/test/reverse_multi_bundle/lazy.js +9 -0
- data/test/dummy/node_modules/browserify/test/reverse_multi_bundle/shared.js +6 -0
- data/test/dummy/node_modules/browserify/test/reverse_multi_bundle.js +47 -0
- data/test/dummy/node_modules/browserify/test/shared_symlink/app/index.js +1 -0
- data/test/dummy/node_modules/browserify/test/shared_symlink/app/node_modules/foo/index.js +1 -0
- data/test/dummy/node_modules/browserify/test/shared_symlink/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/shared_symlink/shared/index.js +1 -0
- data/test/dummy/node_modules/browserify/test/shared_symlink.js +16 -0
- data/test/dummy/node_modules/browserify/test/shebang/foo.js +2 -0
- data/test/dummy/node_modules/browserify/test/shebang/main.js +4 -0
- data/test/dummy/node_modules/browserify/test/shebang.js +11 -0
- data/test/dummy/node_modules/browserify/test/standalone/main.js +3 -0
- data/test/dummy/node_modules/browserify/test/standalone/one.js +1 -0
- data/test/dummy/node_modules/browserify/test/standalone/two.js +1 -0
- data/test/dummy/node_modules/browserify/test/standalone.js +85 -0
- data/test/dummy/node_modules/browserify/test/standalone_events.js +19 -0
- data/test/dummy/node_modules/browserify/test/standalone_sourcemap.js +55 -0
- data/test/dummy/node_modules/browserify/test/stdin.js +35 -0
- data/test/dummy/node_modules/browserify/test/stream/bar.js +1 -0
- data/test/dummy/node_modules/browserify/test/stream/foo.js +1 -0
- data/test/dummy/node_modules/browserify/test/stream/main.js +2 -0
- data/test/dummy/node_modules/browserify/test/stream.js +15 -0
- data/test/dummy/node_modules/browserify/test/stream_file.js +29 -0
- data/test/dummy/node_modules/browserify/test/subdep/index.js +1 -0
- data/test/dummy/node_modules/browserify/test/subdep/package.json +6 -0
- data/test/dummy/node_modules/browserify/test/subdep.js +16 -0
- data/test/dummy/node_modules/browserify/test/symlink_dedupe/main.js +6 -0
- data/test/dummy/node_modules/browserify/test/symlink_dedupe/one/f.js +3 -0
- data/test/dummy/node_modules/browserify/test/symlink_dedupe/one/g.js +2 -0
- data/test/dummy/node_modules/browserify/test/symlink_dedupe.js +16 -0
- data/test/dummy/node_modules/browserify/test/syntax_cache/invalid.js +2 -0
- data/test/dummy/node_modules/browserify/test/syntax_cache/valid.js +2 -0
- data/test/dummy/node_modules/browserify/test/syntax_cache.js +47 -0
- data/test/dummy/node_modules/browserify/test/tr/f.js +2 -0
- data/test/dummy/node_modules/browserify/test/tr/main.js +9 -0
- data/test/dummy/node_modules/browserify/test/tr/package.json +5 -0
- data/test/dummy/node_modules/browserify/test/tr/subdir/g.js +1 -0
- data/test/dummy/node_modules/browserify/test/tr.js +28 -0
- data/test/dummy/node_modules/browserify/test/tr_args/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/tr_args/tr.js +12 -0
- data/test/dummy/node_modules/browserify/test/tr_args.js +24 -0
- data/test/dummy/node_modules/browserify/test/tr_error.js +33 -0
- data/test/dummy/node_modules/browserify/test/tr_flags.js +36 -0
- data/test/dummy/node_modules/browserify/test/tr_global/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/tr_global/node_modules/tr/index.js +8 -0
- data/test/dummy/node_modules/browserify/test/tr_global/node_modules/x/index.js +1 -0
- data/test/dummy/node_modules/browserify/test/tr_global/node_modules/x/node_modules/tr/index.js +8 -0
- data/test/dummy/node_modules/browserify/test/tr_global.js +17 -0
- data/test/dummy/node_modules/browserify/test/tr_no_entry/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/tr_no_entry.js +20 -0
- data/test/dummy/node_modules/browserify/test/tr_once/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/tr_once.js +21 -0
- data/test/dummy/node_modules/browserify/test/tr_order/replace_aaa.js +10 -0
- data/test/dummy/node_modules/browserify/test/tr_order/replace_bbb.js +11 -0
- data/test/dummy/node_modules/browserify/test/tr_order.js +23 -0
- data/test/dummy/node_modules/browserify/test/tr_symlink/a-module/index.js +1 -0
- data/test/dummy/node_modules/browserify/test/tr_symlink/app/main.js +6 -0
- data/test/dummy/node_modules/browserify/test/tr_symlink/app/package.json +5 -0
- data/test/dummy/node_modules/browserify/test/tr_symlink/b-module/ext.js +1 -0
- data/test/dummy/node_modules/browserify/test/tr_symlink/b-module/index.js +2 -0
- data/test/dummy/node_modules/browserify/test/tr_symlink.js +27 -0
- data/test/dummy/node_modules/browserify/test/unicode/main.js +1 -0
- data/test/dummy/node_modules/browserify/test/unicode/one.js +1 -0
- data/test/dummy/node_modules/browserify/test/unicode/two.js +1 -0
- data/test/dummy/node_modules/browserify/test/unicode.js +19 -0
- data/test/dummy/node_modules/browserify/test/util.js +62 -0
- data/test/dummy/node_modules/browserify/test/yield/f.js +5 -0
- data/test/dummy/node_modules/browserify/test/yield/main.js +4 -0
- data/test/dummy/node_modules/browserify/test/yield.js +20 -0
- data/test/dummy/node_modules/browserify-aes/LICENSE +21 -0
- data/test/dummy/node_modules/browserify-aes/aes.js +177 -0
- data/test/dummy/node_modules/browserify-aes/authCipher.js +97 -0
- data/test/dummy/node_modules/browserify-aes/browser.js +11 -0
- data/test/dummy/node_modules/browserify-aes/decrypter.js +137 -0
- data/test/dummy/node_modules/browserify-aes/encrypter.js +122 -0
- data/test/dummy/node_modules/browserify-aes/ghash.js +98 -0
- data/test/dummy/node_modules/browserify-aes/index.js +7 -0
- data/test/dummy/node_modules/browserify-aes/modes/cbc.js +17 -0
- data/test/dummy/node_modules/browserify-aes/modes/cfb.js +31 -0
- data/test/dummy/node_modules/browserify-aes/modes/cfb1.js +34 -0
- data/test/dummy/node_modules/browserify-aes/modes/cfb8.js +15 -0
- data/test/dummy/node_modules/browserify-aes/modes/ctr.js +31 -0
- data/test/dummy/node_modules/browserify-aes/modes/ecb.js +6 -0
- data/test/dummy/node_modules/browserify-aes/modes/ofb.js +16 -0
- data/test/dummy/node_modules/browserify-aes/modes.js +171 -0
- data/test/dummy/node_modules/browserify-aes/package.json +104 -0
- data/test/dummy/node_modules/browserify-aes/populateFixtures.js +25 -0
- data/test/dummy/node_modules/browserify-aes/readme.md +18 -0
- data/test/dummy/node_modules/browserify-aes/streamCipher.js +25 -0
- data/test/dummy/node_modules/browserify-cipher/browser.js +73 -0
- data/test/dummy/node_modules/browserify-cipher/index.js +7 -0
- data/test/dummy/node_modules/browserify-cipher/package.json +81 -0
- data/test/dummy/node_modules/browserify-cipher/readme.md +7 -0
- data/test/dummy/node_modules/browserify-cipher/test.js +55 -0
- data/test/dummy/node_modules/browserify-des/index.js +43 -0
- data/test/dummy/node_modules/browserify-des/modes.js +24 -0
- data/test/dummy/node_modules/browserify-des/package.json +80 -0
- data/test/dummy/node_modules/browserify-des/readme.md +4 -0
- data/test/dummy/node_modules/browserify-des/test.js +48 -0
- data/test/dummy/node_modules/browserify-rsa/LICENSE +21 -0
- data/test/dummy/node_modules/browserify-rsa/index.js +40 -0
- data/test/dummy/node_modules/browserify-rsa/package.json +97 -0
- data/test/dummy/node_modules/browserify-rsa/readme.md +10 -0
- data/test/dummy/node_modules/browserify-rsa/test.js +53 -0
- data/test/dummy/node_modules/browserify-sign/LICENSE +13 -0
- data/test/dummy/node_modules/browserify-sign/README.md +4 -0
- data/test/dummy/node_modules/browserify-sign/algos.js +72 -0
- data/test/dummy/node_modules/browserify-sign/algos.json +15 -0
- data/test/dummy/node_modules/browserify-sign/browser.js +103 -0
- data/test/dummy/node_modules/browserify-sign/curves.js +12 -0
- data/test/dummy/node_modules/browserify-sign/ec.param +3 -0
- data/test/dummy/node_modules/browserify-sign/index.js +7 -0
- data/test/dummy/node_modules/browserify-sign/package.json +100 -0
- data/test/dummy/node_modules/browserify-sign/sign.js +185 -0
- data/test/dummy/node_modules/browserify-sign/verify.js +103 -0
- data/test/dummy/node_modules/browserify-zlib/README.md +22 -0
- data/test/dummy/node_modules/browserify-zlib/package.json +94 -0
- data/test/dummy/node_modules/browserify-zlib/src/binding.js +236 -0
- data/test/dummy/node_modules/browserify-zlib/src/index.js +610 -0
- data/test/dummy/node_modules/browserify-zlib/test/fixtures/elipses.txt +1 -0
- data/test/dummy/node_modules/browserify-zlib/test/fixtures/empty.txt +1 -0
- data/test/dummy/node_modules/browserify-zlib/test/fixtures/person.jpg +0 -0
- data/test/dummy/node_modules/browserify-zlib/test/ignored/test-zlib-dictionary-fail.js +48 -0
- data/test/dummy/node_modules/browserify-zlib/test/ignored/test-zlib-dictionary.js +95 -0
- data/test/dummy/node_modules/browserify-zlib/test/ignored/test-zlib-params.js +33 -0
- data/test/dummy/node_modules/browserify-zlib/test/package.json +7 -0
- data/test/dummy/node_modules/browserify-zlib/test/test-zlib-close-after-write.js +35 -0
- data/test/dummy/node_modules/browserify-zlib/test/test-zlib-convenience-methods.js +70 -0
- data/test/dummy/node_modules/browserify-zlib/test/test-zlib-from-string.js +89 -0
- data/test/dummy/node_modules/browserify-zlib/test/test-zlib-invalid-input.js +62 -0
- data/test/dummy/node_modules/browserify-zlib/test/test-zlib-random-byte-pipes.js +176 -0
- data/test/dummy/node_modules/browserify-zlib/test/test-zlib-write-after-flush.js +55 -0
- data/test/dummy/node_modules/browserify-zlib/test/test-zlib-zero-byte.js +41 -0
- data/test/dummy/node_modules/browserify-zlib/test/test-zlib.js +206 -0
- data/test/dummy/node_modules/buffer/LICENSE +21 -0
- data/test/dummy/node_modules/buffer/README.md +379 -0
- data/test/dummy/node_modules/buffer/bin/download-node-tests.js +107 -0
- data/test/dummy/node_modules/buffer/bin/test.js +41 -0
- data/test/dummy/node_modules/buffer/bin/zuul-es5.yml +12 -0
- data/test/dummy/node_modules/buffer/bin/zuul-es6.yml +10 -0
- data/test/dummy/node_modules/buffer/index.js +1711 -0
- data/test/dummy/node_modules/buffer/node_modules/isarray/Makefile +6 -0
- data/test/dummy/node_modules/buffer/node_modules/isarray/README.md +60 -0
- data/test/dummy/node_modules/buffer/node_modules/isarray/component.json +19 -0
- data/test/dummy/node_modules/buffer/node_modules/isarray/index.js +5 -0
- data/test/dummy/node_modules/buffer/node_modules/isarray/package.json +96 -0
- data/test/dummy/node_modules/buffer/node_modules/isarray/test.js +20 -0
- data/test/dummy/node_modules/buffer/package.json +134 -0
- data/test/dummy/node_modules/buffer/test/_polyfill.js +150 -0
- data/test/dummy/node_modules/buffer/test/base64.js +47 -0
- data/test/dummy/node_modules/buffer/test/basic.js +85 -0
- data/test/dummy/node_modules/buffer/test/compare.js +59 -0
- data/test/dummy/node_modules/buffer/test/constructor.js +193 -0
- data/test/dummy/node_modules/buffer/test/from-string.js +132 -0
- data/test/dummy/node_modules/buffer/test/is-buffer.js +22 -0
- data/test/dummy/node_modules/buffer/test/methods.js +127 -0
- data/test/dummy/node_modules/buffer/test/node/test-buffer-alloc.js +1449 -0
- data/test/dummy/node_modules/buffer/test/node/test-buffer-arraybuffer.js +112 -0
- data/test/dummy/node_modules/buffer/test/node/test-buffer-ascii.js +28 -0
- data/test/dummy/node_modules/buffer/test/node/test-buffer-bad-overload.js +18 -0
- data/test/dummy/node_modules/buffer/test/node/test-buffer-bytelength.js +89 -0
- data/test/dummy/node_modules/buffer/test/node/test-buffer-compare-offset.js +66 -0
- data/test/dummy/node_modules/buffer/test/node/test-buffer-concat.js +40 -0
- data/test/dummy/node_modules/buffer/test/node/test-buffer-fill.js +244 -0
- data/test/dummy/node_modules/buffer/test/node/test-buffer-includes.js +261 -0
- data/test/dummy/node_modules/buffer/test/node/test-buffer-indexof.js +287 -0
- data/test/dummy/node_modules/buffer/test/node/test-buffer-inheritance.js +42 -0
- data/test/dummy/node_modules/buffer/test/node/test-buffer-inspect.js +41 -0
- data/test/dummy/node_modules/buffer/test/node/test-buffer-iterator.js +65 -0
- data/test/dummy/node_modules/buffer/test/node/test-buffer-safe-unsafe.js +27 -0
- data/test/dummy/node_modules/buffer/test/node/test-buffer-slow.js +59 -0
- data/test/dummy/node_modules/buffer/test/node/test-buffer-swap.js +63 -0
- data/test/dummy/node_modules/buffer/test/node/test-buffer-zero-fill-cli.js +35 -0
- data/test/dummy/node_modules/buffer/test/node/test-buffer-zero-fill-reset.js +22 -0
- data/test/dummy/node_modules/buffer/test/node/test-buffer.js +1446 -0
- data/test/dummy/node_modules/buffer/test/slice.js +37 -0
- data/test/dummy/node_modules/buffer/test/static.js +17 -0
- data/test/dummy/node_modules/buffer/test/to-string.js +233 -0
- data/test/dummy/node_modules/buffer/test/write.js +131 -0
- data/test/dummy/node_modules/buffer/test/write_infinity.js +45 -0
- data/test/dummy/node_modules/buffer-xor/LICENSE +21 -0
- data/test/dummy/node_modules/buffer-xor/README.md +41 -0
- data/test/dummy/node_modules/buffer-xor/index.js +10 -0
- data/test/dummy/node_modules/buffer-xor/inline.js +1 -0
- data/test/dummy/node_modules/buffer-xor/inplace.js +9 -0
- data/test/dummy/node_modules/buffer-xor/package.json +88 -0
- data/test/dummy/node_modules/buffer-xor/test/fixtures.json +23 -0
- data/test/dummy/node_modules/buffer-xor/test/index.js +38 -0
- data/test/dummy/node_modules/builtin-status-codes/browser.js +63 -0
- data/test/dummy/node_modules/builtin-status-codes/build.js +8 -0
- data/test/dummy/node_modules/builtin-status-codes/index.js +3 -0
- data/test/dummy/node_modules/builtin-status-codes/license +21 -0
- data/test/dummy/node_modules/builtin-status-codes/package.json +95 -0
- data/test/dummy/node_modules/builtin-status-codes/readme.md +31 -0
- data/test/dummy/node_modules/chokidar/CHANGELOG.md +240 -0
- data/test/dummy/node_modules/chokidar/README.md +285 -0
- data/test/dummy/node_modules/chokidar/index.js +686 -0
- data/test/dummy/node_modules/chokidar/lib/fsevents-handler.js +361 -0
- data/test/dummy/node_modules/chokidar/lib/nodefs-handler.js +481 -0
- data/test/dummy/node_modules/chokidar/package.json +113 -0
- data/test/dummy/node_modules/cipher-base/index.js +90 -0
- data/test/dummy/node_modules/cipher-base/package.json +83 -0
- data/test/dummy/node_modules/cipher-base/readme.md +17 -0
- data/test/dummy/node_modules/cipher-base/test.js +108 -0
- data/test/dummy/node_modules/combine-source-map/LICENSE +23 -0
- data/test/dummy/node_modules/combine-source-map/README.md +111 -0
- data/test/dummy/node_modules/combine-source-map/example/two-files-short.js +26 -0
- data/test/dummy/node_modules/combine-source-map/example/two-files.js +46 -0
- data/test/dummy/node_modules/combine-source-map/index.js +153 -0
- data/test/dummy/node_modules/combine-source-map/lib/mappings-from-map.js +30 -0
- data/test/dummy/node_modules/combine-source-map/lib/path-is-absolute.js +20 -0
- data/test/dummy/node_modules/combine-source-map/lib/path-is-absolute.license +21 -0
- data/test/dummy/node_modules/combine-source-map/package.json +102 -0
- data/test/dummy/node_modules/combine-source-map/test/combine-source-map.js +347 -0
- data/test/dummy/node_modules/concat-map/LICENSE +18 -0
- data/test/dummy/node_modules/concat-map/README.markdown +62 -0
- data/test/dummy/node_modules/concat-map/example/map.js +6 -0
- data/test/dummy/node_modules/concat-map/index.js +13 -0
- data/test/dummy/node_modules/concat-map/package.json +109 -0
- data/test/dummy/node_modules/concat-map/test/map.js +39 -0
- data/test/dummy/node_modules/concat-stream/LICENSE +24 -0
- data/test/dummy/node_modules/concat-stream/index.js +136 -0
- data/test/dummy/node_modules/concat-stream/node_modules/isarray/Makefile +6 -0
- data/test/dummy/node_modules/concat-stream/node_modules/isarray/README.md +60 -0
- data/test/dummy/node_modules/concat-stream/node_modules/isarray/component.json +19 -0
- data/test/dummy/node_modules/concat-stream/node_modules/isarray/index.js +5 -0
- data/test/dummy/node_modules/concat-stream/node_modules/isarray/package.json +96 -0
- data/test/dummy/node_modules/concat-stream/node_modules/isarray/test.js +20 -0
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/LICENSE +18 -0
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/README.md +36 -0
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/doc/stream.markdown +1760 -0
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/duplex.js +1 -0
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_duplex.js +75 -0
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_passthrough.js +26 -0
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_readable.js +880 -0
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_transform.js +180 -0
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js +516 -0
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/package.json +105 -0
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/passthrough.js +1 -0
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/readable.js +12 -0
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/transform.js +1 -0
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/writable.js +1 -0
- data/test/dummy/node_modules/concat-stream/package.json +114 -0
- data/test/dummy/node_modules/concat-stream/readme.md +100 -0
- data/test/dummy/node_modules/console-browserify/LICENCE +19 -0
- data/test/dummy/node_modules/console-browserify/README.md +33 -0
- data/test/dummy/node_modules/console-browserify/index.js +86 -0
- data/test/dummy/node_modules/console-browserify/package.json +114 -0
- data/test/dummy/node_modules/console-browserify/test/index.js +67 -0
- data/test/dummy/node_modules/console-browserify/test/static/index.html +12 -0
- data/test/dummy/node_modules/console-browserify/test/static/test-adapter.js +53 -0
- data/test/dummy/node_modules/constants-browserify/README.md +54 -0
- data/test/dummy/node_modules/constants-browserify/build.sh +1 -0
- data/test/dummy/node_modules/constants-browserify/constants.json +209 -0
- data/test/dummy/node_modules/constants-browserify/package.json +86 -0
- data/test/dummy/node_modules/constants-browserify/test.js +18 -0
- data/test/dummy/node_modules/convert-source-map/LICENSE +23 -0
- data/test/dummy/node_modules/convert-source-map/README.md +121 -0
- data/test/dummy/node_modules/convert-source-map/example/comment-to-json.js +15 -0
- data/test/dummy/node_modules/convert-source-map/index.js +156 -0
- data/test/dummy/node_modules/convert-source-map/package.json +87 -0
- data/test/dummy/node_modules/convert-source-map/test/comment-regex.js +138 -0
- data/test/dummy/node_modules/convert-source-map/test/convert-source-map.js +207 -0
- data/test/dummy/node_modules/convert-source-map/test/fixtures/map-file-comment-double-slash.css +14 -0
- data/test/dummy/node_modules/convert-source-map/test/fixtures/map-file-comment-inline.css +14 -0
- data/test/dummy/node_modules/convert-source-map/test/fixtures/map-file-comment.css +14 -0
- data/test/dummy/node_modules/convert-source-map/test/fixtures/map-file-comment.css.map +6 -0
- data/test/dummy/node_modules/convert-source-map/test/map-file-comment.js +70 -0
- data/test/dummy/node_modules/core-util-is/LICENSE +19 -0
- data/test/dummy/node_modules/core-util-is/README.md +3 -0
- data/test/dummy/node_modules/core-util-is/float.patch +604 -0
- data/test/dummy/node_modules/core-util-is/lib/util.js +107 -0
- data/test/dummy/node_modules/core-util-is/package.json +89 -0
- data/test/dummy/node_modules/core-util-is/test.js +68 -0
- data/test/dummy/node_modules/create-ecdh/browser.js +122 -0
- data/test/dummy/node_modules/create-ecdh/index.js +3 -0
- data/test/dummy/node_modules/create-ecdh/package.json +100 -0
- data/test/dummy/node_modules/create-ecdh/readme.md +4 -0
- data/test/dummy/node_modules/create-hash/browser.js +52 -0
- data/test/dummy/node_modules/create-hash/helpers.js +34 -0
- data/test/dummy/node_modules/create-hash/index.js +1 -0
- data/test/dummy/node_modules/create-hash/md5.js +156 -0
- data/test/dummy/node_modules/create-hash/package.json +104 -0
- data/test/dummy/node_modules/create-hash/readme.md +19 -0
- data/test/dummy/node_modules/create-hash/test.js +39 -0
- data/test/dummy/node_modules/create-hmac/browser.js +68 -0
- data/test/dummy/node_modules/create-hmac/index.js +1 -0
- data/test/dummy/node_modules/create-hmac/package.json +99 -0
- data/test/dummy/node_modules/create-hmac/readme.md +19 -0
- data/test/dummy/node_modules/create-hmac/test.js +41 -0
- data/test/dummy/node_modules/crypto-browserify/LICENSE +24 -0
- data/test/dummy/node_modules/crypto-browserify/README.md +49 -0
- data/test/dummy/node_modules/crypto-browserify/example/bundle.js +637 -0
- data/test/dummy/node_modules/crypto-browserify/example/index.html +12 -0
- data/test/dummy/node_modules/crypto-browserify/example/test.js +4 -0
- data/test/dummy/node_modules/crypto-browserify/index.js +77 -0
- data/test/dummy/node_modules/crypto-browserify/package.json +114 -0
- data/test/dummy/node_modules/crypto-browserify/test/aes.js +49 -0
- data/test/dummy/node_modules/crypto-browserify/test/create-hash.js +50 -0
- data/test/dummy/node_modules/crypto-browserify/test/create-hmac.js +50 -0
- data/test/dummy/node_modules/crypto-browserify/test/dh.js +49 -0
- data/test/dummy/node_modules/crypto-browserify/test/ecdh.js +61 -0
- data/test/dummy/node_modules/crypto-browserify/test/index.js +18 -0
- data/test/dummy/node_modules/crypto-browserify/test/node/dh.js +51 -0
- data/test/dummy/node_modules/crypto-browserify/test/pbkdf2.js +21 -0
- data/test/dummy/node_modules/crypto-browserify/test/public-encrypt.js +36 -0
- data/test/dummy/node_modules/crypto-browserify/test/random-bytes.js +60 -0
- data/test/dummy/node_modules/crypto-browserify/test/sign.js +59 -0
- data/test/dummy/node_modules/date-now/LICENCE +19 -0
- data/test/dummy/node_modules/date-now/README.md +45 -0
- data/test/dummy/node_modules/date-now/index.js +5 -0
- data/test/dummy/node_modules/date-now/package.json +115 -0
- data/test/dummy/node_modules/date-now/seed.js +16 -0
- data/test/dummy/node_modules/date-now/test/index.js +28 -0
- data/test/dummy/node_modules/date-now/test/static/index.html +10 -0
- data/test/dummy/node_modules/defined/LICENSE +18 -0
- data/test/dummy/node_modules/defined/example/defined.js +4 -0
- data/test/dummy/node_modules/defined/index.js +5 -0
- data/test/dummy/node_modules/defined/package.json +116 -0
- data/test/dummy/node_modules/defined/readme.markdown +53 -0
- data/test/dummy/node_modules/defined/test/def.js +22 -0
- data/test/dummy/node_modules/defined/test/falsy.js +9 -0
- data/test/dummy/node_modules/deps-sort/LICENSE +18 -0
- data/test/dummy/node_modules/deps-sort/bin/cmd.js +10 -0
- data/test/dummy/node_modules/deps-sort/example/sort.js +6 -0
- data/test/dummy/node_modules/deps-sort/index.js +122 -0
- data/test/dummy/node_modules/deps-sort/package.json +97 -0
- data/test/dummy/node_modules/deps-sort/readme.markdown +83 -0
- data/test/dummy/node_modules/deps-sort/test/dedupe-deps-of-deps.js +71 -0
- data/test/dummy/node_modules/deps-sort/test/dedupe.js +39 -0
- data/test/dummy/node_modules/deps-sort/test/dedupe_index.js +56 -0
- data/test/dummy/node_modules/deps-sort/test/dedupe_undef.js +37 -0
- data/test/dummy/node_modules/deps-sort/test/expose.js +38 -0
- data/test/dummy/node_modules/deps-sort/test/expose_str.js +44 -0
- data/test/dummy/node_modules/deps-sort/test/indexed.js +38 -0
- data/test/dummy/node_modules/deps-sort/test/sort.js +23 -0
- data/test/dummy/node_modules/des.js/README.md +26 -0
- data/test/dummy/node_modules/des.js/lib/des/cbc.js +65 -0
- data/test/dummy/node_modules/des.js/lib/des/cipher.js +141 -0
- data/test/dummy/node_modules/des.js/lib/des/des.js +143 -0
- data/test/dummy/node_modules/des.js/lib/des/ede.js +55 -0
- data/test/dummy/node_modules/des.js/lib/des/utils.js +256 -0
- data/test/dummy/node_modules/des.js/lib/des.js +7 -0
- data/test/dummy/node_modules/des.js/package.json +85 -0
- data/test/dummy/node_modules/des.js/test/cbc-test.js +73 -0
- data/test/dummy/node_modules/des.js/test/des-test.js +139 -0
- data/test/dummy/node_modules/des.js/test/ede-test.js +73 -0
- data/test/dummy/node_modules/des.js/test/fixtures.js +5 -0
- data/test/dummy/node_modules/des.js/test/utils-test.js +169 -0
- data/test/dummy/node_modules/detective/LICENSE +18 -0
- data/test/dummy/node_modules/detective/bench/detect.js +7 -0
- data/test/dummy/node_modules/detective/bench/esprima_v_acorn.txt +18 -0
- data/test/dummy/node_modules/detective/example/strings.js +6 -0
- data/test/dummy/node_modules/detective/example/strings_src.js +3 -0
- data/test/dummy/node_modules/detective/index.js +71 -0
- data/test/dummy/node_modules/detective/package.json +88 -0
- data/test/dummy/node_modules/detective/readme.markdown +80 -0
- data/test/dummy/node_modules/detective/test/both.js +26 -0
- data/test/dummy/node_modules/detective/test/chained.js +9 -0
- data/test/dummy/node_modules/detective/test/complicated.js +56 -0
- data/test/dummy/node_modules/detective/test/es6-module.js +9 -0
- data/test/dummy/node_modules/detective/test/files/both.js +4 -0
- data/test/dummy/node_modules/detective/test/files/chained.js +5 -0
- data/test/dummy/node_modules/detective/test/files/es6-module.js +5 -0
- data/test/dummy/node_modules/detective/test/files/generators.js +5 -0
- data/test/dummy/node_modules/detective/test/files/isrequire.js +14 -0
- data/test/dummy/node_modules/detective/test/files/nested.js +22 -0
- data/test/dummy/node_modules/detective/test/files/shebang.js +5 -0
- data/test/dummy/node_modules/detective/test/files/sparse-array.js +3 -0
- data/test/dummy/node_modules/detective/test/files/strings.js +13 -0
- data/test/dummy/node_modules/detective/test/files/word.js +13 -0
- data/test/dummy/node_modules/detective/test/files/yield.js +4 -0
- data/test/dummy/node_modules/detective/test/generators.js +9 -0
- data/test/dummy/node_modules/detective/test/isrequire.js +20 -0
- data/test/dummy/node_modules/detective/test/nested.js +9 -0
- data/test/dummy/node_modules/detective/test/noargs.js +26 -0
- data/test/dummy/node_modules/detective/test/parseopts.js +62 -0
- data/test/dummy/node_modules/detective/test/return.js +9 -0
- data/test/dummy/node_modules/detective/test/shebang.js +9 -0
- data/test/dummy/node_modules/detective/test/sparse-array.js +14 -0
- data/test/dummy/node_modules/detective/test/strings.js +9 -0
- data/test/dummy/node_modules/detective/test/word.js +12 -0
- data/test/dummy/node_modules/detective/test/yield.js +9 -0
- data/test/dummy/node_modules/diffie-hellman/browser.js +42 -0
- data/test/dummy/node_modules/diffie-hellman/index.js +10 -0
- data/test/dummy/node_modules/diffie-hellman/lib/dh.js +164 -0
- data/test/dummy/node_modules/diffie-hellman/lib/generatePrime.js +105 -0
- data/test/dummy/node_modules/diffie-hellman/lib/primes.json +34 -0
- data/test/dummy/node_modules/diffie-hellman/package.json +101 -0
- data/test/dummy/node_modules/diffie-hellman/readme.md +4 -0
- data/test/dummy/node_modules/domain-browser/HISTORY.md +42 -0
- data/test/dummy/node_modules/domain-browser/LICENSE.md +23 -0
- data/test/dummy/node_modules/domain-browser/README.md +111 -0
- data/test/dummy/node_modules/domain-browser/index.js +69 -0
- data/test/dummy/node_modules/domain-browser/package.json +173 -0
- data/test/dummy/node_modules/domain-browser/test.js +100 -0
- data/test/dummy/node_modules/duplexer2/LICENSE.md +26 -0
- data/test/dummy/node_modules/duplexer2/README.md +115 -0
- data/test/dummy/node_modules/duplexer2/index.js +76 -0
- data/test/dummy/node_modules/duplexer2/package.json +97 -0
- data/test/dummy/node_modules/elliptic/README.md +170 -0
- data/test/dummy/node_modules/elliptic/lib/elliptic/curve/base.js +351 -0
- data/test/dummy/node_modules/elliptic/lib/elliptic/curve/edwards.js +410 -0
- data/test/dummy/node_modules/elliptic/lib/elliptic/curve/index.js +8 -0
- data/test/dummy/node_modules/elliptic/lib/elliptic/curve/mont.js +176 -0
- data/test/dummy/node_modules/elliptic/lib/elliptic/curve/short.js +909 -0
- data/test/dummy/node_modules/elliptic/lib/elliptic/curves.js +205 -0
- data/test/dummy/node_modules/elliptic/lib/elliptic/ec/index.js +222 -0
- data/test/dummy/node_modules/elliptic/lib/elliptic/ec/key.js +107 -0
- data/test/dummy/node_modules/elliptic/lib/elliptic/ec/signature.js +135 -0
- data/test/dummy/node_modules/elliptic/lib/elliptic/eddsa/index.js +118 -0
- data/test/dummy/node_modules/elliptic/lib/elliptic/eddsa/key.js +96 -0
- data/test/dummy/node_modules/elliptic/lib/elliptic/eddsa/signature.js +66 -0
- data/test/dummy/node_modules/elliptic/lib/elliptic/hmac-drbg.js +114 -0
- data/test/dummy/node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js +780 -0
- data/test/dummy/node_modules/elliptic/lib/elliptic/utils.js +173 -0
- data/test/dummy/node_modules/elliptic/lib/elliptic.js +14 -0
- data/test/dummy/node_modules/elliptic/package.json +99 -0
- data/test/dummy/node_modules/esmangle-evaluator/README.md +24 -0
- data/test/dummy/node_modules/esmangle-evaluator/common.js +58 -0
- data/test/dummy/node_modules/esmangle-evaluator/evaluator.js +364 -0
- data/test/dummy/node_modules/esmangle-evaluator/package.json +73 -0
- data/test/dummy/node_modules/esprima/ChangeLog +170 -0
- data/test/dummy/node_modules/esprima/LICENSE.BSD +21 -0
- data/test/dummy/node_modules/esprima/README.md +27 -0
- data/test/dummy/node_modules/esprima/bin/esparse.js +126 -0
- data/test/dummy/node_modules/esprima/bin/esvalidate.js +199 -0
- data/test/dummy/node_modules/esprima/esprima.js +5739 -0
- data/test/dummy/node_modules/esprima/package.json +145 -0
- data/test/dummy/node_modules/events/History.md +38 -0
- data/test/dummy/node_modules/events/LICENSE +22 -0
- data/test/dummy/node_modules/events/Readme.md +19 -0
- data/test/dummy/node_modules/events/events.js +298 -0
- data/test/dummy/node_modules/events/package.json +91 -0
- data/test/dummy/node_modules/events/tests/add-listeners.js +63 -0
- data/test/dummy/node_modules/events/tests/check-listener-leaks.js +86 -0
- data/test/dummy/node_modules/events/tests/common.js +42 -0
- data/test/dummy/node_modules/events/tests/index.js +25 -0
- data/test/dummy/node_modules/events/tests/legacy-compat.js +18 -0
- data/test/dummy/node_modules/events/tests/listener-count.js +36 -0
- data/test/dummy/node_modules/events/tests/listeners-side-effects.js +55 -0
- data/test/dummy/node_modules/events/tests/listeners.js +51 -0
- data/test/dummy/node_modules/events/tests/max-listeners.js +50 -0
- data/test/dummy/node_modules/events/tests/modify-in-emit.js +76 -0
- data/test/dummy/node_modules/events/tests/num-args.js +44 -0
- data/test/dummy/node_modules/events/tests/once.js +59 -0
- data/test/dummy/node_modules/events/tests/remove-all-listeners.js +80 -0
- data/test/dummy/node_modules/events/tests/remove-listeners.js +84 -0
- data/test/dummy/node_modules/events/tests/set-max-listeners-side-effects.js +29 -0
- data/test/dummy/node_modules/events/tests/subclass.js +51 -0
- data/test/dummy/node_modules/evp_bytestokey/index.js +68 -0
- data/test/dummy/node_modules/evp_bytestokey/package.json +84 -0
- data/test/dummy/node_modules/evp_bytestokey/readme.md +13 -0
- data/test/dummy/node_modules/evp_bytestokey/test.js +19 -0
- data/test/dummy/node_modules/expand-brackets/LICENSE +21 -0
- data/test/dummy/node_modules/expand-brackets/README.md +107 -0
- data/test/dummy/node_modules/expand-brackets/index.js +163 -0
- data/test/dummy/node_modules/expand-brackets/package.json +128 -0
- data/test/dummy/node_modules/expand-range/LICENSE +24 -0
- data/test/dummy/node_modules/expand-range/README.md +107 -0
- data/test/dummy/node_modules/expand-range/index.js +43 -0
- data/test/dummy/node_modules/expand-range/package.json +107 -0
- data/test/dummy/node_modules/extglob/LICENSE +21 -0
- data/test/dummy/node_modules/extglob/README.md +88 -0
- data/test/dummy/node_modules/extglob/index.js +178 -0
- data/test/dummy/node_modules/extglob/package.json +108 -0
- data/test/dummy/node_modules/falafel/example/array.js +14 -0
- data/test/dummy/node_modules/falafel/example/keyword.js +16 -0
- data/test/dummy/node_modules/falafel/example/prompt.js +49 -0
- data/test/dummy/node_modules/falafel/index.js +79 -0
- data/test/dummy/node_modules/falafel/package.json +137 -0
- data/test/dummy/node_modules/falafel/readme.markdown +122 -0
- data/test/dummy/node_modules/falafel/test/array.js +35 -0
- data/test/dummy/node_modules/falafel/test/async.js +42 -0
- data/test/dummy/node_modules/falafel/test/bin/run.js +5 -0
- data/test/dummy/node_modules/falafel/test/custom-parser.js +42 -0
- data/test/dummy/node_modules/falafel/test/es6.js +15 -0
- data/test/dummy/node_modules/falafel/test/for.js +30 -0
- data/test/dummy/node_modules/falafel/test/inspect.js +36 -0
- data/test/dummy/node_modules/falafel/test/opts.js +134 -0
- data/test/dummy/node_modules/falafel/test/parent.js +33 -0
- data/test/dummy/node_modules/filename-regex/README.md +51 -0
- data/test/dummy/node_modules/filename-regex/index.js +10 -0
- data/test/dummy/node_modules/filename-regex/package.json +92 -0
- data/test/dummy/node_modules/fill-range/LICENSE +21 -0
- data/test/dummy/node_modules/fill-range/README.md +290 -0
- data/test/dummy/node_modules/fill-range/index.js +408 -0
- data/test/dummy/node_modules/fill-range/package.json +123 -0
- data/test/dummy/node_modules/for-in/LICENSE +21 -0
- data/test/dummy/node_modules/for-in/README.md +74 -0
- data/test/dummy/node_modules/for-in/index.js +16 -0
- data/test/dummy/node_modules/for-in/package.json +119 -0
- data/test/dummy/node_modules/for-own/LICENSE +21 -0
- data/test/dummy/node_modules/for-own/README.md +52 -0
- data/test/dummy/node_modules/for-own/index.js +19 -0
- data/test/dummy/node_modules/for-own/package.json +120 -0
- data/test/dummy/node_modules/foreach/LICENSE +24 -0
- data/test/dummy/node_modules/foreach/Makefile +11 -0
- data/test/dummy/node_modules/foreach/Readme.md +30 -0
- data/test/dummy/node_modules/foreach/component.json +11 -0
- data/test/dummy/node_modules/foreach/index.js +22 -0
- data/test/dummy/node_modules/foreach/package.json +109 -0
- data/test/dummy/node_modules/foreach/test.js +153 -0
- data/test/dummy/node_modules/fsevents/LICENSE +22 -0
- data/test/dummy/node_modules/fsevents/Readme.md +78 -0
- data/test/dummy/node_modules/fsevents/binding.gyp +29 -0
- data/test/dummy/node_modules/fsevents/fsevents.cc +102 -0
- data/test/dummy/node_modules/fsevents/fsevents.js +105 -0
- data/test/dummy/node_modules/fsevents/lib/binding/Release/node-v47-darwin-x64/fse.node +0 -0
- data/test/dummy/node_modules/fsevents/node_modules/ansi/History.md +23 -0
- data/test/dummy/node_modules/fsevents/node_modules/ansi/LICENSE +24 -0
- data/test/dummy/node_modules/fsevents/node_modules/ansi/README.md +98 -0
- data/test/dummy/node_modules/fsevents/node_modules/ansi/examples/beep/index.js +16 -0
- data/test/dummy/node_modules/fsevents/node_modules/ansi/examples/clear/index.js +15 -0
- data/test/dummy/node_modules/fsevents/node_modules/ansi/examples/cursorPosition.js +32 -0
- data/test/dummy/node_modules/fsevents/node_modules/ansi/examples/progress/index.js +87 -0
- data/test/dummy/node_modules/fsevents/node_modules/ansi/lib/ansi.js +405 -0
- data/test/dummy/node_modules/fsevents/node_modules/ansi/lib/newlines.js +71 -0
- data/test/dummy/node_modules/fsevents/node_modules/ansi/package.json +69 -0
- data/test/dummy/node_modules/fsevents/node_modules/ansi-regex/index.js +4 -0
- data/test/dummy/node_modules/fsevents/node_modules/ansi-regex/package.json +95 -0
- data/test/dummy/node_modules/fsevents/node_modules/ansi-regex/readme.md +31 -0
- data/test/dummy/node_modules/fsevents/node_modules/ansi-styles/index.js +65 -0
- data/test/dummy/node_modules/fsevents/node_modules/ansi-styles/package.json +89 -0
- data/test/dummy/node_modules/fsevents/node_modules/ansi-styles/readme.md +86 -0
- data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/CHANGES.md +19 -0
- data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/LICENSE +5 -0
- data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/README.md +194 -0
- data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/index.js +4 -0
- data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/package.json +65 -0
- data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/test/lib/test-event.js +29 -0
- data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/test/tracker.js +57 -0
- data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/test/trackergroup.js +96 -0
- data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/test/trackerstream.js +51 -0
- data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/tracker-base.js +11 -0
- data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/tracker-group.js +107 -0
- data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/tracker-stream.js +35 -0
- data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/tracker.js +30 -0
- data/test/dummy/node_modules/fsevents/node_modules/asn1/LICENSE +19 -0
- data/test/dummy/node_modules/fsevents/node_modules/asn1/README.md +50 -0
- data/test/dummy/node_modules/fsevents/node_modules/asn1/lib/ber/errors.js +13 -0
- data/test/dummy/node_modules/fsevents/node_modules/asn1/lib/ber/index.js +27 -0
- data/test/dummy/node_modules/fsevents/node_modules/asn1/lib/ber/reader.js +261 -0
- data/test/dummy/node_modules/fsevents/node_modules/asn1/lib/ber/types.js +36 -0
- data/test/dummy/node_modules/fsevents/node_modules/asn1/lib/ber/writer.js +316 -0
- data/test/dummy/node_modules/fsevents/node_modules/asn1/lib/index.js +20 -0
- data/test/dummy/node_modules/fsevents/node_modules/asn1/package.json +72 -0
- data/test/dummy/node_modules/fsevents/node_modules/asn1/tst/ber/reader.test.js +208 -0
- data/test/dummy/node_modules/fsevents/node_modules/asn1/tst/ber/writer.test.js +370 -0
- data/test/dummy/node_modules/fsevents/node_modules/assert-plus/AUTHORS +6 -0
- data/test/dummy/node_modules/fsevents/node_modules/assert-plus/CHANGES.md +8 -0
- data/test/dummy/node_modules/fsevents/node_modules/assert-plus/README.md +155 -0
- data/test/dummy/node_modules/fsevents/node_modules/assert-plus/assert.js +206 -0
- data/test/dummy/node_modules/fsevents/node_modules/assert-plus/package.json +90 -0
- data/test/dummy/node_modules/fsevents/node_modules/async/README.md +1877 -0
- data/test/dummy/node_modules/fsevents/node_modules/async/dist/async.js +1265 -0
- data/test/dummy/node_modules/fsevents/node_modules/async/dist/async.min.js +2 -0
- data/test/dummy/node_modules/fsevents/node_modules/async/lib/async.js +1265 -0
- data/test/dummy/node_modules/fsevents/node_modules/async/package.json +131 -0
- data/test/dummy/node_modules/fsevents/node_modules/aws-sign2/LICENSE +55 -0
- data/test/dummy/node_modules/fsevents/node_modules/aws-sign2/README.md +4 -0
- data/test/dummy/node_modules/fsevents/node_modules/aws-sign2/index.js +212 -0
- data/test/dummy/node_modules/fsevents/node_modules/aws-sign2/package.json +55 -0
- data/test/dummy/node_modules/fsevents/node_modules/aws4/LICENSE +19 -0
- data/test/dummy/node_modules/fsevents/node_modules/aws4/README.md +514 -0
- data/test/dummy/node_modules/fsevents/node_modules/aws4/aws4.js +318 -0
- data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/README.md +142 -0
- data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/lib/lru-cache.js +469 -0
- data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/LICENSE +15 -0
- data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/README.md +60 -0
- data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/map.js +9 -0
- data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/package.json +60 -0
- data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/pseudomap.js +113 -0
- data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/test/basic.js +86 -0
- data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/CONTRIBUTING.md +4 -0
- data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/LICENSE +15 -0
- data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/README.md +204 -0
- data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/package.json +60 -0
- data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/test/basic.js +188 -0
- data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/yallist.js +360 -0
- data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/package.json +78 -0
- data/test/dummy/node_modules/fsevents/node_modules/aws4/package.json +117 -0
- data/test/dummy/node_modules/fsevents/node_modules/bl/LICENSE.md +13 -0
- data/test/dummy/node_modules/fsevents/node_modules/bl/README.md +200 -0
- data/test/dummy/node_modules/fsevents/node_modules/bl/bl.js +227 -0
- data/test/dummy/node_modules/fsevents/node_modules/bl/package.json +72 -0
- data/test/dummy/node_modules/fsevents/node_modules/bl/test/test.js +571 -0
- data/test/dummy/node_modules/fsevents/node_modules/block-stream/LICENCE +25 -0
- data/test/dummy/node_modules/fsevents/node_modules/block-stream/LICENSE +15 -0
- data/test/dummy/node_modules/fsevents/node_modules/block-stream/README.md +14 -0
- data/test/dummy/node_modules/fsevents/node_modules/block-stream/bench/block-stream-pause.js +70 -0
- data/test/dummy/node_modules/fsevents/node_modules/block-stream/bench/block-stream.js +68 -0
- data/test/dummy/node_modules/fsevents/node_modules/block-stream/bench/dropper-pause.js +70 -0
- data/test/dummy/node_modules/fsevents/node_modules/block-stream/bench/dropper.js +68 -0
- data/test/dummy/node_modules/fsevents/node_modules/block-stream/block-stream.js +209 -0
- data/test/dummy/node_modules/fsevents/node_modules/block-stream/package.json +62 -0
- data/test/dummy/node_modules/fsevents/node_modules/block-stream/test/basic.js +27 -0
- data/test/dummy/node_modules/fsevents/node_modules/block-stream/test/nopad-thorough.js +68 -0
- data/test/dummy/node_modules/fsevents/node_modules/block-stream/test/nopad.js +57 -0
- data/test/dummy/node_modules/fsevents/node_modules/block-stream/test/pause-resume.js +73 -0
- data/test/dummy/node_modules/fsevents/node_modules/block-stream/test/thorough.js +68 -0
- data/test/dummy/node_modules/fsevents/node_modules/block-stream/test/two-stream.js +59 -0
- data/test/dummy/node_modules/fsevents/node_modules/boom/CONTRIBUTING.md +1 -0
- data/test/dummy/node_modules/fsevents/node_modules/boom/LICENSE +28 -0
- data/test/dummy/node_modules/fsevents/node_modules/boom/README.md +652 -0
- data/test/dummy/node_modules/fsevents/node_modules/boom/images/boom.png +0 -0
- data/test/dummy/node_modules/fsevents/node_modules/boom/lib/index.js +318 -0
- data/test/dummy/node_modules/fsevents/node_modules/boom/package.json +72 -0
- data/test/dummy/node_modules/fsevents/node_modules/boom/test/index.js +654 -0
- data/test/dummy/node_modules/fsevents/node_modules/caseless/LICENSE +28 -0
- data/test/dummy/node_modules/fsevents/node_modules/caseless/README.md +45 -0
- data/test/dummy/node_modules/fsevents/node_modules/caseless/index.js +66 -0
- data/test/dummy/node_modules/fsevents/node_modules/caseless/package.json +70 -0
- data/test/dummy/node_modules/fsevents/node_modules/caseless/test.js +40 -0
- data/test/dummy/node_modules/fsevents/node_modules/chalk/index.js +116 -0
- data/test/dummy/node_modules/fsevents/node_modules/chalk/package.json +115 -0
- data/test/dummy/node_modules/fsevents/node_modules/chalk/readme.md +213 -0
- data/test/dummy/node_modules/fsevents/node_modules/combined-stream/License +19 -0
- data/test/dummy/node_modules/fsevents/node_modules/combined-stream/Readme.md +138 -0
- data/test/dummy/node_modules/fsevents/node_modules/combined-stream/lib/combined_stream.js +188 -0
- data/test/dummy/node_modules/fsevents/node_modules/combined-stream/package.json +75 -0
- data/test/dummy/node_modules/fsevents/node_modules/commander/Readme.md +351 -0
- data/test/dummy/node_modules/fsevents/node_modules/commander/index.js +1110 -0
- data/test/dummy/node_modules/fsevents/node_modules/commander/package.json +78 -0
- data/test/dummy/node_modules/fsevents/node_modules/core-util-is/LICENSE +19 -0
- data/test/dummy/node_modules/fsevents/node_modules/core-util-is/README.md +3 -0
- data/test/dummy/node_modules/fsevents/node_modules/core-util-is/float.patch +604 -0
- data/test/dummy/node_modules/fsevents/node_modules/core-util-is/lib/util.js +107 -0
- data/test/dummy/node_modules/fsevents/node_modules/core-util-is/package.json +68 -0
- data/test/dummy/node_modules/fsevents/node_modules/core-util-is/test.js +68 -0
- data/test/dummy/node_modules/fsevents/node_modules/cryptiles/LICENSE +28 -0
- data/test/dummy/node_modules/fsevents/node_modules/cryptiles/README.md +16 -0
- data/test/dummy/node_modules/fsevents/node_modules/cryptiles/lib/index.js +68 -0
- data/test/dummy/node_modules/fsevents/node_modules/cryptiles/package.json +68 -0
- data/test/dummy/node_modules/fsevents/node_modules/cryptiles/test/index.js +102 -0
- data/test/dummy/node_modules/fsevents/node_modules/dashdash/README.md +574 -0
- data/test/dummy/node_modules/fsevents/node_modules/dashdash/etc/dashdash.bash_completion.in +388 -0
- data/test/dummy/node_modules/fsevents/node_modules/dashdash/lib/dashdash.js +1022 -0
- data/test/dummy/node_modules/fsevents/node_modules/dashdash/node_modules/assert-plus/AUTHORS +6 -0
- data/test/dummy/node_modules/fsevents/node_modules/dashdash/node_modules/assert-plus/CHANGES.md +14 -0
- data/test/dummy/node_modules/fsevents/node_modules/dashdash/node_modules/assert-plus/README.md +162 -0
- data/test/dummy/node_modules/fsevents/node_modules/dashdash/node_modules/assert-plus/assert.js +211 -0
- data/test/dummy/node_modules/fsevents/node_modules/dashdash/node_modules/assert-plus/package.json +90 -0
- data/test/dummy/node_modules/fsevents/node_modules/dashdash/package.json +99 -0
- data/test/dummy/node_modules/fsevents/node_modules/debug/History.md +195 -0
- data/test/dummy/node_modules/fsevents/node_modules/debug/Makefile +36 -0
- data/test/dummy/node_modules/fsevents/node_modules/debug/Readme.md +188 -0
- data/test/dummy/node_modules/fsevents/node_modules/debug/bower.json +28 -0
- data/test/dummy/node_modules/fsevents/node_modules/debug/browser.js +168 -0
- data/test/dummy/node_modules/fsevents/node_modules/debug/component.json +19 -0
- data/test/dummy/node_modules/fsevents/node_modules/debug/debug.js +197 -0
- data/test/dummy/node_modules/fsevents/node_modules/debug/node.js +209 -0
- data/test/dummy/node_modules/fsevents/node_modules/debug/package.json +80 -0
- data/test/dummy/node_modules/fsevents/node_modules/deep-extend/README.md +90 -0
- data/test/dummy/node_modules/fsevents/node_modules/deep-extend/index.js +1 -0
- data/test/dummy/node_modules/fsevents/node_modules/deep-extend/lib/deep-extend.js +144 -0
- data/test/dummy/node_modules/fsevents/node_modules/deep-extend/package.json +95 -0
- data/test/dummy/node_modules/fsevents/node_modules/delayed-stream/License +19 -0
- data/test/dummy/node_modules/fsevents/node_modules/delayed-stream/Makefile +7 -0
- data/test/dummy/node_modules/fsevents/node_modules/delayed-stream/Readme.md +141 -0
- data/test/dummy/node_modules/fsevents/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
- data/test/dummy/node_modules/fsevents/node_modules/delayed-stream/package.json +71 -0
- data/test/dummy/node_modules/fsevents/node_modules/delegates/History.md +22 -0
- data/test/dummy/node_modules/fsevents/node_modules/delegates/License +20 -0
- data/test/dummy/node_modules/fsevents/node_modules/delegates/Makefile +8 -0
- data/test/dummy/node_modules/fsevents/node_modules/delegates/Readme.md +94 -0
- data/test/dummy/node_modules/fsevents/node_modules/delegates/index.js +121 -0
- data/test/dummy/node_modules/fsevents/node_modules/delegates/package.json +59 -0
- data/test/dummy/node_modules/fsevents/node_modules/delegates/test/index.js +94 -0
- data/test/dummy/node_modules/fsevents/node_modules/ecc-jsbn/LICENSE +21 -0
- data/test/dummy/node_modules/fsevents/node_modules/ecc-jsbn/README.md +8 -0
- data/test/dummy/node_modules/fsevents/node_modules/ecc-jsbn/index.js +57 -0
- data/test/dummy/node_modules/fsevents/node_modules/ecc-jsbn/lib/LICENSE-jsbn +40 -0
- data/test/dummy/node_modules/fsevents/node_modules/ecc-jsbn/lib/ec.js +561 -0
- data/test/dummy/node_modules/fsevents/node_modules/ecc-jsbn/lib/sec.js +170 -0
- data/test/dummy/node_modules/fsevents/node_modules/ecc-jsbn/package.json +64 -0
- data/test/dummy/node_modules/fsevents/node_modules/ecc-jsbn/test.js +14 -0
- data/test/dummy/node_modules/fsevents/node_modules/escape-string-regexp/index.js +11 -0
- data/test/dummy/node_modules/fsevents/node_modules/escape-string-regexp/package.json +84 -0
- data/test/dummy/node_modules/fsevents/node_modules/escape-string-regexp/readme.md +27 -0
- data/test/dummy/node_modules/fsevents/node_modules/extend/CHANGELOG.md +69 -0
- data/test/dummy/node_modules/fsevents/node_modules/extend/LICENSE +23 -0
- data/test/dummy/node_modules/fsevents/node_modules/extend/README.md +62 -0
- data/test/dummy/node_modules/fsevents/node_modules/extend/component.json +32 -0
- data/test/dummy/node_modules/fsevents/node_modules/extend/index.js +86 -0
- data/test/dummy/node_modules/fsevents/node_modules/extend/package.json +80 -0
- data/test/dummy/node_modules/fsevents/node_modules/extsprintf/LICENSE +19 -0
- data/test/dummy/node_modules/fsevents/node_modules/extsprintf/Makefile +23 -0
- data/test/dummy/node_modules/fsevents/node_modules/extsprintf/Makefile.deps +39 -0
- data/test/dummy/node_modules/fsevents/node_modules/extsprintf/Makefile.targ +285 -0
- data/test/dummy/node_modules/fsevents/node_modules/extsprintf/README.md +39 -0
- data/test/dummy/node_modules/fsevents/node_modules/extsprintf/examples/simple.js +2 -0
- data/test/dummy/node_modules/fsevents/node_modules/extsprintf/jsl.node.conf +137 -0
- data/test/dummy/node_modules/fsevents/node_modules/extsprintf/lib/extsprintf.js +166 -0
- data/test/dummy/node_modules/fsevents/node_modules/extsprintf/package.json +49 -0
- data/test/dummy/node_modules/fsevents/node_modules/forever-agent/LICENSE +55 -0
- data/test/dummy/node_modules/fsevents/node_modules/forever-agent/README.md +4 -0
- data/test/dummy/node_modules/fsevents/node_modules/forever-agent/index.js +138 -0
- data/test/dummy/node_modules/fsevents/node_modules/forever-agent/package.json +62 -0
- data/test/dummy/node_modules/fsevents/node_modules/form-data/License +19 -0
- data/test/dummy/node_modules/fsevents/node_modules/form-data/README.md +218 -0
- data/test/dummy/node_modules/fsevents/node_modules/form-data/lib/browser.js +2 -0
- data/test/dummy/node_modules/fsevents/node_modules/form-data/lib/form_data.js +411 -0
- data/test/dummy/node_modules/fsevents/node_modules/form-data/lib/populate.js +9 -0
- data/test/dummy/node_modules/fsevents/node_modules/form-data/package.json +112 -0
- data/test/dummy/node_modules/fsevents/node_modules/form-data/wercker.yml +36 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream/LICENSE +15 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream/README.md +76 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream/examples/filter-pipe.js +134 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream/examples/pipe.js +118 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream/examples/reader.js +68 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream/examples/symlink-write.js +27 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream/fstream.js +35 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/abstract.js +85 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/collect.js +68 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/dir-reader.js +252 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/dir-writer.js +174 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/file-reader.js +150 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/file-writer.js +107 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/get-type.js +33 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/link-reader.js +53 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/link-writer.js +95 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/proxy-reader.js +95 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/proxy-writer.js +111 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/reader.js +255 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/socket-reader.js +36 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/writer.js +390 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream/package.json +80 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/LICENSE +15 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/README.md +22 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/example/basic.js +13 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/ignore.js +275 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/README.md +216 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/minimatch.js +912 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/README.md +122 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/example.js +8 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/index.js +191 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/LICENSE.md +21 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile +6 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md +89 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js +5 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js +50 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +80 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js +84 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/LICENSE +18 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown +62 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js +6 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js +13 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json +91 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js +39 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/package.json +86 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/package.json +67 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/package.json +68 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/test/00-setup.js +71 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/test/basic.js +28 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/test/common.js +40 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/test/ignore-most.js +41 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/test/nested-ignores.js +51 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/test/read-file-order.js +81 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/test/unignore-child.js +38 -0
- data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/test/zz-cleanup.js +10 -0
- data/test/dummy/node_modules/fsevents/node_modules/gauge/LICENSE +13 -0
- data/test/dummy/node_modules/fsevents/node_modules/gauge/README.md +166 -0
- data/test/dummy/node_modules/fsevents/node_modules/gauge/example.png +0 -0
- data/test/dummy/node_modules/fsevents/node_modules/gauge/package.json +72 -0
- data/test/dummy/node_modules/fsevents/node_modules/gauge/progress-bar.js +225 -0
- data/test/dummy/node_modules/fsevents/node_modules/gauge/test/progress-bar.js +176 -0
- data/test/dummy/node_modules/fsevents/node_modules/generate-function/README.md +72 -0
- data/test/dummy/node_modules/fsevents/node_modules/generate-function/example.js +27 -0
- data/test/dummy/node_modules/fsevents/node_modules/generate-function/index.js +61 -0
- data/test/dummy/node_modules/fsevents/node_modules/generate-function/package.json +61 -0
- data/test/dummy/node_modules/fsevents/node_modules/generate-function/test.js +33 -0
- data/test/dummy/node_modules/fsevents/node_modules/generate-object-property/LICENSE +21 -0
- data/test/dummy/node_modules/fsevents/node_modules/generate-object-property/README.md +19 -0
- data/test/dummy/node_modules/fsevents/node_modules/generate-object-property/index.js +12 -0
- data/test/dummy/node_modules/fsevents/node_modules/generate-object-property/package.json +58 -0
- data/test/dummy/node_modules/fsevents/node_modules/generate-object-property/test.js +12 -0
- data/test/dummy/node_modules/fsevents/node_modules/graceful-fs/README.md +53 -0
- data/test/dummy/node_modules/fsevents/node_modules/graceful-fs/fs.js +21 -0
- data/test/dummy/node_modules/fsevents/node_modules/graceful-fs/graceful-fs.js +253 -0
- data/test/dummy/node_modules/fsevents/node_modules/graceful-fs/legacy-streams.js +118 -0
- data/test/dummy/node_modules/fsevents/node_modules/graceful-fs/package.json +85 -0
- data/test/dummy/node_modules/fsevents/node_modules/graceful-fs/polyfills.js +252 -0
- data/test/dummy/node_modules/fsevents/node_modules/graceful-readlink/LICENSE +22 -0
- data/test/dummy/node_modules/fsevents/node_modules/graceful-readlink/README.md +17 -0
- data/test/dummy/node_modules/fsevents/node_modules/graceful-readlink/index.js +12 -0
- data/test/dummy/node_modules/fsevents/node_modules/graceful-readlink/package.json +57 -0
- data/test/dummy/node_modules/fsevents/node_modules/har-validator/README.md +309 -0
- data/test/dummy/node_modules/fsevents/node_modules/har-validator/bin/har-validator +56 -0
- data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/async.js +14 -0
- data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/error.js +10 -0
- data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/index.js +22 -0
- data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/runner.js +29 -0
- data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/cache.json +13 -0
- data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/cacheEntry.json +31 -0
- data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/content.json +27 -0
- data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/cookie.json +34 -0
- data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/creator.json +18 -0
- data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/entry.json +51 -0
- data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/har.json +11 -0
- data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/index.js +49 -0
- data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/log.json +34 -0
- data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/page.json +30 -0
- data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/pageTimings.json +16 -0
- data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/postData.json +41 -0
- data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/record.json +18 -0
- data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/request.json +55 -0
- data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/response.json +52 -0
- data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/timings.json +40 -0
- data/test/dummy/node_modules/fsevents/node_modules/har-validator/package.json +94 -0
- data/test/dummy/node_modules/fsevents/node_modules/has-ansi/index.js +4 -0
- data/test/dummy/node_modules/fsevents/node_modules/has-ansi/package.json +92 -0
- data/test/dummy/node_modules/fsevents/node_modules/has-ansi/readme.md +36 -0
- data/test/dummy/node_modules/fsevents/node_modules/has-unicode/LICENSE +14 -0
- data/test/dummy/node_modules/fsevents/node_modules/has-unicode/README.md +43 -0
- data/test/dummy/node_modules/fsevents/node_modules/has-unicode/index.js +21 -0
- data/test/dummy/node_modules/fsevents/node_modules/has-unicode/package.json +62 -0
- data/test/dummy/node_modules/fsevents/node_modules/has-unicode/test/index.js +26 -0
- data/test/dummy/node_modules/fsevents/node_modules/hawk/LICENSE +28 -0
- data/test/dummy/node_modules/fsevents/node_modules/hawk/README.md +634 -0
- data/test/dummy/node_modules/fsevents/node_modules/hawk/bower.json +24 -0
- data/test/dummy/node_modules/fsevents/node_modules/hawk/component.json +19 -0
- data/test/dummy/node_modules/fsevents/node_modules/hawk/dist/client.js +343 -0
- data/test/dummy/node_modules/fsevents/node_modules/hawk/example/usage.js +78 -0
- data/test/dummy/node_modules/fsevents/node_modules/hawk/images/hawk.png +0 -0
- data/test/dummy/node_modules/fsevents/node_modules/hawk/images/logo.png +0 -0
- data/test/dummy/node_modules/fsevents/node_modules/hawk/lib/browser.js +637 -0
- data/test/dummy/node_modules/fsevents/node_modules/hawk/lib/client.js +369 -0
- data/test/dummy/node_modules/fsevents/node_modules/hawk/lib/crypto.js +126 -0
- data/test/dummy/node_modules/fsevents/node_modules/hawk/lib/index.js +15 -0
- data/test/dummy/node_modules/fsevents/node_modules/hawk/lib/server.js +548 -0
- data/test/dummy/node_modules/fsevents/node_modules/hawk/lib/utils.js +184 -0
- data/test/dummy/node_modules/fsevents/node_modules/hawk/package.json +75 -0
- data/test/dummy/node_modules/fsevents/node_modules/hawk/test/browser.js +1492 -0
- data/test/dummy/node_modules/fsevents/node_modules/hawk/test/client.js +440 -0
- data/test/dummy/node_modules/fsevents/node_modules/hawk/test/crypto.js +70 -0
- data/test/dummy/node_modules/fsevents/node_modules/hawk/test/index.js +378 -0
- data/test/dummy/node_modules/fsevents/node_modules/hawk/test/readme.js +95 -0
- data/test/dummy/node_modules/fsevents/node_modules/hawk/test/server.js +1329 -0
- data/test/dummy/node_modules/fsevents/node_modules/hawk/test/uri.js +838 -0
- data/test/dummy/node_modules/fsevents/node_modules/hawk/test/utils.js +149 -0
- data/test/dummy/node_modules/fsevents/node_modules/hoek/CONTRIBUTING.md +1 -0
- data/test/dummy/node_modules/fsevents/node_modules/hoek/LICENSE +31 -0
- data/test/dummy/node_modules/fsevents/node_modules/hoek/README.md +584 -0
- data/test/dummy/node_modules/fsevents/node_modules/hoek/images/hoek.png +0 -0
- data/test/dummy/node_modules/fsevents/node_modules/hoek/lib/escape.js +132 -0
- data/test/dummy/node_modules/fsevents/node_modules/hoek/lib/index.js +993 -0
- data/test/dummy/node_modules/fsevents/node_modules/hoek/package.json +70 -0
- data/test/dummy/node_modules/fsevents/node_modules/hoek/test/escaper.js +88 -0
- data/test/dummy/node_modules/fsevents/node_modules/hoek/test/index.js +2513 -0
- data/test/dummy/node_modules/fsevents/node_modules/hoek/test/modules/ignore.txt +0 -0
- data/test/dummy/node_modules/fsevents/node_modules/hoek/test/modules/test1.js +1 -0
- data/test/dummy/node_modules/fsevents/node_modules/hoek/test/modules/test2.js +1 -0
- data/test/dummy/node_modules/fsevents/node_modules/hoek/test/modules/test3.js +1 -0
- data/test/dummy/node_modules/fsevents/node_modules/http-signature/CHANGES.md +46 -0
- data/test/dummy/node_modules/fsevents/node_modules/http-signature/LICENSE +18 -0
- data/test/dummy/node_modules/fsevents/node_modules/http-signature/README.md +79 -0
- data/test/dummy/node_modules/fsevents/node_modules/http-signature/http_signing.md +363 -0
- data/test/dummy/node_modules/fsevents/node_modules/http-signature/lib/index.js +29 -0
- data/test/dummy/node_modules/fsevents/node_modules/http-signature/lib/parser.js +318 -0
- data/test/dummy/node_modules/fsevents/node_modules/http-signature/lib/signer.js +399 -0
- data/test/dummy/node_modules/fsevents/node_modules/http-signature/lib/utils.js +112 -0
- data/test/dummy/node_modules/fsevents/node_modules/http-signature/lib/verify.js +88 -0
- data/test/dummy/node_modules/fsevents/node_modules/http-signature/package.json +90 -0
- data/test/dummy/node_modules/fsevents/node_modules/inherits/LICENSE +16 -0
- data/test/dummy/node_modules/fsevents/node_modules/inherits/README.md +42 -0
- data/test/dummy/node_modules/fsevents/node_modules/inherits/inherits.js +1 -0
- data/test/dummy/node_modules/fsevents/node_modules/inherits/inherits_browser.js +23 -0
- data/test/dummy/node_modules/fsevents/node_modules/inherits/package.json +81 -0
- data/test/dummy/node_modules/fsevents/node_modules/inherits/test.js +25 -0
- data/test/dummy/node_modules/fsevents/node_modules/ini/README.md +102 -0
- data/test/dummy/node_modules/fsevents/node_modules/ini/ini.js +190 -0
- data/test/dummy/node_modules/fsevents/node_modules/ini/package.json +64 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/LICENSE +21 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/README.md +173 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/example.js +18 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/formats.js +14 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/index.js +584 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/package.json +83 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/require.js +12 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/fixtures/cosmic.js +84 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/additionalItems.json +82 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/additionalProperties.json +88 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/allOf.json +112 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/anyOf.json +68 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/bignum.json +107 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/default.json +49 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/definitions.json +32 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/dependencies.json +113 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/enum.json +72 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/format.json +143 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/items.json +46 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/maxItems.json +28 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/maxLength.json +28 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/maxProperties.json +28 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/maximum.json +42 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/minItems.json +28 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/minLength.json +28 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/minProperties.json +28 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/minimum.json +42 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/multipleOf.json +96 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/not.json +96 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndFormat.json +18 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndObject.json +18 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/oneOf.json +68 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/pattern.json +23 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/patternProperties.json +110 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/properties.json +92 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/ref.json +128 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/refRemote.json +74 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/required.json +39 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/type.json +330 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/uniqueItems.json +79 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema.js +23 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/misc.js +447 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-property/LICENSE +22 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-property/README.md +28 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-property/is-property.js +5 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-property/package.json +66 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-typedarray/LICENSE.md +18 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-typedarray/README.md +16 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-typedarray/index.js +41 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-typedarray/package.json +64 -0
- data/test/dummy/node_modules/fsevents/node_modules/is-typedarray/test.js +34 -0
- data/test/dummy/node_modules/fsevents/node_modules/isarray/Makefile +6 -0
- data/test/dummy/node_modules/fsevents/node_modules/isarray/README.md +60 -0
- data/test/dummy/node_modules/fsevents/node_modules/isarray/component.json +19 -0
- data/test/dummy/node_modules/fsevents/node_modules/isarray/index.js +5 -0
- data/test/dummy/node_modules/fsevents/node_modules/isarray/package.json +78 -0
- data/test/dummy/node_modules/fsevents/node_modules/isarray/test.js +20 -0
- data/test/dummy/node_modules/fsevents/node_modules/isstream/LICENSE.md +11 -0
- data/test/dummy/node_modules/fsevents/node_modules/isstream/README.md +66 -0
- data/test/dummy/node_modules/fsevents/node_modules/isstream/isstream.js +27 -0
- data/test/dummy/node_modules/fsevents/node_modules/isstream/package.json +67 -0
- data/test/dummy/node_modules/fsevents/node_modules/isstream/test.js +168 -0
- data/test/dummy/node_modules/fsevents/node_modules/jodid25519/AUTHORS.md +3 -0
- data/test/dummy/node_modules/fsevents/node_modules/jodid25519/LICENSE +23 -0
- data/test/dummy/node_modules/fsevents/node_modules/jodid25519/README.md +51 -0
- data/test/dummy/node_modules/fsevents/node_modules/jodid25519/almond.0 +42 -0
- data/test/dummy/node_modules/fsevents/node_modules/jodid25519/almond.1 +13 -0
- data/test/dummy/node_modules/fsevents/node_modules/jodid25519/index.js +35 -0
- data/test/dummy/node_modules/fsevents/node_modules/jodid25519/jsdoc.json +19 -0
- data/test/dummy/node_modules/fsevents/node_modules/jodid25519/lib/core.js +481 -0
- data/test/dummy/node_modules/fsevents/node_modules/jodid25519/lib/curve255.js +221 -0
- data/test/dummy/node_modules/fsevents/node_modules/jodid25519/lib/dh.js +111 -0
- data/test/dummy/node_modules/fsevents/node_modules/jodid25519/lib/eddsa.js +573 -0
- data/test/dummy/node_modules/fsevents/node_modules/jodid25519/lib/utils.js +198 -0
- data/test/dummy/node_modules/fsevents/node_modules/jodid25519/package.json +78 -0
- data/test/dummy/node_modules/fsevents/node_modules/jsbn/LICENSE +40 -0
- data/test/dummy/node_modules/fsevents/node_modules/jsbn/README.md +175 -0
- data/test/dummy/node_modules/fsevents/node_modules/jsbn/example.html +12 -0
- data/test/dummy/node_modules/fsevents/node_modules/jsbn/example.js +3 -0
- data/test/dummy/node_modules/fsevents/node_modules/jsbn/index.js +1358 -0
- data/test/dummy/node_modules/fsevents/node_modules/jsbn/package.json +61 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/README.md +5 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-00/hyper-schema +68 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-00/json-ref +26 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-00/links +33 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-00/schema +155 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-01/hyper-schema +68 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-01/json-ref +26 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-01/links +33 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-01/schema +155 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-02/hyper-schema +68 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-02/json-ref +26 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-02/links +35 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-02/schema +166 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-03/examples/address +20 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-03/examples/calendar +53 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-03/examples/card +105 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-03/examples/geo +8 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-03/examples/interfaces +23 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-03/hyper-schema +60 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-03/json-ref +26 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-03/links +35 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-03/schema +174 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-04/hyper-schema +60 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-04/links +41 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-04/schema +189 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-zyp-json-schema-03.xml +1120 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-zyp-json-schema-04.xml +1072 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/lib/links.js +52 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/lib/validate.js +260 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/package.json +68 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-schema/test/tests.js +95 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-stringify-safe/CHANGELOG.md +14 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-stringify-safe/LICENSE +15 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-stringify-safe/Makefile +35 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-stringify-safe/README.md +52 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-stringify-safe/package.json +76 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-stringify-safe/stringify.js +27 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-stringify-safe/test/mocha.opts +2 -0
- data/test/dummy/node_modules/fsevents/node_modules/json-stringify-safe/test/stringify_test.js +246 -0
- data/test/dummy/node_modules/fsevents/node_modules/jsonpointer/README.md +32 -0
- data/test/dummy/node_modules/fsevents/node_modules/jsonpointer/jsonpointer.js +76 -0
- data/test/dummy/node_modules/fsevents/node_modules/jsonpointer/package.json +73 -0
- data/test/dummy/node_modules/fsevents/node_modules/jsonpointer/test.js +98 -0
- data/test/dummy/node_modules/fsevents/node_modules/jsprim/CHANGES.md +30 -0
- data/test/dummy/node_modules/fsevents/node_modules/jsprim/LICENSE +19 -0
- data/test/dummy/node_modules/fsevents/node_modules/jsprim/README.md +228 -0
- data/test/dummy/node_modules/fsevents/node_modules/jsprim/lib/jsprim.js +478 -0
- data/test/dummy/node_modules/fsevents/node_modules/jsprim/package.json +55 -0
- data/test/dummy/node_modules/fsevents/node_modules/lodash.pad/LICENSE +23 -0
- data/test/dummy/node_modules/fsevents/node_modules/lodash.pad/README.md +18 -0
- data/test/dummy/node_modules/fsevents/node_modules/lodash.pad/index.js +296 -0
- data/test/dummy/node_modules/fsevents/node_modules/lodash.pad/package.json +91 -0
- data/test/dummy/node_modules/fsevents/node_modules/lodash.padend/LICENSE +23 -0
- data/test/dummy/node_modules/fsevents/node_modules/lodash.padend/README.md +18 -0
- data/test/dummy/node_modules/fsevents/node_modules/lodash.padend/index.js +285 -0
- data/test/dummy/node_modules/fsevents/node_modules/lodash.padend/package.json +91 -0
- data/test/dummy/node_modules/fsevents/node_modules/lodash.padstart/LICENSE +23 -0
- data/test/dummy/node_modules/fsevents/node_modules/lodash.padstart/README.md +18 -0
- data/test/dummy/node_modules/fsevents/node_modules/lodash.padstart/index.js +285 -0
- data/test/dummy/node_modules/fsevents/node_modules/lodash.padstart/package.json +91 -0
- data/test/dummy/node_modules/fsevents/node_modules/lodash.repeat/LICENSE +23 -0
- data/test/dummy/node_modules/fsevents/node_modules/lodash.repeat/README.md +18 -0
- data/test/dummy/node_modules/fsevents/node_modules/lodash.repeat/index.js +215 -0
- data/test/dummy/node_modules/fsevents/node_modules/lodash.repeat/package.json +92 -0
- data/test/dummy/node_modules/fsevents/node_modules/lodash.tostring/LICENSE +23 -0
- data/test/dummy/node_modules/fsevents/node_modules/lodash.tostring/README.md +18 -0
- data/test/dummy/node_modules/fsevents/node_modules/lodash.tostring/index.js +164 -0
- data/test/dummy/node_modules/fsevents/node_modules/lodash.tostring/package.json +91 -0
- data/test/dummy/node_modules/fsevents/node_modules/mime-db/HISTORY.md +320 -0
- data/test/dummy/node_modules/fsevents/node_modules/mime-db/LICENSE +22 -0
- data/test/dummy/node_modules/fsevents/node_modules/mime-db/README.md +82 -0
- data/test/dummy/node_modules/fsevents/node_modules/mime-db/db.json +6575 -0
- data/test/dummy/node_modules/fsevents/node_modules/mime-db/index.js +11 -0
- data/test/dummy/node_modules/fsevents/node_modules/mime-db/package.json +108 -0
- data/test/dummy/node_modules/fsevents/node_modules/mime-types/HISTORY.md +191 -0
- data/test/dummy/node_modules/fsevents/node_modules/mime-types/LICENSE +23 -0
- data/test/dummy/node_modules/fsevents/node_modules/mime-types/README.md +103 -0
- data/test/dummy/node_modules/fsevents/node_modules/mime-types/index.js +188 -0
- data/test/dummy/node_modules/fsevents/node_modules/mime-types/package.json +98 -0
- data/test/dummy/node_modules/fsevents/node_modules/minimist/LICENSE +18 -0
- data/test/dummy/node_modules/fsevents/node_modules/minimist/example/parse.js +2 -0
- data/test/dummy/node_modules/fsevents/node_modules/minimist/index.js +187 -0
- data/test/dummy/node_modules/fsevents/node_modules/minimist/package.json +93 -0
- data/test/dummy/node_modules/fsevents/node_modules/minimist/readme.markdown +73 -0
- data/test/dummy/node_modules/fsevents/node_modules/minimist/test/dash.js +24 -0
- data/test/dummy/node_modules/fsevents/node_modules/minimist/test/default_bool.js +20 -0
- data/test/dummy/node_modules/fsevents/node_modules/minimist/test/dotted.js +16 -0
- data/test/dummy/node_modules/fsevents/node_modules/minimist/test/long.js +31 -0
- data/test/dummy/node_modules/fsevents/node_modules/minimist/test/parse.js +318 -0
- data/test/dummy/node_modules/fsevents/node_modules/minimist/test/parse_modified.js +9 -0
- data/test/dummy/node_modules/fsevents/node_modules/minimist/test/short.js +67 -0
- data/test/dummy/node_modules/fsevents/node_modules/minimist/test/whitespace.js +8 -0
- data/test/dummy/node_modules/fsevents/node_modules/mkdirp/LICENSE +21 -0
- data/test/dummy/node_modules/fsevents/node_modules/mkdirp/bin/cmd.js +33 -0
- data/test/dummy/node_modules/fsevents/node_modules/mkdirp/bin/usage.txt +12 -0
- data/test/dummy/node_modules/fsevents/node_modules/mkdirp/examples/pow.js +6 -0
- data/test/dummy/node_modules/fsevents/node_modules/mkdirp/index.js +98 -0
- data/test/dummy/node_modules/fsevents/node_modules/mkdirp/package.json +86 -0
- data/test/dummy/node_modules/fsevents/node_modules/mkdirp/readme.markdown +100 -0
- data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/chmod.js +41 -0
- data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/clobber.js +38 -0
- data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/mkdirp.js +28 -0
- data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/opts_fs.js +29 -0
- data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/opts_fs_sync.js +27 -0
- data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/perm.js +32 -0
- data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/perm_sync.js +36 -0
- data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/race.js +37 -0
- data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/rel.js +32 -0
- data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/return.js +25 -0
- data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/return_sync.js +24 -0
- data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/root.js +19 -0
- data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/sync.js +32 -0
- data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/umask.js +28 -0
- data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/umask_sync.js +32 -0
- data/test/dummy/node_modules/fsevents/node_modules/ms/LICENSE +20 -0
- data/test/dummy/node_modules/fsevents/node_modules/ms/README.md +35 -0
- data/test/dummy/node_modules/fsevents/node_modules/ms/index.js +125 -0
- data/test/dummy/node_modules/fsevents/node_modules/ms/package.json +56 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/CHANGELOG.md +302 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/LICENSE +27 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/README.md +570 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/appveyor.yml +30 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp +131 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp.cmd +2 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/build.js +43 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/clean.js +23 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/configure.js +48 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/info.js +40 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/install.js +205 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js +192 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/package.js +46 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/pre-binding.js +25 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/publish.js +77 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/rebuild.js +13 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/reinstall.js +13 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/reveal.js +31 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/testbinary.js +73 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/testpackage.js +49 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/unpublish.js +41 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +1190 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js +87 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/handle_gyp_opts.js +94 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/index.html +26 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/package.json +9 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/s3_setup.js +27 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/versioning.js +308 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/LICENSE +15 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/README.md +211 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/bin/nopt.js +54 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/examples/my-program.js +30 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/lib/nopt.js +415 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/CONTRIBUTING.md +3 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/LICENSE +15 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/README.md +23 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/abbrev.js +62 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/package.json +56 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/test.js +47 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/package.json +70 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/test/basic.js +273 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/package.json +139 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-uuid/LICENSE.md +21 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-uuid/README.md +254 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-uuid/benchmark/README.md +53 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-uuid/benchmark/bench.gnu +174 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-uuid/benchmark/bench.sh +34 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-uuid/benchmark/benchmark-native.c +34 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-uuid/benchmark/benchmark.js +84 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-uuid/bin/uuid +26 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-uuid/bower.json +23 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-uuid/component.json +25 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-uuid/package.json +87 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-uuid/test/compare_v1.js +63 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-uuid/test/test.html +17 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-uuid/test/test.js +231 -0
- data/test/dummy/node_modules/fsevents/node_modules/node-uuid/uuid.js +272 -0
- data/test/dummy/node_modules/fsevents/node_modules/npmlog/LICENSE +15 -0
- data/test/dummy/node_modules/fsevents/node_modules/npmlog/README.md +195 -0
- data/test/dummy/node_modules/fsevents/node_modules/npmlog/example.js +39 -0
- data/test/dummy/node_modules/fsevents/node_modules/npmlog/log.js +251 -0
- data/test/dummy/node_modules/fsevents/node_modules/npmlog/package.json +74 -0
- data/test/dummy/node_modules/fsevents/node_modules/npmlog/test/basic.js +235 -0
- data/test/dummy/node_modules/fsevents/node_modules/npmlog/test/progress.js +131 -0
- data/test/dummy/node_modules/fsevents/node_modules/oauth-sign/LICENSE +55 -0
- data/test/dummy/node_modules/fsevents/node_modules/oauth-sign/README.md +4 -0
- data/test/dummy/node_modules/fsevents/node_modules/oauth-sign/index.js +136 -0
- data/test/dummy/node_modules/fsevents/node_modules/oauth-sign/package.json +66 -0
- data/test/dummy/node_modules/fsevents/node_modules/oauth-sign/test.js +89 -0
- data/test/dummy/node_modules/fsevents/node_modules/once/README.md +51 -0
- data/test/dummy/node_modules/fsevents/node_modules/once/once.js +21 -0
- data/test/dummy/node_modules/fsevents/node_modules/once/package.json +70 -0
- data/test/dummy/node_modules/fsevents/node_modules/pinkie/index.js +292 -0
- data/test/dummy/node_modules/fsevents/node_modules/pinkie/package.json +75 -0
- data/test/dummy/node_modules/fsevents/node_modules/pinkie/readme.md +83 -0
- data/test/dummy/node_modules/fsevents/node_modules/pinkie-promise/index.js +3 -0
- data/test/dummy/node_modules/fsevents/node_modules/pinkie-promise/package.json +72 -0
- data/test/dummy/node_modules/fsevents/node_modules/pinkie-promise/readme.md +28 -0
- data/test/dummy/node_modules/fsevents/node_modules/process-nextick-args/index.js +20 -0
- data/test/dummy/node_modules/fsevents/node_modules/process-nextick-args/license.md +19 -0
- data/test/dummy/node_modules/fsevents/node_modules/process-nextick-args/package.json +53 -0
- data/test/dummy/node_modules/fsevents/node_modules/process-nextick-args/readme.md +18 -0
- data/test/dummy/node_modules/fsevents/node_modules/process-nextick-args/test.js +24 -0
- data/test/dummy/node_modules/fsevents/node_modules/qs/CHANGELOG.md +110 -0
- data/test/dummy/node_modules/fsevents/node_modules/qs/CONTRIBUTING.md +1 -0
- data/test/dummy/node_modules/fsevents/node_modules/qs/LICENSE +28 -0
- data/test/dummy/node_modules/fsevents/node_modules/qs/README.md +335 -0
- data/test/dummy/node_modules/fsevents/node_modules/qs/bower.json +22 -0
- data/test/dummy/node_modules/fsevents/node_modules/qs/component.json +15 -0
- data/test/dummy/node_modules/fsevents/node_modules/qs/dist/qs.js +475 -0
- data/test/dummy/node_modules/fsevents/node_modules/qs/lib/index.js +9 -0
- data/test/dummy/node_modules/fsevents/node_modules/qs/lib/parse.js +164 -0
- data/test/dummy/node_modules/fsevents/node_modules/qs/lib/stringify.js +130 -0
- data/test/dummy/node_modules/fsevents/node_modules/qs/lib/utils.js +162 -0
- data/test/dummy/node_modules/fsevents/node_modules/qs/package.json +88 -0
- data/test/dummy/node_modules/fsevents/node_modules/qs/test/index.js +5 -0
- data/test/dummy/node_modules/fsevents/node_modules/qs/test/parse.js +393 -0
- data/test/dummy/node_modules/fsevents/node_modules/qs/test/stringify.js +235 -0
- data/test/dummy/node_modules/fsevents/node_modules/qs/test/utils.js +9 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/LICENSE.APACHE2 +15 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/LICENSE.BSD +26 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/LICENSE.MIT +24 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/README.md +149 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/browser.js +7 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/index.js +60 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/lib/utils.js +103 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/LICENSE +18 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/example/parse.js +2 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/index.js +236 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/package.json +79 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/readme.markdown +91 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/all_bool.js +32 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/bool.js +166 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/dash.js +31 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/default_bool.js +35 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/dotted.js +22 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/kv_short.js +16 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/long.js +31 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/num.js +36 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/parse.js +197 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/parse_modified.js +9 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/short.js +67 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/stop_early.js +15 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/unknown.js +102 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/whitespace.js +8 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/package.json +71 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/test/ini.js +16 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/test/nested-env-vars.js +40 -0
- data/test/dummy/node_modules/fsevents/node_modules/rc/test/test.js +59 -0
- data/test/dummy/node_modules/fsevents/node_modules/readable-stream/LICENSE +18 -0
- data/test/dummy/node_modules/fsevents/node_modules/readable-stream/README.md +36 -0
- data/test/dummy/node_modules/fsevents/node_modules/readable-stream/doc/stream.markdown +1760 -0
- data/test/dummy/node_modules/fsevents/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
- data/test/dummy/node_modules/fsevents/node_modules/readable-stream/duplex.js +1 -0
- data/test/dummy/node_modules/fsevents/node_modules/readable-stream/lib/_stream_duplex.js +75 -0
- data/test/dummy/node_modules/fsevents/node_modules/readable-stream/lib/_stream_passthrough.js +26 -0
- data/test/dummy/node_modules/fsevents/node_modules/readable-stream/lib/_stream_readable.js +880 -0
- data/test/dummy/node_modules/fsevents/node_modules/readable-stream/lib/_stream_transform.js +180 -0
- data/test/dummy/node_modules/fsevents/node_modules/readable-stream/lib/_stream_writable.js +516 -0
- data/test/dummy/node_modules/fsevents/node_modules/readable-stream/package.json +89 -0
- data/test/dummy/node_modules/fsevents/node_modules/readable-stream/passthrough.js +1 -0
- data/test/dummy/node_modules/fsevents/node_modules/readable-stream/readable.js +12 -0
- data/test/dummy/node_modules/fsevents/node_modules/readable-stream/transform.js +1 -0
- data/test/dummy/node_modules/fsevents/node_modules/readable-stream/writable.js +1 -0
- data/test/dummy/node_modules/fsevents/node_modules/request/CHANGELOG.md +593 -0
- data/test/dummy/node_modules/fsevents/node_modules/request/CONTRIBUTING.md +44 -0
- data/test/dummy/node_modules/fsevents/node_modules/request/LICENSE +55 -0
- data/test/dummy/node_modules/fsevents/node_modules/request/README.md +1094 -0
- data/test/dummy/node_modules/fsevents/node_modules/request/index.js +156 -0
- data/test/dummy/node_modules/fsevents/node_modules/request/lib/auth.js +168 -0
- data/test/dummy/node_modules/fsevents/node_modules/request/lib/cookies.js +39 -0
- data/test/dummy/node_modules/fsevents/node_modules/request/lib/getProxyFromURI.js +79 -0
- data/test/dummy/node_modules/fsevents/node_modules/request/lib/har.js +215 -0
- data/test/dummy/node_modules/fsevents/node_modules/request/lib/helpers.js +74 -0
- data/test/dummy/node_modules/fsevents/node_modules/request/lib/multipart.js +112 -0
- data/test/dummy/node_modules/fsevents/node_modules/request/lib/oauth.js +147 -0
- data/test/dummy/node_modules/fsevents/node_modules/request/lib/querystring.js +51 -0
- data/test/dummy/node_modules/fsevents/node_modules/request/lib/redirect.js +153 -0
- data/test/dummy/node_modules/fsevents/node_modules/request/lib/tunnel.js +176 -0
- data/test/dummy/node_modules/fsevents/node_modules/request/package.json +122 -0
- data/test/dummy/node_modules/fsevents/node_modules/request/request.js +1419 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/LICENSE +15 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/README.md +101 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/bin.js +40 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/README.md +365 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/common.js +235 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/glob.js +782 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inflight/LICENSE +15 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inflight/README.md +37 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inflight/inflight.js +44 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/LICENSE +15 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/README.md +36 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/package.json +59 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/test/basic.js +51 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/wrappy.js +33 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inflight/package.json +68 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inflight/test.js +97 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inherits/LICENSE +16 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inherits/README.md +42 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits.js +1 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits_browser.js +23 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inherits/package.json +59 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inherits/test.js +25 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/README.md +216 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/minimatch.js +912 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +122 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js +8 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +191 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/LICENSE.md +21 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile +6 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md +89 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js +5 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js +50 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +80 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js +84 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/LICENSE +18 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown +62 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js +6 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js +13 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json +91 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js +39 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +86 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/package.json +67 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/once/README.md +51 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/LICENSE +15 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/README.md +36 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/package.json +59 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js +51 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js +33 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/once/once.js +21 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/once/package.json +71 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute/index.js +20 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute/package.json +79 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute/readme.md +51 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/package.json +85 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/sync.js +467 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/package.json +76 -0
- data/test/dummy/node_modules/fsevents/node_modules/rimraf/rimraf.js +335 -0
- data/test/dummy/node_modules/fsevents/node_modules/semver/LICENSE +15 -0
- data/test/dummy/node_modules/fsevents/node_modules/semver/README.md +327 -0
- data/test/dummy/node_modules/fsevents/node_modules/semver/bin/semver +133 -0
- data/test/dummy/node_modules/fsevents/node_modules/semver/package.json +60 -0
- data/test/dummy/node_modules/fsevents/node_modules/semver/range.bnf +16 -0
- data/test/dummy/node_modules/fsevents/node_modules/semver/semver.js +1188 -0
- data/test/dummy/node_modules/fsevents/node_modules/semver/test/big-numbers.js +31 -0
- data/test/dummy/node_modules/fsevents/node_modules/semver/test/clean.js +29 -0
- data/test/dummy/node_modules/fsevents/node_modules/semver/test/gtr.js +173 -0
- data/test/dummy/node_modules/fsevents/node_modules/semver/test/index.js +698 -0
- data/test/dummy/node_modules/fsevents/node_modules/semver/test/ltr.js +181 -0
- data/test/dummy/node_modules/fsevents/node_modules/semver/test/major-minor-patch.js +72 -0
- data/test/dummy/node_modules/fsevents/node_modules/sntp/LICENSE +28 -0
- data/test/dummy/node_modules/fsevents/node_modules/sntp/Makefile +9 -0
- data/test/dummy/node_modules/fsevents/node_modules/sntp/README.md +68 -0
- data/test/dummy/node_modules/fsevents/node_modules/sntp/examples/offset.js +16 -0
- data/test/dummy/node_modules/fsevents/node_modules/sntp/examples/time.js +25 -0
- data/test/dummy/node_modules/fsevents/node_modules/sntp/index.js +1 -0
- data/test/dummy/node_modules/fsevents/node_modules/sntp/lib/index.js +412 -0
- data/test/dummy/node_modules/fsevents/node_modules/sntp/package.json +72 -0
- data/test/dummy/node_modules/fsevents/node_modules/sntp/test/index.js +435 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/LICENSE +18 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/README.md +436 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/bin/sshpk-conv +183 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/bin/sshpk-sign +176 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/bin/sshpk-verify +166 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/algs.js +168 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/dhe.js +311 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/ed-compat.js +96 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/errors.js +58 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/fingerprint.js +140 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/formats/auto.js +73 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/formats/pem.js +152 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/formats/pkcs1.js +320 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/formats/pkcs8.js +510 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/formats/rfc4253.js +146 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/formats/ssh-private.js +138 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/formats/ssh.js +114 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/index.js +25 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/key.js +266 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/private-key.js +224 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/signature.js +237 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/ssh-buffer.js +124 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/utils.js +207 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/man/man1/sshpk-conv.1 +135 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/man/man1/sshpk-sign.1 +81 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/man/man1/sshpk-verify.1 +68 -0
- data/test/dummy/node_modules/fsevents/node_modules/sshpk/package.json +107 -0
- data/test/dummy/node_modules/fsevents/node_modules/string_decoder/LICENSE +20 -0
- data/test/dummy/node_modules/fsevents/node_modules/string_decoder/README.md +7 -0
- data/test/dummy/node_modules/fsevents/node_modules/string_decoder/index.js +221 -0
- data/test/dummy/node_modules/fsevents/node_modules/string_decoder/package.json +61 -0
- data/test/dummy/node_modules/fsevents/node_modules/stringstream/LICENSE.txt +22 -0
- data/test/dummy/node_modules/fsevents/node_modules/stringstream/README.md +38 -0
- data/test/dummy/node_modules/fsevents/node_modules/stringstream/example.js +27 -0
- data/test/dummy/node_modules/fsevents/node_modules/stringstream/package.json +59 -0
- data/test/dummy/node_modules/fsevents/node_modules/stringstream/stringstream.js +102 -0
- data/test/dummy/node_modules/fsevents/node_modules/strip-ansi/index.js +6 -0
- data/test/dummy/node_modules/fsevents/node_modules/strip-ansi/package.json +98 -0
- data/test/dummy/node_modules/fsevents/node_modules/strip-ansi/readme.md +33 -0
- data/test/dummy/node_modules/fsevents/node_modules/strip-json-comments/cli.js +41 -0
- data/test/dummy/node_modules/fsevents/node_modules/strip-json-comments/package.json +86 -0
- data/test/dummy/node_modules/fsevents/node_modules/strip-json-comments/readme.md +80 -0
- data/test/dummy/node_modules/fsevents/node_modules/strip-json-comments/strip-json-comments.js +73 -0
- data/test/dummy/node_modules/fsevents/node_modules/supports-color/index.js +50 -0
- data/test/dummy/node_modules/fsevents/node_modules/supports-color/package.json +87 -0
- data/test/dummy/node_modules/fsevents/node_modules/supports-color/readme.md +36 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/LICENSE +12 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/README.md +50 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/examples/extracter.js +19 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/examples/packer.js +24 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/examples/reader.js +36 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/lib/buffer-entry.js +30 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/lib/entry-writer.js +169 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/lib/entry.js +220 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/lib/extended-header-writer.js +191 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/lib/extended-header.js +140 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/lib/extract.js +94 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/lib/global-header-writer.js +14 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/lib/header.js +385 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/lib/pack.js +236 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/lib/parse.js +275 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/package.json +77 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/tar.js +173 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/test/00-setup-fixtures.js +53 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/test/cb-never-called-1.0.1.tgz +0 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/test/dir-normalization.js +177 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/test/dir-normalization.tar +0 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/test/error-on-broken.js +33 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/test/extract-move.js +132 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/test/extract.js +367 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/test/fixtures.tgz +0 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/test/header.js +183 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/test/pack-no-proprietary.js +886 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/test/pack.js +952 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/test/parse-discard.js +29 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/test/parse.js +359 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar/test/zz-cleanup.js +20 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar-pack/LICENSE +23 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar-pack/README.md +81 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar-pack/index.js +240 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar-pack/package.json +75 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar-pack/test/fixtures/packed-file.txt +1 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar-pack/test/fixtures/packed.tar +0 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar-pack/test/fixtures/packed.tar.gz +0 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar-pack/test/fixtures/to-pack/bar.txt +1 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar-pack/test/fixtures/to-pack/foo.txt +1 -0
- data/test/dummy/node_modules/fsevents/node_modules/tar-pack/test/index.js +67 -0
- data/test/dummy/node_modules/fsevents/node_modules/tough-cookie/README.md +492 -0
- data/test/dummy/node_modules/fsevents/node_modules/tough-cookie/lib/cookie.js +1342 -0
- data/test/dummy/node_modules/fsevents/node_modules/tough-cookie/lib/memstore.js +170 -0
- data/test/dummy/node_modules/fsevents/node_modules/tough-cookie/lib/pathMatch.js +61 -0
- data/test/dummy/node_modules/fsevents/node_modules/tough-cookie/lib/permuteDomain.js +56 -0
- data/test/dummy/node_modules/fsevents/node_modules/tough-cookie/lib/pubsuffix.js +98 -0
- data/test/dummy/node_modules/fsevents/node_modules/tough-cookie/lib/store.js +71 -0
- data/test/dummy/node_modules/fsevents/node_modules/tough-cookie/package.json +103 -0
- data/test/dummy/node_modules/fsevents/node_modules/tunnel-agent/LICENSE +55 -0
- data/test/dummy/node_modules/fsevents/node_modules/tunnel-agent/README.md +4 -0
- data/test/dummy/node_modules/fsevents/node_modules/tunnel-agent/index.js +243 -0
- data/test/dummy/node_modules/fsevents/node_modules/tunnel-agent/package.json +67 -0
- data/test/dummy/node_modules/fsevents/node_modules/tweetnacl/CHANGELOG.md +181 -0
- data/test/dummy/node_modules/fsevents/node_modules/tweetnacl/COPYING.txt +9 -0
- data/test/dummy/node_modules/fsevents/node_modules/tweetnacl/README.md +445 -0
- data/test/dummy/node_modules/fsevents/node_modules/tweetnacl/nacl-fast.js +2388 -0
- data/test/dummy/node_modules/fsevents/node_modules/tweetnacl/nacl-fast.min.js +2 -0
- data/test/dummy/node_modules/fsevents/node_modules/tweetnacl/nacl.js +1175 -0
- data/test/dummy/node_modules/fsevents/node_modules/tweetnacl/nacl.min.js +1 -0
- data/test/dummy/node_modules/fsevents/node_modules/tweetnacl/package.json +94 -0
- data/test/dummy/node_modules/fsevents/node_modules/uid-number/LICENSE +15 -0
- data/test/dummy/node_modules/fsevents/node_modules/uid-number/README.md +17 -0
- data/test/dummy/node_modules/fsevents/node_modules/uid-number/get-uid-gid.js +24 -0
- data/test/dummy/node_modules/fsevents/node_modules/uid-number/package.json +57 -0
- data/test/dummy/node_modules/fsevents/node_modules/uid-number/uid-number.js +59 -0
- data/test/dummy/node_modules/fsevents/node_modules/util-deprecate/History.md +16 -0
- data/test/dummy/node_modules/fsevents/node_modules/util-deprecate/LICENSE +24 -0
- data/test/dummy/node_modules/fsevents/node_modules/util-deprecate/README.md +53 -0
- data/test/dummy/node_modules/fsevents/node_modules/util-deprecate/browser.js +67 -0
- data/test/dummy/node_modules/fsevents/node_modules/util-deprecate/node.js +6 -0
- data/test/dummy/node_modules/fsevents/node_modules/util-deprecate/package.json +63 -0
- data/test/dummy/node_modules/fsevents/node_modules/verror/LICENSE +19 -0
- data/test/dummy/node_modules/fsevents/node_modules/verror/Makefile +35 -0
- data/test/dummy/node_modules/fsevents/node_modules/verror/Makefile.targ +285 -0
- data/test/dummy/node_modules/fsevents/node_modules/verror/README.md +120 -0
- data/test/dummy/node_modules/fsevents/node_modules/verror/examples/levels-verror.js +36 -0
- data/test/dummy/node_modules/fsevents/node_modules/verror/examples/levels-werror.js +34 -0
- data/test/dummy/node_modules/fsevents/node_modules/verror/examples/varargs.js +6 -0
- data/test/dummy/node_modules/fsevents/node_modules/verror/examples/verror.js +13 -0
- data/test/dummy/node_modules/fsevents/node_modules/verror/examples/werror.js +14 -0
- data/test/dummy/node_modules/fsevents/node_modules/verror/jsl.node.conf +139 -0
- data/test/dummy/node_modules/fsevents/node_modules/verror/lib/verror.js +157 -0
- data/test/dummy/node_modules/fsevents/node_modules/verror/package.json +53 -0
- data/test/dummy/node_modules/fsevents/node_modules/verror/tests/tst.inherit.js +100 -0
- data/test/dummy/node_modules/fsevents/node_modules/verror/tests/tst.verror.js +156 -0
- data/test/dummy/node_modules/fsevents/node_modules/verror/tests/tst.werror.js +179 -0
- data/test/dummy/node_modules/fsevents/node_modules/wrappy/LICENSE +15 -0
- data/test/dummy/node_modules/fsevents/node_modules/wrappy/README.md +36 -0
- data/test/dummy/node_modules/fsevents/node_modules/wrappy/package.json +59 -0
- data/test/dummy/node_modules/fsevents/node_modules/wrappy/test/basic.js +51 -0
- data/test/dummy/node_modules/fsevents/node_modules/wrappy/wrappy.js +33 -0
- data/test/dummy/node_modules/fsevents/node_modules/xtend/LICENCE +19 -0
- data/test/dummy/node_modules/fsevents/node_modules/xtend/Makefile +4 -0
- data/test/dummy/node_modules/fsevents/node_modules/xtend/README.md +32 -0
- data/test/dummy/node_modules/fsevents/node_modules/xtend/immutable.js +19 -0
- data/test/dummy/node_modules/fsevents/node_modules/xtend/mutable.js +17 -0
- data/test/dummy/node_modules/fsevents/node_modules/xtend/package.json +91 -0
- data/test/dummy/node_modules/fsevents/node_modules/xtend/test.js +83 -0
- data/test/dummy/node_modules/fsevents/package.json +119 -0
- data/test/dummy/node_modules/fsevents/src/async.cc +43 -0
- data/test/dummy/node_modules/fsevents/src/constants.cc +110 -0
- data/test/dummy/node_modules/fsevents/src/locking.cc +27 -0
- data/test/dummy/node_modules/fsevents/src/methods.cc +42 -0
- data/test/dummy/node_modules/fsevents/src/storage.cc +27 -0
- data/test/dummy/node_modules/fsevents/src/thread.cc +72 -0
- data/test/dummy/node_modules/fsevents/test/fsevents.js +27 -0
- data/test/dummy/node_modules/fsevents/test/function.js +93 -0
- data/test/dummy/node_modules/function-bind/LICENSE +20 -0
- data/test/dummy/node_modules/function-bind/README.md +48 -0
- data/test/dummy/node_modules/function-bind/implementation.js +48 -0
- data/test/dummy/node_modules/function-bind/index.js +3 -0
- data/test/dummy/node_modules/function-bind/package.json +129 -0
- data/test/dummy/node_modules/function-bind/test/index.js +250 -0
- data/test/dummy/node_modules/glob/LICENSE +15 -0
- data/test/dummy/node_modules/glob/README.md +377 -0
- data/test/dummy/node_modules/glob/common.js +245 -0
- data/test/dummy/node_modules/glob/glob.js +752 -0
- data/test/dummy/node_modules/glob/package.json +98 -0
- data/test/dummy/node_modules/glob/sync.js +460 -0
- data/test/dummy/node_modules/glob-base/LICENSE +21 -0
- data/test/dummy/node_modules/glob-base/README.md +158 -0
- data/test/dummy/node_modules/glob-base/index.js +51 -0
- data/test/dummy/node_modules/glob-base/package.json +108 -0
- data/test/dummy/node_modules/glob-parent/LICENSE +15 -0
- data/test/dummy/node_modules/glob-parent/README.md +43 -0
- data/test/dummy/node_modules/glob-parent/index.js +10 -0
- data/test/dummy/node_modules/glob-parent/package.json +86 -0
- data/test/dummy/node_modules/glob-parent/test.js +28 -0
- data/test/dummy/node_modules/graceful-fs/LICENSE +15 -0
- data/test/dummy/node_modules/graceful-fs/README.md +53 -0
- data/test/dummy/node_modules/graceful-fs/fs.js +21 -0
- data/test/dummy/node_modules/graceful-fs/graceful-fs.js +253 -0
- data/test/dummy/node_modules/graceful-fs/legacy-streams.js +118 -0
- data/test/dummy/node_modules/graceful-fs/package.json +103 -0
- data/test/dummy/node_modules/graceful-fs/polyfills.js +252 -0
- data/test/dummy/node_modules/has/LICENSE-MIT +22 -0
- data/test/dummy/node_modules/has/README.mkd +18 -0
- data/test/dummy/node_modules/has/package.json +85 -0
- data/test/dummy/node_modules/has/src/index.js +3 -0
- data/test/dummy/node_modules/has/test/index.js +10 -0
- data/test/dummy/node_modules/hash.js/README.md +28 -0
- data/test/dummy/node_modules/hash.js/lib/hash/common.js +91 -0
- data/test/dummy/node_modules/hash.js/lib/hash/hmac.js +48 -0
- data/test/dummy/node_modules/hash.js/lib/hash/ripemd.js +144 -0
- data/test/dummy/node_modules/hash.js/lib/hash/sha.js +564 -0
- data/test/dummy/node_modules/hash.js/lib/hash/utils.js +257 -0
- data/test/dummy/node_modules/hash.js/lib/hash.js +15 -0
- data/test/dummy/node_modules/hash.js/package.json +82 -0
- data/test/dummy/node_modules/hash.js/test/hash-test.js +119 -0
- data/test/dummy/node_modules/hash.js/test/hmac-test.js +59 -0
- data/test/dummy/node_modules/htmlescape/CHANGELOG.md +9 -0
- data/test/dummy/node_modules/htmlescape/LICENSE +9 -0
- data/test/dummy/node_modules/htmlescape/README.md +30 -0
- data/test/dummy/node_modules/htmlescape/htmlescape.js +42 -0
- data/test/dummy/node_modules/htmlescape/package.json +88 -0
- data/test/dummy/node_modules/https-browserify/LICENSE +18 -0
- data/test/dummy/node_modules/https-browserify/index.js +14 -0
- data/test/dummy/node_modules/https-browserify/package.json +84 -0
- data/test/dummy/node_modules/https-browserify/readme.markdown +22 -0
- data/test/dummy/node_modules/ieee754/LICENSE +56 -0
- data/test/dummy/node_modules/ieee754/README.md +47 -0
- data/test/dummy/node_modules/ieee754/index.js +84 -0
- data/test/dummy/node_modules/ieee754/package.json +93 -0
- data/test/dummy/node_modules/ieee754/test/basic.js +23 -0
- data/test/dummy/node_modules/indexof/Makefile +11 -0
- data/test/dummy/node_modules/indexof/Readme.md +15 -0
- data/test/dummy/node_modules/indexof/component.json +10 -0
- data/test/dummy/node_modules/indexof/index.js +10 -0
- data/test/dummy/node_modules/indexof/package.json +58 -0
- data/test/dummy/node_modules/inflight/LICENSE +15 -0
- data/test/dummy/node_modules/inflight/README.md +37 -0
- data/test/dummy/node_modules/inflight/inflight.js +44 -0
- data/test/dummy/node_modules/inflight/package.json +86 -0
- data/test/dummy/node_modules/inflight/test.js +97 -0
- data/test/dummy/node_modules/inherits/LICENSE +16 -0
- data/test/dummy/node_modules/inherits/README.md +42 -0
- data/test/dummy/node_modules/inherits/inherits.js +1 -0
- data/test/dummy/node_modules/inherits/inherits_browser.js +23 -0
- data/test/dummy/node_modules/inherits/package.json +102 -0
- data/test/dummy/node_modules/inherits/test.js +25 -0
- data/test/dummy/node_modules/inline-process-browser/index.js +37 -0
- data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/LICENSE +18 -0
- data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/README.md +15 -0
- data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/duplex.js +1 -0
- data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/lib/_stream_duplex.js +89 -0
- data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/lib/_stream_passthrough.js +46 -0
- data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/lib/_stream_readable.js +982 -0
- data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/lib/_stream_transform.js +210 -0
- data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/lib/_stream_writable.js +386 -0
- data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/package.json +104 -0
- data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/passthrough.js +1 -0
- data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/readable.js +11 -0
- data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/transform.js +1 -0
- data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/writable.js +1 -0
- data/test/dummy/node_modules/inline-process-browser/node_modules/through2/LICENSE +39 -0
- data/test/dummy/node_modules/inline-process-browser/node_modules/through2/README.md +132 -0
- data/test/dummy/node_modules/inline-process-browser/node_modules/through2/package.json +90 -0
- data/test/dummy/node_modules/inline-process-browser/node_modules/through2/through2.js +96 -0
- data/test/dummy/node_modules/inline-process-browser/package.json +88 -0
- data/test/dummy/node_modules/inline-process-browser/readme.md +23 -0
- data/test/dummy/node_modules/inline-source-map/LICENSE +23 -0
- data/test/dummy/node_modules/inline-source-map/README.md +89 -0
- data/test/dummy/node_modules/inline-source-map/example/foo-bar.js +8 -0
- data/test/dummy/node_modules/inline-source-map/index.js +135 -0
- data/test/dummy/node_modules/inline-source-map/package.json +103 -0
- data/test/dummy/node_modules/inline-source-map/test/inline-source-map.js +342 -0
- data/test/dummy/node_modules/inline-source-map/test/source-content.js +143 -0
- data/test/dummy/node_modules/insert-module-globals/LICENSE +18 -0
- data/test/dummy/node_modules/insert-module-globals/bench/results.txt +18 -0
- data/test/dummy/node_modules/insert-module-globals/bench/run.sh +2 -0
- data/test/dummy/node_modules/insert-module-globals/bin/cmd.js +26 -0
- data/test/dummy/node_modules/insert-module-globals/example/files/foo/index.js +6 -0
- data/test/dummy/node_modules/insert-module-globals/example/files/main.js +6 -0
- data/test/dummy/node_modules/insert-module-globals/example/insert.js +12 -0
- data/test/dummy/node_modules/insert-module-globals/index.js +170 -0
- data/test/dummy/node_modules/insert-module-globals/package.json +108 -0
- data/test/dummy/node_modules/insert-module-globals/readme.markdown +146 -0
- data/test/dummy/node_modules/insert-module-globals/test/always/custom_globals_without_defaults.js +7 -0
- data/test/dummy/node_modules/insert-module-globals/test/always/hidden_from_quick_test.js +1 -0
- data/test/dummy/node_modules/insert-module-globals/test/always/main.js +10 -0
- data/test/dummy/node_modules/insert-module-globals/test/always.js +105 -0
- data/test/dummy/node_modules/insert-module-globals/test/global/filename.js +2 -0
- data/test/dummy/node_modules/insert-module-globals/test/global/main.js +2 -0
- data/test/dummy/node_modules/insert-module-globals/test/global.js +63 -0
- data/test/dummy/node_modules/insert-module-globals/test/insert/buffer.js +1 -0
- data/test/dummy/node_modules/insert-module-globals/test/insert/foo/buf.js +4 -0
- data/test/dummy/node_modules/insert-module-globals/test/insert/foo/index.js +4 -0
- data/test/dummy/node_modules/insert-module-globals/test/insert/main.js +4 -0
- data/test/dummy/node_modules/insert-module-globals/test/insert.js +46 -0
- data/test/dummy/node_modules/insert-module-globals/test/isbuffer/main.js +3 -0
- data/test/dummy/node_modules/insert-module-globals/test/isbuffer.js +27 -0
- data/test/dummy/node_modules/insert-module-globals/test/return/foo/index.js +4 -0
- data/test/dummy/node_modules/insert-module-globals/test/return/main.js +6 -0
- data/test/dummy/node_modules/insert-module-globals/test/return.js +27 -0
- data/test/dummy/node_modules/insert-module-globals/test/sourcemap/main.js +3 -0
- data/test/dummy/node_modules/insert-module-globals/test/sourcemap/main_es6.js +1 -0
- data/test/dummy/node_modules/insert-module-globals/test/sourcemap.js +40 -0
- data/test/dummy/node_modules/insert-module-globals/test/unprefix/hello.js +2 -0
- data/test/dummy/node_modules/insert-module-globals/test/unprefix/main.js +3 -0
- data/test/dummy/node_modules/insert-module-globals/test/unprefix.js +33 -0
- data/test/dummy/node_modules/is-binary-path/index.js +12 -0
- data/test/dummy/node_modules/is-binary-path/license +21 -0
- data/test/dummy/node_modules/is-binary-path/package.json +102 -0
- data/test/dummy/node_modules/is-binary-path/readme.md +34 -0
- data/test/dummy/node_modules/is-buffer/LICENSE +21 -0
- data/test/dummy/node_modules/is-buffer/README.md +49 -0
- data/test/dummy/node_modules/is-buffer/index.js +17 -0
- data/test/dummy/node_modules/is-buffer/package.json +108 -0
- data/test/dummy/node_modules/is-buffer/test/basic.js +20 -0
- data/test/dummy/node_modules/is-dotfile/LICENSE +21 -0
- data/test/dummy/node_modules/is-dotfile/README.md +74 -0
- data/test/dummy/node_modules/is-dotfile/index.js +15 -0
- data/test/dummy/node_modules/is-dotfile/package.json +108 -0
- data/test/dummy/node_modules/is-equal-shallow/LICENSE +21 -0
- data/test/dummy/node_modules/is-equal-shallow/README.md +90 -0
- data/test/dummy/node_modules/is-equal-shallow/index.js +27 -0
- data/test/dummy/node_modules/is-equal-shallow/package.json +112 -0
- data/test/dummy/node_modules/is-extendable/LICENSE +21 -0
- data/test/dummy/node_modules/is-extendable/README.md +72 -0
- data/test/dummy/node_modules/is-extendable/index.js +13 -0
- data/test/dummy/node_modules/is-extendable/package.json +106 -0
- data/test/dummy/node_modules/is-extglob/LICENSE +21 -0
- data/test/dummy/node_modules/is-extglob/README.md +75 -0
- data/test/dummy/node_modules/is-extglob/index.js +11 -0
- data/test/dummy/node_modules/is-extglob/package.json +102 -0
- data/test/dummy/node_modules/is-glob/LICENSE +21 -0
- data/test/dummy/node_modules/is-glob/README.md +105 -0
- data/test/dummy/node_modules/is-glob/index.js +14 -0
- data/test/dummy/node_modules/is-glob/package.json +119 -0
- data/test/dummy/node_modules/is-number/LICENSE +21 -0
- data/test/dummy/node_modules/is-number/README.md +103 -0
- data/test/dummy/node_modules/is-number/index.js +19 -0
- data/test/dummy/node_modules/is-number/package.json +118 -0
- data/test/dummy/node_modules/is-posix-bracket/LICENSE +21 -0
- data/test/dummy/node_modules/is-posix-bracket/README.md +88 -0
- data/test/dummy/node_modules/is-posix-bracket/index.js +10 -0
- data/test/dummy/node_modules/is-posix-bracket/package.json +123 -0
- data/test/dummy/node_modules/is-primitive/LICENSE +21 -0
- data/test/dummy/node_modules/is-primitive/README.md +57 -0
- data/test/dummy/node_modules/is-primitive/index.js +13 -0
- data/test/dummy/node_modules/is-primitive/package.json +96 -0
- data/test/dummy/node_modules/isarray/README.md +54 -0
- data/test/dummy/node_modules/isarray/build/build.js +209 -0
- data/test/dummy/node_modules/isarray/component.json +19 -0
- data/test/dummy/node_modules/isarray/index.js +3 -0
- data/test/dummy/node_modules/isarray/package.json +82 -0
- data/test/dummy/node_modules/isobject/LICENSE +21 -0
- data/test/dummy/node_modules/isobject/README.md +81 -0
- data/test/dummy/node_modules/isobject/index.js +14 -0
- data/test/dummy/node_modules/isobject/package.json +108 -0
- data/test/dummy/node_modules/json-stable-stringify/LICENSE +18 -0
- data/test/dummy/node_modules/json-stable-stringify/example/key_cmp.js +7 -0
- data/test/dummy/node_modules/json-stable-stringify/example/nested.js +3 -0
- data/test/dummy/node_modules/json-stable-stringify/example/str.js +3 -0
- data/test/dummy/node_modules/json-stable-stringify/example/value_cmp.js +7 -0
- data/test/dummy/node_modules/json-stable-stringify/index.js +50 -0
- data/test/dummy/node_modules/json-stable-stringify/package.json +95 -0
- data/test/dummy/node_modules/json-stable-stringify/readme.markdown +90 -0
- data/test/dummy/node_modules/json-stable-stringify/test/cmp.js +11 -0
- data/test/dummy/node_modules/json-stable-stringify/test/nested.js +8 -0
- data/test/dummy/node_modules/json-stable-stringify/test/str.js +8 -0
- data/test/dummy/node_modules/jsonify/README.markdown +34 -0
- data/test/dummy/node_modules/jsonify/index.js +2 -0
- data/test/dummy/node_modules/jsonify/lib/parse.js +273 -0
- data/test/dummy/node_modules/jsonify/lib/stringify.js +154 -0
- data/test/dummy/node_modules/jsonify/package.json +83 -0
- data/test/dummy/node_modules/jsonify/test/parse.js +16 -0
- data/test/dummy/node_modules/jsonify/test/stringify.js +15 -0
- data/test/dummy/node_modules/jsonparse/LICENSE +24 -0
- data/test/dummy/node_modules/jsonparse/README.markdown +11 -0
- data/test/dummy/node_modules/jsonparse/bench.js +26 -0
- data/test/dummy/node_modules/jsonparse/examples/twitterfeed.js +30 -0
- data/test/dummy/node_modules/jsonparse/jsonparse.js +341 -0
- data/test/dummy/node_modules/jsonparse/package.json +85 -0
- data/test/dummy/node_modules/jsonparse/samplejson/basic.json +167 -0
- data/test/dummy/node_modules/jsonparse/samplejson/basic2.json +180 -0
- data/test/dummy/node_modules/jsonparse/test/boundary.js +110 -0
- data/test/dummy/node_modules/jsonparse/test/offset.js +67 -0
- data/test/dummy/node_modules/jsonparse/test/primitives.js +57 -0
- data/test/dummy/node_modules/jsonparse/test/unvalid.js +15 -0
- data/test/dummy/node_modules/jsonparse/test/utf8.js +38 -0
- data/test/dummy/node_modules/kind-of/LICENSE +21 -0
- data/test/dummy/node_modules/kind-of/README.md +237 -0
- data/test/dummy/node_modules/kind-of/index.js +113 -0
- data/test/dummy/node_modules/kind-of/package.json +127 -0
- data/test/dummy/node_modules/labeled-stream-splicer/LICENSE +18 -0
- data/test/dummy/node_modules/labeled-stream-splicer/example/browser/bar.js +3 -0
- data/test/dummy/node_modules/labeled-stream-splicer/example/browser/foo.js +5 -0
- data/test/dummy/node_modules/labeled-stream-splicer/example/browser/main.js +2 -0
- data/test/dummy/node_modules/labeled-stream-splicer/example/browser/xyz.js +2 -0
- data/test/dummy/node_modules/labeled-stream-splicer/example/bundle.js +16 -0
- data/test/dummy/node_modules/labeled-stream-splicer/index.js +65 -0
- data/test/dummy/node_modules/labeled-stream-splicer/package.json +90 -0
- data/test/dummy/node_modules/labeled-stream-splicer/readme.markdown +124 -0
- data/test/dummy/node_modules/labeled-stream-splicer/test/bundle/bar.js +3 -0
- data/test/dummy/node_modules/labeled-stream-splicer/test/bundle/foo.js +5 -0
- data/test/dummy/node_modules/labeled-stream-splicer/test/bundle/main.js +2 -0
- data/test/dummy/node_modules/labeled-stream-splicer/test/bundle/xyz.js +2 -0
- data/test/dummy/node_modules/labeled-stream-splicer/test/bundle.js +27 -0
- data/test/dummy/node_modules/lexical-scope/LICENSE +18 -0
- data/test/dummy/node_modules/lexical-scope/bench/jquery.js +4 -0
- data/test/dummy/node_modules/lexical-scope/bench/results.txt +15 -0
- data/test/dummy/node_modules/lexical-scope/bench/run.js +7 -0
- data/test/dummy/node_modules/lexical-scope/example/detect.js +6 -0
- data/test/dummy/node_modules/lexical-scope/example/src.js +27 -0
- data/test/dummy/node_modules/lexical-scope/index.js +194 -0
- data/test/dummy/node_modules/lexical-scope/package.json +110 -0
- data/test/dummy/node_modules/lexical-scope/readme.markdown +148 -0
- data/test/dummy/node_modules/lexical-scope/test/argument.js +17 -0
- data/test/dummy/node_modules/lexical-scope/test/assign_implicit.js +13 -0
- data/test/dummy/node_modules/lexical-scope/test/detect.js +17 -0
- data/test/dummy/node_modules/lexical-scope/test/files/argument.js +6 -0
- data/test/dummy/node_modules/lexical-scope/test/files/assign_implicit.js +2 -0
- data/test/dummy/node_modules/lexical-scope/test/files/buffer_call.js +1 -0
- data/test/dummy/node_modules/lexical-scope/test/files/buffer_isbuffer.js +1 -0
- data/test/dummy/node_modules/lexical-scope/test/files/buffer_var.js +1 -0
- data/test/dummy/node_modules/lexical-scope/test/files/detect.js +32 -0
- data/test/dummy/node_modules/lexical-scope/test/files/labels.js +11 -0
- data/test/dummy/node_modules/lexical-scope/test/files/multiple-exports.js +6 -0
- data/test/dummy/node_modules/lexical-scope/test/files/named_arg.js +6 -0
- data/test/dummy/node_modules/lexical-scope/test/files/obj.js +1 -0
- data/test/dummy/node_modules/lexical-scope/test/files/return_hash.js +5 -0
- data/test/dummy/node_modules/lexical-scope/test/files/right_hand.js +2 -0
- data/test/dummy/node_modules/lexical-scope/test/files/try_catch.js +7 -0
- data/test/dummy/node_modules/lexical-scope/test/labels.js +13 -0
- data/test/dummy/node_modules/lexical-scope/test/multiple-exports.js +18 -0
- data/test/dummy/node_modules/lexical-scope/test/named_arg.js +17 -0
- data/test/dummy/node_modules/lexical-scope/test/obj.js +16 -0
- data/test/dummy/node_modules/lexical-scope/test/package.json +3 -0
- data/test/dummy/node_modules/lexical-scope/test/props.js +41 -0
- data/test/dummy/node_modules/lexical-scope/test/return_hash.js +13 -0
- data/test/dummy/node_modules/lexical-scope/test/right_hand.js +16 -0
- data/test/dummy/node_modules/lexical-scope/test/shebang.js +19 -0
- data/test/dummy/node_modules/lexical-scope/test/try_catch.js +13 -0
- data/test/dummy/node_modules/lodash.memoize/LICENSE.txt +22 -0
- data/test/dummy/node_modules/lodash.memoize/README.md +20 -0
- data/test/dummy/node_modules/lodash.memoize/index.js +167 -0
- data/test/dummy/node_modules/lodash.memoize/package.json +121 -0
- data/test/dummy/node_modules/micromatch/LICENSE +21 -0
- data/test/dummy/node_modules/micromatch/README.md +616 -0
- data/test/dummy/node_modules/micromatch/index.js +428 -0
- data/test/dummy/node_modules/micromatch/lib/chars.js +67 -0
- data/test/dummy/node_modules/micromatch/lib/expand.js +311 -0
- data/test/dummy/node_modules/micromatch/lib/glob.js +193 -0
- data/test/dummy/node_modules/micromatch/lib/utils.js +144 -0
- data/test/dummy/node_modules/micromatch/package.json +164 -0
- data/test/dummy/node_modules/miller-rabin/README.md +26 -0
- data/test/dummy/node_modules/miller-rabin/bin/miller-rabin +29 -0
- data/test/dummy/node_modules/miller-rabin/lib/mr.js +113 -0
- data/test/dummy/node_modules/miller-rabin/package.json +89 -0
- data/test/dummy/node_modules/miller-rabin/test/api-test.js +18 -0
- data/test/dummy/node_modules/minimalistic-assert/index.js +11 -0
- data/test/dummy/node_modules/minimalistic-assert/package.json +70 -0
- data/test/dummy/node_modules/minimalistic-assert/readme.md +4 -0
- data/test/dummy/node_modules/minimatch/LICENSE +15 -0
- data/test/dummy/node_modules/minimatch/README.md +216 -0
- data/test/dummy/node_modules/minimatch/minimatch.js +912 -0
- data/test/dummy/node_modules/minimatch/package.json +85 -0
- data/test/dummy/node_modules/minimist/LICENSE +18 -0
- data/test/dummy/node_modules/minimist/example/parse.js +2 -0
- data/test/dummy/node_modules/minimist/index.js +236 -0
- data/test/dummy/node_modules/minimist/package.json +97 -0
- data/test/dummy/node_modules/minimist/readme.markdown +91 -0
- data/test/dummy/node_modules/minimist/test/all_bool.js +32 -0
- data/test/dummy/node_modules/minimist/test/bool.js +166 -0
- data/test/dummy/node_modules/minimist/test/dash.js +31 -0
- data/test/dummy/node_modules/minimist/test/default_bool.js +35 -0
- data/test/dummy/node_modules/minimist/test/dotted.js +22 -0
- data/test/dummy/node_modules/minimist/test/kv_short.js +16 -0
- data/test/dummy/node_modules/minimist/test/long.js +31 -0
- data/test/dummy/node_modules/minimist/test/num.js +36 -0
- data/test/dummy/node_modules/minimist/test/parse.js +197 -0
- data/test/dummy/node_modules/minimist/test/parse_modified.js +9 -0
- data/test/dummy/node_modules/minimist/test/short.js +67 -0
- data/test/dummy/node_modules/minimist/test/stop_early.js +15 -0
- data/test/dummy/node_modules/minimist/test/unknown.js +102 -0
- data/test/dummy/node_modules/minimist/test/whitespace.js +8 -0
- data/test/dummy/node_modules/module-deps/LICENSE +18 -0
- data/test/dummy/node_modules/module-deps/bin/cmd.js +28 -0
- data/test/dummy/node_modules/module-deps/bin/usage.txt +9 -0
- data/test/dummy/node_modules/module-deps/example/deps.js +6 -0
- data/test/dummy/node_modules/module-deps/example/files/bar.js +3 -0
- data/test/dummy/node_modules/module-deps/example/files/foo.js +5 -0
- data/test/dummy/node_modules/module-deps/example/files/main.js +2 -0
- data/test/dummy/node_modules/module-deps/example/files/xyz.js +2 -0
- data/test/dummy/node_modules/module-deps/index.js +562 -0
- data/test/dummy/node_modules/module-deps/package.json +118 -0
- data/test/dummy/node_modules/module-deps/readme.markdown +239 -0
- data/test/dummy/node_modules/module-deps/test/bundle.js +23 -0
- data/test/dummy/node_modules/module-deps/test/cache.js +50 -0
- data/test/dummy/node_modules/module-deps/test/cache_expose.js +54 -0
- data/test/dummy/node_modules/module-deps/test/cache_partial.js +47 -0
- data/test/dummy/node_modules/module-deps/test/cache_partial_expose.js +104 -0
- data/test/dummy/node_modules/module-deps/test/cycle/bar.js +3 -0
- data/test/dummy/node_modules/module-deps/test/cycle/foo.js +4 -0
- data/test/dummy/node_modules/module-deps/test/cycle/main.js +4 -0
- data/test/dummy/node_modules/module-deps/test/cycle.js +19 -0
- data/test/dummy/node_modules/module-deps/test/deps.js +49 -0
- data/test/dummy/node_modules/module-deps/test/dotdot/abc/index.js +2 -0
- data/test/dummy/node_modules/module-deps/test/dotdot/index.js +1 -0
- data/test/dummy/node_modules/module-deps/test/dotdot.js +20 -0
- data/test/dummy/node_modules/module-deps/test/expose/bar.js +1 -0
- data/test/dummy/node_modules/module-deps/test/expose/foo.js +1 -0
- data/test/dummy/node_modules/module-deps/test/expose/lib/abc.js +1 -0
- data/test/dummy/node_modules/module-deps/test/expose/lib/xyz.js +2 -0
- data/test/dummy/node_modules/module-deps/test/expose/main.js +3 -0
- data/test/dummy/node_modules/module-deps/test/expose.js +41 -0
- data/test/dummy/node_modules/module-deps/test/file_cache.js +58 -0
- data/test/dummy/node_modules/module-deps/test/files/bar.js +3 -0
- data/test/dummy/node_modules/module-deps/test/files/extra.js +1 -0
- data/test/dummy/node_modules/module-deps/test/files/filterable.js +10 -0
- data/test/dummy/node_modules/module-deps/test/files/foo.js +5 -0
- data/test/dummy/node_modules/module-deps/test/files/main.js +2 -0
- data/test/dummy/node_modules/module-deps/test/files/pkg_filter/one.js +1 -0
- data/test/dummy/node_modules/module-deps/test/files/pkg_filter/package.json +3 -0
- data/test/dummy/node_modules/module-deps/test/files/pkg_filter/test.js +1 -0
- data/test/dummy/node_modules/module-deps/test/files/pkg_filter/two.js +1 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/f.js +1 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/main.js +7 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/node_modules/g/index.js +1 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/node_modules/g/node_modules/insert-ggg/index.js +8 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/node_modules/g/package.json +6 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/node_modules/insert-aaa/index.js +8 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/node_modules/insert-bbb/index.js +8 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/node_modules/m/index.js +3 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/node_modules/m/node_modules/insert-mmm/index.js +8 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/node_modules/m/package.json +6 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_global/main.js +1 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_global/package.json +5 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_module/f.js +1 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_module/index.js +8 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_module/main.js +8 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_module/package.json +5 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_module/xxx.js +8 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_no_entry/main.js +1 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_rel/package.json +5 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_rel/subdir/main.js +1 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_rel/xxx.js +8 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_sh/f.js +1 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_sh/main.js +7 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_sh/node_modules/g/index.js +1 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_sh/node_modules/g/package.json +6 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_sh/node_modules/g/tr_g.js +7 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_sh/node_modules/m/index.js +3 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_sh/tr_a.js +7 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_sh/tr_b.js +7 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_whole_package/f.js +3 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_whole_package/main.js +3 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_whole_package/node_modules/algo/index.js +3 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_whole_package/node_modules/algo/lib/decrement.js +1 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_whole_package/node_modules/algo/node_modules/insert-ggg/index.js +8 -0
- data/test/dummy/node_modules/module-deps/test/files/tr_whole_package/node_modules/algo/package.json +6 -0
- data/test/dummy/node_modules/module-deps/test/files/unicode/bar.js +3 -0
- data/test/dummy/node_modules/module-deps/test/files/unicode/foo.js +5 -0
- data/test/dummy/node_modules/module-deps/test/files/unicode/main.js +2 -0
- data/test/dummy/node_modules/module-deps/test/files/xyz.js +2 -0
- data/test/dummy/node_modules/module-deps/test/filter.js +36 -0
- data/test/dummy/node_modules/module-deps/test/ignore_missing/main.js +1 -0
- data/test/dummy/node_modules/module-deps/test/ignore_missing/other.js +1 -0
- data/test/dummy/node_modules/module-deps/test/ignore_missing.js +60 -0
- data/test/dummy/node_modules/module-deps/test/ignore_missing_cache.js +52 -0
- data/test/dummy/node_modules/module-deps/test/node_modules/insert-www/index.js +8 -0
- data/test/dummy/node_modules/module-deps/test/noparse.js +43 -0
- data/test/dummy/node_modules/module-deps/test/noparse_row.js +39 -0
- data/test/dummy/node_modules/module-deps/test/pkg/main.js +2 -0
- data/test/dummy/node_modules/module-deps/test/pkg/package.json +4 -0
- data/test/dummy/node_modules/module-deps/test/pkg.js +20 -0
- data/test/dummy/node_modules/module-deps/test/pkg_filter.js +26 -0
- data/test/dummy/node_modules/module-deps/test/row_expose.js +24 -0
- data/test/dummy/node_modules/module-deps/test/row_expose_name_is_file_transform.js +32 -0
- data/test/dummy/node_modules/module-deps/test/row_expose_transform.js +31 -0
- data/test/dummy/node_modules/module-deps/test/source.js +61 -0
- data/test/dummy/node_modules/module-deps/test/tr_2dep_module.js +23 -0
- data/test/dummy/node_modules/module-deps/test/tr_err.js +21 -0
- data/test/dummy/node_modules/module-deps/test/tr_fn.js +32 -0
- data/test/dummy/node_modules/module-deps/test/tr_global.js +29 -0
- data/test/dummy/node_modules/module-deps/test/tr_module.js +23 -0
- data/test/dummy/node_modules/module-deps/test/tr_no_entry.js +31 -0
- data/test/dummy/node_modules/module-deps/test/tr_opts/main.js +1 -0
- data/test/dummy/node_modules/module-deps/test/tr_opts/package.json +6 -0
- data/test/dummy/node_modules/module-deps/test/tr_opts.js +21 -0
- data/test/dummy/node_modules/module-deps/test/tr_rel.js +24 -0
- data/test/dummy/node_modules/module-deps/test/tr_sh.js +23 -0
- data/test/dummy/node_modules/module-deps/test/tr_whole_package.js +22 -0
- data/test/dummy/node_modules/module-deps/test/tr_write/main.js +1 -0
- data/test/dummy/node_modules/module-deps/test/tr_write.js +32 -0
- data/test/dummy/node_modules/module-deps/test/undef_file.js +49 -0
- data/test/dummy/node_modules/module-deps/test/unicode.js +49 -0
- data/test/dummy/node_modules/nan/CHANGELOG.md +396 -0
- data/test/dummy/node_modules/nan/LICENSE.md +13 -0
- data/test/dummy/node_modules/nan/appveyor.yml +38 -0
- data/test/dummy/node_modules/nan/doc/asyncworker.md +97 -0
- data/test/dummy/node_modules/nan/doc/buffers.md +54 -0
- data/test/dummy/node_modules/nan/doc/callback.md +52 -0
- data/test/dummy/node_modules/nan/doc/converters.md +41 -0
- data/test/dummy/node_modules/nan/doc/errors.md +226 -0
- data/test/dummy/node_modules/nan/doc/maybe_types.md +512 -0
- data/test/dummy/node_modules/nan/doc/methods.md +656 -0
- data/test/dummy/node_modules/nan/doc/new.md +147 -0
- data/test/dummy/node_modules/nan/doc/node_misc.md +63 -0
- data/test/dummy/node_modules/nan/doc/object_wrappers.md +263 -0
- data/test/dummy/node_modules/nan/doc/persistent.md +295 -0
- data/test/dummy/node_modules/nan/doc/scopes.md +73 -0
- data/test/dummy/node_modules/nan/doc/script.md +38 -0
- data/test/dummy/node_modules/nan/doc/string_bytes.md +62 -0
- data/test/dummy/node_modules/nan/doc/v8_internals.md +199 -0
- data/test/dummy/node_modules/nan/doc/v8_misc.md +85 -0
- data/test/dummy/node_modules/nan/include_dirs.js +1 -0
- data/test/dummy/node_modules/nan/nan.h +2237 -0
- data/test/dummy/node_modules/nan/nan_callbacks.h +88 -0
- data/test/dummy/node_modules/nan/nan_callbacks_12_inl.h +512 -0
- data/test/dummy/node_modules/nan/nan_callbacks_pre_12_inl.h +506 -0
- data/test/dummy/node_modules/nan/nan_converters.h +64 -0
- data/test/dummy/node_modules/nan/nan_converters_43_inl.h +42 -0
- data/test/dummy/node_modules/nan/nan_converters_pre_43_inl.h +42 -0
- data/test/dummy/node_modules/nan/nan_implementation_12_inl.h +404 -0
- data/test/dummy/node_modules/nan/nan_implementation_pre_12_inl.h +264 -0
- data/test/dummy/node_modules/nan/nan_maybe_43_inl.h +231 -0
- data/test/dummy/node_modules/nan/nan_maybe_pre_43_inl.h +303 -0
- data/test/dummy/node_modules/nan/nan_new.h +340 -0
- data/test/dummy/node_modules/nan/nan_object_wrap.h +155 -0
- data/test/dummy/node_modules/nan/nan_persistent_12_inl.h +129 -0
- data/test/dummy/node_modules/nan/nan_persistent_pre_12_inl.h +242 -0
- data/test/dummy/node_modules/nan/nan_string_bytes.h +305 -0
- data/test/dummy/node_modules/nan/nan_typedarray_contents.h +87 -0
- data/test/dummy/node_modules/nan/nan_weak.h +422 -0
- data/test/dummy/node_modules/nan/package.json +121 -0
- data/test/dummy/node_modules/nan/tools/1to2.js +412 -0
- data/test/dummy/node_modules/nan/tools/README.md +14 -0
- data/test/dummy/node_modules/nan/tools/package.json +19 -0
- data/test/dummy/node_modules/normalize-path/LICENSE +21 -0
- data/test/dummy/node_modules/normalize-path/README.md +75 -0
- data/test/dummy/node_modules/normalize-path/index.js +17 -0
- data/test/dummy/node_modules/normalize-path/package.json +118 -0
- data/test/dummy/node_modules/object-keys/CHANGELOG.md +203 -0
- data/test/dummy/node_modules/object-keys/LICENSE +21 -0
- data/test/dummy/node_modules/object-keys/README.md +76 -0
- data/test/dummy/node_modules/object-keys/index.js +128 -0
- data/test/dummy/node_modules/object-keys/isArguments.js +17 -0
- data/test/dummy/node_modules/object-keys/package.json +141 -0
- data/test/dummy/node_modules/object-keys/test/index.js +5 -0
- data/test/dummy/node_modules/object.omit/LICENSE +21 -0
- data/test/dummy/node_modules/object.omit/README.md +104 -0
- data/test/dummy/node_modules/object.omit/index.js +40 -0
- data/test/dummy/node_modules/object.omit/package.json +105 -0
- data/test/dummy/node_modules/once/LICENSE +15 -0
- data/test/dummy/node_modules/once/README.md +51 -0
- data/test/dummy/node_modules/once/once.js +21 -0
- data/test/dummy/node_modules/once/package.json +89 -0
- data/test/dummy/node_modules/os-browserify/LICENSE +21 -0
- data/test/dummy/node_modules/os-browserify/README.md +2 -0
- data/test/dummy/node_modules/os-browserify/browser.js +45 -0
- data/test/dummy/node_modules/os-browserify/main.js +1 -0
- data/test/dummy/node_modules/os-browserify/package.json +67 -0
- data/test/dummy/node_modules/outpipe/LICENSE +18 -0
- data/test/dummy/node_modules/outpipe/bin/echo.js +2 -0
- data/test/dummy/node_modules/outpipe/example/input/x.js +4 -0
- data/test/dummy/node_modules/outpipe/example/input/y.js +5 -0
- data/test/dummy/node_modules/outpipe/example/input/z.js +2 -0
- data/test/dummy/node_modules/outpipe/example/watch.js +19 -0
- data/test/dummy/node_modules/outpipe/index.js +34 -0
- data/test/dummy/node_modules/outpipe/package.json +91 -0
- data/test/dummy/node_modules/outpipe/readme.markdown +117 -0
- data/test/dummy/node_modules/outpipe/test/cmd.js +19 -0
- data/test/dummy/node_modules/outpipe/test/outfile.js +19 -0
- data/test/dummy/node_modules/pako/Gruntfile.js +82 -0
- data/test/dummy/node_modules/pako/HISTORY.md +69 -0
- data/test/dummy/node_modules/pako/LICENSE +21 -0
- data/test/dummy/node_modules/pako/README.md +175 -0
- data/test/dummy/node_modules/pako/bower.json +23 -0
- data/test/dummy/node_modules/pako/dist/pako.js +6433 -0
- data/test/dummy/node_modules/pako/dist/pako.min.js +3 -0
- data/test/dummy/node_modules/pako/dist/pako_deflate.js +3762 -0
- data/test/dummy/node_modules/pako/dist/pako_deflate.min.js +2 -0
- data/test/dummy/node_modules/pako/dist/pako_inflate.js +3071 -0
- data/test/dummy/node_modules/pako/dist/pako_inflate.min.js +2 -0
- data/test/dummy/node_modules/pako/doc/index.html +1639 -0
- data/test/dummy/node_modules/pako/index.js +14 -0
- data/test/dummy/node_modules/pako/lib/deflate.js +376 -0
- data/test/dummy/node_modules/pako/lib/inflate.js +400 -0
- data/test/dummy/node_modules/pako/lib/utils/common.js +102 -0
- data/test/dummy/node_modules/pako/lib/utils/strings.js +185 -0
- data/test/dummy/node_modules/pako/lib/zlib/adler32.js +32 -0
- data/test/dummy/node_modules/pako/lib/zlib/constants.js +47 -0
- data/test/dummy/node_modules/pako/lib/zlib/crc32.js +41 -0
- data/test/dummy/node_modules/pako/lib/zlib/deflate.js +1765 -0
- data/test/dummy/node_modules/pako/lib/zlib/gzheader.js +40 -0
- data/test/dummy/node_modules/pako/lib/zlib/inffast.js +326 -0
- data/test/dummy/node_modules/pako/lib/zlib/inflate.js +1503 -0
- data/test/dummy/node_modules/pako/lib/zlib/inftrees.js +327 -0
- data/test/dummy/node_modules/pako/lib/zlib/messages.js +13 -0
- data/test/dummy/node_modules/pako/lib/zlib/trees.js +1199 -0
- data/test/dummy/node_modules/pako/lib/zlib/zstream.js +29 -0
- data/test/dummy/node_modules/pako/package.json +101 -0
- data/test/dummy/node_modules/parents/LICENSE +18 -0
- data/test/dummy/node_modules/parents/example/dirname.js +3 -0
- data/test/dummy/node_modules/parents/example/win32.js +5 -0
- data/test/dummy/node_modules/parents/index.js +48 -0
- data/test/dummy/node_modules/parents/package.json +91 -0
- data/test/dummy/node_modules/parents/readme.markdown +75 -0
- data/test/dummy/node_modules/parents/test/dirname.js +20 -0
- data/test/dummy/node_modules/parents/test/win32.js +34 -0
- data/test/dummy/node_modules/parse-asn1/README.md +8 -0
- data/test/dummy/node_modules/parse-asn1/aesid.json +13 -0
- data/test/dummy/node_modules/parse-asn1/asn1.js +117 -0
- data/test/dummy/node_modules/parse-asn1/fixProc.js +30 -0
- data/test/dummy/node_modules/parse-asn1/index.js +101 -0
- data/test/dummy/node_modules/parse-asn1/package.json +97 -0
- data/test/dummy/node_modules/parse-asn1/test/1024.priv +16 -0
- data/test/dummy/node_modules/parse-asn1/test/1024.pub +6 -0
- data/test/dummy/node_modules/parse-asn1/test/dsa.1024.priv +18 -0
- data/test/dummy/node_modules/parse-asn1/test/dsa.1024.pub +12 -0
- data/test/dummy/node_modules/parse-asn1/test/dsa.2048.priv +20 -0
- data/test/dummy/node_modules/parse-asn1/test/dsa.2048.pub +20 -0
- data/test/dummy/node_modules/parse-asn1/test/ec.pass.priv +7 -0
- data/test/dummy/node_modules/parse-asn1/test/ec.priv +5 -0
- data/test/dummy/node_modules/parse-asn1/test/ec.pub +4 -0
- data/test/dummy/node_modules/parse-asn1/test/index.js +92 -0
- data/test/dummy/node_modules/parse-asn1/test/pass.1024.priv +18 -0
- data/test/dummy/node_modules/parse-asn1/test/pass.1024.pub +6 -0
- data/test/dummy/node_modules/parse-asn1/test/pass.dsa.1024.priv +11 -0
- data/test/dummy/node_modules/parse-asn1/test/pass.dsa.1024.pub +12 -0
- data/test/dummy/node_modules/parse-asn1/test/pass.rsa.1024.priv +18 -0
- data/test/dummy/node_modules/parse-asn1/test/pass.rsa.1024.pub +6 -0
- data/test/dummy/node_modules/parse-asn1/test/pass.rsa.2028.priv +30 -0
- data/test/dummy/node_modules/parse-asn1/test/pass.rsa.2028.pub +9 -0
- data/test/dummy/node_modules/parse-asn1/test/pass2.dsa.1024.priv +15 -0
- data/test/dummy/node_modules/parse-asn1/test/pass2.dsa.1024.pub +12 -0
- data/test/dummy/node_modules/parse-asn1/test/rsa.1024.priv +15 -0
- data/test/dummy/node_modules/parse-asn1/test/rsa.1024.pub +5 -0
- data/test/dummy/node_modules/parse-asn1/test/rsa.2028.priv +27 -0
- data/test/dummy/node_modules/parse-asn1/test/rsa.2028.pub +8 -0
- data/test/dummy/node_modules/parse-asn1/test/vector.js +7 -0
- data/test/dummy/node_modules/parse-asn1/test/vector.priv +12 -0
- data/test/dummy/node_modules/parse-asn1/test/vector2.priv +19 -0
- data/test/dummy/node_modules/parse-glob/LICENSE +21 -0
- data/test/dummy/node_modules/parse-glob/README.md +115 -0
- data/test/dummy/node_modules/parse-glob/index.js +156 -0
- data/test/dummy/node_modules/parse-glob/package.json +116 -0
- data/test/dummy/node_modules/path-browserify/LICENSE +18 -0
- data/test/dummy/node_modules/path-browserify/index.js +224 -0
- data/test/dummy/node_modules/path-browserify/package.json +78 -0
- data/test/dummy/node_modules/path-browserify/readme.markdown +3 -0
- data/test/dummy/node_modules/path-is-absolute/index.js +20 -0
- data/test/dummy/node_modules/path-is-absolute/license +21 -0
- data/test/dummy/node_modules/path-is-absolute/package.json +98 -0
- data/test/dummy/node_modules/path-is-absolute/readme.md +51 -0
- data/test/dummy/node_modules/path-platform/LICENSE +3 -0
- data/test/dummy/node_modules/path-platform/README.md +5 -0
- data/test/dummy/node_modules/path-platform/package.json +79 -0
- data/test/dummy/node_modules/path-platform/path.js +643 -0
- data/test/dummy/node_modules/pbkdf2/LICENSE +21 -0
- data/test/dummy/node_modules/pbkdf2/README.md +24 -0
- data/test/dummy/node_modules/pbkdf2/async-shim.js +19 -0
- data/test/dummy/node_modules/pbkdf2/browser.js +80 -0
- data/test/dummy/node_modules/pbkdf2/index.js +92 -0
- data/test/dummy/node_modules/pbkdf2/package.json +116 -0
- data/test/dummy/node_modules/pbkdf2/test/fixtures.json +171 -0
- data/test/dummy/node_modules/pbkdf2/test/index.html +13 -0
- data/test/dummy/node_modules/pbkdf2/test/index.js +93 -0
- data/test/dummy/node_modules/preserve/LICENSE +24 -0
- data/test/dummy/node_modules/preserve/README.md +90 -0
- data/test/dummy/node_modules/preserve/index.js +54 -0
- data/test/dummy/node_modules/preserve/package.json +96 -0
- data/test/dummy/node_modules/preserve/test.js +48 -0
- data/test/dummy/node_modules/private/LICENSE +20 -0
- data/test/dummy/node_modules/private/README.md +246 -0
- data/test/dummy/node_modules/private/package.json +85 -0
- data/test/dummy/node_modules/private/private.js +129 -0
- data/test/dummy/node_modules/private/test/run.js +68 -0
- data/test/dummy/node_modules/process/LICENSE +22 -0
- data/test/dummy/node_modules/process/README.md +26 -0
- data/test/dummy/node_modules/process/browser.js +91 -0
- data/test/dummy/node_modules/process/index.js +2 -0
- data/test/dummy/node_modules/process/package.json +87 -0
- data/test/dummy/node_modules/process/test.js +66 -0
- data/test/dummy/node_modules/process-nextick-args/index.js +20 -0
- data/test/dummy/node_modules/process-nextick-args/license.md +19 -0
- data/test/dummy/node_modules/process-nextick-args/package.json +73 -0
- data/test/dummy/node_modules/process-nextick-args/readme.md +18 -0
- data/test/dummy/node_modules/process-nextick-args/test.js +24 -0
- data/test/dummy/node_modules/public-encrypt/browser.js +10 -0
- data/test/dummy/node_modules/public-encrypt/index.js +18 -0
- data/test/dummy/node_modules/public-encrypt/mgf.js +16 -0
- data/test/dummy/node_modules/public-encrypt/package.json +97 -0
- data/test/dummy/node_modules/public-encrypt/privateDecrypt.js +108 -0
- data/test/dummy/node_modules/public-encrypt/publicEncrypt.js +95 -0
- data/test/dummy/node_modules/public-encrypt/readme.md +6 -0
- data/test/dummy/node_modules/public-encrypt/test/1024.priv +16 -0
- data/test/dummy/node_modules/public-encrypt/test/1024.pub +6 -0
- data/test/dummy/node_modules/public-encrypt/test/ec.pass.priv +7 -0
- data/test/dummy/node_modules/public-encrypt/test/ec.priv +5 -0
- data/test/dummy/node_modules/public-encrypt/test/ec.pub +4 -0
- data/test/dummy/node_modules/public-encrypt/test/index.js +117 -0
- data/test/dummy/node_modules/public-encrypt/test/nodeTests.js +51 -0
- data/test/dummy/node_modules/public-encrypt/test/pass.1024.priv +18 -0
- data/test/dummy/node_modules/public-encrypt/test/pass.1024.pub +6 -0
- data/test/dummy/node_modules/public-encrypt/test/rsa.1024.priv +15 -0
- data/test/dummy/node_modules/public-encrypt/test/rsa.1024.pub +5 -0
- data/test/dummy/node_modules/public-encrypt/test/rsa.2028.priv +27 -0
- data/test/dummy/node_modules/public-encrypt/test/rsa.2028.pub +8 -0
- data/test/dummy/node_modules/public-encrypt/test/rsa.pass.priv +30 -0
- data/test/dummy/node_modules/public-encrypt/test/rsa.pass.pub +9 -0
- data/test/dummy/node_modules/public-encrypt/test/test_cert.pem +20 -0
- data/test/dummy/node_modules/public-encrypt/test/test_key.pem +15 -0
- data/test/dummy/node_modules/public-encrypt/test/test_rsa_privkey.pem +15 -0
- data/test/dummy/node_modules/public-encrypt/test/test_rsa_privkey_encrypted.pem +18 -0
- data/test/dummy/node_modules/public-encrypt/test/test_rsa_pubkey.pem +6 -0
- data/test/dummy/node_modules/public-encrypt/withPublic.js +10 -0
- data/test/dummy/node_modules/public-encrypt/xor.js +8 -0
- data/test/dummy/node_modules/punycode/LICENSE-MIT.txt +20 -0
- data/test/dummy/node_modules/punycode/README.md +176 -0
- data/test/dummy/node_modules/punycode/package.json +119 -0
- data/test/dummy/node_modules/punycode/punycode.js +533 -0
- data/test/dummy/node_modules/querystring/History.md +20 -0
- data/test/dummy/node_modules/querystring/License.md +19 -0
- data/test/dummy/node_modules/querystring/Readme.md +15 -0
- data/test/dummy/node_modules/querystring/decode.js +80 -0
- data/test/dummy/node_modules/querystring/encode.js +64 -0
- data/test/dummy/node_modules/querystring/index.js +4 -0
- data/test/dummy/node_modules/querystring/package.json +122 -0
- data/test/dummy/node_modules/querystring/test/common-index.js +3 -0
- data/test/dummy/node_modules/querystring/test/index.js +210 -0
- data/test/dummy/node_modules/querystring/test/tap-index.js +3 -0
- data/test/dummy/node_modules/querystring-es3/History.md +20 -0
- data/test/dummy/node_modules/querystring-es3/License.md +19 -0
- data/test/dummy/node_modules/querystring-es3/Readme.md +15 -0
- data/test/dummy/node_modules/querystring-es3/decode.js +84 -0
- data/test/dummy/node_modules/querystring-es3/encode.js +85 -0
- data/test/dummy/node_modules/querystring-es3/index.js +4 -0
- data/test/dummy/node_modules/querystring-es3/package.json +124 -0
- data/test/dummy/node_modules/querystring-es3/test/common-index.js +3 -0
- data/test/dummy/node_modules/querystring-es3/test/index.js +210 -0
- data/test/dummy/node_modules/querystring-es3/test/tap-index.js +3 -0
- data/test/dummy/node_modules/randomatic/LICENSE +21 -0
- data/test/dummy/node_modules/randomatic/README.md +132 -0
- data/test/dummy/node_modules/randomatic/index.js +83 -0
- data/test/dummy/node_modules/randomatic/package.json +108 -0
- data/test/dummy/node_modules/randombytes/README.md +14 -0
- data/test/dummy/node_modules/randombytes/browser.js +36 -0
- data/test/dummy/node_modules/randombytes/index.js +1 -0
- data/test/dummy/node_modules/randombytes/package.json +105 -0
- data/test/dummy/node_modules/randombytes/test.js +56 -0
- data/test/dummy/node_modules/read-only-stream/LICENSE +18 -0
- data/test/dummy/node_modules/read-only-stream/example/main.js +3 -0
- data/test/dummy/node_modules/read-only-stream/example/wrap.js +8 -0
- data/test/dummy/node_modules/read-only-stream/index.js +30 -0
- data/test/dummy/node_modules/read-only-stream/package.json +86 -0
- data/test/dummy/node_modules/read-only-stream/readme.markdown +60 -0
- data/test/dummy/node_modules/read-only-stream/test/error.js +15 -0
- data/test/dummy/node_modules/read-only-stream/test/ro.js +22 -0
- data/test/dummy/node_modules/read-only-stream/test/streams1.js +21 -0
- data/test/dummy/node_modules/readable-stream/LICENSE +18 -0
- data/test/dummy/node_modules/readable-stream/README.md +36 -0
- data/test/dummy/node_modules/readable-stream/doc/stream.markdown +1761 -0
- data/test/dummy/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
- data/test/dummy/node_modules/readable-stream/duplex.js +1 -0
- data/test/dummy/node_modules/readable-stream/lib/_stream_duplex.js +75 -0
- data/test/dummy/node_modules/readable-stream/lib/_stream_passthrough.js +26 -0
- data/test/dummy/node_modules/readable-stream/lib/_stream_readable.js +880 -0
- data/test/dummy/node_modules/readable-stream/lib/_stream_transform.js +180 -0
- data/test/dummy/node_modules/readable-stream/lib/_stream_writable.js +516 -0
- data/test/dummy/node_modules/readable-stream/node_modules/isarray/Makefile +6 -0
- data/test/dummy/node_modules/readable-stream/node_modules/isarray/README.md +60 -0
- data/test/dummy/node_modules/readable-stream/node_modules/isarray/component.json +19 -0
- data/test/dummy/node_modules/readable-stream/node_modules/isarray/index.js +5 -0
- data/test/dummy/node_modules/readable-stream/node_modules/isarray/package.json +96 -0
- data/test/dummy/node_modules/readable-stream/node_modules/isarray/test.js +20 -0
- data/test/dummy/node_modules/readable-stream/package.json +129 -0
- data/test/dummy/node_modules/readable-stream/passthrough.js +1 -0
- data/test/dummy/node_modules/readable-stream/readable.js +18 -0
- data/test/dummy/node_modules/readable-stream/transform.js +1 -0
- data/test/dummy/node_modules/readable-stream/writable.js +1 -0
- data/test/dummy/node_modules/readdirp/LICENSE +18 -0
- data/test/dummy/node_modules/readdirp/README.md +233 -0
- data/test/dummy/node_modules/readdirp/examples/Readme.md +37 -0
- data/test/dummy/node_modules/readdirp/examples/callback-api.js +10 -0
- data/test/dummy/node_modules/readdirp/examples/grep.js +71 -0
- data/test/dummy/node_modules/readdirp/examples/package.json +9 -0
- data/test/dummy/node_modules/readdirp/examples/stream-api-pipe.js +19 -0
- data/test/dummy/node_modules/readdirp/examples/stream-api.js +15 -0
- data/test/dummy/node_modules/readdirp/node_modules/minimatch/LICENSE +15 -0
- data/test/dummy/node_modules/readdirp/node_modules/minimatch/README.md +216 -0
- data/test/dummy/node_modules/readdirp/node_modules/minimatch/browser.js +1159 -0
- data/test/dummy/node_modules/readdirp/node_modules/minimatch/minimatch.js +912 -0
- data/test/dummy/node_modules/readdirp/node_modules/minimatch/package.json +88 -0
- data/test/dummy/node_modules/readdirp/package.json +101 -0
- data/test/dummy/node_modules/readdirp/readdirp.js +288 -0
- data/test/dummy/node_modules/readdirp/stream-api.js +100 -0
- data/test/dummy/node_modules/readdirp/test/bed/root_dir1/root_dir1_file1.ext1 +0 -0
- data/test/dummy/node_modules/readdirp/test/bed/root_dir1/root_dir1_file2.ext2 +0 -0
- data/test/dummy/node_modules/readdirp/test/bed/root_dir1/root_dir1_file3.ext3 +0 -0
- data/test/dummy/node_modules/readdirp/test/bed/root_dir1/root_dir1_subdir1/root1_dir1_subdir1_file1.ext1 +0 -0
- data/test/dummy/node_modules/readdirp/test/bed/root_dir2/root_dir2_file1.ext1 +0 -0
- data/test/dummy/node_modules/readdirp/test/bed/root_dir2/root_dir2_file2.ext2 +0 -0
- data/test/dummy/node_modules/readdirp/test/bed/root_file1.ext1 +0 -0
- data/test/dummy/node_modules/readdirp/test/bed/root_file2.ext2 +0 -0
- data/test/dummy/node_modules/readdirp/test/bed/root_file3.ext3 +0 -0
- data/test/dummy/node_modules/readdirp/test/readdirp-stream.js +310 -0
- data/test/dummy/node_modules/readdirp/test/readdirp.js +289 -0
- data/test/dummy/node_modules/recast/LICENSE +20 -0
- data/test/dummy/node_modules/recast/README.md +143 -0
- data/test/dummy/node_modules/recast/example/add-braces +44 -0
- data/test/dummy/node_modules/recast/example/generic-identity +17 -0
- data/test/dummy/node_modules/recast/example/identity +8 -0
- data/test/dummy/node_modules/recast/example/to-while +84 -0
- data/test/dummy/node_modules/recast/lib/comments.js +351 -0
- data/test/dummy/node_modules/recast/lib/fast-path.js +477 -0
- data/test/dummy/node_modules/recast/lib/lines.js +878 -0
- data/test/dummy/node_modules/recast/lib/mapping.js +277 -0
- data/test/dummy/node_modules/recast/lib/options.js +95 -0
- data/test/dummy/node_modules/recast/lib/parser.js +152 -0
- data/test/dummy/node_modules/recast/lib/patcher.js +515 -0
- data/test/dummy/node_modules/recast/lib/printer.js +1802 -0
- data/test/dummy/node_modules/recast/lib/types.js +5 -0
- data/test/dummy/node_modules/recast/lib/util.js +283 -0
- data/test/dummy/node_modules/recast/main.js +99 -0
- data/test/dummy/node_modules/recast/package.json +102 -0
- data/test/dummy/node_modules/regex-cache/LICENSE +21 -0
- data/test/dummy/node_modules/regex-cache/README.md +160 -0
- data/test/dummy/node_modules/regex-cache/index.js +69 -0
- data/test/dummy/node_modules/regex-cache/package.json +123 -0
- data/test/dummy/node_modules/repeat-element/LICENSE +21 -0
- data/test/dummy/node_modules/repeat-element/README.md +71 -0
- data/test/dummy/node_modules/repeat-element/index.js +18 -0
- data/test/dummy/node_modules/repeat-element/package.json +94 -0
- data/test/dummy/node_modules/repeat-string/LICENSE +21 -0
- data/test/dummy/node_modules/repeat-string/README.md +118 -0
- data/test/dummy/node_modules/repeat-string/index.js +68 -0
- data/test/dummy/node_modules/repeat-string/package.json +129 -0
- data/test/dummy/node_modules/resolve/LICENSE +18 -0
- data/test/dummy/node_modules/resolve/example/async.js +5 -0
- data/test/dummy/node_modules/resolve/example/sync.js +3 -0
- data/test/dummy/node_modules/resolve/index.js +5 -0
- data/test/dummy/node_modules/resolve/lib/async.js +192 -0
- data/test/dummy/node_modules/resolve/lib/caller.js +8 -0
- data/test/dummy/node_modules/resolve/lib/core.js +4 -0
- data/test/dummy/node_modules/resolve/lib/core.json +38 -0
- data/test/dummy/node_modules/resolve/lib/node-modules-paths.js +38 -0
- data/test/dummy/node_modules/resolve/lib/sync.js +81 -0
- data/test/dummy/node_modules/resolve/package.json +84 -0
- data/test/dummy/node_modules/resolve/readme.markdown +148 -0
- data/test/dummy/node_modules/resolve/test/core.js +12 -0
- data/test/dummy/node_modules/resolve/test/dotdot/abc/index.js +2 -0
- data/test/dummy/node_modules/resolve/test/dotdot/index.js +1 -0
- data/test/dummy/node_modules/resolve/test/dotdot.js +29 -0
- data/test/dummy/node_modules/resolve/test/faulty_basedir.js +17 -0
- data/test/dummy/node_modules/resolve/test/filter.js +18 -0
- data/test/dummy/node_modules/resolve/test/filter_sync.js +15 -0
- data/test/dummy/node_modules/resolve/test/mock.js +142 -0
- data/test/dummy/node_modules/resolve/test/mock_sync.js +68 -0
- data/test/dummy/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +1 -0
- data/test/dummy/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +1 -0
- data/test/dummy/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +1 -0
- data/test/dummy/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +3 -0
- data/test/dummy/node_modules/resolve/test/module_dir.js +56 -0
- data/test/dummy/node_modules/resolve/test/node_path/x/aaa/index.js +1 -0
- data/test/dummy/node_modules/resolve/test/node_path/x/ccc/index.js +1 -0
- data/test/dummy/node_modules/resolve/test/node_path/y/bbb/index.js +1 -0
- data/test/dummy/node_modules/resolve/test/node_path/y/ccc/index.js +1 -0
- data/test/dummy/node_modules/resolve/test/node_path.js +48 -0
- data/test/dummy/node_modules/resolve/test/nonstring.js +9 -0
- data/test/dummy/node_modules/resolve/test/pathfilter/deep_ref/main.js +0 -0
- data/test/dummy/node_modules/resolve/test/pathfilter/deep_ref/node_modules/deep/alt.js +0 -0
- data/test/dummy/node_modules/resolve/test/pathfilter/deep_ref/node_modules/deep/deeper/ref.js +0 -0
- data/test/dummy/node_modules/resolve/test/pathfilter/deep_ref/node_modules/deep/package.json +4 -0
- data/test/dummy/node_modules/resolve/test/pathfilter/deep_ref/node_modules/deep/ref.js +0 -0
- data/test/dummy/node_modules/resolve/test/pathfilter.js +35 -0
- data/test/dummy/node_modules/resolve/test/precedence/aaa/index.js +1 -0
- data/test/dummy/node_modules/resolve/test/precedence/aaa/main.js +1 -0
- data/test/dummy/node_modules/resolve/test/precedence/aaa.js +1 -0
- data/test/dummy/node_modules/resolve/test/precedence/bbb/main.js +1 -0
- data/test/dummy/node_modules/resolve/test/precedence/bbb.js +1 -0
- data/test/dummy/node_modules/resolve/test/precedence.js +23 -0
- data/test/dummy/node_modules/resolve/test/resolver/bar/node_modules/foo/index.js +1 -0
- data/test/dummy/node_modules/resolve/test/resolver/baz/doom.js +0 -0
- data/test/dummy/node_modules/resolve/test/resolver/baz/package.json +3 -0
- data/test/dummy/node_modules/resolve/test/resolver/baz/quux.js +1 -0
- data/test/dummy/node_modules/resolve/test/resolver/biz/node_modules/garply/lib/index.js +1 -0
- data/test/dummy/node_modules/resolve/test/resolver/biz/node_modules/garply/package.json +3 -0
- data/test/dummy/node_modules/resolve/test/resolver/biz/node_modules/grux/index.js +1 -0
- data/test/dummy/node_modules/resolve/test/resolver/biz/node_modules/tiv/index.js +1 -0
- data/test/dummy/node_modules/resolve/test/resolver/cup.coffee +1 -0
- data/test/dummy/node_modules/resolve/test/resolver/foo.js +1 -0
- data/test/dummy/node_modules/resolve/test/resolver/incorrect_main/index.js +2 -0
- data/test/dummy/node_modules/resolve/test/resolver/incorrect_main/package.json +3 -0
- data/test/dummy/node_modules/resolve/test/resolver/mug.coffee +0 -0
- data/test/dummy/node_modules/resolve/test/resolver/mug.js +0 -0
- data/test/dummy/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
- data/test/dummy/node_modules/resolve/test/resolver/other_path/root.js +0 -0
- data/test/dummy/node_modules/resolve/test/resolver/punycode/node_modules/punycode/index.js +0 -0
- data/test/dummy/node_modules/resolve/test/resolver/quux/foo/index.js +1 -0
- data/test/dummy/node_modules/resolve/test/resolver/without_basedir/main.js +6 -0
- data/test/dummy/node_modules/resolve/test/resolver/without_basedir/node_modules/mymodule.js +1 -0
- data/test/dummy/node_modules/resolve/test/resolver.js +281 -0
- data/test/dummy/node_modules/resolve/test/resolver_sync.js +180 -0
- data/test/dummy/node_modules/resolve/test/subdirs/node_modules/a/b/c/x.json +1 -0
- data/test/dummy/node_modules/resolve/test/subdirs/node_modules/a/package.json +1 -0
- data/test/dummy/node_modules/resolve/test/subdirs.js +13 -0
- data/test/dummy/node_modules/ripemd160/CHANGELOG.md +36 -0
- data/test/dummy/node_modules/ripemd160/README.md +100 -0
- data/test/dummy/node_modules/ripemd160/lib/ripemd160.js +210 -0
- data/test/dummy/node_modules/ripemd160/package.json +106 -0
- data/test/dummy/node_modules/sha.js/LICENSE +22 -0
- data/test/dummy/node_modules/sha.js/README.md +54 -0
- data/test/dummy/node_modules/sha.js/bin.js +43 -0
- data/test/dummy/node_modules/sha.js/hash.js +69 -0
- data/test/dummy/node_modules/sha.js/hexpp.js +26 -0
- data/test/dummy/node_modules/sha.js/index.js +15 -0
- data/test/dummy/node_modules/sha.js/package.json +95 -0
- data/test/dummy/node_modules/sha.js/sha.js +93 -0
- data/test/dummy/node_modules/sha.js/sha1.js +98 -0
- data/test/dummy/node_modules/sha.js/sha224.js +52 -0
- data/test/dummy/node_modules/sha.js/sha256.js +134 -0
- data/test/dummy/node_modules/sha.js/sha384.js +56 -0
- data/test/dummy/node_modules/sha.js/sha512.js +259 -0
- data/test/dummy/node_modules/sha.js/test/hash.js +86 -0
- data/test/dummy/node_modules/sha.js/test/test.js +85 -0
- data/test/dummy/node_modules/sha.js/test/vectors.js +76 -0
- data/test/dummy/node_modules/shasum/LICENSE +22 -0
- data/test/dummy/node_modules/shasum/README.md +15 -0
- data/test/dummy/node_modules/shasum/browser.js +13 -0
- data/test/dummy/node_modules/shasum/index.js +13 -0
- data/test/dummy/node_modules/shasum/package.json +79 -0
- data/test/dummy/node_modules/shasum/test/index.js +18 -0
- data/test/dummy/node_modules/shell-quote/LICENSE +24 -0
- data/test/dummy/node_modules/shell-quote/example/env.js +3 -0
- data/test/dummy/node_modules/shell-quote/example/op.js +3 -0
- data/test/dummy/node_modules/shell-quote/example/parse.js +3 -0
- data/test/dummy/node_modules/shell-quote/example/quote.js +3 -0
- data/test/dummy/node_modules/shell-quote/index.js +182 -0
- data/test/dummy/node_modules/shell-quote/package.json +108 -0
- data/test/dummy/node_modules/shell-quote/readme.markdown +128 -0
- data/test/dummy/node_modules/shell-quote/test/env.js +39 -0
- data/test/dummy/node_modules/shell-quote/test/env_fn.js +19 -0
- data/test/dummy/node_modules/shell-quote/test/op.js +67 -0
- data/test/dummy/node_modules/shell-quote/test/parse.js +23 -0
- data/test/dummy/node_modules/shell-quote/test/quote.js +32 -0
- data/test/dummy/node_modules/shell-quote/test/set.js +29 -0
- data/test/dummy/node_modules/source-map/README.md +729 -0
- data/test/dummy/node_modules/source-map/dist/source-map.debug.js +3006 -0
- data/test/dummy/node_modules/source-map/dist/source-map.js +3005 -0
- data/test/dummy/node_modules/source-map/dist/source-map.min.js +2 -0
- data/test/dummy/node_modules/source-map/dist/source-map.min.js.map +1 -0
- data/test/dummy/node_modules/source-map/lib/array-set.js +104 -0
- data/test/dummy/node_modules/source-map/lib/base64-vlq.js +141 -0
- data/test/dummy/node_modules/source-map/lib/base64.js +68 -0
- data/test/dummy/node_modules/source-map/lib/binary-search.js +112 -0
- data/test/dummy/node_modules/source-map/lib/mapping-list.js +80 -0
- data/test/dummy/node_modules/source-map/lib/quick-sort.js +115 -0
- data/test/dummy/node_modules/source-map/lib/source-map-consumer.js +1082 -0
- data/test/dummy/node_modules/source-map/lib/source-map-generator.js +396 -0
- data/test/dummy/node_modules/source-map/lib/source-node.js +408 -0
- data/test/dummy/node_modules/source-map/lib/util.js +369 -0
- data/test/dummy/node_modules/source-map/package.json +242 -0
- data/test/dummy/node_modules/source-map/source-map.js +8 -0
- data/test/dummy/node_modules/stream-browserify/LICENSE +18 -0
- data/test/dummy/node_modules/stream-browserify/index.js +127 -0
- data/test/dummy/node_modules/stream-browserify/package.json +110 -0
- data/test/dummy/node_modules/stream-browserify/readme.markdown +25 -0
- data/test/dummy/node_modules/stream-browserify/test/buf.js +32 -0
- data/test/dummy/node_modules/stream-combiner2/LICENSE +22 -0
- data/test/dummy/node_modules/stream-combiner2/README.md +37 -0
- data/test/dummy/node_modules/stream-combiner2/index.js +68 -0
- data/test/dummy/node_modules/stream-combiner2/package.json +79 -0
- data/test/dummy/node_modules/stream-combiner2/test/index.js +98 -0
- data/test/dummy/node_modules/stream-http/LICENSE +24 -0
- data/test/dummy/node_modules/stream-http/README.md +124 -0
- data/test/dummy/node_modules/stream-http/ie8-polyfill.js +168 -0
- data/test/dummy/node_modules/stream-http/index.js +79 -0
- data/test/dummy/node_modules/stream-http/lib/capability.js +40 -0
- data/test/dummy/node_modules/stream-http/lib/request.js +278 -0
- data/test/dummy/node_modules/stream-http/lib/response.js +178 -0
- data/test/dummy/node_modules/stream-http/package.json +103 -0
- data/test/dummy/node_modules/stream-http/test/browser/abort.js +55 -0
- data/test/dummy/node_modules/stream-http/test/browser/auth.js +22 -0
- data/test/dummy/node_modules/stream-http/test/browser/binary-streaming.js +71 -0
- data/test/dummy/node_modules/stream-http/test/browser/binary.js +32 -0
- data/test/dummy/node_modules/stream-http/test/browser/cookie.js +25 -0
- data/test/dummy/node_modules/stream-http/test/browser/error.js.disabled +12 -0
- data/test/dummy/node_modules/stream-http/test/browser/headers.js +75 -0
- data/test/dummy/node_modules/stream-http/test/browser/lib/webworker-worker.js +20 -0
- data/test/dummy/node_modules/stream-http/test/browser/package.json +5 -0
- data/test/dummy/node_modules/stream-http/test/browser/post-binary.js +42 -0
- data/test/dummy/node_modules/stream-http/test/browser/post-text.js +48 -0
- data/test/dummy/node_modules/stream-http/test/browser/text-streaming.js +43 -0
- data/test/dummy/node_modules/stream-http/test/browser/text.js +22 -0
- data/test/dummy/node_modules/stream-http/test/browser/webworker.js +32 -0
- data/test/dummy/node_modules/stream-http/test/node/http-browserify.js +133 -0
- data/test/dummy/node_modules/stream-http/test/server/index.js +115 -0
- data/test/dummy/node_modules/stream-http/test/server/static/basic.txt +19 -0
- data/test/dummy/node_modules/stream-http/test/server/static/browserify.png +0 -0
- data/test/dummy/node_modules/stream-http/test/server/static/test-polyfill.js +9 -0
- data/test/dummy/node_modules/stream-splicer/LICENSE +18 -0
- data/test/dummy/node_modules/stream-splicer/example/header.js +22 -0
- data/test/dummy/node_modules/stream-splicer/index.js +196 -0
- data/test/dummy/node_modules/stream-splicer/package.json +87 -0
- data/test/dummy/node_modules/stream-splicer/readme.markdown +139 -0
- data/test/dummy/node_modules/stream-splicer/test/combiner.js +31 -0
- data/test/dummy/node_modules/stream-splicer/test/combiner_stream.js +29 -0
- data/test/dummy/node_modules/stream-splicer/test/empty.js +17 -0
- data/test/dummy/node_modules/stream-splicer/test/empty_no_data.js +13 -0
- data/test/dummy/node_modules/stream-splicer/test/get.js +41 -0
- data/test/dummy/node_modules/stream-splicer/test/multipush.js +31 -0
- data/test/dummy/node_modules/stream-splicer/test/multiunshift.js +31 -0
- data/test/dummy/node_modules/stream-splicer/test/nested.js +36 -0
- data/test/dummy/node_modules/stream-splicer/test/nested_middle.js +42 -0
- data/test/dummy/node_modules/stream-splicer/test/pop.js +46 -0
- data/test/dummy/node_modules/stream-splicer/test/push.js +57 -0
- data/test/dummy/node_modules/stream-splicer/test/shift.js +46 -0
- data/test/dummy/node_modules/stream-splicer/test/splice.js +58 -0
- data/test/dummy/node_modules/stream-splicer/test/unshift.js +46 -0
- data/test/dummy/node_modules/string_decoder/LICENSE +20 -0
- data/test/dummy/node_modules/string_decoder/README.md +7 -0
- data/test/dummy/node_modules/string_decoder/index.js +221 -0
- data/test/dummy/node_modules/string_decoder/package.json +83 -0
- data/test/dummy/node_modules/subarg/LICENSE +18 -0
- data/test/dummy/node_modules/subarg/example/show.js +3 -0
- data/test/dummy/node_modules/subarg/index.js +35 -0
- data/test/dummy/node_modules/subarg/package.json +105 -0
- data/test/dummy/node_modules/subarg/readme.markdown +55 -0
- data/test/dummy/node_modules/subarg/test/arg.js +31 -0
- data/test/dummy/node_modules/subarg/test/recursive.js +24 -0
- data/test/dummy/node_modules/syntax-error/LICENSE +18 -0
- data/test/dummy/node_modules/syntax-error/example/check.js +12 -0
- data/test/dummy/node_modules/syntax-error/example/src.js +9 -0
- data/test/dummy/node_modules/syntax-error/index.js +59 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/AUTHORS +43 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/LICENSE +19 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/README.md +396 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/bin/acorn +71 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/bin/build-acorn.js +82 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/bin/generate-identifier-regex.js +47 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/bin/update_authors.sh +6 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/dist/acorn.js +3340 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/dist/acorn_loose.js +1300 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/dist/walk.js +377 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/package.json +213 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/bin/acorn.js +59 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/expression.js +707 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/identifier.js +90 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/index.js +67 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/location.js +24 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/locutil.js +42 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/loose/acorn_loose.js +0 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/loose/expression.js +501 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/loose/index.js +50 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/loose/parseutil.js +1 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/loose/state.js +160 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/loose/statement.js +420 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/loose/tokenize.js +108 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/lval.js +215 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/node.js +50 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/options.js +121 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/parseutil.js +102 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/state.js +104 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/statement.js +626 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/tokencontext.js +109 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/tokenize.js +682 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/tokentype.js +147 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/util.js +9 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/walk/index.js +340 -0
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/whitespace.js +12 -0
- data/test/dummy/node_modules/syntax-error/package.json +100 -0
- data/test/dummy/node_modules/syntax-error/readme.markdown +87 -0
- data/test/dummy/node_modules/syntax-error/test/check.js +17 -0
- data/test/dummy/node_modules/syntax-error/test/html.js +16 -0
- data/test/dummy/node_modules/syntax-error/test/ok.js +13 -0
- data/test/dummy/node_modules/syntax-error/test/run.js +12 -0
- data/test/dummy/node_modules/syntax-error/test/run2.js +12 -0
- data/test/dummy/node_modules/syntax-error/test/shebang.js +13 -0
- data/test/dummy/node_modules/syntax-error/test/sources/check.js +9 -0
- data/test/dummy/node_modules/syntax-error/test/sources/ok.js +1 -0
- data/test/dummy/node_modules/syntax-error/test/sources/run.js +1 -0
- data/test/dummy/node_modules/syntax-error/test/sources/run2.js +3 -0
- data/test/dummy/node_modules/syntax-error/test/sources/shebang.js +2 -0
- data/test/dummy/node_modules/syntax-error/test/sources/yield.js +13 -0
- data/test/dummy/node_modules/syntax-error/test/yield.js +13 -0
- data/test/dummy/node_modules/through/LICENSE.APACHE2 +15 -0
- data/test/dummy/node_modules/through/LICENSE.MIT +24 -0
- data/test/dummy/node_modules/through/index.js +108 -0
- data/test/dummy/node_modules/through/package.json +92 -0
- data/test/dummy/node_modules/through/readme.markdown +64 -0
- data/test/dummy/node_modules/through/test/async.js +28 -0
- data/test/dummy/node_modules/through/test/auto-destroy.js +30 -0
- data/test/dummy/node_modules/through/test/buffering.js +71 -0
- data/test/dummy/node_modules/through/test/end.js +45 -0
- data/test/dummy/node_modules/through/test/index.js +133 -0
- data/test/dummy/node_modules/through2/LICENSE +39 -0
- data/test/dummy/node_modules/through2/README.md +133 -0
- data/test/dummy/node_modules/through2/node_modules/isarray/Makefile +6 -0
- data/test/dummy/node_modules/through2/node_modules/isarray/README.md +60 -0
- data/test/dummy/node_modules/through2/node_modules/isarray/component.json +19 -0
- data/test/dummy/node_modules/through2/node_modules/isarray/index.js +5 -0
- data/test/dummy/node_modules/through2/node_modules/isarray/package.json +96 -0
- data/test/dummy/node_modules/through2/node_modules/isarray/test.js +20 -0
- data/test/dummy/node_modules/through2/node_modules/readable-stream/LICENSE +18 -0
- data/test/dummy/node_modules/through2/node_modules/readable-stream/README.md +36 -0
- data/test/dummy/node_modules/through2/node_modules/readable-stream/doc/stream.markdown +1760 -0
- data/test/dummy/node_modules/through2/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
- data/test/dummy/node_modules/through2/node_modules/readable-stream/duplex.js +1 -0
- data/test/dummy/node_modules/through2/node_modules/readable-stream/lib/_stream_duplex.js +75 -0
- data/test/dummy/node_modules/through2/node_modules/readable-stream/lib/_stream_passthrough.js +26 -0
- data/test/dummy/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js +880 -0
- data/test/dummy/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js +180 -0
- data/test/dummy/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js +516 -0
- data/test/dummy/node_modules/through2/node_modules/readable-stream/package.json +105 -0
- data/test/dummy/node_modules/through2/node_modules/readable-stream/passthrough.js +1 -0
- data/test/dummy/node_modules/through2/node_modules/readable-stream/readable.js +12 -0
- data/test/dummy/node_modules/through2/node_modules/readable-stream/transform.js +1 -0
- data/test/dummy/node_modules/through2/node_modules/readable-stream/writable.js +1 -0
- data/test/dummy/node_modules/through2/package.json +107 -0
- data/test/dummy/node_modules/through2/through2.js +96 -0
- data/test/dummy/node_modules/timers-browserify/CHANGELOG.md +58 -0
- data/test/dummy/node_modules/timers-browserify/LICENSE.md +46 -0
- data/test/dummy/node_modules/timers-browserify/README.md +40 -0
- data/test/dummy/node_modules/timers-browserify/example/enroll/build.sh +3 -0
- data/test/dummy/node_modules/timers-browserify/example/enroll/index.html +8 -0
- data/test/dummy/node_modules/timers-browserify/example/enroll/js/browserify.js +233 -0
- data/test/dummy/node_modules/timers-browserify/example/enroll/js/main.js +14 -0
- data/test/dummy/node_modules/timers-browserify/example/enroll/server.js +11 -0
- data/test/dummy/node_modules/timers-browserify/main.js +76 -0
- data/test/dummy/node_modules/timers-browserify/package.json +126 -0
- data/test/dummy/node_modules/to-arraybuffer/LICENSE +24 -0
- data/test/dummy/node_modules/to-arraybuffer/README.md +27 -0
- data/test/dummy/node_modules/to-arraybuffer/index.js +27 -0
- data/test/dummy/node_modules/to-arraybuffer/package.json +85 -0
- data/test/dummy/node_modules/to-arraybuffer/test.js +57 -0
- data/test/dummy/node_modules/tty-browserify/LICENSE +18 -0
- data/test/dummy/node_modules/tty-browserify/index.js +11 -0
- data/test/dummy/node_modules/tty-browserify/package.json +78 -0
- data/test/dummy/node_modules/tty-browserify/readme.markdown +1 -0
- data/test/dummy/node_modules/typedarray/LICENSE +35 -0
- data/test/dummy/node_modules/typedarray/example/tarray.js +4 -0
- data/test/dummy/node_modules/typedarray/index.js +630 -0
- data/test/dummy/node_modules/typedarray/package.json +105 -0
- data/test/dummy/node_modules/typedarray/readme.markdown +61 -0
- data/test/dummy/node_modules/typedarray/test/server/undef_globals.js +19 -0
- data/test/dummy/node_modules/typedarray/test/tarray.js +10 -0
- data/test/dummy/node_modules/umd/README.md +82 -0
- data/test/dummy/node_modules/umd/bin/cli.js +43 -0
- data/test/dummy/node_modules/umd/index.js +78 -0
- data/test/dummy/node_modules/umd/package.json +95 -0
- data/test/dummy/node_modules/unreachable-branch-transform/README.md +72 -0
- data/test/dummy/node_modules/unreachable-branch-transform/index.js +59 -0
- data/test/dummy/node_modules/unreachable-branch-transform/package.json +94 -0
- data/test/dummy/node_modules/unreachable-branch-transform/unreachableBranchTransformer.js +97 -0
- data/test/dummy/node_modules/url/LICENSE +21 -0
- data/test/dummy/node_modules/url/README.md +108 -0
- data/test/dummy/node_modules/url/node_modules/punycode/LICENSE-MIT.txt +20 -0
- data/test/dummy/node_modules/url/node_modules/punycode/README.md +176 -0
- data/test/dummy/node_modules/url/node_modules/punycode/package.json +107 -0
- data/test/dummy/node_modules/url/node_modules/punycode/punycode.js +530 -0
- data/test/dummy/node_modules/url/package.json +80 -0
- data/test/dummy/node_modules/url/test.js +1599 -0
- data/test/dummy/node_modules/url/url.js +732 -0
- data/test/dummy/node_modules/url/util.js +16 -0
- data/test/dummy/node_modules/util/LICENSE +18 -0
- data/test/dummy/node_modules/util/README.md +15 -0
- data/test/dummy/node_modules/util/package.json +81 -0
- data/test/dummy/node_modules/util/support/isBuffer.js +3 -0
- data/test/dummy/node_modules/util/support/isBufferBrowser.js +6 -0
- data/test/dummy/node_modules/util/test/browser/inspect.js +41 -0
- data/test/dummy/node_modules/util/test/browser/is.js +91 -0
- data/test/dummy/node_modules/util/test/node/debug.js +86 -0
- data/test/dummy/node_modules/util/test/node/format.js +77 -0
- data/test/dummy/node_modules/util/test/node/inspect.js +195 -0
- data/test/dummy/node_modules/util/test/node/log.js +58 -0
- data/test/dummy/node_modules/util/test/node/util.js +83 -0
- data/test/dummy/node_modules/util/util.js +586 -0
- data/test/dummy/node_modules/util-deprecate/History.md +16 -0
- data/test/dummy/node_modules/util-deprecate/LICENSE +24 -0
- data/test/dummy/node_modules/util-deprecate/README.md +53 -0
- data/test/dummy/node_modules/util-deprecate/browser.js +67 -0
- data/test/dummy/node_modules/util-deprecate/node.js +6 -0
- data/test/dummy/node_modules/util-deprecate/package.json +83 -0
- data/test/dummy/node_modules/vm-browserify/LICENSE +18 -0
- data/test/dummy/node_modules/vm-browserify/example/run/bundle.js +473 -0
- data/test/dummy/node_modules/vm-browserify/example/run/entry.js +6 -0
- data/test/dummy/node_modules/vm-browserify/example/run/index.html +9 -0
- data/test/dummy/node_modules/vm-browserify/example/run/server.js +6 -0
- data/test/dummy/node_modules/vm-browserify/index.js +138 -0
- data/test/dummy/node_modules/vm-browserify/package.json +96 -0
- data/test/dummy/node_modules/vm-browserify/readme.markdown +67 -0
- data/test/dummy/node_modules/vm-browserify/test/vm.js +35 -0
- data/test/dummy/node_modules/watchify/LICENSE +18 -0
- data/test/dummy/node_modules/watchify/bin/args.js +16 -0
- data/test/dummy/node_modules/watchify/bin/cmd.js +68 -0
- data/test/dummy/node_modules/watchify/example/files/main.js +2 -0
- data/test/dummy/node_modules/watchify/example/files/one.js +3 -0
- data/test/dummy/node_modules/watchify/example/files/two.js +1 -0
- data/test/dummy/node_modules/watchify/index.js +165 -0
- data/test/dummy/node_modules/watchify/package.json +111 -0
- data/test/dummy/node_modules/watchify/readme.markdown +226 -0
- data/test/dummy/node_modules/watchify/test/api.js +44 -0
- data/test/dummy/node_modules/watchify/test/api_brfs.js +53 -0
- data/test/dummy/node_modules/watchify/test/api_ignore_watch.js +60 -0
- data/test/dummy/node_modules/watchify/test/api_ignore_watch_default.js +60 -0
- data/test/dummy/node_modules/watchify/test/api_ignore_watch_multiple.js +60 -0
- data/test/dummy/node_modules/watchify/test/api_implicit_cache.js +44 -0
- data/test/dummy/node_modules/watchify/test/bin.js +52 -0
- data/test/dummy/node_modules/watchify/test/bin_brfs.js +62 -0
- data/test/dummy/node_modules/watchify/test/bin_ignore_watch.js +71 -0
- data/test/dummy/node_modules/watchify/test/bin_ignore_watch_default.js +71 -0
- data/test/dummy/node_modules/watchify/test/bin_ignore_watch_multiple.js +72 -0
- data/test/dummy/node_modules/watchify/test/bin_pipe.js +56 -0
- data/test/dummy/node_modules/watchify/test/bin_plugins_pipelining_multiple_errors.js +56 -0
- data/test/dummy/node_modules/watchify/test/bin_standalone.js +52 -0
- data/test/dummy/node_modules/watchify/test/errors.js +56 -0
- data/test/dummy/node_modules/watchify/test/errors_transform.js +83 -0
- data/test/dummy/node_modules/watchify/test/expose.js +72 -0
- data/test/dummy/node_modules/watchify/test/many.js +101 -0
- data/test/dummy/node_modules/watchify/test/many_immediate.js +99 -0
- data/test/dummy/node_modules/watchify/test/zzz.js +10 -0
- data/test/dummy/node_modules/wrappy/LICENSE +15 -0
- data/test/dummy/node_modules/wrappy/README.md +36 -0
- data/test/dummy/node_modules/wrappy/package.json +78 -0
- data/test/dummy/node_modules/wrappy/test/basic.js +51 -0
- data/test/dummy/node_modules/wrappy/wrappy.js +33 -0
- data/test/dummy/node_modules/xtend/LICENCE +19 -0
- data/test/dummy/node_modules/xtend/Makefile +4 -0
- data/test/dummy/node_modules/xtend/README.md +32 -0
- data/test/dummy/node_modules/xtend/immutable.js +19 -0
- data/test/dummy/node_modules/xtend/mutable.js +17 -0
- data/test/dummy/node_modules/xtend/package.json +115 -0
- data/test/dummy/node_modules/xtend/test.js +83 -0
- data/test/dummy/package.json +16 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/-o/-oGwsmoED7FhsnbNDNwcTTteQvlbz-1VlFE5r5SckBA.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/-x/-xzgg23D0Fjd2URLPZsw-cz0moJJ_UTK91raBLnaTms.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/0T/0T1MHI5D1uU0usyPDGnBbeYxhVQNi7xcOm_dcpVdDz0.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/1C/1CTNbWEzOEeKLAM04HKSC0frL8DB--8V-u1Z1dwubis.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/1G/1GMeThvFGAPkgFRVLS0A0aCcYeUjeQ812CErmw29lhc.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/1W/1W_jC2izQTZB80Jz9cqI-ZA8Q5404rKo0rDiXT6pyr0.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/1y/1yWAWPbnk7v_KFEcnQXR24rexLnBN3TKJmcHz9cUgtE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/1y/1ytTRlj_doPKSf37QpkQoaBPnCjViBRjQzn-K33N0RE.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/28/28AQEUK_z51aMqaQktotLgk1EJl_J0osXkBQG8nv734.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/2F/2FXAncroIYCxLSOYXSLp-mhRrd92wPdqrAAajO_muW4.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/2M/2M70sHX7UHiSdlFV1IwsyvgpkNutcGgqb8xSspO2Xwg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/2U/2UdeWj23mfTMDgZN83Pxds4ZJjkVyby2tEyidUxlcpg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/2q/2qTH4ROw7lpwRUwiQBnu9WRdMbgiDHkWr5QGBS4MZBE.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/3f/3fIP3rRWCmy8nku15janoFvYjpSH-gxQh2kr0wJRfcU.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/3h/3hNMHCANib7hGcZimVtw9fqlKba7j4zP91_IEFEUdno.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/4I/4IHPxfLLqnhY36gdRmtSFkWYiawbn4uMxNPLP3xnQe8.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/4e/4eTw2V8GjmBr-1wvLE9Zzh3XFtQI5hDMD9qX5QALOBY.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/4o/4ombhIKJPpLS3j9K3oY7hKJ49pw_71dxQ8LgJNNgIFQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5le4DculpQJ2ycky3PMljl8ShEfd6Mx3OsZ6vZsgIto.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/62/62Kg2wvzJXu-q0ymvrItPrB9Q--CLLAC6SEjd6g74lc.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/67/677WI5Mqbdg3dwlTwugSiYu8x3M4mHBlgLKvsHP2Z7I.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/6A/6AbdujJ_7IBtGrNb7o4tRAD4XhW7AUddARigLQlBaQw.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/6Q/6Q-4g6-L2KWSZ3bmx0tggt1KhIwmZxHeJrchrwYg4AQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/6v/6vZuEXThthctuw4_MrmwizfH1STATSfPDpm-h1hDHwM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/70/707QxGBmtwkz0ax6G2zWTSk5KNbpkAuS5q-Jb9RC4aU.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/7H/7HRIgBLpey9TZ4qe9CY89lER8HNhVB0cjlz5eZdu9CQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/8J/8J0eNW8CIrQoMKXG9-CGEXyRUn6Gbre-KBS_kAIvS-U.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/8N/8Nv07i91aaxvqlxXISKaZoBqHvcLCJBF8NUwd2VTdJk.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/B2/B2qFoFRh8kpMTC8gkv5N13NHJ3L9NV-0_vl3sC5-x_w.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/BC/BCdR-E9OXnj9lwDHAlKUFySrv7YOFy_-_xXG1pOLUQ8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/BM/BMvp0d8hNLlz9IB2axdS80D7Di4-gaTIVN3mpKWdNQw.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/BR/BRII8jYm88YaY_j67VxirVrD6yvF28TVkZbtMUhLGCg.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/BZ/BZNOigM6frhiGdxZuB2w2S6E4OZMui6dyQyHG6lvrsY.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Bf/BfVd0Db3otlRlNy91JxVcKkQWwyHrO5e4KiMva5Fle8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/C4/C4yiibIGgaeZAVb7MUEIZ7ReUuxiVhpaz3fjUixKPZ4.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/CY/CYrZBmHdeD3suhCFCPZQ4mcIyLXhwZ_RjaO18hqt8RA.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Cc/CcbURITLxEFw-Hj0MeKBtseGpehBoxrGuZsVC2aqvsI.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Cg/CgCEnHXAmzJdqvpprhFloxCMIpf3GIbHBw8x7AP5QmA.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ch/Ch2bQFHkYziI9Erdkuj8uoPJyw0W2aA5prtYAqlccww.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/DS/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dd/Dd5SNmaitiYv1i85eR4fMMn8U4eDZW8dLAdjlUoveVk.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/E3/E3PGV-EHbdgytztS6aIodaUxIjBKEozvhb7OWpyTHj0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/E4/E4Qr2ISm83HFsIQnBi32nNUnOha1zu8GzgRdsENtN-E.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ED/EDMmqav5qwaX53k7p9wJnePjeZ7b_i5xHMAx8E2XoCU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ED/ed-CxD158cujF_2SfTt-qNG6mXxO-lg5Bz8R3S4i3CM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/EE/EEC4W-d67sYYaXRuN_CPOlQPcQZh0lRDZ8v0eZ2HB5k.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ei/Ei9RwfAHDDbaTDnFp5UR9Wx3IaBLhEsJdAvcbxkuaMA.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Er/Erm-aKaNgB0tcsTKg0KvSuQoWAWxPBS36qtg8MwhLcQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Er/eR2wQCBaaOa9Bd18JSY0d7SaptjuAm7rC_GHxMvBR38.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/FB/FBJvMbKJWr4fqIEI--QPdkwiP9cGgxCOcYuAAF0WlDM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/FH/FHsrfVlSPP0eySEDeUHcCzH7jK3zJy95BS7BXdMazuQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/FX/FX-5pUWfGgoJd2h4XnifVCYWwG5jmENGfUV1cNMnQlQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/G1/G1LupDraM99hvtHYG7WE3Yx3Dq4soCOCjrYateZ5rkw.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/G3/G3IyzwSTT-PDJgNJQlycSbleR64OEGNaWCjEu94Mge4.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/GO/GOGZJvK3DfVJrEpCxhQ8JKUqdX5MwyfUeXTghwiqgd4.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/GR/GRl6HEX8FOaFQe4f85N5-eyzvpMZyzDm38oAi2PAftw.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/G_/G_xzVJE17FIAM5r-Z3Jm7ijeKBX6sxzivkxGN8WUaFE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Gp/GpwGZSYjuSCgh4VO8ZK1IqUsPj1xZfEaDEARe4yKJYs.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/H0/H0aw7dFi66LCe_sp6w6n2QLOeVk8YjkOADP2YoQ-RGw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ii/Ii27XzcU3aygpprdhW83NjUzo1TTEoptuqipf5m3nj0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/JD/JDFa4nA6PyC0HzQ0m8DCZoLc_jA255lfwRhMVWeKSpc.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/JN/JNWCNiollNBbP6M-3ahd4oqOZVJ6ASPH30lju91Ab9E.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/JN/jNOmcfOJ3Aajda3krgNu-QaFM6roZYLoE6CVQT1Elm4.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/K3/K32DeLXUd7pGb8zNsSm-Q1t87CldA2zm05hDPD35CCg.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/K9/K9ZheMi0hi4DNLzmDMRnv9A_lOVz33kNImc16Now42o.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/KO/KOegh_TQB4Tzdd3v-xqH93vGa3V74zHzwV4AVWb29t8.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Kg/Kg-x5n8i2vJFjIlJjJOlCm4Q25v-4Od0h1YEdUhdGrw.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Kr/KrkjbBFE0mqAZzcgFLIp0xZfLvyp0S33jjbAgImdEbA.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Kr/krW6duuEvorLAsp1iSId4S6rAWNliU5R0SCgyWA6Hlg.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/LR/LRl-827CKV2LMeOgp-1cCdNPsuTQeqY2d4zIcmaTbgc.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Lg/Lgy-n6ZX0Jrs2S9jQvGXOcIkhg1wIQvADBBl7nt4IUM.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Md/Md4DjPjZ5AsWma7rKT6g_5PwT6KNvjqCI83wyWdivAY.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Mn/MnjTyMnZ8hq48sK3kqeEV5HntHOzj5l9byZntXcymv0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/My/My-gJn8h5jXtY1Apc8MKm2-HQyJ9bYzPVA2SsYFMlk4.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/NK/NKF9odlZM3nINhAjq9aZ9t_Gaya8a0NAV7Lf9BLUWOI.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/NV/NVTgol3wufMoq9DekcTmOC0kAlRjJEVjMje8Ad9TzKs.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/NZ/NZWHq8mjbWIQjWtIS5ssE8XxECO0WWbxy77K_f71yJ0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Nn/NnUCa7jNYx9HCmEB7E7WPWT00DwaM4IYICy1Ju1jjcs.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/OA/OApH3PYH-ibNr0BhsNDyI5GMepjx7m6VRi-AIm-mx_U.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Or/Ori7DoN_oUPJhv5ILW1Df8hnTZ16MmxZ5lauVX5QGBQ.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/P-/P-jLPpVIFLWWoJ1LwGDV0h1kE0-fMYmRBMX1JWNxsj0.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/PV/PVtQYPUcj0hhzP900u1AdXBY7CneDNs1j_LFaSMbDf8.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/PZ/PZobPcXCbpM9MJ8WnUyBrnPWkCTMPJuEKlePnEXm0v0.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Pb/PbP8T5HsLnpAYmWRIsHnOuel85RJ5dAapBz1E7wyFPQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Py/PyAATStNO87RSWlrulPb8bkE1ZyCV2Klj8dsF3Lj-qw.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Q6/Q63H6CMNHL_FTlto__Gx5ui5qR6LeEuMgri6tH46MxU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/QC/QCSYs1T2oBVcQgCi-uHpbQV4djrEXrWXJqlbrAsJ0U8.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/QF/QFqhjGMviIEKNIXi5XNCW7bjzsQyZj-eC3aQXs86gAw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/QQ/QQiJnGn6sN0rLBn5t9fYVpx2vyEuz7zyyaw7VNeD9VQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Qz/Qz_mGtVrxTgxlKmsfyA9PdtIyGXD8PTNm1x4qDGFhAk.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/RW/RWJlNRqVXFEKiVu2YskLVphB4BcvQc6b1TJgp7i9JqQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/R_/R_cJA2DObH51sEin_bJSM8zoSIQPfaPcrq1slMF0TMc.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Rm/RmzpcWhuAgqgWXDxHU2T0_ic-a8qNcu4Tyc2Zn7w9Xg.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ry/RylJg0JPQJXRr4twCMefa5PFOfdETIva1_3ZmUgOsEA.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Sm/SmiulCacWOpHZ8xOwhiJduBGopLZ2vVY5V5m5EPcksQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/TU/TUfbVHVTUUpiD3hYtN6S1Uw81rl7YUXSHuwh9-9PJ_8.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Tp/Tpd6vyyM1vD5-9Ce-ePSh24_P4yLkUkC55bMsG5xjIQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Tz/TzB2Z-l3FHDCsSTHhxBZcacEH2JV38DeeJDDNCXMgzg.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/UA/UA-qkOf3H5oWyJsQi40wLTNgjFtFyv8U0nFDkKwkico.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/UM/UMKVtYUkwZ27qFoNKuod6Y9I3rvdKhI-UERSCwSBZSI.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Vj/VjaurJ8UtnIDtVWJhegY2Eohw75HQ00nl-E4hdrtDtg.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ww/WwUhCL9cc-VXW-owoqL7uGiiIxPOl3PxtZ3-VOOtHPU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Xh/XhQfyjbVraCPRWoGUpzQ67BacxPZrgdjezAVUIbZyiE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/YL/YL16HsDS7EotD-QHclLmmDdwVua5_8stL4UHL_S8Edw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Zs/Zs90wzhgMjvsuhGd93f0bARG16x5iHaN2P7Ri6gYDxI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Zv/ZvxoBbzc5ML9c2gNOUHuo_Yh_XCVDD6hdlQC4EOK08c.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/_C/_CBvBsem1WftcNDXywJQTvacRKqSSCNaeLjxtMszXTw.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/_T/_TWKvK8ZgHNO0wyZimjRvJujWlXeE3l_SzNv9h0ZS64.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/__/__gV64dNSJLa3_ku1f4nBdLvl2wdtUke7hQ-_3WZ3FA.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/a5/a5ifa3BpZrLxpQ1VOJ7XXyRt00NcM2r3viSERmC5TzU.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/aF/aFASUWtaGG_6pgjH7mM2-0b57x1NJ5xVnuiCbkg-y4U.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ai/aicXEDbiX-HblesG9oy7Em8kya_wKzov8E6V3B5i5yE.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/bH/bHfdlHn48CnO-0gvgn_2418PvVkMCtYJh9ePTAKIHW4.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/bU/bU6D4LRdFumZVMG5Dh25kryxNiQ_qUMzChPQnwkR6gc.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/cN/cNP8A30uBN8UbbwKzaAl_nAyT2uueRoHuqk8qSRelag.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/dF/dF0Kzd__Y7Pj3kIjFV6j0_JRaAPoxftwwxMhF7mHfEM.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/e0/E094nc9b8pOh-uQ_w7-aIyKNwl0I4absnCnBkjRWhCg.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/e0/E0sRsnXfHcO2jE2-fAOLdcE9L9rr90hUK4NNABb9yns.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/e0/e0kERao1gQwBqMimluxGtYwm3ZLM0chstZnPIJa1yIg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ey/eyCOrasesbHgtHvQ_0aH5iIM4O2SMWXWRTgOarUD2-U.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/f9/f9UxqJv7R-OWdlkaDwJnhUyXOZs360QA5LZofXD1k_4.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/fj/fj8nNZVvl_-4vFqwHw-1R0qnYhj5Wrl8CF5xQ3XLlTM.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/h1/h1n1wPuR4vmcG_LWwZw1JFFj8pB_FO8ukitYCGYaNwA.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/hr/hrT3s4KsN3XGw5KK1RPU2OM3SFbQm0_3-eG-H6Rw8PQ.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/hs/hsFeX5jhqtYjKoACvbKZySbi31pV34OAYeIoNkwJnmQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/kv/kvgE_VMBnJOTjQR2lW5JaEuyi5nq4zZh5sNo91aZgKo.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/l5/l5Xze7AlkL4jHn8VuPP9quYDvGn6zu6icAJ4Y5JoUvk.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/lq/lqZ_GbiNP9bKepOfzlixV1DjyVbLK3gJ-vpr4auIo1s.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/mB/mBzbEBpyOh63AWbplaLwXqpZrEyCNukOe_mrdgrRYv8.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/mP/mPAo62vdIcJqthSbWd7uu9Lhc6iw3Pj6DW4FJVW9DTg.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/mz/mzTl0oStlLeu8M8mKD2Z4AFiODBhxuhhEwmvkQMjJ08.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/nO/nOt4q6V1_87ssVAW-m8C69Eh94D1KUAB9Y2wzugjLiU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ns/nskEglj51iHgLa4OP6X8J2MFTFYQYbfd_q2XtE4lEl8.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/oG/oGWcd1-UwcQ_o1WhfMgPOS2LSHHJpsdM47HAzzW6C1g.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/oH/oH-xf1jGG4CDfcKXEYhXcVZFh0jVKrRUBi8FHBmvvt8.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/op/opx0JXoesV3avTZAsu7AOHd2DYaFLvCdf1JsrIV1wPA.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ox/oxjmRgM9onS8LyF5LBuUNfBKubL6B5YoDfFR0gOr28U.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/pF/pFqWuHO8WYdWAvyfmTzV3s2UZ0n5iKWo4ApZkKN7edA.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/q5/q5pnTDF_y3yRL2BGVHTvyj0YOqoF0QVDRNiV285RCY4.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/qI/qIyi5uni1Pz200-4stFdM3l8cEgrNsZWNLzXDLCl9eQ.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/qb/QBkdwyB7zjwdZUj9sbBIOXVY04LbXdJlV8TBu3B-Olc.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/qb/qbq8JkwipRuk5VXl0qoAAf47gVCBrrG88zqsfMlukaM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/r4/r4NzIjLpPuYA_rdfKUv96ek1tSfqwCLgf1gYq7NZsEI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/rR/rR10ov9tKHLBylV4izJo6YuyoP0z5Q5NkI-Dm7VqsEY.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/sB/Sb1lx6nwCyXjhouZu0dyxA_1G8Eycg7mY_Pb9oUi_0I.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/sB/sBvb--C3JlNzvEBHStXpTyZbFGPXSGCYNuHgy0-ykvU.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/sR/sRQIZqHpZKVOoPCOxxFzLe5f2_utSzB4s7Hfpm3dcRg.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/sj/sjvi7CnvzGlBxEMhFCvIqksxGk63hjabDLz_BY9_OdA.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/t4/t4fcagjEnZvr4FqbN8NWQ0fN54Xql4w68LhX5UkbsG8.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/t5/t5OykmAd3cRqor0IR-ireyJfVAkxtiH5sK7xd6dNMAA.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/uW/UWZGINKb14yUU5rrjm_s0cCCwrTIbkcklU3U28UZmSw.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/uW/uWvI_8xvoF_n11od9qHySuJONzNnAhObsFvQpVwo-qM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ue/ue7R-WZnj5LK5it5v8BtfFZoTuNIhLm7blvmf-rl__M.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/v2/v2PGvxFKaF5jLYBgjCWTo5cXupjO4cdfal1HMK0bPU0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/vI/vIJiFzpvwlUEdD9m1ICA8u4LqA2tFHtNSAQBWBfElTE.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/vI/vIVnpzXv-OjJZQRIxrXL3XM-KL8scQB8y1wlOCZNaXE.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/vI/vidEGcw2IvnQuDUCJWa-9MG87z1zA_30L9NzzVZhPWk.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/va/vaoKLTYGLHne0QKH4QJZjtUSYTKWMpIT83VgVeV1_fs.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/vp/vpXStc2VTFJWy6rAuA9lbTLXEz2YxqsgLtx7Kg1Qe14.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/wF/wFVGkMJ0wGwAwSBHDTd22b3R6zCsvpOHXfVDdNpOSxw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/wj/wj2pEMeqS73098tu8FGXM5qWkQ3qxdrPxeOHYypions.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/wq/wqi8hbHyhhjFDnZiZzzAvpzJxSj2b0wsnPLp9CTFgGc.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/xI/xIG5pl58VKvsIX8ryyQh1FowgxdEAGypI0klYMiVJeo.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/yG/yGgJE8XGt2975Q1fHG9TfIuWv40au3QRmVfob7P1qkU.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/yO/yOeZoI5mixFBK-adbMt2isNXxjM-0iGPuMv1owgaUdI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/yS/ySNeoxoSHQZ4H0K7Bf9gQ1d20t8NIi30To1s9OL-haA.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/zI/zIbGJnyvo82IdqN3qeDlUhCkOWl-pQrNMkZNIdhRlkc.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/zM/zMmNV8qLYtC5Kc4wv-ahWM_JnjWAUPw6eFv37DtOtB0.cache +1 -0
- data/test/dummy/tmp/cache/brwy_rails/application.bundle.js +7 -0
- data/test/test_helper.rb +20 -0
- metadata +6994 -0
@@ -0,0 +1,3762 @@
|
|
1
|
+
/* pako 0.2.8 nodeca/pako */(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.pako = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
|
2
|
+
'use strict';
|
3
|
+
|
4
|
+
|
5
|
+
var TYPED_OK = (typeof Uint8Array !== 'undefined') &&
|
6
|
+
(typeof Uint16Array !== 'undefined') &&
|
7
|
+
(typeof Int32Array !== 'undefined');
|
8
|
+
|
9
|
+
|
10
|
+
exports.assign = function (obj /*from1, from2, from3, ...*/) {
|
11
|
+
var sources = Array.prototype.slice.call(arguments, 1);
|
12
|
+
while (sources.length) {
|
13
|
+
var source = sources.shift();
|
14
|
+
if (!source) { continue; }
|
15
|
+
|
16
|
+
if (typeof source !== 'object') {
|
17
|
+
throw new TypeError(source + 'must be non-object');
|
18
|
+
}
|
19
|
+
|
20
|
+
for (var p in source) {
|
21
|
+
if (source.hasOwnProperty(p)) {
|
22
|
+
obj[p] = source[p];
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
return obj;
|
28
|
+
};
|
29
|
+
|
30
|
+
|
31
|
+
// reduce buffer size, avoiding mem copy
|
32
|
+
exports.shrinkBuf = function (buf, size) {
|
33
|
+
if (buf.length === size) { return buf; }
|
34
|
+
if (buf.subarray) { return buf.subarray(0, size); }
|
35
|
+
buf.length = size;
|
36
|
+
return buf;
|
37
|
+
};
|
38
|
+
|
39
|
+
|
40
|
+
var fnTyped = {
|
41
|
+
arraySet: function (dest, src, src_offs, len, dest_offs) {
|
42
|
+
if (src.subarray && dest.subarray) {
|
43
|
+
dest.set(src.subarray(src_offs, src_offs+len), dest_offs);
|
44
|
+
return;
|
45
|
+
}
|
46
|
+
// Fallback to ordinary array
|
47
|
+
for (var i=0; i<len; i++) {
|
48
|
+
dest[dest_offs + i] = src[src_offs + i];
|
49
|
+
}
|
50
|
+
},
|
51
|
+
// Join array of chunks to single array.
|
52
|
+
flattenChunks: function(chunks) {
|
53
|
+
var i, l, len, pos, chunk, result;
|
54
|
+
|
55
|
+
// calculate data length
|
56
|
+
len = 0;
|
57
|
+
for (i=0, l=chunks.length; i<l; i++) {
|
58
|
+
len += chunks[i].length;
|
59
|
+
}
|
60
|
+
|
61
|
+
// join chunks
|
62
|
+
result = new Uint8Array(len);
|
63
|
+
pos = 0;
|
64
|
+
for (i=0, l=chunks.length; i<l; i++) {
|
65
|
+
chunk = chunks[i];
|
66
|
+
result.set(chunk, pos);
|
67
|
+
pos += chunk.length;
|
68
|
+
}
|
69
|
+
|
70
|
+
return result;
|
71
|
+
}
|
72
|
+
};
|
73
|
+
|
74
|
+
var fnUntyped = {
|
75
|
+
arraySet: function (dest, src, src_offs, len, dest_offs) {
|
76
|
+
for (var i=0; i<len; i++) {
|
77
|
+
dest[dest_offs + i] = src[src_offs + i];
|
78
|
+
}
|
79
|
+
},
|
80
|
+
// Join array of chunks to single array.
|
81
|
+
flattenChunks: function(chunks) {
|
82
|
+
return [].concat.apply([], chunks);
|
83
|
+
}
|
84
|
+
};
|
85
|
+
|
86
|
+
|
87
|
+
// Enable/Disable typed arrays use, for testing
|
88
|
+
//
|
89
|
+
exports.setTyped = function (on) {
|
90
|
+
if (on) {
|
91
|
+
exports.Buf8 = Uint8Array;
|
92
|
+
exports.Buf16 = Uint16Array;
|
93
|
+
exports.Buf32 = Int32Array;
|
94
|
+
exports.assign(exports, fnTyped);
|
95
|
+
} else {
|
96
|
+
exports.Buf8 = Array;
|
97
|
+
exports.Buf16 = Array;
|
98
|
+
exports.Buf32 = Array;
|
99
|
+
exports.assign(exports, fnUntyped);
|
100
|
+
}
|
101
|
+
};
|
102
|
+
|
103
|
+
exports.setTyped(TYPED_OK);
|
104
|
+
|
105
|
+
},{}],2:[function(require,module,exports){
|
106
|
+
// String encode/decode helpers
|
107
|
+
'use strict';
|
108
|
+
|
109
|
+
|
110
|
+
var utils = require('./common');
|
111
|
+
|
112
|
+
|
113
|
+
// Quick check if we can use fast array to bin string conversion
|
114
|
+
//
|
115
|
+
// - apply(Array) can fail on Android 2.2
|
116
|
+
// - apply(Uint8Array) can fail on iOS 5.1 Safary
|
117
|
+
//
|
118
|
+
var STR_APPLY_OK = true;
|
119
|
+
var STR_APPLY_UIA_OK = true;
|
120
|
+
|
121
|
+
try { String.fromCharCode.apply(null, [0]); } catch(__) { STR_APPLY_OK = false; }
|
122
|
+
try { String.fromCharCode.apply(null, new Uint8Array(1)); } catch(__) { STR_APPLY_UIA_OK = false; }
|
123
|
+
|
124
|
+
|
125
|
+
// Table with utf8 lengths (calculated by first byte of sequence)
|
126
|
+
// Note, that 5 & 6-byte values and some 4-byte values can not be represented in JS,
|
127
|
+
// because max possible codepoint is 0x10ffff
|
128
|
+
var _utf8len = new utils.Buf8(256);
|
129
|
+
for (var q=0; q<256; q++) {
|
130
|
+
_utf8len[q] = (q >= 252 ? 6 : q >= 248 ? 5 : q >= 240 ? 4 : q >= 224 ? 3 : q >= 192 ? 2 : 1);
|
131
|
+
}
|
132
|
+
_utf8len[254]=_utf8len[254]=1; // Invalid sequence start
|
133
|
+
|
134
|
+
|
135
|
+
// convert string to array (typed, when possible)
|
136
|
+
exports.string2buf = function (str) {
|
137
|
+
var buf, c, c2, m_pos, i, str_len = str.length, buf_len = 0;
|
138
|
+
|
139
|
+
// count binary size
|
140
|
+
for (m_pos = 0; m_pos < str_len; m_pos++) {
|
141
|
+
c = str.charCodeAt(m_pos);
|
142
|
+
if ((c & 0xfc00) === 0xd800 && (m_pos+1 < str_len)) {
|
143
|
+
c2 = str.charCodeAt(m_pos+1);
|
144
|
+
if ((c2 & 0xfc00) === 0xdc00) {
|
145
|
+
c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00);
|
146
|
+
m_pos++;
|
147
|
+
}
|
148
|
+
}
|
149
|
+
buf_len += c < 0x80 ? 1 : c < 0x800 ? 2 : c < 0x10000 ? 3 : 4;
|
150
|
+
}
|
151
|
+
|
152
|
+
// allocate buffer
|
153
|
+
buf = new utils.Buf8(buf_len);
|
154
|
+
|
155
|
+
// convert
|
156
|
+
for (i=0, m_pos = 0; i < buf_len; m_pos++) {
|
157
|
+
c = str.charCodeAt(m_pos);
|
158
|
+
if ((c & 0xfc00) === 0xd800 && (m_pos+1 < str_len)) {
|
159
|
+
c2 = str.charCodeAt(m_pos+1);
|
160
|
+
if ((c2 & 0xfc00) === 0xdc00) {
|
161
|
+
c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00);
|
162
|
+
m_pos++;
|
163
|
+
}
|
164
|
+
}
|
165
|
+
if (c < 0x80) {
|
166
|
+
/* one byte */
|
167
|
+
buf[i++] = c;
|
168
|
+
} else if (c < 0x800) {
|
169
|
+
/* two bytes */
|
170
|
+
buf[i++] = 0xC0 | (c >>> 6);
|
171
|
+
buf[i++] = 0x80 | (c & 0x3f);
|
172
|
+
} else if (c < 0x10000) {
|
173
|
+
/* three bytes */
|
174
|
+
buf[i++] = 0xE0 | (c >>> 12);
|
175
|
+
buf[i++] = 0x80 | (c >>> 6 & 0x3f);
|
176
|
+
buf[i++] = 0x80 | (c & 0x3f);
|
177
|
+
} else {
|
178
|
+
/* four bytes */
|
179
|
+
buf[i++] = 0xf0 | (c >>> 18);
|
180
|
+
buf[i++] = 0x80 | (c >>> 12 & 0x3f);
|
181
|
+
buf[i++] = 0x80 | (c >>> 6 & 0x3f);
|
182
|
+
buf[i++] = 0x80 | (c & 0x3f);
|
183
|
+
}
|
184
|
+
}
|
185
|
+
|
186
|
+
return buf;
|
187
|
+
};
|
188
|
+
|
189
|
+
// Helper (used in 2 places)
|
190
|
+
function buf2binstring(buf, len) {
|
191
|
+
// use fallback for big arrays to avoid stack overflow
|
192
|
+
if (len < 65537) {
|
193
|
+
if ((buf.subarray && STR_APPLY_UIA_OK) || (!buf.subarray && STR_APPLY_OK)) {
|
194
|
+
return String.fromCharCode.apply(null, utils.shrinkBuf(buf, len));
|
195
|
+
}
|
196
|
+
}
|
197
|
+
|
198
|
+
var result = '';
|
199
|
+
for (var i=0; i < len; i++) {
|
200
|
+
result += String.fromCharCode(buf[i]);
|
201
|
+
}
|
202
|
+
return result;
|
203
|
+
}
|
204
|
+
|
205
|
+
|
206
|
+
// Convert byte array to binary string
|
207
|
+
exports.buf2binstring = function(buf) {
|
208
|
+
return buf2binstring(buf, buf.length);
|
209
|
+
};
|
210
|
+
|
211
|
+
|
212
|
+
// Convert binary string (typed, when possible)
|
213
|
+
exports.binstring2buf = function(str) {
|
214
|
+
var buf = new utils.Buf8(str.length);
|
215
|
+
for (var i=0, len=buf.length; i < len; i++) {
|
216
|
+
buf[i] = str.charCodeAt(i);
|
217
|
+
}
|
218
|
+
return buf;
|
219
|
+
};
|
220
|
+
|
221
|
+
|
222
|
+
// convert array to string
|
223
|
+
exports.buf2string = function (buf, max) {
|
224
|
+
var i, out, c, c_len;
|
225
|
+
var len = max || buf.length;
|
226
|
+
|
227
|
+
// Reserve max possible length (2 words per char)
|
228
|
+
// NB: by unknown reasons, Array is significantly faster for
|
229
|
+
// String.fromCharCode.apply than Uint16Array.
|
230
|
+
var utf16buf = new Array(len*2);
|
231
|
+
|
232
|
+
for (out=0, i=0; i<len;) {
|
233
|
+
c = buf[i++];
|
234
|
+
// quick process ascii
|
235
|
+
if (c < 0x80) { utf16buf[out++] = c; continue; }
|
236
|
+
|
237
|
+
c_len = _utf8len[c];
|
238
|
+
// skip 5 & 6 byte codes
|
239
|
+
if (c_len > 4) { utf16buf[out++] = 0xfffd; i += c_len-1; continue; }
|
240
|
+
|
241
|
+
// apply mask on first byte
|
242
|
+
c &= c_len === 2 ? 0x1f : c_len === 3 ? 0x0f : 0x07;
|
243
|
+
// join the rest
|
244
|
+
while (c_len > 1 && i < len) {
|
245
|
+
c = (c << 6) | (buf[i++] & 0x3f);
|
246
|
+
c_len--;
|
247
|
+
}
|
248
|
+
|
249
|
+
// terminated by end of string?
|
250
|
+
if (c_len > 1) { utf16buf[out++] = 0xfffd; continue; }
|
251
|
+
|
252
|
+
if (c < 0x10000) {
|
253
|
+
utf16buf[out++] = c;
|
254
|
+
} else {
|
255
|
+
c -= 0x10000;
|
256
|
+
utf16buf[out++] = 0xd800 | ((c >> 10) & 0x3ff);
|
257
|
+
utf16buf[out++] = 0xdc00 | (c & 0x3ff);
|
258
|
+
}
|
259
|
+
}
|
260
|
+
|
261
|
+
return buf2binstring(utf16buf, out);
|
262
|
+
};
|
263
|
+
|
264
|
+
|
265
|
+
// Calculate max possible position in utf8 buffer,
|
266
|
+
// that will not break sequence. If that's not possible
|
267
|
+
// - (very small limits) return max size as is.
|
268
|
+
//
|
269
|
+
// buf[] - utf8 bytes array
|
270
|
+
// max - length limit (mandatory);
|
271
|
+
exports.utf8border = function(buf, max) {
|
272
|
+
var pos;
|
273
|
+
|
274
|
+
max = max || buf.length;
|
275
|
+
if (max > buf.length) { max = buf.length; }
|
276
|
+
|
277
|
+
// go back from last position, until start of sequence found
|
278
|
+
pos = max-1;
|
279
|
+
while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; }
|
280
|
+
|
281
|
+
// Fuckup - very small and broken sequence,
|
282
|
+
// return max, because we should return something anyway.
|
283
|
+
if (pos < 0) { return max; }
|
284
|
+
|
285
|
+
// If we came to start of buffer - that means vuffer is too small,
|
286
|
+
// return max too.
|
287
|
+
if (pos === 0) { return max; }
|
288
|
+
|
289
|
+
return (pos + _utf8len[buf[pos]] > max) ? pos : max;
|
290
|
+
};
|
291
|
+
|
292
|
+
},{"./common":1}],3:[function(require,module,exports){
|
293
|
+
'use strict';
|
294
|
+
|
295
|
+
// Note: adler32 takes 12% for level 0 and 2% for level 6.
|
296
|
+
// It doesn't worth to make additional optimizationa as in original.
|
297
|
+
// Small size is preferable.
|
298
|
+
|
299
|
+
function adler32(adler, buf, len, pos) {
|
300
|
+
var s1 = (adler & 0xffff) |0,
|
301
|
+
s2 = ((adler >>> 16) & 0xffff) |0,
|
302
|
+
n = 0;
|
303
|
+
|
304
|
+
while (len !== 0) {
|
305
|
+
// Set limit ~ twice less than 5552, to keep
|
306
|
+
// s2 in 31-bits, because we force signed ints.
|
307
|
+
// in other case %= will fail.
|
308
|
+
n = len > 2000 ? 2000 : len;
|
309
|
+
len -= n;
|
310
|
+
|
311
|
+
do {
|
312
|
+
s1 = (s1 + buf[pos++]) |0;
|
313
|
+
s2 = (s2 + s1) |0;
|
314
|
+
} while (--n);
|
315
|
+
|
316
|
+
s1 %= 65521;
|
317
|
+
s2 %= 65521;
|
318
|
+
}
|
319
|
+
|
320
|
+
return (s1 | (s2 << 16)) |0;
|
321
|
+
}
|
322
|
+
|
323
|
+
|
324
|
+
module.exports = adler32;
|
325
|
+
|
326
|
+
},{}],4:[function(require,module,exports){
|
327
|
+
'use strict';
|
328
|
+
|
329
|
+
// Note: we can't get significant speed boost here.
|
330
|
+
// So write code to minimize size - no pregenerated tables
|
331
|
+
// and array tools dependencies.
|
332
|
+
|
333
|
+
|
334
|
+
// Use ordinary array, since untyped makes no boost here
|
335
|
+
function makeTable() {
|
336
|
+
var c, table = [];
|
337
|
+
|
338
|
+
for (var n =0; n < 256; n++) {
|
339
|
+
c = n;
|
340
|
+
for (var k =0; k < 8; k++) {
|
341
|
+
c = ((c&1) ? (0xEDB88320 ^ (c >>> 1)) : (c >>> 1));
|
342
|
+
}
|
343
|
+
table[n] = c;
|
344
|
+
}
|
345
|
+
|
346
|
+
return table;
|
347
|
+
}
|
348
|
+
|
349
|
+
// Create table on load. Just 255 signed longs. Not a problem.
|
350
|
+
var crcTable = makeTable();
|
351
|
+
|
352
|
+
|
353
|
+
function crc32(crc, buf, len, pos) {
|
354
|
+
var t = crcTable,
|
355
|
+
end = pos + len;
|
356
|
+
|
357
|
+
crc = crc ^ (-1);
|
358
|
+
|
359
|
+
for (var i = pos; i < end; i++) {
|
360
|
+
crc = (crc >>> 8) ^ t[(crc ^ buf[i]) & 0xFF];
|
361
|
+
}
|
362
|
+
|
363
|
+
return (crc ^ (-1)); // >>> 0;
|
364
|
+
}
|
365
|
+
|
366
|
+
|
367
|
+
module.exports = crc32;
|
368
|
+
|
369
|
+
},{}],5:[function(require,module,exports){
|
370
|
+
'use strict';
|
371
|
+
|
372
|
+
var utils = require('../utils/common');
|
373
|
+
var trees = require('./trees');
|
374
|
+
var adler32 = require('./adler32');
|
375
|
+
var crc32 = require('./crc32');
|
376
|
+
var msg = require('./messages');
|
377
|
+
|
378
|
+
/* Public constants ==========================================================*/
|
379
|
+
/* ===========================================================================*/
|
380
|
+
|
381
|
+
|
382
|
+
/* Allowed flush values; see deflate() and inflate() below for details */
|
383
|
+
var Z_NO_FLUSH = 0;
|
384
|
+
var Z_PARTIAL_FLUSH = 1;
|
385
|
+
//var Z_SYNC_FLUSH = 2;
|
386
|
+
var Z_FULL_FLUSH = 3;
|
387
|
+
var Z_FINISH = 4;
|
388
|
+
var Z_BLOCK = 5;
|
389
|
+
//var Z_TREES = 6;
|
390
|
+
|
391
|
+
|
392
|
+
/* Return codes for the compression/decompression functions. Negative values
|
393
|
+
* are errors, positive values are used for special but normal events.
|
394
|
+
*/
|
395
|
+
var Z_OK = 0;
|
396
|
+
var Z_STREAM_END = 1;
|
397
|
+
//var Z_NEED_DICT = 2;
|
398
|
+
//var Z_ERRNO = -1;
|
399
|
+
var Z_STREAM_ERROR = -2;
|
400
|
+
var Z_DATA_ERROR = -3;
|
401
|
+
//var Z_MEM_ERROR = -4;
|
402
|
+
var Z_BUF_ERROR = -5;
|
403
|
+
//var Z_VERSION_ERROR = -6;
|
404
|
+
|
405
|
+
|
406
|
+
/* compression levels */
|
407
|
+
//var Z_NO_COMPRESSION = 0;
|
408
|
+
//var Z_BEST_SPEED = 1;
|
409
|
+
//var Z_BEST_COMPRESSION = 9;
|
410
|
+
var Z_DEFAULT_COMPRESSION = -1;
|
411
|
+
|
412
|
+
|
413
|
+
var Z_FILTERED = 1;
|
414
|
+
var Z_HUFFMAN_ONLY = 2;
|
415
|
+
var Z_RLE = 3;
|
416
|
+
var Z_FIXED = 4;
|
417
|
+
var Z_DEFAULT_STRATEGY = 0;
|
418
|
+
|
419
|
+
/* Possible values of the data_type field (though see inflate()) */
|
420
|
+
//var Z_BINARY = 0;
|
421
|
+
//var Z_TEXT = 1;
|
422
|
+
//var Z_ASCII = 1; // = Z_TEXT
|
423
|
+
var Z_UNKNOWN = 2;
|
424
|
+
|
425
|
+
|
426
|
+
/* The deflate compression method */
|
427
|
+
var Z_DEFLATED = 8;
|
428
|
+
|
429
|
+
/*============================================================================*/
|
430
|
+
|
431
|
+
|
432
|
+
var MAX_MEM_LEVEL = 9;
|
433
|
+
/* Maximum value for memLevel in deflateInit2 */
|
434
|
+
var MAX_WBITS = 15;
|
435
|
+
/* 32K LZ77 window */
|
436
|
+
var DEF_MEM_LEVEL = 8;
|
437
|
+
|
438
|
+
|
439
|
+
var LENGTH_CODES = 29;
|
440
|
+
/* number of length codes, not counting the special END_BLOCK code */
|
441
|
+
var LITERALS = 256;
|
442
|
+
/* number of literal bytes 0..255 */
|
443
|
+
var L_CODES = LITERALS + 1 + LENGTH_CODES;
|
444
|
+
/* number of Literal or Length codes, including the END_BLOCK code */
|
445
|
+
var D_CODES = 30;
|
446
|
+
/* number of distance codes */
|
447
|
+
var BL_CODES = 19;
|
448
|
+
/* number of codes used to transfer the bit lengths */
|
449
|
+
var HEAP_SIZE = 2*L_CODES + 1;
|
450
|
+
/* maximum heap size */
|
451
|
+
var MAX_BITS = 15;
|
452
|
+
/* All codes must not exceed MAX_BITS bits */
|
453
|
+
|
454
|
+
var MIN_MATCH = 3;
|
455
|
+
var MAX_MATCH = 258;
|
456
|
+
var MIN_LOOKAHEAD = (MAX_MATCH + MIN_MATCH + 1);
|
457
|
+
|
458
|
+
var PRESET_DICT = 0x20;
|
459
|
+
|
460
|
+
var INIT_STATE = 42;
|
461
|
+
var EXTRA_STATE = 69;
|
462
|
+
var NAME_STATE = 73;
|
463
|
+
var COMMENT_STATE = 91;
|
464
|
+
var HCRC_STATE = 103;
|
465
|
+
var BUSY_STATE = 113;
|
466
|
+
var FINISH_STATE = 666;
|
467
|
+
|
468
|
+
var BS_NEED_MORE = 1; /* block not completed, need more input or more output */
|
469
|
+
var BS_BLOCK_DONE = 2; /* block flush performed */
|
470
|
+
var BS_FINISH_STARTED = 3; /* finish started, need only more output at next deflate */
|
471
|
+
var BS_FINISH_DONE = 4; /* finish done, accept no more input or output */
|
472
|
+
|
473
|
+
var OS_CODE = 0x03; // Unix :) . Don't detect, use this default.
|
474
|
+
|
475
|
+
function err(strm, errorCode) {
|
476
|
+
strm.msg = msg[errorCode];
|
477
|
+
return errorCode;
|
478
|
+
}
|
479
|
+
|
480
|
+
function rank(f) {
|
481
|
+
return ((f) << 1) - ((f) > 4 ? 9 : 0);
|
482
|
+
}
|
483
|
+
|
484
|
+
function zero(buf) { var len = buf.length; while (--len >= 0) { buf[len] = 0; } }
|
485
|
+
|
486
|
+
|
487
|
+
/* =========================================================================
|
488
|
+
* Flush as much pending output as possible. All deflate() output goes
|
489
|
+
* through this function so some applications may wish to modify it
|
490
|
+
* to avoid allocating a large strm->output buffer and copying into it.
|
491
|
+
* (See also read_buf()).
|
492
|
+
*/
|
493
|
+
function flush_pending(strm) {
|
494
|
+
var s = strm.state;
|
495
|
+
|
496
|
+
//_tr_flush_bits(s);
|
497
|
+
var len = s.pending;
|
498
|
+
if (len > strm.avail_out) {
|
499
|
+
len = strm.avail_out;
|
500
|
+
}
|
501
|
+
if (len === 0) { return; }
|
502
|
+
|
503
|
+
utils.arraySet(strm.output, s.pending_buf, s.pending_out, len, strm.next_out);
|
504
|
+
strm.next_out += len;
|
505
|
+
s.pending_out += len;
|
506
|
+
strm.total_out += len;
|
507
|
+
strm.avail_out -= len;
|
508
|
+
s.pending -= len;
|
509
|
+
if (s.pending === 0) {
|
510
|
+
s.pending_out = 0;
|
511
|
+
}
|
512
|
+
}
|
513
|
+
|
514
|
+
|
515
|
+
function flush_block_only (s, last) {
|
516
|
+
trees._tr_flush_block(s, (s.block_start >= 0 ? s.block_start : -1), s.strstart - s.block_start, last);
|
517
|
+
s.block_start = s.strstart;
|
518
|
+
flush_pending(s.strm);
|
519
|
+
}
|
520
|
+
|
521
|
+
|
522
|
+
function put_byte(s, b) {
|
523
|
+
s.pending_buf[s.pending++] = b;
|
524
|
+
}
|
525
|
+
|
526
|
+
|
527
|
+
/* =========================================================================
|
528
|
+
* Put a short in the pending buffer. The 16-bit value is put in MSB order.
|
529
|
+
* IN assertion: the stream state is correct and there is enough room in
|
530
|
+
* pending_buf.
|
531
|
+
*/
|
532
|
+
function putShortMSB(s, b) {
|
533
|
+
// put_byte(s, (Byte)(b >> 8));
|
534
|
+
// put_byte(s, (Byte)(b & 0xff));
|
535
|
+
s.pending_buf[s.pending++] = (b >>> 8) & 0xff;
|
536
|
+
s.pending_buf[s.pending++] = b & 0xff;
|
537
|
+
}
|
538
|
+
|
539
|
+
|
540
|
+
/* ===========================================================================
|
541
|
+
* Read a new buffer from the current input stream, update the adler32
|
542
|
+
* and total number of bytes read. All deflate() input goes through
|
543
|
+
* this function so some applications may wish to modify it to avoid
|
544
|
+
* allocating a large strm->input buffer and copying from it.
|
545
|
+
* (See also flush_pending()).
|
546
|
+
*/
|
547
|
+
function read_buf(strm, buf, start, size) {
|
548
|
+
var len = strm.avail_in;
|
549
|
+
|
550
|
+
if (len > size) { len = size; }
|
551
|
+
if (len === 0) { return 0; }
|
552
|
+
|
553
|
+
strm.avail_in -= len;
|
554
|
+
|
555
|
+
utils.arraySet(buf, strm.input, strm.next_in, len, start);
|
556
|
+
if (strm.state.wrap === 1) {
|
557
|
+
strm.adler = adler32(strm.adler, buf, len, start);
|
558
|
+
}
|
559
|
+
|
560
|
+
else if (strm.state.wrap === 2) {
|
561
|
+
strm.adler = crc32(strm.adler, buf, len, start);
|
562
|
+
}
|
563
|
+
|
564
|
+
strm.next_in += len;
|
565
|
+
strm.total_in += len;
|
566
|
+
|
567
|
+
return len;
|
568
|
+
}
|
569
|
+
|
570
|
+
|
571
|
+
/* ===========================================================================
|
572
|
+
* Set match_start to the longest match starting at the given string and
|
573
|
+
* return its length. Matches shorter or equal to prev_length are discarded,
|
574
|
+
* in which case the result is equal to prev_length and match_start is
|
575
|
+
* garbage.
|
576
|
+
* IN assertions: cur_match is the head of the hash chain for the current
|
577
|
+
* string (strstart) and its distance is <= MAX_DIST, and prev_length >= 1
|
578
|
+
* OUT assertion: the match length is not greater than s->lookahead.
|
579
|
+
*/
|
580
|
+
function longest_match(s, cur_match) {
|
581
|
+
var chain_length = s.max_chain_length; /* max hash chain length */
|
582
|
+
var scan = s.strstart; /* current string */
|
583
|
+
var match; /* matched string */
|
584
|
+
var len; /* length of current match */
|
585
|
+
var best_len = s.prev_length; /* best match length so far */
|
586
|
+
var nice_match = s.nice_match; /* stop if match long enough */
|
587
|
+
var limit = (s.strstart > (s.w_size - MIN_LOOKAHEAD)) ?
|
588
|
+
s.strstart - (s.w_size - MIN_LOOKAHEAD) : 0/*NIL*/;
|
589
|
+
|
590
|
+
var _win = s.window; // shortcut
|
591
|
+
|
592
|
+
var wmask = s.w_mask;
|
593
|
+
var prev = s.prev;
|
594
|
+
|
595
|
+
/* Stop when cur_match becomes <= limit. To simplify the code,
|
596
|
+
* we prevent matches with the string of window index 0.
|
597
|
+
*/
|
598
|
+
|
599
|
+
var strend = s.strstart + MAX_MATCH;
|
600
|
+
var scan_end1 = _win[scan + best_len - 1];
|
601
|
+
var scan_end = _win[scan + best_len];
|
602
|
+
|
603
|
+
/* The code is optimized for HASH_BITS >= 8 and MAX_MATCH-2 multiple of 16.
|
604
|
+
* It is easy to get rid of this optimization if necessary.
|
605
|
+
*/
|
606
|
+
// Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
|
607
|
+
|
608
|
+
/* Do not waste too much time if we already have a good match: */
|
609
|
+
if (s.prev_length >= s.good_match) {
|
610
|
+
chain_length >>= 2;
|
611
|
+
}
|
612
|
+
/* Do not look for matches beyond the end of the input. This is necessary
|
613
|
+
* to make deflate deterministic.
|
614
|
+
*/
|
615
|
+
if (nice_match > s.lookahead) { nice_match = s.lookahead; }
|
616
|
+
|
617
|
+
// Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
|
618
|
+
|
619
|
+
do {
|
620
|
+
// Assert(cur_match < s->strstart, "no future");
|
621
|
+
match = cur_match;
|
622
|
+
|
623
|
+
/* Skip to next match if the match length cannot increase
|
624
|
+
* or if the match length is less than 2. Note that the checks below
|
625
|
+
* for insufficient lookahead only occur occasionally for performance
|
626
|
+
* reasons. Therefore uninitialized memory will be accessed, and
|
627
|
+
* conditional jumps will be made that depend on those values.
|
628
|
+
* However the length of the match is limited to the lookahead, so
|
629
|
+
* the output of deflate is not affected by the uninitialized values.
|
630
|
+
*/
|
631
|
+
|
632
|
+
if (_win[match + best_len] !== scan_end ||
|
633
|
+
_win[match + best_len - 1] !== scan_end1 ||
|
634
|
+
_win[match] !== _win[scan] ||
|
635
|
+
_win[++match] !== _win[scan + 1]) {
|
636
|
+
continue;
|
637
|
+
}
|
638
|
+
|
639
|
+
/* The check at best_len-1 can be removed because it will be made
|
640
|
+
* again later. (This heuristic is not always a win.)
|
641
|
+
* It is not necessary to compare scan[2] and match[2] since they
|
642
|
+
* are always equal when the other bytes match, given that
|
643
|
+
* the hash keys are equal and that HASH_BITS >= 8.
|
644
|
+
*/
|
645
|
+
scan += 2;
|
646
|
+
match++;
|
647
|
+
// Assert(*scan == *match, "match[2]?");
|
648
|
+
|
649
|
+
/* We check for insufficient lookahead only every 8th comparison;
|
650
|
+
* the 256th check will be made at strstart+258.
|
651
|
+
*/
|
652
|
+
do {
|
653
|
+
/*jshint noempty:false*/
|
654
|
+
} while (_win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&
|
655
|
+
_win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&
|
656
|
+
_win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&
|
657
|
+
_win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&
|
658
|
+
scan < strend);
|
659
|
+
|
660
|
+
// Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
|
661
|
+
|
662
|
+
len = MAX_MATCH - (strend - scan);
|
663
|
+
scan = strend - MAX_MATCH;
|
664
|
+
|
665
|
+
if (len > best_len) {
|
666
|
+
s.match_start = cur_match;
|
667
|
+
best_len = len;
|
668
|
+
if (len >= nice_match) {
|
669
|
+
break;
|
670
|
+
}
|
671
|
+
scan_end1 = _win[scan + best_len - 1];
|
672
|
+
scan_end = _win[scan + best_len];
|
673
|
+
}
|
674
|
+
} while ((cur_match = prev[cur_match & wmask]) > limit && --chain_length !== 0);
|
675
|
+
|
676
|
+
if (best_len <= s.lookahead) {
|
677
|
+
return best_len;
|
678
|
+
}
|
679
|
+
return s.lookahead;
|
680
|
+
}
|
681
|
+
|
682
|
+
|
683
|
+
/* ===========================================================================
|
684
|
+
* Fill the window when the lookahead becomes insufficient.
|
685
|
+
* Updates strstart and lookahead.
|
686
|
+
*
|
687
|
+
* IN assertion: lookahead < MIN_LOOKAHEAD
|
688
|
+
* OUT assertions: strstart <= window_size-MIN_LOOKAHEAD
|
689
|
+
* At least one byte has been read, or avail_in == 0; reads are
|
690
|
+
* performed for at least two bytes (required for the zip translate_eol
|
691
|
+
* option -- not supported here).
|
692
|
+
*/
|
693
|
+
function fill_window(s) {
|
694
|
+
var _w_size = s.w_size;
|
695
|
+
var p, n, m, more, str;
|
696
|
+
|
697
|
+
//Assert(s->lookahead < MIN_LOOKAHEAD, "already enough lookahead");
|
698
|
+
|
699
|
+
do {
|
700
|
+
more = s.window_size - s.lookahead - s.strstart;
|
701
|
+
|
702
|
+
// JS ints have 32 bit, block below not needed
|
703
|
+
/* Deal with !@#$% 64K limit: */
|
704
|
+
//if (sizeof(int) <= 2) {
|
705
|
+
// if (more == 0 && s->strstart == 0 && s->lookahead == 0) {
|
706
|
+
// more = wsize;
|
707
|
+
//
|
708
|
+
// } else if (more == (unsigned)(-1)) {
|
709
|
+
// /* Very unlikely, but possible on 16 bit machine if
|
710
|
+
// * strstart == 0 && lookahead == 1 (input done a byte at time)
|
711
|
+
// */
|
712
|
+
// more--;
|
713
|
+
// }
|
714
|
+
//}
|
715
|
+
|
716
|
+
|
717
|
+
/* If the window is almost full and there is insufficient lookahead,
|
718
|
+
* move the upper half to the lower one to make room in the upper half.
|
719
|
+
*/
|
720
|
+
if (s.strstart >= _w_size + (_w_size - MIN_LOOKAHEAD)) {
|
721
|
+
|
722
|
+
utils.arraySet(s.window, s.window, _w_size, _w_size, 0);
|
723
|
+
s.match_start -= _w_size;
|
724
|
+
s.strstart -= _w_size;
|
725
|
+
/* we now have strstart >= MAX_DIST */
|
726
|
+
s.block_start -= _w_size;
|
727
|
+
|
728
|
+
/* Slide the hash table (could be avoided with 32 bit values
|
729
|
+
at the expense of memory usage). We slide even when level == 0
|
730
|
+
to keep the hash table consistent if we switch back to level > 0
|
731
|
+
later. (Using level 0 permanently is not an optimal usage of
|
732
|
+
zlib, so we don't care about this pathological case.)
|
733
|
+
*/
|
734
|
+
|
735
|
+
n = s.hash_size;
|
736
|
+
p = n;
|
737
|
+
do {
|
738
|
+
m = s.head[--p];
|
739
|
+
s.head[p] = (m >= _w_size ? m - _w_size : 0);
|
740
|
+
} while (--n);
|
741
|
+
|
742
|
+
n = _w_size;
|
743
|
+
p = n;
|
744
|
+
do {
|
745
|
+
m = s.prev[--p];
|
746
|
+
s.prev[p] = (m >= _w_size ? m - _w_size : 0);
|
747
|
+
/* If n is not on any hash chain, prev[n] is garbage but
|
748
|
+
* its value will never be used.
|
749
|
+
*/
|
750
|
+
} while (--n);
|
751
|
+
|
752
|
+
more += _w_size;
|
753
|
+
}
|
754
|
+
if (s.strm.avail_in === 0) {
|
755
|
+
break;
|
756
|
+
}
|
757
|
+
|
758
|
+
/* If there was no sliding:
|
759
|
+
* strstart <= WSIZE+MAX_DIST-1 && lookahead <= MIN_LOOKAHEAD - 1 &&
|
760
|
+
* more == window_size - lookahead - strstart
|
761
|
+
* => more >= window_size - (MIN_LOOKAHEAD-1 + WSIZE + MAX_DIST-1)
|
762
|
+
* => more >= window_size - 2*WSIZE + 2
|
763
|
+
* In the BIG_MEM or MMAP case (not yet supported),
|
764
|
+
* window_size == input_size + MIN_LOOKAHEAD &&
|
765
|
+
* strstart + s->lookahead <= input_size => more >= MIN_LOOKAHEAD.
|
766
|
+
* Otherwise, window_size == 2*WSIZE so more >= 2.
|
767
|
+
* If there was sliding, more >= WSIZE. So in all cases, more >= 2.
|
768
|
+
*/
|
769
|
+
//Assert(more >= 2, "more < 2");
|
770
|
+
n = read_buf(s.strm, s.window, s.strstart + s.lookahead, more);
|
771
|
+
s.lookahead += n;
|
772
|
+
|
773
|
+
/* Initialize the hash value now that we have some input: */
|
774
|
+
if (s.lookahead + s.insert >= MIN_MATCH) {
|
775
|
+
str = s.strstart - s.insert;
|
776
|
+
s.ins_h = s.window[str];
|
777
|
+
|
778
|
+
/* UPDATE_HASH(s, s->ins_h, s->window[str + 1]); */
|
779
|
+
s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[str + 1]) & s.hash_mask;
|
780
|
+
//#if MIN_MATCH != 3
|
781
|
+
// Call update_hash() MIN_MATCH-3 more times
|
782
|
+
//#endif
|
783
|
+
while (s.insert) {
|
784
|
+
/* UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); */
|
785
|
+
s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[str + MIN_MATCH-1]) & s.hash_mask;
|
786
|
+
|
787
|
+
s.prev[str & s.w_mask] = s.head[s.ins_h];
|
788
|
+
s.head[s.ins_h] = str;
|
789
|
+
str++;
|
790
|
+
s.insert--;
|
791
|
+
if (s.lookahead + s.insert < MIN_MATCH) {
|
792
|
+
break;
|
793
|
+
}
|
794
|
+
}
|
795
|
+
}
|
796
|
+
/* If the whole input has less than MIN_MATCH bytes, ins_h is garbage,
|
797
|
+
* but this is not important since only literal bytes will be emitted.
|
798
|
+
*/
|
799
|
+
|
800
|
+
} while (s.lookahead < MIN_LOOKAHEAD && s.strm.avail_in !== 0);
|
801
|
+
|
802
|
+
/* If the WIN_INIT bytes after the end of the current data have never been
|
803
|
+
* written, then zero those bytes in order to avoid memory check reports of
|
804
|
+
* the use of uninitialized (or uninitialised as Julian writes) bytes by
|
805
|
+
* the longest match routines. Update the high water mark for the next
|
806
|
+
* time through here. WIN_INIT is set to MAX_MATCH since the longest match
|
807
|
+
* routines allow scanning to strstart + MAX_MATCH, ignoring lookahead.
|
808
|
+
*/
|
809
|
+
// if (s.high_water < s.window_size) {
|
810
|
+
// var curr = s.strstart + s.lookahead;
|
811
|
+
// var init = 0;
|
812
|
+
//
|
813
|
+
// if (s.high_water < curr) {
|
814
|
+
// /* Previous high water mark below current data -- zero WIN_INIT
|
815
|
+
// * bytes or up to end of window, whichever is less.
|
816
|
+
// */
|
817
|
+
// init = s.window_size - curr;
|
818
|
+
// if (init > WIN_INIT)
|
819
|
+
// init = WIN_INIT;
|
820
|
+
// zmemzero(s->window + curr, (unsigned)init);
|
821
|
+
// s->high_water = curr + init;
|
822
|
+
// }
|
823
|
+
// else if (s->high_water < (ulg)curr + WIN_INIT) {
|
824
|
+
// /* High water mark at or above current data, but below current data
|
825
|
+
// * plus WIN_INIT -- zero out to current data plus WIN_INIT, or up
|
826
|
+
// * to end of window, whichever is less.
|
827
|
+
// */
|
828
|
+
// init = (ulg)curr + WIN_INIT - s->high_water;
|
829
|
+
// if (init > s->window_size - s->high_water)
|
830
|
+
// init = s->window_size - s->high_water;
|
831
|
+
// zmemzero(s->window + s->high_water, (unsigned)init);
|
832
|
+
// s->high_water += init;
|
833
|
+
// }
|
834
|
+
// }
|
835
|
+
//
|
836
|
+
// Assert((ulg)s->strstart <= s->window_size - MIN_LOOKAHEAD,
|
837
|
+
// "not enough room for search");
|
838
|
+
}
|
839
|
+
|
840
|
+
/* ===========================================================================
|
841
|
+
* Copy without compression as much as possible from the input stream, return
|
842
|
+
* the current block state.
|
843
|
+
* This function does not insert new strings in the dictionary since
|
844
|
+
* uncompressible data is probably not useful. This function is used
|
845
|
+
* only for the level=0 compression option.
|
846
|
+
* NOTE: this function should be optimized to avoid extra copying from
|
847
|
+
* window to pending_buf.
|
848
|
+
*/
|
849
|
+
function deflate_stored(s, flush) {
|
850
|
+
/* Stored blocks are limited to 0xffff bytes, pending_buf is limited
|
851
|
+
* to pending_buf_size, and each stored block has a 5 byte header:
|
852
|
+
*/
|
853
|
+
var max_block_size = 0xffff;
|
854
|
+
|
855
|
+
if (max_block_size > s.pending_buf_size - 5) {
|
856
|
+
max_block_size = s.pending_buf_size - 5;
|
857
|
+
}
|
858
|
+
|
859
|
+
/* Copy as much as possible from input to output: */
|
860
|
+
for (;;) {
|
861
|
+
/* Fill the window as much as possible: */
|
862
|
+
if (s.lookahead <= 1) {
|
863
|
+
|
864
|
+
//Assert(s->strstart < s->w_size+MAX_DIST(s) ||
|
865
|
+
// s->block_start >= (long)s->w_size, "slide too late");
|
866
|
+
// if (!(s.strstart < s.w_size + (s.w_size - MIN_LOOKAHEAD) ||
|
867
|
+
// s.block_start >= s.w_size)) {
|
868
|
+
// throw new Error("slide too late");
|
869
|
+
// }
|
870
|
+
|
871
|
+
fill_window(s);
|
872
|
+
if (s.lookahead === 0 && flush === Z_NO_FLUSH) {
|
873
|
+
return BS_NEED_MORE;
|
874
|
+
}
|
875
|
+
|
876
|
+
if (s.lookahead === 0) {
|
877
|
+
break;
|
878
|
+
}
|
879
|
+
/* flush the current block */
|
880
|
+
}
|
881
|
+
//Assert(s->block_start >= 0L, "block gone");
|
882
|
+
// if (s.block_start < 0) throw new Error("block gone");
|
883
|
+
|
884
|
+
s.strstart += s.lookahead;
|
885
|
+
s.lookahead = 0;
|
886
|
+
|
887
|
+
/* Emit a stored block if pending_buf will be full: */
|
888
|
+
var max_start = s.block_start + max_block_size;
|
889
|
+
|
890
|
+
if (s.strstart === 0 || s.strstart >= max_start) {
|
891
|
+
/* strstart == 0 is possible when wraparound on 16-bit machine */
|
892
|
+
s.lookahead = s.strstart - max_start;
|
893
|
+
s.strstart = max_start;
|
894
|
+
/*** FLUSH_BLOCK(s, 0); ***/
|
895
|
+
flush_block_only(s, false);
|
896
|
+
if (s.strm.avail_out === 0) {
|
897
|
+
return BS_NEED_MORE;
|
898
|
+
}
|
899
|
+
/***/
|
900
|
+
|
901
|
+
|
902
|
+
}
|
903
|
+
/* Flush if we may have to slide, otherwise block_start may become
|
904
|
+
* negative and the data will be gone:
|
905
|
+
*/
|
906
|
+
if (s.strstart - s.block_start >= (s.w_size - MIN_LOOKAHEAD)) {
|
907
|
+
/*** FLUSH_BLOCK(s, 0); ***/
|
908
|
+
flush_block_only(s, false);
|
909
|
+
if (s.strm.avail_out === 0) {
|
910
|
+
return BS_NEED_MORE;
|
911
|
+
}
|
912
|
+
/***/
|
913
|
+
}
|
914
|
+
}
|
915
|
+
|
916
|
+
s.insert = 0;
|
917
|
+
|
918
|
+
if (flush === Z_FINISH) {
|
919
|
+
/*** FLUSH_BLOCK(s, 1); ***/
|
920
|
+
flush_block_only(s, true);
|
921
|
+
if (s.strm.avail_out === 0) {
|
922
|
+
return BS_FINISH_STARTED;
|
923
|
+
}
|
924
|
+
/***/
|
925
|
+
return BS_FINISH_DONE;
|
926
|
+
}
|
927
|
+
|
928
|
+
if (s.strstart > s.block_start) {
|
929
|
+
/*** FLUSH_BLOCK(s, 0); ***/
|
930
|
+
flush_block_only(s, false);
|
931
|
+
if (s.strm.avail_out === 0) {
|
932
|
+
return BS_NEED_MORE;
|
933
|
+
}
|
934
|
+
/***/
|
935
|
+
}
|
936
|
+
|
937
|
+
return BS_NEED_MORE;
|
938
|
+
}
|
939
|
+
|
940
|
+
/* ===========================================================================
|
941
|
+
* Compress as much as possible from the input stream, return the current
|
942
|
+
* block state.
|
943
|
+
* This function does not perform lazy evaluation of matches and inserts
|
944
|
+
* new strings in the dictionary only for unmatched strings or for short
|
945
|
+
* matches. It is used only for the fast compression options.
|
946
|
+
*/
|
947
|
+
function deflate_fast(s, flush) {
|
948
|
+
var hash_head; /* head of the hash chain */
|
949
|
+
var bflush; /* set if current block must be flushed */
|
950
|
+
|
951
|
+
for (;;) {
|
952
|
+
/* Make sure that we always have enough lookahead, except
|
953
|
+
* at the end of the input file. We need MAX_MATCH bytes
|
954
|
+
* for the next match, plus MIN_MATCH bytes to insert the
|
955
|
+
* string following the next match.
|
956
|
+
*/
|
957
|
+
if (s.lookahead < MIN_LOOKAHEAD) {
|
958
|
+
fill_window(s);
|
959
|
+
if (s.lookahead < MIN_LOOKAHEAD && flush === Z_NO_FLUSH) {
|
960
|
+
return BS_NEED_MORE;
|
961
|
+
}
|
962
|
+
if (s.lookahead === 0) {
|
963
|
+
break; /* flush the current block */
|
964
|
+
}
|
965
|
+
}
|
966
|
+
|
967
|
+
/* Insert the string window[strstart .. strstart+2] in the
|
968
|
+
* dictionary, and set hash_head to the head of the hash chain:
|
969
|
+
*/
|
970
|
+
hash_head = 0/*NIL*/;
|
971
|
+
if (s.lookahead >= MIN_MATCH) {
|
972
|
+
/*** INSERT_STRING(s, s.strstart, hash_head); ***/
|
973
|
+
s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + MIN_MATCH - 1]) & s.hash_mask;
|
974
|
+
hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
|
975
|
+
s.head[s.ins_h] = s.strstart;
|
976
|
+
/***/
|
977
|
+
}
|
978
|
+
|
979
|
+
/* Find the longest match, discarding those <= prev_length.
|
980
|
+
* At this point we have always match_length < MIN_MATCH
|
981
|
+
*/
|
982
|
+
if (hash_head !== 0/*NIL*/ && ((s.strstart - hash_head) <= (s.w_size - MIN_LOOKAHEAD))) {
|
983
|
+
/* To simplify the code, we prevent matches with the string
|
984
|
+
* of window index 0 (in particular we have to avoid a match
|
985
|
+
* of the string with itself at the start of the input file).
|
986
|
+
*/
|
987
|
+
s.match_length = longest_match(s, hash_head);
|
988
|
+
/* longest_match() sets match_start */
|
989
|
+
}
|
990
|
+
if (s.match_length >= MIN_MATCH) {
|
991
|
+
// check_match(s, s.strstart, s.match_start, s.match_length); // for debug only
|
992
|
+
|
993
|
+
/*** _tr_tally_dist(s, s.strstart - s.match_start,
|
994
|
+
s.match_length - MIN_MATCH, bflush); ***/
|
995
|
+
bflush = trees._tr_tally(s, s.strstart - s.match_start, s.match_length - MIN_MATCH);
|
996
|
+
|
997
|
+
s.lookahead -= s.match_length;
|
998
|
+
|
999
|
+
/* Insert new strings in the hash table only if the match length
|
1000
|
+
* is not too large. This saves time but degrades compression.
|
1001
|
+
*/
|
1002
|
+
if (s.match_length <= s.max_lazy_match/*max_insert_length*/ && s.lookahead >= MIN_MATCH) {
|
1003
|
+
s.match_length--; /* string at strstart already in table */
|
1004
|
+
do {
|
1005
|
+
s.strstart++;
|
1006
|
+
/*** INSERT_STRING(s, s.strstart, hash_head); ***/
|
1007
|
+
s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + MIN_MATCH - 1]) & s.hash_mask;
|
1008
|
+
hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
|
1009
|
+
s.head[s.ins_h] = s.strstart;
|
1010
|
+
/***/
|
1011
|
+
/* strstart never exceeds WSIZE-MAX_MATCH, so there are
|
1012
|
+
* always MIN_MATCH bytes ahead.
|
1013
|
+
*/
|
1014
|
+
} while (--s.match_length !== 0);
|
1015
|
+
s.strstart++;
|
1016
|
+
} else
|
1017
|
+
{
|
1018
|
+
s.strstart += s.match_length;
|
1019
|
+
s.match_length = 0;
|
1020
|
+
s.ins_h = s.window[s.strstart];
|
1021
|
+
/* UPDATE_HASH(s, s.ins_h, s.window[s.strstart+1]); */
|
1022
|
+
s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + 1]) & s.hash_mask;
|
1023
|
+
|
1024
|
+
//#if MIN_MATCH != 3
|
1025
|
+
// Call UPDATE_HASH() MIN_MATCH-3 more times
|
1026
|
+
//#endif
|
1027
|
+
/* If lookahead < MIN_MATCH, ins_h is garbage, but it does not
|
1028
|
+
* matter since it will be recomputed at next deflate call.
|
1029
|
+
*/
|
1030
|
+
}
|
1031
|
+
} else {
|
1032
|
+
/* No match, output a literal byte */
|
1033
|
+
//Tracevv((stderr,"%c", s.window[s.strstart]));
|
1034
|
+
/*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/
|
1035
|
+
bflush = trees._tr_tally(s, 0, s.window[s.strstart]);
|
1036
|
+
|
1037
|
+
s.lookahead--;
|
1038
|
+
s.strstart++;
|
1039
|
+
}
|
1040
|
+
if (bflush) {
|
1041
|
+
/*** FLUSH_BLOCK(s, 0); ***/
|
1042
|
+
flush_block_only(s, false);
|
1043
|
+
if (s.strm.avail_out === 0) {
|
1044
|
+
return BS_NEED_MORE;
|
1045
|
+
}
|
1046
|
+
/***/
|
1047
|
+
}
|
1048
|
+
}
|
1049
|
+
s.insert = ((s.strstart < (MIN_MATCH-1)) ? s.strstart : MIN_MATCH-1);
|
1050
|
+
if (flush === Z_FINISH) {
|
1051
|
+
/*** FLUSH_BLOCK(s, 1); ***/
|
1052
|
+
flush_block_only(s, true);
|
1053
|
+
if (s.strm.avail_out === 0) {
|
1054
|
+
return BS_FINISH_STARTED;
|
1055
|
+
}
|
1056
|
+
/***/
|
1057
|
+
return BS_FINISH_DONE;
|
1058
|
+
}
|
1059
|
+
if (s.last_lit) {
|
1060
|
+
/*** FLUSH_BLOCK(s, 0); ***/
|
1061
|
+
flush_block_only(s, false);
|
1062
|
+
if (s.strm.avail_out === 0) {
|
1063
|
+
return BS_NEED_MORE;
|
1064
|
+
}
|
1065
|
+
/***/
|
1066
|
+
}
|
1067
|
+
return BS_BLOCK_DONE;
|
1068
|
+
}
|
1069
|
+
|
1070
|
+
/* ===========================================================================
|
1071
|
+
* Same as above, but achieves better compression. We use a lazy
|
1072
|
+
* evaluation for matches: a match is finally adopted only if there is
|
1073
|
+
* no better match at the next window position.
|
1074
|
+
*/
|
1075
|
+
function deflate_slow(s, flush) {
|
1076
|
+
var hash_head; /* head of hash chain */
|
1077
|
+
var bflush; /* set if current block must be flushed */
|
1078
|
+
|
1079
|
+
var max_insert;
|
1080
|
+
|
1081
|
+
/* Process the input block. */
|
1082
|
+
for (;;) {
|
1083
|
+
/* Make sure that we always have enough lookahead, except
|
1084
|
+
* at the end of the input file. We need MAX_MATCH bytes
|
1085
|
+
* for the next match, plus MIN_MATCH bytes to insert the
|
1086
|
+
* string following the next match.
|
1087
|
+
*/
|
1088
|
+
if (s.lookahead < MIN_LOOKAHEAD) {
|
1089
|
+
fill_window(s);
|
1090
|
+
if (s.lookahead < MIN_LOOKAHEAD && flush === Z_NO_FLUSH) {
|
1091
|
+
return BS_NEED_MORE;
|
1092
|
+
}
|
1093
|
+
if (s.lookahead === 0) { break; } /* flush the current block */
|
1094
|
+
}
|
1095
|
+
|
1096
|
+
/* Insert the string window[strstart .. strstart+2] in the
|
1097
|
+
* dictionary, and set hash_head to the head of the hash chain:
|
1098
|
+
*/
|
1099
|
+
hash_head = 0/*NIL*/;
|
1100
|
+
if (s.lookahead >= MIN_MATCH) {
|
1101
|
+
/*** INSERT_STRING(s, s.strstart, hash_head); ***/
|
1102
|
+
s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + MIN_MATCH - 1]) & s.hash_mask;
|
1103
|
+
hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
|
1104
|
+
s.head[s.ins_h] = s.strstart;
|
1105
|
+
/***/
|
1106
|
+
}
|
1107
|
+
|
1108
|
+
/* Find the longest match, discarding those <= prev_length.
|
1109
|
+
*/
|
1110
|
+
s.prev_length = s.match_length;
|
1111
|
+
s.prev_match = s.match_start;
|
1112
|
+
s.match_length = MIN_MATCH-1;
|
1113
|
+
|
1114
|
+
if (hash_head !== 0/*NIL*/ && s.prev_length < s.max_lazy_match &&
|
1115
|
+
s.strstart - hash_head <= (s.w_size-MIN_LOOKAHEAD)/*MAX_DIST(s)*/) {
|
1116
|
+
/* To simplify the code, we prevent matches with the string
|
1117
|
+
* of window index 0 (in particular we have to avoid a match
|
1118
|
+
* of the string with itself at the start of the input file).
|
1119
|
+
*/
|
1120
|
+
s.match_length = longest_match(s, hash_head);
|
1121
|
+
/* longest_match() sets match_start */
|
1122
|
+
|
1123
|
+
if (s.match_length <= 5 &&
|
1124
|
+
(s.strategy === Z_FILTERED || (s.match_length === MIN_MATCH && s.strstart - s.match_start > 4096/*TOO_FAR*/))) {
|
1125
|
+
|
1126
|
+
/* If prev_match is also MIN_MATCH, match_start is garbage
|
1127
|
+
* but we will ignore the current match anyway.
|
1128
|
+
*/
|
1129
|
+
s.match_length = MIN_MATCH-1;
|
1130
|
+
}
|
1131
|
+
}
|
1132
|
+
/* If there was a match at the previous step and the current
|
1133
|
+
* match is not better, output the previous match:
|
1134
|
+
*/
|
1135
|
+
if (s.prev_length >= MIN_MATCH && s.match_length <= s.prev_length) {
|
1136
|
+
max_insert = s.strstart + s.lookahead - MIN_MATCH;
|
1137
|
+
/* Do not insert strings in hash table beyond this. */
|
1138
|
+
|
1139
|
+
//check_match(s, s.strstart-1, s.prev_match, s.prev_length);
|
1140
|
+
|
1141
|
+
/***_tr_tally_dist(s, s.strstart - 1 - s.prev_match,
|
1142
|
+
s.prev_length - MIN_MATCH, bflush);***/
|
1143
|
+
bflush = trees._tr_tally(s, s.strstart - 1- s.prev_match, s.prev_length - MIN_MATCH);
|
1144
|
+
/* Insert in hash table all strings up to the end of the match.
|
1145
|
+
* strstart-1 and strstart are already inserted. If there is not
|
1146
|
+
* enough lookahead, the last two strings are not inserted in
|
1147
|
+
* the hash table.
|
1148
|
+
*/
|
1149
|
+
s.lookahead -= s.prev_length-1;
|
1150
|
+
s.prev_length -= 2;
|
1151
|
+
do {
|
1152
|
+
if (++s.strstart <= max_insert) {
|
1153
|
+
/*** INSERT_STRING(s, s.strstart, hash_head); ***/
|
1154
|
+
s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + MIN_MATCH - 1]) & s.hash_mask;
|
1155
|
+
hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
|
1156
|
+
s.head[s.ins_h] = s.strstart;
|
1157
|
+
/***/
|
1158
|
+
}
|
1159
|
+
} while (--s.prev_length !== 0);
|
1160
|
+
s.match_available = 0;
|
1161
|
+
s.match_length = MIN_MATCH-1;
|
1162
|
+
s.strstart++;
|
1163
|
+
|
1164
|
+
if (bflush) {
|
1165
|
+
/*** FLUSH_BLOCK(s, 0); ***/
|
1166
|
+
flush_block_only(s, false);
|
1167
|
+
if (s.strm.avail_out === 0) {
|
1168
|
+
return BS_NEED_MORE;
|
1169
|
+
}
|
1170
|
+
/***/
|
1171
|
+
}
|
1172
|
+
|
1173
|
+
} else if (s.match_available) {
|
1174
|
+
/* If there was no match at the previous position, output a
|
1175
|
+
* single literal. If there was a match but the current match
|
1176
|
+
* is longer, truncate the previous match to a single literal.
|
1177
|
+
*/
|
1178
|
+
//Tracevv((stderr,"%c", s->window[s->strstart-1]));
|
1179
|
+
/*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/
|
1180
|
+
bflush = trees._tr_tally(s, 0, s.window[s.strstart-1]);
|
1181
|
+
|
1182
|
+
if (bflush) {
|
1183
|
+
/*** FLUSH_BLOCK_ONLY(s, 0) ***/
|
1184
|
+
flush_block_only(s, false);
|
1185
|
+
/***/
|
1186
|
+
}
|
1187
|
+
s.strstart++;
|
1188
|
+
s.lookahead--;
|
1189
|
+
if (s.strm.avail_out === 0) {
|
1190
|
+
return BS_NEED_MORE;
|
1191
|
+
}
|
1192
|
+
} else {
|
1193
|
+
/* There is no previous match to compare with, wait for
|
1194
|
+
* the next step to decide.
|
1195
|
+
*/
|
1196
|
+
s.match_available = 1;
|
1197
|
+
s.strstart++;
|
1198
|
+
s.lookahead--;
|
1199
|
+
}
|
1200
|
+
}
|
1201
|
+
//Assert (flush != Z_NO_FLUSH, "no flush?");
|
1202
|
+
if (s.match_available) {
|
1203
|
+
//Tracevv((stderr,"%c", s->window[s->strstart-1]));
|
1204
|
+
/*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/
|
1205
|
+
bflush = trees._tr_tally(s, 0, s.window[s.strstart-1]);
|
1206
|
+
|
1207
|
+
s.match_available = 0;
|
1208
|
+
}
|
1209
|
+
s.insert = s.strstart < MIN_MATCH-1 ? s.strstart : MIN_MATCH-1;
|
1210
|
+
if (flush === Z_FINISH) {
|
1211
|
+
/*** FLUSH_BLOCK(s, 1); ***/
|
1212
|
+
flush_block_only(s, true);
|
1213
|
+
if (s.strm.avail_out === 0) {
|
1214
|
+
return BS_FINISH_STARTED;
|
1215
|
+
}
|
1216
|
+
/***/
|
1217
|
+
return BS_FINISH_DONE;
|
1218
|
+
}
|
1219
|
+
if (s.last_lit) {
|
1220
|
+
/*** FLUSH_BLOCK(s, 0); ***/
|
1221
|
+
flush_block_only(s, false);
|
1222
|
+
if (s.strm.avail_out === 0) {
|
1223
|
+
return BS_NEED_MORE;
|
1224
|
+
}
|
1225
|
+
/***/
|
1226
|
+
}
|
1227
|
+
|
1228
|
+
return BS_BLOCK_DONE;
|
1229
|
+
}
|
1230
|
+
|
1231
|
+
|
1232
|
+
/* ===========================================================================
|
1233
|
+
* For Z_RLE, simply look for runs of bytes, generate matches only of distance
|
1234
|
+
* one. Do not maintain a hash table. (It will be regenerated if this run of
|
1235
|
+
* deflate switches away from Z_RLE.)
|
1236
|
+
*/
|
1237
|
+
function deflate_rle(s, flush) {
|
1238
|
+
var bflush; /* set if current block must be flushed */
|
1239
|
+
var prev; /* byte at distance one to match */
|
1240
|
+
var scan, strend; /* scan goes up to strend for length of run */
|
1241
|
+
|
1242
|
+
var _win = s.window;
|
1243
|
+
|
1244
|
+
for (;;) {
|
1245
|
+
/* Make sure that we always have enough lookahead, except
|
1246
|
+
* at the end of the input file. We need MAX_MATCH bytes
|
1247
|
+
* for the longest run, plus one for the unrolled loop.
|
1248
|
+
*/
|
1249
|
+
if (s.lookahead <= MAX_MATCH) {
|
1250
|
+
fill_window(s);
|
1251
|
+
if (s.lookahead <= MAX_MATCH && flush === Z_NO_FLUSH) {
|
1252
|
+
return BS_NEED_MORE;
|
1253
|
+
}
|
1254
|
+
if (s.lookahead === 0) { break; } /* flush the current block */
|
1255
|
+
}
|
1256
|
+
|
1257
|
+
/* See how many times the previous byte repeats */
|
1258
|
+
s.match_length = 0;
|
1259
|
+
if (s.lookahead >= MIN_MATCH && s.strstart > 0) {
|
1260
|
+
scan = s.strstart - 1;
|
1261
|
+
prev = _win[scan];
|
1262
|
+
if (prev === _win[++scan] && prev === _win[++scan] && prev === _win[++scan]) {
|
1263
|
+
strend = s.strstart + MAX_MATCH;
|
1264
|
+
do {
|
1265
|
+
/*jshint noempty:false*/
|
1266
|
+
} while (prev === _win[++scan] && prev === _win[++scan] &&
|
1267
|
+
prev === _win[++scan] && prev === _win[++scan] &&
|
1268
|
+
prev === _win[++scan] && prev === _win[++scan] &&
|
1269
|
+
prev === _win[++scan] && prev === _win[++scan] &&
|
1270
|
+
scan < strend);
|
1271
|
+
s.match_length = MAX_MATCH - (strend - scan);
|
1272
|
+
if (s.match_length > s.lookahead) {
|
1273
|
+
s.match_length = s.lookahead;
|
1274
|
+
}
|
1275
|
+
}
|
1276
|
+
//Assert(scan <= s->window+(uInt)(s->window_size-1), "wild scan");
|
1277
|
+
}
|
1278
|
+
|
1279
|
+
/* Emit match if have run of MIN_MATCH or longer, else emit literal */
|
1280
|
+
if (s.match_length >= MIN_MATCH) {
|
1281
|
+
//check_match(s, s.strstart, s.strstart - 1, s.match_length);
|
1282
|
+
|
1283
|
+
/*** _tr_tally_dist(s, 1, s.match_length - MIN_MATCH, bflush); ***/
|
1284
|
+
bflush = trees._tr_tally(s, 1, s.match_length - MIN_MATCH);
|
1285
|
+
|
1286
|
+
s.lookahead -= s.match_length;
|
1287
|
+
s.strstart += s.match_length;
|
1288
|
+
s.match_length = 0;
|
1289
|
+
} else {
|
1290
|
+
/* No match, output a literal byte */
|
1291
|
+
//Tracevv((stderr,"%c", s->window[s->strstart]));
|
1292
|
+
/*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/
|
1293
|
+
bflush = trees._tr_tally(s, 0, s.window[s.strstart]);
|
1294
|
+
|
1295
|
+
s.lookahead--;
|
1296
|
+
s.strstart++;
|
1297
|
+
}
|
1298
|
+
if (bflush) {
|
1299
|
+
/*** FLUSH_BLOCK(s, 0); ***/
|
1300
|
+
flush_block_only(s, false);
|
1301
|
+
if (s.strm.avail_out === 0) {
|
1302
|
+
return BS_NEED_MORE;
|
1303
|
+
}
|
1304
|
+
/***/
|
1305
|
+
}
|
1306
|
+
}
|
1307
|
+
s.insert = 0;
|
1308
|
+
if (flush === Z_FINISH) {
|
1309
|
+
/*** FLUSH_BLOCK(s, 1); ***/
|
1310
|
+
flush_block_only(s, true);
|
1311
|
+
if (s.strm.avail_out === 0) {
|
1312
|
+
return BS_FINISH_STARTED;
|
1313
|
+
}
|
1314
|
+
/***/
|
1315
|
+
return BS_FINISH_DONE;
|
1316
|
+
}
|
1317
|
+
if (s.last_lit) {
|
1318
|
+
/*** FLUSH_BLOCK(s, 0); ***/
|
1319
|
+
flush_block_only(s, false);
|
1320
|
+
if (s.strm.avail_out === 0) {
|
1321
|
+
return BS_NEED_MORE;
|
1322
|
+
}
|
1323
|
+
/***/
|
1324
|
+
}
|
1325
|
+
return BS_BLOCK_DONE;
|
1326
|
+
}
|
1327
|
+
|
1328
|
+
/* ===========================================================================
|
1329
|
+
* For Z_HUFFMAN_ONLY, do not look for matches. Do not maintain a hash table.
|
1330
|
+
* (It will be regenerated if this run of deflate switches away from Huffman.)
|
1331
|
+
*/
|
1332
|
+
function deflate_huff(s, flush) {
|
1333
|
+
var bflush; /* set if current block must be flushed */
|
1334
|
+
|
1335
|
+
for (;;) {
|
1336
|
+
/* Make sure that we have a literal to write. */
|
1337
|
+
if (s.lookahead === 0) {
|
1338
|
+
fill_window(s);
|
1339
|
+
if (s.lookahead === 0) {
|
1340
|
+
if (flush === Z_NO_FLUSH) {
|
1341
|
+
return BS_NEED_MORE;
|
1342
|
+
}
|
1343
|
+
break; /* flush the current block */
|
1344
|
+
}
|
1345
|
+
}
|
1346
|
+
|
1347
|
+
/* Output a literal byte */
|
1348
|
+
s.match_length = 0;
|
1349
|
+
//Tracevv((stderr,"%c", s->window[s->strstart]));
|
1350
|
+
/*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/
|
1351
|
+
bflush = trees._tr_tally(s, 0, s.window[s.strstart]);
|
1352
|
+
s.lookahead--;
|
1353
|
+
s.strstart++;
|
1354
|
+
if (bflush) {
|
1355
|
+
/*** FLUSH_BLOCK(s, 0); ***/
|
1356
|
+
flush_block_only(s, false);
|
1357
|
+
if (s.strm.avail_out === 0) {
|
1358
|
+
return BS_NEED_MORE;
|
1359
|
+
}
|
1360
|
+
/***/
|
1361
|
+
}
|
1362
|
+
}
|
1363
|
+
s.insert = 0;
|
1364
|
+
if (flush === Z_FINISH) {
|
1365
|
+
/*** FLUSH_BLOCK(s, 1); ***/
|
1366
|
+
flush_block_only(s, true);
|
1367
|
+
if (s.strm.avail_out === 0) {
|
1368
|
+
return BS_FINISH_STARTED;
|
1369
|
+
}
|
1370
|
+
/***/
|
1371
|
+
return BS_FINISH_DONE;
|
1372
|
+
}
|
1373
|
+
if (s.last_lit) {
|
1374
|
+
/*** FLUSH_BLOCK(s, 0); ***/
|
1375
|
+
flush_block_only(s, false);
|
1376
|
+
if (s.strm.avail_out === 0) {
|
1377
|
+
return BS_NEED_MORE;
|
1378
|
+
}
|
1379
|
+
/***/
|
1380
|
+
}
|
1381
|
+
return BS_BLOCK_DONE;
|
1382
|
+
}
|
1383
|
+
|
1384
|
+
/* Values for max_lazy_match, good_match and max_chain_length, depending on
|
1385
|
+
* the desired pack level (0..9). The values given below have been tuned to
|
1386
|
+
* exclude worst case performance for pathological files. Better values may be
|
1387
|
+
* found for specific files.
|
1388
|
+
*/
|
1389
|
+
var Config = function (good_length, max_lazy, nice_length, max_chain, func) {
|
1390
|
+
this.good_length = good_length;
|
1391
|
+
this.max_lazy = max_lazy;
|
1392
|
+
this.nice_length = nice_length;
|
1393
|
+
this.max_chain = max_chain;
|
1394
|
+
this.func = func;
|
1395
|
+
};
|
1396
|
+
|
1397
|
+
var configuration_table;
|
1398
|
+
|
1399
|
+
configuration_table = [
|
1400
|
+
/* good lazy nice chain */
|
1401
|
+
new Config(0, 0, 0, 0, deflate_stored), /* 0 store only */
|
1402
|
+
new Config(4, 4, 8, 4, deflate_fast), /* 1 max speed, no lazy matches */
|
1403
|
+
new Config(4, 5, 16, 8, deflate_fast), /* 2 */
|
1404
|
+
new Config(4, 6, 32, 32, deflate_fast), /* 3 */
|
1405
|
+
|
1406
|
+
new Config(4, 4, 16, 16, deflate_slow), /* 4 lazy matches */
|
1407
|
+
new Config(8, 16, 32, 32, deflate_slow), /* 5 */
|
1408
|
+
new Config(8, 16, 128, 128, deflate_slow), /* 6 */
|
1409
|
+
new Config(8, 32, 128, 256, deflate_slow), /* 7 */
|
1410
|
+
new Config(32, 128, 258, 1024, deflate_slow), /* 8 */
|
1411
|
+
new Config(32, 258, 258, 4096, deflate_slow) /* 9 max compression */
|
1412
|
+
];
|
1413
|
+
|
1414
|
+
|
1415
|
+
/* ===========================================================================
|
1416
|
+
* Initialize the "longest match" routines for a new zlib stream
|
1417
|
+
*/
|
1418
|
+
function lm_init(s) {
|
1419
|
+
s.window_size = 2 * s.w_size;
|
1420
|
+
|
1421
|
+
/*** CLEAR_HASH(s); ***/
|
1422
|
+
zero(s.head); // Fill with NIL (= 0);
|
1423
|
+
|
1424
|
+
/* Set the default configuration parameters:
|
1425
|
+
*/
|
1426
|
+
s.max_lazy_match = configuration_table[s.level].max_lazy;
|
1427
|
+
s.good_match = configuration_table[s.level].good_length;
|
1428
|
+
s.nice_match = configuration_table[s.level].nice_length;
|
1429
|
+
s.max_chain_length = configuration_table[s.level].max_chain;
|
1430
|
+
|
1431
|
+
s.strstart = 0;
|
1432
|
+
s.block_start = 0;
|
1433
|
+
s.lookahead = 0;
|
1434
|
+
s.insert = 0;
|
1435
|
+
s.match_length = s.prev_length = MIN_MATCH - 1;
|
1436
|
+
s.match_available = 0;
|
1437
|
+
s.ins_h = 0;
|
1438
|
+
}
|
1439
|
+
|
1440
|
+
|
1441
|
+
function DeflateState() {
|
1442
|
+
this.strm = null; /* pointer back to this zlib stream */
|
1443
|
+
this.status = 0; /* as the name implies */
|
1444
|
+
this.pending_buf = null; /* output still pending */
|
1445
|
+
this.pending_buf_size = 0; /* size of pending_buf */
|
1446
|
+
this.pending_out = 0; /* next pending byte to output to the stream */
|
1447
|
+
this.pending = 0; /* nb of bytes in the pending buffer */
|
1448
|
+
this.wrap = 0; /* bit 0 true for zlib, bit 1 true for gzip */
|
1449
|
+
this.gzhead = null; /* gzip header information to write */
|
1450
|
+
this.gzindex = 0; /* where in extra, name, or comment */
|
1451
|
+
this.method = Z_DEFLATED; /* can only be DEFLATED */
|
1452
|
+
this.last_flush = -1; /* value of flush param for previous deflate call */
|
1453
|
+
|
1454
|
+
this.w_size = 0; /* LZ77 window size (32K by default) */
|
1455
|
+
this.w_bits = 0; /* log2(w_size) (8..16) */
|
1456
|
+
this.w_mask = 0; /* w_size - 1 */
|
1457
|
+
|
1458
|
+
this.window = null;
|
1459
|
+
/* Sliding window. Input bytes are read into the second half of the window,
|
1460
|
+
* and move to the first half later to keep a dictionary of at least wSize
|
1461
|
+
* bytes. With this organization, matches are limited to a distance of
|
1462
|
+
* wSize-MAX_MATCH bytes, but this ensures that IO is always
|
1463
|
+
* performed with a length multiple of the block size.
|
1464
|
+
*/
|
1465
|
+
|
1466
|
+
this.window_size = 0;
|
1467
|
+
/* Actual size of window: 2*wSize, except when the user input buffer
|
1468
|
+
* is directly used as sliding window.
|
1469
|
+
*/
|
1470
|
+
|
1471
|
+
this.prev = null;
|
1472
|
+
/* Link to older string with same hash index. To limit the size of this
|
1473
|
+
* array to 64K, this link is maintained only for the last 32K strings.
|
1474
|
+
* An index in this array is thus a window index modulo 32K.
|
1475
|
+
*/
|
1476
|
+
|
1477
|
+
this.head = null; /* Heads of the hash chains or NIL. */
|
1478
|
+
|
1479
|
+
this.ins_h = 0; /* hash index of string to be inserted */
|
1480
|
+
this.hash_size = 0; /* number of elements in hash table */
|
1481
|
+
this.hash_bits = 0; /* log2(hash_size) */
|
1482
|
+
this.hash_mask = 0; /* hash_size-1 */
|
1483
|
+
|
1484
|
+
this.hash_shift = 0;
|
1485
|
+
/* Number of bits by which ins_h must be shifted at each input
|
1486
|
+
* step. It must be such that after MIN_MATCH steps, the oldest
|
1487
|
+
* byte no longer takes part in the hash key, that is:
|
1488
|
+
* hash_shift * MIN_MATCH >= hash_bits
|
1489
|
+
*/
|
1490
|
+
|
1491
|
+
this.block_start = 0;
|
1492
|
+
/* Window position at the beginning of the current output block. Gets
|
1493
|
+
* negative when the window is moved backwards.
|
1494
|
+
*/
|
1495
|
+
|
1496
|
+
this.match_length = 0; /* length of best match */
|
1497
|
+
this.prev_match = 0; /* previous match */
|
1498
|
+
this.match_available = 0; /* set if previous match exists */
|
1499
|
+
this.strstart = 0; /* start of string to insert */
|
1500
|
+
this.match_start = 0; /* start of matching string */
|
1501
|
+
this.lookahead = 0; /* number of valid bytes ahead in window */
|
1502
|
+
|
1503
|
+
this.prev_length = 0;
|
1504
|
+
/* Length of the best match at previous step. Matches not greater than this
|
1505
|
+
* are discarded. This is used in the lazy match evaluation.
|
1506
|
+
*/
|
1507
|
+
|
1508
|
+
this.max_chain_length = 0;
|
1509
|
+
/* To speed up deflation, hash chains are never searched beyond this
|
1510
|
+
* length. A higher limit improves compression ratio but degrades the
|
1511
|
+
* speed.
|
1512
|
+
*/
|
1513
|
+
|
1514
|
+
this.max_lazy_match = 0;
|
1515
|
+
/* Attempt to find a better match only when the current match is strictly
|
1516
|
+
* smaller than this value. This mechanism is used only for compression
|
1517
|
+
* levels >= 4.
|
1518
|
+
*/
|
1519
|
+
// That's alias to max_lazy_match, don't use directly
|
1520
|
+
//this.max_insert_length = 0;
|
1521
|
+
/* Insert new strings in the hash table only if the match length is not
|
1522
|
+
* greater than this length. This saves time but degrades compression.
|
1523
|
+
* max_insert_length is used only for compression levels <= 3.
|
1524
|
+
*/
|
1525
|
+
|
1526
|
+
this.level = 0; /* compression level (1..9) */
|
1527
|
+
this.strategy = 0; /* favor or force Huffman coding*/
|
1528
|
+
|
1529
|
+
this.good_match = 0;
|
1530
|
+
/* Use a faster search when the previous match is longer than this */
|
1531
|
+
|
1532
|
+
this.nice_match = 0; /* Stop searching when current match exceeds this */
|
1533
|
+
|
1534
|
+
/* used by trees.c: */
|
1535
|
+
|
1536
|
+
/* Didn't use ct_data typedef below to suppress compiler warning */
|
1537
|
+
|
1538
|
+
// struct ct_data_s dyn_ltree[HEAP_SIZE]; /* literal and length tree */
|
1539
|
+
// struct ct_data_s dyn_dtree[2*D_CODES+1]; /* distance tree */
|
1540
|
+
// struct ct_data_s bl_tree[2*BL_CODES+1]; /* Huffman tree for bit lengths */
|
1541
|
+
|
1542
|
+
// Use flat array of DOUBLE size, with interleaved fata,
|
1543
|
+
// because JS does not support effective
|
1544
|
+
this.dyn_ltree = new utils.Buf16(HEAP_SIZE * 2);
|
1545
|
+
this.dyn_dtree = new utils.Buf16((2*D_CODES+1) * 2);
|
1546
|
+
this.bl_tree = new utils.Buf16((2*BL_CODES+1) * 2);
|
1547
|
+
zero(this.dyn_ltree);
|
1548
|
+
zero(this.dyn_dtree);
|
1549
|
+
zero(this.bl_tree);
|
1550
|
+
|
1551
|
+
this.l_desc = null; /* desc. for literal tree */
|
1552
|
+
this.d_desc = null; /* desc. for distance tree */
|
1553
|
+
this.bl_desc = null; /* desc. for bit length tree */
|
1554
|
+
|
1555
|
+
//ush bl_count[MAX_BITS+1];
|
1556
|
+
this.bl_count = new utils.Buf16(MAX_BITS+1);
|
1557
|
+
/* number of codes at each bit length for an optimal tree */
|
1558
|
+
|
1559
|
+
//int heap[2*L_CODES+1]; /* heap used to build the Huffman trees */
|
1560
|
+
this.heap = new utils.Buf16(2*L_CODES+1); /* heap used to build the Huffman trees */
|
1561
|
+
zero(this.heap);
|
1562
|
+
|
1563
|
+
this.heap_len = 0; /* number of elements in the heap */
|
1564
|
+
this.heap_max = 0; /* element of largest frequency */
|
1565
|
+
/* The sons of heap[n] are heap[2*n] and heap[2*n+1]. heap[0] is not used.
|
1566
|
+
* The same heap array is used to build all trees.
|
1567
|
+
*/
|
1568
|
+
|
1569
|
+
this.depth = new utils.Buf16(2*L_CODES+1); //uch depth[2*L_CODES+1];
|
1570
|
+
zero(this.depth);
|
1571
|
+
/* Depth of each subtree used as tie breaker for trees of equal frequency
|
1572
|
+
*/
|
1573
|
+
|
1574
|
+
this.l_buf = 0; /* buffer index for literals or lengths */
|
1575
|
+
|
1576
|
+
this.lit_bufsize = 0;
|
1577
|
+
/* Size of match buffer for literals/lengths. There are 4 reasons for
|
1578
|
+
* limiting lit_bufsize to 64K:
|
1579
|
+
* - frequencies can be kept in 16 bit counters
|
1580
|
+
* - if compression is not successful for the first block, all input
|
1581
|
+
* data is still in the window so we can still emit a stored block even
|
1582
|
+
* when input comes from standard input. (This can also be done for
|
1583
|
+
* all blocks if lit_bufsize is not greater than 32K.)
|
1584
|
+
* - if compression is not successful for a file smaller than 64K, we can
|
1585
|
+
* even emit a stored file instead of a stored block (saving 5 bytes).
|
1586
|
+
* This is applicable only for zip (not gzip or zlib).
|
1587
|
+
* - creating new Huffman trees less frequently may not provide fast
|
1588
|
+
* adaptation to changes in the input data statistics. (Take for
|
1589
|
+
* example a binary file with poorly compressible code followed by
|
1590
|
+
* a highly compressible string table.) Smaller buffer sizes give
|
1591
|
+
* fast adaptation but have of course the overhead of transmitting
|
1592
|
+
* trees more frequently.
|
1593
|
+
* - I can't count above 4
|
1594
|
+
*/
|
1595
|
+
|
1596
|
+
this.last_lit = 0; /* running index in l_buf */
|
1597
|
+
|
1598
|
+
this.d_buf = 0;
|
1599
|
+
/* Buffer index for distances. To simplify the code, d_buf and l_buf have
|
1600
|
+
* the same number of elements. To use different lengths, an extra flag
|
1601
|
+
* array would be necessary.
|
1602
|
+
*/
|
1603
|
+
|
1604
|
+
this.opt_len = 0; /* bit length of current block with optimal trees */
|
1605
|
+
this.static_len = 0; /* bit length of current block with static trees */
|
1606
|
+
this.matches = 0; /* number of string matches in current block */
|
1607
|
+
this.insert = 0; /* bytes at end of window left to insert */
|
1608
|
+
|
1609
|
+
|
1610
|
+
this.bi_buf = 0;
|
1611
|
+
/* Output buffer. bits are inserted starting at the bottom (least
|
1612
|
+
* significant bits).
|
1613
|
+
*/
|
1614
|
+
this.bi_valid = 0;
|
1615
|
+
/* Number of valid bits in bi_buf. All bits above the last valid bit
|
1616
|
+
* are always zero.
|
1617
|
+
*/
|
1618
|
+
|
1619
|
+
// Used for window memory init. We safely ignore it for JS. That makes
|
1620
|
+
// sense only for pointers and memory check tools.
|
1621
|
+
//this.high_water = 0;
|
1622
|
+
/* High water mark offset in window for initialized bytes -- bytes above
|
1623
|
+
* this are set to zero in order to avoid memory check warnings when
|
1624
|
+
* longest match routines access bytes past the input. This is then
|
1625
|
+
* updated to the new high water mark.
|
1626
|
+
*/
|
1627
|
+
}
|
1628
|
+
|
1629
|
+
|
1630
|
+
function deflateResetKeep(strm) {
|
1631
|
+
var s;
|
1632
|
+
|
1633
|
+
if (!strm || !strm.state) {
|
1634
|
+
return err(strm, Z_STREAM_ERROR);
|
1635
|
+
}
|
1636
|
+
|
1637
|
+
strm.total_in = strm.total_out = 0;
|
1638
|
+
strm.data_type = Z_UNKNOWN;
|
1639
|
+
|
1640
|
+
s = strm.state;
|
1641
|
+
s.pending = 0;
|
1642
|
+
s.pending_out = 0;
|
1643
|
+
|
1644
|
+
if (s.wrap < 0) {
|
1645
|
+
s.wrap = -s.wrap;
|
1646
|
+
/* was made negative by deflate(..., Z_FINISH); */
|
1647
|
+
}
|
1648
|
+
s.status = (s.wrap ? INIT_STATE : BUSY_STATE);
|
1649
|
+
strm.adler = (s.wrap === 2) ?
|
1650
|
+
0 // crc32(0, Z_NULL, 0)
|
1651
|
+
:
|
1652
|
+
1; // adler32(0, Z_NULL, 0)
|
1653
|
+
s.last_flush = Z_NO_FLUSH;
|
1654
|
+
trees._tr_init(s);
|
1655
|
+
return Z_OK;
|
1656
|
+
}
|
1657
|
+
|
1658
|
+
|
1659
|
+
function deflateReset(strm) {
|
1660
|
+
var ret = deflateResetKeep(strm);
|
1661
|
+
if (ret === Z_OK) {
|
1662
|
+
lm_init(strm.state);
|
1663
|
+
}
|
1664
|
+
return ret;
|
1665
|
+
}
|
1666
|
+
|
1667
|
+
|
1668
|
+
function deflateSetHeader(strm, head) {
|
1669
|
+
if (!strm || !strm.state) { return Z_STREAM_ERROR; }
|
1670
|
+
if (strm.state.wrap !== 2) { return Z_STREAM_ERROR; }
|
1671
|
+
strm.state.gzhead = head;
|
1672
|
+
return Z_OK;
|
1673
|
+
}
|
1674
|
+
|
1675
|
+
|
1676
|
+
function deflateInit2(strm, level, method, windowBits, memLevel, strategy) {
|
1677
|
+
if (!strm) { // === Z_NULL
|
1678
|
+
return Z_STREAM_ERROR;
|
1679
|
+
}
|
1680
|
+
var wrap = 1;
|
1681
|
+
|
1682
|
+
if (level === Z_DEFAULT_COMPRESSION) {
|
1683
|
+
level = 6;
|
1684
|
+
}
|
1685
|
+
|
1686
|
+
if (windowBits < 0) { /* suppress zlib wrapper */
|
1687
|
+
wrap = 0;
|
1688
|
+
windowBits = -windowBits;
|
1689
|
+
}
|
1690
|
+
|
1691
|
+
else if (windowBits > 15) {
|
1692
|
+
wrap = 2; /* write gzip wrapper instead */
|
1693
|
+
windowBits -= 16;
|
1694
|
+
}
|
1695
|
+
|
1696
|
+
|
1697
|
+
if (memLevel < 1 || memLevel > MAX_MEM_LEVEL || method !== Z_DEFLATED ||
|
1698
|
+
windowBits < 8 || windowBits > 15 || level < 0 || level > 9 ||
|
1699
|
+
strategy < 0 || strategy > Z_FIXED) {
|
1700
|
+
return err(strm, Z_STREAM_ERROR);
|
1701
|
+
}
|
1702
|
+
|
1703
|
+
|
1704
|
+
if (windowBits === 8) {
|
1705
|
+
windowBits = 9;
|
1706
|
+
}
|
1707
|
+
/* until 256-byte window bug fixed */
|
1708
|
+
|
1709
|
+
var s = new DeflateState();
|
1710
|
+
|
1711
|
+
strm.state = s;
|
1712
|
+
s.strm = strm;
|
1713
|
+
|
1714
|
+
s.wrap = wrap;
|
1715
|
+
s.gzhead = null;
|
1716
|
+
s.w_bits = windowBits;
|
1717
|
+
s.w_size = 1 << s.w_bits;
|
1718
|
+
s.w_mask = s.w_size - 1;
|
1719
|
+
|
1720
|
+
s.hash_bits = memLevel + 7;
|
1721
|
+
s.hash_size = 1 << s.hash_bits;
|
1722
|
+
s.hash_mask = s.hash_size - 1;
|
1723
|
+
s.hash_shift = ~~((s.hash_bits + MIN_MATCH - 1) / MIN_MATCH);
|
1724
|
+
|
1725
|
+
s.window = new utils.Buf8(s.w_size * 2);
|
1726
|
+
s.head = new utils.Buf16(s.hash_size);
|
1727
|
+
s.prev = new utils.Buf16(s.w_size);
|
1728
|
+
|
1729
|
+
// Don't need mem init magic for JS.
|
1730
|
+
//s.high_water = 0; /* nothing written to s->window yet */
|
1731
|
+
|
1732
|
+
s.lit_bufsize = 1 << (memLevel + 6); /* 16K elements by default */
|
1733
|
+
|
1734
|
+
s.pending_buf_size = s.lit_bufsize * 4;
|
1735
|
+
s.pending_buf = new utils.Buf8(s.pending_buf_size);
|
1736
|
+
|
1737
|
+
s.d_buf = s.lit_bufsize >> 1;
|
1738
|
+
s.l_buf = (1 + 2) * s.lit_bufsize;
|
1739
|
+
|
1740
|
+
s.level = level;
|
1741
|
+
s.strategy = strategy;
|
1742
|
+
s.method = method;
|
1743
|
+
|
1744
|
+
return deflateReset(strm);
|
1745
|
+
}
|
1746
|
+
|
1747
|
+
function deflateInit(strm, level) {
|
1748
|
+
return deflateInit2(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY);
|
1749
|
+
}
|
1750
|
+
|
1751
|
+
|
1752
|
+
function deflate(strm, flush) {
|
1753
|
+
var old_flush, s;
|
1754
|
+
var beg, val; // for gzip header write only
|
1755
|
+
|
1756
|
+
if (!strm || !strm.state ||
|
1757
|
+
flush > Z_BLOCK || flush < 0) {
|
1758
|
+
return strm ? err(strm, Z_STREAM_ERROR) : Z_STREAM_ERROR;
|
1759
|
+
}
|
1760
|
+
|
1761
|
+
s = strm.state;
|
1762
|
+
|
1763
|
+
if (!strm.output ||
|
1764
|
+
(!strm.input && strm.avail_in !== 0) ||
|
1765
|
+
(s.status === FINISH_STATE && flush !== Z_FINISH)) {
|
1766
|
+
return err(strm, (strm.avail_out === 0) ? Z_BUF_ERROR : Z_STREAM_ERROR);
|
1767
|
+
}
|
1768
|
+
|
1769
|
+
s.strm = strm; /* just in case */
|
1770
|
+
old_flush = s.last_flush;
|
1771
|
+
s.last_flush = flush;
|
1772
|
+
|
1773
|
+
/* Write the header */
|
1774
|
+
if (s.status === INIT_STATE) {
|
1775
|
+
|
1776
|
+
if (s.wrap === 2) { // GZIP header
|
1777
|
+
strm.adler = 0; //crc32(0L, Z_NULL, 0);
|
1778
|
+
put_byte(s, 31);
|
1779
|
+
put_byte(s, 139);
|
1780
|
+
put_byte(s, 8);
|
1781
|
+
if (!s.gzhead) { // s->gzhead == Z_NULL
|
1782
|
+
put_byte(s, 0);
|
1783
|
+
put_byte(s, 0);
|
1784
|
+
put_byte(s, 0);
|
1785
|
+
put_byte(s, 0);
|
1786
|
+
put_byte(s, 0);
|
1787
|
+
put_byte(s, s.level === 9 ? 2 :
|
1788
|
+
(s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ?
|
1789
|
+
4 : 0));
|
1790
|
+
put_byte(s, OS_CODE);
|
1791
|
+
s.status = BUSY_STATE;
|
1792
|
+
}
|
1793
|
+
else {
|
1794
|
+
put_byte(s, (s.gzhead.text ? 1 : 0) +
|
1795
|
+
(s.gzhead.hcrc ? 2 : 0) +
|
1796
|
+
(!s.gzhead.extra ? 0 : 4) +
|
1797
|
+
(!s.gzhead.name ? 0 : 8) +
|
1798
|
+
(!s.gzhead.comment ? 0 : 16)
|
1799
|
+
);
|
1800
|
+
put_byte(s, s.gzhead.time & 0xff);
|
1801
|
+
put_byte(s, (s.gzhead.time >> 8) & 0xff);
|
1802
|
+
put_byte(s, (s.gzhead.time >> 16) & 0xff);
|
1803
|
+
put_byte(s, (s.gzhead.time >> 24) & 0xff);
|
1804
|
+
put_byte(s, s.level === 9 ? 2 :
|
1805
|
+
(s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ?
|
1806
|
+
4 : 0));
|
1807
|
+
put_byte(s, s.gzhead.os & 0xff);
|
1808
|
+
if (s.gzhead.extra && s.gzhead.extra.length) {
|
1809
|
+
put_byte(s, s.gzhead.extra.length & 0xff);
|
1810
|
+
put_byte(s, (s.gzhead.extra.length >> 8) & 0xff);
|
1811
|
+
}
|
1812
|
+
if (s.gzhead.hcrc) {
|
1813
|
+
strm.adler = crc32(strm.adler, s.pending_buf, s.pending, 0);
|
1814
|
+
}
|
1815
|
+
s.gzindex = 0;
|
1816
|
+
s.status = EXTRA_STATE;
|
1817
|
+
}
|
1818
|
+
}
|
1819
|
+
else // DEFLATE header
|
1820
|
+
{
|
1821
|
+
var header = (Z_DEFLATED + ((s.w_bits - 8) << 4)) << 8;
|
1822
|
+
var level_flags = -1;
|
1823
|
+
|
1824
|
+
if (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2) {
|
1825
|
+
level_flags = 0;
|
1826
|
+
} else if (s.level < 6) {
|
1827
|
+
level_flags = 1;
|
1828
|
+
} else if (s.level === 6) {
|
1829
|
+
level_flags = 2;
|
1830
|
+
} else {
|
1831
|
+
level_flags = 3;
|
1832
|
+
}
|
1833
|
+
header |= (level_flags << 6);
|
1834
|
+
if (s.strstart !== 0) { header |= PRESET_DICT; }
|
1835
|
+
header += 31 - (header % 31);
|
1836
|
+
|
1837
|
+
s.status = BUSY_STATE;
|
1838
|
+
putShortMSB(s, header);
|
1839
|
+
|
1840
|
+
/* Save the adler32 of the preset dictionary: */
|
1841
|
+
if (s.strstart !== 0) {
|
1842
|
+
putShortMSB(s, strm.adler >>> 16);
|
1843
|
+
putShortMSB(s, strm.adler & 0xffff);
|
1844
|
+
}
|
1845
|
+
strm.adler = 1; // adler32(0L, Z_NULL, 0);
|
1846
|
+
}
|
1847
|
+
}
|
1848
|
+
|
1849
|
+
//#ifdef GZIP
|
1850
|
+
if (s.status === EXTRA_STATE) {
|
1851
|
+
if (s.gzhead.extra/* != Z_NULL*/) {
|
1852
|
+
beg = s.pending; /* start of bytes to update crc */
|
1853
|
+
|
1854
|
+
while (s.gzindex < (s.gzhead.extra.length & 0xffff)) {
|
1855
|
+
if (s.pending === s.pending_buf_size) {
|
1856
|
+
if (s.gzhead.hcrc && s.pending > beg) {
|
1857
|
+
strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
|
1858
|
+
}
|
1859
|
+
flush_pending(strm);
|
1860
|
+
beg = s.pending;
|
1861
|
+
if (s.pending === s.pending_buf_size) {
|
1862
|
+
break;
|
1863
|
+
}
|
1864
|
+
}
|
1865
|
+
put_byte(s, s.gzhead.extra[s.gzindex] & 0xff);
|
1866
|
+
s.gzindex++;
|
1867
|
+
}
|
1868
|
+
if (s.gzhead.hcrc && s.pending > beg) {
|
1869
|
+
strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
|
1870
|
+
}
|
1871
|
+
if (s.gzindex === s.gzhead.extra.length) {
|
1872
|
+
s.gzindex = 0;
|
1873
|
+
s.status = NAME_STATE;
|
1874
|
+
}
|
1875
|
+
}
|
1876
|
+
else {
|
1877
|
+
s.status = NAME_STATE;
|
1878
|
+
}
|
1879
|
+
}
|
1880
|
+
if (s.status === NAME_STATE) {
|
1881
|
+
if (s.gzhead.name/* != Z_NULL*/) {
|
1882
|
+
beg = s.pending; /* start of bytes to update crc */
|
1883
|
+
//int val;
|
1884
|
+
|
1885
|
+
do {
|
1886
|
+
if (s.pending === s.pending_buf_size) {
|
1887
|
+
if (s.gzhead.hcrc && s.pending > beg) {
|
1888
|
+
strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
|
1889
|
+
}
|
1890
|
+
flush_pending(strm);
|
1891
|
+
beg = s.pending;
|
1892
|
+
if (s.pending === s.pending_buf_size) {
|
1893
|
+
val = 1;
|
1894
|
+
break;
|
1895
|
+
}
|
1896
|
+
}
|
1897
|
+
// JS specific: little magic to add zero terminator to end of string
|
1898
|
+
if (s.gzindex < s.gzhead.name.length) {
|
1899
|
+
val = s.gzhead.name.charCodeAt(s.gzindex++) & 0xff;
|
1900
|
+
} else {
|
1901
|
+
val = 0;
|
1902
|
+
}
|
1903
|
+
put_byte(s, val);
|
1904
|
+
} while (val !== 0);
|
1905
|
+
|
1906
|
+
if (s.gzhead.hcrc && s.pending > beg) {
|
1907
|
+
strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
|
1908
|
+
}
|
1909
|
+
if (val === 0) {
|
1910
|
+
s.gzindex = 0;
|
1911
|
+
s.status = COMMENT_STATE;
|
1912
|
+
}
|
1913
|
+
}
|
1914
|
+
else {
|
1915
|
+
s.status = COMMENT_STATE;
|
1916
|
+
}
|
1917
|
+
}
|
1918
|
+
if (s.status === COMMENT_STATE) {
|
1919
|
+
if (s.gzhead.comment/* != Z_NULL*/) {
|
1920
|
+
beg = s.pending; /* start of bytes to update crc */
|
1921
|
+
//int val;
|
1922
|
+
|
1923
|
+
do {
|
1924
|
+
if (s.pending === s.pending_buf_size) {
|
1925
|
+
if (s.gzhead.hcrc && s.pending > beg) {
|
1926
|
+
strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
|
1927
|
+
}
|
1928
|
+
flush_pending(strm);
|
1929
|
+
beg = s.pending;
|
1930
|
+
if (s.pending === s.pending_buf_size) {
|
1931
|
+
val = 1;
|
1932
|
+
break;
|
1933
|
+
}
|
1934
|
+
}
|
1935
|
+
// JS specific: little magic to add zero terminator to end of string
|
1936
|
+
if (s.gzindex < s.gzhead.comment.length) {
|
1937
|
+
val = s.gzhead.comment.charCodeAt(s.gzindex++) & 0xff;
|
1938
|
+
} else {
|
1939
|
+
val = 0;
|
1940
|
+
}
|
1941
|
+
put_byte(s, val);
|
1942
|
+
} while (val !== 0);
|
1943
|
+
|
1944
|
+
if (s.gzhead.hcrc && s.pending > beg) {
|
1945
|
+
strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
|
1946
|
+
}
|
1947
|
+
if (val === 0) {
|
1948
|
+
s.status = HCRC_STATE;
|
1949
|
+
}
|
1950
|
+
}
|
1951
|
+
else {
|
1952
|
+
s.status = HCRC_STATE;
|
1953
|
+
}
|
1954
|
+
}
|
1955
|
+
if (s.status === HCRC_STATE) {
|
1956
|
+
if (s.gzhead.hcrc) {
|
1957
|
+
if (s.pending + 2 > s.pending_buf_size) {
|
1958
|
+
flush_pending(strm);
|
1959
|
+
}
|
1960
|
+
if (s.pending + 2 <= s.pending_buf_size) {
|
1961
|
+
put_byte(s, strm.adler & 0xff);
|
1962
|
+
put_byte(s, (strm.adler >> 8) & 0xff);
|
1963
|
+
strm.adler = 0; //crc32(0L, Z_NULL, 0);
|
1964
|
+
s.status = BUSY_STATE;
|
1965
|
+
}
|
1966
|
+
}
|
1967
|
+
else {
|
1968
|
+
s.status = BUSY_STATE;
|
1969
|
+
}
|
1970
|
+
}
|
1971
|
+
//#endif
|
1972
|
+
|
1973
|
+
/* Flush as much pending output as possible */
|
1974
|
+
if (s.pending !== 0) {
|
1975
|
+
flush_pending(strm);
|
1976
|
+
if (strm.avail_out === 0) {
|
1977
|
+
/* Since avail_out is 0, deflate will be called again with
|
1978
|
+
* more output space, but possibly with both pending and
|
1979
|
+
* avail_in equal to zero. There won't be anything to do,
|
1980
|
+
* but this is not an error situation so make sure we
|
1981
|
+
* return OK instead of BUF_ERROR at next call of deflate:
|
1982
|
+
*/
|
1983
|
+
s.last_flush = -1;
|
1984
|
+
return Z_OK;
|
1985
|
+
}
|
1986
|
+
|
1987
|
+
/* Make sure there is something to do and avoid duplicate consecutive
|
1988
|
+
* flushes. For repeated and useless calls with Z_FINISH, we keep
|
1989
|
+
* returning Z_STREAM_END instead of Z_BUF_ERROR.
|
1990
|
+
*/
|
1991
|
+
} else if (strm.avail_in === 0 && rank(flush) <= rank(old_flush) &&
|
1992
|
+
flush !== Z_FINISH) {
|
1993
|
+
return err(strm, Z_BUF_ERROR);
|
1994
|
+
}
|
1995
|
+
|
1996
|
+
/* User must not provide more input after the first FINISH: */
|
1997
|
+
if (s.status === FINISH_STATE && strm.avail_in !== 0) {
|
1998
|
+
return err(strm, Z_BUF_ERROR);
|
1999
|
+
}
|
2000
|
+
|
2001
|
+
/* Start a new block or continue the current one.
|
2002
|
+
*/
|
2003
|
+
if (strm.avail_in !== 0 || s.lookahead !== 0 ||
|
2004
|
+
(flush !== Z_NO_FLUSH && s.status !== FINISH_STATE)) {
|
2005
|
+
var bstate = (s.strategy === Z_HUFFMAN_ONLY) ? deflate_huff(s, flush) :
|
2006
|
+
(s.strategy === Z_RLE ? deflate_rle(s, flush) :
|
2007
|
+
configuration_table[s.level].func(s, flush));
|
2008
|
+
|
2009
|
+
if (bstate === BS_FINISH_STARTED || bstate === BS_FINISH_DONE) {
|
2010
|
+
s.status = FINISH_STATE;
|
2011
|
+
}
|
2012
|
+
if (bstate === BS_NEED_MORE || bstate === BS_FINISH_STARTED) {
|
2013
|
+
if (strm.avail_out === 0) {
|
2014
|
+
s.last_flush = -1;
|
2015
|
+
/* avoid BUF_ERROR next call, see above */
|
2016
|
+
}
|
2017
|
+
return Z_OK;
|
2018
|
+
/* If flush != Z_NO_FLUSH && avail_out == 0, the next call
|
2019
|
+
* of deflate should use the same flush parameter to make sure
|
2020
|
+
* that the flush is complete. So we don't have to output an
|
2021
|
+
* empty block here, this will be done at next call. This also
|
2022
|
+
* ensures that for a very small output buffer, we emit at most
|
2023
|
+
* one empty block.
|
2024
|
+
*/
|
2025
|
+
}
|
2026
|
+
if (bstate === BS_BLOCK_DONE) {
|
2027
|
+
if (flush === Z_PARTIAL_FLUSH) {
|
2028
|
+
trees._tr_align(s);
|
2029
|
+
}
|
2030
|
+
else if (flush !== Z_BLOCK) { /* FULL_FLUSH or SYNC_FLUSH */
|
2031
|
+
|
2032
|
+
trees._tr_stored_block(s, 0, 0, false);
|
2033
|
+
/* For a full flush, this empty block will be recognized
|
2034
|
+
* as a special marker by inflate_sync().
|
2035
|
+
*/
|
2036
|
+
if (flush === Z_FULL_FLUSH) {
|
2037
|
+
/*** CLEAR_HASH(s); ***/ /* forget history */
|
2038
|
+
zero(s.head); // Fill with NIL (= 0);
|
2039
|
+
|
2040
|
+
if (s.lookahead === 0) {
|
2041
|
+
s.strstart = 0;
|
2042
|
+
s.block_start = 0;
|
2043
|
+
s.insert = 0;
|
2044
|
+
}
|
2045
|
+
}
|
2046
|
+
}
|
2047
|
+
flush_pending(strm);
|
2048
|
+
if (strm.avail_out === 0) {
|
2049
|
+
s.last_flush = -1; /* avoid BUF_ERROR at next call, see above */
|
2050
|
+
return Z_OK;
|
2051
|
+
}
|
2052
|
+
}
|
2053
|
+
}
|
2054
|
+
//Assert(strm->avail_out > 0, "bug2");
|
2055
|
+
//if (strm.avail_out <= 0) { throw new Error("bug2");}
|
2056
|
+
|
2057
|
+
if (flush !== Z_FINISH) { return Z_OK; }
|
2058
|
+
if (s.wrap <= 0) { return Z_STREAM_END; }
|
2059
|
+
|
2060
|
+
/* Write the trailer */
|
2061
|
+
if (s.wrap === 2) {
|
2062
|
+
put_byte(s, strm.adler & 0xff);
|
2063
|
+
put_byte(s, (strm.adler >> 8) & 0xff);
|
2064
|
+
put_byte(s, (strm.adler >> 16) & 0xff);
|
2065
|
+
put_byte(s, (strm.adler >> 24) & 0xff);
|
2066
|
+
put_byte(s, strm.total_in & 0xff);
|
2067
|
+
put_byte(s, (strm.total_in >> 8) & 0xff);
|
2068
|
+
put_byte(s, (strm.total_in >> 16) & 0xff);
|
2069
|
+
put_byte(s, (strm.total_in >> 24) & 0xff);
|
2070
|
+
}
|
2071
|
+
else
|
2072
|
+
{
|
2073
|
+
putShortMSB(s, strm.adler >>> 16);
|
2074
|
+
putShortMSB(s, strm.adler & 0xffff);
|
2075
|
+
}
|
2076
|
+
|
2077
|
+
flush_pending(strm);
|
2078
|
+
/* If avail_out is zero, the application will call deflate again
|
2079
|
+
* to flush the rest.
|
2080
|
+
*/
|
2081
|
+
if (s.wrap > 0) { s.wrap = -s.wrap; }
|
2082
|
+
/* write the trailer only once! */
|
2083
|
+
return s.pending !== 0 ? Z_OK : Z_STREAM_END;
|
2084
|
+
}
|
2085
|
+
|
2086
|
+
function deflateEnd(strm) {
|
2087
|
+
var status;
|
2088
|
+
|
2089
|
+
if (!strm/*== Z_NULL*/ || !strm.state/*== Z_NULL*/) {
|
2090
|
+
return Z_STREAM_ERROR;
|
2091
|
+
}
|
2092
|
+
|
2093
|
+
status = strm.state.status;
|
2094
|
+
if (status !== INIT_STATE &&
|
2095
|
+
status !== EXTRA_STATE &&
|
2096
|
+
status !== NAME_STATE &&
|
2097
|
+
status !== COMMENT_STATE &&
|
2098
|
+
status !== HCRC_STATE &&
|
2099
|
+
status !== BUSY_STATE &&
|
2100
|
+
status !== FINISH_STATE
|
2101
|
+
) {
|
2102
|
+
return err(strm, Z_STREAM_ERROR);
|
2103
|
+
}
|
2104
|
+
|
2105
|
+
strm.state = null;
|
2106
|
+
|
2107
|
+
return status === BUSY_STATE ? err(strm, Z_DATA_ERROR) : Z_OK;
|
2108
|
+
}
|
2109
|
+
|
2110
|
+
/* =========================================================================
|
2111
|
+
* Copy the source state to the destination state
|
2112
|
+
*/
|
2113
|
+
//function deflateCopy(dest, source) {
|
2114
|
+
//
|
2115
|
+
//}
|
2116
|
+
|
2117
|
+
exports.deflateInit = deflateInit;
|
2118
|
+
exports.deflateInit2 = deflateInit2;
|
2119
|
+
exports.deflateReset = deflateReset;
|
2120
|
+
exports.deflateResetKeep = deflateResetKeep;
|
2121
|
+
exports.deflateSetHeader = deflateSetHeader;
|
2122
|
+
exports.deflate = deflate;
|
2123
|
+
exports.deflateEnd = deflateEnd;
|
2124
|
+
exports.deflateInfo = 'pako deflate (from Nodeca project)';
|
2125
|
+
|
2126
|
+
/* Not implemented
|
2127
|
+
exports.deflateBound = deflateBound;
|
2128
|
+
exports.deflateCopy = deflateCopy;
|
2129
|
+
exports.deflateSetDictionary = deflateSetDictionary;
|
2130
|
+
exports.deflateParams = deflateParams;
|
2131
|
+
exports.deflatePending = deflatePending;
|
2132
|
+
exports.deflatePrime = deflatePrime;
|
2133
|
+
exports.deflateTune = deflateTune;
|
2134
|
+
*/
|
2135
|
+
|
2136
|
+
},{"../utils/common":1,"./adler32":3,"./crc32":4,"./messages":6,"./trees":7}],6:[function(require,module,exports){
|
2137
|
+
'use strict';
|
2138
|
+
|
2139
|
+
module.exports = {
|
2140
|
+
'2': 'need dictionary', /* Z_NEED_DICT 2 */
|
2141
|
+
'1': 'stream end', /* Z_STREAM_END 1 */
|
2142
|
+
'0': '', /* Z_OK 0 */
|
2143
|
+
'-1': 'file error', /* Z_ERRNO (-1) */
|
2144
|
+
'-2': 'stream error', /* Z_STREAM_ERROR (-2) */
|
2145
|
+
'-3': 'data error', /* Z_DATA_ERROR (-3) */
|
2146
|
+
'-4': 'insufficient memory', /* Z_MEM_ERROR (-4) */
|
2147
|
+
'-5': 'buffer error', /* Z_BUF_ERROR (-5) */
|
2148
|
+
'-6': 'incompatible version' /* Z_VERSION_ERROR (-6) */
|
2149
|
+
};
|
2150
|
+
|
2151
|
+
},{}],7:[function(require,module,exports){
|
2152
|
+
'use strict';
|
2153
|
+
|
2154
|
+
|
2155
|
+
var utils = require('../utils/common');
|
2156
|
+
|
2157
|
+
/* Public constants ==========================================================*/
|
2158
|
+
/* ===========================================================================*/
|
2159
|
+
|
2160
|
+
|
2161
|
+
//var Z_FILTERED = 1;
|
2162
|
+
//var Z_HUFFMAN_ONLY = 2;
|
2163
|
+
//var Z_RLE = 3;
|
2164
|
+
var Z_FIXED = 4;
|
2165
|
+
//var Z_DEFAULT_STRATEGY = 0;
|
2166
|
+
|
2167
|
+
/* Possible values of the data_type field (though see inflate()) */
|
2168
|
+
var Z_BINARY = 0;
|
2169
|
+
var Z_TEXT = 1;
|
2170
|
+
//var Z_ASCII = 1; // = Z_TEXT
|
2171
|
+
var Z_UNKNOWN = 2;
|
2172
|
+
|
2173
|
+
/*============================================================================*/
|
2174
|
+
|
2175
|
+
|
2176
|
+
function zero(buf) { var len = buf.length; while (--len >= 0) { buf[len] = 0; } }
|
2177
|
+
|
2178
|
+
// From zutil.h
|
2179
|
+
|
2180
|
+
var STORED_BLOCK = 0;
|
2181
|
+
var STATIC_TREES = 1;
|
2182
|
+
var DYN_TREES = 2;
|
2183
|
+
/* The three kinds of block type */
|
2184
|
+
|
2185
|
+
var MIN_MATCH = 3;
|
2186
|
+
var MAX_MATCH = 258;
|
2187
|
+
/* The minimum and maximum match lengths */
|
2188
|
+
|
2189
|
+
// From deflate.h
|
2190
|
+
/* ===========================================================================
|
2191
|
+
* Internal compression state.
|
2192
|
+
*/
|
2193
|
+
|
2194
|
+
var LENGTH_CODES = 29;
|
2195
|
+
/* number of length codes, not counting the special END_BLOCK code */
|
2196
|
+
|
2197
|
+
var LITERALS = 256;
|
2198
|
+
/* number of literal bytes 0..255 */
|
2199
|
+
|
2200
|
+
var L_CODES = LITERALS + 1 + LENGTH_CODES;
|
2201
|
+
/* number of Literal or Length codes, including the END_BLOCK code */
|
2202
|
+
|
2203
|
+
var D_CODES = 30;
|
2204
|
+
/* number of distance codes */
|
2205
|
+
|
2206
|
+
var BL_CODES = 19;
|
2207
|
+
/* number of codes used to transfer the bit lengths */
|
2208
|
+
|
2209
|
+
var HEAP_SIZE = 2*L_CODES + 1;
|
2210
|
+
/* maximum heap size */
|
2211
|
+
|
2212
|
+
var MAX_BITS = 15;
|
2213
|
+
/* All codes must not exceed MAX_BITS bits */
|
2214
|
+
|
2215
|
+
var Buf_size = 16;
|
2216
|
+
/* size of bit buffer in bi_buf */
|
2217
|
+
|
2218
|
+
|
2219
|
+
/* ===========================================================================
|
2220
|
+
* Constants
|
2221
|
+
*/
|
2222
|
+
|
2223
|
+
var MAX_BL_BITS = 7;
|
2224
|
+
/* Bit length codes must not exceed MAX_BL_BITS bits */
|
2225
|
+
|
2226
|
+
var END_BLOCK = 256;
|
2227
|
+
/* end of block literal code */
|
2228
|
+
|
2229
|
+
var REP_3_6 = 16;
|
2230
|
+
/* repeat previous bit length 3-6 times (2 bits of repeat count) */
|
2231
|
+
|
2232
|
+
var REPZ_3_10 = 17;
|
2233
|
+
/* repeat a zero length 3-10 times (3 bits of repeat count) */
|
2234
|
+
|
2235
|
+
var REPZ_11_138 = 18;
|
2236
|
+
/* repeat a zero length 11-138 times (7 bits of repeat count) */
|
2237
|
+
|
2238
|
+
var extra_lbits = /* extra bits for each length code */
|
2239
|
+
[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0];
|
2240
|
+
|
2241
|
+
var extra_dbits = /* extra bits for each distance code */
|
2242
|
+
[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13];
|
2243
|
+
|
2244
|
+
var extra_blbits = /* extra bits for each bit length code */
|
2245
|
+
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7];
|
2246
|
+
|
2247
|
+
var bl_order =
|
2248
|
+
[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];
|
2249
|
+
/* The lengths of the bit length codes are sent in order of decreasing
|
2250
|
+
* probability, to avoid transmitting the lengths for unused bit length codes.
|
2251
|
+
*/
|
2252
|
+
|
2253
|
+
/* ===========================================================================
|
2254
|
+
* Local data. These are initialized only once.
|
2255
|
+
*/
|
2256
|
+
|
2257
|
+
// We pre-fill arrays with 0 to avoid uninitialized gaps
|
2258
|
+
|
2259
|
+
var DIST_CODE_LEN = 512; /* see definition of array dist_code below */
|
2260
|
+
|
2261
|
+
// !!!! Use flat array insdead of structure, Freq = i*2, Len = i*2+1
|
2262
|
+
var static_ltree = new Array((L_CODES+2) * 2);
|
2263
|
+
zero(static_ltree);
|
2264
|
+
/* The static literal tree. Since the bit lengths are imposed, there is no
|
2265
|
+
* need for the L_CODES extra codes used during heap construction. However
|
2266
|
+
* The codes 286 and 287 are needed to build a canonical tree (see _tr_init
|
2267
|
+
* below).
|
2268
|
+
*/
|
2269
|
+
|
2270
|
+
var static_dtree = new Array(D_CODES * 2);
|
2271
|
+
zero(static_dtree);
|
2272
|
+
/* The static distance tree. (Actually a trivial tree since all codes use
|
2273
|
+
* 5 bits.)
|
2274
|
+
*/
|
2275
|
+
|
2276
|
+
var _dist_code = new Array(DIST_CODE_LEN);
|
2277
|
+
zero(_dist_code);
|
2278
|
+
/* Distance codes. The first 256 values correspond to the distances
|
2279
|
+
* 3 .. 258, the last 256 values correspond to the top 8 bits of
|
2280
|
+
* the 15 bit distances.
|
2281
|
+
*/
|
2282
|
+
|
2283
|
+
var _length_code = new Array(MAX_MATCH-MIN_MATCH+1);
|
2284
|
+
zero(_length_code);
|
2285
|
+
/* length code for each normalized match length (0 == MIN_MATCH) */
|
2286
|
+
|
2287
|
+
var base_length = new Array(LENGTH_CODES);
|
2288
|
+
zero(base_length);
|
2289
|
+
/* First normalized length for each code (0 = MIN_MATCH) */
|
2290
|
+
|
2291
|
+
var base_dist = new Array(D_CODES);
|
2292
|
+
zero(base_dist);
|
2293
|
+
/* First normalized distance for each code (0 = distance of 1) */
|
2294
|
+
|
2295
|
+
|
2296
|
+
var StaticTreeDesc = function (static_tree, extra_bits, extra_base, elems, max_length) {
|
2297
|
+
|
2298
|
+
this.static_tree = static_tree; /* static tree or NULL */
|
2299
|
+
this.extra_bits = extra_bits; /* extra bits for each code or NULL */
|
2300
|
+
this.extra_base = extra_base; /* base index for extra_bits */
|
2301
|
+
this.elems = elems; /* max number of elements in the tree */
|
2302
|
+
this.max_length = max_length; /* max bit length for the codes */
|
2303
|
+
|
2304
|
+
// show if `static_tree` has data or dummy - needed for monomorphic objects
|
2305
|
+
this.has_stree = static_tree && static_tree.length;
|
2306
|
+
};
|
2307
|
+
|
2308
|
+
|
2309
|
+
var static_l_desc;
|
2310
|
+
var static_d_desc;
|
2311
|
+
var static_bl_desc;
|
2312
|
+
|
2313
|
+
|
2314
|
+
var TreeDesc = function(dyn_tree, stat_desc) {
|
2315
|
+
this.dyn_tree = dyn_tree; /* the dynamic tree */
|
2316
|
+
this.max_code = 0; /* largest code with non zero frequency */
|
2317
|
+
this.stat_desc = stat_desc; /* the corresponding static tree */
|
2318
|
+
};
|
2319
|
+
|
2320
|
+
|
2321
|
+
|
2322
|
+
function d_code(dist) {
|
2323
|
+
return dist < 256 ? _dist_code[dist] : _dist_code[256 + (dist >>> 7)];
|
2324
|
+
}
|
2325
|
+
|
2326
|
+
|
2327
|
+
/* ===========================================================================
|
2328
|
+
* Output a short LSB first on the stream.
|
2329
|
+
* IN assertion: there is enough room in pendingBuf.
|
2330
|
+
*/
|
2331
|
+
function put_short (s, w) {
|
2332
|
+
// put_byte(s, (uch)((w) & 0xff));
|
2333
|
+
// put_byte(s, (uch)((ush)(w) >> 8));
|
2334
|
+
s.pending_buf[s.pending++] = (w) & 0xff;
|
2335
|
+
s.pending_buf[s.pending++] = (w >>> 8) & 0xff;
|
2336
|
+
}
|
2337
|
+
|
2338
|
+
|
2339
|
+
/* ===========================================================================
|
2340
|
+
* Send a value on a given number of bits.
|
2341
|
+
* IN assertion: length <= 16 and value fits in length bits.
|
2342
|
+
*/
|
2343
|
+
function send_bits(s, value, length) {
|
2344
|
+
if (s.bi_valid > (Buf_size - length)) {
|
2345
|
+
s.bi_buf |= (value << s.bi_valid) & 0xffff;
|
2346
|
+
put_short(s, s.bi_buf);
|
2347
|
+
s.bi_buf = value >> (Buf_size - s.bi_valid);
|
2348
|
+
s.bi_valid += length - Buf_size;
|
2349
|
+
} else {
|
2350
|
+
s.bi_buf |= (value << s.bi_valid) & 0xffff;
|
2351
|
+
s.bi_valid += length;
|
2352
|
+
}
|
2353
|
+
}
|
2354
|
+
|
2355
|
+
|
2356
|
+
function send_code(s, c, tree) {
|
2357
|
+
send_bits(s, tree[c*2]/*.Code*/, tree[c*2 + 1]/*.Len*/);
|
2358
|
+
}
|
2359
|
+
|
2360
|
+
|
2361
|
+
/* ===========================================================================
|
2362
|
+
* Reverse the first len bits of a code, using straightforward code (a faster
|
2363
|
+
* method would use a table)
|
2364
|
+
* IN assertion: 1 <= len <= 15
|
2365
|
+
*/
|
2366
|
+
function bi_reverse(code, len) {
|
2367
|
+
var res = 0;
|
2368
|
+
do {
|
2369
|
+
res |= code & 1;
|
2370
|
+
code >>>= 1;
|
2371
|
+
res <<= 1;
|
2372
|
+
} while (--len > 0);
|
2373
|
+
return res >>> 1;
|
2374
|
+
}
|
2375
|
+
|
2376
|
+
|
2377
|
+
/* ===========================================================================
|
2378
|
+
* Flush the bit buffer, keeping at most 7 bits in it.
|
2379
|
+
*/
|
2380
|
+
function bi_flush(s) {
|
2381
|
+
if (s.bi_valid === 16) {
|
2382
|
+
put_short(s, s.bi_buf);
|
2383
|
+
s.bi_buf = 0;
|
2384
|
+
s.bi_valid = 0;
|
2385
|
+
|
2386
|
+
} else if (s.bi_valid >= 8) {
|
2387
|
+
s.pending_buf[s.pending++] = s.bi_buf & 0xff;
|
2388
|
+
s.bi_buf >>= 8;
|
2389
|
+
s.bi_valid -= 8;
|
2390
|
+
}
|
2391
|
+
}
|
2392
|
+
|
2393
|
+
|
2394
|
+
/* ===========================================================================
|
2395
|
+
* Compute the optimal bit lengths for a tree and update the total bit length
|
2396
|
+
* for the current block.
|
2397
|
+
* IN assertion: the fields freq and dad are set, heap[heap_max] and
|
2398
|
+
* above are the tree nodes sorted by increasing frequency.
|
2399
|
+
* OUT assertions: the field len is set to the optimal bit length, the
|
2400
|
+
* array bl_count contains the frequencies for each bit length.
|
2401
|
+
* The length opt_len is updated; static_len is also updated if stree is
|
2402
|
+
* not null.
|
2403
|
+
*/
|
2404
|
+
function gen_bitlen(s, desc)
|
2405
|
+
// deflate_state *s;
|
2406
|
+
// tree_desc *desc; /* the tree descriptor */
|
2407
|
+
{
|
2408
|
+
var tree = desc.dyn_tree;
|
2409
|
+
var max_code = desc.max_code;
|
2410
|
+
var stree = desc.stat_desc.static_tree;
|
2411
|
+
var has_stree = desc.stat_desc.has_stree;
|
2412
|
+
var extra = desc.stat_desc.extra_bits;
|
2413
|
+
var base = desc.stat_desc.extra_base;
|
2414
|
+
var max_length = desc.stat_desc.max_length;
|
2415
|
+
var h; /* heap index */
|
2416
|
+
var n, m; /* iterate over the tree elements */
|
2417
|
+
var bits; /* bit length */
|
2418
|
+
var xbits; /* extra bits */
|
2419
|
+
var f; /* frequency */
|
2420
|
+
var overflow = 0; /* number of elements with bit length too large */
|
2421
|
+
|
2422
|
+
for (bits = 0; bits <= MAX_BITS; bits++) {
|
2423
|
+
s.bl_count[bits] = 0;
|
2424
|
+
}
|
2425
|
+
|
2426
|
+
/* In a first pass, compute the optimal bit lengths (which may
|
2427
|
+
* overflow in the case of the bit length tree).
|
2428
|
+
*/
|
2429
|
+
tree[s.heap[s.heap_max]*2 + 1]/*.Len*/ = 0; /* root of the heap */
|
2430
|
+
|
2431
|
+
for (h = s.heap_max+1; h < HEAP_SIZE; h++) {
|
2432
|
+
n = s.heap[h];
|
2433
|
+
bits = tree[tree[n*2 +1]/*.Dad*/ * 2 + 1]/*.Len*/ + 1;
|
2434
|
+
if (bits > max_length) {
|
2435
|
+
bits = max_length;
|
2436
|
+
overflow++;
|
2437
|
+
}
|
2438
|
+
tree[n*2 + 1]/*.Len*/ = bits;
|
2439
|
+
/* We overwrite tree[n].Dad which is no longer needed */
|
2440
|
+
|
2441
|
+
if (n > max_code) { continue; } /* not a leaf node */
|
2442
|
+
|
2443
|
+
s.bl_count[bits]++;
|
2444
|
+
xbits = 0;
|
2445
|
+
if (n >= base) {
|
2446
|
+
xbits = extra[n-base];
|
2447
|
+
}
|
2448
|
+
f = tree[n * 2]/*.Freq*/;
|
2449
|
+
s.opt_len += f * (bits + xbits);
|
2450
|
+
if (has_stree) {
|
2451
|
+
s.static_len += f * (stree[n*2 + 1]/*.Len*/ + xbits);
|
2452
|
+
}
|
2453
|
+
}
|
2454
|
+
if (overflow === 0) { return; }
|
2455
|
+
|
2456
|
+
// Trace((stderr,"\nbit length overflow\n"));
|
2457
|
+
/* This happens for example on obj2 and pic of the Calgary corpus */
|
2458
|
+
|
2459
|
+
/* Find the first bit length which could increase: */
|
2460
|
+
do {
|
2461
|
+
bits = max_length-1;
|
2462
|
+
while (s.bl_count[bits] === 0) { bits--; }
|
2463
|
+
s.bl_count[bits]--; /* move one leaf down the tree */
|
2464
|
+
s.bl_count[bits+1] += 2; /* move one overflow item as its brother */
|
2465
|
+
s.bl_count[max_length]--;
|
2466
|
+
/* The brother of the overflow item also moves one step up,
|
2467
|
+
* but this does not affect bl_count[max_length]
|
2468
|
+
*/
|
2469
|
+
overflow -= 2;
|
2470
|
+
} while (overflow > 0);
|
2471
|
+
|
2472
|
+
/* Now recompute all bit lengths, scanning in increasing frequency.
|
2473
|
+
* h is still equal to HEAP_SIZE. (It is simpler to reconstruct all
|
2474
|
+
* lengths instead of fixing only the wrong ones. This idea is taken
|
2475
|
+
* from 'ar' written by Haruhiko Okumura.)
|
2476
|
+
*/
|
2477
|
+
for (bits = max_length; bits !== 0; bits--) {
|
2478
|
+
n = s.bl_count[bits];
|
2479
|
+
while (n !== 0) {
|
2480
|
+
m = s.heap[--h];
|
2481
|
+
if (m > max_code) { continue; }
|
2482
|
+
if (tree[m*2 + 1]/*.Len*/ !== bits) {
|
2483
|
+
// Trace((stderr,"code %d bits %d->%d\n", m, tree[m].Len, bits));
|
2484
|
+
s.opt_len += (bits - tree[m*2 + 1]/*.Len*/)*tree[m*2]/*.Freq*/;
|
2485
|
+
tree[m*2 + 1]/*.Len*/ = bits;
|
2486
|
+
}
|
2487
|
+
n--;
|
2488
|
+
}
|
2489
|
+
}
|
2490
|
+
}
|
2491
|
+
|
2492
|
+
|
2493
|
+
/* ===========================================================================
|
2494
|
+
* Generate the codes for a given tree and bit counts (which need not be
|
2495
|
+
* optimal).
|
2496
|
+
* IN assertion: the array bl_count contains the bit length statistics for
|
2497
|
+
* the given tree and the field len is set for all tree elements.
|
2498
|
+
* OUT assertion: the field code is set for all tree elements of non
|
2499
|
+
* zero code length.
|
2500
|
+
*/
|
2501
|
+
function gen_codes(tree, max_code, bl_count)
|
2502
|
+
// ct_data *tree; /* the tree to decorate */
|
2503
|
+
// int max_code; /* largest code with non zero frequency */
|
2504
|
+
// ushf *bl_count; /* number of codes at each bit length */
|
2505
|
+
{
|
2506
|
+
var next_code = new Array(MAX_BITS+1); /* next code value for each bit length */
|
2507
|
+
var code = 0; /* running code value */
|
2508
|
+
var bits; /* bit index */
|
2509
|
+
var n; /* code index */
|
2510
|
+
|
2511
|
+
/* The distribution counts are first used to generate the code values
|
2512
|
+
* without bit reversal.
|
2513
|
+
*/
|
2514
|
+
for (bits = 1; bits <= MAX_BITS; bits++) {
|
2515
|
+
next_code[bits] = code = (code + bl_count[bits-1]) << 1;
|
2516
|
+
}
|
2517
|
+
/* Check that the bit counts in bl_count are consistent. The last code
|
2518
|
+
* must be all ones.
|
2519
|
+
*/
|
2520
|
+
//Assert (code + bl_count[MAX_BITS]-1 == (1<<MAX_BITS)-1,
|
2521
|
+
// "inconsistent bit counts");
|
2522
|
+
//Tracev((stderr,"\ngen_codes: max_code %d ", max_code));
|
2523
|
+
|
2524
|
+
for (n = 0; n <= max_code; n++) {
|
2525
|
+
var len = tree[n*2 + 1]/*.Len*/;
|
2526
|
+
if (len === 0) { continue; }
|
2527
|
+
/* Now reverse the bits */
|
2528
|
+
tree[n*2]/*.Code*/ = bi_reverse(next_code[len]++, len);
|
2529
|
+
|
2530
|
+
//Tracecv(tree != static_ltree, (stderr,"\nn %3d %c l %2d c %4x (%x) ",
|
2531
|
+
// n, (isgraph(n) ? n : ' '), len, tree[n].Code, next_code[len]-1));
|
2532
|
+
}
|
2533
|
+
}
|
2534
|
+
|
2535
|
+
|
2536
|
+
/* ===========================================================================
|
2537
|
+
* Initialize the various 'constant' tables.
|
2538
|
+
*/
|
2539
|
+
function tr_static_init() {
|
2540
|
+
var n; /* iterates over tree elements */
|
2541
|
+
var bits; /* bit counter */
|
2542
|
+
var length; /* length value */
|
2543
|
+
var code; /* code value */
|
2544
|
+
var dist; /* distance index */
|
2545
|
+
var bl_count = new Array(MAX_BITS+1);
|
2546
|
+
/* number of codes at each bit length for an optimal tree */
|
2547
|
+
|
2548
|
+
// do check in _tr_init()
|
2549
|
+
//if (static_init_done) return;
|
2550
|
+
|
2551
|
+
/* For some embedded targets, global variables are not initialized: */
|
2552
|
+
/*#ifdef NO_INIT_GLOBAL_POINTERS
|
2553
|
+
static_l_desc.static_tree = static_ltree;
|
2554
|
+
static_l_desc.extra_bits = extra_lbits;
|
2555
|
+
static_d_desc.static_tree = static_dtree;
|
2556
|
+
static_d_desc.extra_bits = extra_dbits;
|
2557
|
+
static_bl_desc.extra_bits = extra_blbits;
|
2558
|
+
#endif*/
|
2559
|
+
|
2560
|
+
/* Initialize the mapping length (0..255) -> length code (0..28) */
|
2561
|
+
length = 0;
|
2562
|
+
for (code = 0; code < LENGTH_CODES-1; code++) {
|
2563
|
+
base_length[code] = length;
|
2564
|
+
for (n = 0; n < (1<<extra_lbits[code]); n++) {
|
2565
|
+
_length_code[length++] = code;
|
2566
|
+
}
|
2567
|
+
}
|
2568
|
+
//Assert (length == 256, "tr_static_init: length != 256");
|
2569
|
+
/* Note that the length 255 (match length 258) can be represented
|
2570
|
+
* in two different ways: code 284 + 5 bits or code 285, so we
|
2571
|
+
* overwrite length_code[255] to use the best encoding:
|
2572
|
+
*/
|
2573
|
+
_length_code[length-1] = code;
|
2574
|
+
|
2575
|
+
/* Initialize the mapping dist (0..32K) -> dist code (0..29) */
|
2576
|
+
dist = 0;
|
2577
|
+
for (code = 0 ; code < 16; code++) {
|
2578
|
+
base_dist[code] = dist;
|
2579
|
+
for (n = 0; n < (1<<extra_dbits[code]); n++) {
|
2580
|
+
_dist_code[dist++] = code;
|
2581
|
+
}
|
2582
|
+
}
|
2583
|
+
//Assert (dist == 256, "tr_static_init: dist != 256");
|
2584
|
+
dist >>= 7; /* from now on, all distances are divided by 128 */
|
2585
|
+
for (; code < D_CODES; code++) {
|
2586
|
+
base_dist[code] = dist << 7;
|
2587
|
+
for (n = 0; n < (1<<(extra_dbits[code]-7)); n++) {
|
2588
|
+
_dist_code[256 + dist++] = code;
|
2589
|
+
}
|
2590
|
+
}
|
2591
|
+
//Assert (dist == 256, "tr_static_init: 256+dist != 512");
|
2592
|
+
|
2593
|
+
/* Construct the codes of the static literal tree */
|
2594
|
+
for (bits = 0; bits <= MAX_BITS; bits++) {
|
2595
|
+
bl_count[bits] = 0;
|
2596
|
+
}
|
2597
|
+
|
2598
|
+
n = 0;
|
2599
|
+
while (n <= 143) {
|
2600
|
+
static_ltree[n*2 + 1]/*.Len*/ = 8;
|
2601
|
+
n++;
|
2602
|
+
bl_count[8]++;
|
2603
|
+
}
|
2604
|
+
while (n <= 255) {
|
2605
|
+
static_ltree[n*2 + 1]/*.Len*/ = 9;
|
2606
|
+
n++;
|
2607
|
+
bl_count[9]++;
|
2608
|
+
}
|
2609
|
+
while (n <= 279) {
|
2610
|
+
static_ltree[n*2 + 1]/*.Len*/ = 7;
|
2611
|
+
n++;
|
2612
|
+
bl_count[7]++;
|
2613
|
+
}
|
2614
|
+
while (n <= 287) {
|
2615
|
+
static_ltree[n*2 + 1]/*.Len*/ = 8;
|
2616
|
+
n++;
|
2617
|
+
bl_count[8]++;
|
2618
|
+
}
|
2619
|
+
/* Codes 286 and 287 do not exist, but we must include them in the
|
2620
|
+
* tree construction to get a canonical Huffman tree (longest code
|
2621
|
+
* all ones)
|
2622
|
+
*/
|
2623
|
+
gen_codes(static_ltree, L_CODES+1, bl_count);
|
2624
|
+
|
2625
|
+
/* The static distance tree is trivial: */
|
2626
|
+
for (n = 0; n < D_CODES; n++) {
|
2627
|
+
static_dtree[n*2 + 1]/*.Len*/ = 5;
|
2628
|
+
static_dtree[n*2]/*.Code*/ = bi_reverse(n, 5);
|
2629
|
+
}
|
2630
|
+
|
2631
|
+
// Now data ready and we can init static trees
|
2632
|
+
static_l_desc = new StaticTreeDesc(static_ltree, extra_lbits, LITERALS+1, L_CODES, MAX_BITS);
|
2633
|
+
static_d_desc = new StaticTreeDesc(static_dtree, extra_dbits, 0, D_CODES, MAX_BITS);
|
2634
|
+
static_bl_desc =new StaticTreeDesc(new Array(0), extra_blbits, 0, BL_CODES, MAX_BL_BITS);
|
2635
|
+
|
2636
|
+
//static_init_done = true;
|
2637
|
+
}
|
2638
|
+
|
2639
|
+
|
2640
|
+
/* ===========================================================================
|
2641
|
+
* Initialize a new block.
|
2642
|
+
*/
|
2643
|
+
function init_block(s) {
|
2644
|
+
var n; /* iterates over tree elements */
|
2645
|
+
|
2646
|
+
/* Initialize the trees. */
|
2647
|
+
for (n = 0; n < L_CODES; n++) { s.dyn_ltree[n*2]/*.Freq*/ = 0; }
|
2648
|
+
for (n = 0; n < D_CODES; n++) { s.dyn_dtree[n*2]/*.Freq*/ = 0; }
|
2649
|
+
for (n = 0; n < BL_CODES; n++) { s.bl_tree[n*2]/*.Freq*/ = 0; }
|
2650
|
+
|
2651
|
+
s.dyn_ltree[END_BLOCK*2]/*.Freq*/ = 1;
|
2652
|
+
s.opt_len = s.static_len = 0;
|
2653
|
+
s.last_lit = s.matches = 0;
|
2654
|
+
}
|
2655
|
+
|
2656
|
+
|
2657
|
+
/* ===========================================================================
|
2658
|
+
* Flush the bit buffer and align the output on a byte boundary
|
2659
|
+
*/
|
2660
|
+
function bi_windup(s)
|
2661
|
+
{
|
2662
|
+
if (s.bi_valid > 8) {
|
2663
|
+
put_short(s, s.bi_buf);
|
2664
|
+
} else if (s.bi_valid > 0) {
|
2665
|
+
//put_byte(s, (Byte)s->bi_buf);
|
2666
|
+
s.pending_buf[s.pending++] = s.bi_buf;
|
2667
|
+
}
|
2668
|
+
s.bi_buf = 0;
|
2669
|
+
s.bi_valid = 0;
|
2670
|
+
}
|
2671
|
+
|
2672
|
+
/* ===========================================================================
|
2673
|
+
* Copy a stored block, storing first the length and its
|
2674
|
+
* one's complement if requested.
|
2675
|
+
*/
|
2676
|
+
function copy_block(s, buf, len, header)
|
2677
|
+
//DeflateState *s;
|
2678
|
+
//charf *buf; /* the input data */
|
2679
|
+
//unsigned len; /* its length */
|
2680
|
+
//int header; /* true if block header must be written */
|
2681
|
+
{
|
2682
|
+
bi_windup(s); /* align on byte boundary */
|
2683
|
+
|
2684
|
+
if (header) {
|
2685
|
+
put_short(s, len);
|
2686
|
+
put_short(s, ~len);
|
2687
|
+
}
|
2688
|
+
// while (len--) {
|
2689
|
+
// put_byte(s, *buf++);
|
2690
|
+
// }
|
2691
|
+
utils.arraySet(s.pending_buf, s.window, buf, len, s.pending);
|
2692
|
+
s.pending += len;
|
2693
|
+
}
|
2694
|
+
|
2695
|
+
/* ===========================================================================
|
2696
|
+
* Compares to subtrees, using the tree depth as tie breaker when
|
2697
|
+
* the subtrees have equal frequency. This minimizes the worst case length.
|
2698
|
+
*/
|
2699
|
+
function smaller(tree, n, m, depth) {
|
2700
|
+
var _n2 = n*2;
|
2701
|
+
var _m2 = m*2;
|
2702
|
+
return (tree[_n2]/*.Freq*/ < tree[_m2]/*.Freq*/ ||
|
2703
|
+
(tree[_n2]/*.Freq*/ === tree[_m2]/*.Freq*/ && depth[n] <= depth[m]));
|
2704
|
+
}
|
2705
|
+
|
2706
|
+
/* ===========================================================================
|
2707
|
+
* Restore the heap property by moving down the tree starting at node k,
|
2708
|
+
* exchanging a node with the smallest of its two sons if necessary, stopping
|
2709
|
+
* when the heap property is re-established (each father smaller than its
|
2710
|
+
* two sons).
|
2711
|
+
*/
|
2712
|
+
function pqdownheap(s, tree, k)
|
2713
|
+
// deflate_state *s;
|
2714
|
+
// ct_data *tree; /* the tree to restore */
|
2715
|
+
// int k; /* node to move down */
|
2716
|
+
{
|
2717
|
+
var v = s.heap[k];
|
2718
|
+
var j = k << 1; /* left son of k */
|
2719
|
+
while (j <= s.heap_len) {
|
2720
|
+
/* Set j to the smallest of the two sons: */
|
2721
|
+
if (j < s.heap_len &&
|
2722
|
+
smaller(tree, s.heap[j+1], s.heap[j], s.depth)) {
|
2723
|
+
j++;
|
2724
|
+
}
|
2725
|
+
/* Exit if v is smaller than both sons */
|
2726
|
+
if (smaller(tree, v, s.heap[j], s.depth)) { break; }
|
2727
|
+
|
2728
|
+
/* Exchange v with the smallest son */
|
2729
|
+
s.heap[k] = s.heap[j];
|
2730
|
+
k = j;
|
2731
|
+
|
2732
|
+
/* And continue down the tree, setting j to the left son of k */
|
2733
|
+
j <<= 1;
|
2734
|
+
}
|
2735
|
+
s.heap[k] = v;
|
2736
|
+
}
|
2737
|
+
|
2738
|
+
|
2739
|
+
// inlined manually
|
2740
|
+
// var SMALLEST = 1;
|
2741
|
+
|
2742
|
+
/* ===========================================================================
|
2743
|
+
* Send the block data compressed using the given Huffman trees
|
2744
|
+
*/
|
2745
|
+
function compress_block(s, ltree, dtree)
|
2746
|
+
// deflate_state *s;
|
2747
|
+
// const ct_data *ltree; /* literal tree */
|
2748
|
+
// const ct_data *dtree; /* distance tree */
|
2749
|
+
{
|
2750
|
+
var dist; /* distance of matched string */
|
2751
|
+
var lc; /* match length or unmatched char (if dist == 0) */
|
2752
|
+
var lx = 0; /* running index in l_buf */
|
2753
|
+
var code; /* the code to send */
|
2754
|
+
var extra; /* number of extra bits to send */
|
2755
|
+
|
2756
|
+
if (s.last_lit !== 0) {
|
2757
|
+
do {
|
2758
|
+
dist = (s.pending_buf[s.d_buf + lx*2] << 8) | (s.pending_buf[s.d_buf + lx*2 + 1]);
|
2759
|
+
lc = s.pending_buf[s.l_buf + lx];
|
2760
|
+
lx++;
|
2761
|
+
|
2762
|
+
if (dist === 0) {
|
2763
|
+
send_code(s, lc, ltree); /* send a literal byte */
|
2764
|
+
//Tracecv(isgraph(lc), (stderr," '%c' ", lc));
|
2765
|
+
} else {
|
2766
|
+
/* Here, lc is the match length - MIN_MATCH */
|
2767
|
+
code = _length_code[lc];
|
2768
|
+
send_code(s, code+LITERALS+1, ltree); /* send the length code */
|
2769
|
+
extra = extra_lbits[code];
|
2770
|
+
if (extra !== 0) {
|
2771
|
+
lc -= base_length[code];
|
2772
|
+
send_bits(s, lc, extra); /* send the extra length bits */
|
2773
|
+
}
|
2774
|
+
dist--; /* dist is now the match distance - 1 */
|
2775
|
+
code = d_code(dist);
|
2776
|
+
//Assert (code < D_CODES, "bad d_code");
|
2777
|
+
|
2778
|
+
send_code(s, code, dtree); /* send the distance code */
|
2779
|
+
extra = extra_dbits[code];
|
2780
|
+
if (extra !== 0) {
|
2781
|
+
dist -= base_dist[code];
|
2782
|
+
send_bits(s, dist, extra); /* send the extra distance bits */
|
2783
|
+
}
|
2784
|
+
} /* literal or match pair ? */
|
2785
|
+
|
2786
|
+
/* Check that the overlay between pending_buf and d_buf+l_buf is ok: */
|
2787
|
+
//Assert((uInt)(s->pending) < s->lit_bufsize + 2*lx,
|
2788
|
+
// "pendingBuf overflow");
|
2789
|
+
|
2790
|
+
} while (lx < s.last_lit);
|
2791
|
+
}
|
2792
|
+
|
2793
|
+
send_code(s, END_BLOCK, ltree);
|
2794
|
+
}
|
2795
|
+
|
2796
|
+
|
2797
|
+
/* ===========================================================================
|
2798
|
+
* Construct one Huffman tree and assigns the code bit strings and lengths.
|
2799
|
+
* Update the total bit length for the current block.
|
2800
|
+
* IN assertion: the field freq is set for all tree elements.
|
2801
|
+
* OUT assertions: the fields len and code are set to the optimal bit length
|
2802
|
+
* and corresponding code. The length opt_len is updated; static_len is
|
2803
|
+
* also updated if stree is not null. The field max_code is set.
|
2804
|
+
*/
|
2805
|
+
function build_tree(s, desc)
|
2806
|
+
// deflate_state *s;
|
2807
|
+
// tree_desc *desc; /* the tree descriptor */
|
2808
|
+
{
|
2809
|
+
var tree = desc.dyn_tree;
|
2810
|
+
var stree = desc.stat_desc.static_tree;
|
2811
|
+
var has_stree = desc.stat_desc.has_stree;
|
2812
|
+
var elems = desc.stat_desc.elems;
|
2813
|
+
var n, m; /* iterate over heap elements */
|
2814
|
+
var max_code = -1; /* largest code with non zero frequency */
|
2815
|
+
var node; /* new node being created */
|
2816
|
+
|
2817
|
+
/* Construct the initial heap, with least frequent element in
|
2818
|
+
* heap[SMALLEST]. The sons of heap[n] are heap[2*n] and heap[2*n+1].
|
2819
|
+
* heap[0] is not used.
|
2820
|
+
*/
|
2821
|
+
s.heap_len = 0;
|
2822
|
+
s.heap_max = HEAP_SIZE;
|
2823
|
+
|
2824
|
+
for (n = 0; n < elems; n++) {
|
2825
|
+
if (tree[n * 2]/*.Freq*/ !== 0) {
|
2826
|
+
s.heap[++s.heap_len] = max_code = n;
|
2827
|
+
s.depth[n] = 0;
|
2828
|
+
|
2829
|
+
} else {
|
2830
|
+
tree[n*2 + 1]/*.Len*/ = 0;
|
2831
|
+
}
|
2832
|
+
}
|
2833
|
+
|
2834
|
+
/* The pkzip format requires that at least one distance code exists,
|
2835
|
+
* and that at least one bit should be sent even if there is only one
|
2836
|
+
* possible code. So to avoid special checks later on we force at least
|
2837
|
+
* two codes of non zero frequency.
|
2838
|
+
*/
|
2839
|
+
while (s.heap_len < 2) {
|
2840
|
+
node = s.heap[++s.heap_len] = (max_code < 2 ? ++max_code : 0);
|
2841
|
+
tree[node * 2]/*.Freq*/ = 1;
|
2842
|
+
s.depth[node] = 0;
|
2843
|
+
s.opt_len--;
|
2844
|
+
|
2845
|
+
if (has_stree) {
|
2846
|
+
s.static_len -= stree[node*2 + 1]/*.Len*/;
|
2847
|
+
}
|
2848
|
+
/* node is 0 or 1 so it does not have extra bits */
|
2849
|
+
}
|
2850
|
+
desc.max_code = max_code;
|
2851
|
+
|
2852
|
+
/* The elements heap[heap_len/2+1 .. heap_len] are leaves of the tree,
|
2853
|
+
* establish sub-heaps of increasing lengths:
|
2854
|
+
*/
|
2855
|
+
for (n = (s.heap_len >> 1/*int /2*/); n >= 1; n--) { pqdownheap(s, tree, n); }
|
2856
|
+
|
2857
|
+
/* Construct the Huffman tree by repeatedly combining the least two
|
2858
|
+
* frequent nodes.
|
2859
|
+
*/
|
2860
|
+
node = elems; /* next internal node of the tree */
|
2861
|
+
do {
|
2862
|
+
//pqremove(s, tree, n); /* n = node of least frequency */
|
2863
|
+
/*** pqremove ***/
|
2864
|
+
n = s.heap[1/*SMALLEST*/];
|
2865
|
+
s.heap[1/*SMALLEST*/] = s.heap[s.heap_len--];
|
2866
|
+
pqdownheap(s, tree, 1/*SMALLEST*/);
|
2867
|
+
/***/
|
2868
|
+
|
2869
|
+
m = s.heap[1/*SMALLEST*/]; /* m = node of next least frequency */
|
2870
|
+
|
2871
|
+
s.heap[--s.heap_max] = n; /* keep the nodes sorted by frequency */
|
2872
|
+
s.heap[--s.heap_max] = m;
|
2873
|
+
|
2874
|
+
/* Create a new node father of n and m */
|
2875
|
+
tree[node * 2]/*.Freq*/ = tree[n * 2]/*.Freq*/ + tree[m * 2]/*.Freq*/;
|
2876
|
+
s.depth[node] = (s.depth[n] >= s.depth[m] ? s.depth[n] : s.depth[m]) + 1;
|
2877
|
+
tree[n*2 + 1]/*.Dad*/ = tree[m*2 + 1]/*.Dad*/ = node;
|
2878
|
+
|
2879
|
+
/* and insert the new node in the heap */
|
2880
|
+
s.heap[1/*SMALLEST*/] = node++;
|
2881
|
+
pqdownheap(s, tree, 1/*SMALLEST*/);
|
2882
|
+
|
2883
|
+
} while (s.heap_len >= 2);
|
2884
|
+
|
2885
|
+
s.heap[--s.heap_max] = s.heap[1/*SMALLEST*/];
|
2886
|
+
|
2887
|
+
/* At this point, the fields freq and dad are set. We can now
|
2888
|
+
* generate the bit lengths.
|
2889
|
+
*/
|
2890
|
+
gen_bitlen(s, desc);
|
2891
|
+
|
2892
|
+
/* The field len is now set, we can generate the bit codes */
|
2893
|
+
gen_codes(tree, max_code, s.bl_count);
|
2894
|
+
}
|
2895
|
+
|
2896
|
+
|
2897
|
+
/* ===========================================================================
|
2898
|
+
* Scan a literal or distance tree to determine the frequencies of the codes
|
2899
|
+
* in the bit length tree.
|
2900
|
+
*/
|
2901
|
+
function scan_tree(s, tree, max_code)
|
2902
|
+
// deflate_state *s;
|
2903
|
+
// ct_data *tree; /* the tree to be scanned */
|
2904
|
+
// int max_code; /* and its largest code of non zero frequency */
|
2905
|
+
{
|
2906
|
+
var n; /* iterates over all tree elements */
|
2907
|
+
var prevlen = -1; /* last emitted length */
|
2908
|
+
var curlen; /* length of current code */
|
2909
|
+
|
2910
|
+
var nextlen = tree[0*2 + 1]/*.Len*/; /* length of next code */
|
2911
|
+
|
2912
|
+
var count = 0; /* repeat count of the current code */
|
2913
|
+
var max_count = 7; /* max repeat count */
|
2914
|
+
var min_count = 4; /* min repeat count */
|
2915
|
+
|
2916
|
+
if (nextlen === 0) {
|
2917
|
+
max_count = 138;
|
2918
|
+
min_count = 3;
|
2919
|
+
}
|
2920
|
+
tree[(max_code+1)*2 + 1]/*.Len*/ = 0xffff; /* guard */
|
2921
|
+
|
2922
|
+
for (n = 0; n <= max_code; n++) {
|
2923
|
+
curlen = nextlen;
|
2924
|
+
nextlen = tree[(n+1)*2 + 1]/*.Len*/;
|
2925
|
+
|
2926
|
+
if (++count < max_count && curlen === nextlen) {
|
2927
|
+
continue;
|
2928
|
+
|
2929
|
+
} else if (count < min_count) {
|
2930
|
+
s.bl_tree[curlen * 2]/*.Freq*/ += count;
|
2931
|
+
|
2932
|
+
} else if (curlen !== 0) {
|
2933
|
+
|
2934
|
+
if (curlen !== prevlen) { s.bl_tree[curlen * 2]/*.Freq*/++; }
|
2935
|
+
s.bl_tree[REP_3_6*2]/*.Freq*/++;
|
2936
|
+
|
2937
|
+
} else if (count <= 10) {
|
2938
|
+
s.bl_tree[REPZ_3_10*2]/*.Freq*/++;
|
2939
|
+
|
2940
|
+
} else {
|
2941
|
+
s.bl_tree[REPZ_11_138*2]/*.Freq*/++;
|
2942
|
+
}
|
2943
|
+
|
2944
|
+
count = 0;
|
2945
|
+
prevlen = curlen;
|
2946
|
+
|
2947
|
+
if (nextlen === 0) {
|
2948
|
+
max_count = 138;
|
2949
|
+
min_count = 3;
|
2950
|
+
|
2951
|
+
} else if (curlen === nextlen) {
|
2952
|
+
max_count = 6;
|
2953
|
+
min_count = 3;
|
2954
|
+
|
2955
|
+
} else {
|
2956
|
+
max_count = 7;
|
2957
|
+
min_count = 4;
|
2958
|
+
}
|
2959
|
+
}
|
2960
|
+
}
|
2961
|
+
|
2962
|
+
|
2963
|
+
/* ===========================================================================
|
2964
|
+
* Send a literal or distance tree in compressed form, using the codes in
|
2965
|
+
* bl_tree.
|
2966
|
+
*/
|
2967
|
+
function send_tree(s, tree, max_code)
|
2968
|
+
// deflate_state *s;
|
2969
|
+
// ct_data *tree; /* the tree to be scanned */
|
2970
|
+
// int max_code; /* and its largest code of non zero frequency */
|
2971
|
+
{
|
2972
|
+
var n; /* iterates over all tree elements */
|
2973
|
+
var prevlen = -1; /* last emitted length */
|
2974
|
+
var curlen; /* length of current code */
|
2975
|
+
|
2976
|
+
var nextlen = tree[0*2 + 1]/*.Len*/; /* length of next code */
|
2977
|
+
|
2978
|
+
var count = 0; /* repeat count of the current code */
|
2979
|
+
var max_count = 7; /* max repeat count */
|
2980
|
+
var min_count = 4; /* min repeat count */
|
2981
|
+
|
2982
|
+
/* tree[max_code+1].Len = -1; */ /* guard already set */
|
2983
|
+
if (nextlen === 0) {
|
2984
|
+
max_count = 138;
|
2985
|
+
min_count = 3;
|
2986
|
+
}
|
2987
|
+
|
2988
|
+
for (n = 0; n <= max_code; n++) {
|
2989
|
+
curlen = nextlen;
|
2990
|
+
nextlen = tree[(n+1)*2 + 1]/*.Len*/;
|
2991
|
+
|
2992
|
+
if (++count < max_count && curlen === nextlen) {
|
2993
|
+
continue;
|
2994
|
+
|
2995
|
+
} else if (count < min_count) {
|
2996
|
+
do { send_code(s, curlen, s.bl_tree); } while (--count !== 0);
|
2997
|
+
|
2998
|
+
} else if (curlen !== 0) {
|
2999
|
+
if (curlen !== prevlen) {
|
3000
|
+
send_code(s, curlen, s.bl_tree);
|
3001
|
+
count--;
|
3002
|
+
}
|
3003
|
+
//Assert(count >= 3 && count <= 6, " 3_6?");
|
3004
|
+
send_code(s, REP_3_6, s.bl_tree);
|
3005
|
+
send_bits(s, count-3, 2);
|
3006
|
+
|
3007
|
+
} else if (count <= 10) {
|
3008
|
+
send_code(s, REPZ_3_10, s.bl_tree);
|
3009
|
+
send_bits(s, count-3, 3);
|
3010
|
+
|
3011
|
+
} else {
|
3012
|
+
send_code(s, REPZ_11_138, s.bl_tree);
|
3013
|
+
send_bits(s, count-11, 7);
|
3014
|
+
}
|
3015
|
+
|
3016
|
+
count = 0;
|
3017
|
+
prevlen = curlen;
|
3018
|
+
if (nextlen === 0) {
|
3019
|
+
max_count = 138;
|
3020
|
+
min_count = 3;
|
3021
|
+
|
3022
|
+
} else if (curlen === nextlen) {
|
3023
|
+
max_count = 6;
|
3024
|
+
min_count = 3;
|
3025
|
+
|
3026
|
+
} else {
|
3027
|
+
max_count = 7;
|
3028
|
+
min_count = 4;
|
3029
|
+
}
|
3030
|
+
}
|
3031
|
+
}
|
3032
|
+
|
3033
|
+
|
3034
|
+
/* ===========================================================================
|
3035
|
+
* Construct the Huffman tree for the bit lengths and return the index in
|
3036
|
+
* bl_order of the last bit length code to send.
|
3037
|
+
*/
|
3038
|
+
function build_bl_tree(s) {
|
3039
|
+
var max_blindex; /* index of last bit length code of non zero freq */
|
3040
|
+
|
3041
|
+
/* Determine the bit length frequencies for literal and distance trees */
|
3042
|
+
scan_tree(s, s.dyn_ltree, s.l_desc.max_code);
|
3043
|
+
scan_tree(s, s.dyn_dtree, s.d_desc.max_code);
|
3044
|
+
|
3045
|
+
/* Build the bit length tree: */
|
3046
|
+
build_tree(s, s.bl_desc);
|
3047
|
+
/* opt_len now includes the length of the tree representations, except
|
3048
|
+
* the lengths of the bit lengths codes and the 5+5+4 bits for the counts.
|
3049
|
+
*/
|
3050
|
+
|
3051
|
+
/* Determine the number of bit length codes to send. The pkzip format
|
3052
|
+
* requires that at least 4 bit length codes be sent. (appnote.txt says
|
3053
|
+
* 3 but the actual value used is 4.)
|
3054
|
+
*/
|
3055
|
+
for (max_blindex = BL_CODES-1; max_blindex >= 3; max_blindex--) {
|
3056
|
+
if (s.bl_tree[bl_order[max_blindex]*2 + 1]/*.Len*/ !== 0) {
|
3057
|
+
break;
|
3058
|
+
}
|
3059
|
+
}
|
3060
|
+
/* Update opt_len to include the bit length tree and counts */
|
3061
|
+
s.opt_len += 3*(max_blindex+1) + 5+5+4;
|
3062
|
+
//Tracev((stderr, "\ndyn trees: dyn %ld, stat %ld",
|
3063
|
+
// s->opt_len, s->static_len));
|
3064
|
+
|
3065
|
+
return max_blindex;
|
3066
|
+
}
|
3067
|
+
|
3068
|
+
|
3069
|
+
/* ===========================================================================
|
3070
|
+
* Send the header for a block using dynamic Huffman trees: the counts, the
|
3071
|
+
* lengths of the bit length codes, the literal tree and the distance tree.
|
3072
|
+
* IN assertion: lcodes >= 257, dcodes >= 1, blcodes >= 4.
|
3073
|
+
*/
|
3074
|
+
function send_all_trees(s, lcodes, dcodes, blcodes)
|
3075
|
+
// deflate_state *s;
|
3076
|
+
// int lcodes, dcodes, blcodes; /* number of codes for each tree */
|
3077
|
+
{
|
3078
|
+
var rank; /* index in bl_order */
|
3079
|
+
|
3080
|
+
//Assert (lcodes >= 257 && dcodes >= 1 && blcodes >= 4, "not enough codes");
|
3081
|
+
//Assert (lcodes <= L_CODES && dcodes <= D_CODES && blcodes <= BL_CODES,
|
3082
|
+
// "too many codes");
|
3083
|
+
//Tracev((stderr, "\nbl counts: "));
|
3084
|
+
send_bits(s, lcodes-257, 5); /* not +255 as stated in appnote.txt */
|
3085
|
+
send_bits(s, dcodes-1, 5);
|
3086
|
+
send_bits(s, blcodes-4, 4); /* not -3 as stated in appnote.txt */
|
3087
|
+
for (rank = 0; rank < blcodes; rank++) {
|
3088
|
+
//Tracev((stderr, "\nbl code %2d ", bl_order[rank]));
|
3089
|
+
send_bits(s, s.bl_tree[bl_order[rank]*2 + 1]/*.Len*/, 3);
|
3090
|
+
}
|
3091
|
+
//Tracev((stderr, "\nbl tree: sent %ld", s->bits_sent));
|
3092
|
+
|
3093
|
+
send_tree(s, s.dyn_ltree, lcodes-1); /* literal tree */
|
3094
|
+
//Tracev((stderr, "\nlit tree: sent %ld", s->bits_sent));
|
3095
|
+
|
3096
|
+
send_tree(s, s.dyn_dtree, dcodes-1); /* distance tree */
|
3097
|
+
//Tracev((stderr, "\ndist tree: sent %ld", s->bits_sent));
|
3098
|
+
}
|
3099
|
+
|
3100
|
+
|
3101
|
+
/* ===========================================================================
|
3102
|
+
* Check if the data type is TEXT or BINARY, using the following algorithm:
|
3103
|
+
* - TEXT if the two conditions below are satisfied:
|
3104
|
+
* a) There are no non-portable control characters belonging to the
|
3105
|
+
* "black list" (0..6, 14..25, 28..31).
|
3106
|
+
* b) There is at least one printable character belonging to the
|
3107
|
+
* "white list" (9 {TAB}, 10 {LF}, 13 {CR}, 32..255).
|
3108
|
+
* - BINARY otherwise.
|
3109
|
+
* - The following partially-portable control characters form a
|
3110
|
+
* "gray list" that is ignored in this detection algorithm:
|
3111
|
+
* (7 {BEL}, 8 {BS}, 11 {VT}, 12 {FF}, 26 {SUB}, 27 {ESC}).
|
3112
|
+
* IN assertion: the fields Freq of dyn_ltree are set.
|
3113
|
+
*/
|
3114
|
+
function detect_data_type(s) {
|
3115
|
+
/* black_mask is the bit mask of black-listed bytes
|
3116
|
+
* set bits 0..6, 14..25, and 28..31
|
3117
|
+
* 0xf3ffc07f = binary 11110011111111111100000001111111
|
3118
|
+
*/
|
3119
|
+
var black_mask = 0xf3ffc07f;
|
3120
|
+
var n;
|
3121
|
+
|
3122
|
+
/* Check for non-textual ("black-listed") bytes. */
|
3123
|
+
for (n = 0; n <= 31; n++, black_mask >>>= 1) {
|
3124
|
+
if ((black_mask & 1) && (s.dyn_ltree[n*2]/*.Freq*/ !== 0)) {
|
3125
|
+
return Z_BINARY;
|
3126
|
+
}
|
3127
|
+
}
|
3128
|
+
|
3129
|
+
/* Check for textual ("white-listed") bytes. */
|
3130
|
+
if (s.dyn_ltree[9 * 2]/*.Freq*/ !== 0 || s.dyn_ltree[10 * 2]/*.Freq*/ !== 0 ||
|
3131
|
+
s.dyn_ltree[13 * 2]/*.Freq*/ !== 0) {
|
3132
|
+
return Z_TEXT;
|
3133
|
+
}
|
3134
|
+
for (n = 32; n < LITERALS; n++) {
|
3135
|
+
if (s.dyn_ltree[n * 2]/*.Freq*/ !== 0) {
|
3136
|
+
return Z_TEXT;
|
3137
|
+
}
|
3138
|
+
}
|
3139
|
+
|
3140
|
+
/* There are no "black-listed" or "white-listed" bytes:
|
3141
|
+
* this stream either is empty or has tolerated ("gray-listed") bytes only.
|
3142
|
+
*/
|
3143
|
+
return Z_BINARY;
|
3144
|
+
}
|
3145
|
+
|
3146
|
+
|
3147
|
+
var static_init_done = false;
|
3148
|
+
|
3149
|
+
/* ===========================================================================
|
3150
|
+
* Initialize the tree data structures for a new zlib stream.
|
3151
|
+
*/
|
3152
|
+
function _tr_init(s)
|
3153
|
+
{
|
3154
|
+
|
3155
|
+
if (!static_init_done) {
|
3156
|
+
tr_static_init();
|
3157
|
+
static_init_done = true;
|
3158
|
+
}
|
3159
|
+
|
3160
|
+
s.l_desc = new TreeDesc(s.dyn_ltree, static_l_desc);
|
3161
|
+
s.d_desc = new TreeDesc(s.dyn_dtree, static_d_desc);
|
3162
|
+
s.bl_desc = new TreeDesc(s.bl_tree, static_bl_desc);
|
3163
|
+
|
3164
|
+
s.bi_buf = 0;
|
3165
|
+
s.bi_valid = 0;
|
3166
|
+
|
3167
|
+
/* Initialize the first block of the first file: */
|
3168
|
+
init_block(s);
|
3169
|
+
}
|
3170
|
+
|
3171
|
+
|
3172
|
+
/* ===========================================================================
|
3173
|
+
* Send a stored block
|
3174
|
+
*/
|
3175
|
+
function _tr_stored_block(s, buf, stored_len, last)
|
3176
|
+
//DeflateState *s;
|
3177
|
+
//charf *buf; /* input block */
|
3178
|
+
//ulg stored_len; /* length of input block */
|
3179
|
+
//int last; /* one if this is the last block for a file */
|
3180
|
+
{
|
3181
|
+
send_bits(s, (STORED_BLOCK<<1)+(last ? 1 : 0), 3); /* send block type */
|
3182
|
+
copy_block(s, buf, stored_len, true); /* with header */
|
3183
|
+
}
|
3184
|
+
|
3185
|
+
|
3186
|
+
/* ===========================================================================
|
3187
|
+
* Send one empty static block to give enough lookahead for inflate.
|
3188
|
+
* This takes 10 bits, of which 7 may remain in the bit buffer.
|
3189
|
+
*/
|
3190
|
+
function _tr_align(s) {
|
3191
|
+
send_bits(s, STATIC_TREES<<1, 3);
|
3192
|
+
send_code(s, END_BLOCK, static_ltree);
|
3193
|
+
bi_flush(s);
|
3194
|
+
}
|
3195
|
+
|
3196
|
+
|
3197
|
+
/* ===========================================================================
|
3198
|
+
* Determine the best encoding for the current block: dynamic trees, static
|
3199
|
+
* trees or store, and output the encoded block to the zip file.
|
3200
|
+
*/
|
3201
|
+
function _tr_flush_block(s, buf, stored_len, last)
|
3202
|
+
//DeflateState *s;
|
3203
|
+
//charf *buf; /* input block, or NULL if too old */
|
3204
|
+
//ulg stored_len; /* length of input block */
|
3205
|
+
//int last; /* one if this is the last block for a file */
|
3206
|
+
{
|
3207
|
+
var opt_lenb, static_lenb; /* opt_len and static_len in bytes */
|
3208
|
+
var max_blindex = 0; /* index of last bit length code of non zero freq */
|
3209
|
+
|
3210
|
+
/* Build the Huffman trees unless a stored block is forced */
|
3211
|
+
if (s.level > 0) {
|
3212
|
+
|
3213
|
+
/* Check if the file is binary or text */
|
3214
|
+
if (s.strm.data_type === Z_UNKNOWN) {
|
3215
|
+
s.strm.data_type = detect_data_type(s);
|
3216
|
+
}
|
3217
|
+
|
3218
|
+
/* Construct the literal and distance trees */
|
3219
|
+
build_tree(s, s.l_desc);
|
3220
|
+
// Tracev((stderr, "\nlit data: dyn %ld, stat %ld", s->opt_len,
|
3221
|
+
// s->static_len));
|
3222
|
+
|
3223
|
+
build_tree(s, s.d_desc);
|
3224
|
+
// Tracev((stderr, "\ndist data: dyn %ld, stat %ld", s->opt_len,
|
3225
|
+
// s->static_len));
|
3226
|
+
/* At this point, opt_len and static_len are the total bit lengths of
|
3227
|
+
* the compressed block data, excluding the tree representations.
|
3228
|
+
*/
|
3229
|
+
|
3230
|
+
/* Build the bit length tree for the above two trees, and get the index
|
3231
|
+
* in bl_order of the last bit length code to send.
|
3232
|
+
*/
|
3233
|
+
max_blindex = build_bl_tree(s);
|
3234
|
+
|
3235
|
+
/* Determine the best encoding. Compute the block lengths in bytes. */
|
3236
|
+
opt_lenb = (s.opt_len+3+7) >>> 3;
|
3237
|
+
static_lenb = (s.static_len+3+7) >>> 3;
|
3238
|
+
|
3239
|
+
// Tracev((stderr, "\nopt %lu(%lu) stat %lu(%lu) stored %lu lit %u ",
|
3240
|
+
// opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len,
|
3241
|
+
// s->last_lit));
|
3242
|
+
|
3243
|
+
if (static_lenb <= opt_lenb) { opt_lenb = static_lenb; }
|
3244
|
+
|
3245
|
+
} else {
|
3246
|
+
// Assert(buf != (char*)0, "lost buf");
|
3247
|
+
opt_lenb = static_lenb = stored_len + 5; /* force a stored block */
|
3248
|
+
}
|
3249
|
+
|
3250
|
+
if ((stored_len+4 <= opt_lenb) && (buf !== -1)) {
|
3251
|
+
/* 4: two words for the lengths */
|
3252
|
+
|
3253
|
+
/* The test buf != NULL is only necessary if LIT_BUFSIZE > WSIZE.
|
3254
|
+
* Otherwise we can't have processed more than WSIZE input bytes since
|
3255
|
+
* the last block flush, because compression would have been
|
3256
|
+
* successful. If LIT_BUFSIZE <= WSIZE, it is never too late to
|
3257
|
+
* transform a block into a stored block.
|
3258
|
+
*/
|
3259
|
+
_tr_stored_block(s, buf, stored_len, last);
|
3260
|
+
|
3261
|
+
} else if (s.strategy === Z_FIXED || static_lenb === opt_lenb) {
|
3262
|
+
|
3263
|
+
send_bits(s, (STATIC_TREES<<1) + (last ? 1 : 0), 3);
|
3264
|
+
compress_block(s, static_ltree, static_dtree);
|
3265
|
+
|
3266
|
+
} else {
|
3267
|
+
send_bits(s, (DYN_TREES<<1) + (last ? 1 : 0), 3);
|
3268
|
+
send_all_trees(s, s.l_desc.max_code+1, s.d_desc.max_code+1, max_blindex+1);
|
3269
|
+
compress_block(s, s.dyn_ltree, s.dyn_dtree);
|
3270
|
+
}
|
3271
|
+
// Assert (s->compressed_len == s->bits_sent, "bad compressed size");
|
3272
|
+
/* The above check is made mod 2^32, for files larger than 512 MB
|
3273
|
+
* and uLong implemented on 32 bits.
|
3274
|
+
*/
|
3275
|
+
init_block(s);
|
3276
|
+
|
3277
|
+
if (last) {
|
3278
|
+
bi_windup(s);
|
3279
|
+
}
|
3280
|
+
// Tracev((stderr,"\ncomprlen %lu(%lu) ", s->compressed_len>>3,
|
3281
|
+
// s->compressed_len-7*last));
|
3282
|
+
}
|
3283
|
+
|
3284
|
+
/* ===========================================================================
|
3285
|
+
* Save the match info and tally the frequency counts. Return true if
|
3286
|
+
* the current block must be flushed.
|
3287
|
+
*/
|
3288
|
+
function _tr_tally(s, dist, lc)
|
3289
|
+
// deflate_state *s;
|
3290
|
+
// unsigned dist; /* distance of matched string */
|
3291
|
+
// unsigned lc; /* match length-MIN_MATCH or unmatched char (if dist==0) */
|
3292
|
+
{
|
3293
|
+
//var out_length, in_length, dcode;
|
3294
|
+
|
3295
|
+
s.pending_buf[s.d_buf + s.last_lit * 2] = (dist >>> 8) & 0xff;
|
3296
|
+
s.pending_buf[s.d_buf + s.last_lit * 2 + 1] = dist & 0xff;
|
3297
|
+
|
3298
|
+
s.pending_buf[s.l_buf + s.last_lit] = lc & 0xff;
|
3299
|
+
s.last_lit++;
|
3300
|
+
|
3301
|
+
if (dist === 0) {
|
3302
|
+
/* lc is the unmatched char */
|
3303
|
+
s.dyn_ltree[lc*2]/*.Freq*/++;
|
3304
|
+
} else {
|
3305
|
+
s.matches++;
|
3306
|
+
/* Here, lc is the match length - MIN_MATCH */
|
3307
|
+
dist--; /* dist = match distance - 1 */
|
3308
|
+
//Assert((ush)dist < (ush)MAX_DIST(s) &&
|
3309
|
+
// (ush)lc <= (ush)(MAX_MATCH-MIN_MATCH) &&
|
3310
|
+
// (ush)d_code(dist) < (ush)D_CODES, "_tr_tally: bad match");
|
3311
|
+
|
3312
|
+
s.dyn_ltree[(_length_code[lc]+LITERALS+1) * 2]/*.Freq*/++;
|
3313
|
+
s.dyn_dtree[d_code(dist) * 2]/*.Freq*/++;
|
3314
|
+
}
|
3315
|
+
|
3316
|
+
// (!) This block is disabled in zlib defailts,
|
3317
|
+
// don't enable it for binary compatibility
|
3318
|
+
|
3319
|
+
//#ifdef TRUNCATE_BLOCK
|
3320
|
+
// /* Try to guess if it is profitable to stop the current block here */
|
3321
|
+
// if ((s.last_lit & 0x1fff) === 0 && s.level > 2) {
|
3322
|
+
// /* Compute an upper bound for the compressed length */
|
3323
|
+
// out_length = s.last_lit*8;
|
3324
|
+
// in_length = s.strstart - s.block_start;
|
3325
|
+
//
|
3326
|
+
// for (dcode = 0; dcode < D_CODES; dcode++) {
|
3327
|
+
// out_length += s.dyn_dtree[dcode*2]/*.Freq*/ * (5 + extra_dbits[dcode]);
|
3328
|
+
// }
|
3329
|
+
// out_length >>>= 3;
|
3330
|
+
// //Tracev((stderr,"\nlast_lit %u, in %ld, out ~%ld(%ld%%) ",
|
3331
|
+
// // s->last_lit, in_length, out_length,
|
3332
|
+
// // 100L - out_length*100L/in_length));
|
3333
|
+
// if (s.matches < (s.last_lit>>1)/*int /2*/ && out_length < (in_length>>1)/*int /2*/) {
|
3334
|
+
// return true;
|
3335
|
+
// }
|
3336
|
+
// }
|
3337
|
+
//#endif
|
3338
|
+
|
3339
|
+
return (s.last_lit === s.lit_bufsize-1);
|
3340
|
+
/* We avoid equality with lit_bufsize because of wraparound at 64K
|
3341
|
+
* on 16 bit machines and because stored blocks are restricted to
|
3342
|
+
* 64K-1 bytes.
|
3343
|
+
*/
|
3344
|
+
}
|
3345
|
+
|
3346
|
+
exports._tr_init = _tr_init;
|
3347
|
+
exports._tr_stored_block = _tr_stored_block;
|
3348
|
+
exports._tr_flush_block = _tr_flush_block;
|
3349
|
+
exports._tr_tally = _tr_tally;
|
3350
|
+
exports._tr_align = _tr_align;
|
3351
|
+
|
3352
|
+
},{"../utils/common":1}],8:[function(require,module,exports){
|
3353
|
+
'use strict';
|
3354
|
+
|
3355
|
+
|
3356
|
+
function ZStream() {
|
3357
|
+
/* next input byte */
|
3358
|
+
this.input = null; // JS specific, because we have no pointers
|
3359
|
+
this.next_in = 0;
|
3360
|
+
/* number of bytes available at input */
|
3361
|
+
this.avail_in = 0;
|
3362
|
+
/* total number of input bytes read so far */
|
3363
|
+
this.total_in = 0;
|
3364
|
+
/* next output byte should be put there */
|
3365
|
+
this.output = null; // JS specific, because we have no pointers
|
3366
|
+
this.next_out = 0;
|
3367
|
+
/* remaining free space at output */
|
3368
|
+
this.avail_out = 0;
|
3369
|
+
/* total number of bytes output so far */
|
3370
|
+
this.total_out = 0;
|
3371
|
+
/* last error message, NULL if no error */
|
3372
|
+
this.msg = ''/*Z_NULL*/;
|
3373
|
+
/* not visible by applications */
|
3374
|
+
this.state = null;
|
3375
|
+
/* best guess about the data type: binary or text */
|
3376
|
+
this.data_type = 2/*Z_UNKNOWN*/;
|
3377
|
+
/* adler32 value of the uncompressed data */
|
3378
|
+
this.adler = 0;
|
3379
|
+
}
|
3380
|
+
|
3381
|
+
module.exports = ZStream;
|
3382
|
+
|
3383
|
+
},{}],"/lib/deflate.js":[function(require,module,exports){
|
3384
|
+
'use strict';
|
3385
|
+
|
3386
|
+
|
3387
|
+
var zlib_deflate = require('./zlib/deflate.js');
|
3388
|
+
var utils = require('./utils/common');
|
3389
|
+
var strings = require('./utils/strings');
|
3390
|
+
var msg = require('./zlib/messages');
|
3391
|
+
var zstream = require('./zlib/zstream');
|
3392
|
+
|
3393
|
+
var toString = Object.prototype.toString;
|
3394
|
+
|
3395
|
+
/* Public constants ==========================================================*/
|
3396
|
+
/* ===========================================================================*/
|
3397
|
+
|
3398
|
+
var Z_NO_FLUSH = 0;
|
3399
|
+
var Z_FINISH = 4;
|
3400
|
+
|
3401
|
+
var Z_OK = 0;
|
3402
|
+
var Z_STREAM_END = 1;
|
3403
|
+
var Z_SYNC_FLUSH = 2;
|
3404
|
+
|
3405
|
+
var Z_DEFAULT_COMPRESSION = -1;
|
3406
|
+
|
3407
|
+
var Z_DEFAULT_STRATEGY = 0;
|
3408
|
+
|
3409
|
+
var Z_DEFLATED = 8;
|
3410
|
+
|
3411
|
+
/* ===========================================================================*/
|
3412
|
+
|
3413
|
+
|
3414
|
+
/**
|
3415
|
+
* class Deflate
|
3416
|
+
*
|
3417
|
+
* Generic JS-style wrapper for zlib calls. If you don't need
|
3418
|
+
* streaming behaviour - use more simple functions: [[deflate]],
|
3419
|
+
* [[deflateRaw]] and [[gzip]].
|
3420
|
+
**/
|
3421
|
+
|
3422
|
+
/* internal
|
3423
|
+
* Deflate.chunks -> Array
|
3424
|
+
*
|
3425
|
+
* Chunks of output data, if [[Deflate#onData]] not overriden.
|
3426
|
+
**/
|
3427
|
+
|
3428
|
+
/**
|
3429
|
+
* Deflate.result -> Uint8Array|Array
|
3430
|
+
*
|
3431
|
+
* Compressed result, generated by default [[Deflate#onData]]
|
3432
|
+
* and [[Deflate#onEnd]] handlers. Filled after you push last chunk
|
3433
|
+
* (call [[Deflate#push]] with `Z_FINISH` / `true` param) or if you
|
3434
|
+
* push a chunk with explicit flush (call [[Deflate#push]] with
|
3435
|
+
* `Z_SYNC_FLUSH` param).
|
3436
|
+
**/
|
3437
|
+
|
3438
|
+
/**
|
3439
|
+
* Deflate.err -> Number
|
3440
|
+
*
|
3441
|
+
* Error code after deflate finished. 0 (Z_OK) on success.
|
3442
|
+
* You will not need it in real life, because deflate errors
|
3443
|
+
* are possible only on wrong options or bad `onData` / `onEnd`
|
3444
|
+
* custom handlers.
|
3445
|
+
**/
|
3446
|
+
|
3447
|
+
/**
|
3448
|
+
* Deflate.msg -> String
|
3449
|
+
*
|
3450
|
+
* Error message, if [[Deflate.err]] != 0
|
3451
|
+
**/
|
3452
|
+
|
3453
|
+
|
3454
|
+
/**
|
3455
|
+
* new Deflate(options)
|
3456
|
+
* - options (Object): zlib deflate options.
|
3457
|
+
*
|
3458
|
+
* Creates new deflator instance with specified params. Throws exception
|
3459
|
+
* on bad params. Supported options:
|
3460
|
+
*
|
3461
|
+
* - `level`
|
3462
|
+
* - `windowBits`
|
3463
|
+
* - `memLevel`
|
3464
|
+
* - `strategy`
|
3465
|
+
*
|
3466
|
+
* [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)
|
3467
|
+
* for more information on these.
|
3468
|
+
*
|
3469
|
+
* Additional options, for internal needs:
|
3470
|
+
*
|
3471
|
+
* - `chunkSize` - size of generated data chunks (16K by default)
|
3472
|
+
* - `raw` (Boolean) - do raw deflate
|
3473
|
+
* - `gzip` (Boolean) - create gzip wrapper
|
3474
|
+
* - `to` (String) - if equal to 'string', then result will be "binary string"
|
3475
|
+
* (each char code [0..255])
|
3476
|
+
* - `header` (Object) - custom header for gzip
|
3477
|
+
* - `text` (Boolean) - true if compressed data believed to be text
|
3478
|
+
* - `time` (Number) - modification time, unix timestamp
|
3479
|
+
* - `os` (Number) - operation system code
|
3480
|
+
* - `extra` (Array) - array of bytes with extra data (max 65536)
|
3481
|
+
* - `name` (String) - file name (binary string)
|
3482
|
+
* - `comment` (String) - comment (binary string)
|
3483
|
+
* - `hcrc` (Boolean) - true if header crc should be added
|
3484
|
+
*
|
3485
|
+
* ##### Example:
|
3486
|
+
*
|
3487
|
+
* ```javascript
|
3488
|
+
* var pako = require('pako')
|
3489
|
+
* , chunk1 = Uint8Array([1,2,3,4,5,6,7,8,9])
|
3490
|
+
* , chunk2 = Uint8Array([10,11,12,13,14,15,16,17,18,19]);
|
3491
|
+
*
|
3492
|
+
* var deflate = new pako.Deflate({ level: 3});
|
3493
|
+
*
|
3494
|
+
* deflate.push(chunk1, false);
|
3495
|
+
* deflate.push(chunk2, true); // true -> last chunk
|
3496
|
+
*
|
3497
|
+
* if (deflate.err) { throw new Error(deflate.err); }
|
3498
|
+
*
|
3499
|
+
* console.log(deflate.result);
|
3500
|
+
* ```
|
3501
|
+
**/
|
3502
|
+
var Deflate = function(options) {
|
3503
|
+
|
3504
|
+
this.options = utils.assign({
|
3505
|
+
level: Z_DEFAULT_COMPRESSION,
|
3506
|
+
method: Z_DEFLATED,
|
3507
|
+
chunkSize: 16384,
|
3508
|
+
windowBits: 15,
|
3509
|
+
memLevel: 8,
|
3510
|
+
strategy: Z_DEFAULT_STRATEGY,
|
3511
|
+
to: ''
|
3512
|
+
}, options || {});
|
3513
|
+
|
3514
|
+
var opt = this.options;
|
3515
|
+
|
3516
|
+
if (opt.raw && (opt.windowBits > 0)) {
|
3517
|
+
opt.windowBits = -opt.windowBits;
|
3518
|
+
}
|
3519
|
+
|
3520
|
+
else if (opt.gzip && (opt.windowBits > 0) && (opt.windowBits < 16)) {
|
3521
|
+
opt.windowBits += 16;
|
3522
|
+
}
|
3523
|
+
|
3524
|
+
this.err = 0; // error code, if happens (0 = Z_OK)
|
3525
|
+
this.msg = ''; // error message
|
3526
|
+
this.ended = false; // used to avoid multiple onEnd() calls
|
3527
|
+
this.chunks = []; // chunks of compressed data
|
3528
|
+
|
3529
|
+
this.strm = new zstream();
|
3530
|
+
this.strm.avail_out = 0;
|
3531
|
+
|
3532
|
+
var status = zlib_deflate.deflateInit2(
|
3533
|
+
this.strm,
|
3534
|
+
opt.level,
|
3535
|
+
opt.method,
|
3536
|
+
opt.windowBits,
|
3537
|
+
opt.memLevel,
|
3538
|
+
opt.strategy
|
3539
|
+
);
|
3540
|
+
|
3541
|
+
if (status !== Z_OK) {
|
3542
|
+
throw new Error(msg[status]);
|
3543
|
+
}
|
3544
|
+
|
3545
|
+
if (opt.header) {
|
3546
|
+
zlib_deflate.deflateSetHeader(this.strm, opt.header);
|
3547
|
+
}
|
3548
|
+
};
|
3549
|
+
|
3550
|
+
/**
|
3551
|
+
* Deflate#push(data[, mode]) -> Boolean
|
3552
|
+
* - data (Uint8Array|Array|ArrayBuffer|String): input data. Strings will be
|
3553
|
+
* converted to utf8 byte sequence.
|
3554
|
+
* - mode (Number|Boolean): 0..6 for corresponding Z_NO_FLUSH..Z_TREE modes.
|
3555
|
+
* See constants. Skipped or `false` means Z_NO_FLUSH, `true` meansh Z_FINISH.
|
3556
|
+
*
|
3557
|
+
* Sends input data to deflate pipe, generating [[Deflate#onData]] calls with
|
3558
|
+
* new compressed chunks. Returns `true` on success. The last data block must have
|
3559
|
+
* mode Z_FINISH (or `true`). That will flush internal pending buffers and call
|
3560
|
+
* [[Deflate#onEnd]]. For interim explicit flushes (without ending the stream) you
|
3561
|
+
* can use mode Z_SYNC_FLUSH, keeping the compression context.
|
3562
|
+
*
|
3563
|
+
* On fail call [[Deflate#onEnd]] with error code and return false.
|
3564
|
+
*
|
3565
|
+
* We strongly recommend to use `Uint8Array` on input for best speed (output
|
3566
|
+
* array format is detected automatically). Also, don't skip last param and always
|
3567
|
+
* use the same type in your code (boolean or number). That will improve JS speed.
|
3568
|
+
*
|
3569
|
+
* For regular `Array`-s make sure all elements are [0..255].
|
3570
|
+
*
|
3571
|
+
* ##### Example
|
3572
|
+
*
|
3573
|
+
* ```javascript
|
3574
|
+
* push(chunk, false); // push one of data chunks
|
3575
|
+
* ...
|
3576
|
+
* push(chunk, true); // push last chunk
|
3577
|
+
* ```
|
3578
|
+
**/
|
3579
|
+
Deflate.prototype.push = function(data, mode) {
|
3580
|
+
var strm = this.strm;
|
3581
|
+
var chunkSize = this.options.chunkSize;
|
3582
|
+
var status, _mode;
|
3583
|
+
|
3584
|
+
if (this.ended) { return false; }
|
3585
|
+
|
3586
|
+
_mode = (mode === ~~mode) ? mode : ((mode === true) ? Z_FINISH : Z_NO_FLUSH);
|
3587
|
+
|
3588
|
+
// Convert data if needed
|
3589
|
+
if (typeof data === 'string') {
|
3590
|
+
// If we need to compress text, change encoding to utf8.
|
3591
|
+
strm.input = strings.string2buf(data);
|
3592
|
+
} else if (toString.call(data) === '[object ArrayBuffer]') {
|
3593
|
+
strm.input = new Uint8Array(data);
|
3594
|
+
} else {
|
3595
|
+
strm.input = data;
|
3596
|
+
}
|
3597
|
+
|
3598
|
+
strm.next_in = 0;
|
3599
|
+
strm.avail_in = strm.input.length;
|
3600
|
+
|
3601
|
+
do {
|
3602
|
+
if (strm.avail_out === 0) {
|
3603
|
+
strm.output = new utils.Buf8(chunkSize);
|
3604
|
+
strm.next_out = 0;
|
3605
|
+
strm.avail_out = chunkSize;
|
3606
|
+
}
|
3607
|
+
status = zlib_deflate.deflate(strm, _mode); /* no bad return value */
|
3608
|
+
|
3609
|
+
if (status !== Z_STREAM_END && status !== Z_OK) {
|
3610
|
+
this.onEnd(status);
|
3611
|
+
this.ended = true;
|
3612
|
+
return false;
|
3613
|
+
}
|
3614
|
+
if (strm.avail_out === 0 || (strm.avail_in === 0 && (_mode === Z_FINISH || _mode === Z_SYNC_FLUSH))) {
|
3615
|
+
if (this.options.to === 'string') {
|
3616
|
+
this.onData(strings.buf2binstring(utils.shrinkBuf(strm.output, strm.next_out)));
|
3617
|
+
} else {
|
3618
|
+
this.onData(utils.shrinkBuf(strm.output, strm.next_out));
|
3619
|
+
}
|
3620
|
+
}
|
3621
|
+
} while ((strm.avail_in > 0 || strm.avail_out === 0) && status !== Z_STREAM_END);
|
3622
|
+
|
3623
|
+
// Finalize on the last chunk.
|
3624
|
+
if (_mode === Z_FINISH) {
|
3625
|
+
status = zlib_deflate.deflateEnd(this.strm);
|
3626
|
+
this.onEnd(status);
|
3627
|
+
this.ended = true;
|
3628
|
+
return status === Z_OK;
|
3629
|
+
}
|
3630
|
+
|
3631
|
+
// callback interim results if Z_SYNC_FLUSH.
|
3632
|
+
if (_mode === Z_SYNC_FLUSH) {
|
3633
|
+
this.onEnd(Z_OK);
|
3634
|
+
strm.avail_out = 0;
|
3635
|
+
return true;
|
3636
|
+
}
|
3637
|
+
|
3638
|
+
return true;
|
3639
|
+
};
|
3640
|
+
|
3641
|
+
|
3642
|
+
/**
|
3643
|
+
* Deflate#onData(chunk) -> Void
|
3644
|
+
* - chunk (Uint8Array|Array|String): ouput data. Type of array depends
|
3645
|
+
* on js engine support. When string output requested, each chunk
|
3646
|
+
* will be string.
|
3647
|
+
*
|
3648
|
+
* By default, stores data blocks in `chunks[]` property and glue
|
3649
|
+
* those in `onEnd`. Override this handler, if you need another behaviour.
|
3650
|
+
**/
|
3651
|
+
Deflate.prototype.onData = function(chunk) {
|
3652
|
+
this.chunks.push(chunk);
|
3653
|
+
};
|
3654
|
+
|
3655
|
+
|
3656
|
+
/**
|
3657
|
+
* Deflate#onEnd(status) -> Void
|
3658
|
+
* - status (Number): deflate status. 0 (Z_OK) on success,
|
3659
|
+
* other if not.
|
3660
|
+
*
|
3661
|
+
* Called once after you tell deflate that the input stream is
|
3662
|
+
* complete (Z_FINISH) or should be flushed (Z_SYNC_FLUSH)
|
3663
|
+
* or if an error happened. By default - join collected chunks,
|
3664
|
+
* free memory and fill `results` / `err` properties.
|
3665
|
+
**/
|
3666
|
+
Deflate.prototype.onEnd = function(status) {
|
3667
|
+
// On success - join
|
3668
|
+
if (status === Z_OK) {
|
3669
|
+
if (this.options.to === 'string') {
|
3670
|
+
this.result = this.chunks.join('');
|
3671
|
+
} else {
|
3672
|
+
this.result = utils.flattenChunks(this.chunks);
|
3673
|
+
}
|
3674
|
+
}
|
3675
|
+
this.chunks = [];
|
3676
|
+
this.err = status;
|
3677
|
+
this.msg = this.strm.msg;
|
3678
|
+
};
|
3679
|
+
|
3680
|
+
|
3681
|
+
/**
|
3682
|
+
* deflate(data[, options]) -> Uint8Array|Array|String
|
3683
|
+
* - data (Uint8Array|Array|String): input data to compress.
|
3684
|
+
* - options (Object): zlib deflate options.
|
3685
|
+
*
|
3686
|
+
* Compress `data` with deflate alrorythm and `options`.
|
3687
|
+
*
|
3688
|
+
* Supported options are:
|
3689
|
+
*
|
3690
|
+
* - level
|
3691
|
+
* - windowBits
|
3692
|
+
* - memLevel
|
3693
|
+
* - strategy
|
3694
|
+
*
|
3695
|
+
* [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)
|
3696
|
+
* for more information on these.
|
3697
|
+
*
|
3698
|
+
* Sugar (options):
|
3699
|
+
*
|
3700
|
+
* - `raw` (Boolean) - say that we work with raw stream, if you don't wish to specify
|
3701
|
+
* negative windowBits implicitly.
|
3702
|
+
* - `to` (String) - if equal to 'string', then result will be "binary string"
|
3703
|
+
* (each char code [0..255])
|
3704
|
+
*
|
3705
|
+
* ##### Example:
|
3706
|
+
*
|
3707
|
+
* ```javascript
|
3708
|
+
* var pako = require('pako')
|
3709
|
+
* , data = Uint8Array([1,2,3,4,5,6,7,8,9]);
|
3710
|
+
*
|
3711
|
+
* console.log(pako.deflate(data));
|
3712
|
+
* ```
|
3713
|
+
**/
|
3714
|
+
function deflate(input, options) {
|
3715
|
+
var deflator = new Deflate(options);
|
3716
|
+
|
3717
|
+
deflator.push(input, true);
|
3718
|
+
|
3719
|
+
// That will never happens, if you don't cheat with options :)
|
3720
|
+
if (deflator.err) { throw deflator.msg; }
|
3721
|
+
|
3722
|
+
return deflator.result;
|
3723
|
+
}
|
3724
|
+
|
3725
|
+
|
3726
|
+
/**
|
3727
|
+
* deflateRaw(data[, options]) -> Uint8Array|Array|String
|
3728
|
+
* - data (Uint8Array|Array|String): input data to compress.
|
3729
|
+
* - options (Object): zlib deflate options.
|
3730
|
+
*
|
3731
|
+
* The same as [[deflate]], but creates raw data, without wrapper
|
3732
|
+
* (header and adler32 crc).
|
3733
|
+
**/
|
3734
|
+
function deflateRaw(input, options) {
|
3735
|
+
options = options || {};
|
3736
|
+
options.raw = true;
|
3737
|
+
return deflate(input, options);
|
3738
|
+
}
|
3739
|
+
|
3740
|
+
|
3741
|
+
/**
|
3742
|
+
* gzip(data[, options]) -> Uint8Array|Array|String
|
3743
|
+
* - data (Uint8Array|Array|String): input data to compress.
|
3744
|
+
* - options (Object): zlib deflate options.
|
3745
|
+
*
|
3746
|
+
* The same as [[deflate]], but create gzip wrapper instead of
|
3747
|
+
* deflate one.
|
3748
|
+
**/
|
3749
|
+
function gzip(input, options) {
|
3750
|
+
options = options || {};
|
3751
|
+
options.gzip = true;
|
3752
|
+
return deflate(input, options);
|
3753
|
+
}
|
3754
|
+
|
3755
|
+
|
3756
|
+
exports.Deflate = Deflate;
|
3757
|
+
exports.deflate = deflate;
|
3758
|
+
exports.deflateRaw = deflateRaw;
|
3759
|
+
exports.gzip = gzip;
|
3760
|
+
|
3761
|
+
},{"./utils/common":1,"./utils/strings":2,"./zlib/deflate.js":5,"./zlib/messages":6,"./zlib/zstream":8}]},{},[])("/lib/deflate.js")
|
3762
|
+
});
|