tck-lambdas 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tck/lambdas/chistacojs/chistaco_diario.zip +0 -0
- data/lib/tck/lambdas/chistacojs/source/chistacojs.js +26 -5
- data/lib/tck/lambdas/chistacojs/source/chistescortos.js +19 -15
- data/lib/tck/lambdas/chistacojs/source/conf.js +18 -6
- data/lib/tck/lambdas/chistacojs/source/post_chistaco.js +9 -4
- data/lib/tck/lambdas/chistacojs/source/refreshing_matter.js +19 -15
- data/lib/tck/lambdas/chistacojs/test/failed/module_not_found.json +1 -0
- data/lib/tck/lambdas/chistacojs/test/succeeded/chistescortos_module.json +1 -0
- data/lib/tck/lambdas/chistacojs/test/succeeded/refreshing_module.json +1 -0
- data/lib/tck/lambdas/version.rb +1 -1
- metadata +5 -680
- data/lib/tck/lambdas/chistacojs/chistaco_diario.js +0 -31
- data/lib/tck/lambdas/chistacojs/chistescortos.js +0 -17
- data/lib/tck/lambdas/chistacojs/conf.js +0 -13
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/History.md +0 -576
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/Readme.md +0 -1093
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/index.js +0 -11
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/lib/api/attributes.js +0 -495
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/lib/api/css.js +0 -121
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/lib/api/forms.js +0 -65
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/lib/api/manipulation.js +0 -425
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/lib/api/traversing.js +0 -429
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/lib/cheerio.js +0 -148
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/lib/parse.js +0 -86
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/lib/static.js +0 -187
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/lib/utils.js +0 -83
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/README.md +0 -133
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/index.js +0 -59
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/lib/attributes.js +0 -181
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/lib/compile.js +0 -192
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/lib/general.js +0 -89
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/lib/procedure.json +0 -11
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/lib/pseudos.js +0 -393
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/lib/sort.js +0 -80
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/boolbase/README.md +0 -10
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/boolbase/index.js +0 -8
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/boolbase/package.json +0 -46
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/css-what/index.js +0 -267
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/css-what/package.json +0 -74
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/css-what/readme.md +0 -46
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/index.js +0 -14
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/lib/helpers.js +0 -141
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/lib/legacy.js +0 -87
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/lib/manipulation.js +0 -77
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/lib/querying.js +0 -94
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/lib/stringify.js +0 -22
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/lib/traversal.js +0 -24
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/node_modules/domelementtype/index.js +0 -15
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/node_modules/domelementtype/package.json +0 -46
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/node_modules/domelementtype/readme.md +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/package.json +0 -74
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/readme.md +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/test/fixture.js +0 -6
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/test/tests/helpers.js +0 -89
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/test/tests/legacy.js +0 -119
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/test/tests/traversal.js +0 -17
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/domutils/test/utils.js +0 -9
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/nth-check/README.md +0 -51
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/nth-check/compile.js +0 -40
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/nth-check/index.js +0 -9
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/nth-check/package.json +0 -52
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/nth-check/parse.js +0 -40
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/node_modules/nth-check/test.js +0 -102
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/css-select/package.json +0 -90
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/dom-serializer/index.js +0 -178
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/dom-serializer/node_modules/domelementtype/index.js +0 -14
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/dom-serializer/node_modules/domelementtype/package.json +0 -45
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/dom-serializer/node_modules/domelementtype/readme.md +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/dom-serializer/package.json +0 -72
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/entities/index.js +0 -33
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/entities/lib/decode.js +0 -72
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/entities/lib/decode_codepoint.js +0 -26
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/entities/lib/encode.js +0 -73
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/entities/maps/decode.json +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/entities/maps/entities.json +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/entities/maps/legacy.json +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/entities/maps/xml.json +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/entities/package.json +0 -79
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/entities/readme.md +0 -27
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/entities/test/mocha.opts +0 -2
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/entities/test/test.js +0 -168
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/lib/CollectingHandler.js +0 -55
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/lib/FeedHandler.js +0 -95
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/lib/Parser.js +0 -353
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/lib/ProxyHandler.js +0 -27
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/lib/Stream.js +0 -35
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/lib/Tokenizer.js +0 -906
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/lib/WritableStream.js +0 -25
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/lib/index.js +0 -68
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domelementtype/index.js +0 -15
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domelementtype/package.json +0 -45
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domelementtype/readme.md +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/index.js +0 -182
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/lib/element.js +0 -20
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/lib/node.js +0 -44
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/package.json +0 -68
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/readme.md +0 -105
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/01-basic.json +0 -57
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/02-single_tag_1.json +0 -21
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/03-single_tag_2.json +0 -21
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/04-unescaped_in_script.json +0 -27
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/05-tags_in_comment.json +0 -18
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/06-comment_in_script.json +0 -18
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/07-unescaped_in_style.json +0 -20
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/08-extra_spaces_in_tag.json +0 -20
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/09-unquoted_attrib.json +0 -20
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/10-singular_attribute.json +0 -15
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/11-text_outside_tags.json +0 -40
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/12-text_only.json +0 -11
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/13-comment_in_text.json +0 -19
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/14-comment_in_text_in_script.json +0 -18
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/15-non-verbose.json +0 -22
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/16-normalize_whitespace.json +0 -47
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/17-xml_namespace.json +0 -18
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/18-enforce_empty_tags.json +0 -16
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/19-ignore_empty_tags.json +0 -20
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/20-template_script_tags.json +0 -20
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/21-conditional_comments.json +0 -15
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/22-lowercase_tags.json +0 -41
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/23-dom-lvl1.json +0 -131
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/cases/24-with-start-indices.json +0 -85
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domhandler/test/tests.js +0 -60
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/index.js +0 -14
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/lib/helpers.js +0 -141
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/lib/legacy.js +0 -87
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/lib/manipulation.js +0 -77
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/lib/querying.js +0 -94
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/lib/stringify.js +0 -22
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/lib/traversal.js +0 -24
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/package.json +0 -74
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/readme.md +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/test/fixture.js +0 -6
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/test/tests/helpers.js +0 -89
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/test/tests/legacy.js +0 -119
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/test/tests/traversal.js +0 -17
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/domutils/test/utils.js +0 -9
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/inherits/README.md +0 -42
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/inherits/inherits.js +0 -7
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/inherits/inherits_browser.js +0 -23
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/inherits/package.json +0 -62
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/README.md +0 -36
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/doc/stream.md +0 -2015
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/duplex.js +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/lib/_stream_duplex.js +0 -75
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/lib/_stream_passthrough.js +0 -26
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/lib/_stream_readable.js +0 -937
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/lib/_stream_transform.js +0 -180
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/lib/_stream_writable.js +0 -526
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -64
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/buffer-shims/index.js +0 -108
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/buffer-shims/license.md +0 -19
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/buffer-shims/package.json +0 -49
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/buffer-shims/readme.md +0 -21
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/core-util-is/README.md +0 -3
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/core-util-is/float.patch +0 -604
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/core-util-is/lib/util.js +0 -107
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/core-util-is/package.json +0 -60
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/core-util-is/test.js +0 -68
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/isarray/README.md +0 -60
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/isarray/component.json +0 -19
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/isarray/index.js +0 -5
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/isarray/package.json +0 -71
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/isarray/test.js +0 -20
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/process-nextick-args/index.js +0 -43
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/process-nextick-args/license.md +0 -19
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/process-nextick-args/package.json +0 -49
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/process-nextick-args/readme.md +0 -18
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/process-nextick-args/test.js +0 -24
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/string_decoder/README.md +0 -7
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/string_decoder/index.js +0 -221
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/string_decoder/package.json +0 -54
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/util-deprecate/History.md +0 -16
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/util-deprecate/README.md +0 -53
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/util-deprecate/browser.js +0 -67
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/util-deprecate/node.js +0 -6
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/node_modules/util-deprecate/package.json +0 -54
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/package.json +0 -90
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/passthrough.js +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/readable.js +0 -16
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/transform.js +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/node_modules/readable-stream/writable.js +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/htmlparser2/package.json +0 -84
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.assignin/README.md +0 -18
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.assignin/index.js +0 -626
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.assignin/package.json +0 -77
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.bind/README.md +0 -18
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.bind/index.js +0 -1254
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.bind/package.json +0 -77
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.defaults/README.md +0 -18
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.defaults/index.js +0 -668
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.defaults/package.json +0 -77
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.filter/README.md +0 -18
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.filter/index.js +0 -2366
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.filter/package.json +0 -77
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.flatten/README.md +0 -18
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.flatten/index.js +0 -349
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.flatten/package.json +0 -77
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.foreach/README.md +0 -18
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.foreach/index.js +0 -565
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.foreach/package.json +0 -77
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.map/README.md +0 -18
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.map/index.js +0 -2366
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.map/package.json +0 -77
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.merge/README.md +0 -18
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.merge/index.js +0 -2207
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.merge/package.json +0 -77
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.pick/README.md +0 -18
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.pick/index.js +0 -503
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.pick/package.json +0 -77
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.reduce/README.md +0 -18
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.reduce/index.js +0 -2372
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.reduce/package.json +0 -77
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.reject/README.md +0 -18
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.reject/index.js +0 -2398
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.reject/package.json +0 -77
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.some/README.md +0 -18
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.some/index.js +0 -2368
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/node_modules/lodash.some/package.json +0 -77
- data/lib/tck/lambdas/chistacojs/node_modules/cheerio/package.json +0 -105
- data/lib/tck/lambdas/chistacojs/node_modules/request/CHANGELOG.md +0 -633
- data/lib/tck/lambdas/chistacojs/node_modules/request/CONTRIBUTING.md +0 -81
- data/lib/tck/lambdas/chistacojs/node_modules/request/README.md +0 -1097
- data/lib/tck/lambdas/chistacojs/node_modules/request/codecov.yml +0 -2
- data/lib/tck/lambdas/chistacojs/node_modules/request/index.js +0 -157
- data/lib/tck/lambdas/chistacojs/node_modules/request/lib/auth.js +0 -168
- data/lib/tck/lambdas/chistacojs/node_modules/request/lib/cookies.js +0 -39
- data/lib/tck/lambdas/chistacojs/node_modules/request/lib/getProxyFromURI.js +0 -79
- data/lib/tck/lambdas/chistacojs/node_modules/request/lib/har.js +0 -215
- data/lib/tck/lambdas/chistacojs/node_modules/request/lib/helpers.js +0 -74
- data/lib/tck/lambdas/chistacojs/node_modules/request/lib/multipart.js +0 -112
- data/lib/tck/lambdas/chistacojs/node_modules/request/lib/oauth.js +0 -147
- data/lib/tck/lambdas/chistacojs/node_modules/request/lib/querystring.js +0 -51
- data/lib/tck/lambdas/chistacojs/node_modules/request/lib/redirect.js +0 -153
- data/lib/tck/lambdas/chistacojs/node_modules/request/lib/tunnel.js +0 -176
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/aws-sign2/README.md +0 -4
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/aws-sign2/index.js +0 -212
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/aws-sign2/package.json +0 -49
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/aws4/README.md +0 -514
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/aws4/aws4.js +0 -318
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/aws4/lru.js +0 -96
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/aws4/package.json +0 -106
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/LICENSE.md +0 -13
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/README.md +0 -200
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/bl.js +0 -243
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/README.md +0 -36
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/doc/stream.markdown +0 -1760
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/duplex.js +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.js +0 -75
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js +0 -26
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js +0 -880
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.js +0 -180
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js +0 -516
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/README.md +0 -3
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/float.patch +0 -604
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/lib/util.js +0 -107
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/package.json +0 -60
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/test.js +0 -68
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/README.md +0 -42
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/inherits.js +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/inherits_browser.js +0 -23
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/package.json +0 -49
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/test.js +0 -25
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/README.md +0 -60
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/component.json +0 -19
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/index.js +0 -5
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/package.json +0 -71
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/test.js +0 -20
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/index.js +0 -43
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/license.md +0 -19
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/package.json +0 -49
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/readme.md +0 -18
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/test.js +0 -24
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/README.md +0 -7
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/index.js +0 -221
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/package.json +0 -54
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/History.md +0 -16
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/README.md +0 -53
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/browser.js +0 -67
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/node.js +0 -6
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/package.json +0 -54
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/package.json +0 -80
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/passthrough.js +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/readable.js +0 -12
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/transform.js +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/node_modules/readable-stream/writable.js +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/package.json +0 -64
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/bl/test/test.js +0 -640
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/caseless/README.md +0 -45
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/caseless/index.js +0 -66
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/caseless/package.json +0 -62
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/caseless/test.js +0 -40
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/combined-stream/Readme.md +0 -138
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/combined-stream/lib/combined_stream.js +0 -188
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream/Readme.md +0 -141
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream/package.json +0 -64
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/combined-stream/package.json +0 -67
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/extend/CHANGELOG.md +0 -69
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/extend/README.md +0 -62
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/extend/component.json +0 -32
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/extend/index.js +0 -86
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/extend/package.json +0 -73
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/forever-agent/README.md +0 -4
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/forever-agent/index.js +0 -138
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/forever-agent/package.json +0 -56
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/form-data/README.md +0 -218
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/form-data/lib/browser.js +0 -2
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/form-data/lib/form_data.js +0 -411
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/form-data/lib/populate.js +0 -9
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/form-data/node_modules/async/CHANGELOG.md +0 -125
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/form-data/node_modules/async/README.md +0 -1877
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/form-data/node_modules/async/dist/async.js +0 -1265
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/form-data/node_modules/async/dist/async.min.js +0 -2
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/form-data/node_modules/async/lib/async.js +0 -1265
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/form-data/node_modules/async/package.json +0 -123
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/form-data/package.json +0 -104
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/form-data/wercker.yml +0 -36
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/README.md +0 -309
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/async.js +0 -14
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/error.js +0 -10
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/index.js +0 -22
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/runner.js +0 -29
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/cache.json +0 -13
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/cacheEntry.json +0 -31
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/content.json +0 -27
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/cookie.json +0 -34
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/creator.json +0 -18
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/entry.json +0 -51
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/har.json +0 -11
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/index.js +0 -49
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/log.json +0 -34
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/page.json +0 -30
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/pageTimings.json +0 -16
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/postData.json +0 -41
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/record.json +0 -18
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/request.json +0 -55
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/response.json +0 -52
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/lib/schemas/timings.json +0 -40
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/index.js +0 -116
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/ansi-styles/index.js +0 -65
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/ansi-styles/package.json +0 -80
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/ansi-styles/readme.md +0 -86
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/escape-string-regexp/index.js +0 -11
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/escape-string-regexp/package.json +0 -75
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/escape-string-regexp/readme.md +0 -27
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/index.js +0 -4
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/index.js +0 -4
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/package.json +0 -86
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/readme.md +0 -31
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/package.json +0 -85
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/readme.md +0 -36
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/index.js +0 -6
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex/index.js +0 -4
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex/package.json +0 -86
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +0 -31
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/package.json +0 -90
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/readme.md +0 -33
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/supports-color/index.js +0 -50
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/supports-color/package.json +0 -79
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/supports-color/readme.md +0 -36
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/package.json +0 -107
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/chalk/readme.md +0 -213
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/commander/History.md +0 -261
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/commander/Readme.md +0 -351
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/commander/index.js +0 -1110
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/README.md +0 -17
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/index.js +0 -12
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/package.json +0 -48
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/commander/package.json +0 -71
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/README.md +0 -173
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/example.js +0 -18
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/formats.js +0 -14
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/index.js +0 -584
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function/README.md +0 -72
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function/example.js +0 -27
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function/index.js +0 -61
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function/package.json +0 -53
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function/test.js +0 -33
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/README.md +0 -19
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/index.js +0 -12
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/node_modules/is-property/README.md +0 -28
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/node_modules/is-property/is-property.js +0 -5
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/node_modules/is-property/package.json +0 -59
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/package.json +0 -51
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/test.js +0 -12
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/jsonpointer/README.md +0 -32
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/jsonpointer/jsonpointer.js +0 -76
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/jsonpointer/package.json +0 -64
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/jsonpointer/test.js +0 -98
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/README.md +0 -32
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/immutable.js +0 -19
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/mutable.js +0 -17
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/package.json +0 -84
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/test.js +0 -83
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/package.json +0 -75
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/require.js +0 -12
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/fixtures/cosmic.js +0 -84
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/additionalItems.json +0 -82
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/additionalProperties.json +0 -88
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/allOf.json +0 -112
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/anyOf.json +0 -68
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/bignum.json +0 -107
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/default.json +0 -49
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/definitions.json +0 -32
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/dependencies.json +0 -113
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/enum.json +0 -72
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/format.json +0 -143
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/items.json +0 -46
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/maxItems.json +0 -28
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/maxLength.json +0 -28
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/maxProperties.json +0 -28
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/maximum.json +0 -42
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/minItems.json +0 -28
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/minLength.json +0 -28
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/minProperties.json +0 -28
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/minimum.json +0 -42
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/multipleOf.json +0 -96
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/not.json +0 -96
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndFormat.json +0 -18
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndObject.json +0 -18
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/oneOf.json +0 -68
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/pattern.json +0 -23
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/patternProperties.json +0 -110
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/properties.json +0 -92
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/ref.json +0 -128
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/refRemote.json +0 -74
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/required.json +0 -39
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/type.json +0 -330
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/uniqueItems.json +0 -79
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema.js +0 -23
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/misc.js +0 -447
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/pinkie-promise/index.js +0 -3
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/pinkie-promise/node_modules/pinkie/index.js +0 -292
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/pinkie-promise/node_modules/pinkie/package.json +0 -66
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/pinkie-promise/node_modules/pinkie/readme.md +0 -83
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/pinkie-promise/package.json +0 -69
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/node_modules/pinkie-promise/readme.md +0 -28
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/har-validator/package.json +0 -87
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/README.md +0 -634
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/bower.json +0 -24
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/component.json +0 -19
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/dist/client.js +0 -343
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/example/usage.js +0 -78
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/images/hawk.png +0 -0
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/images/logo.png +0 -0
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/lib/browser.js +0 -637
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/lib/client.js +0 -369
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/lib/crypto.js +0 -126
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/lib/index.js +0 -15
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/lib/server.js +0 -548
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/lib/utils.js +0 -184
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/boom/CONTRIBUTING.md +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/boom/README.md +0 -652
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/boom/images/boom.png +0 -0
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/boom/lib/index.js +0 -318
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/boom/package.json +0 -64
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/boom/test/index.js +0 -654
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/cryptiles/README.md +0 -16
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/cryptiles/lib/index.js +0 -68
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/cryptiles/package.json +0 -61
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/cryptiles/test/index.js +0 -102
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/hoek/CONTRIBUTING.md +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/hoek/README.md +0 -584
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/hoek/images/hoek.png +0 -0
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/hoek/lib/escape.js +0 -132
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/hoek/lib/index.js +0 -993
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/hoek/package.json +0 -61
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/hoek/test/escaper.js +0 -88
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/hoek/test/index.js +0 -2513
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/ignore.txt +0 -0
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test1.js +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test2.js +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test3.js +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/sntp/README.md +0 -68
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/sntp/examples/offset.js +0 -16
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/sntp/examples/time.js +0 -25
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/sntp/index.js +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/sntp/lib/index.js +0 -412
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/sntp/package.json +0 -65
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/node_modules/sntp/test/index.js +0 -435
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/package.json +0 -68
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/test/browser.js +0 -1492
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/test/client.js +0 -440
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/test/crypto.js +0 -70
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/test/index.js +0 -378
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/test/readme.js +0 -95
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/test/server.js +0 -1329
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/test/uri.js +0 -838
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/hawk/test/utils.js +0 -149
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/CHANGES.md +0 -46
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/README.md +0 -79
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/http_signing.md +0 -363
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/lib/index.js +0 -29
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/lib/parser.js +0 -318
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/lib/signer.js +0 -399
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/lib/utils.js +0 -112
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/lib/verify.js +0 -88
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/assert-plus/CHANGES.md +0 -8
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/assert-plus/README.md +0 -155
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/assert-plus/assert.js +0 -206
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/assert-plus/package.json +0 -83
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/CHANGES.md +0 -35
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/README.md +0 -237
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/lib/jsprim.js +0 -488
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf/Makefile.deps +0 -39
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf/Makefile.targ +0 -285
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf/README.md +0 -39
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf/examples/simple.js +0 -2
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf/jsl.node.conf +0 -137
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf/lib/extsprintf.js +0 -166
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf/package.json +0 -37
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/README.md +0 -5
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/draft-zyp-json-schema-03.xml +0 -1120
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/draft-zyp-json-schema-04.xml +0 -1072
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/lib/links.js +0 -52
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/lib/validate.js +0 -260
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/package.json +0 -59
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/test/tests.js +0 -95
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/Makefile.targ +0 -285
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/README.md +0 -120
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/examples/levels-verror.js +0 -36
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/examples/levels-werror.js +0 -34
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/examples/varargs.js +0 -6
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/examples/verror.js +0 -13
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/examples/werror.js +0 -14
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/jsl.node.conf +0 -139
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/lib/verror.js +0 -157
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/package.json +0 -43
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/tests/tst.inherit.js +0 -100
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/tests/tst.verror.js +0 -156
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/tests/tst.werror.js +0 -179
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/jsprim/package.json +0 -51
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/README.md +0 -666
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/algs.js +0 -168
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/certificate.js +0 -291
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/dhe.js +0 -311
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/ed-compat.js +0 -96
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/errors.js +0 -84
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/fingerprint.js +0 -161
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/formats/auto.js +0 -73
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/formats/openssh-cert.js +0 -289
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/formats/pem.js +0 -186
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/formats/pkcs1.js +0 -320
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/formats/pkcs8.js +0 -505
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/formats/rfc4253.js +0 -146
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/formats/ssh-private.js +0 -138
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/formats/ssh.js +0 -114
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/formats/x509-pem.js +0 -77
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/formats/x509.js +0 -484
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/identity.js +0 -255
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/index.js +0 -38
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/key.js +0 -270
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/private-key.js +0 -231
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/signature.js +0 -245
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/ssh-buffer.js +0 -148
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/lib/utils.js +0 -246
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/man/man1/sshpk-conv.1 +0 -135
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/man/man1/sshpk-sign.1 +0 -81
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/man/man1/sshpk-verify.1 +0 -68
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/README.md +0 -50
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/lib/ber/errors.js +0 -13
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/lib/ber/index.js +0 -27
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/lib/ber/reader.js +0 -261
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/lib/ber/types.js +0 -36
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/lib/ber/writer.js +0 -316
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/lib/index.js +0 -20
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/package.json +0 -65
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/tst/ber/reader.test.js +0 -208
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/tst/ber/writer.test.js +0 -370
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/assert-plus/CHANGES.md +0 -14
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/assert-plus/README.md +0 -162
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/assert-plus/assert.js +0 -211
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/assert-plus/package.json +0 -83
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/dashdash/README.md +0 -574
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/dashdash/etc/dashdash.bash_completion.in +0 -388
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/dashdash/lib/dashdash.js +0 -1055
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/dashdash/package.json +0 -91
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/ecc-jsbn/README.md +0 -8
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/ecc-jsbn/index.js +0 -57
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/ecc-jsbn/lib/ec.js +0 -561
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/ecc-jsbn/lib/sec.js +0 -170
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/ecc-jsbn/package.json +0 -56
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/ecc-jsbn/test.js +0 -14
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/getpass/README.md +0 -32
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/getpass/lib/index.js +0 -123
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/getpass/package.json +0 -57
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/AUTHORS.md +0 -3
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/README.md +0 -51
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/almond.0 +0 -42
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/almond.1 +0 -13
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/index.js +0 -35
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/jsdoc.json +0 -19
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/lib/core.js +0 -481
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/lib/curve255.js +0 -221
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/lib/dh.js +0 -111
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/lib/eddsa.js +0 -573
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/lib/utils.js +0 -198
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/package.json +0 -71
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jsbn/README.md +0 -175
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jsbn/example.html +0 -12
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jsbn/example.js +0 -3
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jsbn/index.js +0 -1358
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jsbn/package.json +0 -50
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/tweetnacl/CHANGELOG.md +0 -128
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/tweetnacl/README.md +0 -463
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/tweetnacl/nacl-fast.js +0 -2418
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/tweetnacl/nacl-fast.min.js +0 -2
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/tweetnacl/nacl.js +0 -1205
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/tweetnacl/nacl.min.js +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/tweetnacl/package.json +0 -94
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/node_modules/sshpk/package.json +0 -101
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/http-signature/package.json +0 -83
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/is-typedarray/LICENSE.md +0 -18
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/is-typedarray/README.md +0 -16
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/is-typedarray/index.js +0 -41
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/is-typedarray/package.json +0 -57
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/is-typedarray/test.js +0 -34
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/isstream/LICENSE.md +0 -11
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/isstream/README.md +0 -66
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/isstream/isstream.js +0 -27
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/isstream/package.json +0 -59
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/isstream/test.js +0 -168
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/json-stringify-safe/CHANGELOG.md +0 -14
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/json-stringify-safe/README.md +0 -52
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/json-stringify-safe/package.json +0 -68
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/json-stringify-safe/stringify.js +0 -27
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/json-stringify-safe/test/mocha.opts +0 -2
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/json-stringify-safe/test/stringify_test.js +0 -246
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/mime-types/HISTORY.md +0 -197
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/mime-types/README.md +0 -103
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/mime-types/index.js +0 -188
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/mime-types/node_modules/mime-db/HISTORY.md +0 -341
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/mime-types/node_modules/mime-db/README.md +0 -82
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/mime-types/node_modules/mime-db/db.json +0 -6627
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/mime-types/node_modules/mime-db/index.js +0 -11
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/mime-types/node_modules/mime-db/package.json +0 -99
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/mime-types/package.json +0 -89
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/LICENSE.md +0 -21
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/README.md +0 -254
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/benchmark/README.md +0 -53
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/benchmark/bench.gnu +0 -174
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/benchmark/bench.sh +0 -34
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/benchmark/benchmark-native.c +0 -34
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/benchmark/benchmark.js +0 -84
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/bower.json +0 -23
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/component.json +0 -25
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/package.json +0 -81
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/test/compare_v1.js +0 -63
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/test/test.html +0 -17
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/test/test.js +0 -231
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/node-uuid/uuid.js +0 -272
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/oauth-sign/README.md +0 -4
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/oauth-sign/index.js +0 -136
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/oauth-sign/package.json +0 -66
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/CHANGELOG.md +0 -130
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/CONTRIBUTING.md +0 -1
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/README.md +0 -376
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/dist/qs.js +0 -486
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/lib/index.js +0 -9
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/lib/parse.js +0 -166
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/lib/stringify.js +0 -137
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/lib/utils.js +0 -164
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/package.json +0 -87
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/test/index.js +0 -5
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/test/parse.js +0 -451
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/test/stringify.js +0 -305
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/qs/test/utils.js +0 -9
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/stringstream/LICENSE.txt +0 -22
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/stringstream/README.md +0 -38
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/stringstream/example.js +0 -27
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/stringstream/package.json +0 -50
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/stringstream/stringstream.js +0 -102
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/tough-cookie/README.md +0 -506
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/tough-cookie/lib/cookie.js +0 -1336
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/tough-cookie/lib/memstore.js +0 -170
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/tough-cookie/lib/pathMatch.js +0 -61
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/tough-cookie/lib/permuteDomain.js +0 -56
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/tough-cookie/lib/pubsuffix.js +0 -98
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/tough-cookie/lib/store.js +0 -71
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/tough-cookie/package.json +0 -95
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/tunnel-agent/README.md +0 -4
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/tunnel-agent/index.js +0 -243
- data/lib/tck/lambdas/chistacojs/node_modules/request/node_modules/tunnel-agent/package.json +0 -68
- data/lib/tck/lambdas/chistacojs/node_modules/request/package.json +0 -119
- data/lib/tck/lambdas/chistacojs/node_modules/request/request.js +0 -1434
- data/lib/tck/lambdas/chistacojs/post_chistaco.js +0 -21
- data/lib/tck/lambdas/chistacojs/refreshing_matter.js +0 -17
@@ -1,2372 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* lodash (Custom Build) <https://lodash.com/>
|
3
|
-
* Build: `lodash modularize exports="npm" -o ./`
|
4
|
-
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
|
5
|
-
* Released under MIT license <https://lodash.com/license>
|
6
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
7
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
8
|
-
*/
|
9
|
-
|
10
|
-
/** Used as the size to enable large array optimizations. */
|
11
|
-
var LARGE_ARRAY_SIZE = 200;
|
12
|
-
|
13
|
-
/** Used as the `TypeError` message for "Functions" methods. */
|
14
|
-
var FUNC_ERROR_TEXT = 'Expected a function';
|
15
|
-
|
16
|
-
/** Used to stand-in for `undefined` hash values. */
|
17
|
-
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
18
|
-
|
19
|
-
/** Used to compose bitmasks for comparison styles. */
|
20
|
-
var UNORDERED_COMPARE_FLAG = 1,
|
21
|
-
PARTIAL_COMPARE_FLAG = 2;
|
22
|
-
|
23
|
-
/** Used as references for various `Number` constants. */
|
24
|
-
var INFINITY = 1 / 0,
|
25
|
-
MAX_SAFE_INTEGER = 9007199254740991;
|
26
|
-
|
27
|
-
/** `Object#toString` result references. */
|
28
|
-
var argsTag = '[object Arguments]',
|
29
|
-
arrayTag = '[object Array]',
|
30
|
-
boolTag = '[object Boolean]',
|
31
|
-
dateTag = '[object Date]',
|
32
|
-
errorTag = '[object Error]',
|
33
|
-
funcTag = '[object Function]',
|
34
|
-
genTag = '[object GeneratorFunction]',
|
35
|
-
mapTag = '[object Map]',
|
36
|
-
numberTag = '[object Number]',
|
37
|
-
objectTag = '[object Object]',
|
38
|
-
promiseTag = '[object Promise]',
|
39
|
-
regexpTag = '[object RegExp]',
|
40
|
-
setTag = '[object Set]',
|
41
|
-
stringTag = '[object String]',
|
42
|
-
symbolTag = '[object Symbol]',
|
43
|
-
weakMapTag = '[object WeakMap]';
|
44
|
-
|
45
|
-
var arrayBufferTag = '[object ArrayBuffer]',
|
46
|
-
dataViewTag = '[object DataView]',
|
47
|
-
float32Tag = '[object Float32Array]',
|
48
|
-
float64Tag = '[object Float64Array]',
|
49
|
-
int8Tag = '[object Int8Array]',
|
50
|
-
int16Tag = '[object Int16Array]',
|
51
|
-
int32Tag = '[object Int32Array]',
|
52
|
-
uint8Tag = '[object Uint8Array]',
|
53
|
-
uint8ClampedTag = '[object Uint8ClampedArray]',
|
54
|
-
uint16Tag = '[object Uint16Array]',
|
55
|
-
uint32Tag = '[object Uint32Array]';
|
56
|
-
|
57
|
-
/** Used to match property names within property paths. */
|
58
|
-
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
|
59
|
-
reIsPlainProp = /^\w*$/,
|
60
|
-
reLeadingDot = /^\./,
|
61
|
-
rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
62
|
-
|
63
|
-
/**
|
64
|
-
* Used to match `RegExp`
|
65
|
-
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
66
|
-
*/
|
67
|
-
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
68
|
-
|
69
|
-
/** Used to match backslashes in property paths. */
|
70
|
-
var reEscapeChar = /\\(\\)?/g;
|
71
|
-
|
72
|
-
/** Used to detect host constructors (Safari). */
|
73
|
-
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
74
|
-
|
75
|
-
/** Used to detect unsigned integer values. */
|
76
|
-
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
77
|
-
|
78
|
-
/** Used to identify `toStringTag` values of typed arrays. */
|
79
|
-
var typedArrayTags = {};
|
80
|
-
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
|
81
|
-
typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
|
82
|
-
typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
|
83
|
-
typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
|
84
|
-
typedArrayTags[uint32Tag] = true;
|
85
|
-
typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
|
86
|
-
typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
|
87
|
-
typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
|
88
|
-
typedArrayTags[errorTag] = typedArrayTags[funcTag] =
|
89
|
-
typedArrayTags[mapTag] = typedArrayTags[numberTag] =
|
90
|
-
typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
|
91
|
-
typedArrayTags[setTag] = typedArrayTags[stringTag] =
|
92
|
-
typedArrayTags[weakMapTag] = false;
|
93
|
-
|
94
|
-
/** Detect free variable `global` from Node.js. */
|
95
|
-
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
96
|
-
|
97
|
-
/** Detect free variable `self`. */
|
98
|
-
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
99
|
-
|
100
|
-
/** Used as a reference to the global object. */
|
101
|
-
var root = freeGlobal || freeSelf || Function('return this')();
|
102
|
-
|
103
|
-
/** Detect free variable `exports`. */
|
104
|
-
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
105
|
-
|
106
|
-
/** Detect free variable `module`. */
|
107
|
-
var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
|
108
|
-
|
109
|
-
/** Detect the popular CommonJS extension `module.exports`. */
|
110
|
-
var moduleExports = freeModule && freeModule.exports === freeExports;
|
111
|
-
|
112
|
-
/** Detect free variable `process` from Node.js. */
|
113
|
-
var freeProcess = moduleExports && freeGlobal.process;
|
114
|
-
|
115
|
-
/** Used to access faster Node.js helpers. */
|
116
|
-
var nodeUtil = (function() {
|
117
|
-
try {
|
118
|
-
return freeProcess && freeProcess.binding('util');
|
119
|
-
} catch (e) {}
|
120
|
-
}());
|
121
|
-
|
122
|
-
/* Node.js helper references. */
|
123
|
-
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
124
|
-
|
125
|
-
/**
|
126
|
-
* A specialized version of `_.reduce` for arrays without support for
|
127
|
-
* iteratee shorthands.
|
128
|
-
*
|
129
|
-
* @private
|
130
|
-
* @param {Array} [array] The array to iterate over.
|
131
|
-
* @param {Function} iteratee The function invoked per iteration.
|
132
|
-
* @param {*} [accumulator] The initial value.
|
133
|
-
* @param {boolean} [initAccum] Specify using the first element of `array` as
|
134
|
-
* the initial value.
|
135
|
-
* @returns {*} Returns the accumulated value.
|
136
|
-
*/
|
137
|
-
function arrayReduce(array, iteratee, accumulator, initAccum) {
|
138
|
-
var index = -1,
|
139
|
-
length = array ? array.length : 0;
|
140
|
-
|
141
|
-
if (initAccum && length) {
|
142
|
-
accumulator = array[++index];
|
143
|
-
}
|
144
|
-
while (++index < length) {
|
145
|
-
accumulator = iteratee(accumulator, array[index], index, array);
|
146
|
-
}
|
147
|
-
return accumulator;
|
148
|
-
}
|
149
|
-
|
150
|
-
/**
|
151
|
-
* A specialized version of `_.some` for arrays without support for iteratee
|
152
|
-
* shorthands.
|
153
|
-
*
|
154
|
-
* @private
|
155
|
-
* @param {Array} [array] The array to iterate over.
|
156
|
-
* @param {Function} predicate The function invoked per iteration.
|
157
|
-
* @returns {boolean} Returns `true` if any element passes the predicate check,
|
158
|
-
* else `false`.
|
159
|
-
*/
|
160
|
-
function arraySome(array, predicate) {
|
161
|
-
var index = -1,
|
162
|
-
length = array ? array.length : 0;
|
163
|
-
|
164
|
-
while (++index < length) {
|
165
|
-
if (predicate(array[index], index, array)) {
|
166
|
-
return true;
|
167
|
-
}
|
168
|
-
}
|
169
|
-
return false;
|
170
|
-
}
|
171
|
-
|
172
|
-
/**
|
173
|
-
* The base implementation of `_.property` without support for deep paths.
|
174
|
-
*
|
175
|
-
* @private
|
176
|
-
* @param {string} key The key of the property to get.
|
177
|
-
* @returns {Function} Returns the new accessor function.
|
178
|
-
*/
|
179
|
-
function baseProperty(key) {
|
180
|
-
return function(object) {
|
181
|
-
return object == null ? undefined : object[key];
|
182
|
-
};
|
183
|
-
}
|
184
|
-
|
185
|
-
/**
|
186
|
-
* The base implementation of `_.reduce` and `_.reduceRight`, without support
|
187
|
-
* for iteratee shorthands, which iterates over `collection` using `eachFunc`.
|
188
|
-
*
|
189
|
-
* @private
|
190
|
-
* @param {Array|Object} collection The collection to iterate over.
|
191
|
-
* @param {Function} iteratee The function invoked per iteration.
|
192
|
-
* @param {*} accumulator The initial value.
|
193
|
-
* @param {boolean} initAccum Specify using the first or last element of
|
194
|
-
* `collection` as the initial value.
|
195
|
-
* @param {Function} eachFunc The function to iterate over `collection`.
|
196
|
-
* @returns {*} Returns the accumulated value.
|
197
|
-
*/
|
198
|
-
function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {
|
199
|
-
eachFunc(collection, function(value, index, collection) {
|
200
|
-
accumulator = initAccum
|
201
|
-
? (initAccum = false, value)
|
202
|
-
: iteratee(accumulator, value, index, collection);
|
203
|
-
});
|
204
|
-
return accumulator;
|
205
|
-
}
|
206
|
-
|
207
|
-
/**
|
208
|
-
* The base implementation of `_.times` without support for iteratee shorthands
|
209
|
-
* or max array length checks.
|
210
|
-
*
|
211
|
-
* @private
|
212
|
-
* @param {number} n The number of times to invoke `iteratee`.
|
213
|
-
* @param {Function} iteratee The function invoked per iteration.
|
214
|
-
* @returns {Array} Returns the array of results.
|
215
|
-
*/
|
216
|
-
function baseTimes(n, iteratee) {
|
217
|
-
var index = -1,
|
218
|
-
result = Array(n);
|
219
|
-
|
220
|
-
while (++index < n) {
|
221
|
-
result[index] = iteratee(index);
|
222
|
-
}
|
223
|
-
return result;
|
224
|
-
}
|
225
|
-
|
226
|
-
/**
|
227
|
-
* The base implementation of `_.unary` without support for storing metadata.
|
228
|
-
*
|
229
|
-
* @private
|
230
|
-
* @param {Function} func The function to cap arguments for.
|
231
|
-
* @returns {Function} Returns the new capped function.
|
232
|
-
*/
|
233
|
-
function baseUnary(func) {
|
234
|
-
return function(value) {
|
235
|
-
return func(value);
|
236
|
-
};
|
237
|
-
}
|
238
|
-
|
239
|
-
/**
|
240
|
-
* Gets the value at `key` of `object`.
|
241
|
-
*
|
242
|
-
* @private
|
243
|
-
* @param {Object} [object] The object to query.
|
244
|
-
* @param {string} key The key of the property to get.
|
245
|
-
* @returns {*} Returns the property value.
|
246
|
-
*/
|
247
|
-
function getValue(object, key) {
|
248
|
-
return object == null ? undefined : object[key];
|
249
|
-
}
|
250
|
-
|
251
|
-
/**
|
252
|
-
* Checks if `value` is a host object in IE < 9.
|
253
|
-
*
|
254
|
-
* @private
|
255
|
-
* @param {*} value The value to check.
|
256
|
-
* @returns {boolean} Returns `true` if `value` is a host object, else `false`.
|
257
|
-
*/
|
258
|
-
function isHostObject(value) {
|
259
|
-
// Many host objects are `Object` objects that can coerce to strings
|
260
|
-
// despite having improperly defined `toString` methods.
|
261
|
-
var result = false;
|
262
|
-
if (value != null && typeof value.toString != 'function') {
|
263
|
-
try {
|
264
|
-
result = !!(value + '');
|
265
|
-
} catch (e) {}
|
266
|
-
}
|
267
|
-
return result;
|
268
|
-
}
|
269
|
-
|
270
|
-
/**
|
271
|
-
* Converts `map` to its key-value pairs.
|
272
|
-
*
|
273
|
-
* @private
|
274
|
-
* @param {Object} map The map to convert.
|
275
|
-
* @returns {Array} Returns the key-value pairs.
|
276
|
-
*/
|
277
|
-
function mapToArray(map) {
|
278
|
-
var index = -1,
|
279
|
-
result = Array(map.size);
|
280
|
-
|
281
|
-
map.forEach(function(value, key) {
|
282
|
-
result[++index] = [key, value];
|
283
|
-
});
|
284
|
-
return result;
|
285
|
-
}
|
286
|
-
|
287
|
-
/**
|
288
|
-
* Creates a unary function that invokes `func` with its argument transformed.
|
289
|
-
*
|
290
|
-
* @private
|
291
|
-
* @param {Function} func The function to wrap.
|
292
|
-
* @param {Function} transform The argument transform.
|
293
|
-
* @returns {Function} Returns the new function.
|
294
|
-
*/
|
295
|
-
function overArg(func, transform) {
|
296
|
-
return function(arg) {
|
297
|
-
return func(transform(arg));
|
298
|
-
};
|
299
|
-
}
|
300
|
-
|
301
|
-
/**
|
302
|
-
* Converts `set` to an array of its values.
|
303
|
-
*
|
304
|
-
* @private
|
305
|
-
* @param {Object} set The set to convert.
|
306
|
-
* @returns {Array} Returns the values.
|
307
|
-
*/
|
308
|
-
function setToArray(set) {
|
309
|
-
var index = -1,
|
310
|
-
result = Array(set.size);
|
311
|
-
|
312
|
-
set.forEach(function(value) {
|
313
|
-
result[++index] = value;
|
314
|
-
});
|
315
|
-
return result;
|
316
|
-
}
|
317
|
-
|
318
|
-
/** Used for built-in method references. */
|
319
|
-
var arrayProto = Array.prototype,
|
320
|
-
funcProto = Function.prototype,
|
321
|
-
objectProto = Object.prototype;
|
322
|
-
|
323
|
-
/** Used to detect overreaching core-js shims. */
|
324
|
-
var coreJsData = root['__core-js_shared__'];
|
325
|
-
|
326
|
-
/** Used to detect methods masquerading as native. */
|
327
|
-
var maskSrcKey = (function() {
|
328
|
-
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
|
329
|
-
return uid ? ('Symbol(src)_1.' + uid) : '';
|
330
|
-
}());
|
331
|
-
|
332
|
-
/** Used to resolve the decompiled source of functions. */
|
333
|
-
var funcToString = funcProto.toString;
|
334
|
-
|
335
|
-
/** Used to check objects for own properties. */
|
336
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
337
|
-
|
338
|
-
/**
|
339
|
-
* Used to resolve the
|
340
|
-
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
341
|
-
* of values.
|
342
|
-
*/
|
343
|
-
var objectToString = objectProto.toString;
|
344
|
-
|
345
|
-
/** Used to detect if a method is native. */
|
346
|
-
var reIsNative = RegExp('^' +
|
347
|
-
funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
|
348
|
-
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
349
|
-
);
|
350
|
-
|
351
|
-
/** Built-in value references. */
|
352
|
-
var Symbol = root.Symbol,
|
353
|
-
Uint8Array = root.Uint8Array,
|
354
|
-
propertyIsEnumerable = objectProto.propertyIsEnumerable,
|
355
|
-
splice = arrayProto.splice;
|
356
|
-
|
357
|
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
358
|
-
var nativeKeys = overArg(Object.keys, Object);
|
359
|
-
|
360
|
-
/* Built-in method references that are verified to be native. */
|
361
|
-
var DataView = getNative(root, 'DataView'),
|
362
|
-
Map = getNative(root, 'Map'),
|
363
|
-
Promise = getNative(root, 'Promise'),
|
364
|
-
Set = getNative(root, 'Set'),
|
365
|
-
WeakMap = getNative(root, 'WeakMap'),
|
366
|
-
nativeCreate = getNative(Object, 'create');
|
367
|
-
|
368
|
-
/** Used to detect maps, sets, and weakmaps. */
|
369
|
-
var dataViewCtorString = toSource(DataView),
|
370
|
-
mapCtorString = toSource(Map),
|
371
|
-
promiseCtorString = toSource(Promise),
|
372
|
-
setCtorString = toSource(Set),
|
373
|
-
weakMapCtorString = toSource(WeakMap);
|
374
|
-
|
375
|
-
/** Used to convert symbols to primitives and strings. */
|
376
|
-
var symbolProto = Symbol ? Symbol.prototype : undefined,
|
377
|
-
symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,
|
378
|
-
symbolToString = symbolProto ? symbolProto.toString : undefined;
|
379
|
-
|
380
|
-
/**
|
381
|
-
* Creates a hash object.
|
382
|
-
*
|
383
|
-
* @private
|
384
|
-
* @constructor
|
385
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
386
|
-
*/
|
387
|
-
function Hash(entries) {
|
388
|
-
var index = -1,
|
389
|
-
length = entries ? entries.length : 0;
|
390
|
-
|
391
|
-
this.clear();
|
392
|
-
while (++index < length) {
|
393
|
-
var entry = entries[index];
|
394
|
-
this.set(entry[0], entry[1]);
|
395
|
-
}
|
396
|
-
}
|
397
|
-
|
398
|
-
/**
|
399
|
-
* Removes all key-value entries from the hash.
|
400
|
-
*
|
401
|
-
* @private
|
402
|
-
* @name clear
|
403
|
-
* @memberOf Hash
|
404
|
-
*/
|
405
|
-
function hashClear() {
|
406
|
-
this.__data__ = nativeCreate ? nativeCreate(null) : {};
|
407
|
-
}
|
408
|
-
|
409
|
-
/**
|
410
|
-
* Removes `key` and its value from the hash.
|
411
|
-
*
|
412
|
-
* @private
|
413
|
-
* @name delete
|
414
|
-
* @memberOf Hash
|
415
|
-
* @param {Object} hash The hash to modify.
|
416
|
-
* @param {string} key The key of the value to remove.
|
417
|
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
418
|
-
*/
|
419
|
-
function hashDelete(key) {
|
420
|
-
return this.has(key) && delete this.__data__[key];
|
421
|
-
}
|
422
|
-
|
423
|
-
/**
|
424
|
-
* Gets the hash value for `key`.
|
425
|
-
*
|
426
|
-
* @private
|
427
|
-
* @name get
|
428
|
-
* @memberOf Hash
|
429
|
-
* @param {string} key The key of the value to get.
|
430
|
-
* @returns {*} Returns the entry value.
|
431
|
-
*/
|
432
|
-
function hashGet(key) {
|
433
|
-
var data = this.__data__;
|
434
|
-
if (nativeCreate) {
|
435
|
-
var result = data[key];
|
436
|
-
return result === HASH_UNDEFINED ? undefined : result;
|
437
|
-
}
|
438
|
-
return hasOwnProperty.call(data, key) ? data[key] : undefined;
|
439
|
-
}
|
440
|
-
|
441
|
-
/**
|
442
|
-
* Checks if a hash value for `key` exists.
|
443
|
-
*
|
444
|
-
* @private
|
445
|
-
* @name has
|
446
|
-
* @memberOf Hash
|
447
|
-
* @param {string} key The key of the entry to check.
|
448
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
449
|
-
*/
|
450
|
-
function hashHas(key) {
|
451
|
-
var data = this.__data__;
|
452
|
-
return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);
|
453
|
-
}
|
454
|
-
|
455
|
-
/**
|
456
|
-
* Sets the hash `key` to `value`.
|
457
|
-
*
|
458
|
-
* @private
|
459
|
-
* @name set
|
460
|
-
* @memberOf Hash
|
461
|
-
* @param {string} key The key of the value to set.
|
462
|
-
* @param {*} value The value to set.
|
463
|
-
* @returns {Object} Returns the hash instance.
|
464
|
-
*/
|
465
|
-
function hashSet(key, value) {
|
466
|
-
var data = this.__data__;
|
467
|
-
data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
|
468
|
-
return this;
|
469
|
-
}
|
470
|
-
|
471
|
-
// Add methods to `Hash`.
|
472
|
-
Hash.prototype.clear = hashClear;
|
473
|
-
Hash.prototype['delete'] = hashDelete;
|
474
|
-
Hash.prototype.get = hashGet;
|
475
|
-
Hash.prototype.has = hashHas;
|
476
|
-
Hash.prototype.set = hashSet;
|
477
|
-
|
478
|
-
/**
|
479
|
-
* Creates an list cache object.
|
480
|
-
*
|
481
|
-
* @private
|
482
|
-
* @constructor
|
483
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
484
|
-
*/
|
485
|
-
function ListCache(entries) {
|
486
|
-
var index = -1,
|
487
|
-
length = entries ? entries.length : 0;
|
488
|
-
|
489
|
-
this.clear();
|
490
|
-
while (++index < length) {
|
491
|
-
var entry = entries[index];
|
492
|
-
this.set(entry[0], entry[1]);
|
493
|
-
}
|
494
|
-
}
|
495
|
-
|
496
|
-
/**
|
497
|
-
* Removes all key-value entries from the list cache.
|
498
|
-
*
|
499
|
-
* @private
|
500
|
-
* @name clear
|
501
|
-
* @memberOf ListCache
|
502
|
-
*/
|
503
|
-
function listCacheClear() {
|
504
|
-
this.__data__ = [];
|
505
|
-
}
|
506
|
-
|
507
|
-
/**
|
508
|
-
* Removes `key` and its value from the list cache.
|
509
|
-
*
|
510
|
-
* @private
|
511
|
-
* @name delete
|
512
|
-
* @memberOf ListCache
|
513
|
-
* @param {string} key The key of the value to remove.
|
514
|
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
515
|
-
*/
|
516
|
-
function listCacheDelete(key) {
|
517
|
-
var data = this.__data__,
|
518
|
-
index = assocIndexOf(data, key);
|
519
|
-
|
520
|
-
if (index < 0) {
|
521
|
-
return false;
|
522
|
-
}
|
523
|
-
var lastIndex = data.length - 1;
|
524
|
-
if (index == lastIndex) {
|
525
|
-
data.pop();
|
526
|
-
} else {
|
527
|
-
splice.call(data, index, 1);
|
528
|
-
}
|
529
|
-
return true;
|
530
|
-
}
|
531
|
-
|
532
|
-
/**
|
533
|
-
* Gets the list cache value for `key`.
|
534
|
-
*
|
535
|
-
* @private
|
536
|
-
* @name get
|
537
|
-
* @memberOf ListCache
|
538
|
-
* @param {string} key The key of the value to get.
|
539
|
-
* @returns {*} Returns the entry value.
|
540
|
-
*/
|
541
|
-
function listCacheGet(key) {
|
542
|
-
var data = this.__data__,
|
543
|
-
index = assocIndexOf(data, key);
|
544
|
-
|
545
|
-
return index < 0 ? undefined : data[index][1];
|
546
|
-
}
|
547
|
-
|
548
|
-
/**
|
549
|
-
* Checks if a list cache value for `key` exists.
|
550
|
-
*
|
551
|
-
* @private
|
552
|
-
* @name has
|
553
|
-
* @memberOf ListCache
|
554
|
-
* @param {string} key The key of the entry to check.
|
555
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
556
|
-
*/
|
557
|
-
function listCacheHas(key) {
|
558
|
-
return assocIndexOf(this.__data__, key) > -1;
|
559
|
-
}
|
560
|
-
|
561
|
-
/**
|
562
|
-
* Sets the list cache `key` to `value`.
|
563
|
-
*
|
564
|
-
* @private
|
565
|
-
* @name set
|
566
|
-
* @memberOf ListCache
|
567
|
-
* @param {string} key The key of the value to set.
|
568
|
-
* @param {*} value The value to set.
|
569
|
-
* @returns {Object} Returns the list cache instance.
|
570
|
-
*/
|
571
|
-
function listCacheSet(key, value) {
|
572
|
-
var data = this.__data__,
|
573
|
-
index = assocIndexOf(data, key);
|
574
|
-
|
575
|
-
if (index < 0) {
|
576
|
-
data.push([key, value]);
|
577
|
-
} else {
|
578
|
-
data[index][1] = value;
|
579
|
-
}
|
580
|
-
return this;
|
581
|
-
}
|
582
|
-
|
583
|
-
// Add methods to `ListCache`.
|
584
|
-
ListCache.prototype.clear = listCacheClear;
|
585
|
-
ListCache.prototype['delete'] = listCacheDelete;
|
586
|
-
ListCache.prototype.get = listCacheGet;
|
587
|
-
ListCache.prototype.has = listCacheHas;
|
588
|
-
ListCache.prototype.set = listCacheSet;
|
589
|
-
|
590
|
-
/**
|
591
|
-
* Creates a map cache object to store key-value pairs.
|
592
|
-
*
|
593
|
-
* @private
|
594
|
-
* @constructor
|
595
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
596
|
-
*/
|
597
|
-
function MapCache(entries) {
|
598
|
-
var index = -1,
|
599
|
-
length = entries ? entries.length : 0;
|
600
|
-
|
601
|
-
this.clear();
|
602
|
-
while (++index < length) {
|
603
|
-
var entry = entries[index];
|
604
|
-
this.set(entry[0], entry[1]);
|
605
|
-
}
|
606
|
-
}
|
607
|
-
|
608
|
-
/**
|
609
|
-
* Removes all key-value entries from the map.
|
610
|
-
*
|
611
|
-
* @private
|
612
|
-
* @name clear
|
613
|
-
* @memberOf MapCache
|
614
|
-
*/
|
615
|
-
function mapCacheClear() {
|
616
|
-
this.__data__ = {
|
617
|
-
'hash': new Hash,
|
618
|
-
'map': new (Map || ListCache),
|
619
|
-
'string': new Hash
|
620
|
-
};
|
621
|
-
}
|
622
|
-
|
623
|
-
/**
|
624
|
-
* Removes `key` and its value from the map.
|
625
|
-
*
|
626
|
-
* @private
|
627
|
-
* @name delete
|
628
|
-
* @memberOf MapCache
|
629
|
-
* @param {string} key The key of the value to remove.
|
630
|
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
631
|
-
*/
|
632
|
-
function mapCacheDelete(key) {
|
633
|
-
return getMapData(this, key)['delete'](key);
|
634
|
-
}
|
635
|
-
|
636
|
-
/**
|
637
|
-
* Gets the map value for `key`.
|
638
|
-
*
|
639
|
-
* @private
|
640
|
-
* @name get
|
641
|
-
* @memberOf MapCache
|
642
|
-
* @param {string} key The key of the value to get.
|
643
|
-
* @returns {*} Returns the entry value.
|
644
|
-
*/
|
645
|
-
function mapCacheGet(key) {
|
646
|
-
return getMapData(this, key).get(key);
|
647
|
-
}
|
648
|
-
|
649
|
-
/**
|
650
|
-
* Checks if a map value for `key` exists.
|
651
|
-
*
|
652
|
-
* @private
|
653
|
-
* @name has
|
654
|
-
* @memberOf MapCache
|
655
|
-
* @param {string} key The key of the entry to check.
|
656
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
657
|
-
*/
|
658
|
-
function mapCacheHas(key) {
|
659
|
-
return getMapData(this, key).has(key);
|
660
|
-
}
|
661
|
-
|
662
|
-
/**
|
663
|
-
* Sets the map `key` to `value`.
|
664
|
-
*
|
665
|
-
* @private
|
666
|
-
* @name set
|
667
|
-
* @memberOf MapCache
|
668
|
-
* @param {string} key The key of the value to set.
|
669
|
-
* @param {*} value The value to set.
|
670
|
-
* @returns {Object} Returns the map cache instance.
|
671
|
-
*/
|
672
|
-
function mapCacheSet(key, value) {
|
673
|
-
getMapData(this, key).set(key, value);
|
674
|
-
return this;
|
675
|
-
}
|
676
|
-
|
677
|
-
// Add methods to `MapCache`.
|
678
|
-
MapCache.prototype.clear = mapCacheClear;
|
679
|
-
MapCache.prototype['delete'] = mapCacheDelete;
|
680
|
-
MapCache.prototype.get = mapCacheGet;
|
681
|
-
MapCache.prototype.has = mapCacheHas;
|
682
|
-
MapCache.prototype.set = mapCacheSet;
|
683
|
-
|
684
|
-
/**
|
685
|
-
*
|
686
|
-
* Creates an array cache object to store unique values.
|
687
|
-
*
|
688
|
-
* @private
|
689
|
-
* @constructor
|
690
|
-
* @param {Array} [values] The values to cache.
|
691
|
-
*/
|
692
|
-
function SetCache(values) {
|
693
|
-
var index = -1,
|
694
|
-
length = values ? values.length : 0;
|
695
|
-
|
696
|
-
this.__data__ = new MapCache;
|
697
|
-
while (++index < length) {
|
698
|
-
this.add(values[index]);
|
699
|
-
}
|
700
|
-
}
|
701
|
-
|
702
|
-
/**
|
703
|
-
* Adds `value` to the array cache.
|
704
|
-
*
|
705
|
-
* @private
|
706
|
-
* @name add
|
707
|
-
* @memberOf SetCache
|
708
|
-
* @alias push
|
709
|
-
* @param {*} value The value to cache.
|
710
|
-
* @returns {Object} Returns the cache instance.
|
711
|
-
*/
|
712
|
-
function setCacheAdd(value) {
|
713
|
-
this.__data__.set(value, HASH_UNDEFINED);
|
714
|
-
return this;
|
715
|
-
}
|
716
|
-
|
717
|
-
/**
|
718
|
-
* Checks if `value` is in the array cache.
|
719
|
-
*
|
720
|
-
* @private
|
721
|
-
* @name has
|
722
|
-
* @memberOf SetCache
|
723
|
-
* @param {*} value The value to search for.
|
724
|
-
* @returns {number} Returns `true` if `value` is found, else `false`.
|
725
|
-
*/
|
726
|
-
function setCacheHas(value) {
|
727
|
-
return this.__data__.has(value);
|
728
|
-
}
|
729
|
-
|
730
|
-
// Add methods to `SetCache`.
|
731
|
-
SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
|
732
|
-
SetCache.prototype.has = setCacheHas;
|
733
|
-
|
734
|
-
/**
|
735
|
-
* Creates a stack cache object to store key-value pairs.
|
736
|
-
*
|
737
|
-
* @private
|
738
|
-
* @constructor
|
739
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
740
|
-
*/
|
741
|
-
function Stack(entries) {
|
742
|
-
this.__data__ = new ListCache(entries);
|
743
|
-
}
|
744
|
-
|
745
|
-
/**
|
746
|
-
* Removes all key-value entries from the stack.
|
747
|
-
*
|
748
|
-
* @private
|
749
|
-
* @name clear
|
750
|
-
* @memberOf Stack
|
751
|
-
*/
|
752
|
-
function stackClear() {
|
753
|
-
this.__data__ = new ListCache;
|
754
|
-
}
|
755
|
-
|
756
|
-
/**
|
757
|
-
* Removes `key` and its value from the stack.
|
758
|
-
*
|
759
|
-
* @private
|
760
|
-
* @name delete
|
761
|
-
* @memberOf Stack
|
762
|
-
* @param {string} key The key of the value to remove.
|
763
|
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
764
|
-
*/
|
765
|
-
function stackDelete(key) {
|
766
|
-
return this.__data__['delete'](key);
|
767
|
-
}
|
768
|
-
|
769
|
-
/**
|
770
|
-
* Gets the stack value for `key`.
|
771
|
-
*
|
772
|
-
* @private
|
773
|
-
* @name get
|
774
|
-
* @memberOf Stack
|
775
|
-
* @param {string} key The key of the value to get.
|
776
|
-
* @returns {*} Returns the entry value.
|
777
|
-
*/
|
778
|
-
function stackGet(key) {
|
779
|
-
return this.__data__.get(key);
|
780
|
-
}
|
781
|
-
|
782
|
-
/**
|
783
|
-
* Checks if a stack value for `key` exists.
|
784
|
-
*
|
785
|
-
* @private
|
786
|
-
* @name has
|
787
|
-
* @memberOf Stack
|
788
|
-
* @param {string} key The key of the entry to check.
|
789
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
790
|
-
*/
|
791
|
-
function stackHas(key) {
|
792
|
-
return this.__data__.has(key);
|
793
|
-
}
|
794
|
-
|
795
|
-
/**
|
796
|
-
* Sets the stack `key` to `value`.
|
797
|
-
*
|
798
|
-
* @private
|
799
|
-
* @name set
|
800
|
-
* @memberOf Stack
|
801
|
-
* @param {string} key The key of the value to set.
|
802
|
-
* @param {*} value The value to set.
|
803
|
-
* @returns {Object} Returns the stack cache instance.
|
804
|
-
*/
|
805
|
-
function stackSet(key, value) {
|
806
|
-
var cache = this.__data__;
|
807
|
-
if (cache instanceof ListCache) {
|
808
|
-
var pairs = cache.__data__;
|
809
|
-
if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
|
810
|
-
pairs.push([key, value]);
|
811
|
-
return this;
|
812
|
-
}
|
813
|
-
cache = this.__data__ = new MapCache(pairs);
|
814
|
-
}
|
815
|
-
cache.set(key, value);
|
816
|
-
return this;
|
817
|
-
}
|
818
|
-
|
819
|
-
// Add methods to `Stack`.
|
820
|
-
Stack.prototype.clear = stackClear;
|
821
|
-
Stack.prototype['delete'] = stackDelete;
|
822
|
-
Stack.prototype.get = stackGet;
|
823
|
-
Stack.prototype.has = stackHas;
|
824
|
-
Stack.prototype.set = stackSet;
|
825
|
-
|
826
|
-
/**
|
827
|
-
* Creates an array of the enumerable property names of the array-like `value`.
|
828
|
-
*
|
829
|
-
* @private
|
830
|
-
* @param {*} value The value to query.
|
831
|
-
* @param {boolean} inherited Specify returning inherited property names.
|
832
|
-
* @returns {Array} Returns the array of property names.
|
833
|
-
*/
|
834
|
-
function arrayLikeKeys(value, inherited) {
|
835
|
-
// Safari 8.1 makes `arguments.callee` enumerable in strict mode.
|
836
|
-
// Safari 9 makes `arguments.length` enumerable in strict mode.
|
837
|
-
var result = (isArray(value) || isArguments(value))
|
838
|
-
? baseTimes(value.length, String)
|
839
|
-
: [];
|
840
|
-
|
841
|
-
var length = result.length,
|
842
|
-
skipIndexes = !!length;
|
843
|
-
|
844
|
-
for (var key in value) {
|
845
|
-
if ((inherited || hasOwnProperty.call(value, key)) &&
|
846
|
-
!(skipIndexes && (key == 'length' || isIndex(key, length)))) {
|
847
|
-
result.push(key);
|
848
|
-
}
|
849
|
-
}
|
850
|
-
return result;
|
851
|
-
}
|
852
|
-
|
853
|
-
/**
|
854
|
-
* Gets the index at which the `key` is found in `array` of key-value pairs.
|
855
|
-
*
|
856
|
-
* @private
|
857
|
-
* @param {Array} array The array to inspect.
|
858
|
-
* @param {*} key The key to search for.
|
859
|
-
* @returns {number} Returns the index of the matched value, else `-1`.
|
860
|
-
*/
|
861
|
-
function assocIndexOf(array, key) {
|
862
|
-
var length = array.length;
|
863
|
-
while (length--) {
|
864
|
-
if (eq(array[length][0], key)) {
|
865
|
-
return length;
|
866
|
-
}
|
867
|
-
}
|
868
|
-
return -1;
|
869
|
-
}
|
870
|
-
|
871
|
-
/**
|
872
|
-
* The base implementation of `_.forEach` without support for iteratee shorthands.
|
873
|
-
*
|
874
|
-
* @private
|
875
|
-
* @param {Array|Object} collection The collection to iterate over.
|
876
|
-
* @param {Function} iteratee The function invoked per iteration.
|
877
|
-
* @returns {Array|Object} Returns `collection`.
|
878
|
-
*/
|
879
|
-
var baseEach = createBaseEach(baseForOwn);
|
880
|
-
|
881
|
-
/**
|
882
|
-
* The base implementation of `baseForOwn` which iterates over `object`
|
883
|
-
* properties returned by `keysFunc` and invokes `iteratee` for each property.
|
884
|
-
* Iteratee functions may exit iteration early by explicitly returning `false`.
|
885
|
-
*
|
886
|
-
* @private
|
887
|
-
* @param {Object} object The object to iterate over.
|
888
|
-
* @param {Function} iteratee The function invoked per iteration.
|
889
|
-
* @param {Function} keysFunc The function to get the keys of `object`.
|
890
|
-
* @returns {Object} Returns `object`.
|
891
|
-
*/
|
892
|
-
var baseFor = createBaseFor();
|
893
|
-
|
894
|
-
/**
|
895
|
-
* The base implementation of `_.forOwn` without support for iteratee shorthands.
|
896
|
-
*
|
897
|
-
* @private
|
898
|
-
* @param {Object} object The object to iterate over.
|
899
|
-
* @param {Function} iteratee The function invoked per iteration.
|
900
|
-
* @returns {Object} Returns `object`.
|
901
|
-
*/
|
902
|
-
function baseForOwn(object, iteratee) {
|
903
|
-
return object && baseFor(object, iteratee, keys);
|
904
|
-
}
|
905
|
-
|
906
|
-
/**
|
907
|
-
* The base implementation of `_.get` without support for default values.
|
908
|
-
*
|
909
|
-
* @private
|
910
|
-
* @param {Object} object The object to query.
|
911
|
-
* @param {Array|string} path The path of the property to get.
|
912
|
-
* @returns {*} Returns the resolved value.
|
913
|
-
*/
|
914
|
-
function baseGet(object, path) {
|
915
|
-
path = isKey(path, object) ? [path] : castPath(path);
|
916
|
-
|
917
|
-
var index = 0,
|
918
|
-
length = path.length;
|
919
|
-
|
920
|
-
while (object != null && index < length) {
|
921
|
-
object = object[toKey(path[index++])];
|
922
|
-
}
|
923
|
-
return (index && index == length) ? object : undefined;
|
924
|
-
}
|
925
|
-
|
926
|
-
/**
|
927
|
-
* The base implementation of `getTag`.
|
928
|
-
*
|
929
|
-
* @private
|
930
|
-
* @param {*} value The value to query.
|
931
|
-
* @returns {string} Returns the `toStringTag`.
|
932
|
-
*/
|
933
|
-
function baseGetTag(value) {
|
934
|
-
return objectToString.call(value);
|
935
|
-
}
|
936
|
-
|
937
|
-
/**
|
938
|
-
* The base implementation of `_.hasIn` without support for deep paths.
|
939
|
-
*
|
940
|
-
* @private
|
941
|
-
* @param {Object} [object] The object to query.
|
942
|
-
* @param {Array|string} key The key to check.
|
943
|
-
* @returns {boolean} Returns `true` if `key` exists, else `false`.
|
944
|
-
*/
|
945
|
-
function baseHasIn(object, key) {
|
946
|
-
return object != null && key in Object(object);
|
947
|
-
}
|
948
|
-
|
949
|
-
/**
|
950
|
-
* The base implementation of `_.isEqual` which supports partial comparisons
|
951
|
-
* and tracks traversed objects.
|
952
|
-
*
|
953
|
-
* @private
|
954
|
-
* @param {*} value The value to compare.
|
955
|
-
* @param {*} other The other value to compare.
|
956
|
-
* @param {Function} [customizer] The function to customize comparisons.
|
957
|
-
* @param {boolean} [bitmask] The bitmask of comparison flags.
|
958
|
-
* The bitmask may be composed of the following flags:
|
959
|
-
* 1 - Unordered comparison
|
960
|
-
* 2 - Partial comparison
|
961
|
-
* @param {Object} [stack] Tracks traversed `value` and `other` objects.
|
962
|
-
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
963
|
-
*/
|
964
|
-
function baseIsEqual(value, other, customizer, bitmask, stack) {
|
965
|
-
if (value === other) {
|
966
|
-
return true;
|
967
|
-
}
|
968
|
-
if (value == null || other == null || (!isObject(value) && !isObjectLike(other))) {
|
969
|
-
return value !== value && other !== other;
|
970
|
-
}
|
971
|
-
return baseIsEqualDeep(value, other, baseIsEqual, customizer, bitmask, stack);
|
972
|
-
}
|
973
|
-
|
974
|
-
/**
|
975
|
-
* A specialized version of `baseIsEqual` for arrays and objects which performs
|
976
|
-
* deep comparisons and tracks traversed objects enabling objects with circular
|
977
|
-
* references to be compared.
|
978
|
-
*
|
979
|
-
* @private
|
980
|
-
* @param {Object} object The object to compare.
|
981
|
-
* @param {Object} other The other object to compare.
|
982
|
-
* @param {Function} equalFunc The function to determine equivalents of values.
|
983
|
-
* @param {Function} [customizer] The function to customize comparisons.
|
984
|
-
* @param {number} [bitmask] The bitmask of comparison flags. See `baseIsEqual`
|
985
|
-
* for more details.
|
986
|
-
* @param {Object} [stack] Tracks traversed `object` and `other` objects.
|
987
|
-
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
988
|
-
*/
|
989
|
-
function baseIsEqualDeep(object, other, equalFunc, customizer, bitmask, stack) {
|
990
|
-
var objIsArr = isArray(object),
|
991
|
-
othIsArr = isArray(other),
|
992
|
-
objTag = arrayTag,
|
993
|
-
othTag = arrayTag;
|
994
|
-
|
995
|
-
if (!objIsArr) {
|
996
|
-
objTag = getTag(object);
|
997
|
-
objTag = objTag == argsTag ? objectTag : objTag;
|
998
|
-
}
|
999
|
-
if (!othIsArr) {
|
1000
|
-
othTag = getTag(other);
|
1001
|
-
othTag = othTag == argsTag ? objectTag : othTag;
|
1002
|
-
}
|
1003
|
-
var objIsObj = objTag == objectTag && !isHostObject(object),
|
1004
|
-
othIsObj = othTag == objectTag && !isHostObject(other),
|
1005
|
-
isSameTag = objTag == othTag;
|
1006
|
-
|
1007
|
-
if (isSameTag && !objIsObj) {
|
1008
|
-
stack || (stack = new Stack);
|
1009
|
-
return (objIsArr || isTypedArray(object))
|
1010
|
-
? equalArrays(object, other, equalFunc, customizer, bitmask, stack)
|
1011
|
-
: equalByTag(object, other, objTag, equalFunc, customizer, bitmask, stack);
|
1012
|
-
}
|
1013
|
-
if (!(bitmask & PARTIAL_COMPARE_FLAG)) {
|
1014
|
-
var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
|
1015
|
-
othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
|
1016
|
-
|
1017
|
-
if (objIsWrapped || othIsWrapped) {
|
1018
|
-
var objUnwrapped = objIsWrapped ? object.value() : object,
|
1019
|
-
othUnwrapped = othIsWrapped ? other.value() : other;
|
1020
|
-
|
1021
|
-
stack || (stack = new Stack);
|
1022
|
-
return equalFunc(objUnwrapped, othUnwrapped, customizer, bitmask, stack);
|
1023
|
-
}
|
1024
|
-
}
|
1025
|
-
if (!isSameTag) {
|
1026
|
-
return false;
|
1027
|
-
}
|
1028
|
-
stack || (stack = new Stack);
|
1029
|
-
return equalObjects(object, other, equalFunc, customizer, bitmask, stack);
|
1030
|
-
}
|
1031
|
-
|
1032
|
-
/**
|
1033
|
-
* The base implementation of `_.isMatch` without support for iteratee shorthands.
|
1034
|
-
*
|
1035
|
-
* @private
|
1036
|
-
* @param {Object} object The object to inspect.
|
1037
|
-
* @param {Object} source The object of property values to match.
|
1038
|
-
* @param {Array} matchData The property names, values, and compare flags to match.
|
1039
|
-
* @param {Function} [customizer] The function to customize comparisons.
|
1040
|
-
* @returns {boolean} Returns `true` if `object` is a match, else `false`.
|
1041
|
-
*/
|
1042
|
-
function baseIsMatch(object, source, matchData, customizer) {
|
1043
|
-
var index = matchData.length,
|
1044
|
-
length = index,
|
1045
|
-
noCustomizer = !customizer;
|
1046
|
-
|
1047
|
-
if (object == null) {
|
1048
|
-
return !length;
|
1049
|
-
}
|
1050
|
-
object = Object(object);
|
1051
|
-
while (index--) {
|
1052
|
-
var data = matchData[index];
|
1053
|
-
if ((noCustomizer && data[2])
|
1054
|
-
? data[1] !== object[data[0]]
|
1055
|
-
: !(data[0] in object)
|
1056
|
-
) {
|
1057
|
-
return false;
|
1058
|
-
}
|
1059
|
-
}
|
1060
|
-
while (++index < length) {
|
1061
|
-
data = matchData[index];
|
1062
|
-
var key = data[0],
|
1063
|
-
objValue = object[key],
|
1064
|
-
srcValue = data[1];
|
1065
|
-
|
1066
|
-
if (noCustomizer && data[2]) {
|
1067
|
-
if (objValue === undefined && !(key in object)) {
|
1068
|
-
return false;
|
1069
|
-
}
|
1070
|
-
} else {
|
1071
|
-
var stack = new Stack;
|
1072
|
-
if (customizer) {
|
1073
|
-
var result = customizer(objValue, srcValue, key, object, source, stack);
|
1074
|
-
}
|
1075
|
-
if (!(result === undefined
|
1076
|
-
? baseIsEqual(srcValue, objValue, customizer, UNORDERED_COMPARE_FLAG | PARTIAL_COMPARE_FLAG, stack)
|
1077
|
-
: result
|
1078
|
-
)) {
|
1079
|
-
return false;
|
1080
|
-
}
|
1081
|
-
}
|
1082
|
-
}
|
1083
|
-
return true;
|
1084
|
-
}
|
1085
|
-
|
1086
|
-
/**
|
1087
|
-
* The base implementation of `_.isNative` without bad shim checks.
|
1088
|
-
*
|
1089
|
-
* @private
|
1090
|
-
* @param {*} value The value to check.
|
1091
|
-
* @returns {boolean} Returns `true` if `value` is a native function,
|
1092
|
-
* else `false`.
|
1093
|
-
*/
|
1094
|
-
function baseIsNative(value) {
|
1095
|
-
if (!isObject(value) || isMasked(value)) {
|
1096
|
-
return false;
|
1097
|
-
}
|
1098
|
-
var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;
|
1099
|
-
return pattern.test(toSource(value));
|
1100
|
-
}
|
1101
|
-
|
1102
|
-
/**
|
1103
|
-
* The base implementation of `_.isTypedArray` without Node.js optimizations.
|
1104
|
-
*
|
1105
|
-
* @private
|
1106
|
-
* @param {*} value The value to check.
|
1107
|
-
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
1108
|
-
*/
|
1109
|
-
function baseIsTypedArray(value) {
|
1110
|
-
return isObjectLike(value) &&
|
1111
|
-
isLength(value.length) && !!typedArrayTags[objectToString.call(value)];
|
1112
|
-
}
|
1113
|
-
|
1114
|
-
/**
|
1115
|
-
* The base implementation of `_.iteratee`.
|
1116
|
-
*
|
1117
|
-
* @private
|
1118
|
-
* @param {*} [value=_.identity] The value to convert to an iteratee.
|
1119
|
-
* @returns {Function} Returns the iteratee.
|
1120
|
-
*/
|
1121
|
-
function baseIteratee(value) {
|
1122
|
-
// Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.
|
1123
|
-
// See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.
|
1124
|
-
if (typeof value == 'function') {
|
1125
|
-
return value;
|
1126
|
-
}
|
1127
|
-
if (value == null) {
|
1128
|
-
return identity;
|
1129
|
-
}
|
1130
|
-
if (typeof value == 'object') {
|
1131
|
-
return isArray(value)
|
1132
|
-
? baseMatchesProperty(value[0], value[1])
|
1133
|
-
: baseMatches(value);
|
1134
|
-
}
|
1135
|
-
return property(value);
|
1136
|
-
}
|
1137
|
-
|
1138
|
-
/**
|
1139
|
-
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
|
1140
|
-
*
|
1141
|
-
* @private
|
1142
|
-
* @param {Object} object The object to query.
|
1143
|
-
* @returns {Array} Returns the array of property names.
|
1144
|
-
*/
|
1145
|
-
function baseKeys(object) {
|
1146
|
-
if (!isPrototype(object)) {
|
1147
|
-
return nativeKeys(object);
|
1148
|
-
}
|
1149
|
-
var result = [];
|
1150
|
-
for (var key in Object(object)) {
|
1151
|
-
if (hasOwnProperty.call(object, key) && key != 'constructor') {
|
1152
|
-
result.push(key);
|
1153
|
-
}
|
1154
|
-
}
|
1155
|
-
return result;
|
1156
|
-
}
|
1157
|
-
|
1158
|
-
/**
|
1159
|
-
* The base implementation of `_.matches` which doesn't clone `source`.
|
1160
|
-
*
|
1161
|
-
* @private
|
1162
|
-
* @param {Object} source The object of property values to match.
|
1163
|
-
* @returns {Function} Returns the new spec function.
|
1164
|
-
*/
|
1165
|
-
function baseMatches(source) {
|
1166
|
-
var matchData = getMatchData(source);
|
1167
|
-
if (matchData.length == 1 && matchData[0][2]) {
|
1168
|
-
return matchesStrictComparable(matchData[0][0], matchData[0][1]);
|
1169
|
-
}
|
1170
|
-
return function(object) {
|
1171
|
-
return object === source || baseIsMatch(object, source, matchData);
|
1172
|
-
};
|
1173
|
-
}
|
1174
|
-
|
1175
|
-
/**
|
1176
|
-
* The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
|
1177
|
-
*
|
1178
|
-
* @private
|
1179
|
-
* @param {string} path The path of the property to get.
|
1180
|
-
* @param {*} srcValue The value to match.
|
1181
|
-
* @returns {Function} Returns the new spec function.
|
1182
|
-
*/
|
1183
|
-
function baseMatchesProperty(path, srcValue) {
|
1184
|
-
if (isKey(path) && isStrictComparable(srcValue)) {
|
1185
|
-
return matchesStrictComparable(toKey(path), srcValue);
|
1186
|
-
}
|
1187
|
-
return function(object) {
|
1188
|
-
var objValue = get(object, path);
|
1189
|
-
return (objValue === undefined && objValue === srcValue)
|
1190
|
-
? hasIn(object, path)
|
1191
|
-
: baseIsEqual(srcValue, objValue, undefined, UNORDERED_COMPARE_FLAG | PARTIAL_COMPARE_FLAG);
|
1192
|
-
};
|
1193
|
-
}
|
1194
|
-
|
1195
|
-
/**
|
1196
|
-
* A specialized version of `baseProperty` which supports deep paths.
|
1197
|
-
*
|
1198
|
-
* @private
|
1199
|
-
* @param {Array|string} path The path of the property to get.
|
1200
|
-
* @returns {Function} Returns the new accessor function.
|
1201
|
-
*/
|
1202
|
-
function basePropertyDeep(path) {
|
1203
|
-
return function(object) {
|
1204
|
-
return baseGet(object, path);
|
1205
|
-
};
|
1206
|
-
}
|
1207
|
-
|
1208
|
-
/**
|
1209
|
-
* The base implementation of `_.toString` which doesn't convert nullish
|
1210
|
-
* values to empty strings.
|
1211
|
-
*
|
1212
|
-
* @private
|
1213
|
-
* @param {*} value The value to process.
|
1214
|
-
* @returns {string} Returns the string.
|
1215
|
-
*/
|
1216
|
-
function baseToString(value) {
|
1217
|
-
// Exit early for strings to avoid a performance hit in some environments.
|
1218
|
-
if (typeof value == 'string') {
|
1219
|
-
return value;
|
1220
|
-
}
|
1221
|
-
if (isSymbol(value)) {
|
1222
|
-
return symbolToString ? symbolToString.call(value) : '';
|
1223
|
-
}
|
1224
|
-
var result = (value + '');
|
1225
|
-
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
|
1226
|
-
}
|
1227
|
-
|
1228
|
-
/**
|
1229
|
-
* Casts `value` to a path array if it's not one.
|
1230
|
-
*
|
1231
|
-
* @private
|
1232
|
-
* @param {*} value The value to inspect.
|
1233
|
-
* @returns {Array} Returns the cast property path array.
|
1234
|
-
*/
|
1235
|
-
function castPath(value) {
|
1236
|
-
return isArray(value) ? value : stringToPath(value);
|
1237
|
-
}
|
1238
|
-
|
1239
|
-
/**
|
1240
|
-
* Creates a `baseEach` or `baseEachRight` function.
|
1241
|
-
*
|
1242
|
-
* @private
|
1243
|
-
* @param {Function} eachFunc The function to iterate over a collection.
|
1244
|
-
* @param {boolean} [fromRight] Specify iterating from right to left.
|
1245
|
-
* @returns {Function} Returns the new base function.
|
1246
|
-
*/
|
1247
|
-
function createBaseEach(eachFunc, fromRight) {
|
1248
|
-
return function(collection, iteratee) {
|
1249
|
-
if (collection == null) {
|
1250
|
-
return collection;
|
1251
|
-
}
|
1252
|
-
if (!isArrayLike(collection)) {
|
1253
|
-
return eachFunc(collection, iteratee);
|
1254
|
-
}
|
1255
|
-
var length = collection.length,
|
1256
|
-
index = fromRight ? length : -1,
|
1257
|
-
iterable = Object(collection);
|
1258
|
-
|
1259
|
-
while ((fromRight ? index-- : ++index < length)) {
|
1260
|
-
if (iteratee(iterable[index], index, iterable) === false) {
|
1261
|
-
break;
|
1262
|
-
}
|
1263
|
-
}
|
1264
|
-
return collection;
|
1265
|
-
};
|
1266
|
-
}
|
1267
|
-
|
1268
|
-
/**
|
1269
|
-
* Creates a base function for methods like `_.forIn` and `_.forOwn`.
|
1270
|
-
*
|
1271
|
-
* @private
|
1272
|
-
* @param {boolean} [fromRight] Specify iterating from right to left.
|
1273
|
-
* @returns {Function} Returns the new base function.
|
1274
|
-
*/
|
1275
|
-
function createBaseFor(fromRight) {
|
1276
|
-
return function(object, iteratee, keysFunc) {
|
1277
|
-
var index = -1,
|
1278
|
-
iterable = Object(object),
|
1279
|
-
props = keysFunc(object),
|
1280
|
-
length = props.length;
|
1281
|
-
|
1282
|
-
while (length--) {
|
1283
|
-
var key = props[fromRight ? length : ++index];
|
1284
|
-
if (iteratee(iterable[key], key, iterable) === false) {
|
1285
|
-
break;
|
1286
|
-
}
|
1287
|
-
}
|
1288
|
-
return object;
|
1289
|
-
};
|
1290
|
-
}
|
1291
|
-
|
1292
|
-
/**
|
1293
|
-
* A specialized version of `baseIsEqualDeep` for arrays with support for
|
1294
|
-
* partial deep comparisons.
|
1295
|
-
*
|
1296
|
-
* @private
|
1297
|
-
* @param {Array} array The array to compare.
|
1298
|
-
* @param {Array} other The other array to compare.
|
1299
|
-
* @param {Function} equalFunc The function to determine equivalents of values.
|
1300
|
-
* @param {Function} customizer The function to customize comparisons.
|
1301
|
-
* @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual`
|
1302
|
-
* for more details.
|
1303
|
-
* @param {Object} stack Tracks traversed `array` and `other` objects.
|
1304
|
-
* @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
|
1305
|
-
*/
|
1306
|
-
function equalArrays(array, other, equalFunc, customizer, bitmask, stack) {
|
1307
|
-
var isPartial = bitmask & PARTIAL_COMPARE_FLAG,
|
1308
|
-
arrLength = array.length,
|
1309
|
-
othLength = other.length;
|
1310
|
-
|
1311
|
-
if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
|
1312
|
-
return false;
|
1313
|
-
}
|
1314
|
-
// Assume cyclic values are equal.
|
1315
|
-
var stacked = stack.get(array);
|
1316
|
-
if (stacked && stack.get(other)) {
|
1317
|
-
return stacked == other;
|
1318
|
-
}
|
1319
|
-
var index = -1,
|
1320
|
-
result = true,
|
1321
|
-
seen = (bitmask & UNORDERED_COMPARE_FLAG) ? new SetCache : undefined;
|
1322
|
-
|
1323
|
-
stack.set(array, other);
|
1324
|
-
stack.set(other, array);
|
1325
|
-
|
1326
|
-
// Ignore non-index properties.
|
1327
|
-
while (++index < arrLength) {
|
1328
|
-
var arrValue = array[index],
|
1329
|
-
othValue = other[index];
|
1330
|
-
|
1331
|
-
if (customizer) {
|
1332
|
-
var compared = isPartial
|
1333
|
-
? customizer(othValue, arrValue, index, other, array, stack)
|
1334
|
-
: customizer(arrValue, othValue, index, array, other, stack);
|
1335
|
-
}
|
1336
|
-
if (compared !== undefined) {
|
1337
|
-
if (compared) {
|
1338
|
-
continue;
|
1339
|
-
}
|
1340
|
-
result = false;
|
1341
|
-
break;
|
1342
|
-
}
|
1343
|
-
// Recursively compare arrays (susceptible to call stack limits).
|
1344
|
-
if (seen) {
|
1345
|
-
if (!arraySome(other, function(othValue, othIndex) {
|
1346
|
-
if (!seen.has(othIndex) &&
|
1347
|
-
(arrValue === othValue || equalFunc(arrValue, othValue, customizer, bitmask, stack))) {
|
1348
|
-
return seen.add(othIndex);
|
1349
|
-
}
|
1350
|
-
})) {
|
1351
|
-
result = false;
|
1352
|
-
break;
|
1353
|
-
}
|
1354
|
-
} else if (!(
|
1355
|
-
arrValue === othValue ||
|
1356
|
-
equalFunc(arrValue, othValue, customizer, bitmask, stack)
|
1357
|
-
)) {
|
1358
|
-
result = false;
|
1359
|
-
break;
|
1360
|
-
}
|
1361
|
-
}
|
1362
|
-
stack['delete'](array);
|
1363
|
-
stack['delete'](other);
|
1364
|
-
return result;
|
1365
|
-
}
|
1366
|
-
|
1367
|
-
/**
|
1368
|
-
* A specialized version of `baseIsEqualDeep` for comparing objects of
|
1369
|
-
* the same `toStringTag`.
|
1370
|
-
*
|
1371
|
-
* **Note:** This function only supports comparing values with tags of
|
1372
|
-
* `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
|
1373
|
-
*
|
1374
|
-
* @private
|
1375
|
-
* @param {Object} object The object to compare.
|
1376
|
-
* @param {Object} other The other object to compare.
|
1377
|
-
* @param {string} tag The `toStringTag` of the objects to compare.
|
1378
|
-
* @param {Function} equalFunc The function to determine equivalents of values.
|
1379
|
-
* @param {Function} customizer The function to customize comparisons.
|
1380
|
-
* @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual`
|
1381
|
-
* for more details.
|
1382
|
-
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
1383
|
-
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
1384
|
-
*/
|
1385
|
-
function equalByTag(object, other, tag, equalFunc, customizer, bitmask, stack) {
|
1386
|
-
switch (tag) {
|
1387
|
-
case dataViewTag:
|
1388
|
-
if ((object.byteLength != other.byteLength) ||
|
1389
|
-
(object.byteOffset != other.byteOffset)) {
|
1390
|
-
return false;
|
1391
|
-
}
|
1392
|
-
object = object.buffer;
|
1393
|
-
other = other.buffer;
|
1394
|
-
|
1395
|
-
case arrayBufferTag:
|
1396
|
-
if ((object.byteLength != other.byteLength) ||
|
1397
|
-
!equalFunc(new Uint8Array(object), new Uint8Array(other))) {
|
1398
|
-
return false;
|
1399
|
-
}
|
1400
|
-
return true;
|
1401
|
-
|
1402
|
-
case boolTag:
|
1403
|
-
case dateTag:
|
1404
|
-
case numberTag:
|
1405
|
-
// Coerce booleans to `1` or `0` and dates to milliseconds.
|
1406
|
-
// Invalid dates are coerced to `NaN`.
|
1407
|
-
return eq(+object, +other);
|
1408
|
-
|
1409
|
-
case errorTag:
|
1410
|
-
return object.name == other.name && object.message == other.message;
|
1411
|
-
|
1412
|
-
case regexpTag:
|
1413
|
-
case stringTag:
|
1414
|
-
// Coerce regexes to strings and treat strings, primitives and objects,
|
1415
|
-
// as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
|
1416
|
-
// for more details.
|
1417
|
-
return object == (other + '');
|
1418
|
-
|
1419
|
-
case mapTag:
|
1420
|
-
var convert = mapToArray;
|
1421
|
-
|
1422
|
-
case setTag:
|
1423
|
-
var isPartial = bitmask & PARTIAL_COMPARE_FLAG;
|
1424
|
-
convert || (convert = setToArray);
|
1425
|
-
|
1426
|
-
if (object.size != other.size && !isPartial) {
|
1427
|
-
return false;
|
1428
|
-
}
|
1429
|
-
// Assume cyclic values are equal.
|
1430
|
-
var stacked = stack.get(object);
|
1431
|
-
if (stacked) {
|
1432
|
-
return stacked == other;
|
1433
|
-
}
|
1434
|
-
bitmask |= UNORDERED_COMPARE_FLAG;
|
1435
|
-
|
1436
|
-
// Recursively compare objects (susceptible to call stack limits).
|
1437
|
-
stack.set(object, other);
|
1438
|
-
var result = equalArrays(convert(object), convert(other), equalFunc, customizer, bitmask, stack);
|
1439
|
-
stack['delete'](object);
|
1440
|
-
return result;
|
1441
|
-
|
1442
|
-
case symbolTag:
|
1443
|
-
if (symbolValueOf) {
|
1444
|
-
return symbolValueOf.call(object) == symbolValueOf.call(other);
|
1445
|
-
}
|
1446
|
-
}
|
1447
|
-
return false;
|
1448
|
-
}
|
1449
|
-
|
1450
|
-
/**
|
1451
|
-
* A specialized version of `baseIsEqualDeep` for objects with support for
|
1452
|
-
* partial deep comparisons.
|
1453
|
-
*
|
1454
|
-
* @private
|
1455
|
-
* @param {Object} object The object to compare.
|
1456
|
-
* @param {Object} other The other object to compare.
|
1457
|
-
* @param {Function} equalFunc The function to determine equivalents of values.
|
1458
|
-
* @param {Function} customizer The function to customize comparisons.
|
1459
|
-
* @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual`
|
1460
|
-
* for more details.
|
1461
|
-
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
1462
|
-
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
1463
|
-
*/
|
1464
|
-
function equalObjects(object, other, equalFunc, customizer, bitmask, stack) {
|
1465
|
-
var isPartial = bitmask & PARTIAL_COMPARE_FLAG,
|
1466
|
-
objProps = keys(object),
|
1467
|
-
objLength = objProps.length,
|
1468
|
-
othProps = keys(other),
|
1469
|
-
othLength = othProps.length;
|
1470
|
-
|
1471
|
-
if (objLength != othLength && !isPartial) {
|
1472
|
-
return false;
|
1473
|
-
}
|
1474
|
-
var index = objLength;
|
1475
|
-
while (index--) {
|
1476
|
-
var key = objProps[index];
|
1477
|
-
if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
|
1478
|
-
return false;
|
1479
|
-
}
|
1480
|
-
}
|
1481
|
-
// Assume cyclic values are equal.
|
1482
|
-
var stacked = stack.get(object);
|
1483
|
-
if (stacked && stack.get(other)) {
|
1484
|
-
return stacked == other;
|
1485
|
-
}
|
1486
|
-
var result = true;
|
1487
|
-
stack.set(object, other);
|
1488
|
-
stack.set(other, object);
|
1489
|
-
|
1490
|
-
var skipCtor = isPartial;
|
1491
|
-
while (++index < objLength) {
|
1492
|
-
key = objProps[index];
|
1493
|
-
var objValue = object[key],
|
1494
|
-
othValue = other[key];
|
1495
|
-
|
1496
|
-
if (customizer) {
|
1497
|
-
var compared = isPartial
|
1498
|
-
? customizer(othValue, objValue, key, other, object, stack)
|
1499
|
-
: customizer(objValue, othValue, key, object, other, stack);
|
1500
|
-
}
|
1501
|
-
// Recursively compare objects (susceptible to call stack limits).
|
1502
|
-
if (!(compared === undefined
|
1503
|
-
? (objValue === othValue || equalFunc(objValue, othValue, customizer, bitmask, stack))
|
1504
|
-
: compared
|
1505
|
-
)) {
|
1506
|
-
result = false;
|
1507
|
-
break;
|
1508
|
-
}
|
1509
|
-
skipCtor || (skipCtor = key == 'constructor');
|
1510
|
-
}
|
1511
|
-
if (result && !skipCtor) {
|
1512
|
-
var objCtor = object.constructor,
|
1513
|
-
othCtor = other.constructor;
|
1514
|
-
|
1515
|
-
// Non `Object` object instances with different constructors are not equal.
|
1516
|
-
if (objCtor != othCtor &&
|
1517
|
-
('constructor' in object && 'constructor' in other) &&
|
1518
|
-
!(typeof objCtor == 'function' && objCtor instanceof objCtor &&
|
1519
|
-
typeof othCtor == 'function' && othCtor instanceof othCtor)) {
|
1520
|
-
result = false;
|
1521
|
-
}
|
1522
|
-
}
|
1523
|
-
stack['delete'](object);
|
1524
|
-
stack['delete'](other);
|
1525
|
-
return result;
|
1526
|
-
}
|
1527
|
-
|
1528
|
-
/**
|
1529
|
-
* Gets the data for `map`.
|
1530
|
-
*
|
1531
|
-
* @private
|
1532
|
-
* @param {Object} map The map to query.
|
1533
|
-
* @param {string} key The reference key.
|
1534
|
-
* @returns {*} Returns the map data.
|
1535
|
-
*/
|
1536
|
-
function getMapData(map, key) {
|
1537
|
-
var data = map.__data__;
|
1538
|
-
return isKeyable(key)
|
1539
|
-
? data[typeof key == 'string' ? 'string' : 'hash']
|
1540
|
-
: data.map;
|
1541
|
-
}
|
1542
|
-
|
1543
|
-
/**
|
1544
|
-
* Gets the property names, values, and compare flags of `object`.
|
1545
|
-
*
|
1546
|
-
* @private
|
1547
|
-
* @param {Object} object The object to query.
|
1548
|
-
* @returns {Array} Returns the match data of `object`.
|
1549
|
-
*/
|
1550
|
-
function getMatchData(object) {
|
1551
|
-
var result = keys(object),
|
1552
|
-
length = result.length;
|
1553
|
-
|
1554
|
-
while (length--) {
|
1555
|
-
var key = result[length],
|
1556
|
-
value = object[key];
|
1557
|
-
|
1558
|
-
result[length] = [key, value, isStrictComparable(value)];
|
1559
|
-
}
|
1560
|
-
return result;
|
1561
|
-
}
|
1562
|
-
|
1563
|
-
/**
|
1564
|
-
* Gets the native function at `key` of `object`.
|
1565
|
-
*
|
1566
|
-
* @private
|
1567
|
-
* @param {Object} object The object to query.
|
1568
|
-
* @param {string} key The key of the method to get.
|
1569
|
-
* @returns {*} Returns the function if it's native, else `undefined`.
|
1570
|
-
*/
|
1571
|
-
function getNative(object, key) {
|
1572
|
-
var value = getValue(object, key);
|
1573
|
-
return baseIsNative(value) ? value : undefined;
|
1574
|
-
}
|
1575
|
-
|
1576
|
-
/**
|
1577
|
-
* Gets the `toStringTag` of `value`.
|
1578
|
-
*
|
1579
|
-
* @private
|
1580
|
-
* @param {*} value The value to query.
|
1581
|
-
* @returns {string} Returns the `toStringTag`.
|
1582
|
-
*/
|
1583
|
-
var getTag = baseGetTag;
|
1584
|
-
|
1585
|
-
// Fallback for data views, maps, sets, and weak maps in IE 11,
|
1586
|
-
// for data views in Edge < 14, and promises in Node.js.
|
1587
|
-
if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
|
1588
|
-
(Map && getTag(new Map) != mapTag) ||
|
1589
|
-
(Promise && getTag(Promise.resolve()) != promiseTag) ||
|
1590
|
-
(Set && getTag(new Set) != setTag) ||
|
1591
|
-
(WeakMap && getTag(new WeakMap) != weakMapTag)) {
|
1592
|
-
getTag = function(value) {
|
1593
|
-
var result = objectToString.call(value),
|
1594
|
-
Ctor = result == objectTag ? value.constructor : undefined,
|
1595
|
-
ctorString = Ctor ? toSource(Ctor) : undefined;
|
1596
|
-
|
1597
|
-
if (ctorString) {
|
1598
|
-
switch (ctorString) {
|
1599
|
-
case dataViewCtorString: return dataViewTag;
|
1600
|
-
case mapCtorString: return mapTag;
|
1601
|
-
case promiseCtorString: return promiseTag;
|
1602
|
-
case setCtorString: return setTag;
|
1603
|
-
case weakMapCtorString: return weakMapTag;
|
1604
|
-
}
|
1605
|
-
}
|
1606
|
-
return result;
|
1607
|
-
};
|
1608
|
-
}
|
1609
|
-
|
1610
|
-
/**
|
1611
|
-
* Checks if `path` exists on `object`.
|
1612
|
-
*
|
1613
|
-
* @private
|
1614
|
-
* @param {Object} object The object to query.
|
1615
|
-
* @param {Array|string} path The path to check.
|
1616
|
-
* @param {Function} hasFunc The function to check properties.
|
1617
|
-
* @returns {boolean} Returns `true` if `path` exists, else `false`.
|
1618
|
-
*/
|
1619
|
-
function hasPath(object, path, hasFunc) {
|
1620
|
-
path = isKey(path, object) ? [path] : castPath(path);
|
1621
|
-
|
1622
|
-
var result,
|
1623
|
-
index = -1,
|
1624
|
-
length = path.length;
|
1625
|
-
|
1626
|
-
while (++index < length) {
|
1627
|
-
var key = toKey(path[index]);
|
1628
|
-
if (!(result = object != null && hasFunc(object, key))) {
|
1629
|
-
break;
|
1630
|
-
}
|
1631
|
-
object = object[key];
|
1632
|
-
}
|
1633
|
-
if (result) {
|
1634
|
-
return result;
|
1635
|
-
}
|
1636
|
-
var length = object ? object.length : 0;
|
1637
|
-
return !!length && isLength(length) && isIndex(key, length) &&
|
1638
|
-
(isArray(object) || isArguments(object));
|
1639
|
-
}
|
1640
|
-
|
1641
|
-
/**
|
1642
|
-
* Checks if `value` is a valid array-like index.
|
1643
|
-
*
|
1644
|
-
* @private
|
1645
|
-
* @param {*} value The value to check.
|
1646
|
-
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
1647
|
-
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
1648
|
-
*/
|
1649
|
-
function isIndex(value, length) {
|
1650
|
-
length = length == null ? MAX_SAFE_INTEGER : length;
|
1651
|
-
return !!length &&
|
1652
|
-
(typeof value == 'number' || reIsUint.test(value)) &&
|
1653
|
-
(value > -1 && value % 1 == 0 && value < length);
|
1654
|
-
}
|
1655
|
-
|
1656
|
-
/**
|
1657
|
-
* Checks if `value` is a property name and not a property path.
|
1658
|
-
*
|
1659
|
-
* @private
|
1660
|
-
* @param {*} value The value to check.
|
1661
|
-
* @param {Object} [object] The object to query keys on.
|
1662
|
-
* @returns {boolean} Returns `true` if `value` is a property name, else `false`.
|
1663
|
-
*/
|
1664
|
-
function isKey(value, object) {
|
1665
|
-
if (isArray(value)) {
|
1666
|
-
return false;
|
1667
|
-
}
|
1668
|
-
var type = typeof value;
|
1669
|
-
if (type == 'number' || type == 'symbol' || type == 'boolean' ||
|
1670
|
-
value == null || isSymbol(value)) {
|
1671
|
-
return true;
|
1672
|
-
}
|
1673
|
-
return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
|
1674
|
-
(object != null && value in Object(object));
|
1675
|
-
}
|
1676
|
-
|
1677
|
-
/**
|
1678
|
-
* Checks if `value` is suitable for use as unique object key.
|
1679
|
-
*
|
1680
|
-
* @private
|
1681
|
-
* @param {*} value The value to check.
|
1682
|
-
* @returns {boolean} Returns `true` if `value` is suitable, else `false`.
|
1683
|
-
*/
|
1684
|
-
function isKeyable(value) {
|
1685
|
-
var type = typeof value;
|
1686
|
-
return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
|
1687
|
-
? (value !== '__proto__')
|
1688
|
-
: (value === null);
|
1689
|
-
}
|
1690
|
-
|
1691
|
-
/**
|
1692
|
-
* Checks if `func` has its source masked.
|
1693
|
-
*
|
1694
|
-
* @private
|
1695
|
-
* @param {Function} func The function to check.
|
1696
|
-
* @returns {boolean} Returns `true` if `func` is masked, else `false`.
|
1697
|
-
*/
|
1698
|
-
function isMasked(func) {
|
1699
|
-
return !!maskSrcKey && (maskSrcKey in func);
|
1700
|
-
}
|
1701
|
-
|
1702
|
-
/**
|
1703
|
-
* Checks if `value` is likely a prototype object.
|
1704
|
-
*
|
1705
|
-
* @private
|
1706
|
-
* @param {*} value The value to check.
|
1707
|
-
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
|
1708
|
-
*/
|
1709
|
-
function isPrototype(value) {
|
1710
|
-
var Ctor = value && value.constructor,
|
1711
|
-
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
|
1712
|
-
|
1713
|
-
return value === proto;
|
1714
|
-
}
|
1715
|
-
|
1716
|
-
/**
|
1717
|
-
* Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
|
1718
|
-
*
|
1719
|
-
* @private
|
1720
|
-
* @param {*} value The value to check.
|
1721
|
-
* @returns {boolean} Returns `true` if `value` if suitable for strict
|
1722
|
-
* equality comparisons, else `false`.
|
1723
|
-
*/
|
1724
|
-
function isStrictComparable(value) {
|
1725
|
-
return value === value && !isObject(value);
|
1726
|
-
}
|
1727
|
-
|
1728
|
-
/**
|
1729
|
-
* A specialized version of `matchesProperty` for source values suitable
|
1730
|
-
* for strict equality comparisons, i.e. `===`.
|
1731
|
-
*
|
1732
|
-
* @private
|
1733
|
-
* @param {string} key The key of the property to get.
|
1734
|
-
* @param {*} srcValue The value to match.
|
1735
|
-
* @returns {Function} Returns the new spec function.
|
1736
|
-
*/
|
1737
|
-
function matchesStrictComparable(key, srcValue) {
|
1738
|
-
return function(object) {
|
1739
|
-
if (object == null) {
|
1740
|
-
return false;
|
1741
|
-
}
|
1742
|
-
return object[key] === srcValue &&
|
1743
|
-
(srcValue !== undefined || (key in Object(object)));
|
1744
|
-
};
|
1745
|
-
}
|
1746
|
-
|
1747
|
-
/**
|
1748
|
-
* Converts `string` to a property path array.
|
1749
|
-
*
|
1750
|
-
* @private
|
1751
|
-
* @param {string} string The string to convert.
|
1752
|
-
* @returns {Array} Returns the property path array.
|
1753
|
-
*/
|
1754
|
-
var stringToPath = memoize(function(string) {
|
1755
|
-
string = toString(string);
|
1756
|
-
|
1757
|
-
var result = [];
|
1758
|
-
if (reLeadingDot.test(string)) {
|
1759
|
-
result.push('');
|
1760
|
-
}
|
1761
|
-
string.replace(rePropName, function(match, number, quote, string) {
|
1762
|
-
result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));
|
1763
|
-
});
|
1764
|
-
return result;
|
1765
|
-
});
|
1766
|
-
|
1767
|
-
/**
|
1768
|
-
* Converts `value` to a string key if it's not a string or symbol.
|
1769
|
-
*
|
1770
|
-
* @private
|
1771
|
-
* @param {*} value The value to inspect.
|
1772
|
-
* @returns {string|symbol} Returns the key.
|
1773
|
-
*/
|
1774
|
-
function toKey(value) {
|
1775
|
-
if (typeof value == 'string' || isSymbol(value)) {
|
1776
|
-
return value;
|
1777
|
-
}
|
1778
|
-
var result = (value + '');
|
1779
|
-
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
|
1780
|
-
}
|
1781
|
-
|
1782
|
-
/**
|
1783
|
-
* Converts `func` to its source code.
|
1784
|
-
*
|
1785
|
-
* @private
|
1786
|
-
* @param {Function} func The function to process.
|
1787
|
-
* @returns {string} Returns the source code.
|
1788
|
-
*/
|
1789
|
-
function toSource(func) {
|
1790
|
-
if (func != null) {
|
1791
|
-
try {
|
1792
|
-
return funcToString.call(func);
|
1793
|
-
} catch (e) {}
|
1794
|
-
try {
|
1795
|
-
return (func + '');
|
1796
|
-
} catch (e) {}
|
1797
|
-
}
|
1798
|
-
return '';
|
1799
|
-
}
|
1800
|
-
|
1801
|
-
/**
|
1802
|
-
* Reduces `collection` to a value which is the accumulated result of running
|
1803
|
-
* each element in `collection` thru `iteratee`, where each successive
|
1804
|
-
* invocation is supplied the return value of the previous. If `accumulator`
|
1805
|
-
* is not given, the first element of `collection` is used as the initial
|
1806
|
-
* value. The iteratee is invoked with four arguments:
|
1807
|
-
* (accumulator, value, index|key, collection).
|
1808
|
-
*
|
1809
|
-
* Many lodash methods are guarded to work as iteratees for methods like
|
1810
|
-
* `_.reduce`, `_.reduceRight`, and `_.transform`.
|
1811
|
-
*
|
1812
|
-
* The guarded methods are:
|
1813
|
-
* `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,
|
1814
|
-
* and `sortBy`
|
1815
|
-
*
|
1816
|
-
* @static
|
1817
|
-
* @memberOf _
|
1818
|
-
* @since 0.1.0
|
1819
|
-
* @category Collection
|
1820
|
-
* @param {Array|Object} collection The collection to iterate over.
|
1821
|
-
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
|
1822
|
-
* @param {*} [accumulator] The initial value.
|
1823
|
-
* @returns {*} Returns the accumulated value.
|
1824
|
-
* @see _.reduceRight
|
1825
|
-
* @example
|
1826
|
-
*
|
1827
|
-
* _.reduce([1, 2], function(sum, n) {
|
1828
|
-
* return sum + n;
|
1829
|
-
* }, 0);
|
1830
|
-
* // => 3
|
1831
|
-
*
|
1832
|
-
* _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {
|
1833
|
-
* (result[value] || (result[value] = [])).push(key);
|
1834
|
-
* return result;
|
1835
|
-
* }, {});
|
1836
|
-
* // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)
|
1837
|
-
*/
|
1838
|
-
function reduce(collection, iteratee, accumulator) {
|
1839
|
-
var func = isArray(collection) ? arrayReduce : baseReduce,
|
1840
|
-
initAccum = arguments.length < 3;
|
1841
|
-
|
1842
|
-
return func(collection, baseIteratee(iteratee, 4), accumulator, initAccum, baseEach);
|
1843
|
-
}
|
1844
|
-
|
1845
|
-
/**
|
1846
|
-
* Creates a function that memoizes the result of `func`. If `resolver` is
|
1847
|
-
* provided, it determines the cache key for storing the result based on the
|
1848
|
-
* arguments provided to the memoized function. By default, the first argument
|
1849
|
-
* provided to the memoized function is used as the map cache key. The `func`
|
1850
|
-
* is invoked with the `this` binding of the memoized function.
|
1851
|
-
*
|
1852
|
-
* **Note:** The cache is exposed as the `cache` property on the memoized
|
1853
|
-
* function. Its creation may be customized by replacing the `_.memoize.Cache`
|
1854
|
-
* constructor with one whose instances implement the
|
1855
|
-
* [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
|
1856
|
-
* method interface of `delete`, `get`, `has`, and `set`.
|
1857
|
-
*
|
1858
|
-
* @static
|
1859
|
-
* @memberOf _
|
1860
|
-
* @since 0.1.0
|
1861
|
-
* @category Function
|
1862
|
-
* @param {Function} func The function to have its output memoized.
|
1863
|
-
* @param {Function} [resolver] The function to resolve the cache key.
|
1864
|
-
* @returns {Function} Returns the new memoized function.
|
1865
|
-
* @example
|
1866
|
-
*
|
1867
|
-
* var object = { 'a': 1, 'b': 2 };
|
1868
|
-
* var other = { 'c': 3, 'd': 4 };
|
1869
|
-
*
|
1870
|
-
* var values = _.memoize(_.values);
|
1871
|
-
* values(object);
|
1872
|
-
* // => [1, 2]
|
1873
|
-
*
|
1874
|
-
* values(other);
|
1875
|
-
* // => [3, 4]
|
1876
|
-
*
|
1877
|
-
* object.a = 2;
|
1878
|
-
* values(object);
|
1879
|
-
* // => [1, 2]
|
1880
|
-
*
|
1881
|
-
* // Modify the result cache.
|
1882
|
-
* values.cache.set(object, ['a', 'b']);
|
1883
|
-
* values(object);
|
1884
|
-
* // => ['a', 'b']
|
1885
|
-
*
|
1886
|
-
* // Replace `_.memoize.Cache`.
|
1887
|
-
* _.memoize.Cache = WeakMap;
|
1888
|
-
*/
|
1889
|
-
function memoize(func, resolver) {
|
1890
|
-
if (typeof func != 'function' || (resolver && typeof resolver != 'function')) {
|
1891
|
-
throw new TypeError(FUNC_ERROR_TEXT);
|
1892
|
-
}
|
1893
|
-
var memoized = function() {
|
1894
|
-
var args = arguments,
|
1895
|
-
key = resolver ? resolver.apply(this, args) : args[0],
|
1896
|
-
cache = memoized.cache;
|
1897
|
-
|
1898
|
-
if (cache.has(key)) {
|
1899
|
-
return cache.get(key);
|
1900
|
-
}
|
1901
|
-
var result = func.apply(this, args);
|
1902
|
-
memoized.cache = cache.set(key, result);
|
1903
|
-
return result;
|
1904
|
-
};
|
1905
|
-
memoized.cache = new (memoize.Cache || MapCache);
|
1906
|
-
return memoized;
|
1907
|
-
}
|
1908
|
-
|
1909
|
-
// Assign cache to `_.memoize`.
|
1910
|
-
memoize.Cache = MapCache;
|
1911
|
-
|
1912
|
-
/**
|
1913
|
-
* Performs a
|
1914
|
-
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
1915
|
-
* comparison between two values to determine if they are equivalent.
|
1916
|
-
*
|
1917
|
-
* @static
|
1918
|
-
* @memberOf _
|
1919
|
-
* @since 4.0.0
|
1920
|
-
* @category Lang
|
1921
|
-
* @param {*} value The value to compare.
|
1922
|
-
* @param {*} other The other value to compare.
|
1923
|
-
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
1924
|
-
* @example
|
1925
|
-
*
|
1926
|
-
* var object = { 'a': 1 };
|
1927
|
-
* var other = { 'a': 1 };
|
1928
|
-
*
|
1929
|
-
* _.eq(object, object);
|
1930
|
-
* // => true
|
1931
|
-
*
|
1932
|
-
* _.eq(object, other);
|
1933
|
-
* // => false
|
1934
|
-
*
|
1935
|
-
* _.eq('a', 'a');
|
1936
|
-
* // => true
|
1937
|
-
*
|
1938
|
-
* _.eq('a', Object('a'));
|
1939
|
-
* // => false
|
1940
|
-
*
|
1941
|
-
* _.eq(NaN, NaN);
|
1942
|
-
* // => true
|
1943
|
-
*/
|
1944
|
-
function eq(value, other) {
|
1945
|
-
return value === other || (value !== value && other !== other);
|
1946
|
-
}
|
1947
|
-
|
1948
|
-
/**
|
1949
|
-
* Checks if `value` is likely an `arguments` object.
|
1950
|
-
*
|
1951
|
-
* @static
|
1952
|
-
* @memberOf _
|
1953
|
-
* @since 0.1.0
|
1954
|
-
* @category Lang
|
1955
|
-
* @param {*} value The value to check.
|
1956
|
-
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
1957
|
-
* else `false`.
|
1958
|
-
* @example
|
1959
|
-
*
|
1960
|
-
* _.isArguments(function() { return arguments; }());
|
1961
|
-
* // => true
|
1962
|
-
*
|
1963
|
-
* _.isArguments([1, 2, 3]);
|
1964
|
-
* // => false
|
1965
|
-
*/
|
1966
|
-
function isArguments(value) {
|
1967
|
-
// Safari 8.1 makes `arguments.callee` enumerable in strict mode.
|
1968
|
-
return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&
|
1969
|
-
(!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);
|
1970
|
-
}
|
1971
|
-
|
1972
|
-
/**
|
1973
|
-
* Checks if `value` is classified as an `Array` object.
|
1974
|
-
*
|
1975
|
-
* @static
|
1976
|
-
* @memberOf _
|
1977
|
-
* @since 0.1.0
|
1978
|
-
* @category Lang
|
1979
|
-
* @param {*} value The value to check.
|
1980
|
-
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
1981
|
-
* @example
|
1982
|
-
*
|
1983
|
-
* _.isArray([1, 2, 3]);
|
1984
|
-
* // => true
|
1985
|
-
*
|
1986
|
-
* _.isArray(document.body.children);
|
1987
|
-
* // => false
|
1988
|
-
*
|
1989
|
-
* _.isArray('abc');
|
1990
|
-
* // => false
|
1991
|
-
*
|
1992
|
-
* _.isArray(_.noop);
|
1993
|
-
* // => false
|
1994
|
-
*/
|
1995
|
-
var isArray = Array.isArray;
|
1996
|
-
|
1997
|
-
/**
|
1998
|
-
* Checks if `value` is array-like. A value is considered array-like if it's
|
1999
|
-
* not a function and has a `value.length` that's an integer greater than or
|
2000
|
-
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
2001
|
-
*
|
2002
|
-
* @static
|
2003
|
-
* @memberOf _
|
2004
|
-
* @since 4.0.0
|
2005
|
-
* @category Lang
|
2006
|
-
* @param {*} value The value to check.
|
2007
|
-
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
|
2008
|
-
* @example
|
2009
|
-
*
|
2010
|
-
* _.isArrayLike([1, 2, 3]);
|
2011
|
-
* // => true
|
2012
|
-
*
|
2013
|
-
* _.isArrayLike(document.body.children);
|
2014
|
-
* // => true
|
2015
|
-
*
|
2016
|
-
* _.isArrayLike('abc');
|
2017
|
-
* // => true
|
2018
|
-
*
|
2019
|
-
* _.isArrayLike(_.noop);
|
2020
|
-
* // => false
|
2021
|
-
*/
|
2022
|
-
function isArrayLike(value) {
|
2023
|
-
return value != null && isLength(value.length) && !isFunction(value);
|
2024
|
-
}
|
2025
|
-
|
2026
|
-
/**
|
2027
|
-
* This method is like `_.isArrayLike` except that it also checks if `value`
|
2028
|
-
* is an object.
|
2029
|
-
*
|
2030
|
-
* @static
|
2031
|
-
* @memberOf _
|
2032
|
-
* @since 4.0.0
|
2033
|
-
* @category Lang
|
2034
|
-
* @param {*} value The value to check.
|
2035
|
-
* @returns {boolean} Returns `true` if `value` is an array-like object,
|
2036
|
-
* else `false`.
|
2037
|
-
* @example
|
2038
|
-
*
|
2039
|
-
* _.isArrayLikeObject([1, 2, 3]);
|
2040
|
-
* // => true
|
2041
|
-
*
|
2042
|
-
* _.isArrayLikeObject(document.body.children);
|
2043
|
-
* // => true
|
2044
|
-
*
|
2045
|
-
* _.isArrayLikeObject('abc');
|
2046
|
-
* // => false
|
2047
|
-
*
|
2048
|
-
* _.isArrayLikeObject(_.noop);
|
2049
|
-
* // => false
|
2050
|
-
*/
|
2051
|
-
function isArrayLikeObject(value) {
|
2052
|
-
return isObjectLike(value) && isArrayLike(value);
|
2053
|
-
}
|
2054
|
-
|
2055
|
-
/**
|
2056
|
-
* Checks if `value` is classified as a `Function` object.
|
2057
|
-
*
|
2058
|
-
* @static
|
2059
|
-
* @memberOf _
|
2060
|
-
* @since 0.1.0
|
2061
|
-
* @category Lang
|
2062
|
-
* @param {*} value The value to check.
|
2063
|
-
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
|
2064
|
-
* @example
|
2065
|
-
*
|
2066
|
-
* _.isFunction(_);
|
2067
|
-
* // => true
|
2068
|
-
*
|
2069
|
-
* _.isFunction(/abc/);
|
2070
|
-
* // => false
|
2071
|
-
*/
|
2072
|
-
function isFunction(value) {
|
2073
|
-
// The use of `Object#toString` avoids issues with the `typeof` operator
|
2074
|
-
// in Safari 8-9 which returns 'object' for typed array and other constructors.
|
2075
|
-
var tag = isObject(value) ? objectToString.call(value) : '';
|
2076
|
-
return tag == funcTag || tag == genTag;
|
2077
|
-
}
|
2078
|
-
|
2079
|
-
/**
|
2080
|
-
* Checks if `value` is a valid array-like length.
|
2081
|
-
*
|
2082
|
-
* **Note:** This method is loosely based on
|
2083
|
-
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
2084
|
-
*
|
2085
|
-
* @static
|
2086
|
-
* @memberOf _
|
2087
|
-
* @since 4.0.0
|
2088
|
-
* @category Lang
|
2089
|
-
* @param {*} value The value to check.
|
2090
|
-
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
2091
|
-
* @example
|
2092
|
-
*
|
2093
|
-
* _.isLength(3);
|
2094
|
-
* // => true
|
2095
|
-
*
|
2096
|
-
* _.isLength(Number.MIN_VALUE);
|
2097
|
-
* // => false
|
2098
|
-
*
|
2099
|
-
* _.isLength(Infinity);
|
2100
|
-
* // => false
|
2101
|
-
*
|
2102
|
-
* _.isLength('3');
|
2103
|
-
* // => false
|
2104
|
-
*/
|
2105
|
-
function isLength(value) {
|
2106
|
-
return typeof value == 'number' &&
|
2107
|
-
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
2108
|
-
}
|
2109
|
-
|
2110
|
-
/**
|
2111
|
-
* Checks if `value` is the
|
2112
|
-
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
2113
|
-
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
2114
|
-
*
|
2115
|
-
* @static
|
2116
|
-
* @memberOf _
|
2117
|
-
* @since 0.1.0
|
2118
|
-
* @category Lang
|
2119
|
-
* @param {*} value The value to check.
|
2120
|
-
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
2121
|
-
* @example
|
2122
|
-
*
|
2123
|
-
* _.isObject({});
|
2124
|
-
* // => true
|
2125
|
-
*
|
2126
|
-
* _.isObject([1, 2, 3]);
|
2127
|
-
* // => true
|
2128
|
-
*
|
2129
|
-
* _.isObject(_.noop);
|
2130
|
-
* // => true
|
2131
|
-
*
|
2132
|
-
* _.isObject(null);
|
2133
|
-
* // => false
|
2134
|
-
*/
|
2135
|
-
function isObject(value) {
|
2136
|
-
var type = typeof value;
|
2137
|
-
return !!value && (type == 'object' || type == 'function');
|
2138
|
-
}
|
2139
|
-
|
2140
|
-
/**
|
2141
|
-
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
2142
|
-
* and has a `typeof` result of "object".
|
2143
|
-
*
|
2144
|
-
* @static
|
2145
|
-
* @memberOf _
|
2146
|
-
* @since 4.0.0
|
2147
|
-
* @category Lang
|
2148
|
-
* @param {*} value The value to check.
|
2149
|
-
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
2150
|
-
* @example
|
2151
|
-
*
|
2152
|
-
* _.isObjectLike({});
|
2153
|
-
* // => true
|
2154
|
-
*
|
2155
|
-
* _.isObjectLike([1, 2, 3]);
|
2156
|
-
* // => true
|
2157
|
-
*
|
2158
|
-
* _.isObjectLike(_.noop);
|
2159
|
-
* // => false
|
2160
|
-
*
|
2161
|
-
* _.isObjectLike(null);
|
2162
|
-
* // => false
|
2163
|
-
*/
|
2164
|
-
function isObjectLike(value) {
|
2165
|
-
return !!value && typeof value == 'object';
|
2166
|
-
}
|
2167
|
-
|
2168
|
-
/**
|
2169
|
-
* Checks if `value` is classified as a `Symbol` primitive or object.
|
2170
|
-
*
|
2171
|
-
* @static
|
2172
|
-
* @memberOf _
|
2173
|
-
* @since 4.0.0
|
2174
|
-
* @category Lang
|
2175
|
-
* @param {*} value The value to check.
|
2176
|
-
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
2177
|
-
* @example
|
2178
|
-
*
|
2179
|
-
* _.isSymbol(Symbol.iterator);
|
2180
|
-
* // => true
|
2181
|
-
*
|
2182
|
-
* _.isSymbol('abc');
|
2183
|
-
* // => false
|
2184
|
-
*/
|
2185
|
-
function isSymbol(value) {
|
2186
|
-
return typeof value == 'symbol' ||
|
2187
|
-
(isObjectLike(value) && objectToString.call(value) == symbolTag);
|
2188
|
-
}
|
2189
|
-
|
2190
|
-
/**
|
2191
|
-
* Checks if `value` is classified as a typed array.
|
2192
|
-
*
|
2193
|
-
* @static
|
2194
|
-
* @memberOf _
|
2195
|
-
* @since 3.0.0
|
2196
|
-
* @category Lang
|
2197
|
-
* @param {*} value The value to check.
|
2198
|
-
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
2199
|
-
* @example
|
2200
|
-
*
|
2201
|
-
* _.isTypedArray(new Uint8Array);
|
2202
|
-
* // => true
|
2203
|
-
*
|
2204
|
-
* _.isTypedArray([]);
|
2205
|
-
* // => false
|
2206
|
-
*/
|
2207
|
-
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
2208
|
-
|
2209
|
-
/**
|
2210
|
-
* Converts `value` to a string. An empty string is returned for `null`
|
2211
|
-
* and `undefined` values. The sign of `-0` is preserved.
|
2212
|
-
*
|
2213
|
-
* @static
|
2214
|
-
* @memberOf _
|
2215
|
-
* @since 4.0.0
|
2216
|
-
* @category Lang
|
2217
|
-
* @param {*} value The value to process.
|
2218
|
-
* @returns {string} Returns the string.
|
2219
|
-
* @example
|
2220
|
-
*
|
2221
|
-
* _.toString(null);
|
2222
|
-
* // => ''
|
2223
|
-
*
|
2224
|
-
* _.toString(-0);
|
2225
|
-
* // => '-0'
|
2226
|
-
*
|
2227
|
-
* _.toString([1, 2, 3]);
|
2228
|
-
* // => '1,2,3'
|
2229
|
-
*/
|
2230
|
-
function toString(value) {
|
2231
|
-
return value == null ? '' : baseToString(value);
|
2232
|
-
}
|
2233
|
-
|
2234
|
-
/**
|
2235
|
-
* Gets the value at `path` of `object`. If the resolved value is
|
2236
|
-
* `undefined`, the `defaultValue` is returned in its place.
|
2237
|
-
*
|
2238
|
-
* @static
|
2239
|
-
* @memberOf _
|
2240
|
-
* @since 3.7.0
|
2241
|
-
* @category Object
|
2242
|
-
* @param {Object} object The object to query.
|
2243
|
-
* @param {Array|string} path The path of the property to get.
|
2244
|
-
* @param {*} [defaultValue] The value returned for `undefined` resolved values.
|
2245
|
-
* @returns {*} Returns the resolved value.
|
2246
|
-
* @example
|
2247
|
-
*
|
2248
|
-
* var object = { 'a': [{ 'b': { 'c': 3 } }] };
|
2249
|
-
*
|
2250
|
-
* _.get(object, 'a[0].b.c');
|
2251
|
-
* // => 3
|
2252
|
-
*
|
2253
|
-
* _.get(object, ['a', '0', 'b', 'c']);
|
2254
|
-
* // => 3
|
2255
|
-
*
|
2256
|
-
* _.get(object, 'a.b.c', 'default');
|
2257
|
-
* // => 'default'
|
2258
|
-
*/
|
2259
|
-
function get(object, path, defaultValue) {
|
2260
|
-
var result = object == null ? undefined : baseGet(object, path);
|
2261
|
-
return result === undefined ? defaultValue : result;
|
2262
|
-
}
|
2263
|
-
|
2264
|
-
/**
|
2265
|
-
* Checks if `path` is a direct or inherited property of `object`.
|
2266
|
-
*
|
2267
|
-
* @static
|
2268
|
-
* @memberOf _
|
2269
|
-
* @since 4.0.0
|
2270
|
-
* @category Object
|
2271
|
-
* @param {Object} object The object to query.
|
2272
|
-
* @param {Array|string} path The path to check.
|
2273
|
-
* @returns {boolean} Returns `true` if `path` exists, else `false`.
|
2274
|
-
* @example
|
2275
|
-
*
|
2276
|
-
* var object = _.create({ 'a': _.create({ 'b': 2 }) });
|
2277
|
-
*
|
2278
|
-
* _.hasIn(object, 'a');
|
2279
|
-
* // => true
|
2280
|
-
*
|
2281
|
-
* _.hasIn(object, 'a.b');
|
2282
|
-
* // => true
|
2283
|
-
*
|
2284
|
-
* _.hasIn(object, ['a', 'b']);
|
2285
|
-
* // => true
|
2286
|
-
*
|
2287
|
-
* _.hasIn(object, 'b');
|
2288
|
-
* // => false
|
2289
|
-
*/
|
2290
|
-
function hasIn(object, path) {
|
2291
|
-
return object != null && hasPath(object, path, baseHasIn);
|
2292
|
-
}
|
2293
|
-
|
2294
|
-
/**
|
2295
|
-
* Creates an array of the own enumerable property names of `object`.
|
2296
|
-
*
|
2297
|
-
* **Note:** Non-object values are coerced to objects. See the
|
2298
|
-
* [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
2299
|
-
* for more details.
|
2300
|
-
*
|
2301
|
-
* @static
|
2302
|
-
* @since 0.1.0
|
2303
|
-
* @memberOf _
|
2304
|
-
* @category Object
|
2305
|
-
* @param {Object} object The object to query.
|
2306
|
-
* @returns {Array} Returns the array of property names.
|
2307
|
-
* @example
|
2308
|
-
*
|
2309
|
-
* function Foo() {
|
2310
|
-
* this.a = 1;
|
2311
|
-
* this.b = 2;
|
2312
|
-
* }
|
2313
|
-
*
|
2314
|
-
* Foo.prototype.c = 3;
|
2315
|
-
*
|
2316
|
-
* _.keys(new Foo);
|
2317
|
-
* // => ['a', 'b'] (iteration order is not guaranteed)
|
2318
|
-
*
|
2319
|
-
* _.keys('hi');
|
2320
|
-
* // => ['0', '1']
|
2321
|
-
*/
|
2322
|
-
function keys(object) {
|
2323
|
-
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
2324
|
-
}
|
2325
|
-
|
2326
|
-
/**
|
2327
|
-
* This method returns the first argument it receives.
|
2328
|
-
*
|
2329
|
-
* @static
|
2330
|
-
* @since 0.1.0
|
2331
|
-
* @memberOf _
|
2332
|
-
* @category Util
|
2333
|
-
* @param {*} value Any value.
|
2334
|
-
* @returns {*} Returns `value`.
|
2335
|
-
* @example
|
2336
|
-
*
|
2337
|
-
* var object = { 'a': 1 };
|
2338
|
-
*
|
2339
|
-
* console.log(_.identity(object) === object);
|
2340
|
-
* // => true
|
2341
|
-
*/
|
2342
|
-
function identity(value) {
|
2343
|
-
return value;
|
2344
|
-
}
|
2345
|
-
|
2346
|
-
/**
|
2347
|
-
* Creates a function that returns the value at `path` of a given object.
|
2348
|
-
*
|
2349
|
-
* @static
|
2350
|
-
* @memberOf _
|
2351
|
-
* @since 2.4.0
|
2352
|
-
* @category Util
|
2353
|
-
* @param {Array|string} path The path of the property to get.
|
2354
|
-
* @returns {Function} Returns the new accessor function.
|
2355
|
-
* @example
|
2356
|
-
*
|
2357
|
-
* var objects = [
|
2358
|
-
* { 'a': { 'b': 2 } },
|
2359
|
-
* { 'a': { 'b': 1 } }
|
2360
|
-
* ];
|
2361
|
-
*
|
2362
|
-
* _.map(objects, _.property('a.b'));
|
2363
|
-
* // => [2, 1]
|
2364
|
-
*
|
2365
|
-
* _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
|
2366
|
-
* // => [1, 2]
|
2367
|
-
*/
|
2368
|
-
function property(path) {
|
2369
|
-
return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
|
2370
|
-
}
|
2371
|
-
|
2372
|
-
module.exports = reduce;
|