minimum_viable_product 0.0.11 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/minimum_viable_product/version.rb +1 -1
- metadata +1 -6205
- data/test/dummy/node_modules/JSONStream/LICENSE.APACHE2 +0 -15
- data/test/dummy/node_modules/JSONStream/LICENSE.MIT +0 -24
- data/test/dummy/node_modules/JSONStream/examples/all_docs.js +0 -13
- data/test/dummy/node_modules/JSONStream/index.js +0 -216
- data/test/dummy/node_modules/JSONStream/package.json +0 -104
- data/test/dummy/node_modules/JSONStream/readme.markdown +0 -184
- data/test/dummy/node_modules/JSONStream/test/bool.js +0 -41
- data/test/dummy/node_modules/JSONStream/test/browser.js +0 -18
- data/test/dummy/node_modules/JSONStream/test/destroy_missing.js +0 -27
- data/test/dummy/node_modules/JSONStream/test/disabled/doubledot1.js +0 -29
- data/test/dummy/node_modules/JSONStream/test/disabled/doubledot2.js +0 -29
- data/test/dummy/node_modules/JSONStream/test/empty.js +0 -44
- data/test/dummy/node_modules/JSONStream/test/fixtures/all_npm.json +0 -4030
- data/test/dummy/node_modules/JSONStream/test/fixtures/couch_sample.json +0 -18
- data/test/dummy/node_modules/JSONStream/test/fixtures/depth.json +0 -15
- data/test/dummy/node_modules/JSONStream/test/fn.js +0 -39
- data/test/dummy/node_modules/JSONStream/test/gen.js +0 -135
- data/test/dummy/node_modules/JSONStream/test/issues.js +0 -34
- data/test/dummy/node_modules/JSONStream/test/keys.js +0 -85
- data/test/dummy/node_modules/JSONStream/test/map.js +0 -40
- data/test/dummy/node_modules/JSONStream/test/multiple_objects.js +0 -36
- data/test/dummy/node_modules/JSONStream/test/multiple_objects_error.js +0 -29
- data/test/dummy/node_modules/JSONStream/test/null.js +0 -28
- data/test/dummy/node_modules/JSONStream/test/parsejson.js +0 -25
- data/test/dummy/node_modules/JSONStream/test/stringify.js +0 -41
- data/test/dummy/node_modules/JSONStream/test/stringify_object.js +0 -47
- data/test/dummy/node_modules/JSONStream/test/test.js +0 -35
- data/test/dummy/node_modules/JSONStream/test/test2.js +0 -29
- data/test/dummy/node_modules/JSONStream/test/two-ways.js +0 -41
- data/test/dummy/node_modules/acorn/AUTHORS +0 -38
- data/test/dummy/node_modules/acorn/LICENSE +0 -19
- data/test/dummy/node_modules/acorn/README.md +0 -377
- data/test/dummy/node_modules/acorn/bin/acorn +0 -54
- data/test/dummy/node_modules/acorn/bin/build-acorn.js +0 -51
- data/test/dummy/node_modules/acorn/bin/generate-identifier-regex.js +0 -47
- data/test/dummy/node_modules/acorn/bin/prepublish.sh +0 -2
- data/test/dummy/node_modules/acorn/bin/update_authors.sh +0 -6
- data/test/dummy/node_modules/acorn/bin/without_eval +0 -48
- data/test/dummy/node_modules/acorn/dist/acorn.js +0 -4014
- data/test/dummy/node_modules/acorn/dist/acorn_csp.js +0 -3985
- data/test/dummy/node_modules/acorn/dist/acorn_loose.js +0 -1298
- data/test/dummy/node_modules/acorn/dist/walk.js +0 -342
- data/test/dummy/node_modules/acorn/package.json +0 -193
- data/test/dummy/node_modules/acorn/src/expression.js +0 -697
- data/test/dummy/node_modules/acorn/src/identifier.js +0 -129
- data/test/dummy/node_modules/acorn/src/index.js +0 -75
- data/test/dummy/node_modules/acorn/src/location.js +0 -68
- data/test/dummy/node_modules/acorn/src/loose/acorn_loose.js +0 -0
- data/test/dummy/node_modules/acorn/src/loose/expression.js +0 -511
- data/test/dummy/node_modules/acorn/src/loose/index.js +0 -50
- data/test/dummy/node_modules/acorn/src/loose/parseutil.js +0 -126
- data/test/dummy/node_modules/acorn/src/loose/state.js +0 -17
- data/test/dummy/node_modules/acorn/src/loose/statement.js +0 -419
- data/test/dummy/node_modules/acorn/src/loose/tokenize.js +0 -108
- data/test/dummy/node_modules/acorn/src/lval.js +0 -213
- data/test/dummy/node_modules/acorn/src/node.js +0 -70
- data/test/dummy/node_modules/acorn/src/options.js +0 -119
- data/test/dummy/node_modules/acorn/src/parseutil.js +0 -89
- data/test/dummy/node_modules/acorn/src/state.js +0 -78
- data/test/dummy/node_modules/acorn/src/statement.js +0 -594
- data/test/dummy/node_modules/acorn/src/tokencontext.js +0 -107
- data/test/dummy/node_modules/acorn/src/tokenize.js +0 -672
- data/test/dummy/node_modules/acorn/src/tokentype.js +0 -142
- data/test/dummy/node_modules/acorn/src/util.js +0 -9
- data/test/dummy/node_modules/acorn/src/walk/index.js +0 -291
- data/test/dummy/node_modules/acorn/src/whitespace.js +0 -12
- data/test/dummy/node_modules/array-filter/README.md +0 -54
- data/test/dummy/node_modules/array-filter/index.js +0 -19
- data/test/dummy/node_modules/array-filter/package.json +0 -96
- data/test/dummy/node_modules/array-filter/test/filter.js +0 -12
- data/test/dummy/node_modules/array-filter/test/holes.js +0 -12
- data/test/dummy/node_modules/array-map/LICENSE +0 -18
- data/test/dummy/node_modules/array-map/example/map.js +0 -5
- data/test/dummy/node_modules/array-map/index.js +0 -11
- data/test/dummy/node_modules/array-map/package.json +0 -100
- data/test/dummy/node_modules/array-map/readme.markdown +0 -46
- data/test/dummy/node_modules/array-map/test/map.js +0 -77
- data/test/dummy/node_modules/array-reduce/LICENSE +0 -18
- data/test/dummy/node_modules/array-reduce/example/sum.js +0 -4
- data/test/dummy/node_modules/array-reduce/index.js +0 -18
- data/test/dummy/node_modules/array-reduce/package.json +0 -99
- data/test/dummy/node_modules/array-reduce/readme.markdown +0 -46
- data/test/dummy/node_modules/array-reduce/test/reduce.js +0 -85
- data/test/dummy/node_modules/asn1.js/README.md +0 -100
- data/test/dummy/node_modules/asn1.js/lib/asn1/api.js +0 -61
- data/test/dummy/node_modules/asn1.js/lib/asn1/base/buffer.js +0 -116
- data/test/dummy/node_modules/asn1.js/lib/asn1/base/index.js +0 -6
- data/test/dummy/node_modules/asn1.js/lib/asn1/base/node.js +0 -629
- data/test/dummy/node_modules/asn1.js/lib/asn1/base/reporter.js +0 -121
- data/test/dummy/node_modules/asn1.js/lib/asn1/constants/der.js +0 -42
- data/test/dummy/node_modules/asn1.js/lib/asn1/constants/index.js +0 -19
- data/test/dummy/node_modules/asn1.js/lib/asn1/decoders/der.js +0 -322
- data/test/dummy/node_modules/asn1.js/lib/asn1/decoders/index.js +0 -4
- data/test/dummy/node_modules/asn1.js/lib/asn1/decoders/pem.js +0 -49
- data/test/dummy/node_modules/asn1.js/lib/asn1/encoders/der.js +0 -293
- data/test/dummy/node_modules/asn1.js/lib/asn1/encoders/index.js +0 -4
- data/test/dummy/node_modules/asn1.js/lib/asn1/encoders/pem.js +0 -21
- data/test/dummy/node_modules/asn1.js/lib/asn1.js +0 -9
- data/test/dummy/node_modules/asn1.js/package.json +0 -89
- data/test/dummy/node_modules/asn1.js/rfc/2560/index.js +0 -149
- data/test/dummy/node_modules/asn1.js/rfc/2560/package.json +0 -27
- data/test/dummy/node_modules/asn1.js/rfc/2560/test/basic-test.js +0 -50
- data/test/dummy/node_modules/asn1.js/rfc/5280/index.js +0 -883
- data/test/dummy/node_modules/asn1.js/rfc/5280/package.json +0 -24
- data/test/dummy/node_modules/asn1.js/rfc/5280/test/basic-test.js +0 -132
- 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 +0 -160
- data/test/dummy/node_modules/asn1.js/test/der-encode-test.js +0 -144
- data/test/dummy/node_modules/asn1.js/test/error-test.js +0 -222
- data/test/dummy/node_modules/asn1.js/test/fixtures.js +0 -7
- data/test/dummy/node_modules/asn1.js/test/pem-test.js +0 -54
- data/test/dummy/node_modules/asn1.js/test/ping-pong-test.js +0 -170
- data/test/dummy/node_modules/asn1.js/test/tracking-test.js +0 -54
- data/test/dummy/node_modules/asn1.js/test/use-test.js +0 -128
- data/test/dummy/node_modules/assert/LICENSE +0 -18
- data/test/dummy/node_modules/assert/README.md +0 -64
- data/test/dummy/node_modules/assert/assert.js +0 -359
- data/test/dummy/node_modules/assert/package.json +0 -80
- data/test/dummy/node_modules/assert/test.js +0 -343
- data/test/dummy/node_modules/astw/LICENSE +0 -18
- data/test/dummy/node_modules/astw/example/types.js +0 -8
- data/test/dummy/node_modules/astw/index.js +0 -51
- data/test/dummy/node_modules/astw/package.json +0 -96
- data/test/dummy/node_modules/astw/readme.markdown +0 -52
- data/test/dummy/node_modules/astw/test/json.js +0 -13
- data/test/dummy/node_modules/astw/test/parent.js +0 -25
- data/test/dummy/node_modules/async/CHANGELOG.md +0 -125
- data/test/dummy/node_modules/async/LICENSE +0 -19
- data/test/dummy/node_modules/async/README.md +0 -1877
- data/test/dummy/node_modules/async/dist/async.js +0 -1265
- data/test/dummy/node_modules/async/dist/async.min.js +0 -2
- data/test/dummy/node_modules/async/lib/async.js +0 -1265
- data/test/dummy/node_modules/async/package.json +0 -149
- data/test/dummy/node_modules/balanced-match/LICENSE.md +0 -21
- data/test/dummy/node_modules/balanced-match/README.md +0 -91
- data/test/dummy/node_modules/balanced-match/index.js +0 -58
- data/test/dummy/node_modules/balanced-match/package.json +0 -102
- data/test/dummy/node_modules/base64-js/LICENSE.MIT +0 -21
- data/test/dummy/node_modules/base64-js/README.md +0 -31
- data/test/dummy/node_modules/base64-js/base64js.min.js +0 -1
- data/test/dummy/node_modules/base64-js/bower.json +0 -33
- data/test/dummy/node_modules/base64-js/lib/b64.js +0 -109
- data/test/dummy/node_modules/base64-js/package.json +0 -87
- data/test/dummy/node_modules/base64-js/test/big-data.js +0 -24
- data/test/dummy/node_modules/base64-js/test/convert.js +0 -47
- data/test/dummy/node_modules/base64-js/test/url-safe.js +0 -18
- data/test/dummy/node_modules/bn.js/README.md +0 -219
- data/test/dummy/node_modules/bn.js/lib/bn.js +0 -3427
- data/test/dummy/node_modules/bn.js/package.json +0 -104
- data/test/dummy/node_modules/bn.js/test/arithmetic-test.js +0 -635
- data/test/dummy/node_modules/bn.js/test/binary-test.js +0 -233
- data/test/dummy/node_modules/bn.js/test/constructor-test.js +0 -149
- data/test/dummy/node_modules/bn.js/test/fixtures.js +0 -264
- data/test/dummy/node_modules/bn.js/test/pummel/dh-group-test.js +0 -23
- data/test/dummy/node_modules/bn.js/test/red-test.js +0 -263
- data/test/dummy/node_modules/bn.js/test/utils-test.js +0 -345
- data/test/dummy/node_modules/bn.js/util/genCombMulTo.js +0 -65
- data/test/dummy/node_modules/bn.js/util/genCombMulTo10.js +0 -65
- data/test/dummy/node_modules/brace-expansion/README.md +0 -122
- data/test/dummy/node_modules/brace-expansion/index.js +0 -201
- data/test/dummy/node_modules/brace-expansion/package.json +0 -104
- data/test/dummy/node_modules/brorand/README.md +0 -26
- data/test/dummy/node_modules/brorand/index.js +0 -57
- data/test/dummy/node_modules/brorand/package.json +0 -81
- data/test/dummy/node_modules/brorand/test/api-test.js +0 -8
- data/test/dummy/node_modules/browser-pack/LICENSE +0 -18
- data/test/dummy/node_modules/browser-pack/_prelude.js +0 -1
- data/test/dummy/node_modules/browser-pack/bin/cmd.js +0 -4
- data/test/dummy/node_modules/browser-pack/bin/prepublish.js +0 -8
- data/test/dummy/node_modules/browser-pack/example/input.json +0 -13
- data/test/dummy/node_modules/browser-pack/example/output.js +0 -1
- data/test/dummy/node_modules/browser-pack/example/sourcemap/input.json +0 -15
- data/test/dummy/node_modules/browser-pack/example/sourcemap/output.js +0 -6
- data/test/dummy/node_modules/browser-pack/index.js +0 -121
- data/test/dummy/node_modules/browser-pack/package.json +0 -120
- data/test/dummy/node_modules/browser-pack/prelude.js +0 -44
- data/test/dummy/node_modules/browser-pack/readme.markdown +0 -96
- data/test/dummy/node_modules/browser-pack/test/comment.js +0 -33
- data/test/dummy/node_modules/browser-pack/test/empty.js +0 -33
- data/test/dummy/node_modules/browser-pack/test/not_found.js +0 -34
- data/test/dummy/node_modules/browser-pack/test/only_execute_entries.js +0 -26
- data/test/dummy/node_modules/browser-pack/test/order.js +0 -38
- data/test/dummy/node_modules/browser-pack/test/pack.js +0 -28
- data/test/dummy/node_modules/browser-pack/test/raw.js +0 -32
- data/test/dummy/node_modules/browser-pack/test/source-maps-existing.js +0 -59
- data/test/dummy/node_modules/browser-pack/test/source-maps.js +0 -195
- data/test/dummy/node_modules/browser-pack/test/this.js +0 -24
- data/test/dummy/node_modules/browser-pack/test/unicode.js +0 -32
- data/test/dummy/node_modules/browser-resolve/LICENSE +0 -21
- data/test/dummy/node_modules/browser-resolve/empty.js +0 -0
- data/test/dummy/node_modules/browser-resolve/index.js +0 -343
- data/test/dummy/node_modules/browser-resolve/package.json +0 -93
- data/test/dummy/node_modules/browserify/LICENSE +0 -63
- data/test/dummy/node_modules/browserify/bin/advanced.txt +0 -104
- data/test/dummy/node_modules/browserify/bin/args.js +0 -268
- data/test/dummy/node_modules/browserify/bin/cmd.js +0 -74
- data/test/dummy/node_modules/browserify/bin/usage.txt +0 -34
- data/test/dummy/node_modules/browserify/changelog.markdown +0 -1172
- data/test/dummy/node_modules/browserify/example/api/browser/bar.js +0 -1
- data/test/dummy/node_modules/browserify/example/api/browser/foo.js +0 -5
- data/test/dummy/node_modules/browserify/example/api/browser/main.js +0 -2
- data/test/dummy/node_modules/browserify/example/api/build.js +0 -4
- data/test/dummy/node_modules/browserify/example/multiple_bundles/beep.js +0 -2
- data/test/dummy/node_modules/browserify/example/multiple_bundles/boop.js +0 -2
- data/test/dummy/node_modules/browserify/example/multiple_bundles/build.sh +0 -4
- data/test/dummy/node_modules/browserify/example/multiple_bundles/robot.js +0 -1
- data/test/dummy/node_modules/browserify/example/multiple_bundles/static/beep.html +0 -2
- data/test/dummy/node_modules/browserify/example/multiple_bundles/static/boop.html +0 -2
- data/test/dummy/node_modules/browserify/example/source_maps/build.js +0 -13
- data/test/dummy/node_modules/browserify/example/source_maps/build.sh +0 -4
- data/test/dummy/node_modules/browserify/example/source_maps/index.html +0 -11
- data/test/dummy/node_modules/browserify/example/source_maps/js/build/bundle.js +0 -28
- data/test/dummy/node_modules/browserify/example/source_maps/js/foo.js +0 -7
- data/test/dummy/node_modules/browserify/example/source_maps/js/main.js +0 -4
- data/test/dummy/node_modules/browserify/example/source_maps/js/wunder/bar.js +0 -8
- data/test/dummy/node_modules/browserify/index.js +0 -806
- data/test/dummy/node_modules/browserify/lib/_empty.js +0 -0
- data/test/dummy/node_modules/browserify/lib/builtins.js +0 -38
- data/test/dummy/node_modules/browserify/package.json +0 -187
- data/test/dummy/node_modules/browserify/readme.markdown +0 -808
- data/test/dummy/node_modules/browserify/test/args.js +0 -72
- data/test/dummy/node_modules/browserify/test/array/one.js +0 -1
- data/test/dummy/node_modules/browserify/test/array/three.js +0 -1
- data/test/dummy/node_modules/browserify/test/array/two.js +0 -1
- data/test/dummy/node_modules/browserify/test/array.js +0 -74
- data/test/dummy/node_modules/browserify/test/backbone.js +0 -23
- data/test/dummy/node_modules/browserify/test/bare/main.js +0 -7
- data/test/dummy/node_modules/browserify/test/bare.js +0 -70
- data/test/dummy/node_modules/browserify/test/bare_shebang.js +0 -37
- data/test/dummy/node_modules/browserify/test/bin.js +0 -31
- data/test/dummy/node_modules/browserify/test/bin_entry.js +0 -31
- data/test/dummy/node_modules/browserify/test/bin_tr_error/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/bin_tr_error/tr.js +0 -12
- data/test/dummy/node_modules/browserify/test/bin_tr_error.js +0 -23
- data/test/dummy/node_modules/browserify/test/bom/hello.js +0 -1
- data/test/dummy/node_modules/browserify/test/bom.js +0 -19
- data/test/dummy/node_modules/browserify/test/browser_field_file/package.json +0 -5
- data/test/dummy/node_modules/browserify/test/browser_field_file/wow.js +0 -1
- data/test/dummy/node_modules/browserify/test/browser_field_file.js +0 -13
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/a/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/a/package.json +0 -5
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/b/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/b/package.json +0 -5
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/b/x.js +0 -1
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/c/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/c/package.json +0 -5
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/c/x.js +0 -1
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/d/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/d/package.json +0 -5
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/d/x.js +0 -1
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/e/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/e/package.json +0 -5
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/e/x.js +0 -1
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/f/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/f/package.json +0 -5
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/f/x.js +0 -1
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/g/main.js +0 -2
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/g/package.json +0 -5
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/g/x.js +0 -1
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/h/main.js +0 -2
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/h/package.json +0 -5
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/h/x.js +0 -1
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/i/browser.js +0 -1
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/i/main.js +0 -2
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/i/package.json +0 -5
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/i/x.js +0 -1
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/j/browser.js +0 -1
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/j/main.js +0 -2
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/j/package.json +0 -5
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/j/x.js +0 -1
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/k/main.js +0 -2
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/k/node_modules/x/hey.js +0 -1
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/k/node_modules/x/package.json +0 -5
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/l/main.js +0 -2
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/l/node_modules/x/hey.js +0 -1
- data/test/dummy/node_modules/browserify/test/browser_field_resolve/l/node_modules/x/package.json +0 -5
- data/test/dummy/node_modules/browserify/test/browser_field_resolve.js +0 -124
- data/test/dummy/node_modules/browserify/test/buffer.js +0 -142
- data/test/dummy/node_modules/browserify/test/bundle-bundle-external/bar.js +0 -2
- data/test/dummy/node_modules/browserify/test/bundle-bundle-external/baz.js +0 -3
- data/test/dummy/node_modules/browserify/test/bundle-bundle-external/foo.js +0 -5
- data/test/dummy/node_modules/browserify/test/bundle-bundle-external.js +0 -31
- data/test/dummy/node_modules/browserify/test/bundle-stream.js +0 -18
- data/test/dummy/node_modules/browserify/test/bundle.js +0 -33
- data/test/dummy/node_modules/browserify/test/bundle_external/boop.js +0 -4
- data/test/dummy/node_modules/browserify/test/bundle_external/main.js +0 -4
- data/test/dummy/node_modules/browserify/test/bundle_external/robot.js +0 -1
- data/test/dummy/node_modules/browserify/test/bundle_external.js +0 -26
- data/test/dummy/node_modules/browserify/test/bundle_external_global.js +0 -24
- data/test/dummy/node_modules/browserify/test/bundle_sourcemap.js +0 -32
- data/test/dummy/node_modules/browserify/test/catch/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/catch.js +0 -22
- data/test/dummy/node_modules/browserify/test/circular/a.js +0 -3
- data/test/dummy/node_modules/browserify/test/circular/b.js +0 -1
- data/test/dummy/node_modules/browserify/test/circular/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/circular.js +0 -34
- data/test/dummy/node_modules/browserify/test/coffee_bin/main.coffee +0 -2
- data/test/dummy/node_modules/browserify/test/coffee_bin/x.coffee +0 -1
- data/test/dummy/node_modules/browserify/test/coffee_bin.js +0 -36
- data/test/dummy/node_modules/browserify/test/coffeeify/main.coffee +0 -2
- data/test/dummy/node_modules/browserify/test/coffeeify.js +0 -19
- data/test/dummy/node_modules/browserify/test/comment/main.js +0 -2
- data/test/dummy/node_modules/browserify/test/comment.js +0 -16
- data/test/dummy/node_modules/browserify/test/constants.js +0 -18
- data/test/dummy/node_modules/browserify/test/crypto.js +0 -39
- data/test/dummy/node_modules/browserify/test/crypto_ig.js +0 -39
- data/test/dummy/node_modules/browserify/test/cycle/README.md +0 -16
- data/test/dummy/node_modules/browserify/test/cycle/entry.js +0 -15
- data/test/dummy/node_modules/browserify/test/cycle/mod1/a.js +0 -1
- data/test/dummy/node_modules/browserify/test/cycle/mod1/b.js +0 -1
- data/test/dummy/node_modules/browserify/test/cycle/mod2/a.js +0 -1
- data/test/dummy/node_modules/browserify/test/cycle/mod2/b.js +0 -1
- data/test/dummy/node_modules/browserify/test/cycle.js +0 -13
- data/test/dummy/node_modules/browserify/test/debug_standalone/x.js +0 -1
- data/test/dummy/node_modules/browserify/test/debug_standalone.js +0 -64
- data/test/dummy/node_modules/browserify/test/dedupe-deps.js +0 -59
- data/test/dummy/node_modules/browserify/test/dedupe-nomap.js +0 -64
- data/test/dummy/node_modules/browserify/test/delay/diverted.js +0 -1
- data/test/dummy/node_modules/browserify/test/delay/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/delay.js +0 -24
- data/test/dummy/node_modules/browserify/test/dep.js +0 -25
- data/test/dummy/node_modules/browserify/test/dollar/dollar/index.js +0 -7
- data/test/dummy/node_modules/browserify/test/dollar.js +0 -17
- data/test/dummy/node_modules/browserify/test/double_buffer/explicit.js +0 -1
- data/test/dummy/node_modules/browserify/test/double_buffer/implicit.js +0 -1
- data/test/dummy/node_modules/browserify/test/double_buffer/main.js +0 -4
- data/test/dummy/node_modules/browserify/test/double_buffer.js +0 -14
- data/test/dummy/node_modules/browserify/test/double_bundle.js +0 -24
- data/test/dummy/node_modules/browserify/test/double_bundle_error/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/double_bundle_error/needs_three.js +0 -1
- data/test/dummy/node_modules/browserify/test/double_bundle_error/one.js +0 -1
- data/test/dummy/node_modules/browserify/test/double_bundle_error/package.json +0 -5
- data/test/dummy/node_modules/browserify/test/double_bundle_error/three.js +0 -3
- data/test/dummy/node_modules/browserify/test/double_bundle_error/two.js +0 -1
- data/test/dummy/node_modules/browserify/test/double_bundle_error.js +0 -17
- data/test/dummy/node_modules/browserify/test/double_bundle_json/a.json +0 -1
- data/test/dummy/node_modules/browserify/test/double_bundle_json/b.json +0 -1
- data/test/dummy/node_modules/browserify/test/double_bundle_json/index.js +0 -5
- data/test/dummy/node_modules/browserify/test/double_bundle_json.js +0 -37
- data/test/dummy/node_modules/browserify/test/double_bundle_parallel.js +0 -33
- data/test/dummy/node_modules/browserify/test/double_bundle_parallel_cache.js +0 -35
- data/test/dummy/node_modules/browserify/test/dup/foo-dup.js +0 -4
- data/test/dummy/node_modules/browserify/test/dup/foo.js +0 -4
- data/test/dummy/node_modules/browserify/test/dup/index.js +0 -5
- data/test/dummy/node_modules/browserify/test/entry/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/entry/needs_three.js +0 -1
- data/test/dummy/node_modules/browserify/test/entry/one.js +0 -1
- data/test/dummy/node_modules/browserify/test/entry/package.json +0 -5
- data/test/dummy/node_modules/browserify/test/entry/three.js +0 -1
- data/test/dummy/node_modules/browserify/test/entry/two.js +0 -1
- data/test/dummy/node_modules/browserify/test/entry.js +0 -42
- data/test/dummy/node_modules/browserify/test/entry_exec/fail.js +0 -1
- data/test/dummy/node_modules/browserify/test/entry_exec/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/entry_exec.js +0 -15
- data/test/dummy/node_modules/browserify/test/entry_expose/main.js +0 -2
- data/test/dummy/node_modules/browserify/test/entry_expose.js +0 -19
- data/test/dummy/node_modules/browserify/test/entry_relative.js +0 -44
- data/test/dummy/node_modules/browserify/test/error_code/src.js +0 -2
- data/test/dummy/node_modules/browserify/test/error_code.js +0 -24
- data/test/dummy/node_modules/browserify/test/export/entry.js +0 -1
- data/test/dummy/node_modules/browserify/test/export.js +0 -35
- data/test/dummy/node_modules/browserify/test/external/main.js +0 -2
- data/test/dummy/node_modules/browserify/test/external/x.js +0 -3
- data/test/dummy/node_modules/browserify/test/external.js +0 -20
- data/test/dummy/node_modules/browserify/test/external_args/main.js +0 -10
- data/test/dummy/node_modules/browserify/test/external_shim/bundle1.js +0 -1
- data/test/dummy/node_modules/browserify/test/external_shim/bundle2.js +0 -1
- data/test/dummy/node_modules/browserify/test/external_shim/package.json +0 -5
- data/test/dummy/node_modules/browserify/test/external_shim/shim.js +0 -0
- data/test/dummy/node_modules/browserify/test/external_shim.js +0 -27
- data/test/dummy/node_modules/browserify/test/externalize/beep.js +0 -2
- data/test/dummy/node_modules/browserify/test/externalize/boop.js +0 -2
- data/test/dummy/node_modules/browserify/test/externalize/robot.js +0 -1
- data/test/dummy/node_modules/browserify/test/externalize.js +0 -59
- data/test/dummy/node_modules/browserify/test/fake/fake_fs.js +0 -1
- data/test/dummy/node_modules/browserify/test/fake/main.js +0 -2
- data/test/dummy/node_modules/browserify/test/fake.js +0 -15
- data/test/dummy/node_modules/browserify/test/field/miss.js +0 -1
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-miss/browser.js +0 -1
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-miss/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-miss/package.json +0 -4
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-object/browser.js +0 -1
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-object/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-object/package.json +0 -4
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-string/browser.js +0 -1
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-string/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-string/package.json +0 -4
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-sub/browser/a.js +0 -1
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-sub/browser/b.js +0 -1
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-sub/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/field/node_modules/z-sub/package.json +0 -4
- data/test/dummy/node_modules/browserify/test/field/object.js +0 -1
- data/test/dummy/node_modules/browserify/test/field/string.js +0 -1
- data/test/dummy/node_modules/browserify/test/field/sub.js +0 -1
- data/test/dummy/node_modules/browserify/test/field.js +0 -72
- data/test/dummy/node_modules/browserify/test/file_event.js +0 -33
- data/test/dummy/node_modules/browserify/test/five_bundle.js +0 -30
- data/test/dummy/node_modules/browserify/test/full_paths.js +0 -58
- data/test/dummy/node_modules/browserify/test/glob/a.js +0 -6
- data/test/dummy/node_modules/browserify/test/glob/b.js +0 -5
- data/test/dummy/node_modules/browserify/test/glob/lib/z.js +0 -1
- data/test/dummy/node_modules/browserify/test/glob/vendor/x.js +0 -1
- data/test/dummy/node_modules/browserify/test/glob/vendor/y.js +0 -1
- data/test/dummy/node_modules/browserify/test/glob.js +0 -29
- data/test/dummy/node_modules/browserify/test/global/buffer.js +0 -2
- data/test/dummy/node_modules/browserify/test/global/filename.js +0 -2
- data/test/dummy/node_modules/browserify/test/global/main.js +0 -2
- data/test/dummy/node_modules/browserify/test/global/node_modules/aaa/index.js +0 -2
- data/test/dummy/node_modules/browserify/test/global/node_modules/robot/index.js +0 -1
- data/test/dummy/node_modules/browserify/test/global/node_modules/robot/lib/beep.js +0 -2
- data/test/dummy/node_modules/browserify/test/global/tick.js +0 -3
- data/test/dummy/node_modules/browserify/test/global.js +0 -90
- data/test/dummy/node_modules/browserify/test/global_coffeeify.js +0 -19
- data/test/dummy/node_modules/browserify/test/global_noparse.js +0 -101
- data/test/dummy/node_modules/browserify/test/global_recorder/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/global_recorder.js +0 -22
- data/test/dummy/node_modules/browserify/test/hash/foo/other.js +0 -1
- data/test/dummy/node_modules/browserify/test/hash/foo/two.js +0 -2
- data/test/dummy/node_modules/browserify/test/hash/main.js +0 -2
- data/test/dummy/node_modules/browserify/test/hash/one.js +0 -2
- data/test/dummy/node_modules/browserify/test/hash/other.js +0 -1
- data/test/dummy/node_modules/browserify/test/hash.js +0 -15
- data/test/dummy/node_modules/browserify/test/hash_instance_context/main.js +0 -17
- data/test/dummy/node_modules/browserify/test/hash_instance_context/one/dir/f.js +0 -3
- data/test/dummy/node_modules/browserify/test/hash_instance_context/one/dir/g.js +0 -2
- data/test/dummy/node_modules/browserify/test/hash_instance_context/one/f.js +0 -3
- data/test/dummy/node_modules/browserify/test/hash_instance_context/one/g.js +0 -2
- data/test/dummy/node_modules/browserify/test/hash_instance_context/three/dir/f.js +0 -3
- data/test/dummy/node_modules/browserify/test/hash_instance_context/three/dir/g.js +0 -2
- data/test/dummy/node_modules/browserify/test/hash_instance_context/three/dir/h.js +0 -2
- data/test/dummy/node_modules/browserify/test/hash_instance_context/three/f.js +0 -3
- data/test/dummy/node_modules/browserify/test/hash_instance_context/three/g.js +0 -2
- data/test/dummy/node_modules/browserify/test/hash_instance_context/three/h.js +0 -2
- data/test/dummy/node_modules/browserify/test/hash_instance_context/two/dir/f.js +0 -3
- data/test/dummy/node_modules/browserify/test/hash_instance_context/two/dir/g.js +0 -2
- data/test/dummy/node_modules/browserify/test/hash_instance_context/two/dir/h.js +0 -2
- data/test/dummy/node_modules/browserify/test/hash_instance_context/two/f.js +0 -3
- data/test/dummy/node_modules/browserify/test/hash_instance_context/two/g.js +0 -2
- data/test/dummy/node_modules/browserify/test/hash_instance_context/two/h.js +0 -2
- data/test/dummy/node_modules/browserify/test/hash_instance_context.js +0 -25
- data/test/dummy/node_modules/browserify/test/identical/main.js +0 -6
- data/test/dummy/node_modules/browserify/test/identical/x.js +0 -2
- data/test/dummy/node_modules/browserify/test/identical/y.js +0 -2
- data/test/dummy/node_modules/browserify/test/identical.js +0 -19
- data/test/dummy/node_modules/browserify/test/identical_different/main.js +0 -6
- data/test/dummy/node_modules/browserify/test/identical_different/node_modules/op/index.js +0 -3
- data/test/dummy/node_modules/browserify/test/identical_different/wow/node_modules/op/index.js +0 -3
- data/test/dummy/node_modules/browserify/test/identical_different/wow/y.js +0 -3
- data/test/dummy/node_modules/browserify/test/identical_different/x.js +0 -3
- data/test/dummy/node_modules/browserify/test/identical_different.js +0 -19
- data/test/dummy/node_modules/browserify/test/ignore/by-id.js +0 -3
- data/test/dummy/node_modules/browserify/test/ignore/by-relative.js +0 -5
- data/test/dummy/node_modules/browserify/test/ignore/double-skip/index.js +0 -1
- data/test/dummy/node_modules/browserify/test/ignore/double-skip/skip.js +0 -5
- data/test/dummy/node_modules/browserify/test/ignore/double-skip.js +0 -2
- data/test/dummy/node_modules/browserify/test/ignore/ignored/skip.js +0 -1
- data/test/dummy/node_modules/browserify/test/ignore/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/ignore/relative/index.js +0 -1
- data/test/dummy/node_modules/browserify/test/ignore/skip.js +0 -1
- data/test/dummy/node_modules/browserify/test/ignore.js +0 -72
- data/test/dummy/node_modules/browserify/test/ignore_browser_field/main.js +0 -2
- data/test/dummy/node_modules/browserify/test/ignore_browser_field/node_modules/a/browser.js +0 -1
- data/test/dummy/node_modules/browserify/test/ignore_browser_field/node_modules/a/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/ignore_browser_field/node_modules/a/package.json +0 -6
- data/test/dummy/node_modules/browserify/test/ignore_browser_field/node_modules/b/browser-x.js +0 -1
- data/test/dummy/node_modules/browserify/test/ignore_browser_field/node_modules/b/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/ignore_browser_field/node_modules/b/package.json +0 -8
- data/test/dummy/node_modules/browserify/test/ignore_browser_field/node_modules/b/x.js +0 -1
- data/test/dummy/node_modules/browserify/test/ignore_browser_field.js +0 -21
- data/test/dummy/node_modules/browserify/test/ignore_missing/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/ignore_missing.js +0 -41
- data/test/dummy/node_modules/browserify/test/json/beep.json +0 -4
- data/test/dummy/node_modules/browserify/test/json/evil-chars.json +0 -3
- data/test/dummy/node_modules/browserify/test/json/evil.js +0 -2
- data/test/dummy/node_modules/browserify/test/json/main.js +0 -2
- data/test/dummy/node_modules/browserify/test/json.js +0 -44
- data/test/dummy/node_modules/browserify/test/leak.js +0 -57
- data/test/dummy/node_modules/browserify/test/maxlisteners/main.js +0 -3
- data/test/dummy/node_modules/browserify/test/maxlisteners.js +0 -13
- data/test/dummy/node_modules/browserify/test/multi_bundle/_prelude.js +0 -1
- data/test/dummy/node_modules/browserify/test/multi_bundle/a.js +0 -3
- data/test/dummy/node_modules/browserify/test/multi_bundle/b.js +0 -5
- data/test/dummy/node_modules/browserify/test/multi_bundle/c.js +0 -4
- data/test/dummy/node_modules/browserify/test/multi_bundle.js +0 -86
- data/test/dummy/node_modules/browserify/test/multi_bundle_unique.js +0 -56
- data/test/dummy/node_modules/browserify/test/multi_entry/a.js +0 -2
- data/test/dummy/node_modules/browserify/test/multi_entry/b.js +0 -2
- data/test/dummy/node_modules/browserify/test/multi_entry/c.js +0 -2
- data/test/dummy/node_modules/browserify/test/multi_entry.js +0 -121
- data/test/dummy/node_modules/browserify/test/multi_entry_cross_require/a.js +0 -8
- data/test/dummy/node_modules/browserify/test/multi_entry_cross_require/c.js +0 -7
- data/test/dummy/node_modules/browserify/test/multi_entry_cross_require/lib/b.js +0 -5
- data/test/dummy/node_modules/browserify/test/multi_entry_cross_require.js +0 -92
- data/test/dummy/node_modules/browserify/test/multi_require/a.js +0 -3
- data/test/dummy/node_modules/browserify/test/multi_require/main.js +0 -4
- data/test/dummy/node_modules/browserify/test/multi_require.js +0 -18
- data/test/dummy/node_modules/browserify/test/multi_symlink/main.js +0 -2
- data/test/dummy/node_modules/browserify/test/multi_symlink/x.js +0 -1
- data/test/dummy/node_modules/browserify/test/multi_symlink.js +0 -13
- data/test/dummy/node_modules/browserify/test/no_builtins/extra/fs.js +0 -1
- data/test/dummy/node_modules/browserify/test/no_builtins/extra/tls.js +0 -1
- data/test/dummy/node_modules/browserify/test/no_builtins/main.js +0 -4
- data/test/dummy/node_modules/browserify/test/no_builtins/x.txt +0 -1
- data/test/dummy/node_modules/browserify/test/no_builtins.js +0 -63
- data/test/dummy/node_modules/browserify/test/node_modules/beep/index.js +0 -1
- data/test/dummy/node_modules/browserify/test/node_modules/plugin-foo/index.js +0 -9
- data/test/dummy/node_modules/browserify/test/node_modules/tr/index.js +0 -8
- data/test/dummy/node_modules/browserify/test/noparse/a.js +0 -4
- data/test/dummy/node_modules/browserify/test/noparse/b.js +0 -5
- data/test/dummy/node_modules/browserify/test/noparse/dir1/1.js +0 -4
- data/test/dummy/node_modules/browserify/test/noparse/dir1/dir2/2.js +0 -3
- data/test/dummy/node_modules/browserify/test/noparse/node_modules/robot/lib/beep.js +0 -4
- data/test/dummy/node_modules/browserify/test/noparse/node_modules/robot/lib/boop.js +0 -3
- data/test/dummy/node_modules/browserify/test/noparse/node_modules/robot/main.js +0 -4
- data/test/dummy/node_modules/browserify/test/noparse/node_modules/robot/package.json +0 -3
- data/test/dummy/node_modules/browserify/test/noparse.js +0 -31
- data/test/dummy/node_modules/browserify/test/pack.js +0 -33
- data/test/dummy/node_modules/browserify/test/paths/main.js +0 -3
- data/test/dummy/node_modules/browserify/test/paths/x/aaa/index.js +0 -1
- data/test/dummy/node_modules/browserify/test/paths/x/ccc/index.js +0 -1
- data/test/dummy/node_modules/browserify/test/paths/y/bbb/index.js +0 -1
- data/test/dummy/node_modules/browserify/test/paths/y/ccc/index.js +0 -1
- data/test/dummy/node_modules/browserify/test/paths.js +0 -32
- data/test/dummy/node_modules/browserify/test/paths_transform.js +0 -76
- data/test/dummy/node_modules/browserify/test/pipeline_deps/bar.js +0 -3
- data/test/dummy/node_modules/browserify/test/pipeline_deps/foo.js +0 -5
- data/test/dummy/node_modules/browserify/test/pipeline_deps/main.js +0 -2
- data/test/dummy/node_modules/browserify/test/pipeline_deps/xyz.js +0 -2
- data/test/dummy/node_modules/browserify/test/pipeline_deps.js +0 -22
- data/test/dummy/node_modules/browserify/test/pkg/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/pkg/package.json +0 -1
- data/test/dummy/node_modules/browserify/test/pkg.js +0 -20
- data/test/dummy/node_modules/browserify/test/pkg_event/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/pkg_event/package.json +0 -3
- data/test/dummy/node_modules/browserify/test/pkg_event.js +0 -31
- data/test/dummy/node_modules/browserify/test/plugin/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/plugin.js +0 -28
- data/test/dummy/node_modules/browserify/test/process/main.js +0 -3
- data/test/dummy/node_modules/browserify/test/process/one.js +0 -1
- data/test/dummy/node_modules/browserify/test/process/two.js +0 -1
- data/test/dummy/node_modules/browserify/test/process.js +0 -21
- data/test/dummy/node_modules/browserify/test/relative_dedupe/a/a.js +0 -3
- data/test/dummy/node_modules/browserify/test/relative_dedupe/a/b.js +0 -3
- data/test/dummy/node_modules/browserify/test/relative_dedupe/a/index.js +0 -4
- data/test/dummy/node_modules/browserify/test/relative_dedupe/b/a.js +0 -3
- data/test/dummy/node_modules/browserify/test/relative_dedupe/b/b.js +0 -3
- data/test/dummy/node_modules/browserify/test/relative_dedupe/b/index.js +0 -4
- data/test/dummy/node_modules/browserify/test/relative_dedupe/index.js +0 -4
- data/test/dummy/node_modules/browserify/test/relative_dedupe/main.js +0 -5
- data/test/dummy/node_modules/browserify/test/relative_dedupe.js +0 -17
- data/test/dummy/node_modules/browserify/test/require_cache.js +0 -19
- data/test/dummy/node_modules/browserify/test/require_expose/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/require_expose/some_dep.js +0 -1
- data/test/dummy/node_modules/browserify/test/require_expose.js +0 -53
- data/test/dummy/node_modules/browserify/test/reset.js +0 -31
- data/test/dummy/node_modules/browserify/test/resolve_exposed/main.js +0 -2
- data/test/dummy/node_modules/browserify/test/resolve_exposed/x.js +0 -1
- data/test/dummy/node_modules/browserify/test/resolve_exposed.js +0 -20
- data/test/dummy/node_modules/browserify/test/retarget.js +0 -25
- data/test/dummy/node_modules/browserify/test/reverse_multi_bundle/app.js +0 -22
- data/test/dummy/node_modules/browserify/test/reverse_multi_bundle/arbitrary.js +0 -6
- data/test/dummy/node_modules/browserify/test/reverse_multi_bundle/lazy.js +0 -9
- data/test/dummy/node_modules/browserify/test/reverse_multi_bundle/shared.js +0 -6
- data/test/dummy/node_modules/browserify/test/reverse_multi_bundle.js +0 -47
- data/test/dummy/node_modules/browserify/test/shared_symlink/app/index.js +0 -1
- data/test/dummy/node_modules/browserify/test/shared_symlink/app/node_modules/foo/index.js +0 -1
- data/test/dummy/node_modules/browserify/test/shared_symlink/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/shared_symlink/shared/index.js +0 -1
- data/test/dummy/node_modules/browserify/test/shared_symlink.js +0 -16
- data/test/dummy/node_modules/browserify/test/shebang/foo.js +0 -2
- data/test/dummy/node_modules/browserify/test/shebang/main.js +0 -4
- data/test/dummy/node_modules/browserify/test/shebang.js +0 -11
- data/test/dummy/node_modules/browserify/test/standalone/main.js +0 -3
- data/test/dummy/node_modules/browserify/test/standalone/one.js +0 -1
- data/test/dummy/node_modules/browserify/test/standalone/two.js +0 -1
- data/test/dummy/node_modules/browserify/test/standalone.js +0 -85
- data/test/dummy/node_modules/browserify/test/standalone_events.js +0 -19
- data/test/dummy/node_modules/browserify/test/standalone_sourcemap.js +0 -55
- data/test/dummy/node_modules/browserify/test/stdin.js +0 -35
- data/test/dummy/node_modules/browserify/test/stream/bar.js +0 -1
- data/test/dummy/node_modules/browserify/test/stream/foo.js +0 -1
- data/test/dummy/node_modules/browserify/test/stream/main.js +0 -2
- data/test/dummy/node_modules/browserify/test/stream.js +0 -15
- data/test/dummy/node_modules/browserify/test/stream_file.js +0 -29
- data/test/dummy/node_modules/browserify/test/subdep/index.js +0 -1
- data/test/dummy/node_modules/browserify/test/subdep/package.json +0 -6
- data/test/dummy/node_modules/browserify/test/subdep.js +0 -16
- data/test/dummy/node_modules/browserify/test/symlink_dedupe/main.js +0 -6
- data/test/dummy/node_modules/browserify/test/symlink_dedupe/one/f.js +0 -3
- data/test/dummy/node_modules/browserify/test/symlink_dedupe/one/g.js +0 -2
- data/test/dummy/node_modules/browserify/test/symlink_dedupe.js +0 -16
- data/test/dummy/node_modules/browserify/test/syntax_cache/invalid.js +0 -2
- data/test/dummy/node_modules/browserify/test/syntax_cache/valid.js +0 -2
- data/test/dummy/node_modules/browserify/test/syntax_cache.js +0 -47
- data/test/dummy/node_modules/browserify/test/tr/f.js +0 -2
- data/test/dummy/node_modules/browserify/test/tr/main.js +0 -9
- data/test/dummy/node_modules/browserify/test/tr/package.json +0 -5
- data/test/dummy/node_modules/browserify/test/tr/subdir/g.js +0 -1
- data/test/dummy/node_modules/browserify/test/tr.js +0 -28
- data/test/dummy/node_modules/browserify/test/tr_args/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/tr_args/tr.js +0 -12
- data/test/dummy/node_modules/browserify/test/tr_args.js +0 -24
- data/test/dummy/node_modules/browserify/test/tr_error.js +0 -33
- data/test/dummy/node_modules/browserify/test/tr_flags.js +0 -36
- data/test/dummy/node_modules/browserify/test/tr_global/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/tr_global/node_modules/tr/index.js +0 -8
- data/test/dummy/node_modules/browserify/test/tr_global/node_modules/x/index.js +0 -1
- data/test/dummy/node_modules/browserify/test/tr_global/node_modules/x/node_modules/tr/index.js +0 -8
- data/test/dummy/node_modules/browserify/test/tr_global.js +0 -17
- data/test/dummy/node_modules/browserify/test/tr_no_entry/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/tr_no_entry.js +0 -20
- data/test/dummy/node_modules/browserify/test/tr_once/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/tr_once.js +0 -21
- data/test/dummy/node_modules/browserify/test/tr_order/replace_aaa.js +0 -10
- data/test/dummy/node_modules/browserify/test/tr_order/replace_bbb.js +0 -11
- data/test/dummy/node_modules/browserify/test/tr_order.js +0 -23
- data/test/dummy/node_modules/browserify/test/tr_symlink/a-module/index.js +0 -1
- data/test/dummy/node_modules/browserify/test/tr_symlink/app/main.js +0 -6
- data/test/dummy/node_modules/browserify/test/tr_symlink/app/package.json +0 -5
- data/test/dummy/node_modules/browserify/test/tr_symlink/b-module/ext.js +0 -1
- data/test/dummy/node_modules/browserify/test/tr_symlink/b-module/index.js +0 -2
- data/test/dummy/node_modules/browserify/test/tr_symlink.js +0 -27
- data/test/dummy/node_modules/browserify/test/unicode/main.js +0 -1
- data/test/dummy/node_modules/browserify/test/unicode/one.js +0 -1
- data/test/dummy/node_modules/browserify/test/unicode/two.js +0 -1
- data/test/dummy/node_modules/browserify/test/unicode.js +0 -19
- data/test/dummy/node_modules/browserify/test/util.js +0 -62
- data/test/dummy/node_modules/browserify/test/yield/f.js +0 -5
- data/test/dummy/node_modules/browserify/test/yield/main.js +0 -4
- data/test/dummy/node_modules/browserify/test/yield.js +0 -20
- data/test/dummy/node_modules/browserify-aes/LICENSE +0 -21
- data/test/dummy/node_modules/browserify-aes/aes.js +0 -177
- data/test/dummy/node_modules/browserify-aes/authCipher.js +0 -97
- data/test/dummy/node_modules/browserify-aes/browser.js +0 -11
- data/test/dummy/node_modules/browserify-aes/decrypter.js +0 -137
- data/test/dummy/node_modules/browserify-aes/encrypter.js +0 -122
- data/test/dummy/node_modules/browserify-aes/ghash.js +0 -98
- data/test/dummy/node_modules/browserify-aes/index.js +0 -7
- data/test/dummy/node_modules/browserify-aes/modes/cbc.js +0 -17
- data/test/dummy/node_modules/browserify-aes/modes/cfb.js +0 -31
- data/test/dummy/node_modules/browserify-aes/modes/cfb1.js +0 -34
- data/test/dummy/node_modules/browserify-aes/modes/cfb8.js +0 -15
- data/test/dummy/node_modules/browserify-aes/modes/ctr.js +0 -31
- data/test/dummy/node_modules/browserify-aes/modes/ecb.js +0 -6
- data/test/dummy/node_modules/browserify-aes/modes/ofb.js +0 -16
- data/test/dummy/node_modules/browserify-aes/modes.js +0 -171
- data/test/dummy/node_modules/browserify-aes/package.json +0 -104
- data/test/dummy/node_modules/browserify-aes/populateFixtures.js +0 -25
- data/test/dummy/node_modules/browserify-aes/readme.md +0 -18
- data/test/dummy/node_modules/browserify-aes/streamCipher.js +0 -25
- data/test/dummy/node_modules/browserify-cache-api/CONTRIBUTING.md +0 -9
- data/test/dummy/node_modules/browserify-cache-api/README.md +0 -26
- data/test/dummy/node_modules/browserify-cache-api/index.js +0 -1
- data/test/dummy/node_modules/browserify-cache-api/lib/BrowserifyCache.js +0 -222
- data/test/dummy/node_modules/browserify-cache-api/lib/Cache.js +0 -11
- data/test/dummy/node_modules/browserify-cache-api/lib/assertExists.js +0 -7
- data/test/dummy/node_modules/browserify-cache-api/lib/invalidateCache.js +0 -12
- data/test/dummy/node_modules/browserify-cache-api/lib/invalidateDependentFiles.js +0 -28
- data/test/dummy/node_modules/browserify-cache-api/lib/invalidateModifiedFiles.js +0 -28
- data/test/dummy/node_modules/browserify-cache-api/lib/proxyEvent.js +0 -7
- data/test/dummy/node_modules/browserify-cache-api/package.json +0 -92
- data/test/dummy/node_modules/browserify-cipher/browser.js +0 -73
- data/test/dummy/node_modules/browserify-cipher/index.js +0 -7
- data/test/dummy/node_modules/browserify-cipher/package.json +0 -81
- data/test/dummy/node_modules/browserify-cipher/readme.md +0 -7
- data/test/dummy/node_modules/browserify-cipher/test.js +0 -55
- data/test/dummy/node_modules/browserify-des/index.js +0 -43
- data/test/dummy/node_modules/browserify-des/modes.js +0 -24
- data/test/dummy/node_modules/browserify-des/package.json +0 -80
- data/test/dummy/node_modules/browserify-des/readme.md +0 -4
- data/test/dummy/node_modules/browserify-des/test.js +0 -48
- data/test/dummy/node_modules/browserify-incremental/CONTRIBUTING.md +0 -11
- data/test/dummy/node_modules/browserify-incremental/README.md +0 -145
- data/test/dummy/node_modules/browserify-incremental/bin/cmd.js +0 -87
- data/test/dummy/node_modules/browserify-incremental/index.js +0 -61
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/LICENSE.APACHE2 +0 -15
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/LICENSE.MIT +0 -24
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/examples/all_docs.js +0 -13
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/index.js +0 -193
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/package.json +0 -94
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/readme.markdown +0 -178
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/test/bool.js +0 -41
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/test/browser.js +0 -18
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/test/destroy_missing.js +0 -27
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/test/doubledot1.js +0 -29
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/test/doubledot2.js +0 -29
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/test/empty.js +0 -44
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/test/fixtures/all_npm.json +0 -4030
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/test/fixtures/depth.json +0 -15
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/test/fn.js +0 -39
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/test/gen.js +0 -135
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/test/map.js +0 -40
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/test/multiple_objects.js +0 -42
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/test/multiple_objects_error.js +0 -35
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/test/non_object_roots.js +0 -16
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/test/null.js +0 -28
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/test/parsejson.js +0 -28
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/test/stringify.js +0 -41
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/test/stringify_object.js +0 -47
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/test/test.js +0 -35
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/test/test2.js +0 -29
- data/test/dummy/node_modules/browserify-incremental/node_modules/JSONStream/test/two-ways.js +0 -41
- data/test/dummy/node_modules/browserify-incremental/node_modules/jsonparse/LICENSE +0 -24
- data/test/dummy/node_modules/browserify-incremental/node_modules/jsonparse/README.markdown +0 -11
- data/test/dummy/node_modules/browserify-incremental/node_modules/jsonparse/bench.js +0 -26
- data/test/dummy/node_modules/browserify-incremental/node_modules/jsonparse/examples/twitterfeed.js +0 -30
- data/test/dummy/node_modules/browserify-incremental/node_modules/jsonparse/jsonparse.js +0 -401
- data/test/dummy/node_modules/browserify-incremental/node_modules/jsonparse/package.json +0 -84
- data/test/dummy/node_modules/browserify-incremental/node_modules/jsonparse/samplejson/basic.json +0 -167
- data/test/dummy/node_modules/browserify-incremental/node_modules/jsonparse/samplejson/basic2.json +0 -180
- data/test/dummy/node_modules/browserify-incremental/node_modules/jsonparse/test/boundary.js +0 -110
- data/test/dummy/node_modules/browserify-incremental/node_modules/jsonparse/test/primitives.js +0 -54
- data/test/dummy/node_modules/browserify-incremental/node_modules/jsonparse/test/utf8.js +0 -38
- data/test/dummy/node_modules/browserify-incremental/package.json +0 -100
- data/test/dummy/node_modules/browserify-rsa/LICENSE +0 -21
- data/test/dummy/node_modules/browserify-rsa/index.js +0 -40
- data/test/dummy/node_modules/browserify-rsa/package.json +0 -97
- data/test/dummy/node_modules/browserify-rsa/readme.md +0 -10
- data/test/dummy/node_modules/browserify-rsa/test.js +0 -53
- data/test/dummy/node_modules/browserify-sign/LICENSE +0 -13
- data/test/dummy/node_modules/browserify-sign/README.md +0 -4
- data/test/dummy/node_modules/browserify-sign/algos.js +0 -72
- data/test/dummy/node_modules/browserify-sign/algos.json +0 -15
- data/test/dummy/node_modules/browserify-sign/browser.js +0 -103
- data/test/dummy/node_modules/browserify-sign/curves.js +0 -12
- data/test/dummy/node_modules/browserify-sign/ec.param +0 -3
- data/test/dummy/node_modules/browserify-sign/index.js +0 -7
- data/test/dummy/node_modules/browserify-sign/package.json +0 -100
- data/test/dummy/node_modules/browserify-sign/sign.js +0 -185
- data/test/dummy/node_modules/browserify-sign/verify.js +0 -103
- data/test/dummy/node_modules/browserify-zlib/README.md +0 -22
- data/test/dummy/node_modules/browserify-zlib/package.json +0 -94
- data/test/dummy/node_modules/browserify-zlib/src/binding.js +0 -236
- data/test/dummy/node_modules/browserify-zlib/src/index.js +0 -610
- data/test/dummy/node_modules/browserify-zlib/test/fixtures/elipses.txt +0 -1
- data/test/dummy/node_modules/browserify-zlib/test/fixtures/empty.txt +0 -1
- 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 +0 -48
- data/test/dummy/node_modules/browserify-zlib/test/ignored/test-zlib-dictionary.js +0 -95
- data/test/dummy/node_modules/browserify-zlib/test/ignored/test-zlib-params.js +0 -33
- data/test/dummy/node_modules/browserify-zlib/test/package.json +0 -7
- data/test/dummy/node_modules/browserify-zlib/test/test-zlib-close-after-write.js +0 -35
- data/test/dummy/node_modules/browserify-zlib/test/test-zlib-convenience-methods.js +0 -70
- data/test/dummy/node_modules/browserify-zlib/test/test-zlib-from-string.js +0 -89
- data/test/dummy/node_modules/browserify-zlib/test/test-zlib-invalid-input.js +0 -62
- data/test/dummy/node_modules/browserify-zlib/test/test-zlib-random-byte-pipes.js +0 -176
- data/test/dummy/node_modules/browserify-zlib/test/test-zlib-write-after-flush.js +0 -55
- data/test/dummy/node_modules/browserify-zlib/test/test-zlib-zero-byte.js +0 -41
- data/test/dummy/node_modules/browserify-zlib/test/test-zlib.js +0 -206
- data/test/dummy/node_modules/buffer/LICENSE +0 -21
- data/test/dummy/node_modules/buffer/README.md +0 -378
- data/test/dummy/node_modules/buffer/bin/download-node-tests.js +0 -106
- data/test/dummy/node_modules/buffer/bin/test.js +0 -41
- data/test/dummy/node_modules/buffer/bin/zuul-es5.yml +0 -14
- data/test/dummy/node_modules/buffer/bin/zuul-es6.yml +0 -6
- data/test/dummy/node_modules/buffer/index.js +0 -1787
- data/test/dummy/node_modules/buffer/package.json +0 -134
- data/test/dummy/node_modules/buffer/test/_polyfill.js +0 -150
- data/test/dummy/node_modules/buffer/test/base64.js +0 -47
- data/test/dummy/node_modules/buffer/test/basic.js +0 -85
- data/test/dummy/node_modules/buffer/test/compare.js +0 -59
- data/test/dummy/node_modules/buffer/test/constructor.js +0 -193
- data/test/dummy/node_modules/buffer/test/from-string.js +0 -132
- data/test/dummy/node_modules/buffer/test/is-buffer.js +0 -22
- data/test/dummy/node_modules/buffer/test/methods.js +0 -127
- data/test/dummy/node_modules/buffer/test/node/test-buffer-alloc.js +0 -1484
- data/test/dummy/node_modules/buffer/test/node/test-buffer-arraybuffer.js +0 -112
- data/test/dummy/node_modules/buffer/test/node/test-buffer-ascii.js +0 -28
- data/test/dummy/node_modules/buffer/test/node/test-buffer-bad-overload.js +0 -18
- data/test/dummy/node_modules/buffer/test/node/test-buffer-badhex.js +0 -87
- data/test/dummy/node_modules/buffer/test/node/test-buffer-bytelength.js +0 -90
- data/test/dummy/node_modules/buffer/test/node/test-buffer-compare-offset.js +0 -66
- data/test/dummy/node_modules/buffer/test/node/test-buffer-concat.js +0 -40
- data/test/dummy/node_modules/buffer/test/node/test-buffer-fill.js +0 -272
- data/test/dummy/node_modules/buffer/test/node/test-buffer-includes.js +0 -305
- data/test/dummy/node_modules/buffer/test/node/test-buffer-indexof.js +0 -523
- data/test/dummy/node_modules/buffer/test/node/test-buffer-inheritance.js +0 -42
- data/test/dummy/node_modules/buffer/test/node/test-buffer-inspect.js +0 -41
- data/test/dummy/node_modules/buffer/test/node/test-buffer-iterator.js +0 -65
- data/test/dummy/node_modules/buffer/test/node/test-buffer-safe-unsafe.js +0 -27
- data/test/dummy/node_modules/buffer/test/node/test-buffer-slow.js +0 -63
- data/test/dummy/node_modules/buffer/test/node/test-buffer-swap.js +0 -141
- data/test/dummy/node_modules/buffer/test/node/test-buffer-zero-fill-cli.js +0 -35
- data/test/dummy/node_modules/buffer/test/node/test-buffer-zero-fill-reset.js +0 -22
- data/test/dummy/node_modules/buffer/test/node/test-buffer.js +0 -1527
- data/test/dummy/node_modules/buffer/test/slice.js +0 -37
- data/test/dummy/node_modules/buffer/test/static.js +0 -17
- data/test/dummy/node_modules/buffer/test/to-string.js +0 -233
- data/test/dummy/node_modules/buffer/test/write.js +0 -131
- data/test/dummy/node_modules/buffer/test/write_infinity.js +0 -45
- data/test/dummy/node_modules/buffer-shims/index.js +0 -108
- data/test/dummy/node_modules/buffer-shims/license.md +0 -19
- data/test/dummy/node_modules/buffer-shims/package.json +0 -77
- data/test/dummy/node_modules/buffer-shims/readme.md +0 -21
- data/test/dummy/node_modules/buffer-xor/LICENSE +0 -21
- data/test/dummy/node_modules/buffer-xor/README.md +0 -41
- data/test/dummy/node_modules/buffer-xor/index.js +0 -10
- data/test/dummy/node_modules/buffer-xor/inline.js +0 -1
- data/test/dummy/node_modules/buffer-xor/inplace.js +0 -9
- data/test/dummy/node_modules/buffer-xor/package.json +0 -88
- data/test/dummy/node_modules/buffer-xor/test/fixtures.json +0 -23
- data/test/dummy/node_modules/buffer-xor/test/index.js +0 -38
- data/test/dummy/node_modules/builtin-status-codes/browser.js +0 -63
- data/test/dummy/node_modules/builtin-status-codes/build.js +0 -8
- data/test/dummy/node_modules/builtin-status-codes/index.js +0 -3
- data/test/dummy/node_modules/builtin-status-codes/license +0 -21
- data/test/dummy/node_modules/builtin-status-codes/package.json +0 -95
- data/test/dummy/node_modules/builtin-status-codes/readme.md +0 -31
- data/test/dummy/node_modules/cipher-base/index.js +0 -90
- data/test/dummy/node_modules/cipher-base/package.json +0 -83
- data/test/dummy/node_modules/cipher-base/readme.md +0 -17
- data/test/dummy/node_modules/cipher-base/test.js +0 -108
- data/test/dummy/node_modules/combine-source-map/LICENSE +0 -23
- data/test/dummy/node_modules/combine-source-map/README.md +0 -111
- data/test/dummy/node_modules/combine-source-map/example/two-files-short.js +0 -26
- data/test/dummy/node_modules/combine-source-map/example/two-files.js +0 -46
- data/test/dummy/node_modules/combine-source-map/index.js +0 -153
- data/test/dummy/node_modules/combine-source-map/lib/mappings-from-map.js +0 -30
- data/test/dummy/node_modules/combine-source-map/lib/path-is-absolute.js +0 -20
- data/test/dummy/node_modules/combine-source-map/lib/path-is-absolute.license +0 -21
- data/test/dummy/node_modules/combine-source-map/package.json +0 -102
- data/test/dummy/node_modules/combine-source-map/test/combine-source-map.js +0 -347
- data/test/dummy/node_modules/concat-map/LICENSE +0 -18
- data/test/dummy/node_modules/concat-map/README.markdown +0 -62
- data/test/dummy/node_modules/concat-map/example/map.js +0 -6
- data/test/dummy/node_modules/concat-map/index.js +0 -13
- data/test/dummy/node_modules/concat-map/package.json +0 -109
- data/test/dummy/node_modules/concat-map/test/map.js +0 -39
- data/test/dummy/node_modules/concat-stream/LICENSE +0 -24
- data/test/dummy/node_modules/concat-stream/index.js +0 -136
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/LICENSE +0 -18
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/README.md +0 -36
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/doc/stream.markdown +0 -1760
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/duplex.js +0 -1
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_duplex.js +0 -75
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_passthrough.js +0 -26
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_readable.js +0 -880
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_transform.js +0 -180
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js +0 -516
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/package.json +0 -105
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/passthrough.js +0 -1
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/readable.js +0 -12
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/transform.js +0 -1
- data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/writable.js +0 -1
- data/test/dummy/node_modules/concat-stream/package.json +0 -115
- data/test/dummy/node_modules/concat-stream/readme.md +0 -100
- data/test/dummy/node_modules/console-browserify/LICENCE +0 -19
- data/test/dummy/node_modules/console-browserify/README.md +0 -33
- data/test/dummy/node_modules/console-browserify/index.js +0 -86
- data/test/dummy/node_modules/console-browserify/package.json +0 -114
- data/test/dummy/node_modules/console-browserify/test/index.js +0 -67
- data/test/dummy/node_modules/console-browserify/test/static/index.html +0 -12
- data/test/dummy/node_modules/console-browserify/test/static/test-adapter.js +0 -53
- data/test/dummy/node_modules/constants-browserify/README.md +0 -54
- data/test/dummy/node_modules/constants-browserify/build.sh +0 -1
- data/test/dummy/node_modules/constants-browserify/constants.json +0 -209
- data/test/dummy/node_modules/constants-browserify/package.json +0 -86
- data/test/dummy/node_modules/constants-browserify/test.js +0 -18
- data/test/dummy/node_modules/convert-source-map/LICENSE +0 -23
- data/test/dummy/node_modules/convert-source-map/README.md +0 -121
- data/test/dummy/node_modules/convert-source-map/example/comment-to-json.js +0 -15
- data/test/dummy/node_modules/convert-source-map/index.js +0 -156
- data/test/dummy/node_modules/convert-source-map/package.json +0 -87
- data/test/dummy/node_modules/convert-source-map/test/comment-regex.js +0 -138
- data/test/dummy/node_modules/convert-source-map/test/convert-source-map.js +0 -207
- data/test/dummy/node_modules/convert-source-map/test/fixtures/map-file-comment-double-slash.css +0 -14
- data/test/dummy/node_modules/convert-source-map/test/fixtures/map-file-comment-inline.css +0 -14
- data/test/dummy/node_modules/convert-source-map/test/fixtures/map-file-comment.css +0 -14
- data/test/dummy/node_modules/convert-source-map/test/fixtures/map-file-comment.css.map +0 -6
- data/test/dummy/node_modules/convert-source-map/test/map-file-comment.js +0 -70
- data/test/dummy/node_modules/core-util-is/LICENSE +0 -19
- data/test/dummy/node_modules/core-util-is/README.md +0 -3
- data/test/dummy/node_modules/core-util-is/float.patch +0 -604
- data/test/dummy/node_modules/core-util-is/lib/util.js +0 -107
- data/test/dummy/node_modules/core-util-is/package.json +0 -88
- data/test/dummy/node_modules/core-util-is/test.js +0 -68
- data/test/dummy/node_modules/create-ecdh/browser.js +0 -122
- data/test/dummy/node_modules/create-ecdh/index.js +0 -3
- data/test/dummy/node_modules/create-ecdh/package.json +0 -100
- data/test/dummy/node_modules/create-ecdh/readme.md +0 -4
- data/test/dummy/node_modules/create-hash/browser.js +0 -52
- data/test/dummy/node_modules/create-hash/helpers.js +0 -34
- data/test/dummy/node_modules/create-hash/index.js +0 -1
- data/test/dummy/node_modules/create-hash/md5.js +0 -156
- data/test/dummy/node_modules/create-hash/package.json +0 -104
- data/test/dummy/node_modules/create-hash/readme.md +0 -19
- data/test/dummy/node_modules/create-hash/test.js +0 -39
- data/test/dummy/node_modules/create-hmac/browser.js +0 -68
- data/test/dummy/node_modules/create-hmac/index.js +0 -1
- data/test/dummy/node_modules/create-hmac/package.json +0 -99
- data/test/dummy/node_modules/create-hmac/readme.md +0 -19
- data/test/dummy/node_modules/create-hmac/test.js +0 -41
- data/test/dummy/node_modules/crypto-browserify/LICENSE +0 -24
- data/test/dummy/node_modules/crypto-browserify/README.md +0 -49
- data/test/dummy/node_modules/crypto-browserify/example/bundle.js +0 -637
- data/test/dummy/node_modules/crypto-browserify/example/index.html +0 -12
- data/test/dummy/node_modules/crypto-browserify/example/test.js +0 -4
- data/test/dummy/node_modules/crypto-browserify/index.js +0 -77
- data/test/dummy/node_modules/crypto-browserify/package.json +0 -114
- data/test/dummy/node_modules/crypto-browserify/test/aes.js +0 -49
- data/test/dummy/node_modules/crypto-browserify/test/create-hash.js +0 -50
- data/test/dummy/node_modules/crypto-browserify/test/create-hmac.js +0 -50
- data/test/dummy/node_modules/crypto-browserify/test/dh.js +0 -49
- data/test/dummy/node_modules/crypto-browserify/test/ecdh.js +0 -61
- data/test/dummy/node_modules/crypto-browserify/test/index.js +0 -18
- data/test/dummy/node_modules/crypto-browserify/test/node/dh.js +0 -51
- data/test/dummy/node_modules/crypto-browserify/test/pbkdf2.js +0 -21
- data/test/dummy/node_modules/crypto-browserify/test/public-encrypt.js +0 -36
- data/test/dummy/node_modules/crypto-browserify/test/random-bytes.js +0 -60
- data/test/dummy/node_modules/crypto-browserify/test/sign.js +0 -59
- data/test/dummy/node_modules/date-now/LICENCE +0 -19
- data/test/dummy/node_modules/date-now/README.md +0 -45
- data/test/dummy/node_modules/date-now/index.js +0 -5
- data/test/dummy/node_modules/date-now/package.json +0 -115
- data/test/dummy/node_modules/date-now/seed.js +0 -16
- data/test/dummy/node_modules/date-now/test/index.js +0 -28
- data/test/dummy/node_modules/date-now/test/static/index.html +0 -10
- data/test/dummy/node_modules/defined/LICENSE +0 -18
- data/test/dummy/node_modules/defined/example/defined.js +0 -4
- data/test/dummy/node_modules/defined/index.js +0 -5
- data/test/dummy/node_modules/defined/package.json +0 -115
- data/test/dummy/node_modules/defined/readme.markdown +0 -53
- data/test/dummy/node_modules/defined/test/def.js +0 -22
- data/test/dummy/node_modules/defined/test/falsy.js +0 -9
- data/test/dummy/node_modules/deps-sort/LICENSE +0 -18
- data/test/dummy/node_modules/deps-sort/bin/cmd.js +0 -10
- data/test/dummy/node_modules/deps-sort/example/sort.js +0 -6
- data/test/dummy/node_modules/deps-sort/index.js +0 -122
- data/test/dummy/node_modules/deps-sort/package.json +0 -97
- data/test/dummy/node_modules/deps-sort/readme.markdown +0 -83
- data/test/dummy/node_modules/deps-sort/test/dedupe-deps-of-deps.js +0 -71
- data/test/dummy/node_modules/deps-sort/test/dedupe.js +0 -39
- data/test/dummy/node_modules/deps-sort/test/dedupe_index.js +0 -56
- data/test/dummy/node_modules/deps-sort/test/dedupe_undef.js +0 -37
- data/test/dummy/node_modules/deps-sort/test/expose.js +0 -38
- data/test/dummy/node_modules/deps-sort/test/expose_str.js +0 -44
- data/test/dummy/node_modules/deps-sort/test/indexed.js +0 -38
- data/test/dummy/node_modules/deps-sort/test/sort.js +0 -23
- data/test/dummy/node_modules/des.js/README.md +0 -26
- data/test/dummy/node_modules/des.js/lib/des/cbc.js +0 -65
- data/test/dummy/node_modules/des.js/lib/des/cipher.js +0 -141
- data/test/dummy/node_modules/des.js/lib/des/des.js +0 -143
- data/test/dummy/node_modules/des.js/lib/des/ede.js +0 -55
- data/test/dummy/node_modules/des.js/lib/des/utils.js +0 -256
- data/test/dummy/node_modules/des.js/lib/des.js +0 -7
- data/test/dummy/node_modules/des.js/package.json +0 -85
- data/test/dummy/node_modules/des.js/test/cbc-test.js +0 -73
- data/test/dummy/node_modules/des.js/test/des-test.js +0 -139
- data/test/dummy/node_modules/des.js/test/ede-test.js +0 -73
- data/test/dummy/node_modules/des.js/test/fixtures.js +0 -5
- data/test/dummy/node_modules/des.js/test/utils-test.js +0 -169
- data/test/dummy/node_modules/detective/LICENSE +0 -18
- data/test/dummy/node_modules/detective/bench/detect.js +0 -7
- data/test/dummy/node_modules/detective/bench/esprima_v_acorn.txt +0 -18
- data/test/dummy/node_modules/detective/example/strings.js +0 -6
- data/test/dummy/node_modules/detective/example/strings_src.js +0 -3
- data/test/dummy/node_modules/detective/index.js +0 -71
- data/test/dummy/node_modules/detective/package.json +0 -88
- data/test/dummy/node_modules/detective/readme.markdown +0 -80
- data/test/dummy/node_modules/detective/test/both.js +0 -26
- data/test/dummy/node_modules/detective/test/chained.js +0 -9
- data/test/dummy/node_modules/detective/test/complicated.js +0 -56
- data/test/dummy/node_modules/detective/test/es6-module.js +0 -9
- data/test/dummy/node_modules/detective/test/files/both.js +0 -4
- data/test/dummy/node_modules/detective/test/files/chained.js +0 -5
- data/test/dummy/node_modules/detective/test/files/es6-module.js +0 -5
- data/test/dummy/node_modules/detective/test/files/generators.js +0 -5
- data/test/dummy/node_modules/detective/test/files/isrequire.js +0 -14
- data/test/dummy/node_modules/detective/test/files/nested.js +0 -22
- data/test/dummy/node_modules/detective/test/files/shebang.js +0 -5
- data/test/dummy/node_modules/detective/test/files/sparse-array.js +0 -3
- data/test/dummy/node_modules/detective/test/files/strings.js +0 -13
- data/test/dummy/node_modules/detective/test/files/word.js +0 -13
- data/test/dummy/node_modules/detective/test/files/yield.js +0 -4
- data/test/dummy/node_modules/detective/test/generators.js +0 -9
- data/test/dummy/node_modules/detective/test/isrequire.js +0 -20
- data/test/dummy/node_modules/detective/test/nested.js +0 -9
- data/test/dummy/node_modules/detective/test/noargs.js +0 -26
- data/test/dummy/node_modules/detective/test/parseopts.js +0 -62
- data/test/dummy/node_modules/detective/test/return.js +0 -9
- data/test/dummy/node_modules/detective/test/shebang.js +0 -9
- data/test/dummy/node_modules/detective/test/sparse-array.js +0 -14
- data/test/dummy/node_modules/detective/test/strings.js +0 -9
- data/test/dummy/node_modules/detective/test/word.js +0 -12
- data/test/dummy/node_modules/detective/test/yield.js +0 -9
- data/test/dummy/node_modules/diffie-hellman/browser.js +0 -42
- data/test/dummy/node_modules/diffie-hellman/index.js +0 -10
- data/test/dummy/node_modules/diffie-hellman/lib/dh.js +0 -164
- data/test/dummy/node_modules/diffie-hellman/lib/generatePrime.js +0 -105
- data/test/dummy/node_modules/diffie-hellman/lib/primes.json +0 -34
- data/test/dummy/node_modules/diffie-hellman/package.json +0 -101
- data/test/dummy/node_modules/diffie-hellman/readme.md +0 -4
- data/test/dummy/node_modules/domain-browser/HISTORY.md +0 -42
- data/test/dummy/node_modules/domain-browser/LICENSE.md +0 -23
- data/test/dummy/node_modules/domain-browser/README.md +0 -111
- data/test/dummy/node_modules/domain-browser/index.js +0 -69
- data/test/dummy/node_modules/domain-browser/package.json +0 -173
- data/test/dummy/node_modules/domain-browser/test.js +0 -100
- data/test/dummy/node_modules/duplexer2/LICENSE.md +0 -26
- data/test/dummy/node_modules/duplexer2/README.md +0 -115
- data/test/dummy/node_modules/duplexer2/index.js +0 -76
- data/test/dummy/node_modules/duplexer2/package.json +0 -97
- data/test/dummy/node_modules/elliptic/README.md +0 -202
- data/test/dummy/node_modules/elliptic/lib/elliptic/curve/base.js +0 -375
- data/test/dummy/node_modules/elliptic/lib/elliptic/curve/edwards.js +0 -433
- data/test/dummy/node_modules/elliptic/lib/elliptic/curve/index.js +0 -8
- data/test/dummy/node_modules/elliptic/lib/elliptic/curve/mont.js +0 -180
- data/test/dummy/node_modules/elliptic/lib/elliptic/curve/short.js +0 -938
- data/test/dummy/node_modules/elliptic/lib/elliptic/curves.js +0 -205
- data/test/dummy/node_modules/elliptic/lib/elliptic/ec/index.js +0 -236
- data/test/dummy/node_modules/elliptic/lib/elliptic/ec/key.js +0 -107
- data/test/dummy/node_modules/elliptic/lib/elliptic/ec/signature.js +0 -135
- data/test/dummy/node_modules/elliptic/lib/elliptic/eddsa/index.js +0 -118
- data/test/dummy/node_modules/elliptic/lib/elliptic/eddsa/key.js +0 -96
- data/test/dummy/node_modules/elliptic/lib/elliptic/eddsa/signature.js +0 -66
- data/test/dummy/node_modules/elliptic/lib/elliptic/hmac-drbg.js +0 -114
- data/test/dummy/node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js +0 -780
- data/test/dummy/node_modules/elliptic/lib/elliptic/utils.js +0 -172
- data/test/dummy/node_modules/elliptic/lib/elliptic.js +0 -14
- data/test/dummy/node_modules/elliptic/package.json +0 -110
- data/test/dummy/node_modules/events/History.md +0 -42
- data/test/dummy/node_modules/events/LICENSE +0 -22
- data/test/dummy/node_modules/events/Readme.md +0 -19
- data/test/dummy/node_modules/events/events.js +0 -302
- data/test/dummy/node_modules/events/package.json +0 -95
- data/test/dummy/node_modules/events/tests/add-listeners.js +0 -63
- data/test/dummy/node_modules/events/tests/check-listener-leaks.js +0 -86
- data/test/dummy/node_modules/events/tests/common.js +0 -42
- data/test/dummy/node_modules/events/tests/index.js +0 -25
- data/test/dummy/node_modules/events/tests/legacy-compat.js +0 -18
- data/test/dummy/node_modules/events/tests/listener-count.js +0 -36
- data/test/dummy/node_modules/events/tests/listeners-side-effects.js +0 -55
- data/test/dummy/node_modules/events/tests/listeners.js +0 -51
- data/test/dummy/node_modules/events/tests/max-listeners.js +0 -50
- data/test/dummy/node_modules/events/tests/modify-in-emit.js +0 -76
- data/test/dummy/node_modules/events/tests/num-args.js +0 -44
- data/test/dummy/node_modules/events/tests/once.js +0 -59
- data/test/dummy/node_modules/events/tests/remove-all-listeners.js +0 -80
- data/test/dummy/node_modules/events/tests/remove-listeners.js +0 -84
- data/test/dummy/node_modules/events/tests/set-max-listeners-side-effects.js +0 -29
- data/test/dummy/node_modules/events/tests/subclass.js +0 -51
- data/test/dummy/node_modules/evp_bytestokey/index.js +0 -68
- data/test/dummy/node_modules/evp_bytestokey/package.json +0 -84
- data/test/dummy/node_modules/evp_bytestokey/readme.md +0 -13
- data/test/dummy/node_modules/evp_bytestokey/test.js +0 -19
- data/test/dummy/node_modules/function-bind/LICENSE +0 -20
- data/test/dummy/node_modules/function-bind/README.md +0 -48
- data/test/dummy/node_modules/function-bind/implementation.js +0 -48
- data/test/dummy/node_modules/function-bind/index.js +0 -3
- data/test/dummy/node_modules/function-bind/package.json +0 -129
- data/test/dummy/node_modules/function-bind/test/index.js +0 -250
- data/test/dummy/node_modules/glob/LICENSE +0 -15
- data/test/dummy/node_modules/glob/README.md +0 -377
- data/test/dummy/node_modules/glob/common.js +0 -245
- data/test/dummy/node_modules/glob/glob.js +0 -752
- data/test/dummy/node_modules/glob/package.json +0 -98
- data/test/dummy/node_modules/glob/sync.js +0 -460
- data/test/dummy/node_modules/has/LICENSE-MIT +0 -22
- data/test/dummy/node_modules/has/README.mkd +0 -18
- data/test/dummy/node_modules/has/package.json +0 -85
- data/test/dummy/node_modules/has/src/index.js +0 -3
- data/test/dummy/node_modules/has/test/index.js +0 -10
- data/test/dummy/node_modules/hash.js/README.md +0 -28
- data/test/dummy/node_modules/hash.js/lib/hash/common.js +0 -91
- data/test/dummy/node_modules/hash.js/lib/hash/hmac.js +0 -48
- data/test/dummy/node_modules/hash.js/lib/hash/ripemd.js +0 -144
- data/test/dummy/node_modules/hash.js/lib/hash/sha.js +0 -564
- data/test/dummy/node_modules/hash.js/lib/hash/utils.js +0 -257
- data/test/dummy/node_modules/hash.js/lib/hash.js +0 -15
- data/test/dummy/node_modules/hash.js/package.json +0 -82
- data/test/dummy/node_modules/hash.js/test/hash-test.js +0 -119
- data/test/dummy/node_modules/hash.js/test/hmac-test.js +0 -59
- data/test/dummy/node_modules/htmlescape/CHANGELOG.md +0 -9
- data/test/dummy/node_modules/htmlescape/LICENSE +0 -9
- data/test/dummy/node_modules/htmlescape/README.md +0 -30
- data/test/dummy/node_modules/htmlescape/htmlescape.js +0 -42
- data/test/dummy/node_modules/htmlescape/package.json +0 -88
- data/test/dummy/node_modules/https-browserify/LICENSE +0 -18
- data/test/dummy/node_modules/https-browserify/index.js +0 -14
- data/test/dummy/node_modules/https-browserify/package.json +0 -84
- data/test/dummy/node_modules/https-browserify/readme.markdown +0 -22
- data/test/dummy/node_modules/ieee754/LICENSE +0 -56
- data/test/dummy/node_modules/ieee754/README.md +0 -47
- data/test/dummy/node_modules/ieee754/index.js +0 -84
- data/test/dummy/node_modules/ieee754/package.json +0 -93
- data/test/dummy/node_modules/ieee754/test/basic.js +0 -23
- data/test/dummy/node_modules/indexof/Makefile +0 -11
- data/test/dummy/node_modules/indexof/Readme.md +0 -15
- data/test/dummy/node_modules/indexof/component.json +0 -10
- data/test/dummy/node_modules/indexof/index.js +0 -10
- data/test/dummy/node_modules/indexof/package.json +0 -58
- data/test/dummy/node_modules/inflight/LICENSE +0 -15
- data/test/dummy/node_modules/inflight/README.md +0 -37
- data/test/dummy/node_modules/inflight/inflight.js +0 -44
- data/test/dummy/node_modules/inflight/package.json +0 -97
- data/test/dummy/node_modules/inherits/LICENSE +0 -16
- data/test/dummy/node_modules/inherits/README.md +0 -42
- data/test/dummy/node_modules/inherits/inherits.js +0 -1
- data/test/dummy/node_modules/inherits/inherits_browser.js +0 -23
- data/test/dummy/node_modules/inherits/package.json +0 -100
- data/test/dummy/node_modules/inherits/test.js +0 -25
- data/test/dummy/node_modules/inline-source-map/LICENSE +0 -23
- data/test/dummy/node_modules/inline-source-map/README.md +0 -89
- data/test/dummy/node_modules/inline-source-map/example/foo-bar.js +0 -8
- data/test/dummy/node_modules/inline-source-map/index.js +0 -135
- data/test/dummy/node_modules/inline-source-map/package.json +0 -103
- data/test/dummy/node_modules/inline-source-map/test/inline-source-map.js +0 -342
- data/test/dummy/node_modules/inline-source-map/test/source-content.js +0 -143
- data/test/dummy/node_modules/insert-module-globals/LICENSE +0 -18
- data/test/dummy/node_modules/insert-module-globals/bench/results.txt +0 -18
- data/test/dummy/node_modules/insert-module-globals/bench/run.sh +0 -2
- data/test/dummy/node_modules/insert-module-globals/bin/cmd.js +0 -26
- data/test/dummy/node_modules/insert-module-globals/example/files/foo/index.js +0 -6
- data/test/dummy/node_modules/insert-module-globals/example/files/main.js +0 -6
- data/test/dummy/node_modules/insert-module-globals/example/insert.js +0 -12
- data/test/dummy/node_modules/insert-module-globals/index.js +0 -170
- data/test/dummy/node_modules/insert-module-globals/package.json +0 -108
- data/test/dummy/node_modules/insert-module-globals/readme.markdown +0 -146
- data/test/dummy/node_modules/insert-module-globals/test/always/custom_globals_without_defaults.js +0 -7
- data/test/dummy/node_modules/insert-module-globals/test/always/hidden_from_quick_test.js +0 -1
- data/test/dummy/node_modules/insert-module-globals/test/always/main.js +0 -10
- data/test/dummy/node_modules/insert-module-globals/test/always.js +0 -105
- data/test/dummy/node_modules/insert-module-globals/test/global/filename.js +0 -2
- data/test/dummy/node_modules/insert-module-globals/test/global/main.js +0 -2
- data/test/dummy/node_modules/insert-module-globals/test/global.js +0 -63
- data/test/dummy/node_modules/insert-module-globals/test/insert/buffer.js +0 -1
- data/test/dummy/node_modules/insert-module-globals/test/insert/foo/buf.js +0 -4
- data/test/dummy/node_modules/insert-module-globals/test/insert/foo/index.js +0 -4
- data/test/dummy/node_modules/insert-module-globals/test/insert/main.js +0 -4
- data/test/dummy/node_modules/insert-module-globals/test/insert.js +0 -46
- data/test/dummy/node_modules/insert-module-globals/test/isbuffer/main.js +0 -3
- data/test/dummy/node_modules/insert-module-globals/test/isbuffer.js +0 -27
- data/test/dummy/node_modules/insert-module-globals/test/return/foo/index.js +0 -4
- data/test/dummy/node_modules/insert-module-globals/test/return/main.js +0 -6
- data/test/dummy/node_modules/insert-module-globals/test/return.js +0 -27
- data/test/dummy/node_modules/insert-module-globals/test/sourcemap/main.js +0 -3
- data/test/dummy/node_modules/insert-module-globals/test/sourcemap/main_es6.js +0 -1
- data/test/dummy/node_modules/insert-module-globals/test/sourcemap.js +0 -40
- data/test/dummy/node_modules/insert-module-globals/test/unprefix/hello.js +0 -2
- data/test/dummy/node_modules/insert-module-globals/test/unprefix/main.js +0 -3
- data/test/dummy/node_modules/insert-module-globals/test/unprefix.js +0 -33
- data/test/dummy/node_modules/is/CHANGELOG.md +0 -100
- data/test/dummy/node_modules/is/LICENSE.md +0 -23
- data/test/dummy/node_modules/is/Makefile +0 -17
- data/test/dummy/node_modules/is/README.md +0 -140
- data/test/dummy/node_modules/is/component.json +0 -8
- data/test/dummy/node_modules/is/index.js +0 -761
- data/test/dummy/node_modules/is/package.json +0 -119
- data/test/dummy/node_modules/is/test/index.js +0 -636
- data/test/dummy/node_modules/is-buffer/LICENSE +0 -21
- data/test/dummy/node_modules/is-buffer/README.md +0 -49
- data/test/dummy/node_modules/is-buffer/index.js +0 -21
- data/test/dummy/node_modules/is-buffer/package.json +0 -104
- data/test/dummy/node_modules/is-buffer/test/basic.js +0 -25
- data/test/dummy/node_modules/isarray/Makefile +0 -6
- data/test/dummy/node_modules/isarray/README.md +0 -60
- data/test/dummy/node_modules/isarray/component.json +0 -19
- data/test/dummy/node_modules/isarray/index.js +0 -5
- data/test/dummy/node_modules/isarray/package.json +0 -99
- data/test/dummy/node_modules/isarray/test.js +0 -20
- data/test/dummy/node_modules/jquery.cookie/CHANGELOG.md +0 -73
- data/test/dummy/node_modules/jquery.cookie/CONTRIBUTING.md +0 -53
- data/test/dummy/node_modules/jquery.cookie/Gruntfile.js +0 -115
- data/test/dummy/node_modules/jquery.cookie/MIT-LICENSE.txt +0 -20
- data/test/dummy/node_modules/jquery.cookie/README.md +0 -151
- data/test/dummy/node_modules/jquery.cookie/bower.json +0 -18
- data/test/dummy/node_modules/jquery.cookie/component.json +0 -14
- data/test/dummy/node_modules/jquery.cookie/cookie.jquery.json +0 -32
- data/test/dummy/node_modules/jquery.cookie/jquery.cookie.js +0 -117
- data/test/dummy/node_modules/jquery.cookie/package.json +0 -103
- data/test/dummy/node_modules/jquery.cookie/test/index.html +0 -19
- data/test/dummy/node_modules/jquery.cookie/test/malformed_cookie.html +0 -18
- data/test/dummy/node_modules/jquery.cookie/test/server.js +0 -24
- data/test/dummy/node_modules/jquery.cookie/test/tests.js +0 -325
- data/test/dummy/node_modules/json-stable-stringify/LICENSE +0 -18
- data/test/dummy/node_modules/json-stable-stringify/example/key_cmp.js +0 -7
- data/test/dummy/node_modules/json-stable-stringify/example/nested.js +0 -3
- data/test/dummy/node_modules/json-stable-stringify/example/str.js +0 -3
- data/test/dummy/node_modules/json-stable-stringify/example/value_cmp.js +0 -7
- data/test/dummy/node_modules/json-stable-stringify/index.js +0 -50
- data/test/dummy/node_modules/json-stable-stringify/package.json +0 -95
- data/test/dummy/node_modules/json-stable-stringify/readme.markdown +0 -90
- data/test/dummy/node_modules/json-stable-stringify/test/cmp.js +0 -11
- data/test/dummy/node_modules/json-stable-stringify/test/nested.js +0 -8
- data/test/dummy/node_modules/json-stable-stringify/test/str.js +0 -8
- data/test/dummy/node_modules/jsonify/README.markdown +0 -34
- data/test/dummy/node_modules/jsonify/index.js +0 -2
- data/test/dummy/node_modules/jsonify/lib/parse.js +0 -273
- data/test/dummy/node_modules/jsonify/lib/stringify.js +0 -154
- data/test/dummy/node_modules/jsonify/package.json +0 -83
- data/test/dummy/node_modules/jsonify/test/parse.js +0 -16
- data/test/dummy/node_modules/jsonify/test/stringify.js +0 -15
- data/test/dummy/node_modules/jsonparse/LICENSE +0 -24
- data/test/dummy/node_modules/jsonparse/README.markdown +0 -11
- data/test/dummy/node_modules/jsonparse/bench.js +0 -26
- data/test/dummy/node_modules/jsonparse/examples/twitterfeed.js +0 -30
- data/test/dummy/node_modules/jsonparse/jsonparse.js +0 -341
- data/test/dummy/node_modules/jsonparse/package.json +0 -85
- data/test/dummy/node_modules/jsonparse/samplejson/basic.json +0 -167
- data/test/dummy/node_modules/jsonparse/samplejson/basic2.json +0 -180
- data/test/dummy/node_modules/jsonparse/test/boundary.js +0 -110
- data/test/dummy/node_modules/jsonparse/test/offset.js +0 -67
- data/test/dummy/node_modules/jsonparse/test/primitives.js +0 -57
- data/test/dummy/node_modules/jsonparse/test/unvalid.js +0 -15
- data/test/dummy/node_modules/jsonparse/test/utf8.js +0 -38
- data/test/dummy/node_modules/labeled-stream-splicer/LICENSE +0 -18
- data/test/dummy/node_modules/labeled-stream-splicer/example/browser/bar.js +0 -3
- data/test/dummy/node_modules/labeled-stream-splicer/example/browser/foo.js +0 -5
- data/test/dummy/node_modules/labeled-stream-splicer/example/browser/main.js +0 -2
- data/test/dummy/node_modules/labeled-stream-splicer/example/browser/xyz.js +0 -2
- data/test/dummy/node_modules/labeled-stream-splicer/example/bundle.js +0 -16
- data/test/dummy/node_modules/labeled-stream-splicer/index.js +0 -65
- data/test/dummy/node_modules/labeled-stream-splicer/node_modules/isarray/README.md +0 -54
- data/test/dummy/node_modules/labeled-stream-splicer/node_modules/isarray/build/build.js +0 -209
- data/test/dummy/node_modules/labeled-stream-splicer/node_modules/isarray/component.json +0 -19
- data/test/dummy/node_modules/labeled-stream-splicer/node_modules/isarray/index.js +0 -3
- data/test/dummy/node_modules/labeled-stream-splicer/node_modules/isarray/package.json +0 -78
- data/test/dummy/node_modules/labeled-stream-splicer/package.json +0 -90
- data/test/dummy/node_modules/labeled-stream-splicer/readme.markdown +0 -124
- data/test/dummy/node_modules/labeled-stream-splicer/test/bundle/bar.js +0 -3
- data/test/dummy/node_modules/labeled-stream-splicer/test/bundle/foo.js +0 -5
- data/test/dummy/node_modules/labeled-stream-splicer/test/bundle/main.js +0 -2
- data/test/dummy/node_modules/labeled-stream-splicer/test/bundle/xyz.js +0 -2
- data/test/dummy/node_modules/labeled-stream-splicer/test/bundle.js +0 -27
- data/test/dummy/node_modules/lexical-scope/LICENSE +0 -18
- data/test/dummy/node_modules/lexical-scope/bench/jquery.js +0 -4
- data/test/dummy/node_modules/lexical-scope/bench/results.txt +0 -15
- data/test/dummy/node_modules/lexical-scope/bench/run.js +0 -7
- data/test/dummy/node_modules/lexical-scope/example/detect.js +0 -6
- data/test/dummy/node_modules/lexical-scope/example/src.js +0 -27
- data/test/dummy/node_modules/lexical-scope/index.js +0 -194
- data/test/dummy/node_modules/lexical-scope/package.json +0 -110
- data/test/dummy/node_modules/lexical-scope/readme.markdown +0 -148
- data/test/dummy/node_modules/lexical-scope/test/argument.js +0 -17
- data/test/dummy/node_modules/lexical-scope/test/assign_implicit.js +0 -13
- data/test/dummy/node_modules/lexical-scope/test/detect.js +0 -17
- data/test/dummy/node_modules/lexical-scope/test/files/argument.js +0 -6
- data/test/dummy/node_modules/lexical-scope/test/files/assign_implicit.js +0 -2
- data/test/dummy/node_modules/lexical-scope/test/files/buffer_call.js +0 -1
- data/test/dummy/node_modules/lexical-scope/test/files/buffer_isbuffer.js +0 -1
- data/test/dummy/node_modules/lexical-scope/test/files/buffer_var.js +0 -1
- data/test/dummy/node_modules/lexical-scope/test/files/detect.js +0 -32
- data/test/dummy/node_modules/lexical-scope/test/files/labels.js +0 -11
- data/test/dummy/node_modules/lexical-scope/test/files/multiple-exports.js +0 -6
- data/test/dummy/node_modules/lexical-scope/test/files/named_arg.js +0 -6
- data/test/dummy/node_modules/lexical-scope/test/files/obj.js +0 -1
- data/test/dummy/node_modules/lexical-scope/test/files/return_hash.js +0 -5
- data/test/dummy/node_modules/lexical-scope/test/files/right_hand.js +0 -2
- data/test/dummy/node_modules/lexical-scope/test/files/try_catch.js +0 -7
- data/test/dummy/node_modules/lexical-scope/test/labels.js +0 -13
- data/test/dummy/node_modules/lexical-scope/test/multiple-exports.js +0 -18
- data/test/dummy/node_modules/lexical-scope/test/named_arg.js +0 -17
- data/test/dummy/node_modules/lexical-scope/test/obj.js +0 -16
- data/test/dummy/node_modules/lexical-scope/test/package.json +0 -3
- data/test/dummy/node_modules/lexical-scope/test/props.js +0 -41
- data/test/dummy/node_modules/lexical-scope/test/return_hash.js +0 -13
- data/test/dummy/node_modules/lexical-scope/test/right_hand.js +0 -16
- data/test/dummy/node_modules/lexical-scope/test/shebang.js +0 -19
- data/test/dummy/node_modules/lexical-scope/test/try_catch.js +0 -13
- data/test/dummy/node_modules/lodash/LICENSE +0 -47
- data/test/dummy/node_modules/lodash/README.md +0 -40
- data/test/dummy/node_modules/lodash/_DataView.js +0 -7
- data/test/dummy/node_modules/lodash/_Hash.js +0 -32
- data/test/dummy/node_modules/lodash/_LazyWrapper.js +0 -28
- data/test/dummy/node_modules/lodash/_ListCache.js +0 -32
- data/test/dummy/node_modules/lodash/_LodashWrapper.js +0 -22
- data/test/dummy/node_modules/lodash/_Map.js +0 -7
- data/test/dummy/node_modules/lodash/_MapCache.js +0 -32
- data/test/dummy/node_modules/lodash/_Promise.js +0 -7
- data/test/dummy/node_modules/lodash/_Set.js +0 -7
- data/test/dummy/node_modules/lodash/_SetCache.js +0 -27
- data/test/dummy/node_modules/lodash/_Stack.js +0 -26
- data/test/dummy/node_modules/lodash/_Symbol.js +0 -6
- data/test/dummy/node_modules/lodash/_Uint8Array.js +0 -6
- data/test/dummy/node_modules/lodash/_WeakMap.js +0 -7
- data/test/dummy/node_modules/lodash/_addMapEntry.js +0 -15
- data/test/dummy/node_modules/lodash/_addSetEntry.js +0 -15
- data/test/dummy/node_modules/lodash/_apply.js +0 -21
- data/test/dummy/node_modules/lodash/_arrayAggregator.js +0 -22
- data/test/dummy/node_modules/lodash/_arrayEach.js +0 -22
- data/test/dummy/node_modules/lodash/_arrayEachRight.js +0 -21
- data/test/dummy/node_modules/lodash/_arrayEvery.js +0 -23
- data/test/dummy/node_modules/lodash/_arrayFilter.js +0 -25
- data/test/dummy/node_modules/lodash/_arrayIncludes.js +0 -17
- data/test/dummy/node_modules/lodash/_arrayIncludesWith.js +0 -22
- data/test/dummy/node_modules/lodash/_arrayLikeKeys.js +0 -39
- data/test/dummy/node_modules/lodash/_arrayMap.js +0 -21
- data/test/dummy/node_modules/lodash/_arrayPush.js +0 -20
- data/test/dummy/node_modules/lodash/_arrayReduce.js +0 -26
- data/test/dummy/node_modules/lodash/_arrayReduceRight.js +0 -24
- data/test/dummy/node_modules/lodash/_arraySome.js +0 -23
- data/test/dummy/node_modules/lodash/_asciiSize.js +0 -12
- data/test/dummy/node_modules/lodash/_asciiToArray.js +0 -12
- data/test/dummy/node_modules/lodash/_asciiWords.js +0 -15
- data/test/dummy/node_modules/lodash/_assignInDefaults.js +0 -27
- data/test/dummy/node_modules/lodash/_assignMergeValue.js +0 -19
- data/test/dummy/node_modules/lodash/_assignValue.js +0 -27
- data/test/dummy/node_modules/lodash/_assocIndexOf.js +0 -21
- data/test/dummy/node_modules/lodash/_baseAggregator.js +0 -21
- data/test/dummy/node_modules/lodash/_baseAssign.js +0 -17
- data/test/dummy/node_modules/lodash/_baseAt.js +0 -23
- data/test/dummy/node_modules/lodash/_baseClamp.js +0 -22
- data/test/dummy/node_modules/lodash/_baseClone.js +0 -139
- data/test/dummy/node_modules/lodash/_baseConforms.js +0 -18
- data/test/dummy/node_modules/lodash/_baseConformsTo.js +0 -27
- data/test/dummy/node_modules/lodash/_baseCreate.js +0 -18
- data/test/dummy/node_modules/lodash/_baseDelay.js +0 -21
- data/test/dummy/node_modules/lodash/_baseDifference.js +0 -67
- data/test/dummy/node_modules/lodash/_baseEach.js +0 -14
- data/test/dummy/node_modules/lodash/_baseEachRight.js +0 -14
- data/test/dummy/node_modules/lodash/_baseEvery.js +0 -21
- data/test/dummy/node_modules/lodash/_baseExtremum.js +0 -32
- data/test/dummy/node_modules/lodash/_baseFill.js +0 -32
- data/test/dummy/node_modules/lodash/_baseFilter.js +0 -21
- data/test/dummy/node_modules/lodash/_baseFindIndex.js +0 -24
- data/test/dummy/node_modules/lodash/_baseFindKey.js +0 -23
- data/test/dummy/node_modules/lodash/_baseFlatten.js +0 -38
- data/test/dummy/node_modules/lodash/_baseFor.js +0 -16
- data/test/dummy/node_modules/lodash/_baseForOwn.js +0 -16
- data/test/dummy/node_modules/lodash/_baseForOwnRight.js +0 -16
- data/test/dummy/node_modules/lodash/_baseForRight.js +0 -15
- data/test/dummy/node_modules/lodash/_baseFunctions.js +0 -19
- data/test/dummy/node_modules/lodash/_baseGet.js +0 -25
- data/test/dummy/node_modules/lodash/_baseGetAllKeys.js +0 -20
- data/test/dummy/node_modules/lodash/_baseGetTag.js +0 -22
- data/test/dummy/node_modules/lodash/_baseGt.js +0 -14
- data/test/dummy/node_modules/lodash/_baseHas.js +0 -19
- data/test/dummy/node_modules/lodash/_baseHasIn.js +0 -13
- data/test/dummy/node_modules/lodash/_baseInRange.js +0 -18
- data/test/dummy/node_modules/lodash/_baseIndexOf.js +0 -28
- data/test/dummy/node_modules/lodash/_baseIndexOfWith.js +0 -23
- data/test/dummy/node_modules/lodash/_baseIntersection.js +0 -74
- data/test/dummy/node_modules/lodash/_baseInverter.js +0 -21
- data/test/dummy/node_modules/lodash/_baseInvoke.js +0 -28
- data/test/dummy/node_modules/lodash/_baseIsArrayBuffer.js +0 -26
- data/test/dummy/node_modules/lodash/_baseIsDate.js +0 -27
- data/test/dummy/node_modules/lodash/_baseIsEqual.js +0 -30
- data/test/dummy/node_modules/lodash/_baseIsEqualDeep.js +0 -82
- data/test/dummy/node_modules/lodash/_baseIsMap.js +0 -18
- data/test/dummy/node_modules/lodash/_baseIsMatch.js +0 -62
- data/test/dummy/node_modules/lodash/_baseIsNaN.js +0 -12
- data/test/dummy/node_modules/lodash/_baseIsNative.js +0 -48
- data/test/dummy/node_modules/lodash/_baseIsRegExp.js +0 -27
- data/test/dummy/node_modules/lodash/_baseIsSet.js +0 -18
- data/test/dummy/node_modules/lodash/_baseIsTypedArray.js +0 -69
- data/test/dummy/node_modules/lodash/_baseIteratee.js +0 -31
- data/test/dummy/node_modules/lodash/_baseKeys.js +0 -30
- data/test/dummy/node_modules/lodash/_baseKeysIn.js +0 -33
- data/test/dummy/node_modules/lodash/_baseLodash.js +0 -10
- data/test/dummy/node_modules/lodash/_baseLt.js +0 -14
- data/test/dummy/node_modules/lodash/_baseMap.js +0 -22
- data/test/dummy/node_modules/lodash/_baseMatches.js +0 -22
- data/test/dummy/node_modules/lodash/_baseMatchesProperty.js +0 -33
- data/test/dummy/node_modules/lodash/_baseMean.js +0 -20
- data/test/dummy/node_modules/lodash/_baseMerge.js +0 -50
- data/test/dummy/node_modules/lodash/_baseMergeDeep.js +0 -82
- data/test/dummy/node_modules/lodash/_baseNth.js +0 -20
- data/test/dummy/node_modules/lodash/_baseOrderBy.js +0 -34
- data/test/dummy/node_modules/lodash/_basePick.js +0 -19
- data/test/dummy/node_modules/lodash/_basePickBy.js +0 -26
- data/test/dummy/node_modules/lodash/_baseProperty.js +0 -14
- data/test/dummy/node_modules/lodash/_basePropertyDeep.js +0 -16
- data/test/dummy/node_modules/lodash/_basePropertyOf.js +0 -14
- data/test/dummy/node_modules/lodash/_basePullAll.js +0 -51
- data/test/dummy/node_modules/lodash/_basePullAt.js +0 -50
- data/test/dummy/node_modules/lodash/_baseRandom.js +0 -18
- data/test/dummy/node_modules/lodash/_baseRange.js +0 -28
- data/test/dummy/node_modules/lodash/_baseReduce.js +0 -23
- data/test/dummy/node_modules/lodash/_baseRepeat.js +0 -35
- data/test/dummy/node_modules/lodash/_baseRest.js +0 -35
- data/test/dummy/node_modules/lodash/_baseSet.js +0 -48
- data/test/dummy/node_modules/lodash/_baseSetData.js +0 -17
- data/test/dummy/node_modules/lodash/_baseSlice.js +0 -31
- data/test/dummy/node_modules/lodash/_baseSome.js +0 -22
- data/test/dummy/node_modules/lodash/_baseSortBy.js +0 -21
- data/test/dummy/node_modules/lodash/_baseSortedIndex.js +0 -42
- data/test/dummy/node_modules/lodash/_baseSortedIndexBy.js +0 -64
- data/test/dummy/node_modules/lodash/_baseSortedUniq.js +0 -30
- data/test/dummy/node_modules/lodash/_baseSum.js +0 -24
- data/test/dummy/node_modules/lodash/_baseTimes.js +0 -20
- data/test/dummy/node_modules/lodash/_baseToNumber.js +0 -24
- data/test/dummy/node_modules/lodash/_baseToPairs.js +0 -18
- data/test/dummy/node_modules/lodash/_baseToString.js +0 -31
- data/test/dummy/node_modules/lodash/_baseUnary.js +0 -14
- data/test/dummy/node_modules/lodash/_baseUniq.js +0 -72
- data/test/dummy/node_modules/lodash/_baseUnset.js +0 -29
- data/test/dummy/node_modules/lodash/_baseUpdate.js +0 -18
- data/test/dummy/node_modules/lodash/_baseValues.js +0 -19
- data/test/dummy/node_modules/lodash/_baseWhile.js +0 -26
- data/test/dummy/node_modules/lodash/_baseWrapperValue.js +0 -25
- data/test/dummy/node_modules/lodash/_baseXor.js +0 -30
- data/test/dummy/node_modules/lodash/_baseZipObject.js +0 -23
- data/test/dummy/node_modules/lodash/_cacheHas.js +0 -13
- data/test/dummy/node_modules/lodash/_castArrayLikeObject.js +0 -14
- data/test/dummy/node_modules/lodash/_castFunction.js +0 -14
- data/test/dummy/node_modules/lodash/_castPath.js +0 -15
- data/test/dummy/node_modules/lodash/_castSlice.js +0 -18
- data/test/dummy/node_modules/lodash/_charsEndIndex.js +0 -19
- data/test/dummy/node_modules/lodash/_charsStartIndex.js +0 -20
- data/test/dummy/node_modules/lodash/_cloneArrayBuffer.js +0 -16
- data/test/dummy/node_modules/lodash/_cloneBuffer.js +0 -18
- data/test/dummy/node_modules/lodash/_cloneDataView.js +0 -16
- data/test/dummy/node_modules/lodash/_cloneMap.js +0 -19
- data/test/dummy/node_modules/lodash/_cloneRegExp.js +0 -17
- data/test/dummy/node_modules/lodash/_cloneSet.js +0 -19
- data/test/dummy/node_modules/lodash/_cloneSymbol.js +0 -18
- data/test/dummy/node_modules/lodash/_cloneTypedArray.js +0 -16
- data/test/dummy/node_modules/lodash/_compareAscending.js +0 -41
- data/test/dummy/node_modules/lodash/_compareMultiple.js +0 -44
- data/test/dummy/node_modules/lodash/_composeArgs.js +0 -39
- data/test/dummy/node_modules/lodash/_composeArgsRight.js +0 -41
- data/test/dummy/node_modules/lodash/_copyArray.js +0 -20
- data/test/dummy/node_modules/lodash/_copyObject.js +0 -31
- data/test/dummy/node_modules/lodash/_copySymbols.js +0 -16
- data/test/dummy/node_modules/lodash/_coreJsData.js +0 -6
- data/test/dummy/node_modules/lodash/_countHolders.js +0 -21
- data/test/dummy/node_modules/lodash/_createAggregator.js +0 -23
- data/test/dummy/node_modules/lodash/_createAssigner.js +0 -37
- data/test/dummy/node_modules/lodash/_createBaseEach.js +0 -32
- data/test/dummy/node_modules/lodash/_createBaseFor.js +0 -25
- data/test/dummy/node_modules/lodash/_createBind.js +0 -28
- data/test/dummy/node_modules/lodash/_createCaseFirst.js +0 -33
- data/test/dummy/node_modules/lodash/_createCompounder.js +0 -24
- data/test/dummy/node_modules/lodash/_createCtor.js +0 -37
- data/test/dummy/node_modules/lodash/_createCurry.js +0 -46
- data/test/dummy/node_modules/lodash/_createFind.js +0 -25
- data/test/dummy/node_modules/lodash/_createFlow.js +0 -85
- data/test/dummy/node_modules/lodash/_createHybrid.js +0 -92
- data/test/dummy/node_modules/lodash/_createInverter.js +0 -17
- data/test/dummy/node_modules/lodash/_createMathOperation.js +0 -38
- data/test/dummy/node_modules/lodash/_createOver.js +0 -31
- data/test/dummy/node_modules/lodash/_createPadding.js +0 -33
- data/test/dummy/node_modules/lodash/_createPartial.js +0 -43
- data/test/dummy/node_modules/lodash/_createRange.js +0 -30
- data/test/dummy/node_modules/lodash/_createRecurry.js +0 -56
- data/test/dummy/node_modules/lodash/_createRelationalOperation.js +0 -20
- data/test/dummy/node_modules/lodash/_createRound.js +0 -33
- data/test/dummy/node_modules/lodash/_createSet.js +0 -19
- data/test/dummy/node_modules/lodash/_createToPairs.js +0 -30
- data/test/dummy/node_modules/lodash/_createWrap.js +0 -107
- data/test/dummy/node_modules/lodash/_deburrLetter.js +0 -71
- data/test/dummy/node_modules/lodash/_defineProperty.js +0 -11
- data/test/dummy/node_modules/lodash/_equalArrays.js +0 -83
- data/test/dummy/node_modules/lodash/_equalByTag.js +0 -113
- data/test/dummy/node_modules/lodash/_equalObjects.js +0 -90
- data/test/dummy/node_modules/lodash/_escapeHtmlChar.js +0 -22
- data/test/dummy/node_modules/lodash/_escapeStringChar.js +0 -22
- data/test/dummy/node_modules/lodash/_freeGlobal.js +0 -4
- data/test/dummy/node_modules/lodash/_getAllKeys.js +0 -16
- data/test/dummy/node_modules/lodash/_getAllKeysIn.js +0 -17
- data/test/dummy/node_modules/lodash/_getData.js +0 -15
- data/test/dummy/node_modules/lodash/_getFuncName.js +0 -31
- data/test/dummy/node_modules/lodash/_getHolder.js +0 -13
- data/test/dummy/node_modules/lodash/_getMapData.js +0 -18
- data/test/dummy/node_modules/lodash/_getMatchData.js +0 -24
- data/test/dummy/node_modules/lodash/_getNative.js +0 -17
- data/test/dummy/node_modules/lodash/_getPrototype.js +0 -6
- data/test/dummy/node_modules/lodash/_getSymbols.js +0 -16
- data/test/dummy/node_modules/lodash/_getSymbolsIn.js +0 -26
- data/test/dummy/node_modules/lodash/_getTag.js +0 -69
- data/test/dummy/node_modules/lodash/_getValue.js +0 -13
- data/test/dummy/node_modules/lodash/_getView.js +0 -33
- data/test/dummy/node_modules/lodash/_getWrapDetails.js +0 -17
- data/test/dummy/node_modules/lodash/_hasPath.js +0 -40
- data/test/dummy/node_modules/lodash/_hasUnicode.js +0 -24
- data/test/dummy/node_modules/lodash/_hasUnicodeWord.js +0 -15
- data/test/dummy/node_modules/lodash/_hashClear.js +0 -14
- data/test/dummy/node_modules/lodash/_hashDelete.js +0 -15
- data/test/dummy/node_modules/lodash/_hashGet.js +0 -30
- data/test/dummy/node_modules/lodash/_hashHas.js +0 -23
- data/test/dummy/node_modules/lodash/_hashSet.js +0 -22
- data/test/dummy/node_modules/lodash/_initCloneArray.js +0 -26
- data/test/dummy/node_modules/lodash/_initCloneByTag.js +0 -80
- data/test/dummy/node_modules/lodash/_initCloneObject.js +0 -18
- data/test/dummy/node_modules/lodash/_insertWrapDetails.js +0 -21
- data/test/dummy/node_modules/lodash/_isFlattenable.js +0 -20
- data/test/dummy/node_modules/lodash/_isHostObject.js +0 -20
- data/test/dummy/node_modules/lodash/_isIndex.js +0 -22
- data/test/dummy/node_modules/lodash/_isIterateeCall.js +0 -30
- data/test/dummy/node_modules/lodash/_isKey.js +0 -29
- data/test/dummy/node_modules/lodash/_isKeyable.js +0 -15
- data/test/dummy/node_modules/lodash/_isLaziable.js +0 -28
- data/test/dummy/node_modules/lodash/_isMaskable.js +0 -14
- data/test/dummy/node_modules/lodash/_isMasked.js +0 -20
- data/test/dummy/node_modules/lodash/_isPrototype.js +0 -18
- data/test/dummy/node_modules/lodash/_isStrictComparable.js +0 -15
- data/test/dummy/node_modules/lodash/_iteratorToArray.js +0 -18
- data/test/dummy/node_modules/lodash/_lazyClone.js +0 -23
- data/test/dummy/node_modules/lodash/_lazyReverse.js +0 -23
- data/test/dummy/node_modules/lodash/_lazyValue.js +0 -73
- data/test/dummy/node_modules/lodash/_listCacheClear.js +0 -12
- data/test/dummy/node_modules/lodash/_listCacheDelete.js +0 -34
- data/test/dummy/node_modules/lodash/_listCacheGet.js +0 -19
- data/test/dummy/node_modules/lodash/_listCacheHas.js +0 -16
- data/test/dummy/node_modules/lodash/_listCacheSet.js +0 -25
- data/test/dummy/node_modules/lodash/_mapCacheClear.js +0 -20
- data/test/dummy/node_modules/lodash/_mapCacheDelete.js +0 -16
- data/test/dummy/node_modules/lodash/_mapCacheGet.js +0 -16
- data/test/dummy/node_modules/lodash/_mapCacheHas.js +0 -16
- data/test/dummy/node_modules/lodash/_mapCacheSet.js +0 -18
- data/test/dummy/node_modules/lodash/_mapToArray.js +0 -18
- data/test/dummy/node_modules/lodash/_matchesStrictComparable.js +0 -20
- data/test/dummy/node_modules/lodash/_mergeData.js +0 -90
- data/test/dummy/node_modules/lodash/_mergeDefaults.js +0 -27
- data/test/dummy/node_modules/lodash/_metaMap.js +0 -6
- data/test/dummy/node_modules/lodash/_nativeCreate.js +0 -6
- data/test/dummy/node_modules/lodash/_nativeKeys.js +0 -6
- data/test/dummy/node_modules/lodash/_nativeKeysIn.js +0 -20
- data/test/dummy/node_modules/lodash/_nodeUtil.js +0 -22
- data/test/dummy/node_modules/lodash/_overArg.js +0 -15
- data/test/dummy/node_modules/lodash/_parent.js +0 -16
- data/test/dummy/node_modules/lodash/_reEscape.js +0 -4
- data/test/dummy/node_modules/lodash/_reEvaluate.js +0 -4
- data/test/dummy/node_modules/lodash/_reInterpolate.js +0 -4
- data/test/dummy/node_modules/lodash/_realNames.js +0 -4
- data/test/dummy/node_modules/lodash/_reorder.js +0 -29
- data/test/dummy/node_modules/lodash/_replaceHolders.js +0 -29
- data/test/dummy/node_modules/lodash/_root.js +0 -9
- data/test/dummy/node_modules/lodash/_setCacheAdd.js +0 -19
- data/test/dummy/node_modules/lodash/_setCacheHas.js +0 -14
- data/test/dummy/node_modules/lodash/_setData.js +0 -42
- data/test/dummy/node_modules/lodash/_setToArray.js +0 -18
- data/test/dummy/node_modules/lodash/_setToPairs.js +0 -18
- data/test/dummy/node_modules/lodash/_setWrapToString.js +0 -27
- data/test/dummy/node_modules/lodash/_stackClear.js +0 -14
- data/test/dummy/node_modules/lodash/_stackDelete.js +0 -14
- data/test/dummy/node_modules/lodash/_stackGet.js +0 -14
- data/test/dummy/node_modules/lodash/_stackHas.js +0 -14
- data/test/dummy/node_modules/lodash/_stackSet.js +0 -32
- data/test/dummy/node_modules/lodash/_stringSize.js +0 -18
- data/test/dummy/node_modules/lodash/_stringToArray.js +0 -18
- data/test/dummy/node_modules/lodash/_stringToPath.js +0 -31
- data/test/dummy/node_modules/lodash/_toKey.js +0 -21
- data/test/dummy/node_modules/lodash/_toSource.js +0 -26
- data/test/dummy/node_modules/lodash/_unescapeHtmlChar.js +0 -22
- data/test/dummy/node_modules/lodash/_unicodeSize.js +0 -42
- data/test/dummy/node_modules/lodash/_unicodeToArray.js +0 -38
- data/test/dummy/node_modules/lodash/_unicodeWords.js +0 -63
- data/test/dummy/node_modules/lodash/_updateWrapDetails.js +0 -46
- data/test/dummy/node_modules/lodash/_wrapperClone.js +0 -23
- data/test/dummy/node_modules/lodash/add.js +0 -22
- data/test/dummy/node_modules/lodash/after.js +0 -42
- data/test/dummy/node_modules/lodash/array.js +0 -67
- data/test/dummy/node_modules/lodash/ary.js +0 -29
- data/test/dummy/node_modules/lodash/assign.js +0 -64
- data/test/dummy/node_modules/lodash/assignIn.js +0 -40
- data/test/dummy/node_modules/lodash/assignInWith.js +0 -38
- data/test/dummy/node_modules/lodash/assignWith.js +0 -37
- data/test/dummy/node_modules/lodash/at.js +0 -26
- data/test/dummy/node_modules/lodash/attempt.js +0 -35
- data/test/dummy/node_modules/lodash/before.js +0 -40
- data/test/dummy/node_modules/lodash/bind.js +0 -57
- data/test/dummy/node_modules/lodash/bindAll.js +0 -41
- data/test/dummy/node_modules/lodash/bindKey.js +0 -68
- data/test/dummy/node_modules/lodash/camelCase.js +0 -29
- data/test/dummy/node_modules/lodash/capitalize.js +0 -23
- data/test/dummy/node_modules/lodash/castArray.js +0 -44
- data/test/dummy/node_modules/lodash/ceil.js +0 -26
- data/test/dummy/node_modules/lodash/chain.js +0 -38
- data/test/dummy/node_modules/lodash/chunk.js +0 -50
- data/test/dummy/node_modules/lodash/clamp.js +0 -39
- data/test/dummy/node_modules/lodash/clone.js +0 -33
- data/test/dummy/node_modules/lodash/cloneDeep.js +0 -25
- data/test/dummy/node_modules/lodash/cloneDeepWith.js +0 -35
- data/test/dummy/node_modules/lodash/cloneWith.js +0 -38
- data/test/dummy/node_modules/lodash/collection.js +0 -30
- data/test/dummy/node_modules/lodash/commit.js +0 -33
- data/test/dummy/node_modules/lodash/compact.js +0 -31
- data/test/dummy/node_modules/lodash/concat.js +0 -42
- data/test/dummy/node_modules/lodash/cond.js +0 -60
- data/test/dummy/node_modules/lodash/conforms.js +0 -32
- data/test/dummy/node_modules/lodash/conformsTo.js +0 -32
- data/test/dummy/node_modules/lodash/constant.js +0 -26
- data/test/dummy/node_modules/lodash/core.js +0 -3806
- data/test/dummy/node_modules/lodash/core.min.js +0 -28
- data/test/dummy/node_modules/lodash/countBy.js +0 -36
- data/test/dummy/node_modules/lodash/create.js +0 -43
- data/test/dummy/node_modules/lodash/curry.js +0 -57
- data/test/dummy/node_modules/lodash/curryRight.js +0 -54
- data/test/dummy/node_modules/lodash/date.js +0 -3
- data/test/dummy/node_modules/lodash/debounce.js +0 -188
- data/test/dummy/node_modules/lodash/deburr.js +0 -43
- data/test/dummy/node_modules/lodash/defaultTo.js +0 -25
- data/test/dummy/node_modules/lodash/defaults.js +0 -32
- data/test/dummy/node_modules/lodash/defaultsDeep.js +0 -30
- data/test/dummy/node_modules/lodash/defer.js +0 -26
- data/test/dummy/node_modules/lodash/delay.js +0 -28
- data/test/dummy/node_modules/lodash/difference.js +0 -33
- data/test/dummy/node_modules/lodash/differenceBy.js +0 -43
- data/test/dummy/node_modules/lodash/differenceWith.js +0 -40
- data/test/dummy/node_modules/lodash/divide.js +0 -22
- data/test/dummy/node_modules/lodash/drop.js +0 -38
- data/test/dummy/node_modules/lodash/dropRight.js +0 -39
- data/test/dummy/node_modules/lodash/dropRightWhile.js +0 -45
- data/test/dummy/node_modules/lodash/dropWhile.js +0 -46
- data/test/dummy/node_modules/lodash/each.js +0 -1
- data/test/dummy/node_modules/lodash/eachRight.js +0 -1
- data/test/dummy/node_modules/lodash/endsWith.js +0 -43
- data/test/dummy/node_modules/lodash/entries.js +0 -1
- data/test/dummy/node_modules/lodash/entriesIn.js +0 -1
- data/test/dummy/node_modules/lodash/eq.js +0 -37
- data/test/dummy/node_modules/lodash/escape.js +0 -49
- data/test/dummy/node_modules/lodash/escapeRegExp.js +0 -32
- data/test/dummy/node_modules/lodash/every.js +0 -57
- data/test/dummy/node_modules/lodash/extend.js +0 -1
- data/test/dummy/node_modules/lodash/extendWith.js +0 -1
- data/test/dummy/node_modules/lodash/fill.js +0 -45
- data/test/dummy/node_modules/lodash/filter.js +0 -49
- data/test/dummy/node_modules/lodash/find.js +0 -43
- data/test/dummy/node_modules/lodash/findIndex.js +0 -56
- data/test/dummy/node_modules/lodash/findKey.js +0 -44
- data/test/dummy/node_modules/lodash/findLast.js +0 -26
- data/test/dummy/node_modules/lodash/findLastIndex.js +0 -60
- data/test/dummy/node_modules/lodash/findLastKey.js +0 -44
- data/test/dummy/node_modules/lodash/first.js +0 -1
- data/test/dummy/node_modules/lodash/flatMap.js +0 -30
- data/test/dummy/node_modules/lodash/flatMapDeep.js +0 -32
- data/test/dummy/node_modules/lodash/flatMapDepth.js +0 -32
- data/test/dummy/node_modules/lodash/flatten.js +0 -22
- data/test/dummy/node_modules/lodash/flattenDeep.js +0 -25
- data/test/dummy/node_modules/lodash/flattenDepth.js +0 -33
- data/test/dummy/node_modules/lodash/flip.js +0 -28
- data/test/dummy/node_modules/lodash/floor.js +0 -26
- data/test/dummy/node_modules/lodash/flow.js +0 -27
- data/test/dummy/node_modules/lodash/flowRight.js +0 -26
- data/test/dummy/node_modules/lodash/forEach.js +0 -41
- data/test/dummy/node_modules/lodash/forEachRight.js +0 -31
- data/test/dummy/node_modules/lodash/forIn.js +0 -39
- data/test/dummy/node_modules/lodash/forInRight.js +0 -37
- data/test/dummy/node_modules/lodash/forOwn.js +0 -36
- data/test/dummy/node_modules/lodash/forOwnRight.js +0 -34
- data/test/dummy/node_modules/lodash/fp/F.js +0 -1
- data/test/dummy/node_modules/lodash/fp/T.js +0 -1
- data/test/dummy/node_modules/lodash/fp/__.js +0 -1
- data/test/dummy/node_modules/lodash/fp/_baseConvert.js +0 -535
- data/test/dummy/node_modules/lodash/fp/_convertBrowser.js +0 -18
- data/test/dummy/node_modules/lodash/fp/_falseOptions.js +0 -7
- data/test/dummy/node_modules/lodash/fp/_mapping.js +0 -362
- data/test/dummy/node_modules/lodash/fp/_util.js +0 -15
- data/test/dummy/node_modules/lodash/fp/add.js +0 -5
- data/test/dummy/node_modules/lodash/fp/after.js +0 -5
- data/test/dummy/node_modules/lodash/fp/all.js +0 -1
- data/test/dummy/node_modules/lodash/fp/allPass.js +0 -1
- data/test/dummy/node_modules/lodash/fp/always.js +0 -1
- data/test/dummy/node_modules/lodash/fp/any.js +0 -1
- data/test/dummy/node_modules/lodash/fp/anyPass.js +0 -1
- data/test/dummy/node_modules/lodash/fp/apply.js +0 -1
- data/test/dummy/node_modules/lodash/fp/array.js +0 -2
- data/test/dummy/node_modules/lodash/fp/ary.js +0 -5
- data/test/dummy/node_modules/lodash/fp/assign.js +0 -5
- data/test/dummy/node_modules/lodash/fp/assignAll.js +0 -5
- data/test/dummy/node_modules/lodash/fp/assignAllWith.js +0 -5
- data/test/dummy/node_modules/lodash/fp/assignIn.js +0 -5
- data/test/dummy/node_modules/lodash/fp/assignInAll.js +0 -5
- data/test/dummy/node_modules/lodash/fp/assignInAllWith.js +0 -5
- data/test/dummy/node_modules/lodash/fp/assignInWith.js +0 -5
- data/test/dummy/node_modules/lodash/fp/assignWith.js +0 -5
- data/test/dummy/node_modules/lodash/fp/assoc.js +0 -1
- data/test/dummy/node_modules/lodash/fp/assocPath.js +0 -1
- data/test/dummy/node_modules/lodash/fp/at.js +0 -5
- data/test/dummy/node_modules/lodash/fp/attempt.js +0 -5
- data/test/dummy/node_modules/lodash/fp/before.js +0 -5
- data/test/dummy/node_modules/lodash/fp/bind.js +0 -5
- data/test/dummy/node_modules/lodash/fp/bindAll.js +0 -5
- data/test/dummy/node_modules/lodash/fp/bindKey.js +0 -5
- data/test/dummy/node_modules/lodash/fp/camelCase.js +0 -5
- data/test/dummy/node_modules/lodash/fp/capitalize.js +0 -5
- data/test/dummy/node_modules/lodash/fp/castArray.js +0 -5
- data/test/dummy/node_modules/lodash/fp/ceil.js +0 -5
- data/test/dummy/node_modules/lodash/fp/chain.js +0 -5
- data/test/dummy/node_modules/lodash/fp/chunk.js +0 -5
- data/test/dummy/node_modules/lodash/fp/clamp.js +0 -5
- data/test/dummy/node_modules/lodash/fp/clone.js +0 -5
- data/test/dummy/node_modules/lodash/fp/cloneDeep.js +0 -5
- data/test/dummy/node_modules/lodash/fp/cloneDeepWith.js +0 -5
- data/test/dummy/node_modules/lodash/fp/cloneWith.js +0 -5
- data/test/dummy/node_modules/lodash/fp/collection.js +0 -2
- data/test/dummy/node_modules/lodash/fp/commit.js +0 -5
- data/test/dummy/node_modules/lodash/fp/compact.js +0 -5
- data/test/dummy/node_modules/lodash/fp/complement.js +0 -1
- data/test/dummy/node_modules/lodash/fp/compose.js +0 -1
- data/test/dummy/node_modules/lodash/fp/concat.js +0 -5
- data/test/dummy/node_modules/lodash/fp/cond.js +0 -5
- data/test/dummy/node_modules/lodash/fp/conforms.js +0 -1
- data/test/dummy/node_modules/lodash/fp/conformsTo.js +0 -5
- data/test/dummy/node_modules/lodash/fp/constant.js +0 -5
- data/test/dummy/node_modules/lodash/fp/contains.js +0 -1
- data/test/dummy/node_modules/lodash/fp/convert.js +0 -18
- data/test/dummy/node_modules/lodash/fp/countBy.js +0 -5
- data/test/dummy/node_modules/lodash/fp/create.js +0 -5
- data/test/dummy/node_modules/lodash/fp/curry.js +0 -5
- data/test/dummy/node_modules/lodash/fp/curryN.js +0 -5
- data/test/dummy/node_modules/lodash/fp/curryRight.js +0 -5
- data/test/dummy/node_modules/lodash/fp/curryRightN.js +0 -5
- data/test/dummy/node_modules/lodash/fp/date.js +0 -2
- data/test/dummy/node_modules/lodash/fp/debounce.js +0 -5
- data/test/dummy/node_modules/lodash/fp/deburr.js +0 -5
- data/test/dummy/node_modules/lodash/fp/defaultTo.js +0 -5
- data/test/dummy/node_modules/lodash/fp/defaults.js +0 -5
- data/test/dummy/node_modules/lodash/fp/defaultsAll.js +0 -5
- data/test/dummy/node_modules/lodash/fp/defaultsDeep.js +0 -5
- data/test/dummy/node_modules/lodash/fp/defaultsDeepAll.js +0 -5
- data/test/dummy/node_modules/lodash/fp/defer.js +0 -5
- data/test/dummy/node_modules/lodash/fp/delay.js +0 -5
- data/test/dummy/node_modules/lodash/fp/difference.js +0 -5
- data/test/dummy/node_modules/lodash/fp/differenceBy.js +0 -5
- data/test/dummy/node_modules/lodash/fp/differenceWith.js +0 -5
- data/test/dummy/node_modules/lodash/fp/dissoc.js +0 -1
- data/test/dummy/node_modules/lodash/fp/dissocPath.js +0 -1
- data/test/dummy/node_modules/lodash/fp/divide.js +0 -5
- data/test/dummy/node_modules/lodash/fp/drop.js +0 -5
- data/test/dummy/node_modules/lodash/fp/dropLast.js +0 -1
- data/test/dummy/node_modules/lodash/fp/dropLastWhile.js +0 -1
- data/test/dummy/node_modules/lodash/fp/dropRight.js +0 -5
- data/test/dummy/node_modules/lodash/fp/dropRightWhile.js +0 -5
- data/test/dummy/node_modules/lodash/fp/dropWhile.js +0 -5
- data/test/dummy/node_modules/lodash/fp/each.js +0 -1
- data/test/dummy/node_modules/lodash/fp/eachRight.js +0 -1
- data/test/dummy/node_modules/lodash/fp/endsWith.js +0 -5
- data/test/dummy/node_modules/lodash/fp/entries.js +0 -1
- data/test/dummy/node_modules/lodash/fp/entriesIn.js +0 -1
- data/test/dummy/node_modules/lodash/fp/eq.js +0 -5
- data/test/dummy/node_modules/lodash/fp/equals.js +0 -1
- data/test/dummy/node_modules/lodash/fp/escape.js +0 -5
- data/test/dummy/node_modules/lodash/fp/escapeRegExp.js +0 -5
- data/test/dummy/node_modules/lodash/fp/every.js +0 -5
- data/test/dummy/node_modules/lodash/fp/extend.js +0 -1
- data/test/dummy/node_modules/lodash/fp/extendAll.js +0 -1
- data/test/dummy/node_modules/lodash/fp/extendAllWith.js +0 -1
- data/test/dummy/node_modules/lodash/fp/extendWith.js +0 -1
- data/test/dummy/node_modules/lodash/fp/fill.js +0 -5
- data/test/dummy/node_modules/lodash/fp/filter.js +0 -5
- data/test/dummy/node_modules/lodash/fp/find.js +0 -5
- data/test/dummy/node_modules/lodash/fp/findFrom.js +0 -5
- data/test/dummy/node_modules/lodash/fp/findIndex.js +0 -5
- data/test/dummy/node_modules/lodash/fp/findIndexFrom.js +0 -5
- data/test/dummy/node_modules/lodash/fp/findKey.js +0 -5
- data/test/dummy/node_modules/lodash/fp/findLast.js +0 -5
- data/test/dummy/node_modules/lodash/fp/findLastFrom.js +0 -5
- data/test/dummy/node_modules/lodash/fp/findLastIndex.js +0 -5
- data/test/dummy/node_modules/lodash/fp/findLastIndexFrom.js +0 -5
- data/test/dummy/node_modules/lodash/fp/findLastKey.js +0 -5
- data/test/dummy/node_modules/lodash/fp/first.js +0 -1
- data/test/dummy/node_modules/lodash/fp/flatMap.js +0 -5
- data/test/dummy/node_modules/lodash/fp/flatMapDeep.js +0 -5
- data/test/dummy/node_modules/lodash/fp/flatMapDepth.js +0 -5
- data/test/dummy/node_modules/lodash/fp/flatten.js +0 -5
- data/test/dummy/node_modules/lodash/fp/flattenDeep.js +0 -5
- data/test/dummy/node_modules/lodash/fp/flattenDepth.js +0 -5
- data/test/dummy/node_modules/lodash/fp/flip.js +0 -5
- data/test/dummy/node_modules/lodash/fp/floor.js +0 -5
- data/test/dummy/node_modules/lodash/fp/flow.js +0 -5
- data/test/dummy/node_modules/lodash/fp/flowRight.js +0 -5
- data/test/dummy/node_modules/lodash/fp/forEach.js +0 -5
- data/test/dummy/node_modules/lodash/fp/forEachRight.js +0 -5
- data/test/dummy/node_modules/lodash/fp/forIn.js +0 -5
- data/test/dummy/node_modules/lodash/fp/forInRight.js +0 -5
- data/test/dummy/node_modules/lodash/fp/forOwn.js +0 -5
- data/test/dummy/node_modules/lodash/fp/forOwnRight.js +0 -5
- data/test/dummy/node_modules/lodash/fp/fromPairs.js +0 -5
- data/test/dummy/node_modules/lodash/fp/function.js +0 -2
- data/test/dummy/node_modules/lodash/fp/functions.js +0 -5
- data/test/dummy/node_modules/lodash/fp/functionsIn.js +0 -5
- data/test/dummy/node_modules/lodash/fp/get.js +0 -5
- data/test/dummy/node_modules/lodash/fp/getOr.js +0 -5
- data/test/dummy/node_modules/lodash/fp/groupBy.js +0 -5
- data/test/dummy/node_modules/lodash/fp/gt.js +0 -5
- data/test/dummy/node_modules/lodash/fp/gte.js +0 -5
- data/test/dummy/node_modules/lodash/fp/has.js +0 -5
- data/test/dummy/node_modules/lodash/fp/hasIn.js +0 -5
- data/test/dummy/node_modules/lodash/fp/head.js +0 -5
- data/test/dummy/node_modules/lodash/fp/identical.js +0 -1
- data/test/dummy/node_modules/lodash/fp/identity.js +0 -5
- data/test/dummy/node_modules/lodash/fp/inRange.js +0 -5
- data/test/dummy/node_modules/lodash/fp/includes.js +0 -5
- data/test/dummy/node_modules/lodash/fp/includesFrom.js +0 -5
- data/test/dummy/node_modules/lodash/fp/indexBy.js +0 -1
- data/test/dummy/node_modules/lodash/fp/indexOf.js +0 -5
- data/test/dummy/node_modules/lodash/fp/indexOfFrom.js +0 -5
- data/test/dummy/node_modules/lodash/fp/init.js +0 -1
- data/test/dummy/node_modules/lodash/fp/initial.js +0 -5
- data/test/dummy/node_modules/lodash/fp/intersection.js +0 -5
- data/test/dummy/node_modules/lodash/fp/intersectionBy.js +0 -5
- data/test/dummy/node_modules/lodash/fp/intersectionWith.js +0 -5
- data/test/dummy/node_modules/lodash/fp/invert.js +0 -5
- data/test/dummy/node_modules/lodash/fp/invertBy.js +0 -5
- data/test/dummy/node_modules/lodash/fp/invertObj.js +0 -1
- data/test/dummy/node_modules/lodash/fp/invoke.js +0 -5
- data/test/dummy/node_modules/lodash/fp/invokeArgs.js +0 -5
- data/test/dummy/node_modules/lodash/fp/invokeArgsMap.js +0 -5
- data/test/dummy/node_modules/lodash/fp/invokeMap.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isArguments.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isArray.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isArrayBuffer.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isArrayLike.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isArrayLikeObject.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isBoolean.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isBuffer.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isDate.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isElement.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isEmpty.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isEqual.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isEqualWith.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isError.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isFinite.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isFunction.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isInteger.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isLength.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isMap.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isMatch.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isMatchWith.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isNaN.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isNative.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isNil.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isNull.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isNumber.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isObject.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isObjectLike.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isPlainObject.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isRegExp.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isSafeInteger.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isSet.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isString.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isSymbol.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isTypedArray.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isUndefined.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isWeakMap.js +0 -5
- data/test/dummy/node_modules/lodash/fp/isWeakSet.js +0 -5
- data/test/dummy/node_modules/lodash/fp/iteratee.js +0 -5
- data/test/dummy/node_modules/lodash/fp/join.js +0 -5
- data/test/dummy/node_modules/lodash/fp/juxt.js +0 -1
- data/test/dummy/node_modules/lodash/fp/kebabCase.js +0 -5
- data/test/dummy/node_modules/lodash/fp/keyBy.js +0 -5
- data/test/dummy/node_modules/lodash/fp/keys.js +0 -5
- data/test/dummy/node_modules/lodash/fp/keysIn.js +0 -5
- data/test/dummy/node_modules/lodash/fp/lang.js +0 -2
- data/test/dummy/node_modules/lodash/fp/last.js +0 -5
- data/test/dummy/node_modules/lodash/fp/lastIndexOf.js +0 -5
- data/test/dummy/node_modules/lodash/fp/lastIndexOfFrom.js +0 -5
- data/test/dummy/node_modules/lodash/fp/lowerCase.js +0 -5
- data/test/dummy/node_modules/lodash/fp/lowerFirst.js +0 -5
- data/test/dummy/node_modules/lodash/fp/lt.js +0 -5
- data/test/dummy/node_modules/lodash/fp/lte.js +0 -5
- data/test/dummy/node_modules/lodash/fp/map.js +0 -5
- data/test/dummy/node_modules/lodash/fp/mapKeys.js +0 -5
- data/test/dummy/node_modules/lodash/fp/mapValues.js +0 -5
- data/test/dummy/node_modules/lodash/fp/matches.js +0 -1
- data/test/dummy/node_modules/lodash/fp/matchesProperty.js +0 -5
- data/test/dummy/node_modules/lodash/fp/math.js +0 -2
- data/test/dummy/node_modules/lodash/fp/max.js +0 -5
- data/test/dummy/node_modules/lodash/fp/maxBy.js +0 -5
- data/test/dummy/node_modules/lodash/fp/mean.js +0 -5
- data/test/dummy/node_modules/lodash/fp/meanBy.js +0 -5
- data/test/dummy/node_modules/lodash/fp/memoize.js +0 -5
- data/test/dummy/node_modules/lodash/fp/merge.js +0 -5
- data/test/dummy/node_modules/lodash/fp/mergeAll.js +0 -5
- data/test/dummy/node_modules/lodash/fp/mergeAllWith.js +0 -5
- data/test/dummy/node_modules/lodash/fp/mergeWith.js +0 -5
- data/test/dummy/node_modules/lodash/fp/method.js +0 -5
- data/test/dummy/node_modules/lodash/fp/methodOf.js +0 -5
- data/test/dummy/node_modules/lodash/fp/min.js +0 -5
- data/test/dummy/node_modules/lodash/fp/minBy.js +0 -5
- data/test/dummy/node_modules/lodash/fp/mixin.js +0 -5
- data/test/dummy/node_modules/lodash/fp/multiply.js +0 -5
- data/test/dummy/node_modules/lodash/fp/nAry.js +0 -1
- data/test/dummy/node_modules/lodash/fp/negate.js +0 -5
- data/test/dummy/node_modules/lodash/fp/next.js +0 -5
- data/test/dummy/node_modules/lodash/fp/noop.js +0 -5
- data/test/dummy/node_modules/lodash/fp/now.js +0 -5
- data/test/dummy/node_modules/lodash/fp/nth.js +0 -5
- data/test/dummy/node_modules/lodash/fp/nthArg.js +0 -5
- data/test/dummy/node_modules/lodash/fp/number.js +0 -2
- data/test/dummy/node_modules/lodash/fp/object.js +0 -2
- data/test/dummy/node_modules/lodash/fp/omit.js +0 -5
- data/test/dummy/node_modules/lodash/fp/omitAll.js +0 -1
- data/test/dummy/node_modules/lodash/fp/omitBy.js +0 -5
- data/test/dummy/node_modules/lodash/fp/once.js +0 -5
- data/test/dummy/node_modules/lodash/fp/orderBy.js +0 -5
- data/test/dummy/node_modules/lodash/fp/over.js +0 -5
- data/test/dummy/node_modules/lodash/fp/overArgs.js +0 -5
- data/test/dummy/node_modules/lodash/fp/overEvery.js +0 -5
- data/test/dummy/node_modules/lodash/fp/overSome.js +0 -5
- data/test/dummy/node_modules/lodash/fp/pad.js +0 -5
- data/test/dummy/node_modules/lodash/fp/padChars.js +0 -5
- data/test/dummy/node_modules/lodash/fp/padCharsEnd.js +0 -5
- data/test/dummy/node_modules/lodash/fp/padCharsStart.js +0 -5
- data/test/dummy/node_modules/lodash/fp/padEnd.js +0 -5
- data/test/dummy/node_modules/lodash/fp/padStart.js +0 -5
- data/test/dummy/node_modules/lodash/fp/parseInt.js +0 -5
- data/test/dummy/node_modules/lodash/fp/partial.js +0 -5
- data/test/dummy/node_modules/lodash/fp/partialRight.js +0 -5
- data/test/dummy/node_modules/lodash/fp/partition.js +0 -5
- data/test/dummy/node_modules/lodash/fp/path.js +0 -1
- data/test/dummy/node_modules/lodash/fp/pathEq.js +0 -1
- data/test/dummy/node_modules/lodash/fp/pathOr.js +0 -1
- data/test/dummy/node_modules/lodash/fp/paths.js +0 -1
- data/test/dummy/node_modules/lodash/fp/pick.js +0 -5
- data/test/dummy/node_modules/lodash/fp/pickAll.js +0 -1
- data/test/dummy/node_modules/lodash/fp/pickBy.js +0 -5
- data/test/dummy/node_modules/lodash/fp/pipe.js +0 -1
- data/test/dummy/node_modules/lodash/fp/placeholder.js +0 -6
- data/test/dummy/node_modules/lodash/fp/plant.js +0 -5
- data/test/dummy/node_modules/lodash/fp/pluck.js +0 -1
- data/test/dummy/node_modules/lodash/fp/prop.js +0 -1
- data/test/dummy/node_modules/lodash/fp/propEq.js +0 -1
- data/test/dummy/node_modules/lodash/fp/propOr.js +0 -1
- data/test/dummy/node_modules/lodash/fp/property.js +0 -1
- data/test/dummy/node_modules/lodash/fp/propertyOf.js +0 -5
- data/test/dummy/node_modules/lodash/fp/props.js +0 -1
- data/test/dummy/node_modules/lodash/fp/pull.js +0 -5
- data/test/dummy/node_modules/lodash/fp/pullAll.js +0 -5
- data/test/dummy/node_modules/lodash/fp/pullAllBy.js +0 -5
- data/test/dummy/node_modules/lodash/fp/pullAllWith.js +0 -5
- data/test/dummy/node_modules/lodash/fp/pullAt.js +0 -5
- data/test/dummy/node_modules/lodash/fp/random.js +0 -5
- data/test/dummy/node_modules/lodash/fp/range.js +0 -5
- data/test/dummy/node_modules/lodash/fp/rangeRight.js +0 -5
- data/test/dummy/node_modules/lodash/fp/rearg.js +0 -5
- data/test/dummy/node_modules/lodash/fp/reduce.js +0 -5
- data/test/dummy/node_modules/lodash/fp/reduceRight.js +0 -5
- data/test/dummy/node_modules/lodash/fp/reject.js +0 -5
- data/test/dummy/node_modules/lodash/fp/remove.js +0 -5
- data/test/dummy/node_modules/lodash/fp/repeat.js +0 -5
- data/test/dummy/node_modules/lodash/fp/replace.js +0 -5
- data/test/dummy/node_modules/lodash/fp/rest.js +0 -5
- data/test/dummy/node_modules/lodash/fp/restFrom.js +0 -5
- data/test/dummy/node_modules/lodash/fp/result.js +0 -5
- data/test/dummy/node_modules/lodash/fp/reverse.js +0 -5
- data/test/dummy/node_modules/lodash/fp/round.js +0 -5
- data/test/dummy/node_modules/lodash/fp/sample.js +0 -5
- data/test/dummy/node_modules/lodash/fp/sampleSize.js +0 -5
- data/test/dummy/node_modules/lodash/fp/seq.js +0 -2
- data/test/dummy/node_modules/lodash/fp/set.js +0 -5
- data/test/dummy/node_modules/lodash/fp/setWith.js +0 -5
- data/test/dummy/node_modules/lodash/fp/shuffle.js +0 -5
- data/test/dummy/node_modules/lodash/fp/size.js +0 -5
- data/test/dummy/node_modules/lodash/fp/slice.js +0 -5
- data/test/dummy/node_modules/lodash/fp/snakeCase.js +0 -5
- data/test/dummy/node_modules/lodash/fp/some.js +0 -5
- data/test/dummy/node_modules/lodash/fp/sortBy.js +0 -5
- data/test/dummy/node_modules/lodash/fp/sortedIndex.js +0 -5
- data/test/dummy/node_modules/lodash/fp/sortedIndexBy.js +0 -5
- data/test/dummy/node_modules/lodash/fp/sortedIndexOf.js +0 -5
- data/test/dummy/node_modules/lodash/fp/sortedLastIndex.js +0 -5
- data/test/dummy/node_modules/lodash/fp/sortedLastIndexBy.js +0 -5
- data/test/dummy/node_modules/lodash/fp/sortedLastIndexOf.js +0 -5
- data/test/dummy/node_modules/lodash/fp/sortedUniq.js +0 -5
- data/test/dummy/node_modules/lodash/fp/sortedUniqBy.js +0 -5
- data/test/dummy/node_modules/lodash/fp/split.js +0 -5
- data/test/dummy/node_modules/lodash/fp/spread.js +0 -5
- data/test/dummy/node_modules/lodash/fp/spreadFrom.js +0 -5
- data/test/dummy/node_modules/lodash/fp/startCase.js +0 -5
- data/test/dummy/node_modules/lodash/fp/startsWith.js +0 -5
- data/test/dummy/node_modules/lodash/fp/string.js +0 -2
- data/test/dummy/node_modules/lodash/fp/stubArray.js +0 -5
- data/test/dummy/node_modules/lodash/fp/stubFalse.js +0 -5
- data/test/dummy/node_modules/lodash/fp/stubObject.js +0 -5
- data/test/dummy/node_modules/lodash/fp/stubString.js +0 -5
- data/test/dummy/node_modules/lodash/fp/stubTrue.js +0 -5
- data/test/dummy/node_modules/lodash/fp/subtract.js +0 -5
- data/test/dummy/node_modules/lodash/fp/sum.js +0 -5
- data/test/dummy/node_modules/lodash/fp/sumBy.js +0 -5
- data/test/dummy/node_modules/lodash/fp/symmetricDifference.js +0 -1
- data/test/dummy/node_modules/lodash/fp/symmetricDifferenceBy.js +0 -1
- data/test/dummy/node_modules/lodash/fp/symmetricDifferenceWith.js +0 -1
- data/test/dummy/node_modules/lodash/fp/tail.js +0 -5
- data/test/dummy/node_modules/lodash/fp/take.js +0 -5
- data/test/dummy/node_modules/lodash/fp/takeLast.js +0 -1
- data/test/dummy/node_modules/lodash/fp/takeLastWhile.js +0 -1
- data/test/dummy/node_modules/lodash/fp/takeRight.js +0 -5
- data/test/dummy/node_modules/lodash/fp/takeRightWhile.js +0 -5
- data/test/dummy/node_modules/lodash/fp/takeWhile.js +0 -5
- data/test/dummy/node_modules/lodash/fp/tap.js +0 -5
- data/test/dummy/node_modules/lodash/fp/template.js +0 -5
- data/test/dummy/node_modules/lodash/fp/templateSettings.js +0 -5
- data/test/dummy/node_modules/lodash/fp/throttle.js +0 -5
- data/test/dummy/node_modules/lodash/fp/thru.js +0 -5
- data/test/dummy/node_modules/lodash/fp/times.js +0 -5
- data/test/dummy/node_modules/lodash/fp/toArray.js +0 -5
- data/test/dummy/node_modules/lodash/fp/toFinite.js +0 -5
- data/test/dummy/node_modules/lodash/fp/toInteger.js +0 -5
- data/test/dummy/node_modules/lodash/fp/toIterator.js +0 -5
- data/test/dummy/node_modules/lodash/fp/toJSON.js +0 -5
- data/test/dummy/node_modules/lodash/fp/toLength.js +0 -5
- data/test/dummy/node_modules/lodash/fp/toLower.js +0 -5
- data/test/dummy/node_modules/lodash/fp/toNumber.js +0 -5
- data/test/dummy/node_modules/lodash/fp/toPairs.js +0 -5
- data/test/dummy/node_modules/lodash/fp/toPairsIn.js +0 -5
- data/test/dummy/node_modules/lodash/fp/toPath.js +0 -5
- data/test/dummy/node_modules/lodash/fp/toPlainObject.js +0 -5
- data/test/dummy/node_modules/lodash/fp/toSafeInteger.js +0 -5
- data/test/dummy/node_modules/lodash/fp/toString.js +0 -5
- data/test/dummy/node_modules/lodash/fp/toUpper.js +0 -5
- data/test/dummy/node_modules/lodash/fp/transform.js +0 -5
- data/test/dummy/node_modules/lodash/fp/trim.js +0 -5
- data/test/dummy/node_modules/lodash/fp/trimChars.js +0 -5
- data/test/dummy/node_modules/lodash/fp/trimCharsEnd.js +0 -5
- data/test/dummy/node_modules/lodash/fp/trimCharsStart.js +0 -5
- data/test/dummy/node_modules/lodash/fp/trimEnd.js +0 -5
- data/test/dummy/node_modules/lodash/fp/trimStart.js +0 -5
- data/test/dummy/node_modules/lodash/fp/truncate.js +0 -5
- data/test/dummy/node_modules/lodash/fp/unapply.js +0 -1
- data/test/dummy/node_modules/lodash/fp/unary.js +0 -5
- data/test/dummy/node_modules/lodash/fp/unescape.js +0 -5
- data/test/dummy/node_modules/lodash/fp/union.js +0 -5
- data/test/dummy/node_modules/lodash/fp/unionBy.js +0 -5
- data/test/dummy/node_modules/lodash/fp/unionWith.js +0 -5
- data/test/dummy/node_modules/lodash/fp/uniq.js +0 -5
- data/test/dummy/node_modules/lodash/fp/uniqBy.js +0 -5
- data/test/dummy/node_modules/lodash/fp/uniqWith.js +0 -5
- data/test/dummy/node_modules/lodash/fp/uniqueId.js +0 -5
- data/test/dummy/node_modules/lodash/fp/unnest.js +0 -1
- data/test/dummy/node_modules/lodash/fp/unset.js +0 -5
- data/test/dummy/node_modules/lodash/fp/unzip.js +0 -5
- data/test/dummy/node_modules/lodash/fp/unzipWith.js +0 -5
- data/test/dummy/node_modules/lodash/fp/update.js +0 -5
- data/test/dummy/node_modules/lodash/fp/updateWith.js +0 -5
- data/test/dummy/node_modules/lodash/fp/upperCase.js +0 -5
- data/test/dummy/node_modules/lodash/fp/upperFirst.js +0 -5
- data/test/dummy/node_modules/lodash/fp/useWith.js +0 -1
- data/test/dummy/node_modules/lodash/fp/util.js +0 -2
- data/test/dummy/node_modules/lodash/fp/value.js +0 -5
- data/test/dummy/node_modules/lodash/fp/valueOf.js +0 -5
- data/test/dummy/node_modules/lodash/fp/values.js +0 -5
- data/test/dummy/node_modules/lodash/fp/valuesIn.js +0 -5
- data/test/dummy/node_modules/lodash/fp/where.js +0 -1
- data/test/dummy/node_modules/lodash/fp/whereEq.js +0 -1
- data/test/dummy/node_modules/lodash/fp/without.js +0 -5
- data/test/dummy/node_modules/lodash/fp/words.js +0 -5
- data/test/dummy/node_modules/lodash/fp/wrap.js +0 -5
- data/test/dummy/node_modules/lodash/fp/wrapperAt.js +0 -5
- data/test/dummy/node_modules/lodash/fp/wrapperChain.js +0 -5
- data/test/dummy/node_modules/lodash/fp/wrapperLodash.js +0 -5
- data/test/dummy/node_modules/lodash/fp/wrapperReverse.js +0 -5
- data/test/dummy/node_modules/lodash/fp/wrapperValue.js +0 -5
- data/test/dummy/node_modules/lodash/fp/xor.js +0 -5
- data/test/dummy/node_modules/lodash/fp/xorBy.js +0 -5
- data/test/dummy/node_modules/lodash/fp/xorWith.js +0 -5
- data/test/dummy/node_modules/lodash/fp/zip.js +0 -5
- data/test/dummy/node_modules/lodash/fp/zipAll.js +0 -5
- data/test/dummy/node_modules/lodash/fp/zipObj.js +0 -1
- data/test/dummy/node_modules/lodash/fp/zipObject.js +0 -5
- data/test/dummy/node_modules/lodash/fp/zipObjectDeep.js +0 -5
- data/test/dummy/node_modules/lodash/fp/zipWith.js +0 -5
- data/test/dummy/node_modules/lodash/fp.js +0 -2
- data/test/dummy/node_modules/lodash/fromPairs.js +0 -28
- data/test/dummy/node_modules/lodash/function.js +0 -25
- data/test/dummy/node_modules/lodash/functions.js +0 -31
- data/test/dummy/node_modules/lodash/functionsIn.js +0 -31
- data/test/dummy/node_modules/lodash/get.js +0 -33
- data/test/dummy/node_modules/lodash/groupBy.js +0 -41
- data/test/dummy/node_modules/lodash/gt.js +0 -29
- data/test/dummy/node_modules/lodash/gte.js +0 -30
- data/test/dummy/node_modules/lodash/has.js +0 -35
- data/test/dummy/node_modules/lodash/hasIn.js +0 -34
- data/test/dummy/node_modules/lodash/head.js +0 -23
- data/test/dummy/node_modules/lodash/identity.js +0 -21
- data/test/dummy/node_modules/lodash/inRange.js +0 -55
- data/test/dummy/node_modules/lodash/includes.js +0 -53
- data/test/dummy/node_modules/lodash/index.js +0 -1
- data/test/dummy/node_modules/lodash/indexOf.js +0 -42
- data/test/dummy/node_modules/lodash/initial.js +0 -22
- data/test/dummy/node_modules/lodash/intersection.js +0 -30
- data/test/dummy/node_modules/lodash/intersectionBy.js +0 -44
- data/test/dummy/node_modules/lodash/intersectionWith.js +0 -42
- data/test/dummy/node_modules/lodash/invert.js +0 -27
- data/test/dummy/node_modules/lodash/invertBy.js +0 -44
- data/test/dummy/node_modules/lodash/invoke.js +0 -24
- data/test/dummy/node_modules/lodash/invokeMap.js +0 -44
- data/test/dummy/node_modules/lodash/isArguments.js +0 -46
- data/test/dummy/node_modules/lodash/isArray.js +0 -26
- data/test/dummy/node_modules/lodash/isArrayBuffer.js +0 -27
- data/test/dummy/node_modules/lodash/isArrayLike.js +0 -33
- data/test/dummy/node_modules/lodash/isArrayLikeObject.js +0 -33
- data/test/dummy/node_modules/lodash/isBoolean.js +0 -38
- data/test/dummy/node_modules/lodash/isBuffer.js +0 -38
- data/test/dummy/node_modules/lodash/isDate.js +0 -27
- data/test/dummy/node_modules/lodash/isElement.js +0 -25
- data/test/dummy/node_modules/lodash/isEmpty.js +0 -79
- data/test/dummy/node_modules/lodash/isEqual.js +0 -35
- data/test/dummy/node_modules/lodash/isEqualWith.js +0 -41
- data/test/dummy/node_modules/lodash/isError.js +0 -42
- data/test/dummy/node_modules/lodash/isFinite.js +0 -36
- data/test/dummy/node_modules/lodash/isFunction.js +0 -41
- data/test/dummy/node_modules/lodash/isInteger.js +0 -33
- data/test/dummy/node_modules/lodash/isLength.js +0 -35
- data/test/dummy/node_modules/lodash/isMap.js +0 -27
- data/test/dummy/node_modules/lodash/isMatch.js +0 -36
- data/test/dummy/node_modules/lodash/isMatchWith.js +0 -41
- data/test/dummy/node_modules/lodash/isNaN.js +0 -38
- data/test/dummy/node_modules/lodash/isNative.js +0 -37
- data/test/dummy/node_modules/lodash/isNil.js +0 -25
- data/test/dummy/node_modules/lodash/isNull.js +0 -22
- data/test/dummy/node_modules/lodash/isNumber.js +0 -47
- data/test/dummy/node_modules/lodash/isObject.js +0 -31
- data/test/dummy/node_modules/lodash/isObjectLike.js +0 -29
- data/test/dummy/node_modules/lodash/isPlainObject.js +0 -70
- data/test/dummy/node_modules/lodash/isRegExp.js +0 -27
- data/test/dummy/node_modules/lodash/isSafeInteger.js +0 -37
- data/test/dummy/node_modules/lodash/isSet.js +0 -27
- data/test/dummy/node_modules/lodash/isString.js +0 -39
- data/test/dummy/node_modules/lodash/isSymbol.js +0 -38
- data/test/dummy/node_modules/lodash/isTypedArray.js +0 -27
- data/test/dummy/node_modules/lodash/isUndefined.js +0 -22
- data/test/dummy/node_modules/lodash/isWeakMap.js +0 -28
- data/test/dummy/node_modules/lodash/isWeakSet.js +0 -37
- data/test/dummy/node_modules/lodash/iteratee.js +0 -50
- data/test/dummy/node_modules/lodash/join.js +0 -26
- data/test/dummy/node_modules/lodash/kebabCase.js +0 -28
- data/test/dummy/node_modules/lodash/keyBy.js +0 -36
- data/test/dummy/node_modules/lodash/keys.js +0 -37
- data/test/dummy/node_modules/lodash/keysIn.js +0 -32
- data/test/dummy/node_modules/lodash/lang.js +0 -58
- data/test/dummy/node_modules/lodash/last.js +0 -20
- data/test/dummy/node_modules/lodash/lastIndexOf.js +0 -55
- data/test/dummy/node_modules/lodash/lodash.js +0 -16733
- data/test/dummy/node_modules/lodash/lodash.min.js +0 -132
- data/test/dummy/node_modules/lodash/lowerCase.js +0 -27
- data/test/dummy/node_modules/lodash/lowerFirst.js +0 -22
- data/test/dummy/node_modules/lodash/lt.js +0 -29
- data/test/dummy/node_modules/lodash/lte.js +0 -30
- data/test/dummy/node_modules/lodash/map.js +0 -53
- data/test/dummy/node_modules/lodash/mapKeys.js +0 -35
- data/test/dummy/node_modules/lodash/mapValues.js +0 -42
- data/test/dummy/node_modules/lodash/matches.js +0 -36
- data/test/dummy/node_modules/lodash/matchesProperty.js +0 -34
- data/test/dummy/node_modules/lodash/math.js +0 -17
- data/test/dummy/node_modules/lodash/max.js +0 -29
- data/test/dummy/node_modules/lodash/maxBy.js +0 -34
- data/test/dummy/node_modules/lodash/mean.js +0 -22
- data/test/dummy/node_modules/lodash/meanBy.js +0 -31
- data/test/dummy/node_modules/lodash/memoize.js +0 -73
- data/test/dummy/node_modules/lodash/merge.js +0 -39
- data/test/dummy/node_modules/lodash/mergeWith.js +0 -39
- data/test/dummy/node_modules/lodash/method.js +0 -34
- data/test/dummy/node_modules/lodash/methodOf.js +0 -33
- data/test/dummy/node_modules/lodash/min.js +0 -29
- data/test/dummy/node_modules/lodash/minBy.js +0 -34
- data/test/dummy/node_modules/lodash/mixin.js +0 -74
- data/test/dummy/node_modules/lodash/multiply.js +0 -22
- data/test/dummy/node_modules/lodash/negate.js +0 -40
- data/test/dummy/node_modules/lodash/next.js +0 -35
- data/test/dummy/node_modules/lodash/noop.js +0 -17
- data/test/dummy/node_modules/lodash/now.js +0 -23
- data/test/dummy/node_modules/lodash/nth.js +0 -29
- data/test/dummy/node_modules/lodash/nthArg.js +0 -32
- data/test/dummy/node_modules/lodash/number.js +0 -5
- data/test/dummy/node_modules/lodash/object.js +0 -49
- data/test/dummy/node_modules/lodash/omit.js +0 -36
- data/test/dummy/node_modules/lodash/omitBy.js +0 -29
- data/test/dummy/node_modules/lodash/once.js +0 -25
- data/test/dummy/node_modules/lodash/orderBy.js +0 -47
- data/test/dummy/node_modules/lodash/over.js +0 -24
- data/test/dummy/node_modules/lodash/overArgs.js +0 -60
- data/test/dummy/node_modules/lodash/overEvery.js +0 -30
- data/test/dummy/node_modules/lodash/overSome.js +0 -30
- data/test/dummy/node_modules/lodash/package.json +0 -107
- data/test/dummy/node_modules/lodash/pad.js +0 -49
- data/test/dummy/node_modules/lodash/padEnd.js +0 -39
- data/test/dummy/node_modules/lodash/padStart.js +0 -39
- data/test/dummy/node_modules/lodash/parseInt.js +0 -49
- data/test/dummy/node_modules/lodash/partial.js +0 -50
- data/test/dummy/node_modules/lodash/partialRight.js +0 -49
- data/test/dummy/node_modules/lodash/partition.js +0 -43
- data/test/dummy/node_modules/lodash/pick.js +0 -28
- data/test/dummy/node_modules/lodash/pickBy.js +0 -27
- data/test/dummy/node_modules/lodash/plant.js +0 -48
- data/test/dummy/node_modules/lodash/property.js +0 -32
- data/test/dummy/node_modules/lodash/propertyOf.js +0 -30
- data/test/dummy/node_modules/lodash/pull.js +0 -29
- data/test/dummy/node_modules/lodash/pullAll.js +0 -29
- data/test/dummy/node_modules/lodash/pullAllBy.js +0 -34
- data/test/dummy/node_modules/lodash/pullAllWith.js +0 -32
- data/test/dummy/node_modules/lodash/pullAt.js +0 -46
- data/test/dummy/node_modules/lodash/random.js +0 -82
- data/test/dummy/node_modules/lodash/range.js +0 -46
- data/test/dummy/node_modules/lodash/rangeRight.js +0 -41
- data/test/dummy/node_modules/lodash/rearg.js +0 -34
- data/test/dummy/node_modules/lodash/reduce.js +0 -51
- data/test/dummy/node_modules/lodash/reduceRight.js +0 -36
- data/test/dummy/node_modules/lodash/reject.js +0 -46
- data/test/dummy/node_modules/lodash/remove.js +0 -54
- data/test/dummy/node_modules/lodash/repeat.js +0 -37
- data/test/dummy/node_modules/lodash/replace.js +0 -29
- data/test/dummy/node_modules/lodash/rest.js +0 -40
- data/test/dummy/node_modules/lodash/result.js +0 -57
- data/test/dummy/node_modules/lodash/reverse.js +0 -34
- data/test/dummy/node_modules/lodash/round.js +0 -26
- data/test/dummy/node_modules/lodash/sample.js +0 -26
- data/test/dummy/node_modules/lodash/sampleSize.js +0 -49
- data/test/dummy/node_modules/lodash/seq.js +0 -16
- data/test/dummy/node_modules/lodash/set.js +0 -35
- data/test/dummy/node_modules/lodash/setWith.js +0 -32
- data/test/dummy/node_modules/lodash/shuffle.js +0 -25
- data/test/dummy/node_modules/lodash/size.js +0 -46
- data/test/dummy/node_modules/lodash/slice.js +0 -37
- data/test/dummy/node_modules/lodash/snakeCase.js +0 -28
- data/test/dummy/node_modules/lodash/some.js +0 -51
- data/test/dummy/node_modules/lodash/sortBy.js +0 -53
- data/test/dummy/node_modules/lodash/sortedIndex.js +0 -24
- data/test/dummy/node_modules/lodash/sortedIndexBy.js +0 -34
- data/test/dummy/node_modules/lodash/sortedIndexOf.js +0 -31
- data/test/dummy/node_modules/lodash/sortedLastIndex.js +0 -25
- data/test/dummy/node_modules/lodash/sortedLastIndexBy.js +0 -34
- data/test/dummy/node_modules/lodash/sortedLastIndexOf.js +0 -31
- data/test/dummy/node_modules/lodash/sortedUniq.js +0 -24
- data/test/dummy/node_modules/lodash/sortedUniqBy.js +0 -26
- data/test/dummy/node_modules/lodash/split.js +0 -52
- data/test/dummy/node_modules/lodash/spread.js +0 -63
- data/test/dummy/node_modules/lodash/startCase.js +0 -29
- data/test/dummy/node_modules/lodash/startsWith.js +0 -36
- data/test/dummy/node_modules/lodash/string.js +0 -33
- data/test/dummy/node_modules/lodash/stubArray.js +0 -23
- data/test/dummy/node_modules/lodash/stubFalse.js +0 -18
- data/test/dummy/node_modules/lodash/stubObject.js +0 -23
- data/test/dummy/node_modules/lodash/stubString.js +0 -18
- data/test/dummy/node_modules/lodash/stubTrue.js +0 -18
- data/test/dummy/node_modules/lodash/subtract.js +0 -22
- data/test/dummy/node_modules/lodash/sum.js +0 -24
- data/test/dummy/node_modules/lodash/sumBy.js +0 -33
- data/test/dummy/node_modules/lodash/tail.js +0 -22
- data/test/dummy/node_modules/lodash/take.js +0 -37
- data/test/dummy/node_modules/lodash/takeRight.js +0 -39
- data/test/dummy/node_modules/lodash/takeRightWhile.js +0 -46
- data/test/dummy/node_modules/lodash/takeWhile.js +0 -46
- data/test/dummy/node_modules/lodash/tap.js +0 -29
- data/test/dummy/node_modules/lodash/template.js +0 -237
- data/test/dummy/node_modules/lodash/templateSettings.js +0 -67
- data/test/dummy/node_modules/lodash/throttle.js +0 -69
- data/test/dummy/node_modules/lodash/thru.js +0 -28
- data/test/dummy/node_modules/lodash/times.js +0 -51
- data/test/dummy/node_modules/lodash/toArray.js +0 -58
- data/test/dummy/node_modules/lodash/toFinite.js +0 -42
- data/test/dummy/node_modules/lodash/toInteger.js +0 -36
- data/test/dummy/node_modules/lodash/toIterator.js +0 -23
- data/test/dummy/node_modules/lodash/toJSON.js +0 -1
- data/test/dummy/node_modules/lodash/toLength.js +0 -38
- data/test/dummy/node_modules/lodash/toLower.js +0 -28
- data/test/dummy/node_modules/lodash/toNumber.js +0 -66
- data/test/dummy/node_modules/lodash/toPairs.js +0 -30
- data/test/dummy/node_modules/lodash/toPairsIn.js +0 -30
- data/test/dummy/node_modules/lodash/toPath.js +0 -32
- data/test/dummy/node_modules/lodash/toPlainObject.js +0 -32
- data/test/dummy/node_modules/lodash/toSafeInteger.js +0 -35
- data/test/dummy/node_modules/lodash/toString.js +0 -28
- data/test/dummy/node_modules/lodash/toUpper.js +0 -28
- data/test/dummy/node_modules/lodash/transform.js +0 -63
- data/test/dummy/node_modules/lodash/trim.js +0 -49
- data/test/dummy/node_modules/lodash/trimEnd.js +0 -43
- data/test/dummy/node_modules/lodash/trimStart.js +0 -43
- data/test/dummy/node_modules/lodash/truncate.js +0 -111
- data/test/dummy/node_modules/lodash/unary.js +0 -22
- data/test/dummy/node_modules/lodash/unescape.js +0 -34
- data/test/dummy/node_modules/lodash/union.js +0 -26
- data/test/dummy/node_modules/lodash/unionBy.js +0 -40
- data/test/dummy/node_modules/lodash/unionWith.js +0 -36
- data/test/dummy/node_modules/lodash/uniq.js +0 -26
- data/test/dummy/node_modules/lodash/uniqBy.js +0 -32
- data/test/dummy/node_modules/lodash/uniqWith.js +0 -28
- data/test/dummy/node_modules/lodash/uniqueId.js +0 -28
- data/test/dummy/node_modules/lodash/unset.js +0 -34
- data/test/dummy/node_modules/lodash/unzip.js +0 -45
- data/test/dummy/node_modules/lodash/unzipWith.js +0 -39
- data/test/dummy/node_modules/lodash/update.js +0 -35
- data/test/dummy/node_modules/lodash/updateWith.js +0 -33
- data/test/dummy/node_modules/lodash/upperCase.js +0 -27
- data/test/dummy/node_modules/lodash/upperFirst.js +0 -22
- data/test/dummy/node_modules/lodash/util.js +0 -34
- data/test/dummy/node_modules/lodash/value.js +0 -1
- data/test/dummy/node_modules/lodash/valueOf.js +0 -1
- data/test/dummy/node_modules/lodash/values.js +0 -34
- data/test/dummy/node_modules/lodash/valuesIn.js +0 -32
- data/test/dummy/node_modules/lodash/without.js +0 -31
- data/test/dummy/node_modules/lodash/words.js +0 -35
- data/test/dummy/node_modules/lodash/wrap.js +0 -31
- data/test/dummy/node_modules/lodash/wrapperAt.js +0 -50
- data/test/dummy/node_modules/lodash/wrapperChain.js +0 -34
- data/test/dummy/node_modules/lodash/wrapperLodash.js +0 -147
- data/test/dummy/node_modules/lodash/wrapperReverse.js +0 -44
- data/test/dummy/node_modules/lodash/wrapperValue.js +0 -21
- data/test/dummy/node_modules/lodash/xor.js +0 -28
- data/test/dummy/node_modules/lodash/xorBy.js +0 -39
- data/test/dummy/node_modules/lodash/xorWith.js +0 -35
- data/test/dummy/node_modules/lodash/zip.js +0 -22
- data/test/dummy/node_modules/lodash/zipObject.js +0 -24
- data/test/dummy/node_modules/lodash/zipObjectDeep.js +0 -23
- data/test/dummy/node_modules/lodash/zipWith.js +0 -31
- data/test/dummy/node_modules/lodash.memoize/LICENSE.txt +0 -22
- data/test/dummy/node_modules/lodash.memoize/README.md +0 -20
- data/test/dummy/node_modules/lodash.memoize/index.js +0 -167
- data/test/dummy/node_modules/lodash.memoize/package.json +0 -121
- data/test/dummy/node_modules/miller-rabin/README.md +0 -26
- data/test/dummy/node_modules/miller-rabin/bin/miller-rabin +0 -29
- data/test/dummy/node_modules/miller-rabin/lib/mr.js +0 -113
- data/test/dummy/node_modules/miller-rabin/package.json +0 -89
- data/test/dummy/node_modules/miller-rabin/test/api-test.js +0 -18
- data/test/dummy/node_modules/minimalistic-assert/index.js +0 -11
- data/test/dummy/node_modules/minimalistic-assert/package.json +0 -70
- data/test/dummy/node_modules/minimalistic-assert/readme.md +0 -4
- data/test/dummy/node_modules/minimatch/LICENSE +0 -15
- data/test/dummy/node_modules/minimatch/README.md +0 -209
- data/test/dummy/node_modules/minimatch/minimatch.js +0 -923
- data/test/dummy/node_modules/minimatch/package.json +0 -89
- data/test/dummy/node_modules/minimist/LICENSE +0 -18
- data/test/dummy/node_modules/minimist/example/parse.js +0 -2
- data/test/dummy/node_modules/minimist/index.js +0 -236
- data/test/dummy/node_modules/minimist/package.json +0 -97
- data/test/dummy/node_modules/minimist/readme.markdown +0 -91
- data/test/dummy/node_modules/minimist/test/all_bool.js +0 -32
- data/test/dummy/node_modules/minimist/test/bool.js +0 -166
- data/test/dummy/node_modules/minimist/test/dash.js +0 -31
- data/test/dummy/node_modules/minimist/test/default_bool.js +0 -35
- data/test/dummy/node_modules/minimist/test/dotted.js +0 -22
- data/test/dummy/node_modules/minimist/test/kv_short.js +0 -16
- data/test/dummy/node_modules/minimist/test/long.js +0 -31
- data/test/dummy/node_modules/minimist/test/num.js +0 -36
- data/test/dummy/node_modules/minimist/test/parse.js +0 -197
- data/test/dummy/node_modules/minimist/test/parse_modified.js +0 -9
- data/test/dummy/node_modules/minimist/test/short.js +0 -67
- data/test/dummy/node_modules/minimist/test/stop_early.js +0 -15
- data/test/dummy/node_modules/minimist/test/unknown.js +0 -102
- data/test/dummy/node_modules/minimist/test/whitespace.js +0 -8
- data/test/dummy/node_modules/minimum_viable_product/Gemfile +0 -14
- data/test/dummy/node_modules/minimum_viable_product/Gemfile.lock +0 -385
- data/test/dummy/node_modules/minimum_viable_product/MIT-LICENSE +0 -20
- data/test/dummy/node_modules/minimum_viable_product/README.rdoc +0 -3
- data/test/dummy/node_modules/minimum_viable_product/Rakefile +0 -37
- data/test/dummy/node_modules/minimum_viable_product/app/assets/javascripts/minimum_viable_product/application.js.erb +0 -38
- data/test/dummy/node_modules/minimum_viable_product/app/assets/javascripts/minimum_viable_product/init/controllers.js +0 -23
- data/test/dummy/node_modules/minimum_viable_product/app/assets/stylesheets/minimum_viable_product/application.scss +0 -23
- data/test/dummy/node_modules/minimum_viable_product/app/assets/stylesheets/minimum_viable_product/components/buttons.scss +0 -20
- data/test/dummy/node_modules/minimum_viable_product/app/assets/stylesheets/minimum_viable_product/components/fonts.scss +0 -15
- data/test/dummy/node_modules/minimum_viable_product/app/assets/stylesheets/minimum_viable_product/components/spacing.scss +0 -13
- data/test/dummy/node_modules/minimum_viable_product/app/assets/stylesheets/minimum_viable_product/components/typography.scss +0 -40
- data/test/dummy/node_modules/minimum_viable_product/app/assets/stylesheets/minimum_viable_product/init/_reset.scss +0 -43
- data/test/dummy/node_modules/minimum_viable_product/app/assets/stylesheets/minimum_viable_product/init/layout.scss +0 -42
- data/test/dummy/node_modules/minimum_viable_product/app/assets/stylesheets/minimum_viable_product/layout/basic.scss +0 -6
- data/test/dummy/node_modules/minimum_viable_product/app/assets/stylesheets/minimum_viable_product/layout/carousel.scss +0 -128
- data/test/dummy/node_modules/minimum_viable_product/app/assets/stylesheets/minimum_viable_product/layout/cover.scss +0 -111
- data/test/dummy/node_modules/minimum_viable_product/app/assets/stylesheets/minimum_viable_product/pages/sample.scss +0 -14
- data/test/dummy/node_modules/minimum_viable_product/app/assets/stylesheets/minimum_viable_product/skin/style.scss +0 -8
- data/test/dummy/node_modules/minimum_viable_product/app/controllers/minimum_viable_product/analytics_controller.rb +0 -14
- data/test/dummy/node_modules/minimum_viable_product/app/controllers/minimum_viable_product/concerns/analytics_concern.rb +0 -77
- data/test/dummy/node_modules/minimum_viable_product/app/controllers/minimum_viable_product/concerns/seo_concern.rb +0 -25
- data/test/dummy/node_modules/minimum_viable_product/app/controllers/minimum_viable_product/concerns/session_concern.rb +0 -40
- data/test/dummy/node_modules/minimum_viable_product/app/controllers/minimum_viable_product/controller.rb +0 -11
- data/test/dummy/node_modules/minimum_viable_product/app/controllers/minimum_viable_product/seo_controller.rb +0 -13
- data/test/dummy/node_modules/minimum_viable_product/app/controllers/minimum_viable_product/styleguide_controller.rb +0 -25
- data/test/dummy/node_modules/minimum_viable_product/app/helpers/minimum_viable_product/analytics_helper.rb +0 -4
- data/test/dummy/node_modules/minimum_viable_product/app/helpers/minimum_viable_product/application_helper.rb +0 -15
- data/test/dummy/node_modules/minimum_viable_product/app/helpers/minimum_viable_product/bootstrap_helper.rb +0 -38
- data/test/dummy/node_modules/minimum_viable_product/app/helpers/minimum_viable_product/seo_helper.rb +0 -4
- data/test/dummy/node_modules/minimum_viable_product/app/helpers/minimum_viable_product/styleguide_helper.rb +0 -4
- data/test/dummy/node_modules/minimum_viable_product/app/models/concerns/slugification.rb +0 -16
- data/test/dummy/node_modules/minimum_viable_product/app/views/layouts/minimum_viable_product/_header.html.erb +0 -48
- data/test/dummy/node_modules/minimum_viable_product/app/views/layouts/minimum_viable_product/_instrumentation.html.erb +0 -75
- data/test/dummy/node_modules/minimum_viable_product/app/views/layouts/minimum_viable_product/_meta.html.erb +0 -37
- data/test/dummy/node_modules/minimum_viable_product/app/views/layouts/minimum_viable_product/application.html.erb +0 -24
- data/test/dummy/node_modules/minimum_viable_product/app/views/layouts/minimum_viable_product/basic.html.erb +0 -16
- data/test/dummy/node_modules/minimum_viable_product/app/views/layouts/minimum_viable_product/carousel.html.erb +0 -17
- data/test/dummy/node_modules/minimum_viable_product/app/views/layouts/minimum_viable_product/cover.html.erb +0 -13
- data/test/dummy/node_modules/minimum_viable_product/app/views/minimum_viable_product/styleguide/_example.html.erb +0 -6
- data/test/dummy/node_modules/minimum_viable_product/app/views/minimum_viable_product/styleguide/bootstrap/_buttons.html.erb +0 -191
- data/test/dummy/node_modules/minimum_viable_product/app/views/minimum_viable_product/styleguide/bootstrap/_forms.html.erb +0 -192
- data/test/dummy/node_modules/minimum_viable_product/app/views/minimum_viable_product/styleguide/bootstrap/_header.html.erb +0 -48
- data/test/dummy/node_modules/minimum_viable_product/app/views/minimum_viable_product/styleguide/bootstrap/_panels.html.erb +0 -16
- data/test/dummy/node_modules/minimum_viable_product/app/views/minimum_viable_product/styleguide/bootstrap/_tables.html.erb +0 -34
- data/test/dummy/node_modules/minimum_viable_product/app/views/minimum_viable_product/styleguide/bootstrap/_typography.html.erb +0 -51
- data/test/dummy/node_modules/minimum_viable_product/app/views/minimum_viable_product/styleguide/bootstrap.html.erb +0 -43
- data/test/dummy/node_modules/minimum_viable_product/app/views/minimum_viable_product/styleguide/elements/_grouping.html.erb +0 -1
- data/test/dummy/node_modules/minimum_viable_product/app/views/minimum_viable_product/styleguide/elements/partials/_row_groups_of.html.erb +0 -7
- data/test/dummy/node_modules/minimum_viable_product/app/views/minimum_viable_product/styleguide/index.html.erb +0 -17
- data/test/dummy/node_modules/minimum_viable_product/app/views/minimum_viable_product/styleguide/layouts/basic.html.erb +0 -4
- data/test/dummy/node_modules/minimum_viable_product/app/views/minimum_viable_product/styleguide/layouts/carousel.html.erb +0 -120
- data/test/dummy/node_modules/minimum_viable_product/app/views/minimum_viable_product/styleguide/layouts/cover.html.erb +0 -34
- data/test/dummy/node_modules/minimum_viable_product/bin/mvp +0 -68
- data/test/dummy/node_modules/minimum_viable_product/bin/rails +0 -12
- data/test/dummy/node_modules/minimum_viable_product/config/initializers/canonical_host.rb +0 -3
- data/test/dummy/node_modules/minimum_viable_product/config/initializers/client_side_validations.rb +0 -20
- data/test/dummy/node_modules/minimum_viable_product/config/initializers/cloudinary.rb +0 -6
- data/test/dummy/node_modules/minimum_viable_product/config/initializers/geocoder.rb +0 -9
- data/test/dummy/node_modules/minimum_viable_product/config/initializers/iteration.rb +0 -33
- data/test/dummy/node_modules/minimum_viable_product/config/initializers/rollbar.rb +0 -59
- data/test/dummy/node_modules/minimum_viable_product/config/initializers/segment.rb +0 -5
- data/test/dummy/node_modules/minimum_viable_product/config/initializers/simple_form.rb +0 -165
- data/test/dummy/node_modules/minimum_viable_product/config/initializers/simple_form_bootstrap.rb +0 -149
- data/test/dummy/node_modules/minimum_viable_product/config/initializers/spoof_ip.rb +0 -33
- data/test/dummy/node_modules/minimum_viable_product/config/initializers/ssl.rb +0 -3
- data/test/dummy/node_modules/minimum_viable_product/config/routes.rb +0 -16
- data/test/dummy/node_modules/minimum_viable_product/lib/minimum_viable_product/engine.rb +0 -20
- data/test/dummy/node_modules/minimum_viable_product/lib/minimum_viable_product/ext/nil.rb +0 -5
- data/test/dummy/node_modules/minimum_viable_product/lib/minimum_viable_product/ext/string.rb +0 -7
- data/test/dummy/node_modules/minimum_viable_product/lib/minimum_viable_product/version.rb +0 -3
- data/test/dummy/node_modules/minimum_viable_product/lib/minimum_viable_product.rb +0 -6
- data/test/dummy/node_modules/minimum_viable_product/lib/tasks/sitemap.rake +0 -42
- data/test/dummy/node_modules/minimum_viable_product/mvp.gemspec +0 -53
- data/test/dummy/node_modules/minimum_viable_product/package.json +0 -70
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/README.rdoc +0 -28
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/Rakefile +0 -6
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/app/assets/javascripts/application.js +0 -13
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/app/assets/stylesheets/application.css +0 -15
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/app/controllers/application_controller.rb +0 -5
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/app/helpers/application_helper.rb +0 -2
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/app/views/layouts/application.html.erb +0 -14
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/bin/bundle +0 -3
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/bin/rails +0 -4
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/bin/rake +0 -4
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/bin/setup +0 -29
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/config/application.rb +0 -26
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/config/boot.rb +0 -5
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/config/database.yml +0 -25
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/config/environment.rb +0 -5
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/config/environments/development.rb +0 -41
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/config/environments/production.rb +0 -79
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/config/environments/test.rb +0 -42
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/config/initializers/assets.rb +0 -11
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/config/initializers/cookies_serializer.rb +0 -3
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/config/initializers/inflections.rb +0 -16
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/config/initializers/mime_types.rb +0 -4
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/config/initializers/session_store.rb +0 -3
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/config/locales/en.yml +0 -23
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/config/routes.rb +0 -4
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/config/secrets.yml +0 -22
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/config.ru +0 -4
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/public/404.html +0 -67
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/public/422.html +0 -67
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/public/500.html +0 -66
- data/test/dummy/node_modules/minimum_viable_product/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/node_modules/minimum_viable_product/test/integration/navigation_test.rb +0 -8
- data/test/dummy/node_modules/minimum_viable_product/test/minimum_viable_product_test.rb +0 -7
- data/test/dummy/node_modules/minimum_viable_product/test/test_helper.rb +0 -21
- data/test/dummy/node_modules/module-deps/LICENSE +0 -18
- data/test/dummy/node_modules/module-deps/bin/cmd.js +0 -28
- data/test/dummy/node_modules/module-deps/bin/usage.txt +0 -9
- data/test/dummy/node_modules/module-deps/example/deps.js +0 -6
- data/test/dummy/node_modules/module-deps/example/files/bar.js +0 -3
- data/test/dummy/node_modules/module-deps/example/files/foo.js +0 -5
- data/test/dummy/node_modules/module-deps/example/files/main.js +0 -2
- data/test/dummy/node_modules/module-deps/example/files/xyz.js +0 -2
- data/test/dummy/node_modules/module-deps/index.js +0 -563
- data/test/dummy/node_modules/module-deps/package.json +0 -134
- data/test/dummy/node_modules/module-deps/readme.markdown +0 -244
- data/test/dummy/node_modules/module-deps/test/bundle.js +0 -23
- data/test/dummy/node_modules/module-deps/test/cache.js +0 -50
- data/test/dummy/node_modules/module-deps/test/cache_expose.js +0 -54
- data/test/dummy/node_modules/module-deps/test/cache_partial.js +0 -47
- data/test/dummy/node_modules/module-deps/test/cache_partial_expose.js +0 -104
- data/test/dummy/node_modules/module-deps/test/cycle/bar.js +0 -3
- data/test/dummy/node_modules/module-deps/test/cycle/foo.js +0 -4
- data/test/dummy/node_modules/module-deps/test/cycle/main.js +0 -4
- data/test/dummy/node_modules/module-deps/test/cycle.js +0 -19
- data/test/dummy/node_modules/module-deps/test/deps.js +0 -49
- data/test/dummy/node_modules/module-deps/test/dotdot/abc/index.js +0 -2
- data/test/dummy/node_modules/module-deps/test/dotdot/index.js +0 -1
- data/test/dummy/node_modules/module-deps/test/dotdot.js +0 -20
- data/test/dummy/node_modules/module-deps/test/expose/bar.js +0 -1
- data/test/dummy/node_modules/module-deps/test/expose/foo.js +0 -1
- data/test/dummy/node_modules/module-deps/test/expose/lib/abc.js +0 -1
- data/test/dummy/node_modules/module-deps/test/expose/lib/xyz.js +0 -2
- data/test/dummy/node_modules/module-deps/test/expose/main.js +0 -3
- data/test/dummy/node_modules/module-deps/test/expose.js +0 -41
- data/test/dummy/node_modules/module-deps/test/file_cache.js +0 -58
- data/test/dummy/node_modules/module-deps/test/files/bar.js +0 -3
- data/test/dummy/node_modules/module-deps/test/files/extra.js +0 -1
- data/test/dummy/node_modules/module-deps/test/files/filterable.js +0 -10
- data/test/dummy/node_modules/module-deps/test/files/foo.js +0 -5
- data/test/dummy/node_modules/module-deps/test/files/main.js +0 -2
- data/test/dummy/node_modules/module-deps/test/files/pkg_filter/one.js +0 -1
- data/test/dummy/node_modules/module-deps/test/files/pkg_filter/package.json +0 -3
- data/test/dummy/node_modules/module-deps/test/files/pkg_filter/test.js +0 -1
- data/test/dummy/node_modules/module-deps/test/files/pkg_filter/two.js +0 -1
- data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/f.js +0 -1
- data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/main.js +0 -7
- data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/node_modules/g/index.js +0 -1
- data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/node_modules/g/node_modules/insert-ggg/index.js +0 -8
- data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/node_modules/g/package.json +0 -6
- data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/node_modules/insert-aaa/index.js +0 -8
- data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/node_modules/insert-bbb/index.js +0 -8
- data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/node_modules/m/index.js +0 -3
- data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/node_modules/m/node_modules/insert-mmm/index.js +0 -8
- data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/node_modules/m/package.json +0 -6
- data/test/dummy/node_modules/module-deps/test/files/tr_global/main.js +0 -1
- data/test/dummy/node_modules/module-deps/test/files/tr_global/package.json +0 -5
- data/test/dummy/node_modules/module-deps/test/files/tr_module/f.js +0 -1
- data/test/dummy/node_modules/module-deps/test/files/tr_module/index.js +0 -8
- data/test/dummy/node_modules/module-deps/test/files/tr_module/main.js +0 -8
- data/test/dummy/node_modules/module-deps/test/files/tr_module/package.json +0 -5
- data/test/dummy/node_modules/module-deps/test/files/tr_module/xxx.js +0 -8
- data/test/dummy/node_modules/module-deps/test/files/tr_no_entry/main.js +0 -1
- data/test/dummy/node_modules/module-deps/test/files/tr_rel/package.json +0 -5
- data/test/dummy/node_modules/module-deps/test/files/tr_rel/subdir/main.js +0 -1
- data/test/dummy/node_modules/module-deps/test/files/tr_rel/xxx.js +0 -8
- data/test/dummy/node_modules/module-deps/test/files/tr_sh/f.js +0 -1
- data/test/dummy/node_modules/module-deps/test/files/tr_sh/main.js +0 -7
- data/test/dummy/node_modules/module-deps/test/files/tr_sh/node_modules/g/index.js +0 -1
- data/test/dummy/node_modules/module-deps/test/files/tr_sh/node_modules/g/package.json +0 -6
- data/test/dummy/node_modules/module-deps/test/files/tr_sh/node_modules/g/tr_g.js +0 -7
- data/test/dummy/node_modules/module-deps/test/files/tr_sh/node_modules/m/index.js +0 -3
- data/test/dummy/node_modules/module-deps/test/files/tr_sh/tr_a.js +0 -7
- data/test/dummy/node_modules/module-deps/test/files/tr_sh/tr_b.js +0 -7
- data/test/dummy/node_modules/module-deps/test/files/tr_whole_package/f.js +0 -3
- data/test/dummy/node_modules/module-deps/test/files/tr_whole_package/main.js +0 -3
- data/test/dummy/node_modules/module-deps/test/files/tr_whole_package/node_modules/algo/index.js +0 -3
- data/test/dummy/node_modules/module-deps/test/files/tr_whole_package/node_modules/algo/lib/decrement.js +0 -1
- data/test/dummy/node_modules/module-deps/test/files/tr_whole_package/node_modules/algo/node_modules/insert-ggg/index.js +0 -8
- data/test/dummy/node_modules/module-deps/test/files/tr_whole_package/node_modules/algo/package.json +0 -6
- data/test/dummy/node_modules/module-deps/test/files/unicode/bar.js +0 -3
- data/test/dummy/node_modules/module-deps/test/files/unicode/foo.js +0 -5
- data/test/dummy/node_modules/module-deps/test/files/unicode/main.js +0 -2
- data/test/dummy/node_modules/module-deps/test/files/xyz.js +0 -2
- data/test/dummy/node_modules/module-deps/test/filter.js +0 -36
- data/test/dummy/node_modules/module-deps/test/ignore_missing/main.js +0 -1
- data/test/dummy/node_modules/module-deps/test/ignore_missing/other.js +0 -1
- data/test/dummy/node_modules/module-deps/test/ignore_missing.js +0 -60
- data/test/dummy/node_modules/module-deps/test/ignore_missing_cache.js +0 -52
- data/test/dummy/node_modules/module-deps/test/node_modules/insert-www/index.js +0 -8
- data/test/dummy/node_modules/module-deps/test/noparse.js +0 -43
- data/test/dummy/node_modules/module-deps/test/noparse_row.js +0 -39
- data/test/dummy/node_modules/module-deps/test/pkg/main.js +0 -2
- data/test/dummy/node_modules/module-deps/test/pkg/package.json +0 -4
- data/test/dummy/node_modules/module-deps/test/pkg.js +0 -20
- data/test/dummy/node_modules/module-deps/test/pkg_filter.js +0 -26
- data/test/dummy/node_modules/module-deps/test/row_expose.js +0 -24
- data/test/dummy/node_modules/module-deps/test/row_expose_name_is_file_transform.js +0 -32
- data/test/dummy/node_modules/module-deps/test/row_expose_transform.js +0 -31
- data/test/dummy/node_modules/module-deps/test/source.js +0 -61
- data/test/dummy/node_modules/module-deps/test/tr_2dep_module.js +0 -23
- data/test/dummy/node_modules/module-deps/test/tr_err.js +0 -21
- data/test/dummy/node_modules/module-deps/test/tr_flags/empty.js +0 -0
- data/test/dummy/node_modules/module-deps/test/tr_flags.js +0 -44
- data/test/dummy/node_modules/module-deps/test/tr_fn.js +0 -32
- data/test/dummy/node_modules/module-deps/test/tr_global.js +0 -29
- data/test/dummy/node_modules/module-deps/test/tr_module.js +0 -23
- data/test/dummy/node_modules/module-deps/test/tr_no_entry.js +0 -31
- data/test/dummy/node_modules/module-deps/test/tr_opts/main.js +0 -1
- data/test/dummy/node_modules/module-deps/test/tr_opts/package.json +0 -7
- data/test/dummy/node_modules/module-deps/test/tr_opts.js +0 -21
- data/test/dummy/node_modules/module-deps/test/tr_rel.js +0 -24
- data/test/dummy/node_modules/module-deps/test/tr_sh.js +0 -23
- data/test/dummy/node_modules/module-deps/test/tr_whole_package.js +0 -22
- data/test/dummy/node_modules/module-deps/test/tr_write/main.js +0 -1
- data/test/dummy/node_modules/module-deps/test/tr_write.js +0 -32
- data/test/dummy/node_modules/module-deps/test/undef_file.js +0 -49
- data/test/dummy/node_modules/module-deps/test/unicode.js +0 -49
- data/test/dummy/node_modules/once/LICENSE +0 -15
- data/test/dummy/node_modules/once/README.md +0 -51
- data/test/dummy/node_modules/once/once.js +0 -21
- data/test/dummy/node_modules/once/package.json +0 -89
- data/test/dummy/node_modules/os-browserify/LICENSE +0 -21
- data/test/dummy/node_modules/os-browserify/README.md +0 -2
- data/test/dummy/node_modules/os-browserify/browser.js +0 -45
- data/test/dummy/node_modules/os-browserify/main.js +0 -1
- data/test/dummy/node_modules/os-browserify/package.json +0 -67
- data/test/dummy/node_modules/pako/CHANGELOG.md +0 -90
- data/test/dummy/node_modules/pako/LICENSE +0 -21
- data/test/dummy/node_modules/pako/README.md +0 -176
- data/test/dummy/node_modules/pako/dist/pako.js +0 -6606
- data/test/dummy/node_modules/pako/dist/pako.min.js +0 -3
- data/test/dummy/node_modules/pako/dist/pako_deflate.js +0 -3879
- data/test/dummy/node_modules/pako/dist/pako_deflate.min.js +0 -2
- data/test/dummy/node_modules/pako/dist/pako_inflate.js +0 -3127
- data/test/dummy/node_modules/pako/dist/pako_inflate.min.js +0 -2
- data/test/dummy/node_modules/pako/index.js +0 -14
- data/test/dummy/node_modules/pako/lib/deflate.js +0 -400
- data/test/dummy/node_modules/pako/lib/inflate.js +0 -418
- data/test/dummy/node_modules/pako/lib/utils/common.js +0 -102
- data/test/dummy/node_modules/pako/lib/utils/strings.js +0 -185
- data/test/dummy/node_modules/pako/lib/zlib/adler32.js +0 -32
- data/test/dummy/node_modules/pako/lib/zlib/constants.js +0 -50
- data/test/dummy/node_modules/pako/lib/zlib/crc32.js +0 -41
- data/test/dummy/node_modules/pako/lib/zlib/deflate.js +0 -1855
- data/test/dummy/node_modules/pako/lib/zlib/gzheader.js +0 -40
- data/test/dummy/node_modules/pako/lib/zlib/inffast.js +0 -326
- data/test/dummy/node_modules/pako/lib/zlib/inflate.js +0 -1538
- data/test/dummy/node_modules/pako/lib/zlib/inftrees.js +0 -327
- data/test/dummy/node_modules/pako/lib/zlib/messages.js +0 -13
- data/test/dummy/node_modules/pako/lib/zlib/trees.js +0 -1202
- data/test/dummy/node_modules/pako/lib/zlib/zstream.js +0 -29
- data/test/dummy/node_modules/pako/package.json +0 -106
- data/test/dummy/node_modules/parents/LICENSE +0 -18
- data/test/dummy/node_modules/parents/example/dirname.js +0 -3
- data/test/dummy/node_modules/parents/example/win32.js +0 -5
- data/test/dummy/node_modules/parents/index.js +0 -48
- data/test/dummy/node_modules/parents/package.json +0 -91
- data/test/dummy/node_modules/parents/readme.markdown +0 -75
- data/test/dummy/node_modules/parents/test/dirname.js +0 -20
- data/test/dummy/node_modules/parents/test/win32.js +0 -34
- data/test/dummy/node_modules/parse-asn1/README.md +0 -8
- data/test/dummy/node_modules/parse-asn1/aesid.json +0 -13
- data/test/dummy/node_modules/parse-asn1/asn1.js +0 -117
- data/test/dummy/node_modules/parse-asn1/fixProc.js +0 -30
- data/test/dummy/node_modules/parse-asn1/index.js +0 -101
- data/test/dummy/node_modules/parse-asn1/package.json +0 -97
- data/test/dummy/node_modules/parse-asn1/test/1024.priv +0 -16
- data/test/dummy/node_modules/parse-asn1/test/1024.pub +0 -6
- data/test/dummy/node_modules/parse-asn1/test/dsa.1024.priv +0 -18
- data/test/dummy/node_modules/parse-asn1/test/dsa.1024.pub +0 -12
- data/test/dummy/node_modules/parse-asn1/test/dsa.2048.priv +0 -20
- data/test/dummy/node_modules/parse-asn1/test/dsa.2048.pub +0 -20
- data/test/dummy/node_modules/parse-asn1/test/ec.pass.priv +0 -7
- data/test/dummy/node_modules/parse-asn1/test/ec.priv +0 -5
- data/test/dummy/node_modules/parse-asn1/test/ec.pub +0 -4
- data/test/dummy/node_modules/parse-asn1/test/index.js +0 -92
- data/test/dummy/node_modules/parse-asn1/test/pass.1024.priv +0 -18
- data/test/dummy/node_modules/parse-asn1/test/pass.1024.pub +0 -6
- data/test/dummy/node_modules/parse-asn1/test/pass.dsa.1024.priv +0 -11
- data/test/dummy/node_modules/parse-asn1/test/pass.dsa.1024.pub +0 -12
- data/test/dummy/node_modules/parse-asn1/test/pass.rsa.1024.priv +0 -18
- data/test/dummy/node_modules/parse-asn1/test/pass.rsa.1024.pub +0 -6
- data/test/dummy/node_modules/parse-asn1/test/pass.rsa.2028.priv +0 -30
- data/test/dummy/node_modules/parse-asn1/test/pass.rsa.2028.pub +0 -9
- data/test/dummy/node_modules/parse-asn1/test/pass2.dsa.1024.priv +0 -15
- data/test/dummy/node_modules/parse-asn1/test/pass2.dsa.1024.pub +0 -12
- data/test/dummy/node_modules/parse-asn1/test/rsa.1024.priv +0 -15
- data/test/dummy/node_modules/parse-asn1/test/rsa.1024.pub +0 -5
- data/test/dummy/node_modules/parse-asn1/test/rsa.2028.priv +0 -27
- data/test/dummy/node_modules/parse-asn1/test/rsa.2028.pub +0 -8
- data/test/dummy/node_modules/parse-asn1/test/vector.js +0 -7
- data/test/dummy/node_modules/parse-asn1/test/vector.priv +0 -12
- data/test/dummy/node_modules/parse-asn1/test/vector2.priv +0 -19
- data/test/dummy/node_modules/path-browserify/LICENSE +0 -18
- data/test/dummy/node_modules/path-browserify/index.js +0 -224
- data/test/dummy/node_modules/path-browserify/package.json +0 -78
- data/test/dummy/node_modules/path-browserify/readme.markdown +0 -3
- data/test/dummy/node_modules/path-is-absolute/index.js +0 -20
- data/test/dummy/node_modules/path-is-absolute/license +0 -21
- data/test/dummy/node_modules/path-is-absolute/package.json +0 -97
- data/test/dummy/node_modules/path-is-absolute/readme.md +0 -51
- data/test/dummy/node_modules/path-platform/LICENSE +0 -3
- data/test/dummy/node_modules/path-platform/README.md +0 -5
- data/test/dummy/node_modules/path-platform/package.json +0 -79
- data/test/dummy/node_modules/path-platform/path.js +0 -643
- data/test/dummy/node_modules/pbkdf2/LICENSE +0 -21
- data/test/dummy/node_modules/pbkdf2/README.md +0 -24
- data/test/dummy/node_modules/pbkdf2/async-shim.js +0 -19
- data/test/dummy/node_modules/pbkdf2/browser.js +0 -80
- data/test/dummy/node_modules/pbkdf2/index.js +0 -92
- data/test/dummy/node_modules/pbkdf2/package.json +0 -116
- data/test/dummy/node_modules/pbkdf2/test/fixtures.json +0 -171
- data/test/dummy/node_modules/pbkdf2/test/index.html +0 -13
- data/test/dummy/node_modules/pbkdf2/test/index.js +0 -93
- data/test/dummy/node_modules/process/LICENSE +0 -22
- data/test/dummy/node_modules/process/README.md +0 -26
- data/test/dummy/node_modules/process/browser.js +0 -160
- data/test/dummy/node_modules/process/index.js +0 -2
- data/test/dummy/node_modules/process/package.json +0 -97
- data/test/dummy/node_modules/process/test.js +0 -150
- data/test/dummy/node_modules/process-nextick-args/index.js +0 -43
- data/test/dummy/node_modules/process-nextick-args/license.md +0 -19
- data/test/dummy/node_modules/process-nextick-args/package.json +0 -77
- data/test/dummy/node_modules/process-nextick-args/readme.md +0 -18
- data/test/dummy/node_modules/process-nextick-args/test.js +0 -24
- data/test/dummy/node_modules/public-encrypt/browser.js +0 -10
- data/test/dummy/node_modules/public-encrypt/index.js +0 -18
- data/test/dummy/node_modules/public-encrypt/mgf.js +0 -16
- data/test/dummy/node_modules/public-encrypt/package.json +0 -97
- data/test/dummy/node_modules/public-encrypt/privateDecrypt.js +0 -108
- data/test/dummy/node_modules/public-encrypt/publicEncrypt.js +0 -95
- data/test/dummy/node_modules/public-encrypt/readme.md +0 -6
- data/test/dummy/node_modules/public-encrypt/test/1024.priv +0 -16
- data/test/dummy/node_modules/public-encrypt/test/1024.pub +0 -6
- data/test/dummy/node_modules/public-encrypt/test/ec.pass.priv +0 -7
- data/test/dummy/node_modules/public-encrypt/test/ec.priv +0 -5
- data/test/dummy/node_modules/public-encrypt/test/ec.pub +0 -4
- data/test/dummy/node_modules/public-encrypt/test/index.js +0 -117
- data/test/dummy/node_modules/public-encrypt/test/nodeTests.js +0 -51
- data/test/dummy/node_modules/public-encrypt/test/pass.1024.priv +0 -18
- data/test/dummy/node_modules/public-encrypt/test/pass.1024.pub +0 -6
- data/test/dummy/node_modules/public-encrypt/test/rsa.1024.priv +0 -15
- data/test/dummy/node_modules/public-encrypt/test/rsa.1024.pub +0 -5
- data/test/dummy/node_modules/public-encrypt/test/rsa.2028.priv +0 -27
- data/test/dummy/node_modules/public-encrypt/test/rsa.2028.pub +0 -8
- data/test/dummy/node_modules/public-encrypt/test/rsa.pass.priv +0 -30
- data/test/dummy/node_modules/public-encrypt/test/rsa.pass.pub +0 -9
- data/test/dummy/node_modules/public-encrypt/test/test_cert.pem +0 -20
- data/test/dummy/node_modules/public-encrypt/test/test_key.pem +0 -15
- data/test/dummy/node_modules/public-encrypt/test/test_rsa_privkey.pem +0 -15
- data/test/dummy/node_modules/public-encrypt/test/test_rsa_privkey_encrypted.pem +0 -18
- data/test/dummy/node_modules/public-encrypt/test/test_rsa_pubkey.pem +0 -6
- data/test/dummy/node_modules/public-encrypt/withPublic.js +0 -10
- data/test/dummy/node_modules/public-encrypt/xor.js +0 -8
- data/test/dummy/node_modules/punycode/LICENSE-MIT.txt +0 -20
- data/test/dummy/node_modules/punycode/README.md +0 -176
- data/test/dummy/node_modules/punycode/package.json +0 -119
- data/test/dummy/node_modules/punycode/punycode.js +0 -533
- data/test/dummy/node_modules/querystring/History.md +0 -20
- data/test/dummy/node_modules/querystring/License.md +0 -19
- data/test/dummy/node_modules/querystring/Readme.md +0 -15
- data/test/dummy/node_modules/querystring/decode.js +0 -80
- data/test/dummy/node_modules/querystring/encode.js +0 -64
- data/test/dummy/node_modules/querystring/index.js +0 -4
- data/test/dummy/node_modules/querystring/package.json +0 -122
- data/test/dummy/node_modules/querystring/test/common-index.js +0 -3
- data/test/dummy/node_modules/querystring/test/index.js +0 -210
- data/test/dummy/node_modules/querystring/test/tap-index.js +0 -3
- data/test/dummy/node_modules/querystring-es3/History.md +0 -20
- data/test/dummy/node_modules/querystring-es3/License.md +0 -19
- data/test/dummy/node_modules/querystring-es3/Readme.md +0 -15
- data/test/dummy/node_modules/querystring-es3/decode.js +0 -84
- data/test/dummy/node_modules/querystring-es3/encode.js +0 -85
- data/test/dummy/node_modules/querystring-es3/index.js +0 -4
- data/test/dummy/node_modules/querystring-es3/package.json +0 -124
- data/test/dummy/node_modules/querystring-es3/test/common-index.js +0 -3
- data/test/dummy/node_modules/querystring-es3/test/index.js +0 -210
- data/test/dummy/node_modules/querystring-es3/test/tap-index.js +0 -3
- data/test/dummy/node_modules/randombytes/README.md +0 -14
- data/test/dummy/node_modules/randombytes/browser.js +0 -36
- data/test/dummy/node_modules/randombytes/index.js +0 -1
- data/test/dummy/node_modules/randombytes/package.json +0 -105
- data/test/dummy/node_modules/randombytes/test.js +0 -56
- data/test/dummy/node_modules/read-only-stream/LICENSE +0 -18
- data/test/dummy/node_modules/read-only-stream/example/main.js +0 -3
- data/test/dummy/node_modules/read-only-stream/example/wrap.js +0 -8
- data/test/dummy/node_modules/read-only-stream/index.js +0 -30
- data/test/dummy/node_modules/read-only-stream/package.json +0 -86
- data/test/dummy/node_modules/read-only-stream/readme.markdown +0 -60
- data/test/dummy/node_modules/read-only-stream/test/error.js +0 -15
- data/test/dummy/node_modules/read-only-stream/test/ro.js +0 -22
- data/test/dummy/node_modules/read-only-stream/test/streams1.js +0 -21
- data/test/dummy/node_modules/readable-stream/LICENSE +0 -18
- data/test/dummy/node_modules/readable-stream/README.md +0 -36
- data/test/dummy/node_modules/readable-stream/doc/stream.md +0 -1772
- data/test/dummy/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
- data/test/dummy/node_modules/readable-stream/duplex.js +0 -1
- data/test/dummy/node_modules/readable-stream/lib/_stream_duplex.js +0 -75
- data/test/dummy/node_modules/readable-stream/lib/_stream_passthrough.js +0 -26
- data/test/dummy/node_modules/readable-stream/lib/_stream_readable.js +0 -893
- data/test/dummy/node_modules/readable-stream/lib/_stream_transform.js +0 -180
- data/test/dummy/node_modules/readable-stream/lib/_stream_writable.js +0 -526
- data/test/dummy/node_modules/readable-stream/package.json +0 -124
- data/test/dummy/node_modules/readable-stream/passthrough.js +0 -1
- data/test/dummy/node_modules/readable-stream/readable.js +0 -16
- data/test/dummy/node_modules/readable-stream/transform.js +0 -1
- data/test/dummy/node_modules/readable-stream/writable.js +0 -1
- data/test/dummy/node_modules/resolve/LICENSE +0 -18
- data/test/dummy/node_modules/resolve/example/async.js +0 -5
- data/test/dummy/node_modules/resolve/example/sync.js +0 -3
- data/test/dummy/node_modules/resolve/index.js +0 -5
- data/test/dummy/node_modules/resolve/lib/async.js +0 -192
- data/test/dummy/node_modules/resolve/lib/caller.js +0 -8
- data/test/dummy/node_modules/resolve/lib/core.js +0 -4
- data/test/dummy/node_modules/resolve/lib/core.json +0 -38
- data/test/dummy/node_modules/resolve/lib/node-modules-paths.js +0 -38
- data/test/dummy/node_modules/resolve/lib/sync.js +0 -81
- data/test/dummy/node_modules/resolve/package.json +0 -84
- data/test/dummy/node_modules/resolve/readme.markdown +0 -148
- data/test/dummy/node_modules/resolve/test/core.js +0 -12
- data/test/dummy/node_modules/resolve/test/dotdot/abc/index.js +0 -2
- data/test/dummy/node_modules/resolve/test/dotdot/index.js +0 -1
- data/test/dummy/node_modules/resolve/test/dotdot.js +0 -29
- data/test/dummy/node_modules/resolve/test/faulty_basedir.js +0 -17
- data/test/dummy/node_modules/resolve/test/filter.js +0 -18
- data/test/dummy/node_modules/resolve/test/filter_sync.js +0 -15
- data/test/dummy/node_modules/resolve/test/mock.js +0 -142
- data/test/dummy/node_modules/resolve/test/mock_sync.js +0 -68
- data/test/dummy/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +0 -1
- data/test/dummy/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +0 -1
- data/test/dummy/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +0 -1
- data/test/dummy/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +0 -3
- data/test/dummy/node_modules/resolve/test/module_dir.js +0 -56
- data/test/dummy/node_modules/resolve/test/node_path/x/aaa/index.js +0 -1
- data/test/dummy/node_modules/resolve/test/node_path/x/ccc/index.js +0 -1
- data/test/dummy/node_modules/resolve/test/node_path/y/bbb/index.js +0 -1
- data/test/dummy/node_modules/resolve/test/node_path/y/ccc/index.js +0 -1
- data/test/dummy/node_modules/resolve/test/node_path.js +0 -48
- data/test/dummy/node_modules/resolve/test/nonstring.js +0 -9
- 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 +0 -4
- 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 +0 -35
- data/test/dummy/node_modules/resolve/test/precedence/aaa/index.js +0 -1
- data/test/dummy/node_modules/resolve/test/precedence/aaa/main.js +0 -1
- data/test/dummy/node_modules/resolve/test/precedence/aaa.js +0 -1
- data/test/dummy/node_modules/resolve/test/precedence/bbb/main.js +0 -1
- data/test/dummy/node_modules/resolve/test/precedence/bbb.js +0 -1
- data/test/dummy/node_modules/resolve/test/precedence.js +0 -23
- data/test/dummy/node_modules/resolve/test/resolver/bar/node_modules/foo/index.js +0 -1
- data/test/dummy/node_modules/resolve/test/resolver/baz/doom.js +0 -0
- data/test/dummy/node_modules/resolve/test/resolver/baz/package.json +0 -3
- data/test/dummy/node_modules/resolve/test/resolver/baz/quux.js +0 -1
- data/test/dummy/node_modules/resolve/test/resolver/biz/node_modules/garply/lib/index.js +0 -1
- data/test/dummy/node_modules/resolve/test/resolver/biz/node_modules/garply/package.json +0 -3
- data/test/dummy/node_modules/resolve/test/resolver/biz/node_modules/grux/index.js +0 -1
- data/test/dummy/node_modules/resolve/test/resolver/biz/node_modules/tiv/index.js +0 -1
- data/test/dummy/node_modules/resolve/test/resolver/cup.coffee +0 -1
- data/test/dummy/node_modules/resolve/test/resolver/foo.js +0 -1
- data/test/dummy/node_modules/resolve/test/resolver/incorrect_main/index.js +0 -2
- data/test/dummy/node_modules/resolve/test/resolver/incorrect_main/package.json +0 -3
- 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 +0 -1
- data/test/dummy/node_modules/resolve/test/resolver/without_basedir/main.js +0 -6
- data/test/dummy/node_modules/resolve/test/resolver/without_basedir/node_modules/mymodule.js +0 -1
- data/test/dummy/node_modules/resolve/test/resolver.js +0 -281
- data/test/dummy/node_modules/resolve/test/resolver_sync.js +0 -180
- data/test/dummy/node_modules/resolve/test/subdirs/node_modules/a/b/c/x.json +0 -1
- data/test/dummy/node_modules/resolve/test/subdirs/node_modules/a/package.json +0 -1
- data/test/dummy/node_modules/resolve/test/subdirs.js +0 -13
- data/test/dummy/node_modules/ripemd160/CHANGELOG.md +0 -36
- data/test/dummy/node_modules/ripemd160/README.md +0 -100
- data/test/dummy/node_modules/ripemd160/lib/ripemd160.js +0 -210
- data/test/dummy/node_modules/ripemd160/package.json +0 -106
- data/test/dummy/node_modules/sha.js/LICENSE +0 -22
- data/test/dummy/node_modules/sha.js/README.md +0 -54
- data/test/dummy/node_modules/sha.js/bin.js +0 -43
- data/test/dummy/node_modules/sha.js/hash.js +0 -69
- data/test/dummy/node_modules/sha.js/hexpp.js +0 -26
- data/test/dummy/node_modules/sha.js/index.js +0 -15
- data/test/dummy/node_modules/sha.js/package.json +0 -95
- data/test/dummy/node_modules/sha.js/sha.js +0 -93
- data/test/dummy/node_modules/sha.js/sha1.js +0 -98
- data/test/dummy/node_modules/sha.js/sha224.js +0 -52
- data/test/dummy/node_modules/sha.js/sha256.js +0 -134
- data/test/dummy/node_modules/sha.js/sha384.js +0 -56
- data/test/dummy/node_modules/sha.js/sha512.js +0 -259
- data/test/dummy/node_modules/sha.js/test/hash.js +0 -86
- data/test/dummy/node_modules/sha.js/test/test.js +0 -85
- data/test/dummy/node_modules/sha.js/test/vectors.js +0 -76
- data/test/dummy/node_modules/shasum/LICENSE +0 -22
- data/test/dummy/node_modules/shasum/README.md +0 -15
- data/test/dummy/node_modules/shasum/browser.js +0 -13
- data/test/dummy/node_modules/shasum/index.js +0 -13
- data/test/dummy/node_modules/shasum/package.json +0 -79
- data/test/dummy/node_modules/shasum/test/index.js +0 -18
- data/test/dummy/node_modules/shell-quote/LICENSE +0 -24
- data/test/dummy/node_modules/shell-quote/example/env.js +0 -3
- data/test/dummy/node_modules/shell-quote/example/op.js +0 -3
- data/test/dummy/node_modules/shell-quote/example/parse.js +0 -3
- data/test/dummy/node_modules/shell-quote/example/quote.js +0 -3
- data/test/dummy/node_modules/shell-quote/index.js +0 -199
- data/test/dummy/node_modules/shell-quote/package.json +0 -111
- data/test/dummy/node_modules/shell-quote/readme.markdown +0 -142
- data/test/dummy/node_modules/shell-quote/test/comment.js +0 -14
- data/test/dummy/node_modules/shell-quote/test/env.js +0 -39
- data/test/dummy/node_modules/shell-quote/test/env_fn.js +0 -19
- data/test/dummy/node_modules/shell-quote/test/op.js +0 -67
- data/test/dummy/node_modules/shell-quote/test/parse.js +0 -23
- data/test/dummy/node_modules/shell-quote/test/quote.js +0 -33
- data/test/dummy/node_modules/shell-quote/test/set.js +0 -29
- data/test/dummy/node_modules/source-map/CHANGELOG.md +0 -301
- data/test/dummy/node_modules/source-map/LICENSE +0 -28
- data/test/dummy/node_modules/source-map/README.md +0 -729
- data/test/dummy/node_modules/source-map/dist/source-map.debug.js +0 -3056
- data/test/dummy/node_modules/source-map/dist/source-map.js +0 -3055
- data/test/dummy/node_modules/source-map/dist/source-map.min.js +0 -2
- data/test/dummy/node_modules/source-map/dist/source-map.min.js.map +0 -1
- data/test/dummy/node_modules/source-map/lib/array-set.js +0 -104
- data/test/dummy/node_modules/source-map/lib/base64-vlq.js +0 -140
- data/test/dummy/node_modules/source-map/lib/base64.js +0 -67
- data/test/dummy/node_modules/source-map/lib/binary-search.js +0 -111
- data/test/dummy/node_modules/source-map/lib/mapping-list.js +0 -79
- data/test/dummy/node_modules/source-map/lib/quick-sort.js +0 -114
- data/test/dummy/node_modules/source-map/lib/source-map-consumer.js +0 -1082
- data/test/dummy/node_modules/source-map/lib/source-map-generator.js +0 -404
- data/test/dummy/node_modules/source-map/lib/source-node.js +0 -407
- data/test/dummy/node_modules/source-map/lib/util.js +0 -417
- data/test/dummy/node_modules/source-map/package.json +0 -247
- data/test/dummy/node_modules/source-map/source-map.js +0 -8
- data/test/dummy/node_modules/stream-browserify/LICENSE +0 -18
- data/test/dummy/node_modules/stream-browserify/index.js +0 -127
- data/test/dummy/node_modules/stream-browserify/package.json +0 -110
- data/test/dummy/node_modules/stream-browserify/readme.markdown +0 -25
- data/test/dummy/node_modules/stream-browserify/test/buf.js +0 -32
- data/test/dummy/node_modules/stream-combiner2/LICENSE +0 -22
- data/test/dummy/node_modules/stream-combiner2/README.md +0 -37
- data/test/dummy/node_modules/stream-combiner2/index.js +0 -68
- data/test/dummy/node_modules/stream-combiner2/package.json +0 -79
- data/test/dummy/node_modules/stream-combiner2/test/index.js +0 -98
- data/test/dummy/node_modules/stream-http/LICENSE +0 -24
- data/test/dummy/node_modules/stream-http/README.md +0 -130
- data/test/dummy/node_modules/stream-http/ie8-polyfill.js +0 -168
- data/test/dummy/node_modules/stream-http/index.js +0 -79
- data/test/dummy/node_modules/stream-http/lib/capability.js +0 -40
- data/test/dummy/node_modules/stream-http/lib/request.js +0 -277
- data/test/dummy/node_modules/stream-http/lib/response.js +0 -180
- data/test/dummy/node_modules/stream-http/package.json +0 -104
- data/test/dummy/node_modules/stream-http/test/browser/abort.js +0 -55
- data/test/dummy/node_modules/stream-http/test/browser/auth.js +0 -22
- data/test/dummy/node_modules/stream-http/test/browser/binary-streaming.js +0 -71
- data/test/dummy/node_modules/stream-http/test/browser/binary.js +0 -32
- data/test/dummy/node_modules/stream-http/test/browser/cookie.js +0 -25
- data/test/dummy/node_modules/stream-http/test/browser/error.js.disabled +0 -12
- data/test/dummy/node_modules/stream-http/test/browser/headers.js +0 -75
- data/test/dummy/node_modules/stream-http/test/browser/lib/webworker-worker.js +0 -20
- data/test/dummy/node_modules/stream-http/test/browser/package.json +0 -5
- data/test/dummy/node_modules/stream-http/test/browser/post-binary.js +0 -42
- data/test/dummy/node_modules/stream-http/test/browser/post-text.js +0 -48
- data/test/dummy/node_modules/stream-http/test/browser/text-streaming.js +0 -43
- data/test/dummy/node_modules/stream-http/test/browser/text.js +0 -44
- data/test/dummy/node_modules/stream-http/test/browser/webworker.js +0 -32
- data/test/dummy/node_modules/stream-http/test/node/http-browserify.js +0 -133
- data/test/dummy/node_modules/stream-http/test/server/index.js +0 -115
- data/test/dummy/node_modules/stream-http/test/server/static/basic.txt +0 -19
- 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 +0 -9
- data/test/dummy/node_modules/stream-splicer/LICENSE +0 -18
- data/test/dummy/node_modules/stream-splicer/example/header.js +0 -22
- data/test/dummy/node_modules/stream-splicer/index.js +0 -196
- data/test/dummy/node_modules/stream-splicer/package.json +0 -87
- data/test/dummy/node_modules/stream-splicer/readme.markdown +0 -139
- data/test/dummy/node_modules/stream-splicer/test/combiner.js +0 -31
- data/test/dummy/node_modules/stream-splicer/test/combiner_stream.js +0 -29
- data/test/dummy/node_modules/stream-splicer/test/empty.js +0 -17
- data/test/dummy/node_modules/stream-splicer/test/empty_no_data.js +0 -13
- data/test/dummy/node_modules/stream-splicer/test/get.js +0 -41
- data/test/dummy/node_modules/stream-splicer/test/multipush.js +0 -31
- data/test/dummy/node_modules/stream-splicer/test/multiunshift.js +0 -31
- data/test/dummy/node_modules/stream-splicer/test/nested.js +0 -36
- data/test/dummy/node_modules/stream-splicer/test/nested_middle.js +0 -42
- data/test/dummy/node_modules/stream-splicer/test/pop.js +0 -46
- data/test/dummy/node_modules/stream-splicer/test/push.js +0 -57
- data/test/dummy/node_modules/stream-splicer/test/shift.js +0 -46
- data/test/dummy/node_modules/stream-splicer/test/splice.js +0 -58
- data/test/dummy/node_modules/stream-splicer/test/unshift.js +0 -46
- data/test/dummy/node_modules/string_decoder/LICENSE +0 -20
- data/test/dummy/node_modules/string_decoder/README.md +0 -7
- data/test/dummy/node_modules/string_decoder/index.js +0 -221
- data/test/dummy/node_modules/string_decoder/package.json +0 -82
- data/test/dummy/node_modules/subarg/LICENSE +0 -18
- data/test/dummy/node_modules/subarg/example/show.js +0 -3
- data/test/dummy/node_modules/subarg/index.js +0 -35
- data/test/dummy/node_modules/subarg/package.json +0 -105
- data/test/dummy/node_modules/subarg/readme.markdown +0 -55
- data/test/dummy/node_modules/subarg/test/arg.js +0 -31
- data/test/dummy/node_modules/subarg/test/recursive.js +0 -24
- data/test/dummy/node_modules/syntax-error/LICENSE +0 -18
- data/test/dummy/node_modules/syntax-error/example/check.js +0 -12
- data/test/dummy/node_modules/syntax-error/example/src.js +0 -9
- data/test/dummy/node_modules/syntax-error/index.js +0 -59
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/AUTHORS +0 -43
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/LICENSE +0 -19
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/README.md +0 -396
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/bin/acorn +0 -71
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/bin/build-acorn.js +0 -82
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/bin/generate-identifier-regex.js +0 -47
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/bin/update_authors.sh +0 -6
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/dist/acorn.js +0 -3340
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/dist/acorn_loose.js +0 -1300
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/dist/walk.js +0 -377
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/package.json +0 -213
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/bin/acorn.js +0 -59
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/expression.js +0 -707
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/identifier.js +0 -90
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/index.js +0 -67
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/location.js +0 -24
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/locutil.js +0 -42
- 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 +0 -501
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/loose/index.js +0 -50
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/loose/parseutil.js +0 -1
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/loose/state.js +0 -160
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/loose/statement.js +0 -420
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/loose/tokenize.js +0 -108
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/lval.js +0 -215
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/node.js +0 -50
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/options.js +0 -121
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/parseutil.js +0 -102
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/state.js +0 -104
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/statement.js +0 -626
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/tokencontext.js +0 -109
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/tokenize.js +0 -682
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/tokentype.js +0 -147
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/util.js +0 -9
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/walk/index.js +0 -340
- data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/whitespace.js +0 -12
- data/test/dummy/node_modules/syntax-error/package.json +0 -100
- data/test/dummy/node_modules/syntax-error/readme.markdown +0 -87
- data/test/dummy/node_modules/syntax-error/test/check.js +0 -17
- data/test/dummy/node_modules/syntax-error/test/html.js +0 -16
- data/test/dummy/node_modules/syntax-error/test/ok.js +0 -13
- data/test/dummy/node_modules/syntax-error/test/run.js +0 -12
- data/test/dummy/node_modules/syntax-error/test/run2.js +0 -12
- data/test/dummy/node_modules/syntax-error/test/shebang.js +0 -13
- data/test/dummy/node_modules/syntax-error/test/sources/check.js +0 -9
- data/test/dummy/node_modules/syntax-error/test/sources/ok.js +0 -1
- data/test/dummy/node_modules/syntax-error/test/sources/run.js +0 -1
- data/test/dummy/node_modules/syntax-error/test/sources/run2.js +0 -3
- data/test/dummy/node_modules/syntax-error/test/sources/shebang.js +0 -2
- data/test/dummy/node_modules/syntax-error/test/sources/yield.js +0 -13
- data/test/dummy/node_modules/syntax-error/test/yield.js +0 -13
- data/test/dummy/node_modules/through/LICENSE.APACHE2 +0 -15
- data/test/dummy/node_modules/through/LICENSE.MIT +0 -24
- data/test/dummy/node_modules/through/index.js +0 -108
- data/test/dummy/node_modules/through/package.json +0 -93
- data/test/dummy/node_modules/through/readme.markdown +0 -64
- data/test/dummy/node_modules/through/test/async.js +0 -28
- data/test/dummy/node_modules/through/test/auto-destroy.js +0 -30
- data/test/dummy/node_modules/through/test/buffering.js +0 -71
- data/test/dummy/node_modules/through/test/end.js +0 -45
- data/test/dummy/node_modules/through/test/index.js +0 -133
- data/test/dummy/node_modules/through2/LICENSE +0 -39
- data/test/dummy/node_modules/through2/README.md +0 -133
- data/test/dummy/node_modules/through2/node_modules/readable-stream/LICENSE +0 -18
- data/test/dummy/node_modules/through2/node_modules/readable-stream/README.md +0 -36
- data/test/dummy/node_modules/through2/node_modules/readable-stream/doc/stream.markdown +0 -1760
- data/test/dummy/node_modules/through2/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
- data/test/dummy/node_modules/through2/node_modules/readable-stream/duplex.js +0 -1
- data/test/dummy/node_modules/through2/node_modules/readable-stream/lib/_stream_duplex.js +0 -75
- data/test/dummy/node_modules/through2/node_modules/readable-stream/lib/_stream_passthrough.js +0 -26
- data/test/dummy/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js +0 -880
- data/test/dummy/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js +0 -180
- data/test/dummy/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js +0 -516
- data/test/dummy/node_modules/through2/node_modules/readable-stream/package.json +0 -105
- data/test/dummy/node_modules/through2/node_modules/readable-stream/passthrough.js +0 -1
- data/test/dummy/node_modules/through2/node_modules/readable-stream/readable.js +0 -12
- data/test/dummy/node_modules/through2/node_modules/readable-stream/transform.js +0 -1
- data/test/dummy/node_modules/through2/node_modules/readable-stream/writable.js +0 -1
- data/test/dummy/node_modules/through2/package.json +0 -109
- data/test/dummy/node_modules/through2/through2.js +0 -96
- data/test/dummy/node_modules/timers-browserify/CHANGELOG.md +0 -58
- data/test/dummy/node_modules/timers-browserify/LICENSE.md +0 -46
- data/test/dummy/node_modules/timers-browserify/README.md +0 -40
- data/test/dummy/node_modules/timers-browserify/example/enroll/build.sh +0 -3
- data/test/dummy/node_modules/timers-browserify/example/enroll/index.html +0 -8
- data/test/dummy/node_modules/timers-browserify/example/enroll/js/browserify.js +0 -233
- data/test/dummy/node_modules/timers-browserify/example/enroll/js/main.js +0 -14
- data/test/dummy/node_modules/timers-browserify/example/enroll/server.js +0 -11
- data/test/dummy/node_modules/timers-browserify/main.js +0 -76
- data/test/dummy/node_modules/timers-browserify/package.json +0 -126
- data/test/dummy/node_modules/to-arraybuffer/LICENSE +0 -24
- data/test/dummy/node_modules/to-arraybuffer/README.md +0 -27
- data/test/dummy/node_modules/to-arraybuffer/index.js +0 -27
- data/test/dummy/node_modules/to-arraybuffer/package.json +0 -85
- data/test/dummy/node_modules/to-arraybuffer/test.js +0 -57
- data/test/dummy/node_modules/tty-browserify/LICENSE +0 -18
- data/test/dummy/node_modules/tty-browserify/index.js +0 -11
- data/test/dummy/node_modules/tty-browserify/package.json +0 -78
- data/test/dummy/node_modules/tty-browserify/readme.markdown +0 -1
- data/test/dummy/node_modules/typedarray/LICENSE +0 -35
- data/test/dummy/node_modules/typedarray/example/tarray.js +0 -4
- data/test/dummy/node_modules/typedarray/index.js +0 -630
- data/test/dummy/node_modules/typedarray/package.json +0 -105
- data/test/dummy/node_modules/typedarray/readme.markdown +0 -61
- data/test/dummy/node_modules/typedarray/test/server/undef_globals.js +0 -19
- data/test/dummy/node_modules/typedarray/test/tarray.js +0 -10
- data/test/dummy/node_modules/umd/README.md +0 -82
- data/test/dummy/node_modules/umd/bin/cli.js +0 -43
- data/test/dummy/node_modules/umd/index.js +0 -78
- data/test/dummy/node_modules/umd/package.json +0 -95
- data/test/dummy/node_modules/url/LICENSE +0 -21
- data/test/dummy/node_modules/url/README.md +0 -108
- data/test/dummy/node_modules/url/node_modules/punycode/LICENSE-MIT.txt +0 -20
- data/test/dummy/node_modules/url/node_modules/punycode/README.md +0 -176
- data/test/dummy/node_modules/url/node_modules/punycode/package.json +0 -107
- data/test/dummy/node_modules/url/node_modules/punycode/punycode.js +0 -530
- data/test/dummy/node_modules/url/package.json +0 -80
- data/test/dummy/node_modules/url/test.js +0 -1599
- data/test/dummy/node_modules/url/url.js +0 -732
- data/test/dummy/node_modules/url/util.js +0 -16
- data/test/dummy/node_modules/util/LICENSE +0 -18
- data/test/dummy/node_modules/util/README.md +0 -15
- data/test/dummy/node_modules/util/package.json +0 -81
- data/test/dummy/node_modules/util/support/isBuffer.js +0 -3
- data/test/dummy/node_modules/util/support/isBufferBrowser.js +0 -6
- data/test/dummy/node_modules/util/test/browser/inspect.js +0 -41
- data/test/dummy/node_modules/util/test/browser/is.js +0 -91
- data/test/dummy/node_modules/util/test/node/debug.js +0 -86
- data/test/dummy/node_modules/util/test/node/format.js +0 -77
- data/test/dummy/node_modules/util/test/node/inspect.js +0 -195
- data/test/dummy/node_modules/util/test/node/log.js +0 -58
- data/test/dummy/node_modules/util/test/node/util.js +0 -83
- data/test/dummy/node_modules/util/util.js +0 -586
- data/test/dummy/node_modules/util-deprecate/History.md +0 -16
- data/test/dummy/node_modules/util-deprecate/LICENSE +0 -24
- data/test/dummy/node_modules/util-deprecate/README.md +0 -53
- data/test/dummy/node_modules/util-deprecate/browser.js +0 -67
- data/test/dummy/node_modules/util-deprecate/node.js +0 -6
- data/test/dummy/node_modules/util-deprecate/package.json +0 -83
- data/test/dummy/node_modules/vm-browserify/LICENSE +0 -18
- data/test/dummy/node_modules/vm-browserify/example/run/bundle.js +0 -473
- data/test/dummy/node_modules/vm-browserify/example/run/entry.js +0 -6
- data/test/dummy/node_modules/vm-browserify/example/run/index.html +0 -9
- data/test/dummy/node_modules/vm-browserify/example/run/server.js +0 -6
- data/test/dummy/node_modules/vm-browserify/index.js +0 -138
- data/test/dummy/node_modules/vm-browserify/package.json +0 -96
- data/test/dummy/node_modules/vm-browserify/readme.markdown +0 -67
- data/test/dummy/node_modules/vm-browserify/test/vm.js +0 -35
- data/test/dummy/node_modules/wrappy/LICENSE +0 -15
- data/test/dummy/node_modules/wrappy/README.md +0 -36
- data/test/dummy/node_modules/wrappy/package.json +0 -89
- data/test/dummy/node_modules/wrappy/wrappy.js +0 -33
- data/test/dummy/node_modules/xtend/LICENCE +0 -19
- data/test/dummy/node_modules/xtend/Makefile +0 -4
- data/test/dummy/node_modules/xtend/README.md +0 -32
- data/test/dummy/node_modules/xtend/immutable.js +0 -19
- data/test/dummy/node_modules/xtend/mutable.js +0 -17
- data/test/dummy/node_modules/xtend/package.json +0 -115
- data/test/dummy/node_modules/xtend/test.js +0 -83
@@ -1,3879 +0,0 @@
|
|
1
|
-
/* pako 0.2.9 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 ^= -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
|
-
// zmemcpy(buf, strm->next_in, len);
|
556
|
-
utils.arraySet(buf, strm.input, strm.next_in, len, start);
|
557
|
-
if (strm.state.wrap === 1) {
|
558
|
-
strm.adler = adler32(strm.adler, buf, len, start);
|
559
|
-
}
|
560
|
-
|
561
|
-
else if (strm.state.wrap === 2) {
|
562
|
-
strm.adler = crc32(strm.adler, buf, len, start);
|
563
|
-
}
|
564
|
-
|
565
|
-
strm.next_in += len;
|
566
|
-
strm.total_in += len;
|
567
|
-
|
568
|
-
return len;
|
569
|
-
}
|
570
|
-
|
571
|
-
|
572
|
-
/* ===========================================================================
|
573
|
-
* Set match_start to the longest match starting at the given string and
|
574
|
-
* return its length. Matches shorter or equal to prev_length are discarded,
|
575
|
-
* in which case the result is equal to prev_length and match_start is
|
576
|
-
* garbage.
|
577
|
-
* IN assertions: cur_match is the head of the hash chain for the current
|
578
|
-
* string (strstart) and its distance is <= MAX_DIST, and prev_length >= 1
|
579
|
-
* OUT assertion: the match length is not greater than s->lookahead.
|
580
|
-
*/
|
581
|
-
function longest_match(s, cur_match) {
|
582
|
-
var chain_length = s.max_chain_length; /* max hash chain length */
|
583
|
-
var scan = s.strstart; /* current string */
|
584
|
-
var match; /* matched string */
|
585
|
-
var len; /* length of current match */
|
586
|
-
var best_len = s.prev_length; /* best match length so far */
|
587
|
-
var nice_match = s.nice_match; /* stop if match long enough */
|
588
|
-
var limit = (s.strstart > (s.w_size - MIN_LOOKAHEAD)) ?
|
589
|
-
s.strstart - (s.w_size - MIN_LOOKAHEAD) : 0/*NIL*/;
|
590
|
-
|
591
|
-
var _win = s.window; // shortcut
|
592
|
-
|
593
|
-
var wmask = s.w_mask;
|
594
|
-
var prev = s.prev;
|
595
|
-
|
596
|
-
/* Stop when cur_match becomes <= limit. To simplify the code,
|
597
|
-
* we prevent matches with the string of window index 0.
|
598
|
-
*/
|
599
|
-
|
600
|
-
var strend = s.strstart + MAX_MATCH;
|
601
|
-
var scan_end1 = _win[scan + best_len - 1];
|
602
|
-
var scan_end = _win[scan + best_len];
|
603
|
-
|
604
|
-
/* The code is optimized for HASH_BITS >= 8 and MAX_MATCH-2 multiple of 16.
|
605
|
-
* It is easy to get rid of this optimization if necessary.
|
606
|
-
*/
|
607
|
-
// Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
|
608
|
-
|
609
|
-
/* Do not waste too much time if we already have a good match: */
|
610
|
-
if (s.prev_length >= s.good_match) {
|
611
|
-
chain_length >>= 2;
|
612
|
-
}
|
613
|
-
/* Do not look for matches beyond the end of the input. This is necessary
|
614
|
-
* to make deflate deterministic.
|
615
|
-
*/
|
616
|
-
if (nice_match > s.lookahead) { nice_match = s.lookahead; }
|
617
|
-
|
618
|
-
// Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
|
619
|
-
|
620
|
-
do {
|
621
|
-
// Assert(cur_match < s->strstart, "no future");
|
622
|
-
match = cur_match;
|
623
|
-
|
624
|
-
/* Skip to next match if the match length cannot increase
|
625
|
-
* or if the match length is less than 2. Note that the checks below
|
626
|
-
* for insufficient lookahead only occur occasionally for performance
|
627
|
-
* reasons. Therefore uninitialized memory will be accessed, and
|
628
|
-
* conditional jumps will be made that depend on those values.
|
629
|
-
* However the length of the match is limited to the lookahead, so
|
630
|
-
* the output of deflate is not affected by the uninitialized values.
|
631
|
-
*/
|
632
|
-
|
633
|
-
if (_win[match + best_len] !== scan_end ||
|
634
|
-
_win[match + best_len - 1] !== scan_end1 ||
|
635
|
-
_win[match] !== _win[scan] ||
|
636
|
-
_win[++match] !== _win[scan + 1]) {
|
637
|
-
continue;
|
638
|
-
}
|
639
|
-
|
640
|
-
/* The check at best_len-1 can be removed because it will be made
|
641
|
-
* again later. (This heuristic is not always a win.)
|
642
|
-
* It is not necessary to compare scan[2] and match[2] since they
|
643
|
-
* are always equal when the other bytes match, given that
|
644
|
-
* the hash keys are equal and that HASH_BITS >= 8.
|
645
|
-
*/
|
646
|
-
scan += 2;
|
647
|
-
match++;
|
648
|
-
// Assert(*scan == *match, "match[2]?");
|
649
|
-
|
650
|
-
/* We check for insufficient lookahead only every 8th comparison;
|
651
|
-
* the 256th check will be made at strstart+258.
|
652
|
-
*/
|
653
|
-
do {
|
654
|
-
/*jshint noempty:false*/
|
655
|
-
} while (_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
|
-
_win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&
|
659
|
-
scan < strend);
|
660
|
-
|
661
|
-
// Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
|
662
|
-
|
663
|
-
len = MAX_MATCH - (strend - scan);
|
664
|
-
scan = strend - MAX_MATCH;
|
665
|
-
|
666
|
-
if (len > best_len) {
|
667
|
-
s.match_start = cur_match;
|
668
|
-
best_len = len;
|
669
|
-
if (len >= nice_match) {
|
670
|
-
break;
|
671
|
-
}
|
672
|
-
scan_end1 = _win[scan + best_len - 1];
|
673
|
-
scan_end = _win[scan + best_len];
|
674
|
-
}
|
675
|
-
} while ((cur_match = prev[cur_match & wmask]) > limit && --chain_length !== 0);
|
676
|
-
|
677
|
-
if (best_len <= s.lookahead) {
|
678
|
-
return best_len;
|
679
|
-
}
|
680
|
-
return s.lookahead;
|
681
|
-
}
|
682
|
-
|
683
|
-
|
684
|
-
/* ===========================================================================
|
685
|
-
* Fill the window when the lookahead becomes insufficient.
|
686
|
-
* Updates strstart and lookahead.
|
687
|
-
*
|
688
|
-
* IN assertion: lookahead < MIN_LOOKAHEAD
|
689
|
-
* OUT assertions: strstart <= window_size-MIN_LOOKAHEAD
|
690
|
-
* At least one byte has been read, or avail_in == 0; reads are
|
691
|
-
* performed for at least two bytes (required for the zip translate_eol
|
692
|
-
* option -- not supported here).
|
693
|
-
*/
|
694
|
-
function fill_window(s) {
|
695
|
-
var _w_size = s.w_size;
|
696
|
-
var p, n, m, more, str;
|
697
|
-
|
698
|
-
//Assert(s->lookahead < MIN_LOOKAHEAD, "already enough lookahead");
|
699
|
-
|
700
|
-
do {
|
701
|
-
more = s.window_size - s.lookahead - s.strstart;
|
702
|
-
|
703
|
-
// JS ints have 32 bit, block below not needed
|
704
|
-
/* Deal with !@#$% 64K limit: */
|
705
|
-
//if (sizeof(int) <= 2) {
|
706
|
-
// if (more == 0 && s->strstart == 0 && s->lookahead == 0) {
|
707
|
-
// more = wsize;
|
708
|
-
//
|
709
|
-
// } else if (more == (unsigned)(-1)) {
|
710
|
-
// /* Very unlikely, but possible on 16 bit machine if
|
711
|
-
// * strstart == 0 && lookahead == 1 (input done a byte at time)
|
712
|
-
// */
|
713
|
-
// more--;
|
714
|
-
// }
|
715
|
-
//}
|
716
|
-
|
717
|
-
|
718
|
-
/* If the window is almost full and there is insufficient lookahead,
|
719
|
-
* move the upper half to the lower one to make room in the upper half.
|
720
|
-
*/
|
721
|
-
if (s.strstart >= _w_size + (_w_size - MIN_LOOKAHEAD)) {
|
722
|
-
|
723
|
-
utils.arraySet(s.window, s.window, _w_size, _w_size, 0);
|
724
|
-
s.match_start -= _w_size;
|
725
|
-
s.strstart -= _w_size;
|
726
|
-
/* we now have strstart >= MAX_DIST */
|
727
|
-
s.block_start -= _w_size;
|
728
|
-
|
729
|
-
/* Slide the hash table (could be avoided with 32 bit values
|
730
|
-
at the expense of memory usage). We slide even when level == 0
|
731
|
-
to keep the hash table consistent if we switch back to level > 0
|
732
|
-
later. (Using level 0 permanently is not an optimal usage of
|
733
|
-
zlib, so we don't care about this pathological case.)
|
734
|
-
*/
|
735
|
-
|
736
|
-
n = s.hash_size;
|
737
|
-
p = n;
|
738
|
-
do {
|
739
|
-
m = s.head[--p];
|
740
|
-
s.head[p] = (m >= _w_size ? m - _w_size : 0);
|
741
|
-
} while (--n);
|
742
|
-
|
743
|
-
n = _w_size;
|
744
|
-
p = n;
|
745
|
-
do {
|
746
|
-
m = s.prev[--p];
|
747
|
-
s.prev[p] = (m >= _w_size ? m - _w_size : 0);
|
748
|
-
/* If n is not on any hash chain, prev[n] is garbage but
|
749
|
-
* its value will never be used.
|
750
|
-
*/
|
751
|
-
} while (--n);
|
752
|
-
|
753
|
-
more += _w_size;
|
754
|
-
}
|
755
|
-
if (s.strm.avail_in === 0) {
|
756
|
-
break;
|
757
|
-
}
|
758
|
-
|
759
|
-
/* If there was no sliding:
|
760
|
-
* strstart <= WSIZE+MAX_DIST-1 && lookahead <= MIN_LOOKAHEAD - 1 &&
|
761
|
-
* more == window_size - lookahead - strstart
|
762
|
-
* => more >= window_size - (MIN_LOOKAHEAD-1 + WSIZE + MAX_DIST-1)
|
763
|
-
* => more >= window_size - 2*WSIZE + 2
|
764
|
-
* In the BIG_MEM or MMAP case (not yet supported),
|
765
|
-
* window_size == input_size + MIN_LOOKAHEAD &&
|
766
|
-
* strstart + s->lookahead <= input_size => more >= MIN_LOOKAHEAD.
|
767
|
-
* Otherwise, window_size == 2*WSIZE so more >= 2.
|
768
|
-
* If there was sliding, more >= WSIZE. So in all cases, more >= 2.
|
769
|
-
*/
|
770
|
-
//Assert(more >= 2, "more < 2");
|
771
|
-
n = read_buf(s.strm, s.window, s.strstart + s.lookahead, more);
|
772
|
-
s.lookahead += n;
|
773
|
-
|
774
|
-
/* Initialize the hash value now that we have some input: */
|
775
|
-
if (s.lookahead + s.insert >= MIN_MATCH) {
|
776
|
-
str = s.strstart - s.insert;
|
777
|
-
s.ins_h = s.window[str];
|
778
|
-
|
779
|
-
/* UPDATE_HASH(s, s->ins_h, s->window[str + 1]); */
|
780
|
-
s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[str + 1]) & s.hash_mask;
|
781
|
-
//#if MIN_MATCH != 3
|
782
|
-
// Call update_hash() MIN_MATCH-3 more times
|
783
|
-
//#endif
|
784
|
-
while (s.insert) {
|
785
|
-
/* UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); */
|
786
|
-
s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[str + MIN_MATCH - 1]) & s.hash_mask;
|
787
|
-
|
788
|
-
s.prev[str & s.w_mask] = s.head[s.ins_h];
|
789
|
-
s.head[s.ins_h] = str;
|
790
|
-
str++;
|
791
|
-
s.insert--;
|
792
|
-
if (s.lookahead + s.insert < MIN_MATCH) {
|
793
|
-
break;
|
794
|
-
}
|
795
|
-
}
|
796
|
-
}
|
797
|
-
/* If the whole input has less than MIN_MATCH bytes, ins_h is garbage,
|
798
|
-
* but this is not important since only literal bytes will be emitted.
|
799
|
-
*/
|
800
|
-
|
801
|
-
} while (s.lookahead < MIN_LOOKAHEAD && s.strm.avail_in !== 0);
|
802
|
-
|
803
|
-
/* If the WIN_INIT bytes after the end of the current data have never been
|
804
|
-
* written, then zero those bytes in order to avoid memory check reports of
|
805
|
-
* the use of uninitialized (or uninitialised as Julian writes) bytes by
|
806
|
-
* the longest match routines. Update the high water mark for the next
|
807
|
-
* time through here. WIN_INIT is set to MAX_MATCH since the longest match
|
808
|
-
* routines allow scanning to strstart + MAX_MATCH, ignoring lookahead.
|
809
|
-
*/
|
810
|
-
// if (s.high_water < s.window_size) {
|
811
|
-
// var curr = s.strstart + s.lookahead;
|
812
|
-
// var init = 0;
|
813
|
-
//
|
814
|
-
// if (s.high_water < curr) {
|
815
|
-
// /* Previous high water mark below current data -- zero WIN_INIT
|
816
|
-
// * bytes or up to end of window, whichever is less.
|
817
|
-
// */
|
818
|
-
// init = s.window_size - curr;
|
819
|
-
// if (init > WIN_INIT)
|
820
|
-
// init = WIN_INIT;
|
821
|
-
// zmemzero(s->window + curr, (unsigned)init);
|
822
|
-
// s->high_water = curr + init;
|
823
|
-
// }
|
824
|
-
// else if (s->high_water < (ulg)curr + WIN_INIT) {
|
825
|
-
// /* High water mark at or above current data, but below current data
|
826
|
-
// * plus WIN_INIT -- zero out to current data plus WIN_INIT, or up
|
827
|
-
// * to end of window, whichever is less.
|
828
|
-
// */
|
829
|
-
// init = (ulg)curr + WIN_INIT - s->high_water;
|
830
|
-
// if (init > s->window_size - s->high_water)
|
831
|
-
// init = s->window_size - s->high_water;
|
832
|
-
// zmemzero(s->window + s->high_water, (unsigned)init);
|
833
|
-
// s->high_water += init;
|
834
|
-
// }
|
835
|
-
// }
|
836
|
-
//
|
837
|
-
// Assert((ulg)s->strstart <= s->window_size - MIN_LOOKAHEAD,
|
838
|
-
// "not enough room for search");
|
839
|
-
}
|
840
|
-
|
841
|
-
/* ===========================================================================
|
842
|
-
* Copy without compression as much as possible from the input stream, return
|
843
|
-
* the current block state.
|
844
|
-
* This function does not insert new strings in the dictionary since
|
845
|
-
* uncompressible data is probably not useful. This function is used
|
846
|
-
* only for the level=0 compression option.
|
847
|
-
* NOTE: this function should be optimized to avoid extra copying from
|
848
|
-
* window to pending_buf.
|
849
|
-
*/
|
850
|
-
function deflate_stored(s, flush) {
|
851
|
-
/* Stored blocks are limited to 0xffff bytes, pending_buf is limited
|
852
|
-
* to pending_buf_size, and each stored block has a 5 byte header:
|
853
|
-
*/
|
854
|
-
var max_block_size = 0xffff;
|
855
|
-
|
856
|
-
if (max_block_size > s.pending_buf_size - 5) {
|
857
|
-
max_block_size = s.pending_buf_size - 5;
|
858
|
-
}
|
859
|
-
|
860
|
-
/* Copy as much as possible from input to output: */
|
861
|
-
for (;;) {
|
862
|
-
/* Fill the window as much as possible: */
|
863
|
-
if (s.lookahead <= 1) {
|
864
|
-
|
865
|
-
//Assert(s->strstart < s->w_size+MAX_DIST(s) ||
|
866
|
-
// s->block_start >= (long)s->w_size, "slide too late");
|
867
|
-
// if (!(s.strstart < s.w_size + (s.w_size - MIN_LOOKAHEAD) ||
|
868
|
-
// s.block_start >= s.w_size)) {
|
869
|
-
// throw new Error("slide too late");
|
870
|
-
// }
|
871
|
-
|
872
|
-
fill_window(s);
|
873
|
-
if (s.lookahead === 0 && flush === Z_NO_FLUSH) {
|
874
|
-
return BS_NEED_MORE;
|
875
|
-
}
|
876
|
-
|
877
|
-
if (s.lookahead === 0) {
|
878
|
-
break;
|
879
|
-
}
|
880
|
-
/* flush the current block */
|
881
|
-
}
|
882
|
-
//Assert(s->block_start >= 0L, "block gone");
|
883
|
-
// if (s.block_start < 0) throw new Error("block gone");
|
884
|
-
|
885
|
-
s.strstart += s.lookahead;
|
886
|
-
s.lookahead = 0;
|
887
|
-
|
888
|
-
/* Emit a stored block if pending_buf will be full: */
|
889
|
-
var max_start = s.block_start + max_block_size;
|
890
|
-
|
891
|
-
if (s.strstart === 0 || s.strstart >= max_start) {
|
892
|
-
/* strstart == 0 is possible when wraparound on 16-bit machine */
|
893
|
-
s.lookahead = s.strstart - max_start;
|
894
|
-
s.strstart = max_start;
|
895
|
-
/*** FLUSH_BLOCK(s, 0); ***/
|
896
|
-
flush_block_only(s, false);
|
897
|
-
if (s.strm.avail_out === 0) {
|
898
|
-
return BS_NEED_MORE;
|
899
|
-
}
|
900
|
-
/***/
|
901
|
-
|
902
|
-
|
903
|
-
}
|
904
|
-
/* Flush if we may have to slide, otherwise block_start may become
|
905
|
-
* negative and the data will be gone:
|
906
|
-
*/
|
907
|
-
if (s.strstart - s.block_start >= (s.w_size - MIN_LOOKAHEAD)) {
|
908
|
-
/*** FLUSH_BLOCK(s, 0); ***/
|
909
|
-
flush_block_only(s, false);
|
910
|
-
if (s.strm.avail_out === 0) {
|
911
|
-
return BS_NEED_MORE;
|
912
|
-
}
|
913
|
-
/***/
|
914
|
-
}
|
915
|
-
}
|
916
|
-
|
917
|
-
s.insert = 0;
|
918
|
-
|
919
|
-
if (flush === Z_FINISH) {
|
920
|
-
/*** FLUSH_BLOCK(s, 1); ***/
|
921
|
-
flush_block_only(s, true);
|
922
|
-
if (s.strm.avail_out === 0) {
|
923
|
-
return BS_FINISH_STARTED;
|
924
|
-
}
|
925
|
-
/***/
|
926
|
-
return BS_FINISH_DONE;
|
927
|
-
}
|
928
|
-
|
929
|
-
if (s.strstart > s.block_start) {
|
930
|
-
/*** FLUSH_BLOCK(s, 0); ***/
|
931
|
-
flush_block_only(s, false);
|
932
|
-
if (s.strm.avail_out === 0) {
|
933
|
-
return BS_NEED_MORE;
|
934
|
-
}
|
935
|
-
/***/
|
936
|
-
}
|
937
|
-
|
938
|
-
return BS_NEED_MORE;
|
939
|
-
}
|
940
|
-
|
941
|
-
/* ===========================================================================
|
942
|
-
* Compress as much as possible from the input stream, return the current
|
943
|
-
* block state.
|
944
|
-
* This function does not perform lazy evaluation of matches and inserts
|
945
|
-
* new strings in the dictionary only for unmatched strings or for short
|
946
|
-
* matches. It is used only for the fast compression options.
|
947
|
-
*/
|
948
|
-
function deflate_fast(s, flush) {
|
949
|
-
var hash_head; /* head of the hash chain */
|
950
|
-
var bflush; /* set if current block must be flushed */
|
951
|
-
|
952
|
-
for (;;) {
|
953
|
-
/* Make sure that we always have enough lookahead, except
|
954
|
-
* at the end of the input file. We need MAX_MATCH bytes
|
955
|
-
* for the next match, plus MIN_MATCH bytes to insert the
|
956
|
-
* string following the next match.
|
957
|
-
*/
|
958
|
-
if (s.lookahead < MIN_LOOKAHEAD) {
|
959
|
-
fill_window(s);
|
960
|
-
if (s.lookahead < MIN_LOOKAHEAD && flush === Z_NO_FLUSH) {
|
961
|
-
return BS_NEED_MORE;
|
962
|
-
}
|
963
|
-
if (s.lookahead === 0) {
|
964
|
-
break; /* flush the current block */
|
965
|
-
}
|
966
|
-
}
|
967
|
-
|
968
|
-
/* Insert the string window[strstart .. strstart+2] in the
|
969
|
-
* dictionary, and set hash_head to the head of the hash chain:
|
970
|
-
*/
|
971
|
-
hash_head = 0/*NIL*/;
|
972
|
-
if (s.lookahead >= MIN_MATCH) {
|
973
|
-
/*** INSERT_STRING(s, s.strstart, hash_head); ***/
|
974
|
-
s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + MIN_MATCH - 1]) & s.hash_mask;
|
975
|
-
hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
|
976
|
-
s.head[s.ins_h] = s.strstart;
|
977
|
-
/***/
|
978
|
-
}
|
979
|
-
|
980
|
-
/* Find the longest match, discarding those <= prev_length.
|
981
|
-
* At this point we have always match_length < MIN_MATCH
|
982
|
-
*/
|
983
|
-
if (hash_head !== 0/*NIL*/ && ((s.strstart - hash_head) <= (s.w_size - MIN_LOOKAHEAD))) {
|
984
|
-
/* To simplify the code, we prevent matches with the string
|
985
|
-
* of window index 0 (in particular we have to avoid a match
|
986
|
-
* of the string with itself at the start of the input file).
|
987
|
-
*/
|
988
|
-
s.match_length = longest_match(s, hash_head);
|
989
|
-
/* longest_match() sets match_start */
|
990
|
-
}
|
991
|
-
if (s.match_length >= MIN_MATCH) {
|
992
|
-
// check_match(s, s.strstart, s.match_start, s.match_length); // for debug only
|
993
|
-
|
994
|
-
/*** _tr_tally_dist(s, s.strstart - s.match_start,
|
995
|
-
s.match_length - MIN_MATCH, bflush); ***/
|
996
|
-
bflush = trees._tr_tally(s, s.strstart - s.match_start, s.match_length - MIN_MATCH);
|
997
|
-
|
998
|
-
s.lookahead -= s.match_length;
|
999
|
-
|
1000
|
-
/* Insert new strings in the hash table only if the match length
|
1001
|
-
* is not too large. This saves time but degrades compression.
|
1002
|
-
*/
|
1003
|
-
if (s.match_length <= s.max_lazy_match/*max_insert_length*/ && s.lookahead >= MIN_MATCH) {
|
1004
|
-
s.match_length--; /* string at strstart already in table */
|
1005
|
-
do {
|
1006
|
-
s.strstart++;
|
1007
|
-
/*** INSERT_STRING(s, s.strstart, hash_head); ***/
|
1008
|
-
s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + MIN_MATCH - 1]) & s.hash_mask;
|
1009
|
-
hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
|
1010
|
-
s.head[s.ins_h] = s.strstart;
|
1011
|
-
/***/
|
1012
|
-
/* strstart never exceeds WSIZE-MAX_MATCH, so there are
|
1013
|
-
* always MIN_MATCH bytes ahead.
|
1014
|
-
*/
|
1015
|
-
} while (--s.match_length !== 0);
|
1016
|
-
s.strstart++;
|
1017
|
-
} else
|
1018
|
-
{
|
1019
|
-
s.strstart += s.match_length;
|
1020
|
-
s.match_length = 0;
|
1021
|
-
s.ins_h = s.window[s.strstart];
|
1022
|
-
/* UPDATE_HASH(s, s.ins_h, s.window[s.strstart+1]); */
|
1023
|
-
s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + 1]) & s.hash_mask;
|
1024
|
-
|
1025
|
-
//#if MIN_MATCH != 3
|
1026
|
-
// Call UPDATE_HASH() MIN_MATCH-3 more times
|
1027
|
-
//#endif
|
1028
|
-
/* If lookahead < MIN_MATCH, ins_h is garbage, but it does not
|
1029
|
-
* matter since it will be recomputed at next deflate call.
|
1030
|
-
*/
|
1031
|
-
}
|
1032
|
-
} else {
|
1033
|
-
/* No match, output a literal byte */
|
1034
|
-
//Tracevv((stderr,"%c", s.window[s.strstart]));
|
1035
|
-
/*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/
|
1036
|
-
bflush = trees._tr_tally(s, 0, s.window[s.strstart]);
|
1037
|
-
|
1038
|
-
s.lookahead--;
|
1039
|
-
s.strstart++;
|
1040
|
-
}
|
1041
|
-
if (bflush) {
|
1042
|
-
/*** FLUSH_BLOCK(s, 0); ***/
|
1043
|
-
flush_block_only(s, false);
|
1044
|
-
if (s.strm.avail_out === 0) {
|
1045
|
-
return BS_NEED_MORE;
|
1046
|
-
}
|
1047
|
-
/***/
|
1048
|
-
}
|
1049
|
-
}
|
1050
|
-
s.insert = ((s.strstart < (MIN_MATCH - 1)) ? s.strstart : MIN_MATCH - 1);
|
1051
|
-
if (flush === Z_FINISH) {
|
1052
|
-
/*** FLUSH_BLOCK(s, 1); ***/
|
1053
|
-
flush_block_only(s, true);
|
1054
|
-
if (s.strm.avail_out === 0) {
|
1055
|
-
return BS_FINISH_STARTED;
|
1056
|
-
}
|
1057
|
-
/***/
|
1058
|
-
return BS_FINISH_DONE;
|
1059
|
-
}
|
1060
|
-
if (s.last_lit) {
|
1061
|
-
/*** FLUSH_BLOCK(s, 0); ***/
|
1062
|
-
flush_block_only(s, false);
|
1063
|
-
if (s.strm.avail_out === 0) {
|
1064
|
-
return BS_NEED_MORE;
|
1065
|
-
}
|
1066
|
-
/***/
|
1067
|
-
}
|
1068
|
-
return BS_BLOCK_DONE;
|
1069
|
-
}
|
1070
|
-
|
1071
|
-
/* ===========================================================================
|
1072
|
-
* Same as above, but achieves better compression. We use a lazy
|
1073
|
-
* evaluation for matches: a match is finally adopted only if there is
|
1074
|
-
* no better match at the next window position.
|
1075
|
-
*/
|
1076
|
-
function deflate_slow(s, flush) {
|
1077
|
-
var hash_head; /* head of hash chain */
|
1078
|
-
var bflush; /* set if current block must be flushed */
|
1079
|
-
|
1080
|
-
var max_insert;
|
1081
|
-
|
1082
|
-
/* Process the input block. */
|
1083
|
-
for (;;) {
|
1084
|
-
/* Make sure that we always have enough lookahead, except
|
1085
|
-
* at the end of the input file. We need MAX_MATCH bytes
|
1086
|
-
* for the next match, plus MIN_MATCH bytes to insert the
|
1087
|
-
* string following the next match.
|
1088
|
-
*/
|
1089
|
-
if (s.lookahead < MIN_LOOKAHEAD) {
|
1090
|
-
fill_window(s);
|
1091
|
-
if (s.lookahead < MIN_LOOKAHEAD && flush === Z_NO_FLUSH) {
|
1092
|
-
return BS_NEED_MORE;
|
1093
|
-
}
|
1094
|
-
if (s.lookahead === 0) { break; } /* flush the current block */
|
1095
|
-
}
|
1096
|
-
|
1097
|
-
/* Insert the string window[strstart .. strstart+2] in the
|
1098
|
-
* dictionary, and set hash_head to the head of the hash chain:
|
1099
|
-
*/
|
1100
|
-
hash_head = 0/*NIL*/;
|
1101
|
-
if (s.lookahead >= MIN_MATCH) {
|
1102
|
-
/*** INSERT_STRING(s, s.strstart, hash_head); ***/
|
1103
|
-
s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + MIN_MATCH - 1]) & s.hash_mask;
|
1104
|
-
hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
|
1105
|
-
s.head[s.ins_h] = s.strstart;
|
1106
|
-
/***/
|
1107
|
-
}
|
1108
|
-
|
1109
|
-
/* Find the longest match, discarding those <= prev_length.
|
1110
|
-
*/
|
1111
|
-
s.prev_length = s.match_length;
|
1112
|
-
s.prev_match = s.match_start;
|
1113
|
-
s.match_length = MIN_MATCH - 1;
|
1114
|
-
|
1115
|
-
if (hash_head !== 0/*NIL*/ && s.prev_length < s.max_lazy_match &&
|
1116
|
-
s.strstart - hash_head <= (s.w_size - MIN_LOOKAHEAD)/*MAX_DIST(s)*/) {
|
1117
|
-
/* To simplify the code, we prevent matches with the string
|
1118
|
-
* of window index 0 (in particular we have to avoid a match
|
1119
|
-
* of the string with itself at the start of the input file).
|
1120
|
-
*/
|
1121
|
-
s.match_length = longest_match(s, hash_head);
|
1122
|
-
/* longest_match() sets match_start */
|
1123
|
-
|
1124
|
-
if (s.match_length <= 5 &&
|
1125
|
-
(s.strategy === Z_FILTERED || (s.match_length === MIN_MATCH && s.strstart - s.match_start > 4096/*TOO_FAR*/))) {
|
1126
|
-
|
1127
|
-
/* If prev_match is also MIN_MATCH, match_start is garbage
|
1128
|
-
* but we will ignore the current match anyway.
|
1129
|
-
*/
|
1130
|
-
s.match_length = MIN_MATCH - 1;
|
1131
|
-
}
|
1132
|
-
}
|
1133
|
-
/* If there was a match at the previous step and the current
|
1134
|
-
* match is not better, output the previous match:
|
1135
|
-
*/
|
1136
|
-
if (s.prev_length >= MIN_MATCH && s.match_length <= s.prev_length) {
|
1137
|
-
max_insert = s.strstart + s.lookahead - MIN_MATCH;
|
1138
|
-
/* Do not insert strings in hash table beyond this. */
|
1139
|
-
|
1140
|
-
//check_match(s, s.strstart-1, s.prev_match, s.prev_length);
|
1141
|
-
|
1142
|
-
/***_tr_tally_dist(s, s.strstart - 1 - s.prev_match,
|
1143
|
-
s.prev_length - MIN_MATCH, bflush);***/
|
1144
|
-
bflush = trees._tr_tally(s, s.strstart - 1 - s.prev_match, s.prev_length - MIN_MATCH);
|
1145
|
-
/* Insert in hash table all strings up to the end of the match.
|
1146
|
-
* strstart-1 and strstart are already inserted. If there is not
|
1147
|
-
* enough lookahead, the last two strings are not inserted in
|
1148
|
-
* the hash table.
|
1149
|
-
*/
|
1150
|
-
s.lookahead -= s.prev_length - 1;
|
1151
|
-
s.prev_length -= 2;
|
1152
|
-
do {
|
1153
|
-
if (++s.strstart <= max_insert) {
|
1154
|
-
/*** INSERT_STRING(s, s.strstart, hash_head); ***/
|
1155
|
-
s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + MIN_MATCH - 1]) & s.hash_mask;
|
1156
|
-
hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
|
1157
|
-
s.head[s.ins_h] = s.strstart;
|
1158
|
-
/***/
|
1159
|
-
}
|
1160
|
-
} while (--s.prev_length !== 0);
|
1161
|
-
s.match_available = 0;
|
1162
|
-
s.match_length = MIN_MATCH - 1;
|
1163
|
-
s.strstart++;
|
1164
|
-
|
1165
|
-
if (bflush) {
|
1166
|
-
/*** FLUSH_BLOCK(s, 0); ***/
|
1167
|
-
flush_block_only(s, false);
|
1168
|
-
if (s.strm.avail_out === 0) {
|
1169
|
-
return BS_NEED_MORE;
|
1170
|
-
}
|
1171
|
-
/***/
|
1172
|
-
}
|
1173
|
-
|
1174
|
-
} else if (s.match_available) {
|
1175
|
-
/* If there was no match at the previous position, output a
|
1176
|
-
* single literal. If there was a match but the current match
|
1177
|
-
* is longer, truncate the previous match to a single literal.
|
1178
|
-
*/
|
1179
|
-
//Tracevv((stderr,"%c", s->window[s->strstart-1]));
|
1180
|
-
/*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/
|
1181
|
-
bflush = trees._tr_tally(s, 0, s.window[s.strstart - 1]);
|
1182
|
-
|
1183
|
-
if (bflush) {
|
1184
|
-
/*** FLUSH_BLOCK_ONLY(s, 0) ***/
|
1185
|
-
flush_block_only(s, false);
|
1186
|
-
/***/
|
1187
|
-
}
|
1188
|
-
s.strstart++;
|
1189
|
-
s.lookahead--;
|
1190
|
-
if (s.strm.avail_out === 0) {
|
1191
|
-
return BS_NEED_MORE;
|
1192
|
-
}
|
1193
|
-
} else {
|
1194
|
-
/* There is no previous match to compare with, wait for
|
1195
|
-
* the next step to decide.
|
1196
|
-
*/
|
1197
|
-
s.match_available = 1;
|
1198
|
-
s.strstart++;
|
1199
|
-
s.lookahead--;
|
1200
|
-
}
|
1201
|
-
}
|
1202
|
-
//Assert (flush != Z_NO_FLUSH, "no flush?");
|
1203
|
-
if (s.match_available) {
|
1204
|
-
//Tracevv((stderr,"%c", s->window[s->strstart-1]));
|
1205
|
-
/*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/
|
1206
|
-
bflush = trees._tr_tally(s, 0, s.window[s.strstart - 1]);
|
1207
|
-
|
1208
|
-
s.match_available = 0;
|
1209
|
-
}
|
1210
|
-
s.insert = s.strstart < MIN_MATCH - 1 ? s.strstart : MIN_MATCH - 1;
|
1211
|
-
if (flush === Z_FINISH) {
|
1212
|
-
/*** FLUSH_BLOCK(s, 1); ***/
|
1213
|
-
flush_block_only(s, true);
|
1214
|
-
if (s.strm.avail_out === 0) {
|
1215
|
-
return BS_FINISH_STARTED;
|
1216
|
-
}
|
1217
|
-
/***/
|
1218
|
-
return BS_FINISH_DONE;
|
1219
|
-
}
|
1220
|
-
if (s.last_lit) {
|
1221
|
-
/*** FLUSH_BLOCK(s, 0); ***/
|
1222
|
-
flush_block_only(s, false);
|
1223
|
-
if (s.strm.avail_out === 0) {
|
1224
|
-
return BS_NEED_MORE;
|
1225
|
-
}
|
1226
|
-
/***/
|
1227
|
-
}
|
1228
|
-
|
1229
|
-
return BS_BLOCK_DONE;
|
1230
|
-
}
|
1231
|
-
|
1232
|
-
|
1233
|
-
/* ===========================================================================
|
1234
|
-
* For Z_RLE, simply look for runs of bytes, generate matches only of distance
|
1235
|
-
* one. Do not maintain a hash table. (It will be regenerated if this run of
|
1236
|
-
* deflate switches away from Z_RLE.)
|
1237
|
-
*/
|
1238
|
-
function deflate_rle(s, flush) {
|
1239
|
-
var bflush; /* set if current block must be flushed */
|
1240
|
-
var prev; /* byte at distance one to match */
|
1241
|
-
var scan, strend; /* scan goes up to strend for length of run */
|
1242
|
-
|
1243
|
-
var _win = s.window;
|
1244
|
-
|
1245
|
-
for (;;) {
|
1246
|
-
/* Make sure that we always have enough lookahead, except
|
1247
|
-
* at the end of the input file. We need MAX_MATCH bytes
|
1248
|
-
* for the longest run, plus one for the unrolled loop.
|
1249
|
-
*/
|
1250
|
-
if (s.lookahead <= MAX_MATCH) {
|
1251
|
-
fill_window(s);
|
1252
|
-
if (s.lookahead <= MAX_MATCH && flush === Z_NO_FLUSH) {
|
1253
|
-
return BS_NEED_MORE;
|
1254
|
-
}
|
1255
|
-
if (s.lookahead === 0) { break; } /* flush the current block */
|
1256
|
-
}
|
1257
|
-
|
1258
|
-
/* See how many times the previous byte repeats */
|
1259
|
-
s.match_length = 0;
|
1260
|
-
if (s.lookahead >= MIN_MATCH && s.strstart > 0) {
|
1261
|
-
scan = s.strstart - 1;
|
1262
|
-
prev = _win[scan];
|
1263
|
-
if (prev === _win[++scan] && prev === _win[++scan] && prev === _win[++scan]) {
|
1264
|
-
strend = s.strstart + MAX_MATCH;
|
1265
|
-
do {
|
1266
|
-
/*jshint noempty:false*/
|
1267
|
-
} while (prev === _win[++scan] && prev === _win[++scan] &&
|
1268
|
-
prev === _win[++scan] && prev === _win[++scan] &&
|
1269
|
-
prev === _win[++scan] && prev === _win[++scan] &&
|
1270
|
-
prev === _win[++scan] && prev === _win[++scan] &&
|
1271
|
-
scan < strend);
|
1272
|
-
s.match_length = MAX_MATCH - (strend - scan);
|
1273
|
-
if (s.match_length > s.lookahead) {
|
1274
|
-
s.match_length = s.lookahead;
|
1275
|
-
}
|
1276
|
-
}
|
1277
|
-
//Assert(scan <= s->window+(uInt)(s->window_size-1), "wild scan");
|
1278
|
-
}
|
1279
|
-
|
1280
|
-
/* Emit match if have run of MIN_MATCH or longer, else emit literal */
|
1281
|
-
if (s.match_length >= MIN_MATCH) {
|
1282
|
-
//check_match(s, s.strstart, s.strstart - 1, s.match_length);
|
1283
|
-
|
1284
|
-
/*** _tr_tally_dist(s, 1, s.match_length - MIN_MATCH, bflush); ***/
|
1285
|
-
bflush = trees._tr_tally(s, 1, s.match_length - MIN_MATCH);
|
1286
|
-
|
1287
|
-
s.lookahead -= s.match_length;
|
1288
|
-
s.strstart += s.match_length;
|
1289
|
-
s.match_length = 0;
|
1290
|
-
} else {
|
1291
|
-
/* No match, output a literal byte */
|
1292
|
-
//Tracevv((stderr,"%c", s->window[s->strstart]));
|
1293
|
-
/*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/
|
1294
|
-
bflush = trees._tr_tally(s, 0, s.window[s.strstart]);
|
1295
|
-
|
1296
|
-
s.lookahead--;
|
1297
|
-
s.strstart++;
|
1298
|
-
}
|
1299
|
-
if (bflush) {
|
1300
|
-
/*** FLUSH_BLOCK(s, 0); ***/
|
1301
|
-
flush_block_only(s, false);
|
1302
|
-
if (s.strm.avail_out === 0) {
|
1303
|
-
return BS_NEED_MORE;
|
1304
|
-
}
|
1305
|
-
/***/
|
1306
|
-
}
|
1307
|
-
}
|
1308
|
-
s.insert = 0;
|
1309
|
-
if (flush === Z_FINISH) {
|
1310
|
-
/*** FLUSH_BLOCK(s, 1); ***/
|
1311
|
-
flush_block_only(s, true);
|
1312
|
-
if (s.strm.avail_out === 0) {
|
1313
|
-
return BS_FINISH_STARTED;
|
1314
|
-
}
|
1315
|
-
/***/
|
1316
|
-
return BS_FINISH_DONE;
|
1317
|
-
}
|
1318
|
-
if (s.last_lit) {
|
1319
|
-
/*** FLUSH_BLOCK(s, 0); ***/
|
1320
|
-
flush_block_only(s, false);
|
1321
|
-
if (s.strm.avail_out === 0) {
|
1322
|
-
return BS_NEED_MORE;
|
1323
|
-
}
|
1324
|
-
/***/
|
1325
|
-
}
|
1326
|
-
return BS_BLOCK_DONE;
|
1327
|
-
}
|
1328
|
-
|
1329
|
-
/* ===========================================================================
|
1330
|
-
* For Z_HUFFMAN_ONLY, do not look for matches. Do not maintain a hash table.
|
1331
|
-
* (It will be regenerated if this run of deflate switches away from Huffman.)
|
1332
|
-
*/
|
1333
|
-
function deflate_huff(s, flush) {
|
1334
|
-
var bflush; /* set if current block must be flushed */
|
1335
|
-
|
1336
|
-
for (;;) {
|
1337
|
-
/* Make sure that we have a literal to write. */
|
1338
|
-
if (s.lookahead === 0) {
|
1339
|
-
fill_window(s);
|
1340
|
-
if (s.lookahead === 0) {
|
1341
|
-
if (flush === Z_NO_FLUSH) {
|
1342
|
-
return BS_NEED_MORE;
|
1343
|
-
}
|
1344
|
-
break; /* flush the current block */
|
1345
|
-
}
|
1346
|
-
}
|
1347
|
-
|
1348
|
-
/* Output a literal byte */
|
1349
|
-
s.match_length = 0;
|
1350
|
-
//Tracevv((stderr,"%c", s->window[s->strstart]));
|
1351
|
-
/*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/
|
1352
|
-
bflush = trees._tr_tally(s, 0, s.window[s.strstart]);
|
1353
|
-
s.lookahead--;
|
1354
|
-
s.strstart++;
|
1355
|
-
if (bflush) {
|
1356
|
-
/*** FLUSH_BLOCK(s, 0); ***/
|
1357
|
-
flush_block_only(s, false);
|
1358
|
-
if (s.strm.avail_out === 0) {
|
1359
|
-
return BS_NEED_MORE;
|
1360
|
-
}
|
1361
|
-
/***/
|
1362
|
-
}
|
1363
|
-
}
|
1364
|
-
s.insert = 0;
|
1365
|
-
if (flush === Z_FINISH) {
|
1366
|
-
/*** FLUSH_BLOCK(s, 1); ***/
|
1367
|
-
flush_block_only(s, true);
|
1368
|
-
if (s.strm.avail_out === 0) {
|
1369
|
-
return BS_FINISH_STARTED;
|
1370
|
-
}
|
1371
|
-
/***/
|
1372
|
-
return BS_FINISH_DONE;
|
1373
|
-
}
|
1374
|
-
if (s.last_lit) {
|
1375
|
-
/*** FLUSH_BLOCK(s, 0); ***/
|
1376
|
-
flush_block_only(s, false);
|
1377
|
-
if (s.strm.avail_out === 0) {
|
1378
|
-
return BS_NEED_MORE;
|
1379
|
-
}
|
1380
|
-
/***/
|
1381
|
-
}
|
1382
|
-
return BS_BLOCK_DONE;
|
1383
|
-
}
|
1384
|
-
|
1385
|
-
/* Values for max_lazy_match, good_match and max_chain_length, depending on
|
1386
|
-
* the desired pack level (0..9). The values given below have been tuned to
|
1387
|
-
* exclude worst case performance for pathological files. Better values may be
|
1388
|
-
* found for specific files.
|
1389
|
-
*/
|
1390
|
-
function Config(good_length, max_lazy, nice_length, max_chain, func) {
|
1391
|
-
this.good_length = good_length;
|
1392
|
-
this.max_lazy = max_lazy;
|
1393
|
-
this.nice_length = nice_length;
|
1394
|
-
this.max_chain = max_chain;
|
1395
|
-
this.func = func;
|
1396
|
-
}
|
1397
|
-
|
1398
|
-
var configuration_table;
|
1399
|
-
|
1400
|
-
configuration_table = [
|
1401
|
-
/* good lazy nice chain */
|
1402
|
-
new Config(0, 0, 0, 0, deflate_stored), /* 0 store only */
|
1403
|
-
new Config(4, 4, 8, 4, deflate_fast), /* 1 max speed, no lazy matches */
|
1404
|
-
new Config(4, 5, 16, 8, deflate_fast), /* 2 */
|
1405
|
-
new Config(4, 6, 32, 32, deflate_fast), /* 3 */
|
1406
|
-
|
1407
|
-
new Config(4, 4, 16, 16, deflate_slow), /* 4 lazy matches */
|
1408
|
-
new Config(8, 16, 32, 32, deflate_slow), /* 5 */
|
1409
|
-
new Config(8, 16, 128, 128, deflate_slow), /* 6 */
|
1410
|
-
new Config(8, 32, 128, 256, deflate_slow), /* 7 */
|
1411
|
-
new Config(32, 128, 258, 1024, deflate_slow), /* 8 */
|
1412
|
-
new Config(32, 258, 258, 4096, deflate_slow) /* 9 max compression */
|
1413
|
-
];
|
1414
|
-
|
1415
|
-
|
1416
|
-
/* ===========================================================================
|
1417
|
-
* Initialize the "longest match" routines for a new zlib stream
|
1418
|
-
*/
|
1419
|
-
function lm_init(s) {
|
1420
|
-
s.window_size = 2 * s.w_size;
|
1421
|
-
|
1422
|
-
/*** CLEAR_HASH(s); ***/
|
1423
|
-
zero(s.head); // Fill with NIL (= 0);
|
1424
|
-
|
1425
|
-
/* Set the default configuration parameters:
|
1426
|
-
*/
|
1427
|
-
s.max_lazy_match = configuration_table[s.level].max_lazy;
|
1428
|
-
s.good_match = configuration_table[s.level].good_length;
|
1429
|
-
s.nice_match = configuration_table[s.level].nice_length;
|
1430
|
-
s.max_chain_length = configuration_table[s.level].max_chain;
|
1431
|
-
|
1432
|
-
s.strstart = 0;
|
1433
|
-
s.block_start = 0;
|
1434
|
-
s.lookahead = 0;
|
1435
|
-
s.insert = 0;
|
1436
|
-
s.match_length = s.prev_length = MIN_MATCH - 1;
|
1437
|
-
s.match_available = 0;
|
1438
|
-
s.ins_h = 0;
|
1439
|
-
}
|
1440
|
-
|
1441
|
-
|
1442
|
-
function DeflateState() {
|
1443
|
-
this.strm = null; /* pointer back to this zlib stream */
|
1444
|
-
this.status = 0; /* as the name implies */
|
1445
|
-
this.pending_buf = null; /* output still pending */
|
1446
|
-
this.pending_buf_size = 0; /* size of pending_buf */
|
1447
|
-
this.pending_out = 0; /* next pending byte to output to the stream */
|
1448
|
-
this.pending = 0; /* nb of bytes in the pending buffer */
|
1449
|
-
this.wrap = 0; /* bit 0 true for zlib, bit 1 true for gzip */
|
1450
|
-
this.gzhead = null; /* gzip header information to write */
|
1451
|
-
this.gzindex = 0; /* where in extra, name, or comment */
|
1452
|
-
this.method = Z_DEFLATED; /* can only be DEFLATED */
|
1453
|
-
this.last_flush = -1; /* value of flush param for previous deflate call */
|
1454
|
-
|
1455
|
-
this.w_size = 0; /* LZ77 window size (32K by default) */
|
1456
|
-
this.w_bits = 0; /* log2(w_size) (8..16) */
|
1457
|
-
this.w_mask = 0; /* w_size - 1 */
|
1458
|
-
|
1459
|
-
this.window = null;
|
1460
|
-
/* Sliding window. Input bytes are read into the second half of the window,
|
1461
|
-
* and move to the first half later to keep a dictionary of at least wSize
|
1462
|
-
* bytes. With this organization, matches are limited to a distance of
|
1463
|
-
* wSize-MAX_MATCH bytes, but this ensures that IO is always
|
1464
|
-
* performed with a length multiple of the block size.
|
1465
|
-
*/
|
1466
|
-
|
1467
|
-
this.window_size = 0;
|
1468
|
-
/* Actual size of window: 2*wSize, except when the user input buffer
|
1469
|
-
* is directly used as sliding window.
|
1470
|
-
*/
|
1471
|
-
|
1472
|
-
this.prev = null;
|
1473
|
-
/* Link to older string with same hash index. To limit the size of this
|
1474
|
-
* array to 64K, this link is maintained only for the last 32K strings.
|
1475
|
-
* An index in this array is thus a window index modulo 32K.
|
1476
|
-
*/
|
1477
|
-
|
1478
|
-
this.head = null; /* Heads of the hash chains or NIL. */
|
1479
|
-
|
1480
|
-
this.ins_h = 0; /* hash index of string to be inserted */
|
1481
|
-
this.hash_size = 0; /* number of elements in hash table */
|
1482
|
-
this.hash_bits = 0; /* log2(hash_size) */
|
1483
|
-
this.hash_mask = 0; /* hash_size-1 */
|
1484
|
-
|
1485
|
-
this.hash_shift = 0;
|
1486
|
-
/* Number of bits by which ins_h must be shifted at each input
|
1487
|
-
* step. It must be such that after MIN_MATCH steps, the oldest
|
1488
|
-
* byte no longer takes part in the hash key, that is:
|
1489
|
-
* hash_shift * MIN_MATCH >= hash_bits
|
1490
|
-
*/
|
1491
|
-
|
1492
|
-
this.block_start = 0;
|
1493
|
-
/* Window position at the beginning of the current output block. Gets
|
1494
|
-
* negative when the window is moved backwards.
|
1495
|
-
*/
|
1496
|
-
|
1497
|
-
this.match_length = 0; /* length of best match */
|
1498
|
-
this.prev_match = 0; /* previous match */
|
1499
|
-
this.match_available = 0; /* set if previous match exists */
|
1500
|
-
this.strstart = 0; /* start of string to insert */
|
1501
|
-
this.match_start = 0; /* start of matching string */
|
1502
|
-
this.lookahead = 0; /* number of valid bytes ahead in window */
|
1503
|
-
|
1504
|
-
this.prev_length = 0;
|
1505
|
-
/* Length of the best match at previous step. Matches not greater than this
|
1506
|
-
* are discarded. This is used in the lazy match evaluation.
|
1507
|
-
*/
|
1508
|
-
|
1509
|
-
this.max_chain_length = 0;
|
1510
|
-
/* To speed up deflation, hash chains are never searched beyond this
|
1511
|
-
* length. A higher limit improves compression ratio but degrades the
|
1512
|
-
* speed.
|
1513
|
-
*/
|
1514
|
-
|
1515
|
-
this.max_lazy_match = 0;
|
1516
|
-
/* Attempt to find a better match only when the current match is strictly
|
1517
|
-
* smaller than this value. This mechanism is used only for compression
|
1518
|
-
* levels >= 4.
|
1519
|
-
*/
|
1520
|
-
// That's alias to max_lazy_match, don't use directly
|
1521
|
-
//this.max_insert_length = 0;
|
1522
|
-
/* Insert new strings in the hash table only if the match length is not
|
1523
|
-
* greater than this length. This saves time but degrades compression.
|
1524
|
-
* max_insert_length is used only for compression levels <= 3.
|
1525
|
-
*/
|
1526
|
-
|
1527
|
-
this.level = 0; /* compression level (1..9) */
|
1528
|
-
this.strategy = 0; /* favor or force Huffman coding*/
|
1529
|
-
|
1530
|
-
this.good_match = 0;
|
1531
|
-
/* Use a faster search when the previous match is longer than this */
|
1532
|
-
|
1533
|
-
this.nice_match = 0; /* Stop searching when current match exceeds this */
|
1534
|
-
|
1535
|
-
/* used by trees.c: */
|
1536
|
-
|
1537
|
-
/* Didn't use ct_data typedef below to suppress compiler warning */
|
1538
|
-
|
1539
|
-
// struct ct_data_s dyn_ltree[HEAP_SIZE]; /* literal and length tree */
|
1540
|
-
// struct ct_data_s dyn_dtree[2*D_CODES+1]; /* distance tree */
|
1541
|
-
// struct ct_data_s bl_tree[2*BL_CODES+1]; /* Huffman tree for bit lengths */
|
1542
|
-
|
1543
|
-
// Use flat array of DOUBLE size, with interleaved fata,
|
1544
|
-
// because JS does not support effective
|
1545
|
-
this.dyn_ltree = new utils.Buf16(HEAP_SIZE * 2);
|
1546
|
-
this.dyn_dtree = new utils.Buf16((2 * D_CODES + 1) * 2);
|
1547
|
-
this.bl_tree = new utils.Buf16((2 * BL_CODES + 1) * 2);
|
1548
|
-
zero(this.dyn_ltree);
|
1549
|
-
zero(this.dyn_dtree);
|
1550
|
-
zero(this.bl_tree);
|
1551
|
-
|
1552
|
-
this.l_desc = null; /* desc. for literal tree */
|
1553
|
-
this.d_desc = null; /* desc. for distance tree */
|
1554
|
-
this.bl_desc = null; /* desc. for bit length tree */
|
1555
|
-
|
1556
|
-
//ush bl_count[MAX_BITS+1];
|
1557
|
-
this.bl_count = new utils.Buf16(MAX_BITS + 1);
|
1558
|
-
/* number of codes at each bit length for an optimal tree */
|
1559
|
-
|
1560
|
-
//int heap[2*L_CODES+1]; /* heap used to build the Huffman trees */
|
1561
|
-
this.heap = new utils.Buf16(2 * L_CODES + 1); /* heap used to build the Huffman trees */
|
1562
|
-
zero(this.heap);
|
1563
|
-
|
1564
|
-
this.heap_len = 0; /* number of elements in the heap */
|
1565
|
-
this.heap_max = 0; /* element of largest frequency */
|
1566
|
-
/* The sons of heap[n] are heap[2*n] and heap[2*n+1]. heap[0] is not used.
|
1567
|
-
* The same heap array is used to build all trees.
|
1568
|
-
*/
|
1569
|
-
|
1570
|
-
this.depth = new utils.Buf16(2 * L_CODES + 1); //uch depth[2*L_CODES+1];
|
1571
|
-
zero(this.depth);
|
1572
|
-
/* Depth of each subtree used as tie breaker for trees of equal frequency
|
1573
|
-
*/
|
1574
|
-
|
1575
|
-
this.l_buf = 0; /* buffer index for literals or lengths */
|
1576
|
-
|
1577
|
-
this.lit_bufsize = 0;
|
1578
|
-
/* Size of match buffer for literals/lengths. There are 4 reasons for
|
1579
|
-
* limiting lit_bufsize to 64K:
|
1580
|
-
* - frequencies can be kept in 16 bit counters
|
1581
|
-
* - if compression is not successful for the first block, all input
|
1582
|
-
* data is still in the window so we can still emit a stored block even
|
1583
|
-
* when input comes from standard input. (This can also be done for
|
1584
|
-
* all blocks if lit_bufsize is not greater than 32K.)
|
1585
|
-
* - if compression is not successful for a file smaller than 64K, we can
|
1586
|
-
* even emit a stored file instead of a stored block (saving 5 bytes).
|
1587
|
-
* This is applicable only for zip (not gzip or zlib).
|
1588
|
-
* - creating new Huffman trees less frequently may not provide fast
|
1589
|
-
* adaptation to changes in the input data statistics. (Take for
|
1590
|
-
* example a binary file with poorly compressible code followed by
|
1591
|
-
* a highly compressible string table.) Smaller buffer sizes give
|
1592
|
-
* fast adaptation but have of course the overhead of transmitting
|
1593
|
-
* trees more frequently.
|
1594
|
-
* - I can't count above 4
|
1595
|
-
*/
|
1596
|
-
|
1597
|
-
this.last_lit = 0; /* running index in l_buf */
|
1598
|
-
|
1599
|
-
this.d_buf = 0;
|
1600
|
-
/* Buffer index for distances. To simplify the code, d_buf and l_buf have
|
1601
|
-
* the same number of elements. To use different lengths, an extra flag
|
1602
|
-
* array would be necessary.
|
1603
|
-
*/
|
1604
|
-
|
1605
|
-
this.opt_len = 0; /* bit length of current block with optimal trees */
|
1606
|
-
this.static_len = 0; /* bit length of current block with static trees */
|
1607
|
-
this.matches = 0; /* number of string matches in current block */
|
1608
|
-
this.insert = 0; /* bytes at end of window left to insert */
|
1609
|
-
|
1610
|
-
|
1611
|
-
this.bi_buf = 0;
|
1612
|
-
/* Output buffer. bits are inserted starting at the bottom (least
|
1613
|
-
* significant bits).
|
1614
|
-
*/
|
1615
|
-
this.bi_valid = 0;
|
1616
|
-
/* Number of valid bits in bi_buf. All bits above the last valid bit
|
1617
|
-
* are always zero.
|
1618
|
-
*/
|
1619
|
-
|
1620
|
-
// Used for window memory init. We safely ignore it for JS. That makes
|
1621
|
-
// sense only for pointers and memory check tools.
|
1622
|
-
//this.high_water = 0;
|
1623
|
-
/* High water mark offset in window for initialized bytes -- bytes above
|
1624
|
-
* this are set to zero in order to avoid memory check warnings when
|
1625
|
-
* longest match routines access bytes past the input. This is then
|
1626
|
-
* updated to the new high water mark.
|
1627
|
-
*/
|
1628
|
-
}
|
1629
|
-
|
1630
|
-
|
1631
|
-
function deflateResetKeep(strm) {
|
1632
|
-
var s;
|
1633
|
-
|
1634
|
-
if (!strm || !strm.state) {
|
1635
|
-
return err(strm, Z_STREAM_ERROR);
|
1636
|
-
}
|
1637
|
-
|
1638
|
-
strm.total_in = strm.total_out = 0;
|
1639
|
-
strm.data_type = Z_UNKNOWN;
|
1640
|
-
|
1641
|
-
s = strm.state;
|
1642
|
-
s.pending = 0;
|
1643
|
-
s.pending_out = 0;
|
1644
|
-
|
1645
|
-
if (s.wrap < 0) {
|
1646
|
-
s.wrap = -s.wrap;
|
1647
|
-
/* was made negative by deflate(..., Z_FINISH); */
|
1648
|
-
}
|
1649
|
-
s.status = (s.wrap ? INIT_STATE : BUSY_STATE);
|
1650
|
-
strm.adler = (s.wrap === 2) ?
|
1651
|
-
0 // crc32(0, Z_NULL, 0)
|
1652
|
-
:
|
1653
|
-
1; // adler32(0, Z_NULL, 0)
|
1654
|
-
s.last_flush = Z_NO_FLUSH;
|
1655
|
-
trees._tr_init(s);
|
1656
|
-
return Z_OK;
|
1657
|
-
}
|
1658
|
-
|
1659
|
-
|
1660
|
-
function deflateReset(strm) {
|
1661
|
-
var ret = deflateResetKeep(strm);
|
1662
|
-
if (ret === Z_OK) {
|
1663
|
-
lm_init(strm.state);
|
1664
|
-
}
|
1665
|
-
return ret;
|
1666
|
-
}
|
1667
|
-
|
1668
|
-
|
1669
|
-
function deflateSetHeader(strm, head) {
|
1670
|
-
if (!strm || !strm.state) { return Z_STREAM_ERROR; }
|
1671
|
-
if (strm.state.wrap !== 2) { return Z_STREAM_ERROR; }
|
1672
|
-
strm.state.gzhead = head;
|
1673
|
-
return Z_OK;
|
1674
|
-
}
|
1675
|
-
|
1676
|
-
|
1677
|
-
function deflateInit2(strm, level, method, windowBits, memLevel, strategy) {
|
1678
|
-
if (!strm) { // === Z_NULL
|
1679
|
-
return Z_STREAM_ERROR;
|
1680
|
-
}
|
1681
|
-
var wrap = 1;
|
1682
|
-
|
1683
|
-
if (level === Z_DEFAULT_COMPRESSION) {
|
1684
|
-
level = 6;
|
1685
|
-
}
|
1686
|
-
|
1687
|
-
if (windowBits < 0) { /* suppress zlib wrapper */
|
1688
|
-
wrap = 0;
|
1689
|
-
windowBits = -windowBits;
|
1690
|
-
}
|
1691
|
-
|
1692
|
-
else if (windowBits > 15) {
|
1693
|
-
wrap = 2; /* write gzip wrapper instead */
|
1694
|
-
windowBits -= 16;
|
1695
|
-
}
|
1696
|
-
|
1697
|
-
|
1698
|
-
if (memLevel < 1 || memLevel > MAX_MEM_LEVEL || method !== Z_DEFLATED ||
|
1699
|
-
windowBits < 8 || windowBits > 15 || level < 0 || level > 9 ||
|
1700
|
-
strategy < 0 || strategy > Z_FIXED) {
|
1701
|
-
return err(strm, Z_STREAM_ERROR);
|
1702
|
-
}
|
1703
|
-
|
1704
|
-
|
1705
|
-
if (windowBits === 8) {
|
1706
|
-
windowBits = 9;
|
1707
|
-
}
|
1708
|
-
/* until 256-byte window bug fixed */
|
1709
|
-
|
1710
|
-
var s = new DeflateState();
|
1711
|
-
|
1712
|
-
strm.state = s;
|
1713
|
-
s.strm = strm;
|
1714
|
-
|
1715
|
-
s.wrap = wrap;
|
1716
|
-
s.gzhead = null;
|
1717
|
-
s.w_bits = windowBits;
|
1718
|
-
s.w_size = 1 << s.w_bits;
|
1719
|
-
s.w_mask = s.w_size - 1;
|
1720
|
-
|
1721
|
-
s.hash_bits = memLevel + 7;
|
1722
|
-
s.hash_size = 1 << s.hash_bits;
|
1723
|
-
s.hash_mask = s.hash_size - 1;
|
1724
|
-
s.hash_shift = ~~((s.hash_bits + MIN_MATCH - 1) / MIN_MATCH);
|
1725
|
-
|
1726
|
-
s.window = new utils.Buf8(s.w_size * 2);
|
1727
|
-
s.head = new utils.Buf16(s.hash_size);
|
1728
|
-
s.prev = new utils.Buf16(s.w_size);
|
1729
|
-
|
1730
|
-
// Don't need mem init magic for JS.
|
1731
|
-
//s.high_water = 0; /* nothing written to s->window yet */
|
1732
|
-
|
1733
|
-
s.lit_bufsize = 1 << (memLevel + 6); /* 16K elements by default */
|
1734
|
-
|
1735
|
-
s.pending_buf_size = s.lit_bufsize * 4;
|
1736
|
-
|
1737
|
-
//overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2);
|
1738
|
-
//s->pending_buf = (uchf *) overlay;
|
1739
|
-
s.pending_buf = new utils.Buf8(s.pending_buf_size);
|
1740
|
-
|
1741
|
-
// It is offset from `s.pending_buf` (size is `s.lit_bufsize * 2`)
|
1742
|
-
//s->d_buf = overlay + s->lit_bufsize/sizeof(ush);
|
1743
|
-
s.d_buf = 1 * s.lit_bufsize;
|
1744
|
-
|
1745
|
-
//s->l_buf = s->pending_buf + (1+sizeof(ush))*s->lit_bufsize;
|
1746
|
-
s.l_buf = (1 + 2) * s.lit_bufsize;
|
1747
|
-
|
1748
|
-
s.level = level;
|
1749
|
-
s.strategy = strategy;
|
1750
|
-
s.method = method;
|
1751
|
-
|
1752
|
-
return deflateReset(strm);
|
1753
|
-
}
|
1754
|
-
|
1755
|
-
function deflateInit(strm, level) {
|
1756
|
-
return deflateInit2(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY);
|
1757
|
-
}
|
1758
|
-
|
1759
|
-
|
1760
|
-
function deflate(strm, flush) {
|
1761
|
-
var old_flush, s;
|
1762
|
-
var beg, val; // for gzip header write only
|
1763
|
-
|
1764
|
-
if (!strm || !strm.state ||
|
1765
|
-
flush > Z_BLOCK || flush < 0) {
|
1766
|
-
return strm ? err(strm, Z_STREAM_ERROR) : Z_STREAM_ERROR;
|
1767
|
-
}
|
1768
|
-
|
1769
|
-
s = strm.state;
|
1770
|
-
|
1771
|
-
if (!strm.output ||
|
1772
|
-
(!strm.input && strm.avail_in !== 0) ||
|
1773
|
-
(s.status === FINISH_STATE && flush !== Z_FINISH)) {
|
1774
|
-
return err(strm, (strm.avail_out === 0) ? Z_BUF_ERROR : Z_STREAM_ERROR);
|
1775
|
-
}
|
1776
|
-
|
1777
|
-
s.strm = strm; /* just in case */
|
1778
|
-
old_flush = s.last_flush;
|
1779
|
-
s.last_flush = flush;
|
1780
|
-
|
1781
|
-
/* Write the header */
|
1782
|
-
if (s.status === INIT_STATE) {
|
1783
|
-
|
1784
|
-
if (s.wrap === 2) { // GZIP header
|
1785
|
-
strm.adler = 0; //crc32(0L, Z_NULL, 0);
|
1786
|
-
put_byte(s, 31);
|
1787
|
-
put_byte(s, 139);
|
1788
|
-
put_byte(s, 8);
|
1789
|
-
if (!s.gzhead) { // s->gzhead == Z_NULL
|
1790
|
-
put_byte(s, 0);
|
1791
|
-
put_byte(s, 0);
|
1792
|
-
put_byte(s, 0);
|
1793
|
-
put_byte(s, 0);
|
1794
|
-
put_byte(s, 0);
|
1795
|
-
put_byte(s, s.level === 9 ? 2 :
|
1796
|
-
(s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ?
|
1797
|
-
4 : 0));
|
1798
|
-
put_byte(s, OS_CODE);
|
1799
|
-
s.status = BUSY_STATE;
|
1800
|
-
}
|
1801
|
-
else {
|
1802
|
-
put_byte(s, (s.gzhead.text ? 1 : 0) +
|
1803
|
-
(s.gzhead.hcrc ? 2 : 0) +
|
1804
|
-
(!s.gzhead.extra ? 0 : 4) +
|
1805
|
-
(!s.gzhead.name ? 0 : 8) +
|
1806
|
-
(!s.gzhead.comment ? 0 : 16)
|
1807
|
-
);
|
1808
|
-
put_byte(s, s.gzhead.time & 0xff);
|
1809
|
-
put_byte(s, (s.gzhead.time >> 8) & 0xff);
|
1810
|
-
put_byte(s, (s.gzhead.time >> 16) & 0xff);
|
1811
|
-
put_byte(s, (s.gzhead.time >> 24) & 0xff);
|
1812
|
-
put_byte(s, s.level === 9 ? 2 :
|
1813
|
-
(s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ?
|
1814
|
-
4 : 0));
|
1815
|
-
put_byte(s, s.gzhead.os & 0xff);
|
1816
|
-
if (s.gzhead.extra && s.gzhead.extra.length) {
|
1817
|
-
put_byte(s, s.gzhead.extra.length & 0xff);
|
1818
|
-
put_byte(s, (s.gzhead.extra.length >> 8) & 0xff);
|
1819
|
-
}
|
1820
|
-
if (s.gzhead.hcrc) {
|
1821
|
-
strm.adler = crc32(strm.adler, s.pending_buf, s.pending, 0);
|
1822
|
-
}
|
1823
|
-
s.gzindex = 0;
|
1824
|
-
s.status = EXTRA_STATE;
|
1825
|
-
}
|
1826
|
-
}
|
1827
|
-
else // DEFLATE header
|
1828
|
-
{
|
1829
|
-
var header = (Z_DEFLATED + ((s.w_bits - 8) << 4)) << 8;
|
1830
|
-
var level_flags = -1;
|
1831
|
-
|
1832
|
-
if (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2) {
|
1833
|
-
level_flags = 0;
|
1834
|
-
} else if (s.level < 6) {
|
1835
|
-
level_flags = 1;
|
1836
|
-
} else if (s.level === 6) {
|
1837
|
-
level_flags = 2;
|
1838
|
-
} else {
|
1839
|
-
level_flags = 3;
|
1840
|
-
}
|
1841
|
-
header |= (level_flags << 6);
|
1842
|
-
if (s.strstart !== 0) { header |= PRESET_DICT; }
|
1843
|
-
header += 31 - (header % 31);
|
1844
|
-
|
1845
|
-
s.status = BUSY_STATE;
|
1846
|
-
putShortMSB(s, header);
|
1847
|
-
|
1848
|
-
/* Save the adler32 of the preset dictionary: */
|
1849
|
-
if (s.strstart !== 0) {
|
1850
|
-
putShortMSB(s, strm.adler >>> 16);
|
1851
|
-
putShortMSB(s, strm.adler & 0xffff);
|
1852
|
-
}
|
1853
|
-
strm.adler = 1; // adler32(0L, Z_NULL, 0);
|
1854
|
-
}
|
1855
|
-
}
|
1856
|
-
|
1857
|
-
//#ifdef GZIP
|
1858
|
-
if (s.status === EXTRA_STATE) {
|
1859
|
-
if (s.gzhead.extra/* != Z_NULL*/) {
|
1860
|
-
beg = s.pending; /* start of bytes to update crc */
|
1861
|
-
|
1862
|
-
while (s.gzindex < (s.gzhead.extra.length & 0xffff)) {
|
1863
|
-
if (s.pending === s.pending_buf_size) {
|
1864
|
-
if (s.gzhead.hcrc && s.pending > beg) {
|
1865
|
-
strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
|
1866
|
-
}
|
1867
|
-
flush_pending(strm);
|
1868
|
-
beg = s.pending;
|
1869
|
-
if (s.pending === s.pending_buf_size) {
|
1870
|
-
break;
|
1871
|
-
}
|
1872
|
-
}
|
1873
|
-
put_byte(s, s.gzhead.extra[s.gzindex] & 0xff);
|
1874
|
-
s.gzindex++;
|
1875
|
-
}
|
1876
|
-
if (s.gzhead.hcrc && s.pending > beg) {
|
1877
|
-
strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
|
1878
|
-
}
|
1879
|
-
if (s.gzindex === s.gzhead.extra.length) {
|
1880
|
-
s.gzindex = 0;
|
1881
|
-
s.status = NAME_STATE;
|
1882
|
-
}
|
1883
|
-
}
|
1884
|
-
else {
|
1885
|
-
s.status = NAME_STATE;
|
1886
|
-
}
|
1887
|
-
}
|
1888
|
-
if (s.status === NAME_STATE) {
|
1889
|
-
if (s.gzhead.name/* != Z_NULL*/) {
|
1890
|
-
beg = s.pending; /* start of bytes to update crc */
|
1891
|
-
//int val;
|
1892
|
-
|
1893
|
-
do {
|
1894
|
-
if (s.pending === s.pending_buf_size) {
|
1895
|
-
if (s.gzhead.hcrc && s.pending > beg) {
|
1896
|
-
strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
|
1897
|
-
}
|
1898
|
-
flush_pending(strm);
|
1899
|
-
beg = s.pending;
|
1900
|
-
if (s.pending === s.pending_buf_size) {
|
1901
|
-
val = 1;
|
1902
|
-
break;
|
1903
|
-
}
|
1904
|
-
}
|
1905
|
-
// JS specific: little magic to add zero terminator to end of string
|
1906
|
-
if (s.gzindex < s.gzhead.name.length) {
|
1907
|
-
val = s.gzhead.name.charCodeAt(s.gzindex++) & 0xff;
|
1908
|
-
} else {
|
1909
|
-
val = 0;
|
1910
|
-
}
|
1911
|
-
put_byte(s, val);
|
1912
|
-
} while (val !== 0);
|
1913
|
-
|
1914
|
-
if (s.gzhead.hcrc && s.pending > beg) {
|
1915
|
-
strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
|
1916
|
-
}
|
1917
|
-
if (val === 0) {
|
1918
|
-
s.gzindex = 0;
|
1919
|
-
s.status = COMMENT_STATE;
|
1920
|
-
}
|
1921
|
-
}
|
1922
|
-
else {
|
1923
|
-
s.status = COMMENT_STATE;
|
1924
|
-
}
|
1925
|
-
}
|
1926
|
-
if (s.status === COMMENT_STATE) {
|
1927
|
-
if (s.gzhead.comment/* != Z_NULL*/) {
|
1928
|
-
beg = s.pending; /* start of bytes to update crc */
|
1929
|
-
//int val;
|
1930
|
-
|
1931
|
-
do {
|
1932
|
-
if (s.pending === s.pending_buf_size) {
|
1933
|
-
if (s.gzhead.hcrc && s.pending > beg) {
|
1934
|
-
strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
|
1935
|
-
}
|
1936
|
-
flush_pending(strm);
|
1937
|
-
beg = s.pending;
|
1938
|
-
if (s.pending === s.pending_buf_size) {
|
1939
|
-
val = 1;
|
1940
|
-
break;
|
1941
|
-
}
|
1942
|
-
}
|
1943
|
-
// JS specific: little magic to add zero terminator to end of string
|
1944
|
-
if (s.gzindex < s.gzhead.comment.length) {
|
1945
|
-
val = s.gzhead.comment.charCodeAt(s.gzindex++) & 0xff;
|
1946
|
-
} else {
|
1947
|
-
val = 0;
|
1948
|
-
}
|
1949
|
-
put_byte(s, val);
|
1950
|
-
} while (val !== 0);
|
1951
|
-
|
1952
|
-
if (s.gzhead.hcrc && s.pending > beg) {
|
1953
|
-
strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
|
1954
|
-
}
|
1955
|
-
if (val === 0) {
|
1956
|
-
s.status = HCRC_STATE;
|
1957
|
-
}
|
1958
|
-
}
|
1959
|
-
else {
|
1960
|
-
s.status = HCRC_STATE;
|
1961
|
-
}
|
1962
|
-
}
|
1963
|
-
if (s.status === HCRC_STATE) {
|
1964
|
-
if (s.gzhead.hcrc) {
|
1965
|
-
if (s.pending + 2 > s.pending_buf_size) {
|
1966
|
-
flush_pending(strm);
|
1967
|
-
}
|
1968
|
-
if (s.pending + 2 <= s.pending_buf_size) {
|
1969
|
-
put_byte(s, strm.adler & 0xff);
|
1970
|
-
put_byte(s, (strm.adler >> 8) & 0xff);
|
1971
|
-
strm.adler = 0; //crc32(0L, Z_NULL, 0);
|
1972
|
-
s.status = BUSY_STATE;
|
1973
|
-
}
|
1974
|
-
}
|
1975
|
-
else {
|
1976
|
-
s.status = BUSY_STATE;
|
1977
|
-
}
|
1978
|
-
}
|
1979
|
-
//#endif
|
1980
|
-
|
1981
|
-
/* Flush as much pending output as possible */
|
1982
|
-
if (s.pending !== 0) {
|
1983
|
-
flush_pending(strm);
|
1984
|
-
if (strm.avail_out === 0) {
|
1985
|
-
/* Since avail_out is 0, deflate will be called again with
|
1986
|
-
* more output space, but possibly with both pending and
|
1987
|
-
* avail_in equal to zero. There won't be anything to do,
|
1988
|
-
* but this is not an error situation so make sure we
|
1989
|
-
* return OK instead of BUF_ERROR at next call of deflate:
|
1990
|
-
*/
|
1991
|
-
s.last_flush = -1;
|
1992
|
-
return Z_OK;
|
1993
|
-
}
|
1994
|
-
|
1995
|
-
/* Make sure there is something to do and avoid duplicate consecutive
|
1996
|
-
* flushes. For repeated and useless calls with Z_FINISH, we keep
|
1997
|
-
* returning Z_STREAM_END instead of Z_BUF_ERROR.
|
1998
|
-
*/
|
1999
|
-
} else if (strm.avail_in === 0 && rank(flush) <= rank(old_flush) &&
|
2000
|
-
flush !== Z_FINISH) {
|
2001
|
-
return err(strm, Z_BUF_ERROR);
|
2002
|
-
}
|
2003
|
-
|
2004
|
-
/* User must not provide more input after the first FINISH: */
|
2005
|
-
if (s.status === FINISH_STATE && strm.avail_in !== 0) {
|
2006
|
-
return err(strm, Z_BUF_ERROR);
|
2007
|
-
}
|
2008
|
-
|
2009
|
-
/* Start a new block or continue the current one.
|
2010
|
-
*/
|
2011
|
-
if (strm.avail_in !== 0 || s.lookahead !== 0 ||
|
2012
|
-
(flush !== Z_NO_FLUSH && s.status !== FINISH_STATE)) {
|
2013
|
-
var bstate = (s.strategy === Z_HUFFMAN_ONLY) ? deflate_huff(s, flush) :
|
2014
|
-
(s.strategy === Z_RLE ? deflate_rle(s, flush) :
|
2015
|
-
configuration_table[s.level].func(s, flush));
|
2016
|
-
|
2017
|
-
if (bstate === BS_FINISH_STARTED || bstate === BS_FINISH_DONE) {
|
2018
|
-
s.status = FINISH_STATE;
|
2019
|
-
}
|
2020
|
-
if (bstate === BS_NEED_MORE || bstate === BS_FINISH_STARTED) {
|
2021
|
-
if (strm.avail_out === 0) {
|
2022
|
-
s.last_flush = -1;
|
2023
|
-
/* avoid BUF_ERROR next call, see above */
|
2024
|
-
}
|
2025
|
-
return Z_OK;
|
2026
|
-
/* If flush != Z_NO_FLUSH && avail_out == 0, the next call
|
2027
|
-
* of deflate should use the same flush parameter to make sure
|
2028
|
-
* that the flush is complete. So we don't have to output an
|
2029
|
-
* empty block here, this will be done at next call. This also
|
2030
|
-
* ensures that for a very small output buffer, we emit at most
|
2031
|
-
* one empty block.
|
2032
|
-
*/
|
2033
|
-
}
|
2034
|
-
if (bstate === BS_BLOCK_DONE) {
|
2035
|
-
if (flush === Z_PARTIAL_FLUSH) {
|
2036
|
-
trees._tr_align(s);
|
2037
|
-
}
|
2038
|
-
else if (flush !== Z_BLOCK) { /* FULL_FLUSH or SYNC_FLUSH */
|
2039
|
-
|
2040
|
-
trees._tr_stored_block(s, 0, 0, false);
|
2041
|
-
/* For a full flush, this empty block will be recognized
|
2042
|
-
* as a special marker by inflate_sync().
|
2043
|
-
*/
|
2044
|
-
if (flush === Z_FULL_FLUSH) {
|
2045
|
-
/*** CLEAR_HASH(s); ***/ /* forget history */
|
2046
|
-
zero(s.head); // Fill with NIL (= 0);
|
2047
|
-
|
2048
|
-
if (s.lookahead === 0) {
|
2049
|
-
s.strstart = 0;
|
2050
|
-
s.block_start = 0;
|
2051
|
-
s.insert = 0;
|
2052
|
-
}
|
2053
|
-
}
|
2054
|
-
}
|
2055
|
-
flush_pending(strm);
|
2056
|
-
if (strm.avail_out === 0) {
|
2057
|
-
s.last_flush = -1; /* avoid BUF_ERROR at next call, see above */
|
2058
|
-
return Z_OK;
|
2059
|
-
}
|
2060
|
-
}
|
2061
|
-
}
|
2062
|
-
//Assert(strm->avail_out > 0, "bug2");
|
2063
|
-
//if (strm.avail_out <= 0) { throw new Error("bug2");}
|
2064
|
-
|
2065
|
-
if (flush !== Z_FINISH) { return Z_OK; }
|
2066
|
-
if (s.wrap <= 0) { return Z_STREAM_END; }
|
2067
|
-
|
2068
|
-
/* Write the trailer */
|
2069
|
-
if (s.wrap === 2) {
|
2070
|
-
put_byte(s, strm.adler & 0xff);
|
2071
|
-
put_byte(s, (strm.adler >> 8) & 0xff);
|
2072
|
-
put_byte(s, (strm.adler >> 16) & 0xff);
|
2073
|
-
put_byte(s, (strm.adler >> 24) & 0xff);
|
2074
|
-
put_byte(s, strm.total_in & 0xff);
|
2075
|
-
put_byte(s, (strm.total_in >> 8) & 0xff);
|
2076
|
-
put_byte(s, (strm.total_in >> 16) & 0xff);
|
2077
|
-
put_byte(s, (strm.total_in >> 24) & 0xff);
|
2078
|
-
}
|
2079
|
-
else
|
2080
|
-
{
|
2081
|
-
putShortMSB(s, strm.adler >>> 16);
|
2082
|
-
putShortMSB(s, strm.adler & 0xffff);
|
2083
|
-
}
|
2084
|
-
|
2085
|
-
flush_pending(strm);
|
2086
|
-
/* If avail_out is zero, the application will call deflate again
|
2087
|
-
* to flush the rest.
|
2088
|
-
*/
|
2089
|
-
if (s.wrap > 0) { s.wrap = -s.wrap; }
|
2090
|
-
/* write the trailer only once! */
|
2091
|
-
return s.pending !== 0 ? Z_OK : Z_STREAM_END;
|
2092
|
-
}
|
2093
|
-
|
2094
|
-
function deflateEnd(strm) {
|
2095
|
-
var status;
|
2096
|
-
|
2097
|
-
if (!strm/*== Z_NULL*/ || !strm.state/*== Z_NULL*/) {
|
2098
|
-
return Z_STREAM_ERROR;
|
2099
|
-
}
|
2100
|
-
|
2101
|
-
status = strm.state.status;
|
2102
|
-
if (status !== INIT_STATE &&
|
2103
|
-
status !== EXTRA_STATE &&
|
2104
|
-
status !== NAME_STATE &&
|
2105
|
-
status !== COMMENT_STATE &&
|
2106
|
-
status !== HCRC_STATE &&
|
2107
|
-
status !== BUSY_STATE &&
|
2108
|
-
status !== FINISH_STATE
|
2109
|
-
) {
|
2110
|
-
return err(strm, Z_STREAM_ERROR);
|
2111
|
-
}
|
2112
|
-
|
2113
|
-
strm.state = null;
|
2114
|
-
|
2115
|
-
return status === BUSY_STATE ? err(strm, Z_DATA_ERROR) : Z_OK;
|
2116
|
-
}
|
2117
|
-
|
2118
|
-
|
2119
|
-
/* =========================================================================
|
2120
|
-
* Initializes the compression dictionary from the given byte
|
2121
|
-
* sequence without producing any compressed output.
|
2122
|
-
*/
|
2123
|
-
function deflateSetDictionary(strm, dictionary) {
|
2124
|
-
var dictLength = dictionary.length;
|
2125
|
-
|
2126
|
-
var s;
|
2127
|
-
var str, n;
|
2128
|
-
var wrap;
|
2129
|
-
var avail;
|
2130
|
-
var next;
|
2131
|
-
var input;
|
2132
|
-
var tmpDict;
|
2133
|
-
|
2134
|
-
if (!strm/*== Z_NULL*/ || !strm.state/*== Z_NULL*/) {
|
2135
|
-
return Z_STREAM_ERROR;
|
2136
|
-
}
|
2137
|
-
|
2138
|
-
s = strm.state;
|
2139
|
-
wrap = s.wrap;
|
2140
|
-
|
2141
|
-
if (wrap === 2 || (wrap === 1 && s.status !== INIT_STATE) || s.lookahead) {
|
2142
|
-
return Z_STREAM_ERROR;
|
2143
|
-
}
|
2144
|
-
|
2145
|
-
/* when using zlib wrappers, compute Adler-32 for provided dictionary */
|
2146
|
-
if (wrap === 1) {
|
2147
|
-
/* adler32(strm->adler, dictionary, dictLength); */
|
2148
|
-
strm.adler = adler32(strm.adler, dictionary, dictLength, 0);
|
2149
|
-
}
|
2150
|
-
|
2151
|
-
s.wrap = 0; /* avoid computing Adler-32 in read_buf */
|
2152
|
-
|
2153
|
-
/* if dictionary would fill window, just replace the history */
|
2154
|
-
if (dictLength >= s.w_size) {
|
2155
|
-
if (wrap === 0) { /* already empty otherwise */
|
2156
|
-
/*** CLEAR_HASH(s); ***/
|
2157
|
-
zero(s.head); // Fill with NIL (= 0);
|
2158
|
-
s.strstart = 0;
|
2159
|
-
s.block_start = 0;
|
2160
|
-
s.insert = 0;
|
2161
|
-
}
|
2162
|
-
/* use the tail */
|
2163
|
-
// dictionary = dictionary.slice(dictLength - s.w_size);
|
2164
|
-
tmpDict = new utils.Buf8(s.w_size);
|
2165
|
-
utils.arraySet(tmpDict, dictionary, dictLength - s.w_size, s.w_size, 0);
|
2166
|
-
dictionary = tmpDict;
|
2167
|
-
dictLength = s.w_size;
|
2168
|
-
}
|
2169
|
-
/* insert dictionary into window and hash */
|
2170
|
-
avail = strm.avail_in;
|
2171
|
-
next = strm.next_in;
|
2172
|
-
input = strm.input;
|
2173
|
-
strm.avail_in = dictLength;
|
2174
|
-
strm.next_in = 0;
|
2175
|
-
strm.input = dictionary;
|
2176
|
-
fill_window(s);
|
2177
|
-
while (s.lookahead >= MIN_MATCH) {
|
2178
|
-
str = s.strstart;
|
2179
|
-
n = s.lookahead - (MIN_MATCH - 1);
|
2180
|
-
do {
|
2181
|
-
/* UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); */
|
2182
|
-
s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[str + MIN_MATCH - 1]) & s.hash_mask;
|
2183
|
-
|
2184
|
-
s.prev[str & s.w_mask] = s.head[s.ins_h];
|
2185
|
-
|
2186
|
-
s.head[s.ins_h] = str;
|
2187
|
-
str++;
|
2188
|
-
} while (--n);
|
2189
|
-
s.strstart = str;
|
2190
|
-
s.lookahead = MIN_MATCH - 1;
|
2191
|
-
fill_window(s);
|
2192
|
-
}
|
2193
|
-
s.strstart += s.lookahead;
|
2194
|
-
s.block_start = s.strstart;
|
2195
|
-
s.insert = s.lookahead;
|
2196
|
-
s.lookahead = 0;
|
2197
|
-
s.match_length = s.prev_length = MIN_MATCH - 1;
|
2198
|
-
s.match_available = 0;
|
2199
|
-
strm.next_in = next;
|
2200
|
-
strm.input = input;
|
2201
|
-
strm.avail_in = avail;
|
2202
|
-
s.wrap = wrap;
|
2203
|
-
return Z_OK;
|
2204
|
-
}
|
2205
|
-
|
2206
|
-
|
2207
|
-
exports.deflateInit = deflateInit;
|
2208
|
-
exports.deflateInit2 = deflateInit2;
|
2209
|
-
exports.deflateReset = deflateReset;
|
2210
|
-
exports.deflateResetKeep = deflateResetKeep;
|
2211
|
-
exports.deflateSetHeader = deflateSetHeader;
|
2212
|
-
exports.deflate = deflate;
|
2213
|
-
exports.deflateEnd = deflateEnd;
|
2214
|
-
exports.deflateSetDictionary = deflateSetDictionary;
|
2215
|
-
exports.deflateInfo = 'pako deflate (from Nodeca project)';
|
2216
|
-
|
2217
|
-
/* Not implemented
|
2218
|
-
exports.deflateBound = deflateBound;
|
2219
|
-
exports.deflateCopy = deflateCopy;
|
2220
|
-
exports.deflateParams = deflateParams;
|
2221
|
-
exports.deflatePending = deflatePending;
|
2222
|
-
exports.deflatePrime = deflatePrime;
|
2223
|
-
exports.deflateTune = deflateTune;
|
2224
|
-
*/
|
2225
|
-
|
2226
|
-
},{"../utils/common":1,"./adler32":3,"./crc32":4,"./messages":6,"./trees":7}],6:[function(require,module,exports){
|
2227
|
-
'use strict';
|
2228
|
-
|
2229
|
-
module.exports = {
|
2230
|
-
2: 'need dictionary', /* Z_NEED_DICT 2 */
|
2231
|
-
1: 'stream end', /* Z_STREAM_END 1 */
|
2232
|
-
0: '', /* Z_OK 0 */
|
2233
|
-
'-1': 'file error', /* Z_ERRNO (-1) */
|
2234
|
-
'-2': 'stream error', /* Z_STREAM_ERROR (-2) */
|
2235
|
-
'-3': 'data error', /* Z_DATA_ERROR (-3) */
|
2236
|
-
'-4': 'insufficient memory', /* Z_MEM_ERROR (-4) */
|
2237
|
-
'-5': 'buffer error', /* Z_BUF_ERROR (-5) */
|
2238
|
-
'-6': 'incompatible version' /* Z_VERSION_ERROR (-6) */
|
2239
|
-
};
|
2240
|
-
|
2241
|
-
},{}],7:[function(require,module,exports){
|
2242
|
-
'use strict';
|
2243
|
-
|
2244
|
-
|
2245
|
-
var utils = require('../utils/common');
|
2246
|
-
|
2247
|
-
/* Public constants ==========================================================*/
|
2248
|
-
/* ===========================================================================*/
|
2249
|
-
|
2250
|
-
|
2251
|
-
//var Z_FILTERED = 1;
|
2252
|
-
//var Z_HUFFMAN_ONLY = 2;
|
2253
|
-
//var Z_RLE = 3;
|
2254
|
-
var Z_FIXED = 4;
|
2255
|
-
//var Z_DEFAULT_STRATEGY = 0;
|
2256
|
-
|
2257
|
-
/* Possible values of the data_type field (though see inflate()) */
|
2258
|
-
var Z_BINARY = 0;
|
2259
|
-
var Z_TEXT = 1;
|
2260
|
-
//var Z_ASCII = 1; // = Z_TEXT
|
2261
|
-
var Z_UNKNOWN = 2;
|
2262
|
-
|
2263
|
-
/*============================================================================*/
|
2264
|
-
|
2265
|
-
|
2266
|
-
function zero(buf) { var len = buf.length; while (--len >= 0) { buf[len] = 0; } }
|
2267
|
-
|
2268
|
-
// From zutil.h
|
2269
|
-
|
2270
|
-
var STORED_BLOCK = 0;
|
2271
|
-
var STATIC_TREES = 1;
|
2272
|
-
var DYN_TREES = 2;
|
2273
|
-
/* The three kinds of block type */
|
2274
|
-
|
2275
|
-
var MIN_MATCH = 3;
|
2276
|
-
var MAX_MATCH = 258;
|
2277
|
-
/* The minimum and maximum match lengths */
|
2278
|
-
|
2279
|
-
// From deflate.h
|
2280
|
-
/* ===========================================================================
|
2281
|
-
* Internal compression state.
|
2282
|
-
*/
|
2283
|
-
|
2284
|
-
var LENGTH_CODES = 29;
|
2285
|
-
/* number of length codes, not counting the special END_BLOCK code */
|
2286
|
-
|
2287
|
-
var LITERALS = 256;
|
2288
|
-
/* number of literal bytes 0..255 */
|
2289
|
-
|
2290
|
-
var L_CODES = LITERALS + 1 + LENGTH_CODES;
|
2291
|
-
/* number of Literal or Length codes, including the END_BLOCK code */
|
2292
|
-
|
2293
|
-
var D_CODES = 30;
|
2294
|
-
/* number of distance codes */
|
2295
|
-
|
2296
|
-
var BL_CODES = 19;
|
2297
|
-
/* number of codes used to transfer the bit lengths */
|
2298
|
-
|
2299
|
-
var HEAP_SIZE = 2 * L_CODES + 1;
|
2300
|
-
/* maximum heap size */
|
2301
|
-
|
2302
|
-
var MAX_BITS = 15;
|
2303
|
-
/* All codes must not exceed MAX_BITS bits */
|
2304
|
-
|
2305
|
-
var Buf_size = 16;
|
2306
|
-
/* size of bit buffer in bi_buf */
|
2307
|
-
|
2308
|
-
|
2309
|
-
/* ===========================================================================
|
2310
|
-
* Constants
|
2311
|
-
*/
|
2312
|
-
|
2313
|
-
var MAX_BL_BITS = 7;
|
2314
|
-
/* Bit length codes must not exceed MAX_BL_BITS bits */
|
2315
|
-
|
2316
|
-
var END_BLOCK = 256;
|
2317
|
-
/* end of block literal code */
|
2318
|
-
|
2319
|
-
var REP_3_6 = 16;
|
2320
|
-
/* repeat previous bit length 3-6 times (2 bits of repeat count) */
|
2321
|
-
|
2322
|
-
var REPZ_3_10 = 17;
|
2323
|
-
/* repeat a zero length 3-10 times (3 bits of repeat count) */
|
2324
|
-
|
2325
|
-
var REPZ_11_138 = 18;
|
2326
|
-
/* repeat a zero length 11-138 times (7 bits of repeat count) */
|
2327
|
-
|
2328
|
-
/* eslint-disable comma-spacing,array-bracket-spacing */
|
2329
|
-
var extra_lbits = /* extra bits for each length code */
|
2330
|
-
[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];
|
2331
|
-
|
2332
|
-
var extra_dbits = /* extra bits for each distance code */
|
2333
|
-
[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];
|
2334
|
-
|
2335
|
-
var extra_blbits = /* extra bits for each bit length code */
|
2336
|
-
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7];
|
2337
|
-
|
2338
|
-
var bl_order =
|
2339
|
-
[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];
|
2340
|
-
/* eslint-enable comma-spacing,array-bracket-spacing */
|
2341
|
-
|
2342
|
-
/* The lengths of the bit length codes are sent in order of decreasing
|
2343
|
-
* probability, to avoid transmitting the lengths for unused bit length codes.
|
2344
|
-
*/
|
2345
|
-
|
2346
|
-
/* ===========================================================================
|
2347
|
-
* Local data. These are initialized only once.
|
2348
|
-
*/
|
2349
|
-
|
2350
|
-
// We pre-fill arrays with 0 to avoid uninitialized gaps
|
2351
|
-
|
2352
|
-
var DIST_CODE_LEN = 512; /* see definition of array dist_code below */
|
2353
|
-
|
2354
|
-
// !!!! Use flat array insdead of structure, Freq = i*2, Len = i*2+1
|
2355
|
-
var static_ltree = new Array((L_CODES + 2) * 2);
|
2356
|
-
zero(static_ltree);
|
2357
|
-
/* The static literal tree. Since the bit lengths are imposed, there is no
|
2358
|
-
* need for the L_CODES extra codes used during heap construction. However
|
2359
|
-
* The codes 286 and 287 are needed to build a canonical tree (see _tr_init
|
2360
|
-
* below).
|
2361
|
-
*/
|
2362
|
-
|
2363
|
-
var static_dtree = new Array(D_CODES * 2);
|
2364
|
-
zero(static_dtree);
|
2365
|
-
/* The static distance tree. (Actually a trivial tree since all codes use
|
2366
|
-
* 5 bits.)
|
2367
|
-
*/
|
2368
|
-
|
2369
|
-
var _dist_code = new Array(DIST_CODE_LEN);
|
2370
|
-
zero(_dist_code);
|
2371
|
-
/* Distance codes. The first 256 values correspond to the distances
|
2372
|
-
* 3 .. 258, the last 256 values correspond to the top 8 bits of
|
2373
|
-
* the 15 bit distances.
|
2374
|
-
*/
|
2375
|
-
|
2376
|
-
var _length_code = new Array(MAX_MATCH - MIN_MATCH + 1);
|
2377
|
-
zero(_length_code);
|
2378
|
-
/* length code for each normalized match length (0 == MIN_MATCH) */
|
2379
|
-
|
2380
|
-
var base_length = new Array(LENGTH_CODES);
|
2381
|
-
zero(base_length);
|
2382
|
-
/* First normalized length for each code (0 = MIN_MATCH) */
|
2383
|
-
|
2384
|
-
var base_dist = new Array(D_CODES);
|
2385
|
-
zero(base_dist);
|
2386
|
-
/* First normalized distance for each code (0 = distance of 1) */
|
2387
|
-
|
2388
|
-
|
2389
|
-
function StaticTreeDesc(static_tree, extra_bits, extra_base, elems, max_length) {
|
2390
|
-
|
2391
|
-
this.static_tree = static_tree; /* static tree or NULL */
|
2392
|
-
this.extra_bits = extra_bits; /* extra bits for each code or NULL */
|
2393
|
-
this.extra_base = extra_base; /* base index for extra_bits */
|
2394
|
-
this.elems = elems; /* max number of elements in the tree */
|
2395
|
-
this.max_length = max_length; /* max bit length for the codes */
|
2396
|
-
|
2397
|
-
// show if `static_tree` has data or dummy - needed for monomorphic objects
|
2398
|
-
this.has_stree = static_tree && static_tree.length;
|
2399
|
-
}
|
2400
|
-
|
2401
|
-
|
2402
|
-
var static_l_desc;
|
2403
|
-
var static_d_desc;
|
2404
|
-
var static_bl_desc;
|
2405
|
-
|
2406
|
-
|
2407
|
-
function TreeDesc(dyn_tree, stat_desc) {
|
2408
|
-
this.dyn_tree = dyn_tree; /* the dynamic tree */
|
2409
|
-
this.max_code = 0; /* largest code with non zero frequency */
|
2410
|
-
this.stat_desc = stat_desc; /* the corresponding static tree */
|
2411
|
-
}
|
2412
|
-
|
2413
|
-
|
2414
|
-
|
2415
|
-
function d_code(dist) {
|
2416
|
-
return dist < 256 ? _dist_code[dist] : _dist_code[256 + (dist >>> 7)];
|
2417
|
-
}
|
2418
|
-
|
2419
|
-
|
2420
|
-
/* ===========================================================================
|
2421
|
-
* Output a short LSB first on the stream.
|
2422
|
-
* IN assertion: there is enough room in pendingBuf.
|
2423
|
-
*/
|
2424
|
-
function put_short(s, w) {
|
2425
|
-
// put_byte(s, (uch)((w) & 0xff));
|
2426
|
-
// put_byte(s, (uch)((ush)(w) >> 8));
|
2427
|
-
s.pending_buf[s.pending++] = (w) & 0xff;
|
2428
|
-
s.pending_buf[s.pending++] = (w >>> 8) & 0xff;
|
2429
|
-
}
|
2430
|
-
|
2431
|
-
|
2432
|
-
/* ===========================================================================
|
2433
|
-
* Send a value on a given number of bits.
|
2434
|
-
* IN assertion: length <= 16 and value fits in length bits.
|
2435
|
-
*/
|
2436
|
-
function send_bits(s, value, length) {
|
2437
|
-
if (s.bi_valid > (Buf_size - length)) {
|
2438
|
-
s.bi_buf |= (value << s.bi_valid) & 0xffff;
|
2439
|
-
put_short(s, s.bi_buf);
|
2440
|
-
s.bi_buf = value >> (Buf_size - s.bi_valid);
|
2441
|
-
s.bi_valid += length - Buf_size;
|
2442
|
-
} else {
|
2443
|
-
s.bi_buf |= (value << s.bi_valid) & 0xffff;
|
2444
|
-
s.bi_valid += length;
|
2445
|
-
}
|
2446
|
-
}
|
2447
|
-
|
2448
|
-
|
2449
|
-
function send_code(s, c, tree) {
|
2450
|
-
send_bits(s, tree[c * 2]/*.Code*/, tree[c * 2 + 1]/*.Len*/);
|
2451
|
-
}
|
2452
|
-
|
2453
|
-
|
2454
|
-
/* ===========================================================================
|
2455
|
-
* Reverse the first len bits of a code, using straightforward code (a faster
|
2456
|
-
* method would use a table)
|
2457
|
-
* IN assertion: 1 <= len <= 15
|
2458
|
-
*/
|
2459
|
-
function bi_reverse(code, len) {
|
2460
|
-
var res = 0;
|
2461
|
-
do {
|
2462
|
-
res |= code & 1;
|
2463
|
-
code >>>= 1;
|
2464
|
-
res <<= 1;
|
2465
|
-
} while (--len > 0);
|
2466
|
-
return res >>> 1;
|
2467
|
-
}
|
2468
|
-
|
2469
|
-
|
2470
|
-
/* ===========================================================================
|
2471
|
-
* Flush the bit buffer, keeping at most 7 bits in it.
|
2472
|
-
*/
|
2473
|
-
function bi_flush(s) {
|
2474
|
-
if (s.bi_valid === 16) {
|
2475
|
-
put_short(s, s.bi_buf);
|
2476
|
-
s.bi_buf = 0;
|
2477
|
-
s.bi_valid = 0;
|
2478
|
-
|
2479
|
-
} else if (s.bi_valid >= 8) {
|
2480
|
-
s.pending_buf[s.pending++] = s.bi_buf & 0xff;
|
2481
|
-
s.bi_buf >>= 8;
|
2482
|
-
s.bi_valid -= 8;
|
2483
|
-
}
|
2484
|
-
}
|
2485
|
-
|
2486
|
-
|
2487
|
-
/* ===========================================================================
|
2488
|
-
* Compute the optimal bit lengths for a tree and update the total bit length
|
2489
|
-
* for the current block.
|
2490
|
-
* IN assertion: the fields freq and dad are set, heap[heap_max] and
|
2491
|
-
* above are the tree nodes sorted by increasing frequency.
|
2492
|
-
* OUT assertions: the field len is set to the optimal bit length, the
|
2493
|
-
* array bl_count contains the frequencies for each bit length.
|
2494
|
-
* The length opt_len is updated; static_len is also updated if stree is
|
2495
|
-
* not null.
|
2496
|
-
*/
|
2497
|
-
function gen_bitlen(s, desc)
|
2498
|
-
// deflate_state *s;
|
2499
|
-
// tree_desc *desc; /* the tree descriptor */
|
2500
|
-
{
|
2501
|
-
var tree = desc.dyn_tree;
|
2502
|
-
var max_code = desc.max_code;
|
2503
|
-
var stree = desc.stat_desc.static_tree;
|
2504
|
-
var has_stree = desc.stat_desc.has_stree;
|
2505
|
-
var extra = desc.stat_desc.extra_bits;
|
2506
|
-
var base = desc.stat_desc.extra_base;
|
2507
|
-
var max_length = desc.stat_desc.max_length;
|
2508
|
-
var h; /* heap index */
|
2509
|
-
var n, m; /* iterate over the tree elements */
|
2510
|
-
var bits; /* bit length */
|
2511
|
-
var xbits; /* extra bits */
|
2512
|
-
var f; /* frequency */
|
2513
|
-
var overflow = 0; /* number of elements with bit length too large */
|
2514
|
-
|
2515
|
-
for (bits = 0; bits <= MAX_BITS; bits++) {
|
2516
|
-
s.bl_count[bits] = 0;
|
2517
|
-
}
|
2518
|
-
|
2519
|
-
/* In a first pass, compute the optimal bit lengths (which may
|
2520
|
-
* overflow in the case of the bit length tree).
|
2521
|
-
*/
|
2522
|
-
tree[s.heap[s.heap_max] * 2 + 1]/*.Len*/ = 0; /* root of the heap */
|
2523
|
-
|
2524
|
-
for (h = s.heap_max + 1; h < HEAP_SIZE; h++) {
|
2525
|
-
n = s.heap[h];
|
2526
|
-
bits = tree[tree[n * 2 + 1]/*.Dad*/ * 2 + 1]/*.Len*/ + 1;
|
2527
|
-
if (bits > max_length) {
|
2528
|
-
bits = max_length;
|
2529
|
-
overflow++;
|
2530
|
-
}
|
2531
|
-
tree[n * 2 + 1]/*.Len*/ = bits;
|
2532
|
-
/* We overwrite tree[n].Dad which is no longer needed */
|
2533
|
-
|
2534
|
-
if (n > max_code) { continue; } /* not a leaf node */
|
2535
|
-
|
2536
|
-
s.bl_count[bits]++;
|
2537
|
-
xbits = 0;
|
2538
|
-
if (n >= base) {
|
2539
|
-
xbits = extra[n - base];
|
2540
|
-
}
|
2541
|
-
f = tree[n * 2]/*.Freq*/;
|
2542
|
-
s.opt_len += f * (bits + xbits);
|
2543
|
-
if (has_stree) {
|
2544
|
-
s.static_len += f * (stree[n * 2 + 1]/*.Len*/ + xbits);
|
2545
|
-
}
|
2546
|
-
}
|
2547
|
-
if (overflow === 0) { return; }
|
2548
|
-
|
2549
|
-
// Trace((stderr,"\nbit length overflow\n"));
|
2550
|
-
/* This happens for example on obj2 and pic of the Calgary corpus */
|
2551
|
-
|
2552
|
-
/* Find the first bit length which could increase: */
|
2553
|
-
do {
|
2554
|
-
bits = max_length - 1;
|
2555
|
-
while (s.bl_count[bits] === 0) { bits--; }
|
2556
|
-
s.bl_count[bits]--; /* move one leaf down the tree */
|
2557
|
-
s.bl_count[bits + 1] += 2; /* move one overflow item as its brother */
|
2558
|
-
s.bl_count[max_length]--;
|
2559
|
-
/* The brother of the overflow item also moves one step up,
|
2560
|
-
* but this does not affect bl_count[max_length]
|
2561
|
-
*/
|
2562
|
-
overflow -= 2;
|
2563
|
-
} while (overflow > 0);
|
2564
|
-
|
2565
|
-
/* Now recompute all bit lengths, scanning in increasing frequency.
|
2566
|
-
* h is still equal to HEAP_SIZE. (It is simpler to reconstruct all
|
2567
|
-
* lengths instead of fixing only the wrong ones. This idea is taken
|
2568
|
-
* from 'ar' written by Haruhiko Okumura.)
|
2569
|
-
*/
|
2570
|
-
for (bits = max_length; bits !== 0; bits--) {
|
2571
|
-
n = s.bl_count[bits];
|
2572
|
-
while (n !== 0) {
|
2573
|
-
m = s.heap[--h];
|
2574
|
-
if (m > max_code) { continue; }
|
2575
|
-
if (tree[m * 2 + 1]/*.Len*/ !== bits) {
|
2576
|
-
// Trace((stderr,"code %d bits %d->%d\n", m, tree[m].Len, bits));
|
2577
|
-
s.opt_len += (bits - tree[m * 2 + 1]/*.Len*/) * tree[m * 2]/*.Freq*/;
|
2578
|
-
tree[m * 2 + 1]/*.Len*/ = bits;
|
2579
|
-
}
|
2580
|
-
n--;
|
2581
|
-
}
|
2582
|
-
}
|
2583
|
-
}
|
2584
|
-
|
2585
|
-
|
2586
|
-
/* ===========================================================================
|
2587
|
-
* Generate the codes for a given tree and bit counts (which need not be
|
2588
|
-
* optimal).
|
2589
|
-
* IN assertion: the array bl_count contains the bit length statistics for
|
2590
|
-
* the given tree and the field len is set for all tree elements.
|
2591
|
-
* OUT assertion: the field code is set for all tree elements of non
|
2592
|
-
* zero code length.
|
2593
|
-
*/
|
2594
|
-
function gen_codes(tree, max_code, bl_count)
|
2595
|
-
// ct_data *tree; /* the tree to decorate */
|
2596
|
-
// int max_code; /* largest code with non zero frequency */
|
2597
|
-
// ushf *bl_count; /* number of codes at each bit length */
|
2598
|
-
{
|
2599
|
-
var next_code = new Array(MAX_BITS + 1); /* next code value for each bit length */
|
2600
|
-
var code = 0; /* running code value */
|
2601
|
-
var bits; /* bit index */
|
2602
|
-
var n; /* code index */
|
2603
|
-
|
2604
|
-
/* The distribution counts are first used to generate the code values
|
2605
|
-
* without bit reversal.
|
2606
|
-
*/
|
2607
|
-
for (bits = 1; bits <= MAX_BITS; bits++) {
|
2608
|
-
next_code[bits] = code = (code + bl_count[bits - 1]) << 1;
|
2609
|
-
}
|
2610
|
-
/* Check that the bit counts in bl_count are consistent. The last code
|
2611
|
-
* must be all ones.
|
2612
|
-
*/
|
2613
|
-
//Assert (code + bl_count[MAX_BITS]-1 == (1<<MAX_BITS)-1,
|
2614
|
-
// "inconsistent bit counts");
|
2615
|
-
//Tracev((stderr,"\ngen_codes: max_code %d ", max_code));
|
2616
|
-
|
2617
|
-
for (n = 0; n <= max_code; n++) {
|
2618
|
-
var len = tree[n * 2 + 1]/*.Len*/;
|
2619
|
-
if (len === 0) { continue; }
|
2620
|
-
/* Now reverse the bits */
|
2621
|
-
tree[n * 2]/*.Code*/ = bi_reverse(next_code[len]++, len);
|
2622
|
-
|
2623
|
-
//Tracecv(tree != static_ltree, (stderr,"\nn %3d %c l %2d c %4x (%x) ",
|
2624
|
-
// n, (isgraph(n) ? n : ' '), len, tree[n].Code, next_code[len]-1));
|
2625
|
-
}
|
2626
|
-
}
|
2627
|
-
|
2628
|
-
|
2629
|
-
/* ===========================================================================
|
2630
|
-
* Initialize the various 'constant' tables.
|
2631
|
-
*/
|
2632
|
-
function tr_static_init() {
|
2633
|
-
var n; /* iterates over tree elements */
|
2634
|
-
var bits; /* bit counter */
|
2635
|
-
var length; /* length value */
|
2636
|
-
var code; /* code value */
|
2637
|
-
var dist; /* distance index */
|
2638
|
-
var bl_count = new Array(MAX_BITS + 1);
|
2639
|
-
/* number of codes at each bit length for an optimal tree */
|
2640
|
-
|
2641
|
-
// do check in _tr_init()
|
2642
|
-
//if (static_init_done) return;
|
2643
|
-
|
2644
|
-
/* For some embedded targets, global variables are not initialized: */
|
2645
|
-
/*#ifdef NO_INIT_GLOBAL_POINTERS
|
2646
|
-
static_l_desc.static_tree = static_ltree;
|
2647
|
-
static_l_desc.extra_bits = extra_lbits;
|
2648
|
-
static_d_desc.static_tree = static_dtree;
|
2649
|
-
static_d_desc.extra_bits = extra_dbits;
|
2650
|
-
static_bl_desc.extra_bits = extra_blbits;
|
2651
|
-
#endif*/
|
2652
|
-
|
2653
|
-
/* Initialize the mapping length (0..255) -> length code (0..28) */
|
2654
|
-
length = 0;
|
2655
|
-
for (code = 0; code < LENGTH_CODES - 1; code++) {
|
2656
|
-
base_length[code] = length;
|
2657
|
-
for (n = 0; n < (1 << extra_lbits[code]); n++) {
|
2658
|
-
_length_code[length++] = code;
|
2659
|
-
}
|
2660
|
-
}
|
2661
|
-
//Assert (length == 256, "tr_static_init: length != 256");
|
2662
|
-
/* Note that the length 255 (match length 258) can be represented
|
2663
|
-
* in two different ways: code 284 + 5 bits or code 285, so we
|
2664
|
-
* overwrite length_code[255] to use the best encoding:
|
2665
|
-
*/
|
2666
|
-
_length_code[length - 1] = code;
|
2667
|
-
|
2668
|
-
/* Initialize the mapping dist (0..32K) -> dist code (0..29) */
|
2669
|
-
dist = 0;
|
2670
|
-
for (code = 0; code < 16; code++) {
|
2671
|
-
base_dist[code] = dist;
|
2672
|
-
for (n = 0; n < (1 << extra_dbits[code]); n++) {
|
2673
|
-
_dist_code[dist++] = code;
|
2674
|
-
}
|
2675
|
-
}
|
2676
|
-
//Assert (dist == 256, "tr_static_init: dist != 256");
|
2677
|
-
dist >>= 7; /* from now on, all distances are divided by 128 */
|
2678
|
-
for (; code < D_CODES; code++) {
|
2679
|
-
base_dist[code] = dist << 7;
|
2680
|
-
for (n = 0; n < (1 << (extra_dbits[code] - 7)); n++) {
|
2681
|
-
_dist_code[256 + dist++] = code;
|
2682
|
-
}
|
2683
|
-
}
|
2684
|
-
//Assert (dist == 256, "tr_static_init: 256+dist != 512");
|
2685
|
-
|
2686
|
-
/* Construct the codes of the static literal tree */
|
2687
|
-
for (bits = 0; bits <= MAX_BITS; bits++) {
|
2688
|
-
bl_count[bits] = 0;
|
2689
|
-
}
|
2690
|
-
|
2691
|
-
n = 0;
|
2692
|
-
while (n <= 143) {
|
2693
|
-
static_ltree[n * 2 + 1]/*.Len*/ = 8;
|
2694
|
-
n++;
|
2695
|
-
bl_count[8]++;
|
2696
|
-
}
|
2697
|
-
while (n <= 255) {
|
2698
|
-
static_ltree[n * 2 + 1]/*.Len*/ = 9;
|
2699
|
-
n++;
|
2700
|
-
bl_count[9]++;
|
2701
|
-
}
|
2702
|
-
while (n <= 279) {
|
2703
|
-
static_ltree[n * 2 + 1]/*.Len*/ = 7;
|
2704
|
-
n++;
|
2705
|
-
bl_count[7]++;
|
2706
|
-
}
|
2707
|
-
while (n <= 287) {
|
2708
|
-
static_ltree[n * 2 + 1]/*.Len*/ = 8;
|
2709
|
-
n++;
|
2710
|
-
bl_count[8]++;
|
2711
|
-
}
|
2712
|
-
/* Codes 286 and 287 do not exist, but we must include them in the
|
2713
|
-
* tree construction to get a canonical Huffman tree (longest code
|
2714
|
-
* all ones)
|
2715
|
-
*/
|
2716
|
-
gen_codes(static_ltree, L_CODES + 1, bl_count);
|
2717
|
-
|
2718
|
-
/* The static distance tree is trivial: */
|
2719
|
-
for (n = 0; n < D_CODES; n++) {
|
2720
|
-
static_dtree[n * 2 + 1]/*.Len*/ = 5;
|
2721
|
-
static_dtree[n * 2]/*.Code*/ = bi_reverse(n, 5);
|
2722
|
-
}
|
2723
|
-
|
2724
|
-
// Now data ready and we can init static trees
|
2725
|
-
static_l_desc = new StaticTreeDesc(static_ltree, extra_lbits, LITERALS + 1, L_CODES, MAX_BITS);
|
2726
|
-
static_d_desc = new StaticTreeDesc(static_dtree, extra_dbits, 0, D_CODES, MAX_BITS);
|
2727
|
-
static_bl_desc = new StaticTreeDesc(new Array(0), extra_blbits, 0, BL_CODES, MAX_BL_BITS);
|
2728
|
-
|
2729
|
-
//static_init_done = true;
|
2730
|
-
}
|
2731
|
-
|
2732
|
-
|
2733
|
-
/* ===========================================================================
|
2734
|
-
* Initialize a new block.
|
2735
|
-
*/
|
2736
|
-
function init_block(s) {
|
2737
|
-
var n; /* iterates over tree elements */
|
2738
|
-
|
2739
|
-
/* Initialize the trees. */
|
2740
|
-
for (n = 0; n < L_CODES; n++) { s.dyn_ltree[n * 2]/*.Freq*/ = 0; }
|
2741
|
-
for (n = 0; n < D_CODES; n++) { s.dyn_dtree[n * 2]/*.Freq*/ = 0; }
|
2742
|
-
for (n = 0; n < BL_CODES; n++) { s.bl_tree[n * 2]/*.Freq*/ = 0; }
|
2743
|
-
|
2744
|
-
s.dyn_ltree[END_BLOCK * 2]/*.Freq*/ = 1;
|
2745
|
-
s.opt_len = s.static_len = 0;
|
2746
|
-
s.last_lit = s.matches = 0;
|
2747
|
-
}
|
2748
|
-
|
2749
|
-
|
2750
|
-
/* ===========================================================================
|
2751
|
-
* Flush the bit buffer and align the output on a byte boundary
|
2752
|
-
*/
|
2753
|
-
function bi_windup(s)
|
2754
|
-
{
|
2755
|
-
if (s.bi_valid > 8) {
|
2756
|
-
put_short(s, s.bi_buf);
|
2757
|
-
} else if (s.bi_valid > 0) {
|
2758
|
-
//put_byte(s, (Byte)s->bi_buf);
|
2759
|
-
s.pending_buf[s.pending++] = s.bi_buf;
|
2760
|
-
}
|
2761
|
-
s.bi_buf = 0;
|
2762
|
-
s.bi_valid = 0;
|
2763
|
-
}
|
2764
|
-
|
2765
|
-
/* ===========================================================================
|
2766
|
-
* Copy a stored block, storing first the length and its
|
2767
|
-
* one's complement if requested.
|
2768
|
-
*/
|
2769
|
-
function copy_block(s, buf, len, header)
|
2770
|
-
//DeflateState *s;
|
2771
|
-
//charf *buf; /* the input data */
|
2772
|
-
//unsigned len; /* its length */
|
2773
|
-
//int header; /* true if block header must be written */
|
2774
|
-
{
|
2775
|
-
bi_windup(s); /* align on byte boundary */
|
2776
|
-
|
2777
|
-
if (header) {
|
2778
|
-
put_short(s, len);
|
2779
|
-
put_short(s, ~len);
|
2780
|
-
}
|
2781
|
-
// while (len--) {
|
2782
|
-
// put_byte(s, *buf++);
|
2783
|
-
// }
|
2784
|
-
utils.arraySet(s.pending_buf, s.window, buf, len, s.pending);
|
2785
|
-
s.pending += len;
|
2786
|
-
}
|
2787
|
-
|
2788
|
-
/* ===========================================================================
|
2789
|
-
* Compares to subtrees, using the tree depth as tie breaker when
|
2790
|
-
* the subtrees have equal frequency. This minimizes the worst case length.
|
2791
|
-
*/
|
2792
|
-
function smaller(tree, n, m, depth) {
|
2793
|
-
var _n2 = n * 2;
|
2794
|
-
var _m2 = m * 2;
|
2795
|
-
return (tree[_n2]/*.Freq*/ < tree[_m2]/*.Freq*/ ||
|
2796
|
-
(tree[_n2]/*.Freq*/ === tree[_m2]/*.Freq*/ && depth[n] <= depth[m]));
|
2797
|
-
}
|
2798
|
-
|
2799
|
-
/* ===========================================================================
|
2800
|
-
* Restore the heap property by moving down the tree starting at node k,
|
2801
|
-
* exchanging a node with the smallest of its two sons if necessary, stopping
|
2802
|
-
* when the heap property is re-established (each father smaller than its
|
2803
|
-
* two sons).
|
2804
|
-
*/
|
2805
|
-
function pqdownheap(s, tree, k)
|
2806
|
-
// deflate_state *s;
|
2807
|
-
// ct_data *tree; /* the tree to restore */
|
2808
|
-
// int k; /* node to move down */
|
2809
|
-
{
|
2810
|
-
var v = s.heap[k];
|
2811
|
-
var j = k << 1; /* left son of k */
|
2812
|
-
while (j <= s.heap_len) {
|
2813
|
-
/* Set j to the smallest of the two sons: */
|
2814
|
-
if (j < s.heap_len &&
|
2815
|
-
smaller(tree, s.heap[j + 1], s.heap[j], s.depth)) {
|
2816
|
-
j++;
|
2817
|
-
}
|
2818
|
-
/* Exit if v is smaller than both sons */
|
2819
|
-
if (smaller(tree, v, s.heap[j], s.depth)) { break; }
|
2820
|
-
|
2821
|
-
/* Exchange v with the smallest son */
|
2822
|
-
s.heap[k] = s.heap[j];
|
2823
|
-
k = j;
|
2824
|
-
|
2825
|
-
/* And continue down the tree, setting j to the left son of k */
|
2826
|
-
j <<= 1;
|
2827
|
-
}
|
2828
|
-
s.heap[k] = v;
|
2829
|
-
}
|
2830
|
-
|
2831
|
-
|
2832
|
-
// inlined manually
|
2833
|
-
// var SMALLEST = 1;
|
2834
|
-
|
2835
|
-
/* ===========================================================================
|
2836
|
-
* Send the block data compressed using the given Huffman trees
|
2837
|
-
*/
|
2838
|
-
function compress_block(s, ltree, dtree)
|
2839
|
-
// deflate_state *s;
|
2840
|
-
// const ct_data *ltree; /* literal tree */
|
2841
|
-
// const ct_data *dtree; /* distance tree */
|
2842
|
-
{
|
2843
|
-
var dist; /* distance of matched string */
|
2844
|
-
var lc; /* match length or unmatched char (if dist == 0) */
|
2845
|
-
var lx = 0; /* running index in l_buf */
|
2846
|
-
var code; /* the code to send */
|
2847
|
-
var extra; /* number of extra bits to send */
|
2848
|
-
|
2849
|
-
if (s.last_lit !== 0) {
|
2850
|
-
do {
|
2851
|
-
dist = (s.pending_buf[s.d_buf + lx * 2] << 8) | (s.pending_buf[s.d_buf + lx * 2 + 1]);
|
2852
|
-
lc = s.pending_buf[s.l_buf + lx];
|
2853
|
-
lx++;
|
2854
|
-
|
2855
|
-
if (dist === 0) {
|
2856
|
-
send_code(s, lc, ltree); /* send a literal byte */
|
2857
|
-
//Tracecv(isgraph(lc), (stderr," '%c' ", lc));
|
2858
|
-
} else {
|
2859
|
-
/* Here, lc is the match length - MIN_MATCH */
|
2860
|
-
code = _length_code[lc];
|
2861
|
-
send_code(s, code + LITERALS + 1, ltree); /* send the length code */
|
2862
|
-
extra = extra_lbits[code];
|
2863
|
-
if (extra !== 0) {
|
2864
|
-
lc -= base_length[code];
|
2865
|
-
send_bits(s, lc, extra); /* send the extra length bits */
|
2866
|
-
}
|
2867
|
-
dist--; /* dist is now the match distance - 1 */
|
2868
|
-
code = d_code(dist);
|
2869
|
-
//Assert (code < D_CODES, "bad d_code");
|
2870
|
-
|
2871
|
-
send_code(s, code, dtree); /* send the distance code */
|
2872
|
-
extra = extra_dbits[code];
|
2873
|
-
if (extra !== 0) {
|
2874
|
-
dist -= base_dist[code];
|
2875
|
-
send_bits(s, dist, extra); /* send the extra distance bits */
|
2876
|
-
}
|
2877
|
-
} /* literal or match pair ? */
|
2878
|
-
|
2879
|
-
/* Check that the overlay between pending_buf and d_buf+l_buf is ok: */
|
2880
|
-
//Assert((uInt)(s->pending) < s->lit_bufsize + 2*lx,
|
2881
|
-
// "pendingBuf overflow");
|
2882
|
-
|
2883
|
-
} while (lx < s.last_lit);
|
2884
|
-
}
|
2885
|
-
|
2886
|
-
send_code(s, END_BLOCK, ltree);
|
2887
|
-
}
|
2888
|
-
|
2889
|
-
|
2890
|
-
/* ===========================================================================
|
2891
|
-
* Construct one Huffman tree and assigns the code bit strings and lengths.
|
2892
|
-
* Update the total bit length for the current block.
|
2893
|
-
* IN assertion: the field freq is set for all tree elements.
|
2894
|
-
* OUT assertions: the fields len and code are set to the optimal bit length
|
2895
|
-
* and corresponding code. The length opt_len is updated; static_len is
|
2896
|
-
* also updated if stree is not null. The field max_code is set.
|
2897
|
-
*/
|
2898
|
-
function build_tree(s, desc)
|
2899
|
-
// deflate_state *s;
|
2900
|
-
// tree_desc *desc; /* the tree descriptor */
|
2901
|
-
{
|
2902
|
-
var tree = desc.dyn_tree;
|
2903
|
-
var stree = desc.stat_desc.static_tree;
|
2904
|
-
var has_stree = desc.stat_desc.has_stree;
|
2905
|
-
var elems = desc.stat_desc.elems;
|
2906
|
-
var n, m; /* iterate over heap elements */
|
2907
|
-
var max_code = -1; /* largest code with non zero frequency */
|
2908
|
-
var node; /* new node being created */
|
2909
|
-
|
2910
|
-
/* Construct the initial heap, with least frequent element in
|
2911
|
-
* heap[SMALLEST]. The sons of heap[n] are heap[2*n] and heap[2*n+1].
|
2912
|
-
* heap[0] is not used.
|
2913
|
-
*/
|
2914
|
-
s.heap_len = 0;
|
2915
|
-
s.heap_max = HEAP_SIZE;
|
2916
|
-
|
2917
|
-
for (n = 0; n < elems; n++) {
|
2918
|
-
if (tree[n * 2]/*.Freq*/ !== 0) {
|
2919
|
-
s.heap[++s.heap_len] = max_code = n;
|
2920
|
-
s.depth[n] = 0;
|
2921
|
-
|
2922
|
-
} else {
|
2923
|
-
tree[n * 2 + 1]/*.Len*/ = 0;
|
2924
|
-
}
|
2925
|
-
}
|
2926
|
-
|
2927
|
-
/* The pkzip format requires that at least one distance code exists,
|
2928
|
-
* and that at least one bit should be sent even if there is only one
|
2929
|
-
* possible code. So to avoid special checks later on we force at least
|
2930
|
-
* two codes of non zero frequency.
|
2931
|
-
*/
|
2932
|
-
while (s.heap_len < 2) {
|
2933
|
-
node = s.heap[++s.heap_len] = (max_code < 2 ? ++max_code : 0);
|
2934
|
-
tree[node * 2]/*.Freq*/ = 1;
|
2935
|
-
s.depth[node] = 0;
|
2936
|
-
s.opt_len--;
|
2937
|
-
|
2938
|
-
if (has_stree) {
|
2939
|
-
s.static_len -= stree[node * 2 + 1]/*.Len*/;
|
2940
|
-
}
|
2941
|
-
/* node is 0 or 1 so it does not have extra bits */
|
2942
|
-
}
|
2943
|
-
desc.max_code = max_code;
|
2944
|
-
|
2945
|
-
/* The elements heap[heap_len/2+1 .. heap_len] are leaves of the tree,
|
2946
|
-
* establish sub-heaps of increasing lengths:
|
2947
|
-
*/
|
2948
|
-
for (n = (s.heap_len >> 1/*int /2*/); n >= 1; n--) { pqdownheap(s, tree, n); }
|
2949
|
-
|
2950
|
-
/* Construct the Huffman tree by repeatedly combining the least two
|
2951
|
-
* frequent nodes.
|
2952
|
-
*/
|
2953
|
-
node = elems; /* next internal node of the tree */
|
2954
|
-
do {
|
2955
|
-
//pqremove(s, tree, n); /* n = node of least frequency */
|
2956
|
-
/*** pqremove ***/
|
2957
|
-
n = s.heap[1/*SMALLEST*/];
|
2958
|
-
s.heap[1/*SMALLEST*/] = s.heap[s.heap_len--];
|
2959
|
-
pqdownheap(s, tree, 1/*SMALLEST*/);
|
2960
|
-
/***/
|
2961
|
-
|
2962
|
-
m = s.heap[1/*SMALLEST*/]; /* m = node of next least frequency */
|
2963
|
-
|
2964
|
-
s.heap[--s.heap_max] = n; /* keep the nodes sorted by frequency */
|
2965
|
-
s.heap[--s.heap_max] = m;
|
2966
|
-
|
2967
|
-
/* Create a new node father of n and m */
|
2968
|
-
tree[node * 2]/*.Freq*/ = tree[n * 2]/*.Freq*/ + tree[m * 2]/*.Freq*/;
|
2969
|
-
s.depth[node] = (s.depth[n] >= s.depth[m] ? s.depth[n] : s.depth[m]) + 1;
|
2970
|
-
tree[n * 2 + 1]/*.Dad*/ = tree[m * 2 + 1]/*.Dad*/ = node;
|
2971
|
-
|
2972
|
-
/* and insert the new node in the heap */
|
2973
|
-
s.heap[1/*SMALLEST*/] = node++;
|
2974
|
-
pqdownheap(s, tree, 1/*SMALLEST*/);
|
2975
|
-
|
2976
|
-
} while (s.heap_len >= 2);
|
2977
|
-
|
2978
|
-
s.heap[--s.heap_max] = s.heap[1/*SMALLEST*/];
|
2979
|
-
|
2980
|
-
/* At this point, the fields freq and dad are set. We can now
|
2981
|
-
* generate the bit lengths.
|
2982
|
-
*/
|
2983
|
-
gen_bitlen(s, desc);
|
2984
|
-
|
2985
|
-
/* The field len is now set, we can generate the bit codes */
|
2986
|
-
gen_codes(tree, max_code, s.bl_count);
|
2987
|
-
}
|
2988
|
-
|
2989
|
-
|
2990
|
-
/* ===========================================================================
|
2991
|
-
* Scan a literal or distance tree to determine the frequencies of the codes
|
2992
|
-
* in the bit length tree.
|
2993
|
-
*/
|
2994
|
-
function scan_tree(s, tree, max_code)
|
2995
|
-
// deflate_state *s;
|
2996
|
-
// ct_data *tree; /* the tree to be scanned */
|
2997
|
-
// int max_code; /* and its largest code of non zero frequency */
|
2998
|
-
{
|
2999
|
-
var n; /* iterates over all tree elements */
|
3000
|
-
var prevlen = -1; /* last emitted length */
|
3001
|
-
var curlen; /* length of current code */
|
3002
|
-
|
3003
|
-
var nextlen = tree[0 * 2 + 1]/*.Len*/; /* length of next code */
|
3004
|
-
|
3005
|
-
var count = 0; /* repeat count of the current code */
|
3006
|
-
var max_count = 7; /* max repeat count */
|
3007
|
-
var min_count = 4; /* min repeat count */
|
3008
|
-
|
3009
|
-
if (nextlen === 0) {
|
3010
|
-
max_count = 138;
|
3011
|
-
min_count = 3;
|
3012
|
-
}
|
3013
|
-
tree[(max_code + 1) * 2 + 1]/*.Len*/ = 0xffff; /* guard */
|
3014
|
-
|
3015
|
-
for (n = 0; n <= max_code; n++) {
|
3016
|
-
curlen = nextlen;
|
3017
|
-
nextlen = tree[(n + 1) * 2 + 1]/*.Len*/;
|
3018
|
-
|
3019
|
-
if (++count < max_count && curlen === nextlen) {
|
3020
|
-
continue;
|
3021
|
-
|
3022
|
-
} else if (count < min_count) {
|
3023
|
-
s.bl_tree[curlen * 2]/*.Freq*/ += count;
|
3024
|
-
|
3025
|
-
} else if (curlen !== 0) {
|
3026
|
-
|
3027
|
-
if (curlen !== prevlen) { s.bl_tree[curlen * 2]/*.Freq*/++; }
|
3028
|
-
s.bl_tree[REP_3_6 * 2]/*.Freq*/++;
|
3029
|
-
|
3030
|
-
} else if (count <= 10) {
|
3031
|
-
s.bl_tree[REPZ_3_10 * 2]/*.Freq*/++;
|
3032
|
-
|
3033
|
-
} else {
|
3034
|
-
s.bl_tree[REPZ_11_138 * 2]/*.Freq*/++;
|
3035
|
-
}
|
3036
|
-
|
3037
|
-
count = 0;
|
3038
|
-
prevlen = curlen;
|
3039
|
-
|
3040
|
-
if (nextlen === 0) {
|
3041
|
-
max_count = 138;
|
3042
|
-
min_count = 3;
|
3043
|
-
|
3044
|
-
} else if (curlen === nextlen) {
|
3045
|
-
max_count = 6;
|
3046
|
-
min_count = 3;
|
3047
|
-
|
3048
|
-
} else {
|
3049
|
-
max_count = 7;
|
3050
|
-
min_count = 4;
|
3051
|
-
}
|
3052
|
-
}
|
3053
|
-
}
|
3054
|
-
|
3055
|
-
|
3056
|
-
/* ===========================================================================
|
3057
|
-
* Send a literal or distance tree in compressed form, using the codes in
|
3058
|
-
* bl_tree.
|
3059
|
-
*/
|
3060
|
-
function send_tree(s, tree, max_code)
|
3061
|
-
// deflate_state *s;
|
3062
|
-
// ct_data *tree; /* the tree to be scanned */
|
3063
|
-
// int max_code; /* and its largest code of non zero frequency */
|
3064
|
-
{
|
3065
|
-
var n; /* iterates over all tree elements */
|
3066
|
-
var prevlen = -1; /* last emitted length */
|
3067
|
-
var curlen; /* length of current code */
|
3068
|
-
|
3069
|
-
var nextlen = tree[0 * 2 + 1]/*.Len*/; /* length of next code */
|
3070
|
-
|
3071
|
-
var count = 0; /* repeat count of the current code */
|
3072
|
-
var max_count = 7; /* max repeat count */
|
3073
|
-
var min_count = 4; /* min repeat count */
|
3074
|
-
|
3075
|
-
/* tree[max_code+1].Len = -1; */ /* guard already set */
|
3076
|
-
if (nextlen === 0) {
|
3077
|
-
max_count = 138;
|
3078
|
-
min_count = 3;
|
3079
|
-
}
|
3080
|
-
|
3081
|
-
for (n = 0; n <= max_code; n++) {
|
3082
|
-
curlen = nextlen;
|
3083
|
-
nextlen = tree[(n + 1) * 2 + 1]/*.Len*/;
|
3084
|
-
|
3085
|
-
if (++count < max_count && curlen === nextlen) {
|
3086
|
-
continue;
|
3087
|
-
|
3088
|
-
} else if (count < min_count) {
|
3089
|
-
do { send_code(s, curlen, s.bl_tree); } while (--count !== 0);
|
3090
|
-
|
3091
|
-
} else if (curlen !== 0) {
|
3092
|
-
if (curlen !== prevlen) {
|
3093
|
-
send_code(s, curlen, s.bl_tree);
|
3094
|
-
count--;
|
3095
|
-
}
|
3096
|
-
//Assert(count >= 3 && count <= 6, " 3_6?");
|
3097
|
-
send_code(s, REP_3_6, s.bl_tree);
|
3098
|
-
send_bits(s, count - 3, 2);
|
3099
|
-
|
3100
|
-
} else if (count <= 10) {
|
3101
|
-
send_code(s, REPZ_3_10, s.bl_tree);
|
3102
|
-
send_bits(s, count - 3, 3);
|
3103
|
-
|
3104
|
-
} else {
|
3105
|
-
send_code(s, REPZ_11_138, s.bl_tree);
|
3106
|
-
send_bits(s, count - 11, 7);
|
3107
|
-
}
|
3108
|
-
|
3109
|
-
count = 0;
|
3110
|
-
prevlen = curlen;
|
3111
|
-
if (nextlen === 0) {
|
3112
|
-
max_count = 138;
|
3113
|
-
min_count = 3;
|
3114
|
-
|
3115
|
-
} else if (curlen === nextlen) {
|
3116
|
-
max_count = 6;
|
3117
|
-
min_count = 3;
|
3118
|
-
|
3119
|
-
} else {
|
3120
|
-
max_count = 7;
|
3121
|
-
min_count = 4;
|
3122
|
-
}
|
3123
|
-
}
|
3124
|
-
}
|
3125
|
-
|
3126
|
-
|
3127
|
-
/* ===========================================================================
|
3128
|
-
* Construct the Huffman tree for the bit lengths and return the index in
|
3129
|
-
* bl_order of the last bit length code to send.
|
3130
|
-
*/
|
3131
|
-
function build_bl_tree(s) {
|
3132
|
-
var max_blindex; /* index of last bit length code of non zero freq */
|
3133
|
-
|
3134
|
-
/* Determine the bit length frequencies for literal and distance trees */
|
3135
|
-
scan_tree(s, s.dyn_ltree, s.l_desc.max_code);
|
3136
|
-
scan_tree(s, s.dyn_dtree, s.d_desc.max_code);
|
3137
|
-
|
3138
|
-
/* Build the bit length tree: */
|
3139
|
-
build_tree(s, s.bl_desc);
|
3140
|
-
/* opt_len now includes the length of the tree representations, except
|
3141
|
-
* the lengths of the bit lengths codes and the 5+5+4 bits for the counts.
|
3142
|
-
*/
|
3143
|
-
|
3144
|
-
/* Determine the number of bit length codes to send. The pkzip format
|
3145
|
-
* requires that at least 4 bit length codes be sent. (appnote.txt says
|
3146
|
-
* 3 but the actual value used is 4.)
|
3147
|
-
*/
|
3148
|
-
for (max_blindex = BL_CODES - 1; max_blindex >= 3; max_blindex--) {
|
3149
|
-
if (s.bl_tree[bl_order[max_blindex] * 2 + 1]/*.Len*/ !== 0) {
|
3150
|
-
break;
|
3151
|
-
}
|
3152
|
-
}
|
3153
|
-
/* Update opt_len to include the bit length tree and counts */
|
3154
|
-
s.opt_len += 3 * (max_blindex + 1) + 5 + 5 + 4;
|
3155
|
-
//Tracev((stderr, "\ndyn trees: dyn %ld, stat %ld",
|
3156
|
-
// s->opt_len, s->static_len));
|
3157
|
-
|
3158
|
-
return max_blindex;
|
3159
|
-
}
|
3160
|
-
|
3161
|
-
|
3162
|
-
/* ===========================================================================
|
3163
|
-
* Send the header for a block using dynamic Huffman trees: the counts, the
|
3164
|
-
* lengths of the bit length codes, the literal tree and the distance tree.
|
3165
|
-
* IN assertion: lcodes >= 257, dcodes >= 1, blcodes >= 4.
|
3166
|
-
*/
|
3167
|
-
function send_all_trees(s, lcodes, dcodes, blcodes)
|
3168
|
-
// deflate_state *s;
|
3169
|
-
// int lcodes, dcodes, blcodes; /* number of codes for each tree */
|
3170
|
-
{
|
3171
|
-
var rank; /* index in bl_order */
|
3172
|
-
|
3173
|
-
//Assert (lcodes >= 257 && dcodes >= 1 && blcodes >= 4, "not enough codes");
|
3174
|
-
//Assert (lcodes <= L_CODES && dcodes <= D_CODES && blcodes <= BL_CODES,
|
3175
|
-
// "too many codes");
|
3176
|
-
//Tracev((stderr, "\nbl counts: "));
|
3177
|
-
send_bits(s, lcodes - 257, 5); /* not +255 as stated in appnote.txt */
|
3178
|
-
send_bits(s, dcodes - 1, 5);
|
3179
|
-
send_bits(s, blcodes - 4, 4); /* not -3 as stated in appnote.txt */
|
3180
|
-
for (rank = 0; rank < blcodes; rank++) {
|
3181
|
-
//Tracev((stderr, "\nbl code %2d ", bl_order[rank]));
|
3182
|
-
send_bits(s, s.bl_tree[bl_order[rank] * 2 + 1]/*.Len*/, 3);
|
3183
|
-
}
|
3184
|
-
//Tracev((stderr, "\nbl tree: sent %ld", s->bits_sent));
|
3185
|
-
|
3186
|
-
send_tree(s, s.dyn_ltree, lcodes - 1); /* literal tree */
|
3187
|
-
//Tracev((stderr, "\nlit tree: sent %ld", s->bits_sent));
|
3188
|
-
|
3189
|
-
send_tree(s, s.dyn_dtree, dcodes - 1); /* distance tree */
|
3190
|
-
//Tracev((stderr, "\ndist tree: sent %ld", s->bits_sent));
|
3191
|
-
}
|
3192
|
-
|
3193
|
-
|
3194
|
-
/* ===========================================================================
|
3195
|
-
* Check if the data type is TEXT or BINARY, using the following algorithm:
|
3196
|
-
* - TEXT if the two conditions below are satisfied:
|
3197
|
-
* a) There are no non-portable control characters belonging to the
|
3198
|
-
* "black list" (0..6, 14..25, 28..31).
|
3199
|
-
* b) There is at least one printable character belonging to the
|
3200
|
-
* "white list" (9 {TAB}, 10 {LF}, 13 {CR}, 32..255).
|
3201
|
-
* - BINARY otherwise.
|
3202
|
-
* - The following partially-portable control characters form a
|
3203
|
-
* "gray list" that is ignored in this detection algorithm:
|
3204
|
-
* (7 {BEL}, 8 {BS}, 11 {VT}, 12 {FF}, 26 {SUB}, 27 {ESC}).
|
3205
|
-
* IN assertion: the fields Freq of dyn_ltree are set.
|
3206
|
-
*/
|
3207
|
-
function detect_data_type(s) {
|
3208
|
-
/* black_mask is the bit mask of black-listed bytes
|
3209
|
-
* set bits 0..6, 14..25, and 28..31
|
3210
|
-
* 0xf3ffc07f = binary 11110011111111111100000001111111
|
3211
|
-
*/
|
3212
|
-
var black_mask = 0xf3ffc07f;
|
3213
|
-
var n;
|
3214
|
-
|
3215
|
-
/* Check for non-textual ("black-listed") bytes. */
|
3216
|
-
for (n = 0; n <= 31; n++, black_mask >>>= 1) {
|
3217
|
-
if ((black_mask & 1) && (s.dyn_ltree[n * 2]/*.Freq*/ !== 0)) {
|
3218
|
-
return Z_BINARY;
|
3219
|
-
}
|
3220
|
-
}
|
3221
|
-
|
3222
|
-
/* Check for textual ("white-listed") bytes. */
|
3223
|
-
if (s.dyn_ltree[9 * 2]/*.Freq*/ !== 0 || s.dyn_ltree[10 * 2]/*.Freq*/ !== 0 ||
|
3224
|
-
s.dyn_ltree[13 * 2]/*.Freq*/ !== 0) {
|
3225
|
-
return Z_TEXT;
|
3226
|
-
}
|
3227
|
-
for (n = 32; n < LITERALS; n++) {
|
3228
|
-
if (s.dyn_ltree[n * 2]/*.Freq*/ !== 0) {
|
3229
|
-
return Z_TEXT;
|
3230
|
-
}
|
3231
|
-
}
|
3232
|
-
|
3233
|
-
/* There are no "black-listed" or "white-listed" bytes:
|
3234
|
-
* this stream either is empty or has tolerated ("gray-listed") bytes only.
|
3235
|
-
*/
|
3236
|
-
return Z_BINARY;
|
3237
|
-
}
|
3238
|
-
|
3239
|
-
|
3240
|
-
var static_init_done = false;
|
3241
|
-
|
3242
|
-
/* ===========================================================================
|
3243
|
-
* Initialize the tree data structures for a new zlib stream.
|
3244
|
-
*/
|
3245
|
-
function _tr_init(s)
|
3246
|
-
{
|
3247
|
-
|
3248
|
-
if (!static_init_done) {
|
3249
|
-
tr_static_init();
|
3250
|
-
static_init_done = true;
|
3251
|
-
}
|
3252
|
-
|
3253
|
-
s.l_desc = new TreeDesc(s.dyn_ltree, static_l_desc);
|
3254
|
-
s.d_desc = new TreeDesc(s.dyn_dtree, static_d_desc);
|
3255
|
-
s.bl_desc = new TreeDesc(s.bl_tree, static_bl_desc);
|
3256
|
-
|
3257
|
-
s.bi_buf = 0;
|
3258
|
-
s.bi_valid = 0;
|
3259
|
-
|
3260
|
-
/* Initialize the first block of the first file: */
|
3261
|
-
init_block(s);
|
3262
|
-
}
|
3263
|
-
|
3264
|
-
|
3265
|
-
/* ===========================================================================
|
3266
|
-
* Send a stored block
|
3267
|
-
*/
|
3268
|
-
function _tr_stored_block(s, buf, stored_len, last)
|
3269
|
-
//DeflateState *s;
|
3270
|
-
//charf *buf; /* input block */
|
3271
|
-
//ulg stored_len; /* length of input block */
|
3272
|
-
//int last; /* one if this is the last block for a file */
|
3273
|
-
{
|
3274
|
-
send_bits(s, (STORED_BLOCK << 1) + (last ? 1 : 0), 3); /* send block type */
|
3275
|
-
copy_block(s, buf, stored_len, true); /* with header */
|
3276
|
-
}
|
3277
|
-
|
3278
|
-
|
3279
|
-
/* ===========================================================================
|
3280
|
-
* Send one empty static block to give enough lookahead for inflate.
|
3281
|
-
* This takes 10 bits, of which 7 may remain in the bit buffer.
|
3282
|
-
*/
|
3283
|
-
function _tr_align(s) {
|
3284
|
-
send_bits(s, STATIC_TREES << 1, 3);
|
3285
|
-
send_code(s, END_BLOCK, static_ltree);
|
3286
|
-
bi_flush(s);
|
3287
|
-
}
|
3288
|
-
|
3289
|
-
|
3290
|
-
/* ===========================================================================
|
3291
|
-
* Determine the best encoding for the current block: dynamic trees, static
|
3292
|
-
* trees or store, and output the encoded block to the zip file.
|
3293
|
-
*/
|
3294
|
-
function _tr_flush_block(s, buf, stored_len, last)
|
3295
|
-
//DeflateState *s;
|
3296
|
-
//charf *buf; /* input block, or NULL if too old */
|
3297
|
-
//ulg stored_len; /* length of input block */
|
3298
|
-
//int last; /* one if this is the last block for a file */
|
3299
|
-
{
|
3300
|
-
var opt_lenb, static_lenb; /* opt_len and static_len in bytes */
|
3301
|
-
var max_blindex = 0; /* index of last bit length code of non zero freq */
|
3302
|
-
|
3303
|
-
/* Build the Huffman trees unless a stored block is forced */
|
3304
|
-
if (s.level > 0) {
|
3305
|
-
|
3306
|
-
/* Check if the file is binary or text */
|
3307
|
-
if (s.strm.data_type === Z_UNKNOWN) {
|
3308
|
-
s.strm.data_type = detect_data_type(s);
|
3309
|
-
}
|
3310
|
-
|
3311
|
-
/* Construct the literal and distance trees */
|
3312
|
-
build_tree(s, s.l_desc);
|
3313
|
-
// Tracev((stderr, "\nlit data: dyn %ld, stat %ld", s->opt_len,
|
3314
|
-
// s->static_len));
|
3315
|
-
|
3316
|
-
build_tree(s, s.d_desc);
|
3317
|
-
// Tracev((stderr, "\ndist data: dyn %ld, stat %ld", s->opt_len,
|
3318
|
-
// s->static_len));
|
3319
|
-
/* At this point, opt_len and static_len are the total bit lengths of
|
3320
|
-
* the compressed block data, excluding the tree representations.
|
3321
|
-
*/
|
3322
|
-
|
3323
|
-
/* Build the bit length tree for the above two trees, and get the index
|
3324
|
-
* in bl_order of the last bit length code to send.
|
3325
|
-
*/
|
3326
|
-
max_blindex = build_bl_tree(s);
|
3327
|
-
|
3328
|
-
/* Determine the best encoding. Compute the block lengths in bytes. */
|
3329
|
-
opt_lenb = (s.opt_len + 3 + 7) >>> 3;
|
3330
|
-
static_lenb = (s.static_len + 3 + 7) >>> 3;
|
3331
|
-
|
3332
|
-
// Tracev((stderr, "\nopt %lu(%lu) stat %lu(%lu) stored %lu lit %u ",
|
3333
|
-
// opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len,
|
3334
|
-
// s->last_lit));
|
3335
|
-
|
3336
|
-
if (static_lenb <= opt_lenb) { opt_lenb = static_lenb; }
|
3337
|
-
|
3338
|
-
} else {
|
3339
|
-
// Assert(buf != (char*)0, "lost buf");
|
3340
|
-
opt_lenb = static_lenb = stored_len + 5; /* force a stored block */
|
3341
|
-
}
|
3342
|
-
|
3343
|
-
if ((stored_len + 4 <= opt_lenb) && (buf !== -1)) {
|
3344
|
-
/* 4: two words for the lengths */
|
3345
|
-
|
3346
|
-
/* The test buf != NULL is only necessary if LIT_BUFSIZE > WSIZE.
|
3347
|
-
* Otherwise we can't have processed more than WSIZE input bytes since
|
3348
|
-
* the last block flush, because compression would have been
|
3349
|
-
* successful. If LIT_BUFSIZE <= WSIZE, it is never too late to
|
3350
|
-
* transform a block into a stored block.
|
3351
|
-
*/
|
3352
|
-
_tr_stored_block(s, buf, stored_len, last);
|
3353
|
-
|
3354
|
-
} else if (s.strategy === Z_FIXED || static_lenb === opt_lenb) {
|
3355
|
-
|
3356
|
-
send_bits(s, (STATIC_TREES << 1) + (last ? 1 : 0), 3);
|
3357
|
-
compress_block(s, static_ltree, static_dtree);
|
3358
|
-
|
3359
|
-
} else {
|
3360
|
-
send_bits(s, (DYN_TREES << 1) + (last ? 1 : 0), 3);
|
3361
|
-
send_all_trees(s, s.l_desc.max_code + 1, s.d_desc.max_code + 1, max_blindex + 1);
|
3362
|
-
compress_block(s, s.dyn_ltree, s.dyn_dtree);
|
3363
|
-
}
|
3364
|
-
// Assert (s->compressed_len == s->bits_sent, "bad compressed size");
|
3365
|
-
/* The above check is made mod 2^32, for files larger than 512 MB
|
3366
|
-
* and uLong implemented on 32 bits.
|
3367
|
-
*/
|
3368
|
-
init_block(s);
|
3369
|
-
|
3370
|
-
if (last) {
|
3371
|
-
bi_windup(s);
|
3372
|
-
}
|
3373
|
-
// Tracev((stderr,"\ncomprlen %lu(%lu) ", s->compressed_len>>3,
|
3374
|
-
// s->compressed_len-7*last));
|
3375
|
-
}
|
3376
|
-
|
3377
|
-
/* ===========================================================================
|
3378
|
-
* Save the match info and tally the frequency counts. Return true if
|
3379
|
-
* the current block must be flushed.
|
3380
|
-
*/
|
3381
|
-
function _tr_tally(s, dist, lc)
|
3382
|
-
// deflate_state *s;
|
3383
|
-
// unsigned dist; /* distance of matched string */
|
3384
|
-
// unsigned lc; /* match length-MIN_MATCH or unmatched char (if dist==0) */
|
3385
|
-
{
|
3386
|
-
//var out_length, in_length, dcode;
|
3387
|
-
|
3388
|
-
s.pending_buf[s.d_buf + s.last_lit * 2] = (dist >>> 8) & 0xff;
|
3389
|
-
s.pending_buf[s.d_buf + s.last_lit * 2 + 1] = dist & 0xff;
|
3390
|
-
|
3391
|
-
s.pending_buf[s.l_buf + s.last_lit] = lc & 0xff;
|
3392
|
-
s.last_lit++;
|
3393
|
-
|
3394
|
-
if (dist === 0) {
|
3395
|
-
/* lc is the unmatched char */
|
3396
|
-
s.dyn_ltree[lc * 2]/*.Freq*/++;
|
3397
|
-
} else {
|
3398
|
-
s.matches++;
|
3399
|
-
/* Here, lc is the match length - MIN_MATCH */
|
3400
|
-
dist--; /* dist = match distance - 1 */
|
3401
|
-
//Assert((ush)dist < (ush)MAX_DIST(s) &&
|
3402
|
-
// (ush)lc <= (ush)(MAX_MATCH-MIN_MATCH) &&
|
3403
|
-
// (ush)d_code(dist) < (ush)D_CODES, "_tr_tally: bad match");
|
3404
|
-
|
3405
|
-
s.dyn_ltree[(_length_code[lc] + LITERALS + 1) * 2]/*.Freq*/++;
|
3406
|
-
s.dyn_dtree[d_code(dist) * 2]/*.Freq*/++;
|
3407
|
-
}
|
3408
|
-
|
3409
|
-
// (!) This block is disabled in zlib defailts,
|
3410
|
-
// don't enable it for binary compatibility
|
3411
|
-
|
3412
|
-
//#ifdef TRUNCATE_BLOCK
|
3413
|
-
// /* Try to guess if it is profitable to stop the current block here */
|
3414
|
-
// if ((s.last_lit & 0x1fff) === 0 && s.level > 2) {
|
3415
|
-
// /* Compute an upper bound for the compressed length */
|
3416
|
-
// out_length = s.last_lit*8;
|
3417
|
-
// in_length = s.strstart - s.block_start;
|
3418
|
-
//
|
3419
|
-
// for (dcode = 0; dcode < D_CODES; dcode++) {
|
3420
|
-
// out_length += s.dyn_dtree[dcode*2]/*.Freq*/ * (5 + extra_dbits[dcode]);
|
3421
|
-
// }
|
3422
|
-
// out_length >>>= 3;
|
3423
|
-
// //Tracev((stderr,"\nlast_lit %u, in %ld, out ~%ld(%ld%%) ",
|
3424
|
-
// // s->last_lit, in_length, out_length,
|
3425
|
-
// // 100L - out_length*100L/in_length));
|
3426
|
-
// if (s.matches < (s.last_lit>>1)/*int /2*/ && out_length < (in_length>>1)/*int /2*/) {
|
3427
|
-
// return true;
|
3428
|
-
// }
|
3429
|
-
// }
|
3430
|
-
//#endif
|
3431
|
-
|
3432
|
-
return (s.last_lit === s.lit_bufsize - 1);
|
3433
|
-
/* We avoid equality with lit_bufsize because of wraparound at 64K
|
3434
|
-
* on 16 bit machines and because stored blocks are restricted to
|
3435
|
-
* 64K-1 bytes.
|
3436
|
-
*/
|
3437
|
-
}
|
3438
|
-
|
3439
|
-
exports._tr_init = _tr_init;
|
3440
|
-
exports._tr_stored_block = _tr_stored_block;
|
3441
|
-
exports._tr_flush_block = _tr_flush_block;
|
3442
|
-
exports._tr_tally = _tr_tally;
|
3443
|
-
exports._tr_align = _tr_align;
|
3444
|
-
|
3445
|
-
},{"../utils/common":1}],8:[function(require,module,exports){
|
3446
|
-
'use strict';
|
3447
|
-
|
3448
|
-
|
3449
|
-
function ZStream() {
|
3450
|
-
/* next input byte */
|
3451
|
-
this.input = null; // JS specific, because we have no pointers
|
3452
|
-
this.next_in = 0;
|
3453
|
-
/* number of bytes available at input */
|
3454
|
-
this.avail_in = 0;
|
3455
|
-
/* total number of input bytes read so far */
|
3456
|
-
this.total_in = 0;
|
3457
|
-
/* next output byte should be put there */
|
3458
|
-
this.output = null; // JS specific, because we have no pointers
|
3459
|
-
this.next_out = 0;
|
3460
|
-
/* remaining free space at output */
|
3461
|
-
this.avail_out = 0;
|
3462
|
-
/* total number of bytes output so far */
|
3463
|
-
this.total_out = 0;
|
3464
|
-
/* last error message, NULL if no error */
|
3465
|
-
this.msg = ''/*Z_NULL*/;
|
3466
|
-
/* not visible by applications */
|
3467
|
-
this.state = null;
|
3468
|
-
/* best guess about the data type: binary or text */
|
3469
|
-
this.data_type = 2/*Z_UNKNOWN*/;
|
3470
|
-
/* adler32 value of the uncompressed data */
|
3471
|
-
this.adler = 0;
|
3472
|
-
}
|
3473
|
-
|
3474
|
-
module.exports = ZStream;
|
3475
|
-
|
3476
|
-
},{}],"/lib/deflate.js":[function(require,module,exports){
|
3477
|
-
'use strict';
|
3478
|
-
|
3479
|
-
|
3480
|
-
var zlib_deflate = require('./zlib/deflate');
|
3481
|
-
var utils = require('./utils/common');
|
3482
|
-
var strings = require('./utils/strings');
|
3483
|
-
var msg = require('./zlib/messages');
|
3484
|
-
var ZStream = require('./zlib/zstream');
|
3485
|
-
|
3486
|
-
var toString = Object.prototype.toString;
|
3487
|
-
|
3488
|
-
/* Public constants ==========================================================*/
|
3489
|
-
/* ===========================================================================*/
|
3490
|
-
|
3491
|
-
var Z_NO_FLUSH = 0;
|
3492
|
-
var Z_FINISH = 4;
|
3493
|
-
|
3494
|
-
var Z_OK = 0;
|
3495
|
-
var Z_STREAM_END = 1;
|
3496
|
-
var Z_SYNC_FLUSH = 2;
|
3497
|
-
|
3498
|
-
var Z_DEFAULT_COMPRESSION = -1;
|
3499
|
-
|
3500
|
-
var Z_DEFAULT_STRATEGY = 0;
|
3501
|
-
|
3502
|
-
var Z_DEFLATED = 8;
|
3503
|
-
|
3504
|
-
/* ===========================================================================*/
|
3505
|
-
|
3506
|
-
|
3507
|
-
/**
|
3508
|
-
* class Deflate
|
3509
|
-
*
|
3510
|
-
* Generic JS-style wrapper for zlib calls. If you don't need
|
3511
|
-
* streaming behaviour - use more simple functions: [[deflate]],
|
3512
|
-
* [[deflateRaw]] and [[gzip]].
|
3513
|
-
**/
|
3514
|
-
|
3515
|
-
/* internal
|
3516
|
-
* Deflate.chunks -> Array
|
3517
|
-
*
|
3518
|
-
* Chunks of output data, if [[Deflate#onData]] not overriden.
|
3519
|
-
**/
|
3520
|
-
|
3521
|
-
/**
|
3522
|
-
* Deflate.result -> Uint8Array|Array
|
3523
|
-
*
|
3524
|
-
* Compressed result, generated by default [[Deflate#onData]]
|
3525
|
-
* and [[Deflate#onEnd]] handlers. Filled after you push last chunk
|
3526
|
-
* (call [[Deflate#push]] with `Z_FINISH` / `true` param) or if you
|
3527
|
-
* push a chunk with explicit flush (call [[Deflate#push]] with
|
3528
|
-
* `Z_SYNC_FLUSH` param).
|
3529
|
-
**/
|
3530
|
-
|
3531
|
-
/**
|
3532
|
-
* Deflate.err -> Number
|
3533
|
-
*
|
3534
|
-
* Error code after deflate finished. 0 (Z_OK) on success.
|
3535
|
-
* You will not need it in real life, because deflate errors
|
3536
|
-
* are possible only on wrong options or bad `onData` / `onEnd`
|
3537
|
-
* custom handlers.
|
3538
|
-
**/
|
3539
|
-
|
3540
|
-
/**
|
3541
|
-
* Deflate.msg -> String
|
3542
|
-
*
|
3543
|
-
* Error message, if [[Deflate.err]] != 0
|
3544
|
-
**/
|
3545
|
-
|
3546
|
-
|
3547
|
-
/**
|
3548
|
-
* new Deflate(options)
|
3549
|
-
* - options (Object): zlib deflate options.
|
3550
|
-
*
|
3551
|
-
* Creates new deflator instance with specified params. Throws exception
|
3552
|
-
* on bad params. Supported options:
|
3553
|
-
*
|
3554
|
-
* - `level`
|
3555
|
-
* - `windowBits`
|
3556
|
-
* - `memLevel`
|
3557
|
-
* - `strategy`
|
3558
|
-
* - `dictionary`
|
3559
|
-
*
|
3560
|
-
* [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)
|
3561
|
-
* for more information on these.
|
3562
|
-
*
|
3563
|
-
* Additional options, for internal needs:
|
3564
|
-
*
|
3565
|
-
* - `chunkSize` - size of generated data chunks (16K by default)
|
3566
|
-
* - `raw` (Boolean) - do raw deflate
|
3567
|
-
* - `gzip` (Boolean) - create gzip wrapper
|
3568
|
-
* - `to` (String) - if equal to 'string', then result will be "binary string"
|
3569
|
-
* (each char code [0..255])
|
3570
|
-
* - `header` (Object) - custom header for gzip
|
3571
|
-
* - `text` (Boolean) - true if compressed data believed to be text
|
3572
|
-
* - `time` (Number) - modification time, unix timestamp
|
3573
|
-
* - `os` (Number) - operation system code
|
3574
|
-
* - `extra` (Array) - array of bytes with extra data (max 65536)
|
3575
|
-
* - `name` (String) - file name (binary string)
|
3576
|
-
* - `comment` (String) - comment (binary string)
|
3577
|
-
* - `hcrc` (Boolean) - true if header crc should be added
|
3578
|
-
*
|
3579
|
-
* ##### Example:
|
3580
|
-
*
|
3581
|
-
* ```javascript
|
3582
|
-
* var pako = require('pako')
|
3583
|
-
* , chunk1 = Uint8Array([1,2,3,4,5,6,7,8,9])
|
3584
|
-
* , chunk2 = Uint8Array([10,11,12,13,14,15,16,17,18,19]);
|
3585
|
-
*
|
3586
|
-
* var deflate = new pako.Deflate({ level: 3});
|
3587
|
-
*
|
3588
|
-
* deflate.push(chunk1, false);
|
3589
|
-
* deflate.push(chunk2, true); // true -> last chunk
|
3590
|
-
*
|
3591
|
-
* if (deflate.err) { throw new Error(deflate.err); }
|
3592
|
-
*
|
3593
|
-
* console.log(deflate.result);
|
3594
|
-
* ```
|
3595
|
-
**/
|
3596
|
-
function Deflate(options) {
|
3597
|
-
if (!(this instanceof Deflate)) return new Deflate(options);
|
3598
|
-
|
3599
|
-
this.options = utils.assign({
|
3600
|
-
level: Z_DEFAULT_COMPRESSION,
|
3601
|
-
method: Z_DEFLATED,
|
3602
|
-
chunkSize: 16384,
|
3603
|
-
windowBits: 15,
|
3604
|
-
memLevel: 8,
|
3605
|
-
strategy: Z_DEFAULT_STRATEGY,
|
3606
|
-
to: ''
|
3607
|
-
}, options || {});
|
3608
|
-
|
3609
|
-
var opt = this.options;
|
3610
|
-
|
3611
|
-
if (opt.raw && (opt.windowBits > 0)) {
|
3612
|
-
opt.windowBits = -opt.windowBits;
|
3613
|
-
}
|
3614
|
-
|
3615
|
-
else if (opt.gzip && (opt.windowBits > 0) && (opt.windowBits < 16)) {
|
3616
|
-
opt.windowBits += 16;
|
3617
|
-
}
|
3618
|
-
|
3619
|
-
this.err = 0; // error code, if happens (0 = Z_OK)
|
3620
|
-
this.msg = ''; // error message
|
3621
|
-
this.ended = false; // used to avoid multiple onEnd() calls
|
3622
|
-
this.chunks = []; // chunks of compressed data
|
3623
|
-
|
3624
|
-
this.strm = new ZStream();
|
3625
|
-
this.strm.avail_out = 0;
|
3626
|
-
|
3627
|
-
var status = zlib_deflate.deflateInit2(
|
3628
|
-
this.strm,
|
3629
|
-
opt.level,
|
3630
|
-
opt.method,
|
3631
|
-
opt.windowBits,
|
3632
|
-
opt.memLevel,
|
3633
|
-
opt.strategy
|
3634
|
-
);
|
3635
|
-
|
3636
|
-
if (status !== Z_OK) {
|
3637
|
-
throw new Error(msg[status]);
|
3638
|
-
}
|
3639
|
-
|
3640
|
-
if (opt.header) {
|
3641
|
-
zlib_deflate.deflateSetHeader(this.strm, opt.header);
|
3642
|
-
}
|
3643
|
-
|
3644
|
-
if (opt.dictionary) {
|
3645
|
-
var dict;
|
3646
|
-
// Convert data if needed
|
3647
|
-
if (typeof opt.dictionary === 'string') {
|
3648
|
-
// If we need to compress text, change encoding to utf8.
|
3649
|
-
dict = strings.string2buf(opt.dictionary);
|
3650
|
-
} else if (toString.call(opt.dictionary) === '[object ArrayBuffer]') {
|
3651
|
-
dict = new Uint8Array(opt.dictionary);
|
3652
|
-
} else {
|
3653
|
-
dict = opt.dictionary;
|
3654
|
-
}
|
3655
|
-
|
3656
|
-
status = zlib_deflate.deflateSetDictionary(this.strm, dict);
|
3657
|
-
|
3658
|
-
if (status !== Z_OK) {
|
3659
|
-
throw new Error(msg[status]);
|
3660
|
-
}
|
3661
|
-
|
3662
|
-
this._dict_set = true;
|
3663
|
-
}
|
3664
|
-
}
|
3665
|
-
|
3666
|
-
/**
|
3667
|
-
* Deflate#push(data[, mode]) -> Boolean
|
3668
|
-
* - data (Uint8Array|Array|ArrayBuffer|String): input data. Strings will be
|
3669
|
-
* converted to utf8 byte sequence.
|
3670
|
-
* - mode (Number|Boolean): 0..6 for corresponding Z_NO_FLUSH..Z_TREE modes.
|
3671
|
-
* See constants. Skipped or `false` means Z_NO_FLUSH, `true` meansh Z_FINISH.
|
3672
|
-
*
|
3673
|
-
* Sends input data to deflate pipe, generating [[Deflate#onData]] calls with
|
3674
|
-
* new compressed chunks. Returns `true` on success. The last data block must have
|
3675
|
-
* mode Z_FINISH (or `true`). That will flush internal pending buffers and call
|
3676
|
-
* [[Deflate#onEnd]]. For interim explicit flushes (without ending the stream) you
|
3677
|
-
* can use mode Z_SYNC_FLUSH, keeping the compression context.
|
3678
|
-
*
|
3679
|
-
* On fail call [[Deflate#onEnd]] with error code and return false.
|
3680
|
-
*
|
3681
|
-
* We strongly recommend to use `Uint8Array` on input for best speed (output
|
3682
|
-
* array format is detected automatically). Also, don't skip last param and always
|
3683
|
-
* use the same type in your code (boolean or number). That will improve JS speed.
|
3684
|
-
*
|
3685
|
-
* For regular `Array`-s make sure all elements are [0..255].
|
3686
|
-
*
|
3687
|
-
* ##### Example
|
3688
|
-
*
|
3689
|
-
* ```javascript
|
3690
|
-
* push(chunk, false); // push one of data chunks
|
3691
|
-
* ...
|
3692
|
-
* push(chunk, true); // push last chunk
|
3693
|
-
* ```
|
3694
|
-
**/
|
3695
|
-
Deflate.prototype.push = function (data, mode) {
|
3696
|
-
var strm = this.strm;
|
3697
|
-
var chunkSize = this.options.chunkSize;
|
3698
|
-
var status, _mode;
|
3699
|
-
|
3700
|
-
if (this.ended) { return false; }
|
3701
|
-
|
3702
|
-
_mode = (mode === ~~mode) ? mode : ((mode === true) ? Z_FINISH : Z_NO_FLUSH);
|
3703
|
-
|
3704
|
-
// Convert data if needed
|
3705
|
-
if (typeof data === 'string') {
|
3706
|
-
// If we need to compress text, change encoding to utf8.
|
3707
|
-
strm.input = strings.string2buf(data);
|
3708
|
-
} else if (toString.call(data) === '[object ArrayBuffer]') {
|
3709
|
-
strm.input = new Uint8Array(data);
|
3710
|
-
} else {
|
3711
|
-
strm.input = data;
|
3712
|
-
}
|
3713
|
-
|
3714
|
-
strm.next_in = 0;
|
3715
|
-
strm.avail_in = strm.input.length;
|
3716
|
-
|
3717
|
-
do {
|
3718
|
-
if (strm.avail_out === 0) {
|
3719
|
-
strm.output = new utils.Buf8(chunkSize);
|
3720
|
-
strm.next_out = 0;
|
3721
|
-
strm.avail_out = chunkSize;
|
3722
|
-
}
|
3723
|
-
status = zlib_deflate.deflate(strm, _mode); /* no bad return value */
|
3724
|
-
|
3725
|
-
if (status !== Z_STREAM_END && status !== Z_OK) {
|
3726
|
-
this.onEnd(status);
|
3727
|
-
this.ended = true;
|
3728
|
-
return false;
|
3729
|
-
}
|
3730
|
-
if (strm.avail_out === 0 || (strm.avail_in === 0 && (_mode === Z_FINISH || _mode === Z_SYNC_FLUSH))) {
|
3731
|
-
if (this.options.to === 'string') {
|
3732
|
-
this.onData(strings.buf2binstring(utils.shrinkBuf(strm.output, strm.next_out)));
|
3733
|
-
} else {
|
3734
|
-
this.onData(utils.shrinkBuf(strm.output, strm.next_out));
|
3735
|
-
}
|
3736
|
-
}
|
3737
|
-
} while ((strm.avail_in > 0 || strm.avail_out === 0) && status !== Z_STREAM_END);
|
3738
|
-
|
3739
|
-
// Finalize on the last chunk.
|
3740
|
-
if (_mode === Z_FINISH) {
|
3741
|
-
status = zlib_deflate.deflateEnd(this.strm);
|
3742
|
-
this.onEnd(status);
|
3743
|
-
this.ended = true;
|
3744
|
-
return status === Z_OK;
|
3745
|
-
}
|
3746
|
-
|
3747
|
-
// callback interim results if Z_SYNC_FLUSH.
|
3748
|
-
if (_mode === Z_SYNC_FLUSH) {
|
3749
|
-
this.onEnd(Z_OK);
|
3750
|
-
strm.avail_out = 0;
|
3751
|
-
return true;
|
3752
|
-
}
|
3753
|
-
|
3754
|
-
return true;
|
3755
|
-
};
|
3756
|
-
|
3757
|
-
|
3758
|
-
/**
|
3759
|
-
* Deflate#onData(chunk) -> Void
|
3760
|
-
* - chunk (Uint8Array|Array|String): ouput data. Type of array depends
|
3761
|
-
* on js engine support. When string output requested, each chunk
|
3762
|
-
* will be string.
|
3763
|
-
*
|
3764
|
-
* By default, stores data blocks in `chunks[]` property and glue
|
3765
|
-
* those in `onEnd`. Override this handler, if you need another behaviour.
|
3766
|
-
**/
|
3767
|
-
Deflate.prototype.onData = function (chunk) {
|
3768
|
-
this.chunks.push(chunk);
|
3769
|
-
};
|
3770
|
-
|
3771
|
-
|
3772
|
-
/**
|
3773
|
-
* Deflate#onEnd(status) -> Void
|
3774
|
-
* - status (Number): deflate status. 0 (Z_OK) on success,
|
3775
|
-
* other if not.
|
3776
|
-
*
|
3777
|
-
* Called once after you tell deflate that the input stream is
|
3778
|
-
* complete (Z_FINISH) or should be flushed (Z_SYNC_FLUSH)
|
3779
|
-
* or if an error happened. By default - join collected chunks,
|
3780
|
-
* free memory and fill `results` / `err` properties.
|
3781
|
-
**/
|
3782
|
-
Deflate.prototype.onEnd = function (status) {
|
3783
|
-
// On success - join
|
3784
|
-
if (status === Z_OK) {
|
3785
|
-
if (this.options.to === 'string') {
|
3786
|
-
this.result = this.chunks.join('');
|
3787
|
-
} else {
|
3788
|
-
this.result = utils.flattenChunks(this.chunks);
|
3789
|
-
}
|
3790
|
-
}
|
3791
|
-
this.chunks = [];
|
3792
|
-
this.err = status;
|
3793
|
-
this.msg = this.strm.msg;
|
3794
|
-
};
|
3795
|
-
|
3796
|
-
|
3797
|
-
/**
|
3798
|
-
* deflate(data[, options]) -> Uint8Array|Array|String
|
3799
|
-
* - data (Uint8Array|Array|String): input data to compress.
|
3800
|
-
* - options (Object): zlib deflate options.
|
3801
|
-
*
|
3802
|
-
* Compress `data` with deflate algorithm and `options`.
|
3803
|
-
*
|
3804
|
-
* Supported options are:
|
3805
|
-
*
|
3806
|
-
* - level
|
3807
|
-
* - windowBits
|
3808
|
-
* - memLevel
|
3809
|
-
* - strategy
|
3810
|
-
* - dictionary
|
3811
|
-
*
|
3812
|
-
* [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)
|
3813
|
-
* for more information on these.
|
3814
|
-
*
|
3815
|
-
* Sugar (options):
|
3816
|
-
*
|
3817
|
-
* - `raw` (Boolean) - say that we work with raw stream, if you don't wish to specify
|
3818
|
-
* negative windowBits implicitly.
|
3819
|
-
* - `to` (String) - if equal to 'string', then result will be "binary string"
|
3820
|
-
* (each char code [0..255])
|
3821
|
-
*
|
3822
|
-
* ##### Example:
|
3823
|
-
*
|
3824
|
-
* ```javascript
|
3825
|
-
* var pako = require('pako')
|
3826
|
-
* , data = Uint8Array([1,2,3,4,5,6,7,8,9]);
|
3827
|
-
*
|
3828
|
-
* console.log(pako.deflate(data));
|
3829
|
-
* ```
|
3830
|
-
**/
|
3831
|
-
function deflate(input, options) {
|
3832
|
-
var deflator = new Deflate(options);
|
3833
|
-
|
3834
|
-
deflator.push(input, true);
|
3835
|
-
|
3836
|
-
// That will never happens, if you don't cheat with options :)
|
3837
|
-
if (deflator.err) { throw deflator.msg; }
|
3838
|
-
|
3839
|
-
return deflator.result;
|
3840
|
-
}
|
3841
|
-
|
3842
|
-
|
3843
|
-
/**
|
3844
|
-
* deflateRaw(data[, options]) -> Uint8Array|Array|String
|
3845
|
-
* - data (Uint8Array|Array|String): input data to compress.
|
3846
|
-
* - options (Object): zlib deflate options.
|
3847
|
-
*
|
3848
|
-
* The same as [[deflate]], but creates raw data, without wrapper
|
3849
|
-
* (header and adler32 crc).
|
3850
|
-
**/
|
3851
|
-
function deflateRaw(input, options) {
|
3852
|
-
options = options || {};
|
3853
|
-
options.raw = true;
|
3854
|
-
return deflate(input, options);
|
3855
|
-
}
|
3856
|
-
|
3857
|
-
|
3858
|
-
/**
|
3859
|
-
* gzip(data[, options]) -> Uint8Array|Array|String
|
3860
|
-
* - data (Uint8Array|Array|String): input data to compress.
|
3861
|
-
* - options (Object): zlib deflate options.
|
3862
|
-
*
|
3863
|
-
* The same as [[deflate]], but create gzip wrapper instead of
|
3864
|
-
* deflate one.
|
3865
|
-
**/
|
3866
|
-
function gzip(input, options) {
|
3867
|
-
options = options || {};
|
3868
|
-
options.gzip = true;
|
3869
|
-
return deflate(input, options);
|
3870
|
-
}
|
3871
|
-
|
3872
|
-
|
3873
|
-
exports.Deflate = Deflate;
|
3874
|
-
exports.deflate = deflate;
|
3875
|
-
exports.deflateRaw = deflateRaw;
|
3876
|
-
exports.gzip = gzip;
|
3877
|
-
|
3878
|
-
},{"./utils/common":1,"./utils/strings":2,"./zlib/deflate":5,"./zlib/messages":6,"./zlib/zstream":8}]},{},[])("/lib/deflate.js")
|
3879
|
-
});
|