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,3427 +0,0 @@
|
|
1
|
-
(function (module, exports) {
|
2
|
-
'use strict';
|
3
|
-
|
4
|
-
// Utils
|
5
|
-
function assert (val, msg) {
|
6
|
-
if (!val) throw new Error(msg || 'Assertion failed');
|
7
|
-
}
|
8
|
-
|
9
|
-
// Could use `inherits` module, but don't want to move from single file
|
10
|
-
// architecture yet.
|
11
|
-
function inherits (ctor, superCtor) {
|
12
|
-
ctor.super_ = superCtor;
|
13
|
-
var TempCtor = function () {};
|
14
|
-
TempCtor.prototype = superCtor.prototype;
|
15
|
-
ctor.prototype = new TempCtor();
|
16
|
-
ctor.prototype.constructor = ctor;
|
17
|
-
}
|
18
|
-
|
19
|
-
// BN
|
20
|
-
|
21
|
-
function BN (number, base, endian) {
|
22
|
-
if (BN.isBN(number)) {
|
23
|
-
return number;
|
24
|
-
}
|
25
|
-
|
26
|
-
this.negative = 0;
|
27
|
-
this.words = null;
|
28
|
-
this.length = 0;
|
29
|
-
|
30
|
-
// Reduction context
|
31
|
-
this.red = null;
|
32
|
-
|
33
|
-
if (number !== null) {
|
34
|
-
if (base === 'le' || base === 'be') {
|
35
|
-
endian = base;
|
36
|
-
base = 10;
|
37
|
-
}
|
38
|
-
|
39
|
-
this._init(number || 0, base || 10, endian || 'be');
|
40
|
-
}
|
41
|
-
}
|
42
|
-
if (typeof module === 'object') {
|
43
|
-
module.exports = BN;
|
44
|
-
} else {
|
45
|
-
exports.BN = BN;
|
46
|
-
}
|
47
|
-
|
48
|
-
BN.BN = BN;
|
49
|
-
BN.wordSize = 26;
|
50
|
-
|
51
|
-
var Buffer;
|
52
|
-
try {
|
53
|
-
Buffer = require('buf' + 'fer').Buffer;
|
54
|
-
} catch (e) {
|
55
|
-
}
|
56
|
-
|
57
|
-
BN.isBN = function isBN (num) {
|
58
|
-
if (num instanceof BN) {
|
59
|
-
return true;
|
60
|
-
}
|
61
|
-
|
62
|
-
return num !== null && typeof num === 'object' &&
|
63
|
-
num.constructor.wordSize === BN.wordSize && Array.isArray(num.words);
|
64
|
-
};
|
65
|
-
|
66
|
-
BN.max = function max (left, right) {
|
67
|
-
if (left.cmp(right) > 0) return left;
|
68
|
-
return right;
|
69
|
-
};
|
70
|
-
|
71
|
-
BN.min = function min (left, right) {
|
72
|
-
if (left.cmp(right) < 0) return left;
|
73
|
-
return right;
|
74
|
-
};
|
75
|
-
|
76
|
-
BN.prototype._init = function init (number, base, endian) {
|
77
|
-
if (typeof number === 'number') {
|
78
|
-
return this._initNumber(number, base, endian);
|
79
|
-
}
|
80
|
-
|
81
|
-
if (typeof number === 'object') {
|
82
|
-
return this._initArray(number, base, endian);
|
83
|
-
}
|
84
|
-
|
85
|
-
if (base === 'hex') {
|
86
|
-
base = 16;
|
87
|
-
}
|
88
|
-
assert(base === (base | 0) && base >= 2 && base <= 36);
|
89
|
-
|
90
|
-
number = number.toString().replace(/\s+/g, '');
|
91
|
-
var start = 0;
|
92
|
-
if (number[0] === '-') {
|
93
|
-
start++;
|
94
|
-
}
|
95
|
-
|
96
|
-
if (base === 16) {
|
97
|
-
this._parseHex(number, start);
|
98
|
-
} else {
|
99
|
-
this._parseBase(number, base, start);
|
100
|
-
}
|
101
|
-
|
102
|
-
if (number[0] === '-') {
|
103
|
-
this.negative = 1;
|
104
|
-
}
|
105
|
-
|
106
|
-
this.strip();
|
107
|
-
|
108
|
-
if (endian !== 'le') return;
|
109
|
-
|
110
|
-
this._initArray(this.toArray(), base, endian);
|
111
|
-
};
|
112
|
-
|
113
|
-
BN.prototype._initNumber = function _initNumber (number, base, endian) {
|
114
|
-
if (number < 0) {
|
115
|
-
this.negative = 1;
|
116
|
-
number = -number;
|
117
|
-
}
|
118
|
-
if (number < 0x4000000) {
|
119
|
-
this.words = [ number & 0x3ffffff ];
|
120
|
-
this.length = 1;
|
121
|
-
} else if (number < 0x10000000000000) {
|
122
|
-
this.words = [
|
123
|
-
number & 0x3ffffff,
|
124
|
-
(number / 0x4000000) & 0x3ffffff
|
125
|
-
];
|
126
|
-
this.length = 2;
|
127
|
-
} else {
|
128
|
-
assert(number < 0x20000000000000); // 2 ^ 53 (unsafe)
|
129
|
-
this.words = [
|
130
|
-
number & 0x3ffffff,
|
131
|
-
(number / 0x4000000) & 0x3ffffff,
|
132
|
-
1
|
133
|
-
];
|
134
|
-
this.length = 3;
|
135
|
-
}
|
136
|
-
|
137
|
-
if (endian !== 'le') return;
|
138
|
-
|
139
|
-
// Reverse the bytes
|
140
|
-
this._initArray(this.toArray(), base, endian);
|
141
|
-
};
|
142
|
-
|
143
|
-
BN.prototype._initArray = function _initArray (number, base, endian) {
|
144
|
-
// Perhaps a Uint8Array
|
145
|
-
assert(typeof number.length === 'number');
|
146
|
-
if (number.length <= 0) {
|
147
|
-
this.words = [ 0 ];
|
148
|
-
this.length = 1;
|
149
|
-
return this;
|
150
|
-
}
|
151
|
-
|
152
|
-
this.length = Math.ceil(number.length / 3);
|
153
|
-
this.words = new Array(this.length);
|
154
|
-
for (var i = 0; i < this.length; i++) {
|
155
|
-
this.words[i] = 0;
|
156
|
-
}
|
157
|
-
|
158
|
-
var j, w;
|
159
|
-
var off = 0;
|
160
|
-
if (endian === 'be') {
|
161
|
-
for (i = number.length - 1, j = 0; i >= 0; i -= 3) {
|
162
|
-
w = number[i] | (number[i - 1] << 8) | (number[i - 2] << 16);
|
163
|
-
this.words[j] |= (w << off) & 0x3ffffff;
|
164
|
-
this.words[j + 1] = (w >>> (26 - off)) & 0x3ffffff;
|
165
|
-
off += 24;
|
166
|
-
if (off >= 26) {
|
167
|
-
off -= 26;
|
168
|
-
j++;
|
169
|
-
}
|
170
|
-
}
|
171
|
-
} else if (endian === 'le') {
|
172
|
-
for (i = 0, j = 0; i < number.length; i += 3) {
|
173
|
-
w = number[i] | (number[i + 1] << 8) | (number[i + 2] << 16);
|
174
|
-
this.words[j] |= (w << off) & 0x3ffffff;
|
175
|
-
this.words[j + 1] = (w >>> (26 - off)) & 0x3ffffff;
|
176
|
-
off += 24;
|
177
|
-
if (off >= 26) {
|
178
|
-
off -= 26;
|
179
|
-
j++;
|
180
|
-
}
|
181
|
-
}
|
182
|
-
}
|
183
|
-
return this.strip();
|
184
|
-
};
|
185
|
-
|
186
|
-
function parseHex (str, start, end) {
|
187
|
-
var r = 0;
|
188
|
-
var len = Math.min(str.length, end);
|
189
|
-
for (var i = start; i < len; i++) {
|
190
|
-
var c = str.charCodeAt(i) - 48;
|
191
|
-
|
192
|
-
r <<= 4;
|
193
|
-
|
194
|
-
// 'a' - 'f'
|
195
|
-
if (c >= 49 && c <= 54) {
|
196
|
-
r |= c - 49 + 0xa;
|
197
|
-
|
198
|
-
// 'A' - 'F'
|
199
|
-
} else if (c >= 17 && c <= 22) {
|
200
|
-
r |= c - 17 + 0xa;
|
201
|
-
|
202
|
-
// '0' - '9'
|
203
|
-
} else {
|
204
|
-
r |= c & 0xf;
|
205
|
-
}
|
206
|
-
}
|
207
|
-
return r;
|
208
|
-
}
|
209
|
-
|
210
|
-
BN.prototype._parseHex = function _parseHex (number, start) {
|
211
|
-
// Create possibly bigger array to ensure that it fits the number
|
212
|
-
this.length = Math.ceil((number.length - start) / 6);
|
213
|
-
this.words = new Array(this.length);
|
214
|
-
for (var i = 0; i < this.length; i++) {
|
215
|
-
this.words[i] = 0;
|
216
|
-
}
|
217
|
-
|
218
|
-
var j, w;
|
219
|
-
// Scan 24-bit chunks and add them to the number
|
220
|
-
var off = 0;
|
221
|
-
for (i = number.length - 6, j = 0; i >= start; i -= 6) {
|
222
|
-
w = parseHex(number, i, i + 6);
|
223
|
-
this.words[j] |= (w << off) & 0x3ffffff;
|
224
|
-
// NOTE: `0x3fffff` is intentional here, 26bits max shift + 24bit hex limb
|
225
|
-
this.words[j + 1] |= w >>> (26 - off) & 0x3fffff;
|
226
|
-
off += 24;
|
227
|
-
if (off >= 26) {
|
228
|
-
off -= 26;
|
229
|
-
j++;
|
230
|
-
}
|
231
|
-
}
|
232
|
-
if (i + 6 !== start) {
|
233
|
-
w = parseHex(number, start, i + 6);
|
234
|
-
this.words[j] |= (w << off) & 0x3ffffff;
|
235
|
-
this.words[j + 1] |= w >>> (26 - off) & 0x3fffff;
|
236
|
-
}
|
237
|
-
this.strip();
|
238
|
-
};
|
239
|
-
|
240
|
-
function parseBase (str, start, end, mul) {
|
241
|
-
var r = 0;
|
242
|
-
var len = Math.min(str.length, end);
|
243
|
-
for (var i = start; i < len; i++) {
|
244
|
-
var c = str.charCodeAt(i) - 48;
|
245
|
-
|
246
|
-
r *= mul;
|
247
|
-
|
248
|
-
// 'a'
|
249
|
-
if (c >= 49) {
|
250
|
-
r += c - 49 + 0xa;
|
251
|
-
|
252
|
-
// 'A'
|
253
|
-
} else if (c >= 17) {
|
254
|
-
r += c - 17 + 0xa;
|
255
|
-
|
256
|
-
// '0' - '9'
|
257
|
-
} else {
|
258
|
-
r += c;
|
259
|
-
}
|
260
|
-
}
|
261
|
-
return r;
|
262
|
-
}
|
263
|
-
|
264
|
-
BN.prototype._parseBase = function _parseBase (number, base, start) {
|
265
|
-
// Initialize as zero
|
266
|
-
this.words = [ 0 ];
|
267
|
-
this.length = 1;
|
268
|
-
|
269
|
-
// Find length of limb in base
|
270
|
-
for (var limbLen = 0, limbPow = 1; limbPow <= 0x3ffffff; limbPow *= base) {
|
271
|
-
limbLen++;
|
272
|
-
}
|
273
|
-
limbLen--;
|
274
|
-
limbPow = (limbPow / base) | 0;
|
275
|
-
|
276
|
-
var total = number.length - start;
|
277
|
-
var mod = total % limbLen;
|
278
|
-
var end = Math.min(total, total - mod) + start;
|
279
|
-
|
280
|
-
var word = 0;
|
281
|
-
for (var i = start; i < end; i += limbLen) {
|
282
|
-
word = parseBase(number, i, i + limbLen, base);
|
283
|
-
|
284
|
-
this.imuln(limbPow);
|
285
|
-
if (this.words[0] + word < 0x4000000) {
|
286
|
-
this.words[0] += word;
|
287
|
-
} else {
|
288
|
-
this._iaddn(word);
|
289
|
-
}
|
290
|
-
}
|
291
|
-
|
292
|
-
if (mod !== 0) {
|
293
|
-
var pow = 1;
|
294
|
-
word = parseBase(number, i, number.length, base);
|
295
|
-
|
296
|
-
for (i = 0; i < mod; i++) {
|
297
|
-
pow *= base;
|
298
|
-
}
|
299
|
-
|
300
|
-
this.imuln(pow);
|
301
|
-
if (this.words[0] + word < 0x4000000) {
|
302
|
-
this.words[0] += word;
|
303
|
-
} else {
|
304
|
-
this._iaddn(word);
|
305
|
-
}
|
306
|
-
}
|
307
|
-
};
|
308
|
-
|
309
|
-
BN.prototype.copy = function copy (dest) {
|
310
|
-
dest.words = new Array(this.length);
|
311
|
-
for (var i = 0; i < this.length; i++) {
|
312
|
-
dest.words[i] = this.words[i];
|
313
|
-
}
|
314
|
-
dest.length = this.length;
|
315
|
-
dest.negative = this.negative;
|
316
|
-
dest.red = this.red;
|
317
|
-
};
|
318
|
-
|
319
|
-
BN.prototype.clone = function clone () {
|
320
|
-
var r = new BN(null);
|
321
|
-
this.copy(r);
|
322
|
-
return r;
|
323
|
-
};
|
324
|
-
|
325
|
-
BN.prototype._expand = function _expand (size) {
|
326
|
-
while (this.length < size) {
|
327
|
-
this.words[this.length++] = 0;
|
328
|
-
}
|
329
|
-
return this;
|
330
|
-
};
|
331
|
-
|
332
|
-
// Remove leading `0` from `this`
|
333
|
-
BN.prototype.strip = function strip () {
|
334
|
-
while (this.length > 1 && this.words[this.length - 1] === 0) {
|
335
|
-
this.length--;
|
336
|
-
}
|
337
|
-
return this._normSign();
|
338
|
-
};
|
339
|
-
|
340
|
-
BN.prototype._normSign = function _normSign () {
|
341
|
-
// -0 = 0
|
342
|
-
if (this.length === 1 && this.words[0] === 0) {
|
343
|
-
this.negative = 0;
|
344
|
-
}
|
345
|
-
return this;
|
346
|
-
};
|
347
|
-
|
348
|
-
BN.prototype.inspect = function inspect () {
|
349
|
-
return (this.red ? '<BN-R: ' : '<BN: ') + this.toString(16) + '>';
|
350
|
-
};
|
351
|
-
|
352
|
-
/*
|
353
|
-
|
354
|
-
var zeros = [];
|
355
|
-
var groupSizes = [];
|
356
|
-
var groupBases = [];
|
357
|
-
|
358
|
-
var s = '';
|
359
|
-
var i = -1;
|
360
|
-
while (++i < BN.wordSize) {
|
361
|
-
zeros[i] = s;
|
362
|
-
s += '0';
|
363
|
-
}
|
364
|
-
groupSizes[0] = 0;
|
365
|
-
groupSizes[1] = 0;
|
366
|
-
groupBases[0] = 0;
|
367
|
-
groupBases[1] = 0;
|
368
|
-
var base = 2 - 1;
|
369
|
-
while (++base < 36 + 1) {
|
370
|
-
var groupSize = 0;
|
371
|
-
var groupBase = 1;
|
372
|
-
while (groupBase < (1 << BN.wordSize) / base) {
|
373
|
-
groupBase *= base;
|
374
|
-
groupSize += 1;
|
375
|
-
}
|
376
|
-
groupSizes[base] = groupSize;
|
377
|
-
groupBases[base] = groupBase;
|
378
|
-
}
|
379
|
-
|
380
|
-
*/
|
381
|
-
|
382
|
-
var zeros = [
|
383
|
-
'',
|
384
|
-
'0',
|
385
|
-
'00',
|
386
|
-
'000',
|
387
|
-
'0000',
|
388
|
-
'00000',
|
389
|
-
'000000',
|
390
|
-
'0000000',
|
391
|
-
'00000000',
|
392
|
-
'000000000',
|
393
|
-
'0000000000',
|
394
|
-
'00000000000',
|
395
|
-
'000000000000',
|
396
|
-
'0000000000000',
|
397
|
-
'00000000000000',
|
398
|
-
'000000000000000',
|
399
|
-
'0000000000000000',
|
400
|
-
'00000000000000000',
|
401
|
-
'000000000000000000',
|
402
|
-
'0000000000000000000',
|
403
|
-
'00000000000000000000',
|
404
|
-
'000000000000000000000',
|
405
|
-
'0000000000000000000000',
|
406
|
-
'00000000000000000000000',
|
407
|
-
'000000000000000000000000',
|
408
|
-
'0000000000000000000000000'
|
409
|
-
];
|
410
|
-
|
411
|
-
var groupSizes = [
|
412
|
-
0, 0,
|
413
|
-
25, 16, 12, 11, 10, 9, 8,
|
414
|
-
8, 7, 7, 7, 7, 6, 6,
|
415
|
-
6, 6, 6, 6, 6, 5, 5,
|
416
|
-
5, 5, 5, 5, 5, 5, 5,
|
417
|
-
5, 5, 5, 5, 5, 5, 5
|
418
|
-
];
|
419
|
-
|
420
|
-
var groupBases = [
|
421
|
-
0, 0,
|
422
|
-
33554432, 43046721, 16777216, 48828125, 60466176, 40353607, 16777216,
|
423
|
-
43046721, 10000000, 19487171, 35831808, 62748517, 7529536, 11390625,
|
424
|
-
16777216, 24137569, 34012224, 47045881, 64000000, 4084101, 5153632,
|
425
|
-
6436343, 7962624, 9765625, 11881376, 14348907, 17210368, 20511149,
|
426
|
-
24300000, 28629151, 33554432, 39135393, 45435424, 52521875, 60466176
|
427
|
-
];
|
428
|
-
|
429
|
-
BN.prototype.toString = function toString (base, padding) {
|
430
|
-
base = base || 10;
|
431
|
-
padding = padding | 0 || 1;
|
432
|
-
|
433
|
-
var out;
|
434
|
-
if (base === 16 || base === 'hex') {
|
435
|
-
out = '';
|
436
|
-
var off = 0;
|
437
|
-
var carry = 0;
|
438
|
-
for (var i = 0; i < this.length; i++) {
|
439
|
-
var w = this.words[i];
|
440
|
-
var word = (((w << off) | carry) & 0xffffff).toString(16);
|
441
|
-
carry = (w >>> (24 - off)) & 0xffffff;
|
442
|
-
if (carry !== 0 || i !== this.length - 1) {
|
443
|
-
out = zeros[6 - word.length] + word + out;
|
444
|
-
} else {
|
445
|
-
out = word + out;
|
446
|
-
}
|
447
|
-
off += 2;
|
448
|
-
if (off >= 26) {
|
449
|
-
off -= 26;
|
450
|
-
i--;
|
451
|
-
}
|
452
|
-
}
|
453
|
-
if (carry !== 0) {
|
454
|
-
out = carry.toString(16) + out;
|
455
|
-
}
|
456
|
-
while (out.length % padding !== 0) {
|
457
|
-
out = '0' + out;
|
458
|
-
}
|
459
|
-
if (this.negative !== 0) {
|
460
|
-
out = '-' + out;
|
461
|
-
}
|
462
|
-
return out;
|
463
|
-
}
|
464
|
-
|
465
|
-
if (base === (base | 0) && base >= 2 && base <= 36) {
|
466
|
-
// var groupSize = Math.floor(BN.wordSize * Math.LN2 / Math.log(base));
|
467
|
-
var groupSize = groupSizes[base];
|
468
|
-
// var groupBase = Math.pow(base, groupSize);
|
469
|
-
var groupBase = groupBases[base];
|
470
|
-
out = '';
|
471
|
-
var c = this.clone();
|
472
|
-
c.negative = 0;
|
473
|
-
while (!c.isZero()) {
|
474
|
-
var r = c.modn(groupBase).toString(base);
|
475
|
-
c = c.idivn(groupBase);
|
476
|
-
|
477
|
-
if (!c.isZero()) {
|
478
|
-
out = zeros[groupSize - r.length] + r + out;
|
479
|
-
} else {
|
480
|
-
out = r + out;
|
481
|
-
}
|
482
|
-
}
|
483
|
-
if (this.isZero()) {
|
484
|
-
out = '0' + out;
|
485
|
-
}
|
486
|
-
while (out.length % padding !== 0) {
|
487
|
-
out = '0' + out;
|
488
|
-
}
|
489
|
-
if (this.negative !== 0) {
|
490
|
-
out = '-' + out;
|
491
|
-
}
|
492
|
-
return out;
|
493
|
-
}
|
494
|
-
|
495
|
-
assert(false, 'Base should be between 2 and 36');
|
496
|
-
};
|
497
|
-
|
498
|
-
BN.prototype.toNumber = function toNumber () {
|
499
|
-
var ret = this.words[0];
|
500
|
-
if (this.length === 2) {
|
501
|
-
ret += this.words[1] * 0x4000000;
|
502
|
-
} else if (this.length === 3 && this.words[2] === 0x01) {
|
503
|
-
// NOTE: at this stage it is known that the top bit is set
|
504
|
-
ret += 0x10000000000000 + (this.words[1] * 0x4000000);
|
505
|
-
} else if (this.length > 2) {
|
506
|
-
assert(false, 'Number can only safely store up to 53 bits');
|
507
|
-
}
|
508
|
-
return (this.negative !== 0) ? -ret : ret;
|
509
|
-
};
|
510
|
-
|
511
|
-
BN.prototype.toJSON = function toJSON () {
|
512
|
-
return this.toString(16);
|
513
|
-
};
|
514
|
-
|
515
|
-
BN.prototype.toBuffer = function toBuffer (endian, length) {
|
516
|
-
assert(typeof Buffer !== 'undefined');
|
517
|
-
return this.toArrayLike(Buffer, endian, length);
|
518
|
-
};
|
519
|
-
|
520
|
-
BN.prototype.toArray = function toArray (endian, length) {
|
521
|
-
return this.toArrayLike(Array, endian, length);
|
522
|
-
};
|
523
|
-
|
524
|
-
BN.prototype.toArrayLike = function toArrayLike (ArrayType, endian, length) {
|
525
|
-
var byteLength = this.byteLength();
|
526
|
-
var reqLength = length || Math.max(1, byteLength);
|
527
|
-
assert(byteLength <= reqLength, 'byte array longer than desired length');
|
528
|
-
assert(reqLength > 0, 'Requested array length <= 0');
|
529
|
-
|
530
|
-
this.strip();
|
531
|
-
var littleEndian = endian === 'le';
|
532
|
-
var res = new ArrayType(reqLength);
|
533
|
-
|
534
|
-
var b, i;
|
535
|
-
var q = this.clone();
|
536
|
-
if (!littleEndian) {
|
537
|
-
// Assume big-endian
|
538
|
-
for (i = 0; i < reqLength - byteLength; i++) {
|
539
|
-
res[i] = 0;
|
540
|
-
}
|
541
|
-
|
542
|
-
for (i = 0; !q.isZero(); i++) {
|
543
|
-
b = q.andln(0xff);
|
544
|
-
q.iushrn(8);
|
545
|
-
|
546
|
-
res[reqLength - i - 1] = b;
|
547
|
-
}
|
548
|
-
} else {
|
549
|
-
for (i = 0; !q.isZero(); i++) {
|
550
|
-
b = q.andln(0xff);
|
551
|
-
q.iushrn(8);
|
552
|
-
|
553
|
-
res[i] = b;
|
554
|
-
}
|
555
|
-
|
556
|
-
for (; i < reqLength; i++) {
|
557
|
-
res[i] = 0;
|
558
|
-
}
|
559
|
-
}
|
560
|
-
|
561
|
-
return res;
|
562
|
-
};
|
563
|
-
|
564
|
-
if (Math.clz32) {
|
565
|
-
BN.prototype._countBits = function _countBits (w) {
|
566
|
-
return 32 - Math.clz32(w);
|
567
|
-
};
|
568
|
-
} else {
|
569
|
-
BN.prototype._countBits = function _countBits (w) {
|
570
|
-
var t = w;
|
571
|
-
var r = 0;
|
572
|
-
if (t >= 0x1000) {
|
573
|
-
r += 13;
|
574
|
-
t >>>= 13;
|
575
|
-
}
|
576
|
-
if (t >= 0x40) {
|
577
|
-
r += 7;
|
578
|
-
t >>>= 7;
|
579
|
-
}
|
580
|
-
if (t >= 0x8) {
|
581
|
-
r += 4;
|
582
|
-
t >>>= 4;
|
583
|
-
}
|
584
|
-
if (t >= 0x02) {
|
585
|
-
r += 2;
|
586
|
-
t >>>= 2;
|
587
|
-
}
|
588
|
-
return r + t;
|
589
|
-
};
|
590
|
-
}
|
591
|
-
|
592
|
-
BN.prototype._zeroBits = function _zeroBits (w) {
|
593
|
-
// Short-cut
|
594
|
-
if (w === 0) return 26;
|
595
|
-
|
596
|
-
var t = w;
|
597
|
-
var r = 0;
|
598
|
-
if ((t & 0x1fff) === 0) {
|
599
|
-
r += 13;
|
600
|
-
t >>>= 13;
|
601
|
-
}
|
602
|
-
if ((t & 0x7f) === 0) {
|
603
|
-
r += 7;
|
604
|
-
t >>>= 7;
|
605
|
-
}
|
606
|
-
if ((t & 0xf) === 0) {
|
607
|
-
r += 4;
|
608
|
-
t >>>= 4;
|
609
|
-
}
|
610
|
-
if ((t & 0x3) === 0) {
|
611
|
-
r += 2;
|
612
|
-
t >>>= 2;
|
613
|
-
}
|
614
|
-
if ((t & 0x1) === 0) {
|
615
|
-
r++;
|
616
|
-
}
|
617
|
-
return r;
|
618
|
-
};
|
619
|
-
|
620
|
-
// Return number of used bits in a BN
|
621
|
-
BN.prototype.bitLength = function bitLength () {
|
622
|
-
var w = this.words[this.length - 1];
|
623
|
-
var hi = this._countBits(w);
|
624
|
-
return (this.length - 1) * 26 + hi;
|
625
|
-
};
|
626
|
-
|
627
|
-
function toBitArray (num) {
|
628
|
-
var w = new Array(num.bitLength());
|
629
|
-
|
630
|
-
for (var bit = 0; bit < w.length; bit++) {
|
631
|
-
var off = (bit / 26) | 0;
|
632
|
-
var wbit = bit % 26;
|
633
|
-
|
634
|
-
w[bit] = (num.words[off] & (1 << wbit)) >>> wbit;
|
635
|
-
}
|
636
|
-
|
637
|
-
return w;
|
638
|
-
}
|
639
|
-
|
640
|
-
// Number of trailing zero bits
|
641
|
-
BN.prototype.zeroBits = function zeroBits () {
|
642
|
-
if (this.isZero()) return 0;
|
643
|
-
|
644
|
-
var r = 0;
|
645
|
-
for (var i = 0; i < this.length; i++) {
|
646
|
-
var b = this._zeroBits(this.words[i]);
|
647
|
-
r += b;
|
648
|
-
if (b !== 26) break;
|
649
|
-
}
|
650
|
-
return r;
|
651
|
-
};
|
652
|
-
|
653
|
-
BN.prototype.byteLength = function byteLength () {
|
654
|
-
return Math.ceil(this.bitLength() / 8);
|
655
|
-
};
|
656
|
-
|
657
|
-
BN.prototype.toTwos = function toTwos (width) {
|
658
|
-
if (this.negative !== 0) {
|
659
|
-
return this.abs().inotn(width).iaddn(1);
|
660
|
-
}
|
661
|
-
return this.clone();
|
662
|
-
};
|
663
|
-
|
664
|
-
BN.prototype.fromTwos = function fromTwos (width) {
|
665
|
-
if (this.testn(width - 1)) {
|
666
|
-
return this.notn(width).iaddn(1).ineg();
|
667
|
-
}
|
668
|
-
return this.clone();
|
669
|
-
};
|
670
|
-
|
671
|
-
BN.prototype.isNeg = function isNeg () {
|
672
|
-
return this.negative !== 0;
|
673
|
-
};
|
674
|
-
|
675
|
-
// Return negative clone of `this`
|
676
|
-
BN.prototype.neg = function neg () {
|
677
|
-
return this.clone().ineg();
|
678
|
-
};
|
679
|
-
|
680
|
-
BN.prototype.ineg = function ineg () {
|
681
|
-
if (!this.isZero()) {
|
682
|
-
this.negative ^= 1;
|
683
|
-
}
|
684
|
-
|
685
|
-
return this;
|
686
|
-
};
|
687
|
-
|
688
|
-
// Or `num` with `this` in-place
|
689
|
-
BN.prototype.iuor = function iuor (num) {
|
690
|
-
while (this.length < num.length) {
|
691
|
-
this.words[this.length++] = 0;
|
692
|
-
}
|
693
|
-
|
694
|
-
for (var i = 0; i < num.length; i++) {
|
695
|
-
this.words[i] = this.words[i] | num.words[i];
|
696
|
-
}
|
697
|
-
|
698
|
-
return this.strip();
|
699
|
-
};
|
700
|
-
|
701
|
-
BN.prototype.ior = function ior (num) {
|
702
|
-
assert((this.negative | num.negative) === 0);
|
703
|
-
return this.iuor(num);
|
704
|
-
};
|
705
|
-
|
706
|
-
// Or `num` with `this`
|
707
|
-
BN.prototype.or = function or (num) {
|
708
|
-
if (this.length > num.length) return this.clone().ior(num);
|
709
|
-
return num.clone().ior(this);
|
710
|
-
};
|
711
|
-
|
712
|
-
BN.prototype.uor = function uor (num) {
|
713
|
-
if (this.length > num.length) return this.clone().iuor(num);
|
714
|
-
return num.clone().iuor(this);
|
715
|
-
};
|
716
|
-
|
717
|
-
// And `num` with `this` in-place
|
718
|
-
BN.prototype.iuand = function iuand (num) {
|
719
|
-
// b = min-length(num, this)
|
720
|
-
var b;
|
721
|
-
if (this.length > num.length) {
|
722
|
-
b = num;
|
723
|
-
} else {
|
724
|
-
b = this;
|
725
|
-
}
|
726
|
-
|
727
|
-
for (var i = 0; i < b.length; i++) {
|
728
|
-
this.words[i] = this.words[i] & num.words[i];
|
729
|
-
}
|
730
|
-
|
731
|
-
this.length = b.length;
|
732
|
-
|
733
|
-
return this.strip();
|
734
|
-
};
|
735
|
-
|
736
|
-
BN.prototype.iand = function iand (num) {
|
737
|
-
assert((this.negative | num.negative) === 0);
|
738
|
-
return this.iuand(num);
|
739
|
-
};
|
740
|
-
|
741
|
-
// And `num` with `this`
|
742
|
-
BN.prototype.and = function and (num) {
|
743
|
-
if (this.length > num.length) return this.clone().iand(num);
|
744
|
-
return num.clone().iand(this);
|
745
|
-
};
|
746
|
-
|
747
|
-
BN.prototype.uand = function uand (num) {
|
748
|
-
if (this.length > num.length) return this.clone().iuand(num);
|
749
|
-
return num.clone().iuand(this);
|
750
|
-
};
|
751
|
-
|
752
|
-
// Xor `num` with `this` in-place
|
753
|
-
BN.prototype.iuxor = function iuxor (num) {
|
754
|
-
// a.length > b.length
|
755
|
-
var a;
|
756
|
-
var b;
|
757
|
-
if (this.length > num.length) {
|
758
|
-
a = this;
|
759
|
-
b = num;
|
760
|
-
} else {
|
761
|
-
a = num;
|
762
|
-
b = this;
|
763
|
-
}
|
764
|
-
|
765
|
-
for (var i = 0; i < b.length; i++) {
|
766
|
-
this.words[i] = a.words[i] ^ b.words[i];
|
767
|
-
}
|
768
|
-
|
769
|
-
if (this !== a) {
|
770
|
-
for (; i < a.length; i++) {
|
771
|
-
this.words[i] = a.words[i];
|
772
|
-
}
|
773
|
-
}
|
774
|
-
|
775
|
-
this.length = a.length;
|
776
|
-
|
777
|
-
return this.strip();
|
778
|
-
};
|
779
|
-
|
780
|
-
BN.prototype.ixor = function ixor (num) {
|
781
|
-
assert((this.negative | num.negative) === 0);
|
782
|
-
return this.iuxor(num);
|
783
|
-
};
|
784
|
-
|
785
|
-
// Xor `num` with `this`
|
786
|
-
BN.prototype.xor = function xor (num) {
|
787
|
-
if (this.length > num.length) return this.clone().ixor(num);
|
788
|
-
return num.clone().ixor(this);
|
789
|
-
};
|
790
|
-
|
791
|
-
BN.prototype.uxor = function uxor (num) {
|
792
|
-
if (this.length > num.length) return this.clone().iuxor(num);
|
793
|
-
return num.clone().iuxor(this);
|
794
|
-
};
|
795
|
-
|
796
|
-
// Not ``this`` with ``width`` bitwidth
|
797
|
-
BN.prototype.inotn = function inotn (width) {
|
798
|
-
assert(typeof width === 'number' && width >= 0);
|
799
|
-
|
800
|
-
var bytesNeeded = Math.ceil(width / 26) | 0;
|
801
|
-
var bitsLeft = width % 26;
|
802
|
-
|
803
|
-
// Extend the buffer with leading zeroes
|
804
|
-
this._expand(bytesNeeded);
|
805
|
-
|
806
|
-
if (bitsLeft > 0) {
|
807
|
-
bytesNeeded--;
|
808
|
-
}
|
809
|
-
|
810
|
-
// Handle complete words
|
811
|
-
for (var i = 0; i < bytesNeeded; i++) {
|
812
|
-
this.words[i] = ~this.words[i] & 0x3ffffff;
|
813
|
-
}
|
814
|
-
|
815
|
-
// Handle the residue
|
816
|
-
if (bitsLeft > 0) {
|
817
|
-
this.words[i] = ~this.words[i] & (0x3ffffff >> (26 - bitsLeft));
|
818
|
-
}
|
819
|
-
|
820
|
-
// And remove leading zeroes
|
821
|
-
return this.strip();
|
822
|
-
};
|
823
|
-
|
824
|
-
BN.prototype.notn = function notn (width) {
|
825
|
-
return this.clone().inotn(width);
|
826
|
-
};
|
827
|
-
|
828
|
-
// Set `bit` of `this`
|
829
|
-
BN.prototype.setn = function setn (bit, val) {
|
830
|
-
assert(typeof bit === 'number' && bit >= 0);
|
831
|
-
|
832
|
-
var off = (bit / 26) | 0;
|
833
|
-
var wbit = bit % 26;
|
834
|
-
|
835
|
-
this._expand(off + 1);
|
836
|
-
|
837
|
-
if (val) {
|
838
|
-
this.words[off] = this.words[off] | (1 << wbit);
|
839
|
-
} else {
|
840
|
-
this.words[off] = this.words[off] & ~(1 << wbit);
|
841
|
-
}
|
842
|
-
|
843
|
-
return this.strip();
|
844
|
-
};
|
845
|
-
|
846
|
-
// Add `num` to `this` in-place
|
847
|
-
BN.prototype.iadd = function iadd (num) {
|
848
|
-
var r;
|
849
|
-
|
850
|
-
// negative + positive
|
851
|
-
if (this.negative !== 0 && num.negative === 0) {
|
852
|
-
this.negative = 0;
|
853
|
-
r = this.isub(num);
|
854
|
-
this.negative ^= 1;
|
855
|
-
return this._normSign();
|
856
|
-
|
857
|
-
// positive + negative
|
858
|
-
} else if (this.negative === 0 && num.negative !== 0) {
|
859
|
-
num.negative = 0;
|
860
|
-
r = this.isub(num);
|
861
|
-
num.negative = 1;
|
862
|
-
return r._normSign();
|
863
|
-
}
|
864
|
-
|
865
|
-
// a.length > b.length
|
866
|
-
var a, b;
|
867
|
-
if (this.length > num.length) {
|
868
|
-
a = this;
|
869
|
-
b = num;
|
870
|
-
} else {
|
871
|
-
a = num;
|
872
|
-
b = this;
|
873
|
-
}
|
874
|
-
|
875
|
-
var carry = 0;
|
876
|
-
for (var i = 0; i < b.length; i++) {
|
877
|
-
r = (a.words[i] | 0) + (b.words[i] | 0) + carry;
|
878
|
-
this.words[i] = r & 0x3ffffff;
|
879
|
-
carry = r >>> 26;
|
880
|
-
}
|
881
|
-
for (; carry !== 0 && i < a.length; i++) {
|
882
|
-
r = (a.words[i] | 0) + carry;
|
883
|
-
this.words[i] = r & 0x3ffffff;
|
884
|
-
carry = r >>> 26;
|
885
|
-
}
|
886
|
-
|
887
|
-
this.length = a.length;
|
888
|
-
if (carry !== 0) {
|
889
|
-
this.words[this.length] = carry;
|
890
|
-
this.length++;
|
891
|
-
// Copy the rest of the words
|
892
|
-
} else if (a !== this) {
|
893
|
-
for (; i < a.length; i++) {
|
894
|
-
this.words[i] = a.words[i];
|
895
|
-
}
|
896
|
-
}
|
897
|
-
|
898
|
-
return this;
|
899
|
-
};
|
900
|
-
|
901
|
-
// Add `num` to `this`
|
902
|
-
BN.prototype.add = function add (num) {
|
903
|
-
var res;
|
904
|
-
if (num.negative !== 0 && this.negative === 0) {
|
905
|
-
num.negative = 0;
|
906
|
-
res = this.sub(num);
|
907
|
-
num.negative ^= 1;
|
908
|
-
return res;
|
909
|
-
} else if (num.negative === 0 && this.negative !== 0) {
|
910
|
-
this.negative = 0;
|
911
|
-
res = num.sub(this);
|
912
|
-
this.negative = 1;
|
913
|
-
return res;
|
914
|
-
}
|
915
|
-
|
916
|
-
if (this.length > num.length) return this.clone().iadd(num);
|
917
|
-
|
918
|
-
return num.clone().iadd(this);
|
919
|
-
};
|
920
|
-
|
921
|
-
// Subtract `num` from `this` in-place
|
922
|
-
BN.prototype.isub = function isub (num) {
|
923
|
-
// this - (-num) = this + num
|
924
|
-
if (num.negative !== 0) {
|
925
|
-
num.negative = 0;
|
926
|
-
var r = this.iadd(num);
|
927
|
-
num.negative = 1;
|
928
|
-
return r._normSign();
|
929
|
-
|
930
|
-
// -this - num = -(this + num)
|
931
|
-
} else if (this.negative !== 0) {
|
932
|
-
this.negative = 0;
|
933
|
-
this.iadd(num);
|
934
|
-
this.negative = 1;
|
935
|
-
return this._normSign();
|
936
|
-
}
|
937
|
-
|
938
|
-
// At this point both numbers are positive
|
939
|
-
var cmp = this.cmp(num);
|
940
|
-
|
941
|
-
// Optimization - zeroify
|
942
|
-
if (cmp === 0) {
|
943
|
-
this.negative = 0;
|
944
|
-
this.length = 1;
|
945
|
-
this.words[0] = 0;
|
946
|
-
return this;
|
947
|
-
}
|
948
|
-
|
949
|
-
// a > b
|
950
|
-
var a, b;
|
951
|
-
if (cmp > 0) {
|
952
|
-
a = this;
|
953
|
-
b = num;
|
954
|
-
} else {
|
955
|
-
a = num;
|
956
|
-
b = this;
|
957
|
-
}
|
958
|
-
|
959
|
-
var carry = 0;
|
960
|
-
for (var i = 0; i < b.length; i++) {
|
961
|
-
r = (a.words[i] | 0) - (b.words[i] | 0) + carry;
|
962
|
-
carry = r >> 26;
|
963
|
-
this.words[i] = r & 0x3ffffff;
|
964
|
-
}
|
965
|
-
for (; carry !== 0 && i < a.length; i++) {
|
966
|
-
r = (a.words[i] | 0) + carry;
|
967
|
-
carry = r >> 26;
|
968
|
-
this.words[i] = r & 0x3ffffff;
|
969
|
-
}
|
970
|
-
|
971
|
-
// Copy rest of the words
|
972
|
-
if (carry === 0 && i < a.length && a !== this) {
|
973
|
-
for (; i < a.length; i++) {
|
974
|
-
this.words[i] = a.words[i];
|
975
|
-
}
|
976
|
-
}
|
977
|
-
|
978
|
-
this.length = Math.max(this.length, i);
|
979
|
-
|
980
|
-
if (a !== this) {
|
981
|
-
this.negative = 1;
|
982
|
-
}
|
983
|
-
|
984
|
-
return this.strip();
|
985
|
-
};
|
986
|
-
|
987
|
-
// Subtract `num` from `this`
|
988
|
-
BN.prototype.sub = function sub (num) {
|
989
|
-
return this.clone().isub(num);
|
990
|
-
};
|
991
|
-
|
992
|
-
function smallMulTo (self, num, out) {
|
993
|
-
out.negative = num.negative ^ self.negative;
|
994
|
-
var len = (self.length + num.length) | 0;
|
995
|
-
out.length = len;
|
996
|
-
len = (len - 1) | 0;
|
997
|
-
|
998
|
-
// Peel one iteration (compiler can't do it, because of code complexity)
|
999
|
-
var a = self.words[0] | 0;
|
1000
|
-
var b = num.words[0] | 0;
|
1001
|
-
var r = a * b;
|
1002
|
-
|
1003
|
-
var lo = r & 0x3ffffff;
|
1004
|
-
var carry = (r / 0x4000000) | 0;
|
1005
|
-
out.words[0] = lo;
|
1006
|
-
|
1007
|
-
for (var k = 1; k < len; k++) {
|
1008
|
-
// Sum all words with the same `i + j = k` and accumulate `ncarry`,
|
1009
|
-
// note that ncarry could be >= 0x3ffffff
|
1010
|
-
var ncarry = carry >>> 26;
|
1011
|
-
var rword = carry & 0x3ffffff;
|
1012
|
-
var maxJ = Math.min(k, num.length - 1);
|
1013
|
-
for (var j = Math.max(0, k - self.length + 1); j <= maxJ; j++) {
|
1014
|
-
var i = (k - j) | 0;
|
1015
|
-
a = self.words[i] | 0;
|
1016
|
-
b = num.words[j] | 0;
|
1017
|
-
r = a * b + rword;
|
1018
|
-
ncarry += (r / 0x4000000) | 0;
|
1019
|
-
rword = r & 0x3ffffff;
|
1020
|
-
}
|
1021
|
-
out.words[k] = rword | 0;
|
1022
|
-
carry = ncarry | 0;
|
1023
|
-
}
|
1024
|
-
if (carry !== 0) {
|
1025
|
-
out.words[k] = carry | 0;
|
1026
|
-
} else {
|
1027
|
-
out.length--;
|
1028
|
-
}
|
1029
|
-
|
1030
|
-
return out.strip();
|
1031
|
-
}
|
1032
|
-
|
1033
|
-
// TODO(indutny): it may be reasonable to omit it for users who don't need
|
1034
|
-
// to work with 256-bit numbers, otherwise it gives 20% improvement for 256-bit
|
1035
|
-
// multiplication (like elliptic secp256k1).
|
1036
|
-
var comb10MulTo = function comb10MulTo (self, num, out) {
|
1037
|
-
var a = self.words;
|
1038
|
-
var b = num.words;
|
1039
|
-
var o = out.words;
|
1040
|
-
var c = 0;
|
1041
|
-
var lo;
|
1042
|
-
var mid;
|
1043
|
-
var hi;
|
1044
|
-
var a0 = a[0] | 0;
|
1045
|
-
var al0 = a0 & 0x1fff;
|
1046
|
-
var ah0 = a0 >>> 13;
|
1047
|
-
var a1 = a[1] | 0;
|
1048
|
-
var al1 = a1 & 0x1fff;
|
1049
|
-
var ah1 = a1 >>> 13;
|
1050
|
-
var a2 = a[2] | 0;
|
1051
|
-
var al2 = a2 & 0x1fff;
|
1052
|
-
var ah2 = a2 >>> 13;
|
1053
|
-
var a3 = a[3] | 0;
|
1054
|
-
var al3 = a3 & 0x1fff;
|
1055
|
-
var ah3 = a3 >>> 13;
|
1056
|
-
var a4 = a[4] | 0;
|
1057
|
-
var al4 = a4 & 0x1fff;
|
1058
|
-
var ah4 = a4 >>> 13;
|
1059
|
-
var a5 = a[5] | 0;
|
1060
|
-
var al5 = a5 & 0x1fff;
|
1061
|
-
var ah5 = a5 >>> 13;
|
1062
|
-
var a6 = a[6] | 0;
|
1063
|
-
var al6 = a6 & 0x1fff;
|
1064
|
-
var ah6 = a6 >>> 13;
|
1065
|
-
var a7 = a[7] | 0;
|
1066
|
-
var al7 = a7 & 0x1fff;
|
1067
|
-
var ah7 = a7 >>> 13;
|
1068
|
-
var a8 = a[8] | 0;
|
1069
|
-
var al8 = a8 & 0x1fff;
|
1070
|
-
var ah8 = a8 >>> 13;
|
1071
|
-
var a9 = a[9] | 0;
|
1072
|
-
var al9 = a9 & 0x1fff;
|
1073
|
-
var ah9 = a9 >>> 13;
|
1074
|
-
var b0 = b[0] | 0;
|
1075
|
-
var bl0 = b0 & 0x1fff;
|
1076
|
-
var bh0 = b0 >>> 13;
|
1077
|
-
var b1 = b[1] | 0;
|
1078
|
-
var bl1 = b1 & 0x1fff;
|
1079
|
-
var bh1 = b1 >>> 13;
|
1080
|
-
var b2 = b[2] | 0;
|
1081
|
-
var bl2 = b2 & 0x1fff;
|
1082
|
-
var bh2 = b2 >>> 13;
|
1083
|
-
var b3 = b[3] | 0;
|
1084
|
-
var bl3 = b3 & 0x1fff;
|
1085
|
-
var bh3 = b3 >>> 13;
|
1086
|
-
var b4 = b[4] | 0;
|
1087
|
-
var bl4 = b4 & 0x1fff;
|
1088
|
-
var bh4 = b4 >>> 13;
|
1089
|
-
var b5 = b[5] | 0;
|
1090
|
-
var bl5 = b5 & 0x1fff;
|
1091
|
-
var bh5 = b5 >>> 13;
|
1092
|
-
var b6 = b[6] | 0;
|
1093
|
-
var bl6 = b6 & 0x1fff;
|
1094
|
-
var bh6 = b6 >>> 13;
|
1095
|
-
var b7 = b[7] | 0;
|
1096
|
-
var bl7 = b7 & 0x1fff;
|
1097
|
-
var bh7 = b7 >>> 13;
|
1098
|
-
var b8 = b[8] | 0;
|
1099
|
-
var bl8 = b8 & 0x1fff;
|
1100
|
-
var bh8 = b8 >>> 13;
|
1101
|
-
var b9 = b[9] | 0;
|
1102
|
-
var bl9 = b9 & 0x1fff;
|
1103
|
-
var bh9 = b9 >>> 13;
|
1104
|
-
|
1105
|
-
out.negative = self.negative ^ num.negative;
|
1106
|
-
out.length = 19;
|
1107
|
-
/* k = 0 */
|
1108
|
-
lo = Math.imul(al0, bl0);
|
1109
|
-
mid = Math.imul(al0, bh0);
|
1110
|
-
mid = (mid + Math.imul(ah0, bl0)) | 0;
|
1111
|
-
hi = Math.imul(ah0, bh0);
|
1112
|
-
var w0 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;
|
1113
|
-
c = (((hi + (mid >>> 13)) | 0) + (w0 >>> 26)) | 0;
|
1114
|
-
w0 &= 0x3ffffff;
|
1115
|
-
/* k = 1 */
|
1116
|
-
lo = Math.imul(al1, bl0);
|
1117
|
-
mid = Math.imul(al1, bh0);
|
1118
|
-
mid = (mid + Math.imul(ah1, bl0)) | 0;
|
1119
|
-
hi = Math.imul(ah1, bh0);
|
1120
|
-
lo = (lo + Math.imul(al0, bl1)) | 0;
|
1121
|
-
mid = (mid + Math.imul(al0, bh1)) | 0;
|
1122
|
-
mid = (mid + Math.imul(ah0, bl1)) | 0;
|
1123
|
-
hi = (hi + Math.imul(ah0, bh1)) | 0;
|
1124
|
-
var w1 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;
|
1125
|
-
c = (((hi + (mid >>> 13)) | 0) + (w1 >>> 26)) | 0;
|
1126
|
-
w1 &= 0x3ffffff;
|
1127
|
-
/* k = 2 */
|
1128
|
-
lo = Math.imul(al2, bl0);
|
1129
|
-
mid = Math.imul(al2, bh0);
|
1130
|
-
mid = (mid + Math.imul(ah2, bl0)) | 0;
|
1131
|
-
hi = Math.imul(ah2, bh0);
|
1132
|
-
lo = (lo + Math.imul(al1, bl1)) | 0;
|
1133
|
-
mid = (mid + Math.imul(al1, bh1)) | 0;
|
1134
|
-
mid = (mid + Math.imul(ah1, bl1)) | 0;
|
1135
|
-
hi = (hi + Math.imul(ah1, bh1)) | 0;
|
1136
|
-
lo = (lo + Math.imul(al0, bl2)) | 0;
|
1137
|
-
mid = (mid + Math.imul(al0, bh2)) | 0;
|
1138
|
-
mid = (mid + Math.imul(ah0, bl2)) | 0;
|
1139
|
-
hi = (hi + Math.imul(ah0, bh2)) | 0;
|
1140
|
-
var w2 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;
|
1141
|
-
c = (((hi + (mid >>> 13)) | 0) + (w2 >>> 26)) | 0;
|
1142
|
-
w2 &= 0x3ffffff;
|
1143
|
-
/* k = 3 */
|
1144
|
-
lo = Math.imul(al3, bl0);
|
1145
|
-
mid = Math.imul(al3, bh0);
|
1146
|
-
mid = (mid + Math.imul(ah3, bl0)) | 0;
|
1147
|
-
hi = Math.imul(ah3, bh0);
|
1148
|
-
lo = (lo + Math.imul(al2, bl1)) | 0;
|
1149
|
-
mid = (mid + Math.imul(al2, bh1)) | 0;
|
1150
|
-
mid = (mid + Math.imul(ah2, bl1)) | 0;
|
1151
|
-
hi = (hi + Math.imul(ah2, bh1)) | 0;
|
1152
|
-
lo = (lo + Math.imul(al1, bl2)) | 0;
|
1153
|
-
mid = (mid + Math.imul(al1, bh2)) | 0;
|
1154
|
-
mid = (mid + Math.imul(ah1, bl2)) | 0;
|
1155
|
-
hi = (hi + Math.imul(ah1, bh2)) | 0;
|
1156
|
-
lo = (lo + Math.imul(al0, bl3)) | 0;
|
1157
|
-
mid = (mid + Math.imul(al0, bh3)) | 0;
|
1158
|
-
mid = (mid + Math.imul(ah0, bl3)) | 0;
|
1159
|
-
hi = (hi + Math.imul(ah0, bh3)) | 0;
|
1160
|
-
var w3 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;
|
1161
|
-
c = (((hi + (mid >>> 13)) | 0) + (w3 >>> 26)) | 0;
|
1162
|
-
w3 &= 0x3ffffff;
|
1163
|
-
/* k = 4 */
|
1164
|
-
lo = Math.imul(al4, bl0);
|
1165
|
-
mid = Math.imul(al4, bh0);
|
1166
|
-
mid = (mid + Math.imul(ah4, bl0)) | 0;
|
1167
|
-
hi = Math.imul(ah4, bh0);
|
1168
|
-
lo = (lo + Math.imul(al3, bl1)) | 0;
|
1169
|
-
mid = (mid + Math.imul(al3, bh1)) | 0;
|
1170
|
-
mid = (mid + Math.imul(ah3, bl1)) | 0;
|
1171
|
-
hi = (hi + Math.imul(ah3, bh1)) | 0;
|
1172
|
-
lo = (lo + Math.imul(al2, bl2)) | 0;
|
1173
|
-
mid = (mid + Math.imul(al2, bh2)) | 0;
|
1174
|
-
mid = (mid + Math.imul(ah2, bl2)) | 0;
|
1175
|
-
hi = (hi + Math.imul(ah2, bh2)) | 0;
|
1176
|
-
lo = (lo + Math.imul(al1, bl3)) | 0;
|
1177
|
-
mid = (mid + Math.imul(al1, bh3)) | 0;
|
1178
|
-
mid = (mid + Math.imul(ah1, bl3)) | 0;
|
1179
|
-
hi = (hi + Math.imul(ah1, bh3)) | 0;
|
1180
|
-
lo = (lo + Math.imul(al0, bl4)) | 0;
|
1181
|
-
mid = (mid + Math.imul(al0, bh4)) | 0;
|
1182
|
-
mid = (mid + Math.imul(ah0, bl4)) | 0;
|
1183
|
-
hi = (hi + Math.imul(ah0, bh4)) | 0;
|
1184
|
-
var w4 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;
|
1185
|
-
c = (((hi + (mid >>> 13)) | 0) + (w4 >>> 26)) | 0;
|
1186
|
-
w4 &= 0x3ffffff;
|
1187
|
-
/* k = 5 */
|
1188
|
-
lo = Math.imul(al5, bl0);
|
1189
|
-
mid = Math.imul(al5, bh0);
|
1190
|
-
mid = (mid + Math.imul(ah5, bl0)) | 0;
|
1191
|
-
hi = Math.imul(ah5, bh0);
|
1192
|
-
lo = (lo + Math.imul(al4, bl1)) | 0;
|
1193
|
-
mid = (mid + Math.imul(al4, bh1)) | 0;
|
1194
|
-
mid = (mid + Math.imul(ah4, bl1)) | 0;
|
1195
|
-
hi = (hi + Math.imul(ah4, bh1)) | 0;
|
1196
|
-
lo = (lo + Math.imul(al3, bl2)) | 0;
|
1197
|
-
mid = (mid + Math.imul(al3, bh2)) | 0;
|
1198
|
-
mid = (mid + Math.imul(ah3, bl2)) | 0;
|
1199
|
-
hi = (hi + Math.imul(ah3, bh2)) | 0;
|
1200
|
-
lo = (lo + Math.imul(al2, bl3)) | 0;
|
1201
|
-
mid = (mid + Math.imul(al2, bh3)) | 0;
|
1202
|
-
mid = (mid + Math.imul(ah2, bl3)) | 0;
|
1203
|
-
hi = (hi + Math.imul(ah2, bh3)) | 0;
|
1204
|
-
lo = (lo + Math.imul(al1, bl4)) | 0;
|
1205
|
-
mid = (mid + Math.imul(al1, bh4)) | 0;
|
1206
|
-
mid = (mid + Math.imul(ah1, bl4)) | 0;
|
1207
|
-
hi = (hi + Math.imul(ah1, bh4)) | 0;
|
1208
|
-
lo = (lo + Math.imul(al0, bl5)) | 0;
|
1209
|
-
mid = (mid + Math.imul(al0, bh5)) | 0;
|
1210
|
-
mid = (mid + Math.imul(ah0, bl5)) | 0;
|
1211
|
-
hi = (hi + Math.imul(ah0, bh5)) | 0;
|
1212
|
-
var w5 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;
|
1213
|
-
c = (((hi + (mid >>> 13)) | 0) + (w5 >>> 26)) | 0;
|
1214
|
-
w5 &= 0x3ffffff;
|
1215
|
-
/* k = 6 */
|
1216
|
-
lo = Math.imul(al6, bl0);
|
1217
|
-
mid = Math.imul(al6, bh0);
|
1218
|
-
mid = (mid + Math.imul(ah6, bl0)) | 0;
|
1219
|
-
hi = Math.imul(ah6, bh0);
|
1220
|
-
lo = (lo + Math.imul(al5, bl1)) | 0;
|
1221
|
-
mid = (mid + Math.imul(al5, bh1)) | 0;
|
1222
|
-
mid = (mid + Math.imul(ah5, bl1)) | 0;
|
1223
|
-
hi = (hi + Math.imul(ah5, bh1)) | 0;
|
1224
|
-
lo = (lo + Math.imul(al4, bl2)) | 0;
|
1225
|
-
mid = (mid + Math.imul(al4, bh2)) | 0;
|
1226
|
-
mid = (mid + Math.imul(ah4, bl2)) | 0;
|
1227
|
-
hi = (hi + Math.imul(ah4, bh2)) | 0;
|
1228
|
-
lo = (lo + Math.imul(al3, bl3)) | 0;
|
1229
|
-
mid = (mid + Math.imul(al3, bh3)) | 0;
|
1230
|
-
mid = (mid + Math.imul(ah3, bl3)) | 0;
|
1231
|
-
hi = (hi + Math.imul(ah3, bh3)) | 0;
|
1232
|
-
lo = (lo + Math.imul(al2, bl4)) | 0;
|
1233
|
-
mid = (mid + Math.imul(al2, bh4)) | 0;
|
1234
|
-
mid = (mid + Math.imul(ah2, bl4)) | 0;
|
1235
|
-
hi = (hi + Math.imul(ah2, bh4)) | 0;
|
1236
|
-
lo = (lo + Math.imul(al1, bl5)) | 0;
|
1237
|
-
mid = (mid + Math.imul(al1, bh5)) | 0;
|
1238
|
-
mid = (mid + Math.imul(ah1, bl5)) | 0;
|
1239
|
-
hi = (hi + Math.imul(ah1, bh5)) | 0;
|
1240
|
-
lo = (lo + Math.imul(al0, bl6)) | 0;
|
1241
|
-
mid = (mid + Math.imul(al0, bh6)) | 0;
|
1242
|
-
mid = (mid + Math.imul(ah0, bl6)) | 0;
|
1243
|
-
hi = (hi + Math.imul(ah0, bh6)) | 0;
|
1244
|
-
var w6 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;
|
1245
|
-
c = (((hi + (mid >>> 13)) | 0) + (w6 >>> 26)) | 0;
|
1246
|
-
w6 &= 0x3ffffff;
|
1247
|
-
/* k = 7 */
|
1248
|
-
lo = Math.imul(al7, bl0);
|
1249
|
-
mid = Math.imul(al7, bh0);
|
1250
|
-
mid = (mid + Math.imul(ah7, bl0)) | 0;
|
1251
|
-
hi = Math.imul(ah7, bh0);
|
1252
|
-
lo = (lo + Math.imul(al6, bl1)) | 0;
|
1253
|
-
mid = (mid + Math.imul(al6, bh1)) | 0;
|
1254
|
-
mid = (mid + Math.imul(ah6, bl1)) | 0;
|
1255
|
-
hi = (hi + Math.imul(ah6, bh1)) | 0;
|
1256
|
-
lo = (lo + Math.imul(al5, bl2)) | 0;
|
1257
|
-
mid = (mid + Math.imul(al5, bh2)) | 0;
|
1258
|
-
mid = (mid + Math.imul(ah5, bl2)) | 0;
|
1259
|
-
hi = (hi + Math.imul(ah5, bh2)) | 0;
|
1260
|
-
lo = (lo + Math.imul(al4, bl3)) | 0;
|
1261
|
-
mid = (mid + Math.imul(al4, bh3)) | 0;
|
1262
|
-
mid = (mid + Math.imul(ah4, bl3)) | 0;
|
1263
|
-
hi = (hi + Math.imul(ah4, bh3)) | 0;
|
1264
|
-
lo = (lo + Math.imul(al3, bl4)) | 0;
|
1265
|
-
mid = (mid + Math.imul(al3, bh4)) | 0;
|
1266
|
-
mid = (mid + Math.imul(ah3, bl4)) | 0;
|
1267
|
-
hi = (hi + Math.imul(ah3, bh4)) | 0;
|
1268
|
-
lo = (lo + Math.imul(al2, bl5)) | 0;
|
1269
|
-
mid = (mid + Math.imul(al2, bh5)) | 0;
|
1270
|
-
mid = (mid + Math.imul(ah2, bl5)) | 0;
|
1271
|
-
hi = (hi + Math.imul(ah2, bh5)) | 0;
|
1272
|
-
lo = (lo + Math.imul(al1, bl6)) | 0;
|
1273
|
-
mid = (mid + Math.imul(al1, bh6)) | 0;
|
1274
|
-
mid = (mid + Math.imul(ah1, bl6)) | 0;
|
1275
|
-
hi = (hi + Math.imul(ah1, bh6)) | 0;
|
1276
|
-
lo = (lo + Math.imul(al0, bl7)) | 0;
|
1277
|
-
mid = (mid + Math.imul(al0, bh7)) | 0;
|
1278
|
-
mid = (mid + Math.imul(ah0, bl7)) | 0;
|
1279
|
-
hi = (hi + Math.imul(ah0, bh7)) | 0;
|
1280
|
-
var w7 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;
|
1281
|
-
c = (((hi + (mid >>> 13)) | 0) + (w7 >>> 26)) | 0;
|
1282
|
-
w7 &= 0x3ffffff;
|
1283
|
-
/* k = 8 */
|
1284
|
-
lo = Math.imul(al8, bl0);
|
1285
|
-
mid = Math.imul(al8, bh0);
|
1286
|
-
mid = (mid + Math.imul(ah8, bl0)) | 0;
|
1287
|
-
hi = Math.imul(ah8, bh0);
|
1288
|
-
lo = (lo + Math.imul(al7, bl1)) | 0;
|
1289
|
-
mid = (mid + Math.imul(al7, bh1)) | 0;
|
1290
|
-
mid = (mid + Math.imul(ah7, bl1)) | 0;
|
1291
|
-
hi = (hi + Math.imul(ah7, bh1)) | 0;
|
1292
|
-
lo = (lo + Math.imul(al6, bl2)) | 0;
|
1293
|
-
mid = (mid + Math.imul(al6, bh2)) | 0;
|
1294
|
-
mid = (mid + Math.imul(ah6, bl2)) | 0;
|
1295
|
-
hi = (hi + Math.imul(ah6, bh2)) | 0;
|
1296
|
-
lo = (lo + Math.imul(al5, bl3)) | 0;
|
1297
|
-
mid = (mid + Math.imul(al5, bh3)) | 0;
|
1298
|
-
mid = (mid + Math.imul(ah5, bl3)) | 0;
|
1299
|
-
hi = (hi + Math.imul(ah5, bh3)) | 0;
|
1300
|
-
lo = (lo + Math.imul(al4, bl4)) | 0;
|
1301
|
-
mid = (mid + Math.imul(al4, bh4)) | 0;
|
1302
|
-
mid = (mid + Math.imul(ah4, bl4)) | 0;
|
1303
|
-
hi = (hi + Math.imul(ah4, bh4)) | 0;
|
1304
|
-
lo = (lo + Math.imul(al3, bl5)) | 0;
|
1305
|
-
mid = (mid + Math.imul(al3, bh5)) | 0;
|
1306
|
-
mid = (mid + Math.imul(ah3, bl5)) | 0;
|
1307
|
-
hi = (hi + Math.imul(ah3, bh5)) | 0;
|
1308
|
-
lo = (lo + Math.imul(al2, bl6)) | 0;
|
1309
|
-
mid = (mid + Math.imul(al2, bh6)) | 0;
|
1310
|
-
mid = (mid + Math.imul(ah2, bl6)) | 0;
|
1311
|
-
hi = (hi + Math.imul(ah2, bh6)) | 0;
|
1312
|
-
lo = (lo + Math.imul(al1, bl7)) | 0;
|
1313
|
-
mid = (mid + Math.imul(al1, bh7)) | 0;
|
1314
|
-
mid = (mid + Math.imul(ah1, bl7)) | 0;
|
1315
|
-
hi = (hi + Math.imul(ah1, bh7)) | 0;
|
1316
|
-
lo = (lo + Math.imul(al0, bl8)) | 0;
|
1317
|
-
mid = (mid + Math.imul(al0, bh8)) | 0;
|
1318
|
-
mid = (mid + Math.imul(ah0, bl8)) | 0;
|
1319
|
-
hi = (hi + Math.imul(ah0, bh8)) | 0;
|
1320
|
-
var w8 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;
|
1321
|
-
c = (((hi + (mid >>> 13)) | 0) + (w8 >>> 26)) | 0;
|
1322
|
-
w8 &= 0x3ffffff;
|
1323
|
-
/* k = 9 */
|
1324
|
-
lo = Math.imul(al9, bl0);
|
1325
|
-
mid = Math.imul(al9, bh0);
|
1326
|
-
mid = (mid + Math.imul(ah9, bl0)) | 0;
|
1327
|
-
hi = Math.imul(ah9, bh0);
|
1328
|
-
lo = (lo + Math.imul(al8, bl1)) | 0;
|
1329
|
-
mid = (mid + Math.imul(al8, bh1)) | 0;
|
1330
|
-
mid = (mid + Math.imul(ah8, bl1)) | 0;
|
1331
|
-
hi = (hi + Math.imul(ah8, bh1)) | 0;
|
1332
|
-
lo = (lo + Math.imul(al7, bl2)) | 0;
|
1333
|
-
mid = (mid + Math.imul(al7, bh2)) | 0;
|
1334
|
-
mid = (mid + Math.imul(ah7, bl2)) | 0;
|
1335
|
-
hi = (hi + Math.imul(ah7, bh2)) | 0;
|
1336
|
-
lo = (lo + Math.imul(al6, bl3)) | 0;
|
1337
|
-
mid = (mid + Math.imul(al6, bh3)) | 0;
|
1338
|
-
mid = (mid + Math.imul(ah6, bl3)) | 0;
|
1339
|
-
hi = (hi + Math.imul(ah6, bh3)) | 0;
|
1340
|
-
lo = (lo + Math.imul(al5, bl4)) | 0;
|
1341
|
-
mid = (mid + Math.imul(al5, bh4)) | 0;
|
1342
|
-
mid = (mid + Math.imul(ah5, bl4)) | 0;
|
1343
|
-
hi = (hi + Math.imul(ah5, bh4)) | 0;
|
1344
|
-
lo = (lo + Math.imul(al4, bl5)) | 0;
|
1345
|
-
mid = (mid + Math.imul(al4, bh5)) | 0;
|
1346
|
-
mid = (mid + Math.imul(ah4, bl5)) | 0;
|
1347
|
-
hi = (hi + Math.imul(ah4, bh5)) | 0;
|
1348
|
-
lo = (lo + Math.imul(al3, bl6)) | 0;
|
1349
|
-
mid = (mid + Math.imul(al3, bh6)) | 0;
|
1350
|
-
mid = (mid + Math.imul(ah3, bl6)) | 0;
|
1351
|
-
hi = (hi + Math.imul(ah3, bh6)) | 0;
|
1352
|
-
lo = (lo + Math.imul(al2, bl7)) | 0;
|
1353
|
-
mid = (mid + Math.imul(al2, bh7)) | 0;
|
1354
|
-
mid = (mid + Math.imul(ah2, bl7)) | 0;
|
1355
|
-
hi = (hi + Math.imul(ah2, bh7)) | 0;
|
1356
|
-
lo = (lo + Math.imul(al1, bl8)) | 0;
|
1357
|
-
mid = (mid + Math.imul(al1, bh8)) | 0;
|
1358
|
-
mid = (mid + Math.imul(ah1, bl8)) | 0;
|
1359
|
-
hi = (hi + Math.imul(ah1, bh8)) | 0;
|
1360
|
-
lo = (lo + Math.imul(al0, bl9)) | 0;
|
1361
|
-
mid = (mid + Math.imul(al0, bh9)) | 0;
|
1362
|
-
mid = (mid + Math.imul(ah0, bl9)) | 0;
|
1363
|
-
hi = (hi + Math.imul(ah0, bh9)) | 0;
|
1364
|
-
var w9 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;
|
1365
|
-
c = (((hi + (mid >>> 13)) | 0) + (w9 >>> 26)) | 0;
|
1366
|
-
w9 &= 0x3ffffff;
|
1367
|
-
/* k = 10 */
|
1368
|
-
lo = Math.imul(al9, bl1);
|
1369
|
-
mid = Math.imul(al9, bh1);
|
1370
|
-
mid = (mid + Math.imul(ah9, bl1)) | 0;
|
1371
|
-
hi = Math.imul(ah9, bh1);
|
1372
|
-
lo = (lo + Math.imul(al8, bl2)) | 0;
|
1373
|
-
mid = (mid + Math.imul(al8, bh2)) | 0;
|
1374
|
-
mid = (mid + Math.imul(ah8, bl2)) | 0;
|
1375
|
-
hi = (hi + Math.imul(ah8, bh2)) | 0;
|
1376
|
-
lo = (lo + Math.imul(al7, bl3)) | 0;
|
1377
|
-
mid = (mid + Math.imul(al7, bh3)) | 0;
|
1378
|
-
mid = (mid + Math.imul(ah7, bl3)) | 0;
|
1379
|
-
hi = (hi + Math.imul(ah7, bh3)) | 0;
|
1380
|
-
lo = (lo + Math.imul(al6, bl4)) | 0;
|
1381
|
-
mid = (mid + Math.imul(al6, bh4)) | 0;
|
1382
|
-
mid = (mid + Math.imul(ah6, bl4)) | 0;
|
1383
|
-
hi = (hi + Math.imul(ah6, bh4)) | 0;
|
1384
|
-
lo = (lo + Math.imul(al5, bl5)) | 0;
|
1385
|
-
mid = (mid + Math.imul(al5, bh5)) | 0;
|
1386
|
-
mid = (mid + Math.imul(ah5, bl5)) | 0;
|
1387
|
-
hi = (hi + Math.imul(ah5, bh5)) | 0;
|
1388
|
-
lo = (lo + Math.imul(al4, bl6)) | 0;
|
1389
|
-
mid = (mid + Math.imul(al4, bh6)) | 0;
|
1390
|
-
mid = (mid + Math.imul(ah4, bl6)) | 0;
|
1391
|
-
hi = (hi + Math.imul(ah4, bh6)) | 0;
|
1392
|
-
lo = (lo + Math.imul(al3, bl7)) | 0;
|
1393
|
-
mid = (mid + Math.imul(al3, bh7)) | 0;
|
1394
|
-
mid = (mid + Math.imul(ah3, bl7)) | 0;
|
1395
|
-
hi = (hi + Math.imul(ah3, bh7)) | 0;
|
1396
|
-
lo = (lo + Math.imul(al2, bl8)) | 0;
|
1397
|
-
mid = (mid + Math.imul(al2, bh8)) | 0;
|
1398
|
-
mid = (mid + Math.imul(ah2, bl8)) | 0;
|
1399
|
-
hi = (hi + Math.imul(ah2, bh8)) | 0;
|
1400
|
-
lo = (lo + Math.imul(al1, bl9)) | 0;
|
1401
|
-
mid = (mid + Math.imul(al1, bh9)) | 0;
|
1402
|
-
mid = (mid + Math.imul(ah1, bl9)) | 0;
|
1403
|
-
hi = (hi + Math.imul(ah1, bh9)) | 0;
|
1404
|
-
var w10 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;
|
1405
|
-
c = (((hi + (mid >>> 13)) | 0) + (w10 >>> 26)) | 0;
|
1406
|
-
w10 &= 0x3ffffff;
|
1407
|
-
/* k = 11 */
|
1408
|
-
lo = Math.imul(al9, bl2);
|
1409
|
-
mid = Math.imul(al9, bh2);
|
1410
|
-
mid = (mid + Math.imul(ah9, bl2)) | 0;
|
1411
|
-
hi = Math.imul(ah9, bh2);
|
1412
|
-
lo = (lo + Math.imul(al8, bl3)) | 0;
|
1413
|
-
mid = (mid + Math.imul(al8, bh3)) | 0;
|
1414
|
-
mid = (mid + Math.imul(ah8, bl3)) | 0;
|
1415
|
-
hi = (hi + Math.imul(ah8, bh3)) | 0;
|
1416
|
-
lo = (lo + Math.imul(al7, bl4)) | 0;
|
1417
|
-
mid = (mid + Math.imul(al7, bh4)) | 0;
|
1418
|
-
mid = (mid + Math.imul(ah7, bl4)) | 0;
|
1419
|
-
hi = (hi + Math.imul(ah7, bh4)) | 0;
|
1420
|
-
lo = (lo + Math.imul(al6, bl5)) | 0;
|
1421
|
-
mid = (mid + Math.imul(al6, bh5)) | 0;
|
1422
|
-
mid = (mid + Math.imul(ah6, bl5)) | 0;
|
1423
|
-
hi = (hi + Math.imul(ah6, bh5)) | 0;
|
1424
|
-
lo = (lo + Math.imul(al5, bl6)) | 0;
|
1425
|
-
mid = (mid + Math.imul(al5, bh6)) | 0;
|
1426
|
-
mid = (mid + Math.imul(ah5, bl6)) | 0;
|
1427
|
-
hi = (hi + Math.imul(ah5, bh6)) | 0;
|
1428
|
-
lo = (lo + Math.imul(al4, bl7)) | 0;
|
1429
|
-
mid = (mid + Math.imul(al4, bh7)) | 0;
|
1430
|
-
mid = (mid + Math.imul(ah4, bl7)) | 0;
|
1431
|
-
hi = (hi + Math.imul(ah4, bh7)) | 0;
|
1432
|
-
lo = (lo + Math.imul(al3, bl8)) | 0;
|
1433
|
-
mid = (mid + Math.imul(al3, bh8)) | 0;
|
1434
|
-
mid = (mid + Math.imul(ah3, bl8)) | 0;
|
1435
|
-
hi = (hi + Math.imul(ah3, bh8)) | 0;
|
1436
|
-
lo = (lo + Math.imul(al2, bl9)) | 0;
|
1437
|
-
mid = (mid + Math.imul(al2, bh9)) | 0;
|
1438
|
-
mid = (mid + Math.imul(ah2, bl9)) | 0;
|
1439
|
-
hi = (hi + Math.imul(ah2, bh9)) | 0;
|
1440
|
-
var w11 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;
|
1441
|
-
c = (((hi + (mid >>> 13)) | 0) + (w11 >>> 26)) | 0;
|
1442
|
-
w11 &= 0x3ffffff;
|
1443
|
-
/* k = 12 */
|
1444
|
-
lo = Math.imul(al9, bl3);
|
1445
|
-
mid = Math.imul(al9, bh3);
|
1446
|
-
mid = (mid + Math.imul(ah9, bl3)) | 0;
|
1447
|
-
hi = Math.imul(ah9, bh3);
|
1448
|
-
lo = (lo + Math.imul(al8, bl4)) | 0;
|
1449
|
-
mid = (mid + Math.imul(al8, bh4)) | 0;
|
1450
|
-
mid = (mid + Math.imul(ah8, bl4)) | 0;
|
1451
|
-
hi = (hi + Math.imul(ah8, bh4)) | 0;
|
1452
|
-
lo = (lo + Math.imul(al7, bl5)) | 0;
|
1453
|
-
mid = (mid + Math.imul(al7, bh5)) | 0;
|
1454
|
-
mid = (mid + Math.imul(ah7, bl5)) | 0;
|
1455
|
-
hi = (hi + Math.imul(ah7, bh5)) | 0;
|
1456
|
-
lo = (lo + Math.imul(al6, bl6)) | 0;
|
1457
|
-
mid = (mid + Math.imul(al6, bh6)) | 0;
|
1458
|
-
mid = (mid + Math.imul(ah6, bl6)) | 0;
|
1459
|
-
hi = (hi + Math.imul(ah6, bh6)) | 0;
|
1460
|
-
lo = (lo + Math.imul(al5, bl7)) | 0;
|
1461
|
-
mid = (mid + Math.imul(al5, bh7)) | 0;
|
1462
|
-
mid = (mid + Math.imul(ah5, bl7)) | 0;
|
1463
|
-
hi = (hi + Math.imul(ah5, bh7)) | 0;
|
1464
|
-
lo = (lo + Math.imul(al4, bl8)) | 0;
|
1465
|
-
mid = (mid + Math.imul(al4, bh8)) | 0;
|
1466
|
-
mid = (mid + Math.imul(ah4, bl8)) | 0;
|
1467
|
-
hi = (hi + Math.imul(ah4, bh8)) | 0;
|
1468
|
-
lo = (lo + Math.imul(al3, bl9)) | 0;
|
1469
|
-
mid = (mid + Math.imul(al3, bh9)) | 0;
|
1470
|
-
mid = (mid + Math.imul(ah3, bl9)) | 0;
|
1471
|
-
hi = (hi + Math.imul(ah3, bh9)) | 0;
|
1472
|
-
var w12 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;
|
1473
|
-
c = (((hi + (mid >>> 13)) | 0) + (w12 >>> 26)) | 0;
|
1474
|
-
w12 &= 0x3ffffff;
|
1475
|
-
/* k = 13 */
|
1476
|
-
lo = Math.imul(al9, bl4);
|
1477
|
-
mid = Math.imul(al9, bh4);
|
1478
|
-
mid = (mid + Math.imul(ah9, bl4)) | 0;
|
1479
|
-
hi = Math.imul(ah9, bh4);
|
1480
|
-
lo = (lo + Math.imul(al8, bl5)) | 0;
|
1481
|
-
mid = (mid + Math.imul(al8, bh5)) | 0;
|
1482
|
-
mid = (mid + Math.imul(ah8, bl5)) | 0;
|
1483
|
-
hi = (hi + Math.imul(ah8, bh5)) | 0;
|
1484
|
-
lo = (lo + Math.imul(al7, bl6)) | 0;
|
1485
|
-
mid = (mid + Math.imul(al7, bh6)) | 0;
|
1486
|
-
mid = (mid + Math.imul(ah7, bl6)) | 0;
|
1487
|
-
hi = (hi + Math.imul(ah7, bh6)) | 0;
|
1488
|
-
lo = (lo + Math.imul(al6, bl7)) | 0;
|
1489
|
-
mid = (mid + Math.imul(al6, bh7)) | 0;
|
1490
|
-
mid = (mid + Math.imul(ah6, bl7)) | 0;
|
1491
|
-
hi = (hi + Math.imul(ah6, bh7)) | 0;
|
1492
|
-
lo = (lo + Math.imul(al5, bl8)) | 0;
|
1493
|
-
mid = (mid + Math.imul(al5, bh8)) | 0;
|
1494
|
-
mid = (mid + Math.imul(ah5, bl8)) | 0;
|
1495
|
-
hi = (hi + Math.imul(ah5, bh8)) | 0;
|
1496
|
-
lo = (lo + Math.imul(al4, bl9)) | 0;
|
1497
|
-
mid = (mid + Math.imul(al4, bh9)) | 0;
|
1498
|
-
mid = (mid + Math.imul(ah4, bl9)) | 0;
|
1499
|
-
hi = (hi + Math.imul(ah4, bh9)) | 0;
|
1500
|
-
var w13 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;
|
1501
|
-
c = (((hi + (mid >>> 13)) | 0) + (w13 >>> 26)) | 0;
|
1502
|
-
w13 &= 0x3ffffff;
|
1503
|
-
/* k = 14 */
|
1504
|
-
lo = Math.imul(al9, bl5);
|
1505
|
-
mid = Math.imul(al9, bh5);
|
1506
|
-
mid = (mid + Math.imul(ah9, bl5)) | 0;
|
1507
|
-
hi = Math.imul(ah9, bh5);
|
1508
|
-
lo = (lo + Math.imul(al8, bl6)) | 0;
|
1509
|
-
mid = (mid + Math.imul(al8, bh6)) | 0;
|
1510
|
-
mid = (mid + Math.imul(ah8, bl6)) | 0;
|
1511
|
-
hi = (hi + Math.imul(ah8, bh6)) | 0;
|
1512
|
-
lo = (lo + Math.imul(al7, bl7)) | 0;
|
1513
|
-
mid = (mid + Math.imul(al7, bh7)) | 0;
|
1514
|
-
mid = (mid + Math.imul(ah7, bl7)) | 0;
|
1515
|
-
hi = (hi + Math.imul(ah7, bh7)) | 0;
|
1516
|
-
lo = (lo + Math.imul(al6, bl8)) | 0;
|
1517
|
-
mid = (mid + Math.imul(al6, bh8)) | 0;
|
1518
|
-
mid = (mid + Math.imul(ah6, bl8)) | 0;
|
1519
|
-
hi = (hi + Math.imul(ah6, bh8)) | 0;
|
1520
|
-
lo = (lo + Math.imul(al5, bl9)) | 0;
|
1521
|
-
mid = (mid + Math.imul(al5, bh9)) | 0;
|
1522
|
-
mid = (mid + Math.imul(ah5, bl9)) | 0;
|
1523
|
-
hi = (hi + Math.imul(ah5, bh9)) | 0;
|
1524
|
-
var w14 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;
|
1525
|
-
c = (((hi + (mid >>> 13)) | 0) + (w14 >>> 26)) | 0;
|
1526
|
-
w14 &= 0x3ffffff;
|
1527
|
-
/* k = 15 */
|
1528
|
-
lo = Math.imul(al9, bl6);
|
1529
|
-
mid = Math.imul(al9, bh6);
|
1530
|
-
mid = (mid + Math.imul(ah9, bl6)) | 0;
|
1531
|
-
hi = Math.imul(ah9, bh6);
|
1532
|
-
lo = (lo + Math.imul(al8, bl7)) | 0;
|
1533
|
-
mid = (mid + Math.imul(al8, bh7)) | 0;
|
1534
|
-
mid = (mid + Math.imul(ah8, bl7)) | 0;
|
1535
|
-
hi = (hi + Math.imul(ah8, bh7)) | 0;
|
1536
|
-
lo = (lo + Math.imul(al7, bl8)) | 0;
|
1537
|
-
mid = (mid + Math.imul(al7, bh8)) | 0;
|
1538
|
-
mid = (mid + Math.imul(ah7, bl8)) | 0;
|
1539
|
-
hi = (hi + Math.imul(ah7, bh8)) | 0;
|
1540
|
-
lo = (lo + Math.imul(al6, bl9)) | 0;
|
1541
|
-
mid = (mid + Math.imul(al6, bh9)) | 0;
|
1542
|
-
mid = (mid + Math.imul(ah6, bl9)) | 0;
|
1543
|
-
hi = (hi + Math.imul(ah6, bh9)) | 0;
|
1544
|
-
var w15 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;
|
1545
|
-
c = (((hi + (mid >>> 13)) | 0) + (w15 >>> 26)) | 0;
|
1546
|
-
w15 &= 0x3ffffff;
|
1547
|
-
/* k = 16 */
|
1548
|
-
lo = Math.imul(al9, bl7);
|
1549
|
-
mid = Math.imul(al9, bh7);
|
1550
|
-
mid = (mid + Math.imul(ah9, bl7)) | 0;
|
1551
|
-
hi = Math.imul(ah9, bh7);
|
1552
|
-
lo = (lo + Math.imul(al8, bl8)) | 0;
|
1553
|
-
mid = (mid + Math.imul(al8, bh8)) | 0;
|
1554
|
-
mid = (mid + Math.imul(ah8, bl8)) | 0;
|
1555
|
-
hi = (hi + Math.imul(ah8, bh8)) | 0;
|
1556
|
-
lo = (lo + Math.imul(al7, bl9)) | 0;
|
1557
|
-
mid = (mid + Math.imul(al7, bh9)) | 0;
|
1558
|
-
mid = (mid + Math.imul(ah7, bl9)) | 0;
|
1559
|
-
hi = (hi + Math.imul(ah7, bh9)) | 0;
|
1560
|
-
var w16 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;
|
1561
|
-
c = (((hi + (mid >>> 13)) | 0) + (w16 >>> 26)) | 0;
|
1562
|
-
w16 &= 0x3ffffff;
|
1563
|
-
/* k = 17 */
|
1564
|
-
lo = Math.imul(al9, bl8);
|
1565
|
-
mid = Math.imul(al9, bh8);
|
1566
|
-
mid = (mid + Math.imul(ah9, bl8)) | 0;
|
1567
|
-
hi = Math.imul(ah9, bh8);
|
1568
|
-
lo = (lo + Math.imul(al8, bl9)) | 0;
|
1569
|
-
mid = (mid + Math.imul(al8, bh9)) | 0;
|
1570
|
-
mid = (mid + Math.imul(ah8, bl9)) | 0;
|
1571
|
-
hi = (hi + Math.imul(ah8, bh9)) | 0;
|
1572
|
-
var w17 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;
|
1573
|
-
c = (((hi + (mid >>> 13)) | 0) + (w17 >>> 26)) | 0;
|
1574
|
-
w17 &= 0x3ffffff;
|
1575
|
-
/* k = 18 */
|
1576
|
-
lo = Math.imul(al9, bl9);
|
1577
|
-
mid = Math.imul(al9, bh9);
|
1578
|
-
mid = (mid + Math.imul(ah9, bl9)) | 0;
|
1579
|
-
hi = Math.imul(ah9, bh9);
|
1580
|
-
var w18 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;
|
1581
|
-
c = (((hi + (mid >>> 13)) | 0) + (w18 >>> 26)) | 0;
|
1582
|
-
w18 &= 0x3ffffff;
|
1583
|
-
o[0] = w0;
|
1584
|
-
o[1] = w1;
|
1585
|
-
o[2] = w2;
|
1586
|
-
o[3] = w3;
|
1587
|
-
o[4] = w4;
|
1588
|
-
o[5] = w5;
|
1589
|
-
o[6] = w6;
|
1590
|
-
o[7] = w7;
|
1591
|
-
o[8] = w8;
|
1592
|
-
o[9] = w9;
|
1593
|
-
o[10] = w10;
|
1594
|
-
o[11] = w11;
|
1595
|
-
o[12] = w12;
|
1596
|
-
o[13] = w13;
|
1597
|
-
o[14] = w14;
|
1598
|
-
o[15] = w15;
|
1599
|
-
o[16] = w16;
|
1600
|
-
o[17] = w17;
|
1601
|
-
o[18] = w18;
|
1602
|
-
if (c !== 0) {
|
1603
|
-
o[19] = c;
|
1604
|
-
out.length++;
|
1605
|
-
}
|
1606
|
-
return out;
|
1607
|
-
};
|
1608
|
-
|
1609
|
-
// Polyfill comb
|
1610
|
-
if (!Math.imul) {
|
1611
|
-
comb10MulTo = smallMulTo;
|
1612
|
-
}
|
1613
|
-
|
1614
|
-
function bigMulTo (self, num, out) {
|
1615
|
-
out.negative = num.negative ^ self.negative;
|
1616
|
-
out.length = self.length + num.length;
|
1617
|
-
|
1618
|
-
var carry = 0;
|
1619
|
-
var hncarry = 0;
|
1620
|
-
for (var k = 0; k < out.length - 1; k++) {
|
1621
|
-
// Sum all words with the same `i + j = k` and accumulate `ncarry`,
|
1622
|
-
// note that ncarry could be >= 0x3ffffff
|
1623
|
-
var ncarry = hncarry;
|
1624
|
-
hncarry = 0;
|
1625
|
-
var rword = carry & 0x3ffffff;
|
1626
|
-
var maxJ = Math.min(k, num.length - 1);
|
1627
|
-
for (var j = Math.max(0, k - self.length + 1); j <= maxJ; j++) {
|
1628
|
-
var i = k - j;
|
1629
|
-
var a = self.words[i] | 0;
|
1630
|
-
var b = num.words[j] | 0;
|
1631
|
-
var r = a * b;
|
1632
|
-
|
1633
|
-
var lo = r & 0x3ffffff;
|
1634
|
-
ncarry = (ncarry + ((r / 0x4000000) | 0)) | 0;
|
1635
|
-
lo = (lo + rword) | 0;
|
1636
|
-
rword = lo & 0x3ffffff;
|
1637
|
-
ncarry = (ncarry + (lo >>> 26)) | 0;
|
1638
|
-
|
1639
|
-
hncarry += ncarry >>> 26;
|
1640
|
-
ncarry &= 0x3ffffff;
|
1641
|
-
}
|
1642
|
-
out.words[k] = rword;
|
1643
|
-
carry = ncarry;
|
1644
|
-
ncarry = hncarry;
|
1645
|
-
}
|
1646
|
-
if (carry !== 0) {
|
1647
|
-
out.words[k] = carry;
|
1648
|
-
} else {
|
1649
|
-
out.length--;
|
1650
|
-
}
|
1651
|
-
|
1652
|
-
return out.strip();
|
1653
|
-
}
|
1654
|
-
|
1655
|
-
function jumboMulTo (self, num, out) {
|
1656
|
-
var fftm = new FFTM();
|
1657
|
-
return fftm.mulp(self, num, out);
|
1658
|
-
}
|
1659
|
-
|
1660
|
-
BN.prototype.mulTo = function mulTo (num, out) {
|
1661
|
-
var res;
|
1662
|
-
var len = this.length + num.length;
|
1663
|
-
if (this.length === 10 && num.length === 10) {
|
1664
|
-
res = comb10MulTo(this, num, out);
|
1665
|
-
} else if (len < 63) {
|
1666
|
-
res = smallMulTo(this, num, out);
|
1667
|
-
} else if (len < 1024) {
|
1668
|
-
res = bigMulTo(this, num, out);
|
1669
|
-
} else {
|
1670
|
-
res = jumboMulTo(this, num, out);
|
1671
|
-
}
|
1672
|
-
|
1673
|
-
return res;
|
1674
|
-
};
|
1675
|
-
|
1676
|
-
// Cooley-Tukey algorithm for FFT
|
1677
|
-
// slightly revisited to rely on looping instead of recursion
|
1678
|
-
|
1679
|
-
function FFTM (x, y) {
|
1680
|
-
this.x = x;
|
1681
|
-
this.y = y;
|
1682
|
-
}
|
1683
|
-
|
1684
|
-
FFTM.prototype.makeRBT = function makeRBT (N) {
|
1685
|
-
var t = new Array(N);
|
1686
|
-
var l = BN.prototype._countBits(N) - 1;
|
1687
|
-
for (var i = 0; i < N; i++) {
|
1688
|
-
t[i] = this.revBin(i, l, N);
|
1689
|
-
}
|
1690
|
-
|
1691
|
-
return t;
|
1692
|
-
};
|
1693
|
-
|
1694
|
-
// Returns binary-reversed representation of `x`
|
1695
|
-
FFTM.prototype.revBin = function revBin (x, l, N) {
|
1696
|
-
if (x === 0 || x === N - 1) return x;
|
1697
|
-
|
1698
|
-
var rb = 0;
|
1699
|
-
for (var i = 0; i < l; i++) {
|
1700
|
-
rb |= (x & 1) << (l - i - 1);
|
1701
|
-
x >>= 1;
|
1702
|
-
}
|
1703
|
-
|
1704
|
-
return rb;
|
1705
|
-
};
|
1706
|
-
|
1707
|
-
// Performs "tweedling" phase, therefore 'emulating'
|
1708
|
-
// behaviour of the recursive algorithm
|
1709
|
-
FFTM.prototype.permute = function permute (rbt, rws, iws, rtws, itws, N) {
|
1710
|
-
for (var i = 0; i < N; i++) {
|
1711
|
-
rtws[i] = rws[rbt[i]];
|
1712
|
-
itws[i] = iws[rbt[i]];
|
1713
|
-
}
|
1714
|
-
};
|
1715
|
-
|
1716
|
-
FFTM.prototype.transform = function transform (rws, iws, rtws, itws, N, rbt) {
|
1717
|
-
this.permute(rbt, rws, iws, rtws, itws, N);
|
1718
|
-
|
1719
|
-
for (var s = 1; s < N; s <<= 1) {
|
1720
|
-
var l = s << 1;
|
1721
|
-
|
1722
|
-
var rtwdf = Math.cos(2 * Math.PI / l);
|
1723
|
-
var itwdf = Math.sin(2 * Math.PI / l);
|
1724
|
-
|
1725
|
-
for (var p = 0; p < N; p += l) {
|
1726
|
-
var rtwdf_ = rtwdf;
|
1727
|
-
var itwdf_ = itwdf;
|
1728
|
-
|
1729
|
-
for (var j = 0; j < s; j++) {
|
1730
|
-
var re = rtws[p + j];
|
1731
|
-
var ie = itws[p + j];
|
1732
|
-
|
1733
|
-
var ro = rtws[p + j + s];
|
1734
|
-
var io = itws[p + j + s];
|
1735
|
-
|
1736
|
-
var rx = rtwdf_ * ro - itwdf_ * io;
|
1737
|
-
|
1738
|
-
io = rtwdf_ * io + itwdf_ * ro;
|
1739
|
-
ro = rx;
|
1740
|
-
|
1741
|
-
rtws[p + j] = re + ro;
|
1742
|
-
itws[p + j] = ie + io;
|
1743
|
-
|
1744
|
-
rtws[p + j + s] = re - ro;
|
1745
|
-
itws[p + j + s] = ie - io;
|
1746
|
-
|
1747
|
-
/* jshint maxdepth : false */
|
1748
|
-
if (j !== l) {
|
1749
|
-
rx = rtwdf * rtwdf_ - itwdf * itwdf_;
|
1750
|
-
|
1751
|
-
itwdf_ = rtwdf * itwdf_ + itwdf * rtwdf_;
|
1752
|
-
rtwdf_ = rx;
|
1753
|
-
}
|
1754
|
-
}
|
1755
|
-
}
|
1756
|
-
}
|
1757
|
-
};
|
1758
|
-
|
1759
|
-
FFTM.prototype.guessLen13b = function guessLen13b (n, m) {
|
1760
|
-
var N = Math.max(m, n) | 1;
|
1761
|
-
var odd = N & 1;
|
1762
|
-
var i = 0;
|
1763
|
-
for (N = N / 2 | 0; N; N = N >>> 1) {
|
1764
|
-
i++;
|
1765
|
-
}
|
1766
|
-
|
1767
|
-
return 1 << i + 1 + odd;
|
1768
|
-
};
|
1769
|
-
|
1770
|
-
FFTM.prototype.conjugate = function conjugate (rws, iws, N) {
|
1771
|
-
if (N <= 1) return;
|
1772
|
-
|
1773
|
-
for (var i = 0; i < N / 2; i++) {
|
1774
|
-
var t = rws[i];
|
1775
|
-
|
1776
|
-
rws[i] = rws[N - i - 1];
|
1777
|
-
rws[N - i - 1] = t;
|
1778
|
-
|
1779
|
-
t = iws[i];
|
1780
|
-
|
1781
|
-
iws[i] = -iws[N - i - 1];
|
1782
|
-
iws[N - i - 1] = -t;
|
1783
|
-
}
|
1784
|
-
};
|
1785
|
-
|
1786
|
-
FFTM.prototype.normalize13b = function normalize13b (ws, N) {
|
1787
|
-
var carry = 0;
|
1788
|
-
for (var i = 0; i < N / 2; i++) {
|
1789
|
-
var w = Math.round(ws[2 * i + 1] / N) * 0x2000 +
|
1790
|
-
Math.round(ws[2 * i] / N) +
|
1791
|
-
carry;
|
1792
|
-
|
1793
|
-
ws[i] = w & 0x3ffffff;
|
1794
|
-
|
1795
|
-
if (w < 0x4000000) {
|
1796
|
-
carry = 0;
|
1797
|
-
} else {
|
1798
|
-
carry = w / 0x4000000 | 0;
|
1799
|
-
}
|
1800
|
-
}
|
1801
|
-
|
1802
|
-
return ws;
|
1803
|
-
};
|
1804
|
-
|
1805
|
-
FFTM.prototype.convert13b = function convert13b (ws, len, rws, N) {
|
1806
|
-
var carry = 0;
|
1807
|
-
for (var i = 0; i < len; i++) {
|
1808
|
-
carry = carry + (ws[i] | 0);
|
1809
|
-
|
1810
|
-
rws[2 * i] = carry & 0x1fff; carry = carry >>> 13;
|
1811
|
-
rws[2 * i + 1] = carry & 0x1fff; carry = carry >>> 13;
|
1812
|
-
}
|
1813
|
-
|
1814
|
-
// Pad with zeroes
|
1815
|
-
for (i = 2 * len; i < N; ++i) {
|
1816
|
-
rws[i] = 0;
|
1817
|
-
}
|
1818
|
-
|
1819
|
-
assert(carry === 0);
|
1820
|
-
assert((carry & ~0x1fff) === 0);
|
1821
|
-
};
|
1822
|
-
|
1823
|
-
FFTM.prototype.stub = function stub (N) {
|
1824
|
-
var ph = new Array(N);
|
1825
|
-
for (var i = 0; i < N; i++) {
|
1826
|
-
ph[i] = 0;
|
1827
|
-
}
|
1828
|
-
|
1829
|
-
return ph;
|
1830
|
-
};
|
1831
|
-
|
1832
|
-
FFTM.prototype.mulp = function mulp (x, y, out) {
|
1833
|
-
var N = 2 * this.guessLen13b(x.length, y.length);
|
1834
|
-
|
1835
|
-
var rbt = this.makeRBT(N);
|
1836
|
-
|
1837
|
-
var _ = this.stub(N);
|
1838
|
-
|
1839
|
-
var rws = new Array(N);
|
1840
|
-
var rwst = new Array(N);
|
1841
|
-
var iwst = new Array(N);
|
1842
|
-
|
1843
|
-
var nrws = new Array(N);
|
1844
|
-
var nrwst = new Array(N);
|
1845
|
-
var niwst = new Array(N);
|
1846
|
-
|
1847
|
-
var rmws = out.words;
|
1848
|
-
rmws.length = N;
|
1849
|
-
|
1850
|
-
this.convert13b(x.words, x.length, rws, N);
|
1851
|
-
this.convert13b(y.words, y.length, nrws, N);
|
1852
|
-
|
1853
|
-
this.transform(rws, _, rwst, iwst, N, rbt);
|
1854
|
-
this.transform(nrws, _, nrwst, niwst, N, rbt);
|
1855
|
-
|
1856
|
-
for (var i = 0; i < N; i++) {
|
1857
|
-
var rx = rwst[i] * nrwst[i] - iwst[i] * niwst[i];
|
1858
|
-
iwst[i] = rwst[i] * niwst[i] + iwst[i] * nrwst[i];
|
1859
|
-
rwst[i] = rx;
|
1860
|
-
}
|
1861
|
-
|
1862
|
-
this.conjugate(rwst, iwst, N);
|
1863
|
-
this.transform(rwst, iwst, rmws, _, N, rbt);
|
1864
|
-
this.conjugate(rmws, _, N);
|
1865
|
-
this.normalize13b(rmws, N);
|
1866
|
-
|
1867
|
-
out.negative = x.negative ^ y.negative;
|
1868
|
-
out.length = x.length + y.length;
|
1869
|
-
return out.strip();
|
1870
|
-
};
|
1871
|
-
|
1872
|
-
// Multiply `this` by `num`
|
1873
|
-
BN.prototype.mul = function mul (num) {
|
1874
|
-
var out = new BN(null);
|
1875
|
-
out.words = new Array(this.length + num.length);
|
1876
|
-
return this.mulTo(num, out);
|
1877
|
-
};
|
1878
|
-
|
1879
|
-
// Multiply employing FFT
|
1880
|
-
BN.prototype.mulf = function mulf (num) {
|
1881
|
-
var out = new BN(null);
|
1882
|
-
out.words = new Array(this.length + num.length);
|
1883
|
-
return jumboMulTo(this, num, out);
|
1884
|
-
};
|
1885
|
-
|
1886
|
-
// In-place Multiplication
|
1887
|
-
BN.prototype.imul = function imul (num) {
|
1888
|
-
return this.clone().mulTo(num, this);
|
1889
|
-
};
|
1890
|
-
|
1891
|
-
BN.prototype.imuln = function imuln (num) {
|
1892
|
-
assert(typeof num === 'number');
|
1893
|
-
assert(num < 0x4000000);
|
1894
|
-
|
1895
|
-
// Carry
|
1896
|
-
var carry = 0;
|
1897
|
-
for (var i = 0; i < this.length; i++) {
|
1898
|
-
var w = (this.words[i] | 0) * num;
|
1899
|
-
var lo = (w & 0x3ffffff) + (carry & 0x3ffffff);
|
1900
|
-
carry >>= 26;
|
1901
|
-
carry += (w / 0x4000000) | 0;
|
1902
|
-
// NOTE: lo is 27bit maximum
|
1903
|
-
carry += lo >>> 26;
|
1904
|
-
this.words[i] = lo & 0x3ffffff;
|
1905
|
-
}
|
1906
|
-
|
1907
|
-
if (carry !== 0) {
|
1908
|
-
this.words[i] = carry;
|
1909
|
-
this.length++;
|
1910
|
-
}
|
1911
|
-
|
1912
|
-
return this;
|
1913
|
-
};
|
1914
|
-
|
1915
|
-
BN.prototype.muln = function muln (num) {
|
1916
|
-
return this.clone().imuln(num);
|
1917
|
-
};
|
1918
|
-
|
1919
|
-
// `this` * `this`
|
1920
|
-
BN.prototype.sqr = function sqr () {
|
1921
|
-
return this.mul(this);
|
1922
|
-
};
|
1923
|
-
|
1924
|
-
// `this` * `this` in-place
|
1925
|
-
BN.prototype.isqr = function isqr () {
|
1926
|
-
return this.imul(this.clone());
|
1927
|
-
};
|
1928
|
-
|
1929
|
-
// Math.pow(`this`, `num`)
|
1930
|
-
BN.prototype.pow = function pow (num) {
|
1931
|
-
var w = toBitArray(num);
|
1932
|
-
if (w.length === 0) return new BN(1);
|
1933
|
-
|
1934
|
-
// Skip leading zeroes
|
1935
|
-
var res = this;
|
1936
|
-
for (var i = 0; i < w.length; i++, res = res.sqr()) {
|
1937
|
-
if (w[i] !== 0) break;
|
1938
|
-
}
|
1939
|
-
|
1940
|
-
if (++i < w.length) {
|
1941
|
-
for (var q = res.sqr(); i < w.length; i++, q = q.sqr()) {
|
1942
|
-
if (w[i] === 0) continue;
|
1943
|
-
|
1944
|
-
res = res.mul(q);
|
1945
|
-
}
|
1946
|
-
}
|
1947
|
-
|
1948
|
-
return res;
|
1949
|
-
};
|
1950
|
-
|
1951
|
-
// Shift-left in-place
|
1952
|
-
BN.prototype.iushln = function iushln (bits) {
|
1953
|
-
assert(typeof bits === 'number' && bits >= 0);
|
1954
|
-
var r = bits % 26;
|
1955
|
-
var s = (bits - r) / 26;
|
1956
|
-
var carryMask = (0x3ffffff >>> (26 - r)) << (26 - r);
|
1957
|
-
var i;
|
1958
|
-
|
1959
|
-
if (r !== 0) {
|
1960
|
-
var carry = 0;
|
1961
|
-
|
1962
|
-
for (i = 0; i < this.length; i++) {
|
1963
|
-
var newCarry = this.words[i] & carryMask;
|
1964
|
-
var c = ((this.words[i] | 0) - newCarry) << r;
|
1965
|
-
this.words[i] = c | carry;
|
1966
|
-
carry = newCarry >>> (26 - r);
|
1967
|
-
}
|
1968
|
-
|
1969
|
-
if (carry) {
|
1970
|
-
this.words[i] = carry;
|
1971
|
-
this.length++;
|
1972
|
-
}
|
1973
|
-
}
|
1974
|
-
|
1975
|
-
if (s !== 0) {
|
1976
|
-
for (i = this.length - 1; i >= 0; i--) {
|
1977
|
-
this.words[i + s] = this.words[i];
|
1978
|
-
}
|
1979
|
-
|
1980
|
-
for (i = 0; i < s; i++) {
|
1981
|
-
this.words[i] = 0;
|
1982
|
-
}
|
1983
|
-
|
1984
|
-
this.length += s;
|
1985
|
-
}
|
1986
|
-
|
1987
|
-
return this.strip();
|
1988
|
-
};
|
1989
|
-
|
1990
|
-
BN.prototype.ishln = function ishln (bits) {
|
1991
|
-
// TODO(indutny): implement me
|
1992
|
-
assert(this.negative === 0);
|
1993
|
-
return this.iushln(bits);
|
1994
|
-
};
|
1995
|
-
|
1996
|
-
// Shift-right in-place
|
1997
|
-
// NOTE: `hint` is a lowest bit before trailing zeroes
|
1998
|
-
// NOTE: if `extended` is present - it will be filled with destroyed bits
|
1999
|
-
BN.prototype.iushrn = function iushrn (bits, hint, extended) {
|
2000
|
-
assert(typeof bits === 'number' && bits >= 0);
|
2001
|
-
var h;
|
2002
|
-
if (hint) {
|
2003
|
-
h = (hint - (hint % 26)) / 26;
|
2004
|
-
} else {
|
2005
|
-
h = 0;
|
2006
|
-
}
|
2007
|
-
|
2008
|
-
var r = bits % 26;
|
2009
|
-
var s = Math.min((bits - r) / 26, this.length);
|
2010
|
-
var mask = 0x3ffffff ^ ((0x3ffffff >>> r) << r);
|
2011
|
-
var maskedWords = extended;
|
2012
|
-
|
2013
|
-
h -= s;
|
2014
|
-
h = Math.max(0, h);
|
2015
|
-
|
2016
|
-
// Extended mode, copy masked part
|
2017
|
-
if (maskedWords) {
|
2018
|
-
for (var i = 0; i < s; i++) {
|
2019
|
-
maskedWords.words[i] = this.words[i];
|
2020
|
-
}
|
2021
|
-
maskedWords.length = s;
|
2022
|
-
}
|
2023
|
-
|
2024
|
-
if (s === 0) {
|
2025
|
-
// No-op, we should not move anything at all
|
2026
|
-
} else if (this.length > s) {
|
2027
|
-
this.length -= s;
|
2028
|
-
for (i = 0; i < this.length; i++) {
|
2029
|
-
this.words[i] = this.words[i + s];
|
2030
|
-
}
|
2031
|
-
} else {
|
2032
|
-
this.words[0] = 0;
|
2033
|
-
this.length = 1;
|
2034
|
-
}
|
2035
|
-
|
2036
|
-
var carry = 0;
|
2037
|
-
for (i = this.length - 1; i >= 0 && (carry !== 0 || i >= h); i--) {
|
2038
|
-
var word = this.words[i] | 0;
|
2039
|
-
this.words[i] = (carry << (26 - r)) | (word >>> r);
|
2040
|
-
carry = word & mask;
|
2041
|
-
}
|
2042
|
-
|
2043
|
-
// Push carried bits as a mask
|
2044
|
-
if (maskedWords && carry !== 0) {
|
2045
|
-
maskedWords.words[maskedWords.length++] = carry;
|
2046
|
-
}
|
2047
|
-
|
2048
|
-
if (this.length === 0) {
|
2049
|
-
this.words[0] = 0;
|
2050
|
-
this.length = 1;
|
2051
|
-
}
|
2052
|
-
|
2053
|
-
return this.strip();
|
2054
|
-
};
|
2055
|
-
|
2056
|
-
BN.prototype.ishrn = function ishrn (bits, hint, extended) {
|
2057
|
-
// TODO(indutny): implement me
|
2058
|
-
assert(this.negative === 0);
|
2059
|
-
return this.iushrn(bits, hint, extended);
|
2060
|
-
};
|
2061
|
-
|
2062
|
-
// Shift-left
|
2063
|
-
BN.prototype.shln = function shln (bits) {
|
2064
|
-
return this.clone().ishln(bits);
|
2065
|
-
};
|
2066
|
-
|
2067
|
-
BN.prototype.ushln = function ushln (bits) {
|
2068
|
-
return this.clone().iushln(bits);
|
2069
|
-
};
|
2070
|
-
|
2071
|
-
// Shift-right
|
2072
|
-
BN.prototype.shrn = function shrn (bits) {
|
2073
|
-
return this.clone().ishrn(bits);
|
2074
|
-
};
|
2075
|
-
|
2076
|
-
BN.prototype.ushrn = function ushrn (bits) {
|
2077
|
-
return this.clone().iushrn(bits);
|
2078
|
-
};
|
2079
|
-
|
2080
|
-
// Test if n bit is set
|
2081
|
-
BN.prototype.testn = function testn (bit) {
|
2082
|
-
assert(typeof bit === 'number' && bit >= 0);
|
2083
|
-
var r = bit % 26;
|
2084
|
-
var s = (bit - r) / 26;
|
2085
|
-
var q = 1 << r;
|
2086
|
-
|
2087
|
-
// Fast case: bit is much higher than all existing words
|
2088
|
-
if (this.length <= s) return false;
|
2089
|
-
|
2090
|
-
// Check bit and return
|
2091
|
-
var w = this.words[s];
|
2092
|
-
|
2093
|
-
return !!(w & q);
|
2094
|
-
};
|
2095
|
-
|
2096
|
-
// Return only lowers bits of number (in-place)
|
2097
|
-
BN.prototype.imaskn = function imaskn (bits) {
|
2098
|
-
assert(typeof bits === 'number' && bits >= 0);
|
2099
|
-
var r = bits % 26;
|
2100
|
-
var s = (bits - r) / 26;
|
2101
|
-
|
2102
|
-
assert(this.negative === 0, 'imaskn works only with positive numbers');
|
2103
|
-
|
2104
|
-
if (this.length <= s) {
|
2105
|
-
return this;
|
2106
|
-
}
|
2107
|
-
|
2108
|
-
if (r !== 0) {
|
2109
|
-
s++;
|
2110
|
-
}
|
2111
|
-
this.length = Math.min(s, this.length);
|
2112
|
-
|
2113
|
-
if (r !== 0) {
|
2114
|
-
var mask = 0x3ffffff ^ ((0x3ffffff >>> r) << r);
|
2115
|
-
this.words[this.length - 1] &= mask;
|
2116
|
-
}
|
2117
|
-
|
2118
|
-
return this.strip();
|
2119
|
-
};
|
2120
|
-
|
2121
|
-
// Return only lowers bits of number
|
2122
|
-
BN.prototype.maskn = function maskn (bits) {
|
2123
|
-
return this.clone().imaskn(bits);
|
2124
|
-
};
|
2125
|
-
|
2126
|
-
// Add plain number `num` to `this`
|
2127
|
-
BN.prototype.iaddn = function iaddn (num) {
|
2128
|
-
assert(typeof num === 'number');
|
2129
|
-
assert(num < 0x4000000);
|
2130
|
-
if (num < 0) return this.isubn(-num);
|
2131
|
-
|
2132
|
-
// Possible sign change
|
2133
|
-
if (this.negative !== 0) {
|
2134
|
-
if (this.length === 1 && (this.words[0] | 0) < num) {
|
2135
|
-
this.words[0] = num - (this.words[0] | 0);
|
2136
|
-
this.negative = 0;
|
2137
|
-
return this;
|
2138
|
-
}
|
2139
|
-
|
2140
|
-
this.negative = 0;
|
2141
|
-
this.isubn(num);
|
2142
|
-
this.negative = 1;
|
2143
|
-
return this;
|
2144
|
-
}
|
2145
|
-
|
2146
|
-
// Add without checks
|
2147
|
-
return this._iaddn(num);
|
2148
|
-
};
|
2149
|
-
|
2150
|
-
BN.prototype._iaddn = function _iaddn (num) {
|
2151
|
-
this.words[0] += num;
|
2152
|
-
|
2153
|
-
// Carry
|
2154
|
-
for (var i = 0; i < this.length && this.words[i] >= 0x4000000; i++) {
|
2155
|
-
this.words[i] -= 0x4000000;
|
2156
|
-
if (i === this.length - 1) {
|
2157
|
-
this.words[i + 1] = 1;
|
2158
|
-
} else {
|
2159
|
-
this.words[i + 1]++;
|
2160
|
-
}
|
2161
|
-
}
|
2162
|
-
this.length = Math.max(this.length, i + 1);
|
2163
|
-
|
2164
|
-
return this;
|
2165
|
-
};
|
2166
|
-
|
2167
|
-
// Subtract plain number `num` from `this`
|
2168
|
-
BN.prototype.isubn = function isubn (num) {
|
2169
|
-
assert(typeof num === 'number');
|
2170
|
-
assert(num < 0x4000000);
|
2171
|
-
if (num < 0) return this.iaddn(-num);
|
2172
|
-
|
2173
|
-
if (this.negative !== 0) {
|
2174
|
-
this.negative = 0;
|
2175
|
-
this.iaddn(num);
|
2176
|
-
this.negative = 1;
|
2177
|
-
return this;
|
2178
|
-
}
|
2179
|
-
|
2180
|
-
this.words[0] -= num;
|
2181
|
-
|
2182
|
-
if (this.length === 1 && this.words[0] < 0) {
|
2183
|
-
this.words[0] = -this.words[0];
|
2184
|
-
this.negative = 1;
|
2185
|
-
} else {
|
2186
|
-
// Carry
|
2187
|
-
for (var i = 0; i < this.length && this.words[i] < 0; i++) {
|
2188
|
-
this.words[i] += 0x4000000;
|
2189
|
-
this.words[i + 1] -= 1;
|
2190
|
-
}
|
2191
|
-
}
|
2192
|
-
|
2193
|
-
return this.strip();
|
2194
|
-
};
|
2195
|
-
|
2196
|
-
BN.prototype.addn = function addn (num) {
|
2197
|
-
return this.clone().iaddn(num);
|
2198
|
-
};
|
2199
|
-
|
2200
|
-
BN.prototype.subn = function subn (num) {
|
2201
|
-
return this.clone().isubn(num);
|
2202
|
-
};
|
2203
|
-
|
2204
|
-
BN.prototype.iabs = function iabs () {
|
2205
|
-
this.negative = 0;
|
2206
|
-
|
2207
|
-
return this;
|
2208
|
-
};
|
2209
|
-
|
2210
|
-
BN.prototype.abs = function abs () {
|
2211
|
-
return this.clone().iabs();
|
2212
|
-
};
|
2213
|
-
|
2214
|
-
BN.prototype._ishlnsubmul = function _ishlnsubmul (num, mul, shift) {
|
2215
|
-
var len = num.length + shift;
|
2216
|
-
var i;
|
2217
|
-
|
2218
|
-
this._expand(len);
|
2219
|
-
|
2220
|
-
var w;
|
2221
|
-
var carry = 0;
|
2222
|
-
for (i = 0; i < num.length; i++) {
|
2223
|
-
w = (this.words[i + shift] | 0) + carry;
|
2224
|
-
var right = (num.words[i] | 0) * mul;
|
2225
|
-
w -= right & 0x3ffffff;
|
2226
|
-
carry = (w >> 26) - ((right / 0x4000000) | 0);
|
2227
|
-
this.words[i + shift] = w & 0x3ffffff;
|
2228
|
-
}
|
2229
|
-
for (; i < this.length - shift; i++) {
|
2230
|
-
w = (this.words[i + shift] | 0) + carry;
|
2231
|
-
carry = w >> 26;
|
2232
|
-
this.words[i + shift] = w & 0x3ffffff;
|
2233
|
-
}
|
2234
|
-
|
2235
|
-
if (carry === 0) return this.strip();
|
2236
|
-
|
2237
|
-
// Subtraction overflow
|
2238
|
-
assert(carry === -1);
|
2239
|
-
carry = 0;
|
2240
|
-
for (i = 0; i < this.length; i++) {
|
2241
|
-
w = -(this.words[i] | 0) + carry;
|
2242
|
-
carry = w >> 26;
|
2243
|
-
this.words[i] = w & 0x3ffffff;
|
2244
|
-
}
|
2245
|
-
this.negative = 1;
|
2246
|
-
|
2247
|
-
return this.strip();
|
2248
|
-
};
|
2249
|
-
|
2250
|
-
BN.prototype._wordDiv = function _wordDiv (num, mode) {
|
2251
|
-
var shift = this.length - num.length;
|
2252
|
-
|
2253
|
-
var a = this.clone();
|
2254
|
-
var b = num;
|
2255
|
-
|
2256
|
-
// Normalize
|
2257
|
-
var bhi = b.words[b.length - 1] | 0;
|
2258
|
-
var bhiBits = this._countBits(bhi);
|
2259
|
-
shift = 26 - bhiBits;
|
2260
|
-
if (shift !== 0) {
|
2261
|
-
b = b.ushln(shift);
|
2262
|
-
a.iushln(shift);
|
2263
|
-
bhi = b.words[b.length - 1] | 0;
|
2264
|
-
}
|
2265
|
-
|
2266
|
-
// Initialize quotient
|
2267
|
-
var m = a.length - b.length;
|
2268
|
-
var q;
|
2269
|
-
|
2270
|
-
if (mode !== 'mod') {
|
2271
|
-
q = new BN(null);
|
2272
|
-
q.length = m + 1;
|
2273
|
-
q.words = new Array(q.length);
|
2274
|
-
for (var i = 0; i < q.length; i++) {
|
2275
|
-
q.words[i] = 0;
|
2276
|
-
}
|
2277
|
-
}
|
2278
|
-
|
2279
|
-
var diff = a.clone()._ishlnsubmul(b, 1, m);
|
2280
|
-
if (diff.negative === 0) {
|
2281
|
-
a = diff;
|
2282
|
-
if (q) {
|
2283
|
-
q.words[m] = 1;
|
2284
|
-
}
|
2285
|
-
}
|
2286
|
-
|
2287
|
-
for (var j = m - 1; j >= 0; j--) {
|
2288
|
-
var qj = (a.words[b.length + j] | 0) * 0x4000000 +
|
2289
|
-
(a.words[b.length + j - 1] | 0);
|
2290
|
-
|
2291
|
-
// NOTE: (qj / bhi) is (0x3ffffff * 0x4000000 + 0x3ffffff) / 0x2000000 max
|
2292
|
-
// (0x7ffffff)
|
2293
|
-
qj = Math.min((qj / bhi) | 0, 0x3ffffff);
|
2294
|
-
|
2295
|
-
a._ishlnsubmul(b, qj, j);
|
2296
|
-
while (a.negative !== 0) {
|
2297
|
-
qj--;
|
2298
|
-
a.negative = 0;
|
2299
|
-
a._ishlnsubmul(b, 1, j);
|
2300
|
-
if (!a.isZero()) {
|
2301
|
-
a.negative ^= 1;
|
2302
|
-
}
|
2303
|
-
}
|
2304
|
-
if (q) {
|
2305
|
-
q.words[j] = qj;
|
2306
|
-
}
|
2307
|
-
}
|
2308
|
-
if (q) {
|
2309
|
-
q.strip();
|
2310
|
-
}
|
2311
|
-
a.strip();
|
2312
|
-
|
2313
|
-
// Denormalize
|
2314
|
-
if (mode !== 'div' && shift !== 0) {
|
2315
|
-
a.iushrn(shift);
|
2316
|
-
}
|
2317
|
-
|
2318
|
-
return {
|
2319
|
-
div: q || null,
|
2320
|
-
mod: a
|
2321
|
-
};
|
2322
|
-
};
|
2323
|
-
|
2324
|
-
// NOTE: 1) `mode` can be set to `mod` to request mod only,
|
2325
|
-
// to `div` to request div only, or be absent to
|
2326
|
-
// request both div & mod
|
2327
|
-
// 2) `positive` is true if unsigned mod is requested
|
2328
|
-
BN.prototype.divmod = function divmod (num, mode, positive) {
|
2329
|
-
assert(!num.isZero());
|
2330
|
-
|
2331
|
-
if (this.isZero()) {
|
2332
|
-
return {
|
2333
|
-
div: new BN(0),
|
2334
|
-
mod: new BN(0)
|
2335
|
-
};
|
2336
|
-
}
|
2337
|
-
|
2338
|
-
var div, mod, res;
|
2339
|
-
if (this.negative !== 0 && num.negative === 0) {
|
2340
|
-
res = this.neg().divmod(num, mode);
|
2341
|
-
|
2342
|
-
if (mode !== 'mod') {
|
2343
|
-
div = res.div.neg();
|
2344
|
-
}
|
2345
|
-
|
2346
|
-
if (mode !== 'div') {
|
2347
|
-
mod = res.mod.neg();
|
2348
|
-
if (positive && mod.negative !== 0) {
|
2349
|
-
mod.iadd(num);
|
2350
|
-
}
|
2351
|
-
}
|
2352
|
-
|
2353
|
-
return {
|
2354
|
-
div: div,
|
2355
|
-
mod: mod
|
2356
|
-
};
|
2357
|
-
}
|
2358
|
-
|
2359
|
-
if (this.negative === 0 && num.negative !== 0) {
|
2360
|
-
res = this.divmod(num.neg(), mode);
|
2361
|
-
|
2362
|
-
if (mode !== 'mod') {
|
2363
|
-
div = res.div.neg();
|
2364
|
-
}
|
2365
|
-
|
2366
|
-
return {
|
2367
|
-
div: div,
|
2368
|
-
mod: res.mod
|
2369
|
-
};
|
2370
|
-
}
|
2371
|
-
|
2372
|
-
if ((this.negative & num.negative) !== 0) {
|
2373
|
-
res = this.neg().divmod(num.neg(), mode);
|
2374
|
-
|
2375
|
-
if (mode !== 'div') {
|
2376
|
-
mod = res.mod.neg();
|
2377
|
-
if (positive && mod.negative !== 0) {
|
2378
|
-
mod.isub(num);
|
2379
|
-
}
|
2380
|
-
}
|
2381
|
-
|
2382
|
-
return {
|
2383
|
-
div: res.div,
|
2384
|
-
mod: mod
|
2385
|
-
};
|
2386
|
-
}
|
2387
|
-
|
2388
|
-
// Both numbers are positive at this point
|
2389
|
-
|
2390
|
-
// Strip both numbers to approximate shift value
|
2391
|
-
if (num.length > this.length || this.cmp(num) < 0) {
|
2392
|
-
return {
|
2393
|
-
div: new BN(0),
|
2394
|
-
mod: this
|
2395
|
-
};
|
2396
|
-
}
|
2397
|
-
|
2398
|
-
// Very short reduction
|
2399
|
-
if (num.length === 1) {
|
2400
|
-
if (mode === 'div') {
|
2401
|
-
return {
|
2402
|
-
div: this.divn(num.words[0]),
|
2403
|
-
mod: null
|
2404
|
-
};
|
2405
|
-
}
|
2406
|
-
|
2407
|
-
if (mode === 'mod') {
|
2408
|
-
return {
|
2409
|
-
div: null,
|
2410
|
-
mod: new BN(this.modn(num.words[0]))
|
2411
|
-
};
|
2412
|
-
}
|
2413
|
-
|
2414
|
-
return {
|
2415
|
-
div: this.divn(num.words[0]),
|
2416
|
-
mod: new BN(this.modn(num.words[0]))
|
2417
|
-
};
|
2418
|
-
}
|
2419
|
-
|
2420
|
-
return this._wordDiv(num, mode);
|
2421
|
-
};
|
2422
|
-
|
2423
|
-
// Find `this` / `num`
|
2424
|
-
BN.prototype.div = function div (num) {
|
2425
|
-
return this.divmod(num, 'div', false).div;
|
2426
|
-
};
|
2427
|
-
|
2428
|
-
// Find `this` % `num`
|
2429
|
-
BN.prototype.mod = function mod (num) {
|
2430
|
-
return this.divmod(num, 'mod', false).mod;
|
2431
|
-
};
|
2432
|
-
|
2433
|
-
BN.prototype.umod = function umod (num) {
|
2434
|
-
return this.divmod(num, 'mod', true).mod;
|
2435
|
-
};
|
2436
|
-
|
2437
|
-
// Find Round(`this` / `num`)
|
2438
|
-
BN.prototype.divRound = function divRound (num) {
|
2439
|
-
var dm = this.divmod(num);
|
2440
|
-
|
2441
|
-
// Fast case - exact division
|
2442
|
-
if (dm.mod.isZero()) return dm.div;
|
2443
|
-
|
2444
|
-
var mod = dm.div.negative !== 0 ? dm.mod.isub(num) : dm.mod;
|
2445
|
-
|
2446
|
-
var half = num.ushrn(1);
|
2447
|
-
var r2 = num.andln(1);
|
2448
|
-
var cmp = mod.cmp(half);
|
2449
|
-
|
2450
|
-
// Round down
|
2451
|
-
if (cmp < 0 || r2 === 1 && cmp === 0) return dm.div;
|
2452
|
-
|
2453
|
-
// Round up
|
2454
|
-
return dm.div.negative !== 0 ? dm.div.isubn(1) : dm.div.iaddn(1);
|
2455
|
-
};
|
2456
|
-
|
2457
|
-
BN.prototype.modn = function modn (num) {
|
2458
|
-
assert(num <= 0x3ffffff);
|
2459
|
-
var p = (1 << 26) % num;
|
2460
|
-
|
2461
|
-
var acc = 0;
|
2462
|
-
for (var i = this.length - 1; i >= 0; i--) {
|
2463
|
-
acc = (p * acc + (this.words[i] | 0)) % num;
|
2464
|
-
}
|
2465
|
-
|
2466
|
-
return acc;
|
2467
|
-
};
|
2468
|
-
|
2469
|
-
// In-place division by number
|
2470
|
-
BN.prototype.idivn = function idivn (num) {
|
2471
|
-
assert(num <= 0x3ffffff);
|
2472
|
-
|
2473
|
-
var carry = 0;
|
2474
|
-
for (var i = this.length - 1; i >= 0; i--) {
|
2475
|
-
var w = (this.words[i] | 0) + carry * 0x4000000;
|
2476
|
-
this.words[i] = (w / num) | 0;
|
2477
|
-
carry = w % num;
|
2478
|
-
}
|
2479
|
-
|
2480
|
-
return this.strip();
|
2481
|
-
};
|
2482
|
-
|
2483
|
-
BN.prototype.divn = function divn (num) {
|
2484
|
-
return this.clone().idivn(num);
|
2485
|
-
};
|
2486
|
-
|
2487
|
-
BN.prototype.egcd = function egcd (p) {
|
2488
|
-
assert(p.negative === 0);
|
2489
|
-
assert(!p.isZero());
|
2490
|
-
|
2491
|
-
var x = this;
|
2492
|
-
var y = p.clone();
|
2493
|
-
|
2494
|
-
if (x.negative !== 0) {
|
2495
|
-
x = x.umod(p);
|
2496
|
-
} else {
|
2497
|
-
x = x.clone();
|
2498
|
-
}
|
2499
|
-
|
2500
|
-
// A * x + B * y = x
|
2501
|
-
var A = new BN(1);
|
2502
|
-
var B = new BN(0);
|
2503
|
-
|
2504
|
-
// C * x + D * y = y
|
2505
|
-
var C = new BN(0);
|
2506
|
-
var D = new BN(1);
|
2507
|
-
|
2508
|
-
var g = 0;
|
2509
|
-
|
2510
|
-
while (x.isEven() && y.isEven()) {
|
2511
|
-
x.iushrn(1);
|
2512
|
-
y.iushrn(1);
|
2513
|
-
++g;
|
2514
|
-
}
|
2515
|
-
|
2516
|
-
var yp = y.clone();
|
2517
|
-
var xp = x.clone();
|
2518
|
-
|
2519
|
-
while (!x.isZero()) {
|
2520
|
-
for (var i = 0, im = 1; (x.words[0] & im) === 0 && i < 26; ++i, im <<= 1);
|
2521
|
-
if (i > 0) {
|
2522
|
-
x.iushrn(i);
|
2523
|
-
while (i-- > 0) {
|
2524
|
-
if (A.isOdd() || B.isOdd()) {
|
2525
|
-
A.iadd(yp);
|
2526
|
-
B.isub(xp);
|
2527
|
-
}
|
2528
|
-
|
2529
|
-
A.iushrn(1);
|
2530
|
-
B.iushrn(1);
|
2531
|
-
}
|
2532
|
-
}
|
2533
|
-
|
2534
|
-
for (var j = 0, jm = 1; (y.words[0] & jm) === 0 && j < 26; ++j, jm <<= 1);
|
2535
|
-
if (j > 0) {
|
2536
|
-
y.iushrn(j);
|
2537
|
-
while (j-- > 0) {
|
2538
|
-
if (C.isOdd() || D.isOdd()) {
|
2539
|
-
C.iadd(yp);
|
2540
|
-
D.isub(xp);
|
2541
|
-
}
|
2542
|
-
|
2543
|
-
C.iushrn(1);
|
2544
|
-
D.iushrn(1);
|
2545
|
-
}
|
2546
|
-
}
|
2547
|
-
|
2548
|
-
if (x.cmp(y) >= 0) {
|
2549
|
-
x.isub(y);
|
2550
|
-
A.isub(C);
|
2551
|
-
B.isub(D);
|
2552
|
-
} else {
|
2553
|
-
y.isub(x);
|
2554
|
-
C.isub(A);
|
2555
|
-
D.isub(B);
|
2556
|
-
}
|
2557
|
-
}
|
2558
|
-
|
2559
|
-
return {
|
2560
|
-
a: C,
|
2561
|
-
b: D,
|
2562
|
-
gcd: y.iushln(g)
|
2563
|
-
};
|
2564
|
-
};
|
2565
|
-
|
2566
|
-
// This is reduced incarnation of the binary EEA
|
2567
|
-
// above, designated to invert members of the
|
2568
|
-
// _prime_ fields F(p) at a maximal speed
|
2569
|
-
BN.prototype._invmp = function _invmp (p) {
|
2570
|
-
assert(p.negative === 0);
|
2571
|
-
assert(!p.isZero());
|
2572
|
-
|
2573
|
-
var a = this;
|
2574
|
-
var b = p.clone();
|
2575
|
-
|
2576
|
-
if (a.negative !== 0) {
|
2577
|
-
a = a.umod(p);
|
2578
|
-
} else {
|
2579
|
-
a = a.clone();
|
2580
|
-
}
|
2581
|
-
|
2582
|
-
var x1 = new BN(1);
|
2583
|
-
var x2 = new BN(0);
|
2584
|
-
|
2585
|
-
var delta = b.clone();
|
2586
|
-
|
2587
|
-
while (a.cmpn(1) > 0 && b.cmpn(1) > 0) {
|
2588
|
-
for (var i = 0, im = 1; (a.words[0] & im) === 0 && i < 26; ++i, im <<= 1);
|
2589
|
-
if (i > 0) {
|
2590
|
-
a.iushrn(i);
|
2591
|
-
while (i-- > 0) {
|
2592
|
-
if (x1.isOdd()) {
|
2593
|
-
x1.iadd(delta);
|
2594
|
-
}
|
2595
|
-
|
2596
|
-
x1.iushrn(1);
|
2597
|
-
}
|
2598
|
-
}
|
2599
|
-
|
2600
|
-
for (var j = 0, jm = 1; (b.words[0] & jm) === 0 && j < 26; ++j, jm <<= 1);
|
2601
|
-
if (j > 0) {
|
2602
|
-
b.iushrn(j);
|
2603
|
-
while (j-- > 0) {
|
2604
|
-
if (x2.isOdd()) {
|
2605
|
-
x2.iadd(delta);
|
2606
|
-
}
|
2607
|
-
|
2608
|
-
x2.iushrn(1);
|
2609
|
-
}
|
2610
|
-
}
|
2611
|
-
|
2612
|
-
if (a.cmp(b) >= 0) {
|
2613
|
-
a.isub(b);
|
2614
|
-
x1.isub(x2);
|
2615
|
-
} else {
|
2616
|
-
b.isub(a);
|
2617
|
-
x2.isub(x1);
|
2618
|
-
}
|
2619
|
-
}
|
2620
|
-
|
2621
|
-
var res;
|
2622
|
-
if (a.cmpn(1) === 0) {
|
2623
|
-
res = x1;
|
2624
|
-
} else {
|
2625
|
-
res = x2;
|
2626
|
-
}
|
2627
|
-
|
2628
|
-
if (res.cmpn(0) < 0) {
|
2629
|
-
res.iadd(p);
|
2630
|
-
}
|
2631
|
-
|
2632
|
-
return res;
|
2633
|
-
};
|
2634
|
-
|
2635
|
-
BN.prototype.gcd = function gcd (num) {
|
2636
|
-
if (this.isZero()) return num.abs();
|
2637
|
-
if (num.isZero()) return this.abs();
|
2638
|
-
|
2639
|
-
var a = this.clone();
|
2640
|
-
var b = num.clone();
|
2641
|
-
a.negative = 0;
|
2642
|
-
b.negative = 0;
|
2643
|
-
|
2644
|
-
// Remove common factor of two
|
2645
|
-
for (var shift = 0; a.isEven() && b.isEven(); shift++) {
|
2646
|
-
a.iushrn(1);
|
2647
|
-
b.iushrn(1);
|
2648
|
-
}
|
2649
|
-
|
2650
|
-
do {
|
2651
|
-
while (a.isEven()) {
|
2652
|
-
a.iushrn(1);
|
2653
|
-
}
|
2654
|
-
while (b.isEven()) {
|
2655
|
-
b.iushrn(1);
|
2656
|
-
}
|
2657
|
-
|
2658
|
-
var r = a.cmp(b);
|
2659
|
-
if (r < 0) {
|
2660
|
-
// Swap `a` and `b` to make `a` always bigger than `b`
|
2661
|
-
var t = a;
|
2662
|
-
a = b;
|
2663
|
-
b = t;
|
2664
|
-
} else if (r === 0 || b.cmpn(1) === 0) {
|
2665
|
-
break;
|
2666
|
-
}
|
2667
|
-
|
2668
|
-
a.isub(b);
|
2669
|
-
} while (true);
|
2670
|
-
|
2671
|
-
return b.iushln(shift);
|
2672
|
-
};
|
2673
|
-
|
2674
|
-
// Invert number in the field F(num)
|
2675
|
-
BN.prototype.invm = function invm (num) {
|
2676
|
-
return this.egcd(num).a.umod(num);
|
2677
|
-
};
|
2678
|
-
|
2679
|
-
BN.prototype.isEven = function isEven () {
|
2680
|
-
return (this.words[0] & 1) === 0;
|
2681
|
-
};
|
2682
|
-
|
2683
|
-
BN.prototype.isOdd = function isOdd () {
|
2684
|
-
return (this.words[0] & 1) === 1;
|
2685
|
-
};
|
2686
|
-
|
2687
|
-
// And first word and num
|
2688
|
-
BN.prototype.andln = function andln (num) {
|
2689
|
-
return this.words[0] & num;
|
2690
|
-
};
|
2691
|
-
|
2692
|
-
// Increment at the bit position in-line
|
2693
|
-
BN.prototype.bincn = function bincn (bit) {
|
2694
|
-
assert(typeof bit === 'number');
|
2695
|
-
var r = bit % 26;
|
2696
|
-
var s = (bit - r) / 26;
|
2697
|
-
var q = 1 << r;
|
2698
|
-
|
2699
|
-
// Fast case: bit is much higher than all existing words
|
2700
|
-
if (this.length <= s) {
|
2701
|
-
this._expand(s + 1);
|
2702
|
-
this.words[s] |= q;
|
2703
|
-
return this;
|
2704
|
-
}
|
2705
|
-
|
2706
|
-
// Add bit and propagate, if needed
|
2707
|
-
var carry = q;
|
2708
|
-
for (var i = s; carry !== 0 && i < this.length; i++) {
|
2709
|
-
var w = this.words[i] | 0;
|
2710
|
-
w += carry;
|
2711
|
-
carry = w >>> 26;
|
2712
|
-
w &= 0x3ffffff;
|
2713
|
-
this.words[i] = w;
|
2714
|
-
}
|
2715
|
-
if (carry !== 0) {
|
2716
|
-
this.words[i] = carry;
|
2717
|
-
this.length++;
|
2718
|
-
}
|
2719
|
-
return this;
|
2720
|
-
};
|
2721
|
-
|
2722
|
-
BN.prototype.isZero = function isZero () {
|
2723
|
-
return this.length === 1 && this.words[0] === 0;
|
2724
|
-
};
|
2725
|
-
|
2726
|
-
BN.prototype.cmpn = function cmpn (num) {
|
2727
|
-
var negative = num < 0;
|
2728
|
-
|
2729
|
-
if (this.negative !== 0 && !negative) return -1;
|
2730
|
-
if (this.negative === 0 && negative) return 1;
|
2731
|
-
|
2732
|
-
this.strip();
|
2733
|
-
|
2734
|
-
var res;
|
2735
|
-
if (this.length > 1) {
|
2736
|
-
res = 1;
|
2737
|
-
} else {
|
2738
|
-
if (negative) {
|
2739
|
-
num = -num;
|
2740
|
-
}
|
2741
|
-
|
2742
|
-
assert(num <= 0x3ffffff, 'Number is too big');
|
2743
|
-
|
2744
|
-
var w = this.words[0] | 0;
|
2745
|
-
res = w === num ? 0 : w < num ? -1 : 1;
|
2746
|
-
}
|
2747
|
-
if (this.negative !== 0) return -res | 0;
|
2748
|
-
return res;
|
2749
|
-
};
|
2750
|
-
|
2751
|
-
// Compare two numbers and return:
|
2752
|
-
// 1 - if `this` > `num`
|
2753
|
-
// 0 - if `this` == `num`
|
2754
|
-
// -1 - if `this` < `num`
|
2755
|
-
BN.prototype.cmp = function cmp (num) {
|
2756
|
-
if (this.negative !== 0 && num.negative === 0) return -1;
|
2757
|
-
if (this.negative === 0 && num.negative !== 0) return 1;
|
2758
|
-
|
2759
|
-
var res = this.ucmp(num);
|
2760
|
-
if (this.negative !== 0) return -res | 0;
|
2761
|
-
return res;
|
2762
|
-
};
|
2763
|
-
|
2764
|
-
// Unsigned comparison
|
2765
|
-
BN.prototype.ucmp = function ucmp (num) {
|
2766
|
-
// At this point both numbers have the same sign
|
2767
|
-
if (this.length > num.length) return 1;
|
2768
|
-
if (this.length < num.length) return -1;
|
2769
|
-
|
2770
|
-
var res = 0;
|
2771
|
-
for (var i = this.length - 1; i >= 0; i--) {
|
2772
|
-
var a = this.words[i] | 0;
|
2773
|
-
var b = num.words[i] | 0;
|
2774
|
-
|
2775
|
-
if (a === b) continue;
|
2776
|
-
if (a < b) {
|
2777
|
-
res = -1;
|
2778
|
-
} else if (a > b) {
|
2779
|
-
res = 1;
|
2780
|
-
}
|
2781
|
-
break;
|
2782
|
-
}
|
2783
|
-
return res;
|
2784
|
-
};
|
2785
|
-
|
2786
|
-
BN.prototype.gtn = function gtn (num) {
|
2787
|
-
return this.cmpn(num) === 1;
|
2788
|
-
};
|
2789
|
-
|
2790
|
-
BN.prototype.gt = function gt (num) {
|
2791
|
-
return this.cmp(num) === 1;
|
2792
|
-
};
|
2793
|
-
|
2794
|
-
BN.prototype.gten = function gten (num) {
|
2795
|
-
return this.cmpn(num) >= 0;
|
2796
|
-
};
|
2797
|
-
|
2798
|
-
BN.prototype.gte = function gte (num) {
|
2799
|
-
return this.cmp(num) >= 0;
|
2800
|
-
};
|
2801
|
-
|
2802
|
-
BN.prototype.ltn = function ltn (num) {
|
2803
|
-
return this.cmpn(num) === -1;
|
2804
|
-
};
|
2805
|
-
|
2806
|
-
BN.prototype.lt = function lt (num) {
|
2807
|
-
return this.cmp(num) === -1;
|
2808
|
-
};
|
2809
|
-
|
2810
|
-
BN.prototype.lten = function lten (num) {
|
2811
|
-
return this.cmpn(num) <= 0;
|
2812
|
-
};
|
2813
|
-
|
2814
|
-
BN.prototype.lte = function lte (num) {
|
2815
|
-
return this.cmp(num) <= 0;
|
2816
|
-
};
|
2817
|
-
|
2818
|
-
BN.prototype.eqn = function eqn (num) {
|
2819
|
-
return this.cmpn(num) === 0;
|
2820
|
-
};
|
2821
|
-
|
2822
|
-
BN.prototype.eq = function eq (num) {
|
2823
|
-
return this.cmp(num) === 0;
|
2824
|
-
};
|
2825
|
-
|
2826
|
-
//
|
2827
|
-
// A reduce context, could be using montgomery or something better, depending
|
2828
|
-
// on the `m` itself.
|
2829
|
-
//
|
2830
|
-
BN.red = function red (num) {
|
2831
|
-
return new Red(num);
|
2832
|
-
};
|
2833
|
-
|
2834
|
-
BN.prototype.toRed = function toRed (ctx) {
|
2835
|
-
assert(!this.red, 'Already a number in reduction context');
|
2836
|
-
assert(this.negative === 0, 'red works only with positives');
|
2837
|
-
return ctx.convertTo(this)._forceRed(ctx);
|
2838
|
-
};
|
2839
|
-
|
2840
|
-
BN.prototype.fromRed = function fromRed () {
|
2841
|
-
assert(this.red, 'fromRed works only with numbers in reduction context');
|
2842
|
-
return this.red.convertFrom(this);
|
2843
|
-
};
|
2844
|
-
|
2845
|
-
BN.prototype._forceRed = function _forceRed (ctx) {
|
2846
|
-
this.red = ctx;
|
2847
|
-
return this;
|
2848
|
-
};
|
2849
|
-
|
2850
|
-
BN.prototype.forceRed = function forceRed (ctx) {
|
2851
|
-
assert(!this.red, 'Already a number in reduction context');
|
2852
|
-
return this._forceRed(ctx);
|
2853
|
-
};
|
2854
|
-
|
2855
|
-
BN.prototype.redAdd = function redAdd (num) {
|
2856
|
-
assert(this.red, 'redAdd works only with red numbers');
|
2857
|
-
return this.red.add(this, num);
|
2858
|
-
};
|
2859
|
-
|
2860
|
-
BN.prototype.redIAdd = function redIAdd (num) {
|
2861
|
-
assert(this.red, 'redIAdd works only with red numbers');
|
2862
|
-
return this.red.iadd(this, num);
|
2863
|
-
};
|
2864
|
-
|
2865
|
-
BN.prototype.redSub = function redSub (num) {
|
2866
|
-
assert(this.red, 'redSub works only with red numbers');
|
2867
|
-
return this.red.sub(this, num);
|
2868
|
-
};
|
2869
|
-
|
2870
|
-
BN.prototype.redISub = function redISub (num) {
|
2871
|
-
assert(this.red, 'redISub works only with red numbers');
|
2872
|
-
return this.red.isub(this, num);
|
2873
|
-
};
|
2874
|
-
|
2875
|
-
BN.prototype.redShl = function redShl (num) {
|
2876
|
-
assert(this.red, 'redShl works only with red numbers');
|
2877
|
-
return this.red.shl(this, num);
|
2878
|
-
};
|
2879
|
-
|
2880
|
-
BN.prototype.redMul = function redMul (num) {
|
2881
|
-
assert(this.red, 'redMul works only with red numbers');
|
2882
|
-
this.red._verify2(this, num);
|
2883
|
-
return this.red.mul(this, num);
|
2884
|
-
};
|
2885
|
-
|
2886
|
-
BN.prototype.redIMul = function redIMul (num) {
|
2887
|
-
assert(this.red, 'redMul works only with red numbers');
|
2888
|
-
this.red._verify2(this, num);
|
2889
|
-
return this.red.imul(this, num);
|
2890
|
-
};
|
2891
|
-
|
2892
|
-
BN.prototype.redSqr = function redSqr () {
|
2893
|
-
assert(this.red, 'redSqr works only with red numbers');
|
2894
|
-
this.red._verify1(this);
|
2895
|
-
return this.red.sqr(this);
|
2896
|
-
};
|
2897
|
-
|
2898
|
-
BN.prototype.redISqr = function redISqr () {
|
2899
|
-
assert(this.red, 'redISqr works only with red numbers');
|
2900
|
-
this.red._verify1(this);
|
2901
|
-
return this.red.isqr(this);
|
2902
|
-
};
|
2903
|
-
|
2904
|
-
// Square root over p
|
2905
|
-
BN.prototype.redSqrt = function redSqrt () {
|
2906
|
-
assert(this.red, 'redSqrt works only with red numbers');
|
2907
|
-
this.red._verify1(this);
|
2908
|
-
return this.red.sqrt(this);
|
2909
|
-
};
|
2910
|
-
|
2911
|
-
BN.prototype.redInvm = function redInvm () {
|
2912
|
-
assert(this.red, 'redInvm works only with red numbers');
|
2913
|
-
this.red._verify1(this);
|
2914
|
-
return this.red.invm(this);
|
2915
|
-
};
|
2916
|
-
|
2917
|
-
// Return negative clone of `this` % `red modulo`
|
2918
|
-
BN.prototype.redNeg = function redNeg () {
|
2919
|
-
assert(this.red, 'redNeg works only with red numbers');
|
2920
|
-
this.red._verify1(this);
|
2921
|
-
return this.red.neg(this);
|
2922
|
-
};
|
2923
|
-
|
2924
|
-
BN.prototype.redPow = function redPow (num) {
|
2925
|
-
assert(this.red && !num.red, 'redPow(normalNum)');
|
2926
|
-
this.red._verify1(this);
|
2927
|
-
return this.red.pow(this, num);
|
2928
|
-
};
|
2929
|
-
|
2930
|
-
// Prime numbers with efficient reduction
|
2931
|
-
var primes = {
|
2932
|
-
k256: null,
|
2933
|
-
p224: null,
|
2934
|
-
p192: null,
|
2935
|
-
p25519: null
|
2936
|
-
};
|
2937
|
-
|
2938
|
-
// Pseudo-Mersenne prime
|
2939
|
-
function MPrime (name, p) {
|
2940
|
-
// P = 2 ^ N - K
|
2941
|
-
this.name = name;
|
2942
|
-
this.p = new BN(p, 16);
|
2943
|
-
this.n = this.p.bitLength();
|
2944
|
-
this.k = new BN(1).iushln(this.n).isub(this.p);
|
2945
|
-
|
2946
|
-
this.tmp = this._tmp();
|
2947
|
-
}
|
2948
|
-
|
2949
|
-
MPrime.prototype._tmp = function _tmp () {
|
2950
|
-
var tmp = new BN(null);
|
2951
|
-
tmp.words = new Array(Math.ceil(this.n / 13));
|
2952
|
-
return tmp;
|
2953
|
-
};
|
2954
|
-
|
2955
|
-
MPrime.prototype.ireduce = function ireduce (num) {
|
2956
|
-
// Assumes that `num` is less than `P^2`
|
2957
|
-
// num = HI * (2 ^ N - K) + HI * K + LO = HI * K + LO (mod P)
|
2958
|
-
var r = num;
|
2959
|
-
var rlen;
|
2960
|
-
|
2961
|
-
do {
|
2962
|
-
this.split(r, this.tmp);
|
2963
|
-
r = this.imulK(r);
|
2964
|
-
r = r.iadd(this.tmp);
|
2965
|
-
rlen = r.bitLength();
|
2966
|
-
} while (rlen > this.n);
|
2967
|
-
|
2968
|
-
var cmp = rlen < this.n ? -1 : r.ucmp(this.p);
|
2969
|
-
if (cmp === 0) {
|
2970
|
-
r.words[0] = 0;
|
2971
|
-
r.length = 1;
|
2972
|
-
} else if (cmp > 0) {
|
2973
|
-
r.isub(this.p);
|
2974
|
-
} else {
|
2975
|
-
r.strip();
|
2976
|
-
}
|
2977
|
-
|
2978
|
-
return r;
|
2979
|
-
};
|
2980
|
-
|
2981
|
-
MPrime.prototype.split = function split (input, out) {
|
2982
|
-
input.iushrn(this.n, 0, out);
|
2983
|
-
};
|
2984
|
-
|
2985
|
-
MPrime.prototype.imulK = function imulK (num) {
|
2986
|
-
return num.imul(this.k);
|
2987
|
-
};
|
2988
|
-
|
2989
|
-
function K256 () {
|
2990
|
-
MPrime.call(
|
2991
|
-
this,
|
2992
|
-
'k256',
|
2993
|
-
'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f');
|
2994
|
-
}
|
2995
|
-
inherits(K256, MPrime);
|
2996
|
-
|
2997
|
-
K256.prototype.split = function split (input, output) {
|
2998
|
-
// 256 = 9 * 26 + 22
|
2999
|
-
var mask = 0x3fffff;
|
3000
|
-
|
3001
|
-
var outLen = Math.min(input.length, 9);
|
3002
|
-
for (var i = 0; i < outLen; i++) {
|
3003
|
-
output.words[i] = input.words[i];
|
3004
|
-
}
|
3005
|
-
output.length = outLen;
|
3006
|
-
|
3007
|
-
if (input.length <= 9) {
|
3008
|
-
input.words[0] = 0;
|
3009
|
-
input.length = 1;
|
3010
|
-
return;
|
3011
|
-
}
|
3012
|
-
|
3013
|
-
// Shift by 9 limbs
|
3014
|
-
var prev = input.words[9];
|
3015
|
-
output.words[output.length++] = prev & mask;
|
3016
|
-
|
3017
|
-
for (i = 10; i < input.length; i++) {
|
3018
|
-
var next = input.words[i] | 0;
|
3019
|
-
input.words[i - 10] = ((next & mask) << 4) | (prev >>> 22);
|
3020
|
-
prev = next;
|
3021
|
-
}
|
3022
|
-
prev >>>= 22;
|
3023
|
-
input.words[i - 10] = prev;
|
3024
|
-
if (prev === 0 && input.length > 10) {
|
3025
|
-
input.length -= 10;
|
3026
|
-
} else {
|
3027
|
-
input.length -= 9;
|
3028
|
-
}
|
3029
|
-
};
|
3030
|
-
|
3031
|
-
K256.prototype.imulK = function imulK (num) {
|
3032
|
-
// K = 0x1000003d1 = [ 0x40, 0x3d1 ]
|
3033
|
-
num.words[num.length] = 0;
|
3034
|
-
num.words[num.length + 1] = 0;
|
3035
|
-
num.length += 2;
|
3036
|
-
|
3037
|
-
// bounded at: 0x40 * 0x3ffffff + 0x3d0 = 0x100000390
|
3038
|
-
var lo = 0;
|
3039
|
-
for (var i = 0; i < num.length; i++) {
|
3040
|
-
var w = num.words[i] | 0;
|
3041
|
-
lo += w * 0x3d1;
|
3042
|
-
num.words[i] = lo & 0x3ffffff;
|
3043
|
-
lo = w * 0x40 + ((lo / 0x4000000) | 0);
|
3044
|
-
}
|
3045
|
-
|
3046
|
-
// Fast length reduction
|
3047
|
-
if (num.words[num.length - 1] === 0) {
|
3048
|
-
num.length--;
|
3049
|
-
if (num.words[num.length - 1] === 0) {
|
3050
|
-
num.length--;
|
3051
|
-
}
|
3052
|
-
}
|
3053
|
-
return num;
|
3054
|
-
};
|
3055
|
-
|
3056
|
-
function P224 () {
|
3057
|
-
MPrime.call(
|
3058
|
-
this,
|
3059
|
-
'p224',
|
3060
|
-
'ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001');
|
3061
|
-
}
|
3062
|
-
inherits(P224, MPrime);
|
3063
|
-
|
3064
|
-
function P192 () {
|
3065
|
-
MPrime.call(
|
3066
|
-
this,
|
3067
|
-
'p192',
|
3068
|
-
'ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff');
|
3069
|
-
}
|
3070
|
-
inherits(P192, MPrime);
|
3071
|
-
|
3072
|
-
function P25519 () {
|
3073
|
-
// 2 ^ 255 - 19
|
3074
|
-
MPrime.call(
|
3075
|
-
this,
|
3076
|
-
'25519',
|
3077
|
-
'7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed');
|
3078
|
-
}
|
3079
|
-
inherits(P25519, MPrime);
|
3080
|
-
|
3081
|
-
P25519.prototype.imulK = function imulK (num) {
|
3082
|
-
// K = 0x13
|
3083
|
-
var carry = 0;
|
3084
|
-
for (var i = 0; i < num.length; i++) {
|
3085
|
-
var hi = (num.words[i] | 0) * 0x13 + carry;
|
3086
|
-
var lo = hi & 0x3ffffff;
|
3087
|
-
hi >>>= 26;
|
3088
|
-
|
3089
|
-
num.words[i] = lo;
|
3090
|
-
carry = hi;
|
3091
|
-
}
|
3092
|
-
if (carry !== 0) {
|
3093
|
-
num.words[num.length++] = carry;
|
3094
|
-
}
|
3095
|
-
return num;
|
3096
|
-
};
|
3097
|
-
|
3098
|
-
// Exported mostly for testing purposes, use plain name instead
|
3099
|
-
BN._prime = function prime (name) {
|
3100
|
-
// Cached version of prime
|
3101
|
-
if (primes[name]) return primes[name];
|
3102
|
-
|
3103
|
-
var prime;
|
3104
|
-
if (name === 'k256') {
|
3105
|
-
prime = new K256();
|
3106
|
-
} else if (name === 'p224') {
|
3107
|
-
prime = new P224();
|
3108
|
-
} else if (name === 'p192') {
|
3109
|
-
prime = new P192();
|
3110
|
-
} else if (name === 'p25519') {
|
3111
|
-
prime = new P25519();
|
3112
|
-
} else {
|
3113
|
-
throw new Error('Unknown prime ' + name);
|
3114
|
-
}
|
3115
|
-
primes[name] = prime;
|
3116
|
-
|
3117
|
-
return prime;
|
3118
|
-
};
|
3119
|
-
|
3120
|
-
//
|
3121
|
-
// Base reduction engine
|
3122
|
-
//
|
3123
|
-
function Red (m) {
|
3124
|
-
if (typeof m === 'string') {
|
3125
|
-
var prime = BN._prime(m);
|
3126
|
-
this.m = prime.p;
|
3127
|
-
this.prime = prime;
|
3128
|
-
} else {
|
3129
|
-
assert(m.gtn(1), 'modulus must be greater than 1');
|
3130
|
-
this.m = m;
|
3131
|
-
this.prime = null;
|
3132
|
-
}
|
3133
|
-
}
|
3134
|
-
|
3135
|
-
Red.prototype._verify1 = function _verify1 (a) {
|
3136
|
-
assert(a.negative === 0, 'red works only with positives');
|
3137
|
-
assert(a.red, 'red works only with red numbers');
|
3138
|
-
};
|
3139
|
-
|
3140
|
-
Red.prototype._verify2 = function _verify2 (a, b) {
|
3141
|
-
assert((a.negative | b.negative) === 0, 'red works only with positives');
|
3142
|
-
assert(a.red && a.red === b.red,
|
3143
|
-
'red works only with red numbers');
|
3144
|
-
};
|
3145
|
-
|
3146
|
-
Red.prototype.imod = function imod (a) {
|
3147
|
-
if (this.prime) return this.prime.ireduce(a)._forceRed(this);
|
3148
|
-
return a.umod(this.m)._forceRed(this);
|
3149
|
-
};
|
3150
|
-
|
3151
|
-
Red.prototype.neg = function neg (a) {
|
3152
|
-
if (a.isZero()) {
|
3153
|
-
return a.clone();
|
3154
|
-
}
|
3155
|
-
|
3156
|
-
return this.m.sub(a)._forceRed(this);
|
3157
|
-
};
|
3158
|
-
|
3159
|
-
Red.prototype.add = function add (a, b) {
|
3160
|
-
this._verify2(a, b);
|
3161
|
-
|
3162
|
-
var res = a.add(b);
|
3163
|
-
if (res.cmp(this.m) >= 0) {
|
3164
|
-
res.isub(this.m);
|
3165
|
-
}
|
3166
|
-
return res._forceRed(this);
|
3167
|
-
};
|
3168
|
-
|
3169
|
-
Red.prototype.iadd = function iadd (a, b) {
|
3170
|
-
this._verify2(a, b);
|
3171
|
-
|
3172
|
-
var res = a.iadd(b);
|
3173
|
-
if (res.cmp(this.m) >= 0) {
|
3174
|
-
res.isub(this.m);
|
3175
|
-
}
|
3176
|
-
return res;
|
3177
|
-
};
|
3178
|
-
|
3179
|
-
Red.prototype.sub = function sub (a, b) {
|
3180
|
-
this._verify2(a, b);
|
3181
|
-
|
3182
|
-
var res = a.sub(b);
|
3183
|
-
if (res.cmpn(0) < 0) {
|
3184
|
-
res.iadd(this.m);
|
3185
|
-
}
|
3186
|
-
return res._forceRed(this);
|
3187
|
-
};
|
3188
|
-
|
3189
|
-
Red.prototype.isub = function isub (a, b) {
|
3190
|
-
this._verify2(a, b);
|
3191
|
-
|
3192
|
-
var res = a.isub(b);
|
3193
|
-
if (res.cmpn(0) < 0) {
|
3194
|
-
res.iadd(this.m);
|
3195
|
-
}
|
3196
|
-
return res;
|
3197
|
-
};
|
3198
|
-
|
3199
|
-
Red.prototype.shl = function shl (a, num) {
|
3200
|
-
this._verify1(a);
|
3201
|
-
return this.imod(a.ushln(num));
|
3202
|
-
};
|
3203
|
-
|
3204
|
-
Red.prototype.imul = function imul (a, b) {
|
3205
|
-
this._verify2(a, b);
|
3206
|
-
return this.imod(a.imul(b));
|
3207
|
-
};
|
3208
|
-
|
3209
|
-
Red.prototype.mul = function mul (a, b) {
|
3210
|
-
this._verify2(a, b);
|
3211
|
-
return this.imod(a.mul(b));
|
3212
|
-
};
|
3213
|
-
|
3214
|
-
Red.prototype.isqr = function isqr (a) {
|
3215
|
-
return this.imul(a, a.clone());
|
3216
|
-
};
|
3217
|
-
|
3218
|
-
Red.prototype.sqr = function sqr (a) {
|
3219
|
-
return this.mul(a, a);
|
3220
|
-
};
|
3221
|
-
|
3222
|
-
Red.prototype.sqrt = function sqrt (a) {
|
3223
|
-
if (a.isZero()) return a.clone();
|
3224
|
-
|
3225
|
-
var mod3 = this.m.andln(3);
|
3226
|
-
assert(mod3 % 2 === 1);
|
3227
|
-
|
3228
|
-
// Fast case
|
3229
|
-
if (mod3 === 3) {
|
3230
|
-
var pow = this.m.add(new BN(1)).iushrn(2);
|
3231
|
-
return this.pow(a, pow);
|
3232
|
-
}
|
3233
|
-
|
3234
|
-
// Tonelli-Shanks algorithm (Totally unoptimized and slow)
|
3235
|
-
//
|
3236
|
-
// Find Q and S, that Q * 2 ^ S = (P - 1)
|
3237
|
-
var q = this.m.subn(1);
|
3238
|
-
var s = 0;
|
3239
|
-
while (!q.isZero() && q.andln(1) === 0) {
|
3240
|
-
s++;
|
3241
|
-
q.iushrn(1);
|
3242
|
-
}
|
3243
|
-
assert(!q.isZero());
|
3244
|
-
|
3245
|
-
var one = new BN(1).toRed(this);
|
3246
|
-
var nOne = one.redNeg();
|
3247
|
-
|
3248
|
-
// Find quadratic non-residue
|
3249
|
-
// NOTE: Max is such because of generalized Riemann hypothesis.
|
3250
|
-
var lpow = this.m.subn(1).iushrn(1);
|
3251
|
-
var z = this.m.bitLength();
|
3252
|
-
z = new BN(2 * z * z).toRed(this);
|
3253
|
-
|
3254
|
-
while (this.pow(z, lpow).cmp(nOne) !== 0) {
|
3255
|
-
z.redIAdd(nOne);
|
3256
|
-
}
|
3257
|
-
|
3258
|
-
var c = this.pow(z, q);
|
3259
|
-
var r = this.pow(a, q.addn(1).iushrn(1));
|
3260
|
-
var t = this.pow(a, q);
|
3261
|
-
var m = s;
|
3262
|
-
while (t.cmp(one) !== 0) {
|
3263
|
-
var tmp = t;
|
3264
|
-
for (var i = 0; tmp.cmp(one) !== 0; i++) {
|
3265
|
-
tmp = tmp.redSqr();
|
3266
|
-
}
|
3267
|
-
assert(i < m);
|
3268
|
-
var b = this.pow(c, new BN(1).iushln(m - i - 1));
|
3269
|
-
|
3270
|
-
r = r.redMul(b);
|
3271
|
-
c = b.redSqr();
|
3272
|
-
t = t.redMul(c);
|
3273
|
-
m = i;
|
3274
|
-
}
|
3275
|
-
|
3276
|
-
return r;
|
3277
|
-
};
|
3278
|
-
|
3279
|
-
Red.prototype.invm = function invm (a) {
|
3280
|
-
var inv = a._invmp(this.m);
|
3281
|
-
if (inv.negative !== 0) {
|
3282
|
-
inv.negative = 0;
|
3283
|
-
return this.imod(inv).redNeg();
|
3284
|
-
} else {
|
3285
|
-
return this.imod(inv);
|
3286
|
-
}
|
3287
|
-
};
|
3288
|
-
|
3289
|
-
Red.prototype.pow = function pow (a, num) {
|
3290
|
-
if (num.isZero()) return new BN(1);
|
3291
|
-
if (num.cmpn(1) === 0) return a.clone();
|
3292
|
-
|
3293
|
-
var windowSize = 4;
|
3294
|
-
var wnd = new Array(1 << windowSize);
|
3295
|
-
wnd[0] = new BN(1).toRed(this);
|
3296
|
-
wnd[1] = a;
|
3297
|
-
for (var i = 2; i < wnd.length; i++) {
|
3298
|
-
wnd[i] = this.mul(wnd[i - 1], a);
|
3299
|
-
}
|
3300
|
-
|
3301
|
-
var res = wnd[0];
|
3302
|
-
var current = 0;
|
3303
|
-
var currentLen = 0;
|
3304
|
-
var start = num.bitLength() % 26;
|
3305
|
-
if (start === 0) {
|
3306
|
-
start = 26;
|
3307
|
-
}
|
3308
|
-
|
3309
|
-
for (i = num.length - 1; i >= 0; i--) {
|
3310
|
-
var word = num.words[i];
|
3311
|
-
for (var j = start - 1; j >= 0; j--) {
|
3312
|
-
var bit = (word >> j) & 1;
|
3313
|
-
if (res !== wnd[0]) {
|
3314
|
-
res = this.sqr(res);
|
3315
|
-
}
|
3316
|
-
|
3317
|
-
if (bit === 0 && current === 0) {
|
3318
|
-
currentLen = 0;
|
3319
|
-
continue;
|
3320
|
-
}
|
3321
|
-
|
3322
|
-
current <<= 1;
|
3323
|
-
current |= bit;
|
3324
|
-
currentLen++;
|
3325
|
-
if (currentLen !== windowSize && (i !== 0 || j !== 0)) continue;
|
3326
|
-
|
3327
|
-
res = this.mul(res, wnd[current]);
|
3328
|
-
currentLen = 0;
|
3329
|
-
current = 0;
|
3330
|
-
}
|
3331
|
-
start = 26;
|
3332
|
-
}
|
3333
|
-
|
3334
|
-
return res;
|
3335
|
-
};
|
3336
|
-
|
3337
|
-
Red.prototype.convertTo = function convertTo (num) {
|
3338
|
-
var r = num.umod(this.m);
|
3339
|
-
|
3340
|
-
return r === num ? r.clone() : r;
|
3341
|
-
};
|
3342
|
-
|
3343
|
-
Red.prototype.convertFrom = function convertFrom (num) {
|
3344
|
-
var res = num.clone();
|
3345
|
-
res.red = null;
|
3346
|
-
return res;
|
3347
|
-
};
|
3348
|
-
|
3349
|
-
//
|
3350
|
-
// Montgomery method engine
|
3351
|
-
//
|
3352
|
-
|
3353
|
-
BN.mont = function mont (num) {
|
3354
|
-
return new Mont(num);
|
3355
|
-
};
|
3356
|
-
|
3357
|
-
function Mont (m) {
|
3358
|
-
Red.call(this, m);
|
3359
|
-
|
3360
|
-
this.shift = this.m.bitLength();
|
3361
|
-
if (this.shift % 26 !== 0) {
|
3362
|
-
this.shift += 26 - (this.shift % 26);
|
3363
|
-
}
|
3364
|
-
|
3365
|
-
this.r = new BN(1).iushln(this.shift);
|
3366
|
-
this.r2 = this.imod(this.r.sqr());
|
3367
|
-
this.rinv = this.r._invmp(this.m);
|
3368
|
-
|
3369
|
-
this.minv = this.rinv.mul(this.r).isubn(1).div(this.m);
|
3370
|
-
this.minv = this.minv.umod(this.r);
|
3371
|
-
this.minv = this.r.sub(this.minv);
|
3372
|
-
}
|
3373
|
-
inherits(Mont, Red);
|
3374
|
-
|
3375
|
-
Mont.prototype.convertTo = function convertTo (num) {
|
3376
|
-
return this.imod(num.ushln(this.shift));
|
3377
|
-
};
|
3378
|
-
|
3379
|
-
Mont.prototype.convertFrom = function convertFrom (num) {
|
3380
|
-
var r = this.imod(num.mul(this.rinv));
|
3381
|
-
r.red = null;
|
3382
|
-
return r;
|
3383
|
-
};
|
3384
|
-
|
3385
|
-
Mont.prototype.imul = function imul (a, b) {
|
3386
|
-
if (a.isZero() || b.isZero()) {
|
3387
|
-
a.words[0] = 0;
|
3388
|
-
a.length = 1;
|
3389
|
-
return a;
|
3390
|
-
}
|
3391
|
-
|
3392
|
-
var t = a.imul(b);
|
3393
|
-
var c = t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);
|
3394
|
-
var u = t.isub(c).iushrn(this.shift);
|
3395
|
-
var res = u;
|
3396
|
-
|
3397
|
-
if (u.cmp(this.m) >= 0) {
|
3398
|
-
res = u.isub(this.m);
|
3399
|
-
} else if (u.cmpn(0) < 0) {
|
3400
|
-
res = u.iadd(this.m);
|
3401
|
-
}
|
3402
|
-
|
3403
|
-
return res._forceRed(this);
|
3404
|
-
};
|
3405
|
-
|
3406
|
-
Mont.prototype.mul = function mul (a, b) {
|
3407
|
-
if (a.isZero() || b.isZero()) return new BN(0)._forceRed(this);
|
3408
|
-
|
3409
|
-
var t = a.mul(b);
|
3410
|
-
var c = t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);
|
3411
|
-
var u = t.isub(c).iushrn(this.shift);
|
3412
|
-
var res = u;
|
3413
|
-
if (u.cmp(this.m) >= 0) {
|
3414
|
-
res = u.isub(this.m);
|
3415
|
-
} else if (u.cmpn(0) < 0) {
|
3416
|
-
res = u.iadd(this.m);
|
3417
|
-
}
|
3418
|
-
|
3419
|
-
return res._forceRed(this);
|
3420
|
-
};
|
3421
|
-
|
3422
|
-
Mont.prototype.invm = function invm (a) {
|
3423
|
-
// (AR)^-1 * R^2 = (A^-1 * R^-1) * R^2 = A^-1 * R
|
3424
|
-
var res = this.imod(a._invmp(this.m).mul(this.r2));
|
3425
|
-
return res._forceRed(this);
|
3426
|
-
};
|
3427
|
-
})(typeof module === 'undefined' || module, this);
|