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