guard-sass-lint 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -1
- data/Rakefile +1 -6
- data/guard-sass-lint.gemspec +2 -0
- data/lib/guard/sass/lint/version.rb +1 -1
- data/node_modules/.bin/sass-lint +1 -0
- data/node_modules/.yarn-integrity +1 -0
- data/node_modules/acorn-jsx/LICENSE +19 -0
- data/node_modules/acorn-jsx/README.md +64 -0
- data/node_modules/acorn-jsx/index.js +3 -0
- data/node_modules/acorn-jsx/inject.js +433 -0
- data/node_modules/acorn-jsx/node_modules/.bin/acorn +1 -0
- data/node_modules/acorn-jsx/node_modules/acorn/.editorconfig +7 -0
- data/node_modules/acorn-jsx/node_modules/acorn/.gitattributes +1 -0
- data/node_modules/acorn-jsx/node_modules/acorn/.npmignore +3 -0
- data/node_modules/acorn-jsx/node_modules/acorn/.tern-project +6 -0
- data/node_modules/acorn-jsx/node_modules/acorn/.travis.yml +7 -0
- data/node_modules/acorn-jsx/node_modules/acorn/AUTHORS +59 -0
- data/node_modules/acorn-jsx/node_modules/acorn/CHANGELOG.md +159 -0
- data/node_modules/acorn-jsx/node_modules/acorn/LICENSE +19 -0
- data/node_modules/acorn-jsx/node_modules/acorn/README.md +407 -0
- data/node_modules/acorn-jsx/node_modules/acorn/bin/acorn +65 -0
- data/node_modules/acorn-jsx/node_modules/acorn/bin/generate-identifier-regex.js +55 -0
- data/node_modules/acorn-jsx/node_modules/acorn/bin/update_authors.sh +6 -0
- data/node_modules/acorn-jsx/node_modules/acorn/dist/.keep +0 -0
- data/node_modules/acorn-jsx/node_modules/acorn/dist/acorn.es.js +3112 -0
- data/node_modules/acorn-jsx/node_modules/acorn/dist/acorn.js +3142 -0
- data/node_modules/acorn-jsx/node_modules/acorn/dist/acorn_loose.es.js +1261 -0
- data/node_modules/acorn-jsx/node_modules/acorn/dist/acorn_loose.js +1273 -0
- data/node_modules/acorn-jsx/node_modules/acorn/dist/walk.es.js +342 -0
- data/node_modules/acorn-jsx/node_modules/acorn/dist/walk.js +360 -0
- data/node_modules/acorn-jsx/node_modules/acorn/package.json +46 -0
- data/node_modules/acorn-jsx/node_modules/acorn/rollup/config.bin.js +15 -0
- data/node_modules/acorn-jsx/node_modules/acorn/rollup/config.loose.js +20 -0
- data/node_modules/acorn-jsx/node_modules/acorn/rollup/config.main.js +11 -0
- data/node_modules/acorn-jsx/node_modules/acorn/rollup/config.walk.js +11 -0
- data/node_modules/acorn-jsx/node_modules/acorn/src/bin/acorn.js +58 -0
- data/node_modules/acorn-jsx/node_modules/acorn/src/expression.js +701 -0
- data/node_modules/acorn-jsx/node_modules/acorn/src/identifier.js +82 -0
- data/node_modules/acorn-jsx/node_modules/acorn/src/index.js +67 -0
- data/node_modules/acorn-jsx/node_modules/acorn/src/location.js +26 -0
- data/node_modules/acorn-jsx/node_modules/acorn/src/locutil.js +42 -0
- data/node_modules/acorn-jsx/node_modules/acorn/src/loose/expression.js +514 -0
- data/node_modules/acorn-jsx/node_modules/acorn/src/loose/index.js +50 -0
- data/node_modules/acorn-jsx/node_modules/acorn/src/loose/parseutil.js +1 -0
- data/node_modules/acorn-jsx/node_modules/acorn/src/loose/state.js +160 -0
- data/node_modules/acorn-jsx/node_modules/acorn/src/loose/statement.js +425 -0
- data/node_modules/acorn-jsx/node_modules/acorn/src/loose/tokenize.js +108 -0
- data/node_modules/acorn-jsx/node_modules/acorn/src/lval.js +216 -0
- data/node_modules/acorn-jsx/node_modules/acorn/src/node.js +50 -0
- data/node_modules/acorn-jsx/node_modules/acorn/src/options.js +121 -0
- data/node_modules/acorn-jsx/node_modules/acorn/src/parseutil.js +109 -0
- data/node_modules/acorn-jsx/node_modules/acorn/src/state.js +104 -0
- data/node_modules/acorn-jsx/node_modules/acorn/src/statement.js +654 -0
- data/node_modules/acorn-jsx/node_modules/acorn/src/tokencontext.js +110 -0
- data/node_modules/acorn-jsx/node_modules/acorn/src/tokenize.js +696 -0
- data/node_modules/acorn-jsx/node_modules/acorn/src/tokentype.js +147 -0
- data/node_modules/acorn-jsx/node_modules/acorn/src/util.js +9 -0
- data/node_modules/acorn-jsx/node_modules/acorn/src/walk/index.js +342 -0
- data/node_modules/acorn-jsx/node_modules/acorn/src/whitespace.js +13 -0
- data/node_modules/acorn-jsx/package.json +28 -0
- data/node_modules/acorn-jsx/xhtml.js +255 -0
- data/node_modules/acorn/.npmignore +10 -0
- data/node_modules/acorn/AUTHORS +60 -0
- data/node_modules/acorn/CHANGELOG.md +222 -0
- data/node_modules/acorn/LICENSE +19 -0
- data/node_modules/acorn/README.md +408 -0
- data/node_modules/acorn/bin/acorn +67 -0
- data/node_modules/acorn/dist/.keep +0 -0
- data/node_modules/acorn/dist/acorn.es.js +3380 -0
- data/node_modules/acorn/dist/acorn.js +3411 -0
- data/node_modules/acorn/dist/acorn_loose.es.js +1360 -0
- data/node_modules/acorn/dist/acorn_loose.js +1370 -0
- data/node_modules/acorn/dist/walk.es.js +342 -0
- data/node_modules/acorn/dist/walk.js +360 -0
- data/node_modules/acorn/package.json +46 -0
- data/node_modules/acorn/src/bin/acorn.js +60 -0
- data/node_modules/acorn/src/expression.js +798 -0
- data/node_modules/acorn/src/identifier.js +81 -0
- data/node_modules/acorn/src/index.js +77 -0
- data/node_modules/acorn/src/location.js +26 -0
- data/node_modules/acorn/src/locutil.js +42 -0
- data/node_modules/acorn/src/loose/expression.js +562 -0
- data/node_modules/acorn/src/loose/index.js +48 -0
- data/node_modules/acorn/src/loose/parseutil.js +1 -0
- data/node_modules/acorn/src/loose/state.js +161 -0
- data/node_modules/acorn/src/loose/statement.js +446 -0
- data/node_modules/acorn/src/loose/tokenize.js +108 -0
- data/node_modules/acorn/src/lval.js +219 -0
- data/node_modules/acorn/src/node.js +50 -0
- data/node_modules/acorn/src/options.js +128 -0
- data/node_modules/acorn/src/parseutil.js +117 -0
- data/node_modules/acorn/src/state.js +110 -0
- data/node_modules/acorn/src/statement.js +745 -0
- data/node_modules/acorn/src/tokencontext.js +110 -0
- data/node_modules/acorn/src/tokenize.js +697 -0
- data/node_modules/acorn/src/tokentype.js +147 -0
- data/node_modules/acorn/src/util.js +9 -0
- data/node_modules/acorn/src/walk/index.js +342 -0
- data/node_modules/acorn/src/whitespace.js +13 -0
- data/node_modules/ajv-keywords/LICENSE +21 -0
- data/node_modules/ajv-keywords/README.md +443 -0
- data/node_modules/ajv-keywords/index.js +35 -0
- data/node_modules/ajv-keywords/keywords/_formatLimit.js +92 -0
- data/node_modules/ajv-keywords/keywords/deepProperties.js +55 -0
- data/node_modules/ajv-keywords/keywords/deepRequired.js +57 -0
- data/node_modules/ajv-keywords/keywords/dot/_formatLimit.jst +116 -0
- data/node_modules/ajv-keywords/keywords/dot/patternRequired.jst +28 -0
- data/node_modules/ajv-keywords/keywords/dot/switch.jst +73 -0
- data/node_modules/ajv-keywords/keywords/dotjs/README.md +3 -0
- data/node_modules/ajv-keywords/keywords/dotjs/_formatLimit.js +176 -0
- data/node_modules/ajv-keywords/keywords/dotjs/patternRequired.js +52 -0
- data/node_modules/ajv-keywords/keywords/dotjs/switch.js +129 -0
- data/node_modules/ajv-keywords/keywords/dynamicDefaults.js +68 -0
- data/node_modules/ajv-keywords/keywords/formatMaximum.js +3 -0
- data/node_modules/ajv-keywords/keywords/formatMinimum.js +3 -0
- data/node_modules/ajv-keywords/keywords/if.js +21 -0
- data/node_modules/ajv-keywords/keywords/index.js +18 -0
- data/node_modules/ajv-keywords/keywords/instanceof.js +54 -0
- data/node_modules/ajv-keywords/keywords/patternRequired.js +24 -0
- data/node_modules/ajv-keywords/keywords/prohibited.js +25 -0
- data/node_modules/ajv-keywords/keywords/propertyNames.js +51 -0
- data/node_modules/ajv-keywords/keywords/range.js +39 -0
- data/node_modules/ajv-keywords/keywords/regexp.js +36 -0
- data/node_modules/ajv-keywords/keywords/switch.js +39 -0
- data/node_modules/ajv-keywords/keywords/typeof.js +32 -0
- data/node_modules/ajv-keywords/package.json +51 -0
- data/node_modules/ajv/.tonic_example.js +20 -0
- data/node_modules/ajv/LICENSE +22 -0
- data/node_modules/ajv/README.md +1211 -0
- data/node_modules/ajv/dist/ajv.bundle.js +8041 -0
- data/node_modules/ajv/dist/ajv.min.js +6 -0
- data/node_modules/ajv/dist/ajv.min.js.map +1 -0
- data/node_modules/ajv/dist/nodent.min.js +8 -0
- data/node_modules/ajv/dist/regenerator.min.js +36 -0
- data/node_modules/ajv/lib/ajv.d.ts +282 -0
- data/node_modules/ajv/lib/ajv.js +420 -0
- data/node_modules/ajv/lib/async.js +218 -0
- data/node_modules/ajv/lib/cache.js +26 -0
- data/node_modules/ajv/lib/compile/_rules.js +28 -0
- data/node_modules/ajv/lib/compile/equal.js +45 -0
- data/node_modules/ajv/lib/compile/formats.js +164 -0
- data/node_modules/ajv/lib/compile/index.js +390 -0
- data/node_modules/ajv/lib/compile/resolve.js +267 -0
- data/node_modules/ajv/lib/compile/rules.js +40 -0
- data/node_modules/ajv/lib/compile/schema_obj.js +9 -0
- data/node_modules/ajv/lib/compile/ucs2length.js +20 -0
- data/node_modules/ajv/lib/compile/util.js +257 -0
- data/node_modules/ajv/lib/compile/validation_error.js +14 -0
- data/node_modules/ajv/lib/dot/_limit.jst +49 -0
- data/node_modules/ajv/lib/dot/_limitItems.jst +10 -0
- data/node_modules/ajv/lib/dot/_limitLength.jst +10 -0
- data/node_modules/ajv/lib/dot/_limitProperties.jst +10 -0
- data/node_modules/ajv/lib/dot/allOf.jst +34 -0
- data/node_modules/ajv/lib/dot/anyOf.jst +48 -0
- data/node_modules/ajv/lib/dot/coerce.def +61 -0
- data/node_modules/ajv/lib/dot/custom.jst +188 -0
- data/node_modules/ajv/lib/dot/defaults.def +32 -0
- data/node_modules/ajv/lib/dot/definitions.def +182 -0
- data/node_modules/ajv/lib/dot/dependencies.jst +69 -0
- data/node_modules/ajv/lib/dot/enum.jst +30 -0
- data/node_modules/ajv/lib/dot/errors.def +185 -0
- data/node_modules/ajv/lib/dot/format.jst +100 -0
- data/node_modules/ajv/lib/dot/items.jst +101 -0
- data/node_modules/ajv/lib/dot/missing.def +34 -0
- data/node_modules/ajv/lib/dot/multipleOf.jst +20 -0
- data/node_modules/ajv/lib/dot/not.jst +43 -0
- data/node_modules/ajv/lib/dot/oneOf.jst +44 -0
- data/node_modules/ajv/lib/dot/pattern.jst +14 -0
- data/node_modules/ajv/lib/dot/properties.jst +319 -0
- data/node_modules/ajv/lib/dot/ref.jst +86 -0
- data/node_modules/ajv/lib/dot/required.jst +96 -0
- data/node_modules/ajv/lib/dot/uniqueItems.jst +38 -0
- data/node_modules/ajv/lib/dot/v5/_formatLimit.jst +116 -0
- data/node_modules/ajv/lib/dot/v5/constant.jst +10 -0
- data/node_modules/ajv/lib/dot/v5/patternRequired.jst +28 -0
- data/node_modules/ajv/lib/dot/v5/switch.jst +73 -0
- data/node_modules/ajv/lib/dot/validate.jst +210 -0
- data/node_modules/ajv/lib/dotjs/README.md +3 -0
- data/node_modules/ajv/lib/dotjs/_formatLimit.js +176 -0
- data/node_modules/ajv/lib/dotjs/_limit.js +124 -0
- data/node_modules/ajv/lib/dotjs/_limitItems.js +76 -0
- data/node_modules/ajv/lib/dotjs/_limitLength.js +81 -0
- data/node_modules/ajv/lib/dotjs/_limitProperties.js +76 -0
- data/node_modules/ajv/lib/dotjs/allOf.js +43 -0
- data/node_modules/ajv/lib/dotjs/anyOf.js +66 -0
- data/node_modules/ajv/lib/dotjs/constant.js +53 -0
- data/node_modules/ajv/lib/dotjs/custom.js +221 -0
- data/node_modules/ajv/lib/dotjs/dependencies.js +148 -0
- data/node_modules/ajv/lib/dotjs/enum.js +66 -0
- data/node_modules/ajv/lib/dotjs/format.js +139 -0
- data/node_modules/ajv/lib/dotjs/items.js +145 -0
- data/node_modules/ajv/lib/dotjs/multipleOf.js +77 -0
- data/node_modules/ajv/lib/dotjs/not.js +84 -0
- data/node_modules/ajv/lib/dotjs/oneOf.js +77 -0
- data/node_modules/ajv/lib/dotjs/pattern.js +75 -0
- data/node_modules/ajv/lib/dotjs/patternRequired.js +52 -0
- data/node_modules/ajv/lib/dotjs/properties.js +446 -0
- data/node_modules/ajv/lib/dotjs/ref.js +120 -0
- data/node_modules/ajv/lib/dotjs/required.js +250 -0
- data/node_modules/ajv/lib/dotjs/switch.js +129 -0
- data/node_modules/ajv/lib/dotjs/uniqueItems.js +72 -0
- data/node_modules/ajv/lib/dotjs/validate.js +376 -0
- data/node_modules/ajv/lib/keyword.js +129 -0
- data/node_modules/ajv/lib/refs/json-schema-draft-04.json +150 -0
- data/node_modules/ajv/lib/refs/json-schema-v5.json +328 -0
- data/node_modules/ajv/lib/v5.js +52 -0
- data/node_modules/ajv/package.json +101 -0
- data/node_modules/ajv/scripts/.eslintrc.yml +3 -0
- data/node_modules/ajv/scripts/bundle.js +54 -0
- data/node_modules/ajv/scripts/compile-dots.js +59 -0
- data/node_modules/ajv/scripts/info +10 -0
- data/node_modules/ajv/scripts/prepare-tests +9 -0
- data/node_modules/ajv/scripts/travis-gh-pages +21 -0
- data/node_modules/ansi-escapes/index.js +106 -0
- data/node_modules/ansi-escapes/license +21 -0
- data/node_modules/ansi-escapes/package.json +50 -0
- data/node_modules/ansi-escapes/readme.md +176 -0
- data/node_modules/ansi-regex/index.js +4 -0
- data/node_modules/ansi-regex/license +21 -0
- data/node_modules/ansi-regex/package.json +64 -0
- data/node_modules/ansi-regex/readme.md +39 -0
- data/node_modules/ansi-styles/index.js +65 -0
- data/node_modules/ansi-styles/license +21 -0
- data/node_modules/ansi-styles/package.json +50 -0
- data/node_modules/ansi-styles/readme.md +86 -0
- data/node_modules/argparse/CHANGELOG.md +179 -0
- data/node_modules/argparse/LICENSE +21 -0
- data/node_modules/argparse/README.md +253 -0
- data/node_modules/argparse/index.js +3 -0
- data/node_modules/argparse/lib/action.js +146 -0
- data/node_modules/argparse/lib/action/append.js +53 -0
- data/node_modules/argparse/lib/action/append/constant.js +47 -0
- data/node_modules/argparse/lib/action/count.js +40 -0
- data/node_modules/argparse/lib/action/help.js +47 -0
- data/node_modules/argparse/lib/action/store.js +50 -0
- data/node_modules/argparse/lib/action/store/constant.js +43 -0
- data/node_modules/argparse/lib/action/store/false.js +27 -0
- data/node_modules/argparse/lib/action/store/true.js +26 -0
- data/node_modules/argparse/lib/action/subparsers.js +149 -0
- data/node_modules/argparse/lib/action/version.js +47 -0
- data/node_modules/argparse/lib/action_container.js +482 -0
- data/node_modules/argparse/lib/argparse.js +14 -0
- data/node_modules/argparse/lib/argument/error.js +50 -0
- data/node_modules/argparse/lib/argument/exclusive.js +54 -0
- data/node_modules/argparse/lib/argument/group.js +75 -0
- data/node_modules/argparse/lib/argument_parser.js +1161 -0
- data/node_modules/argparse/lib/const.js +21 -0
- data/node_modules/argparse/lib/help/added_formatters.js +87 -0
- data/node_modules/argparse/lib/help/formatter.js +795 -0
- data/node_modules/argparse/lib/namespace.js +76 -0
- data/node_modules/argparse/lib/utils.js +57 -0
- data/node_modules/argparse/package.json +34 -0
- data/node_modules/array-union/index.js +6 -0
- data/node_modules/array-union/license +21 -0
- data/node_modules/array-union/package.json +40 -0
- data/node_modules/array-union/readme.md +28 -0
- data/node_modules/array-uniq/index.js +62 -0
- data/node_modules/array-uniq/license +21 -0
- data/node_modules/array-uniq/package.json +37 -0
- data/node_modules/array-uniq/readme.md +30 -0
- data/node_modules/arrify/index.js +8 -0
- data/node_modules/arrify/license +21 -0
- data/node_modules/arrify/package.json +33 -0
- data/node_modules/arrify/readme.md +36 -0
- data/node_modules/balanced-match/.npmignore +5 -0
- data/node_modules/balanced-match/LICENSE.md +21 -0
- data/node_modules/balanced-match/README.md +91 -0
- data/node_modules/balanced-match/index.js +58 -0
- data/node_modules/balanced-match/package.json +47 -0
- data/node_modules/brace-expansion/README.md +122 -0
- data/node_modules/brace-expansion/index.js +201 -0
- data/node_modules/brace-expansion/package.json +45 -0
- data/node_modules/buffer-shims/index.js +108 -0
- data/node_modules/buffer-shims/license.md +19 -0
- data/node_modules/buffer-shims/package.json +18 -0
- data/node_modules/buffer-shims/readme.md +21 -0
- data/node_modules/caller-path/index.js +6 -0
- data/node_modules/caller-path/package.json +41 -0
- data/node_modules/caller-path/readme.md +36 -0
- data/node_modules/callsites/index.js +8 -0
- data/node_modules/callsites/package.json +36 -0
- data/node_modules/callsites/readme.md +47 -0
- data/node_modules/chalk/index.js +116 -0
- data/node_modules/chalk/license +21 -0
- data/node_modules/chalk/package.json +70 -0
- data/node_modules/chalk/readme.md +213 -0
- data/node_modules/circular-json/.npmignore +7 -0
- data/node_modules/circular-json/.travis.yml +12 -0
- data/node_modules/circular-json/LICENSE.txt +19 -0
- data/node_modules/circular-json/README.md +135 -0
- data/node_modules/circular-json/build/circular-json.js +2 -0
- data/node_modules/circular-json/build/circular-json.max.js +189 -0
- data/node_modules/circular-json/build/circular-json.node.js +185 -0
- data/node_modules/circular-json/package.json +24 -0
- data/node_modules/circular-json/template/license.after +2 -0
- data/node_modules/circular-json/template/license.before +1 -0
- data/node_modules/cli-cursor/index.js +26 -0
- data/node_modules/cli-cursor/license +21 -0
- data/node_modules/cli-cursor/package.json +43 -0
- data/node_modules/cli-cursor/readme.md +40 -0
- data/node_modules/cli-width/.npmignore +1 -0
- data/node_modules/cli-width/.travis.yml +11 -0
- data/node_modules/cli-width/LICENSE +13 -0
- data/node_modules/cli-width/README.md +72 -0
- data/node_modules/cli-width/coverage/coverage.json +1 -0
- data/node_modules/cli-width/coverage/lcov-report/base.css +182 -0
- data/node_modules/cli-width/coverage/lcov-report/cli-width/index.html +73 -0
- data/node_modules/cli-width/coverage/lcov-report/cli-width/index.js.html +129 -0
- data/node_modules/cli-width/coverage/lcov-report/index.html +73 -0
- data/node_modules/cli-width/coverage/lcov-report/prettify.css +1 -0
- data/node_modules/cli-width/coverage/lcov-report/prettify.js +1 -0
- data/node_modules/cli-width/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- data/node_modules/cli-width/coverage/lcov-report/sorter.js +156 -0
- data/node_modules/cli-width/coverage/lcov.info +32 -0
- data/node_modules/cli-width/index.js +49 -0
- data/node_modules/cli-width/package.json +29 -0
- data/node_modules/co/History.md +172 -0
- data/node_modules/co/LICENSE +22 -0
- data/node_modules/co/Readme.md +212 -0
- data/node_modules/co/index.js +237 -0
- data/node_modules/co/package.json +34 -0
- data/node_modules/code-point-at/index.js +32 -0
- data/node_modules/code-point-at/license +21 -0
- data/node_modules/code-point-at/package.json +38 -0
- data/node_modules/code-point-at/readme.md +32 -0
- data/node_modules/commander/History.md +261 -0
- data/node_modules/commander/LICENSE +22 -0
- data/node_modules/commander/Readme.md +351 -0
- data/node_modules/commander/index.js +1110 -0
- data/node_modules/commander/package.json +33 -0
- data/node_modules/concat-map/.travis.yml +4 -0
- data/node_modules/concat-map/LICENSE +18 -0
- data/node_modules/concat-map/README.markdown +62 -0
- data/node_modules/concat-map/example/map.js +6 -0
- data/node_modules/concat-map/index.js +13 -0
- data/node_modules/concat-map/package.json +43 -0
- data/node_modules/concat-map/test/map.js +39 -0
- data/node_modules/concat-stream/LICENSE +24 -0
- data/node_modules/concat-stream/index.js +143 -0
- data/node_modules/concat-stream/node_modules/inherits/LICENSE +16 -0
- data/node_modules/concat-stream/node_modules/inherits/README.md +42 -0
- data/node_modules/concat-stream/node_modules/inherits/inherits.js +7 -0
- data/node_modules/concat-stream/node_modules/inherits/inherits_browser.js +23 -0
- data/node_modules/concat-stream/node_modules/inherits/package.json +29 -0
- data/node_modules/concat-stream/package.json +54 -0
- data/node_modules/concat-stream/readme.md +102 -0
- data/node_modules/core-util-is/LICENSE +19 -0
- data/node_modules/core-util-is/README.md +3 -0
- data/node_modules/core-util-is/float.patch +604 -0
- data/node_modules/core-util-is/lib/util.js +107 -0
- data/node_modules/core-util-is/package.json +32 -0
- data/node_modules/core-util-is/test.js +68 -0
- data/node_modules/d/.lint +11 -0
- data/node_modules/d/.npmignore +4 -0
- data/node_modules/d/.travis.yml +15 -0
- data/node_modules/d/CHANGES +13 -0
- data/node_modules/d/LICENSE +19 -0
- data/node_modules/d/README.md +104 -0
- data/node_modules/d/auto-bind.js +32 -0
- data/node_modules/d/index.js +63 -0
- data/node_modules/d/lazy.js +117 -0
- data/node_modules/d/package.json +34 -0
- data/node_modules/d/test/auto-bind.js +12 -0
- data/node_modules/d/test/index.js +182 -0
- data/node_modules/d/test/lazy.js +82 -0
- data/node_modules/debug/.coveralls.yml +1 -0
- data/node_modules/debug/.eslintrc +11 -0
- data/node_modules/debug/.npmignore +8 -0
- data/node_modules/debug/.travis.yml +14 -0
- data/node_modules/debug/CHANGELOG.md +330 -0
- data/node_modules/debug/LICENSE +19 -0
- data/node_modules/debug/Makefile +50 -0
- data/node_modules/debug/README.md +312 -0
- data/node_modules/debug/bower.json +29 -0
- data/node_modules/debug/component.json +19 -0
- data/node_modules/debug/karma.conf.js +70 -0
- data/node_modules/debug/node.js +1 -0
- data/node_modules/debug/package.json +49 -0
- data/node_modules/debug/src/browser.js +185 -0
- data/node_modules/debug/src/debug.js +202 -0
- data/node_modules/debug/src/index.js +10 -0
- data/node_modules/debug/src/node.js +241 -0
- data/node_modules/deep-is/.npmignore +1 -0
- data/node_modules/deep-is/.travis.yml +6 -0
- data/node_modules/deep-is/LICENSE +22 -0
- data/node_modules/deep-is/README.markdown +70 -0
- data/node_modules/deep-is/example/cmp.js +11 -0
- data/node_modules/deep-is/index.js +102 -0
- data/node_modules/deep-is/package.json +61 -0
- data/node_modules/deep-is/test/NaN.js +16 -0
- data/node_modules/deep-is/test/cmp.js +23 -0
- data/node_modules/deep-is/test/neg-vs-pos-0.js +15 -0
- data/node_modules/del/index.js +73 -0
- data/node_modules/del/license +21 -0
- data/node_modules/del/node_modules/.bin/rimraf +1 -0
- data/node_modules/del/package.json +61 -0
- data/node_modules/del/readme.md +106 -0
- data/node_modules/doctrine/CHANGELOG.md +70 -0
- data/node_modules/doctrine/LICENSE.BSD +22 -0
- data/node_modules/doctrine/LICENSE.closure-compiler +202 -0
- data/node_modules/doctrine/LICENSE.esprima +19 -0
- data/node_modules/doctrine/README.md +174 -0
- data/node_modules/doctrine/lib/doctrine.js +897 -0
- data/node_modules/doctrine/lib/typed.js +1283 -0
- data/node_modules/doctrine/lib/utility.js +35 -0
- data/node_modules/doctrine/package.json +65 -0
- data/node_modules/es5-ext/.lint +39 -0
- data/node_modules/es5-ext/.lintignore +9 -0
- data/node_modules/es5-ext/.npmignore +4 -0
- data/node_modules/es5-ext/.travis.yml +16 -0
- data/node_modules/es5-ext/CHANGES +646 -0
- data/node_modules/es5-ext/LICENSE +21 -0
- data/node_modules/es5-ext/README.md +993 -0
- data/node_modules/es5-ext/array/#/@@iterator/implement.js +6 -0
- data/node_modules/es5-ext/array/#/@@iterator/index.js +4 -0
- data/node_modules/es5-ext/array/#/@@iterator/is-implemented.js +16 -0
- data/node_modules/es5-ext/array/#/@@iterator/shim.js +3 -0
- data/node_modules/es5-ext/array/#/_compare-by-length.js +9 -0
- data/node_modules/es5-ext/array/#/binary-search.js +28 -0
- data/node_modules/es5-ext/array/#/clear.js +12 -0
- data/node_modules/es5-ext/array/#/compact.js +9 -0
- data/node_modules/es5-ext/array/#/concat/implement.js +6 -0
- data/node_modules/es5-ext/array/#/concat/index.js +4 -0
- data/node_modules/es5-ext/array/#/concat/is-implemented.js +7 -0
- data/node_modules/es5-ext/array/#/concat/shim.js +44 -0
- data/node_modules/es5-ext/array/#/contains.js +7 -0
- data/node_modules/es5-ext/array/#/copy-within/implement.js +7 -0
- data/node_modules/es5-ext/array/#/copy-within/index.js +4 -0
- data/node_modules/es5-ext/array/#/copy-within/is-implemented.js +7 -0
- data/node_modules/es5-ext/array/#/copy-within/shim.js +39 -0
- data/node_modules/es5-ext/array/#/diff.js +13 -0
- data/node_modules/es5-ext/array/#/e-index-of.js +29 -0
- data/node_modules/es5-ext/array/#/e-last-index-of.js +29 -0
- data/node_modules/es5-ext/array/#/entries/implement.js +6 -0
- data/node_modules/es5-ext/array/#/entries/index.js +4 -0
- data/node_modules/es5-ext/array/#/entries/is-implemented.js +15 -0
- data/node_modules/es5-ext/array/#/entries/shim.js +4 -0
- data/node_modules/es5-ext/array/#/exclusion.js +27 -0
- data/node_modules/es5-ext/array/#/fill/implement.js +6 -0
- data/node_modules/es5-ext/array/#/fill/index.js +4 -0
- data/node_modules/es5-ext/array/#/fill/is-implemented.js +7 -0
- data/node_modules/es5-ext/array/#/fill/shim.js +21 -0
- data/node_modules/es5-ext/array/#/filter/implement.js +6 -0
- data/node_modules/es5-ext/array/#/filter/index.js +4 -0
- data/node_modules/es5-ext/array/#/filter/is-implemented.js +9 -0
- data/node_modules/es5-ext/array/#/filter/shim.js +22 -0
- data/node_modules/es5-ext/array/#/find-index/implement.js +7 -0
- data/node_modules/es5-ext/array/#/find-index/index.js +4 -0
- data/node_modules/es5-ext/array/#/find-index/is-implemented.js +9 -0
- data/node_modules/es5-ext/array/#/find-index/shim.js +20 -0
- data/node_modules/es5-ext/array/#/find/implement.js +6 -0
- data/node_modules/es5-ext/array/#/find/index.js +4 -0
- data/node_modules/es5-ext/array/#/find/is-implemented.js +9 -0
- data/node_modules/es5-ext/array/#/find/shim.js +8 -0
- data/node_modules/es5-ext/array/#/first-index.js +16 -0
- data/node_modules/es5-ext/array/#/first.js +9 -0
- data/node_modules/es5-ext/array/#/flatten.js +39 -0
- data/node_modules/es5-ext/array/#/for-each-right.js +20 -0
- data/node_modules/es5-ext/array/#/group.js +23 -0
- data/node_modules/es5-ext/array/#/index.js +40 -0
- data/node_modules/es5-ext/array/#/indexes-of.js +12 -0
- data/node_modules/es5-ext/array/#/intersection.js +19 -0
- data/node_modules/es5-ext/array/#/is-copy.js +21 -0
- data/node_modules/es5-ext/array/#/is-uniq.js +12 -0
- data/node_modules/es5-ext/array/#/keys/implement.js +6 -0
- data/node_modules/es5-ext/array/#/keys/index.js +4 -0
- data/node_modules/es5-ext/array/#/keys/is-implemented.js +14 -0
- data/node_modules/es5-ext/array/#/keys/shim.js +4 -0
- data/node_modules/es5-ext/array/#/last-index.js +16 -0
- data/node_modules/es5-ext/array/#/last.js +9 -0
- data/node_modules/es5-ext/array/#/map/implement.js +6 -0
- data/node_modules/es5-ext/array/#/map/index.js +4 -0
- data/node_modules/es5-ext/array/#/map/is-implemented.js +8 -0
- data/node_modules/es5-ext/array/#/map/shim.js +21 -0
- data/node_modules/es5-ext/array/#/remove.js +12 -0
- data/node_modules/es5-ext/array/#/separate.js +10 -0
- data/node_modules/es5-ext/array/#/slice/implement.js +6 -0
- data/node_modules/es5-ext/array/#/slice/index.js +4 -0
- data/node_modules/es5-ext/array/#/slice/is-implemented.js +7 -0
- data/node_modules/es5-ext/array/#/slice/shim.js +35 -0
- data/node_modules/es5-ext/array/#/some-right.js +23 -0
- data/node_modules/es5-ext/array/#/splice/implement.js +6 -0
- data/node_modules/es5-ext/array/#/splice/index.js +4 -0
- data/node_modules/es5-ext/array/#/splice/is-implemented.js +7 -0
- data/node_modules/es5-ext/array/#/splice/shim.js +14 -0
- data/node_modules/es5-ext/array/#/uniq.js +13 -0
- data/node_modules/es5-ext/array/#/values/implement.js +6 -0
- data/node_modules/es5-ext/array/#/values/index.js +3 -0
- data/node_modules/es5-ext/array/#/values/is-implemented.js +14 -0
- data/node_modules/es5-ext/array/#/values/shim.js +4 -0
- data/node_modules/es5-ext/array/_is-extensible.js +13 -0
- data/node_modules/es5-ext/array/_sub-array-dummy-safe.js +23 -0
- data/node_modules/es5-ext/array/_sub-array-dummy.js +16 -0
- data/node_modules/es5-ext/array/from/implement.js +6 -0
- data/node_modules/es5-ext/array/from/index.js +5 -0
- data/node_modules/es5-ext/array/from/is-implemented.js +9 -0
- data/node_modules/es5-ext/array/from/shim.js +106 -0
- data/node_modules/es5-ext/array/generate.js +20 -0
- data/node_modules/es5-ext/array/index.js +11 -0
- data/node_modules/es5-ext/array/is-plain-array.js +11 -0
- data/node_modules/es5-ext/array/of/implement.js +6 -0
- data/node_modules/es5-ext/array/of/index.js +5 -0
- data/node_modules/es5-ext/array/of/is-implemented.js +8 -0
- data/node_modules/es5-ext/array/of/shim.js +19 -0
- data/node_modules/es5-ext/array/to-array.js +9 -0
- data/node_modules/es5-ext/array/valid-array.js +8 -0
- data/node_modules/es5-ext/boolean/index.js +5 -0
- data/node_modules/es5-ext/boolean/is-boolean.js +10 -0
- data/node_modules/es5-ext/date/#/copy.js +5 -0
- data/node_modules/es5-ext/date/#/days-in-month.js +17 -0
- data/node_modules/es5-ext/date/#/floor-day.js +8 -0
- data/node_modules/es5-ext/date/#/floor-month.js +8 -0
- data/node_modules/es5-ext/date/#/floor-year.js +8 -0
- data/node_modules/es5-ext/date/#/format.js +21 -0
- data/node_modules/es5-ext/date/#/index.js +10 -0
- data/node_modules/es5-ext/date/index.js +7 -0
- data/node_modules/es5-ext/date/is-date.js +9 -0
- data/node_modules/es5-ext/date/valid-date.js +8 -0
- data/node_modules/es5-ext/error/#/index.js +5 -0
- data/node_modules/es5-ext/error/#/throw.js +5 -0
- data/node_modules/es5-ext/error/custom.js +19 -0
- data/node_modules/es5-ext/error/index.js +8 -0
- data/node_modules/es5-ext/error/is-error.js +9 -0
- data/node_modules/es5-ext/error/valid-error.js +8 -0
- data/node_modules/es5-ext/function/#/compose.js +20 -0
- data/node_modules/es5-ext/function/#/copy.js +15 -0
- data/node_modules/es5-ext/function/#/curry.js +24 -0
- data/node_modules/es5-ext/function/#/index.js +12 -0
- data/node_modules/es5-ext/function/#/lock.js +12 -0
- data/node_modules/es5-ext/function/#/not.js +14 -0
- data/node_modules/es5-ext/function/#/partial.js +16 -0
- data/node_modules/es5-ext/function/#/spread.js +10 -0
- data/node_modules/es5-ext/function/#/to-string-tokens.js +11 -0
- data/node_modules/es5-ext/function/_define-length.js +44 -0
- data/node_modules/es5-ext/function/constant.js +5 -0
- data/node_modules/es5-ext/function/identity.js +3 -0
- data/node_modules/es5-ext/function/index.js +15 -0
- data/node_modules/es5-ext/function/invoke.js +15 -0
- data/node_modules/es5-ext/function/is-arguments.js +7 -0
- data/node_modules/es5-ext/function/is-function.js +9 -0
- data/node_modules/es5-ext/function/noop.js +3 -0
- data/node_modules/es5-ext/function/pluck.js +7 -0
- data/node_modules/es5-ext/function/valid-function.js +8 -0
- data/node_modules/es5-ext/global.js +3 -0
- data/node_modules/es5-ext/index.js +18 -0
- data/node_modules/es5-ext/iterable/for-each.js +12 -0
- data/node_modules/es5-ext/iterable/index.js +8 -0
- data/node_modules/es5-ext/iterable/is.js +10 -0
- data/node_modules/es5-ext/iterable/validate-object.js +9 -0
- data/node_modules/es5-ext/iterable/validate.js +8 -0
- data/node_modules/es5-ext/json/index.js +5 -0
- data/node_modules/es5-ext/json/safe-stringify.js +26 -0
- data/node_modules/es5-ext/math/_pack-ieee754.js +82 -0
- data/node_modules/es5-ext/math/_unpack-ieee754.js +33 -0
- data/node_modules/es5-ext/math/acosh/implement.js +6 -0
- data/node_modules/es5-ext/math/acosh/index.js +5 -0
- data/node_modules/es5-ext/math/acosh/is-implemented.js +7 -0
- data/node_modules/es5-ext/math/acosh/shim.js +12 -0
- data/node_modules/es5-ext/math/asinh/implement.js +6 -0
- data/node_modules/es5-ext/math/asinh/index.js +5 -0
- data/node_modules/es5-ext/math/asinh/is-implemented.js +7 -0
- data/node_modules/es5-ext/math/asinh/shim.js +15 -0
- data/node_modules/es5-ext/math/atanh/implement.js +6 -0
- data/node_modules/es5-ext/math/atanh/index.js +5 -0
- data/node_modules/es5-ext/math/atanh/is-implemented.js +7 -0
- data/node_modules/es5-ext/math/atanh/shim.js +14 -0
- data/node_modules/es5-ext/math/cbrt/implement.js +6 -0
- data/node_modules/es5-ext/math/cbrt/index.js +5 -0
- data/node_modules/es5-ext/math/cbrt/is-implemented.js +7 -0
- data/node_modules/es5-ext/math/cbrt/shim.js +12 -0
- data/node_modules/es5-ext/math/clz32/implement.js +6 -0
- data/node_modules/es5-ext/math/clz32/index.js +5 -0
- data/node_modules/es5-ext/math/clz32/is-implemented.js +7 -0
- data/node_modules/es5-ext/math/clz32/shim.js +6 -0
- data/node_modules/es5-ext/math/cosh/implement.js +6 -0
- data/node_modules/es5-ext/math/cosh/index.js +5 -0
- data/node_modules/es5-ext/math/cosh/is-implemented.js +7 -0
- data/node_modules/es5-ext/math/cosh/shim.js +11 -0
- data/node_modules/es5-ext/math/expm1/implement.js +6 -0
- data/node_modules/es5-ext/math/expm1/index.js +5 -0
- data/node_modules/es5-ext/math/expm1/is-implemented.js +7 -0
- data/node_modules/es5-ext/math/expm1/shim.js +16 -0
- data/node_modules/es5-ext/math/fround/implement.js +6 -0
- data/node_modules/es5-ext/math/fround/index.js +5 -0
- data/node_modules/es5-ext/math/fround/is-implemented.js +7 -0
- data/node_modules/es5-ext/math/fround/shim.js +33 -0
- data/node_modules/es5-ext/math/hypot/implement.js +6 -0
- data/node_modules/es5-ext/math/hypot/index.js +5 -0
- data/node_modules/es5-ext/math/hypot/is-implemented.js +7 -0
- data/node_modules/es5-ext/math/hypot/shim.js +34 -0
- data/node_modules/es5-ext/math/imul/implement.js +6 -0
- data/node_modules/es5-ext/math/imul/index.js +5 -0
- data/node_modules/es5-ext/math/imul/is-implemented.js +7 -0
- data/node_modules/es5-ext/math/imul/shim.js +13 -0
- data/node_modules/es5-ext/math/index.js +21 -0
- data/node_modules/es5-ext/math/log10/implement.js +6 -0
- data/node_modules/es5-ext/math/log10/index.js +5 -0
- data/node_modules/es5-ext/math/log10/is-implemented.js +7 -0
- data/node_modules/es5-ext/math/log10/shim.js +14 -0
- data/node_modules/es5-ext/math/log1p/implement.js +6 -0
- data/node_modules/es5-ext/math/log1p/index.js +5 -0
- data/node_modules/es5-ext/math/log1p/is-implemented.js +7 -0
- data/node_modules/es5-ext/math/log1p/shim.js +17 -0
- data/node_modules/es5-ext/math/log2/implement.js +6 -0
- data/node_modules/es5-ext/math/log2/index.js +5 -0
- data/node_modules/es5-ext/math/log2/is-implemented.js +7 -0
- data/node_modules/es5-ext/math/log2/shim.js +14 -0
- data/node_modules/es5-ext/math/sign/implement.js +6 -0
- data/node_modules/es5-ext/math/sign/index.js +5 -0
- data/node_modules/es5-ext/math/sign/is-implemented.js +7 -0
- data/node_modules/es5-ext/math/sign/shim.js +7 -0
- data/node_modules/es5-ext/math/sinh/implement.js +6 -0
- data/node_modules/es5-ext/math/sinh/index.js +5 -0
- data/node_modules/es5-ext/math/sinh/is-implemented.js +7 -0
- data/node_modules/es5-ext/math/sinh/shim.js +17 -0
- data/node_modules/es5-ext/math/tanh/implement.js +6 -0
- data/node_modules/es5-ext/math/tanh/index.js +5 -0
- data/node_modules/es5-ext/math/tanh/is-implemented.js +7 -0
- data/node_modules/es5-ext/math/tanh/shim.js +17 -0
- data/node_modules/es5-ext/math/trunc/implement.js +6 -0
- data/node_modules/es5-ext/math/trunc/index.js +5 -0
- data/node_modules/es5-ext/math/trunc/is-implemented.js +7 -0
- data/node_modules/es5-ext/math/trunc/shim.js +13 -0
- data/node_modules/es5-ext/number/#/index.js +5 -0
- data/node_modules/es5-ext/number/#/pad.js +15 -0
- data/node_modules/es5-ext/number/epsilon/implement.js +6 -0
- data/node_modules/es5-ext/number/epsilon/index.js +3 -0
- data/node_modules/es5-ext/number/epsilon/is-implemented.js +5 -0
- data/node_modules/es5-ext/number/index.js +17 -0
- data/node_modules/es5-ext/number/is-finite/implement.js +6 -0
- data/node_modules/es5-ext/number/is-finite/index.js +5 -0
- data/node_modules/es5-ext/number/is-finite/is-implemented.js +7 -0
- data/node_modules/es5-ext/number/is-finite/shim.js +5 -0
- data/node_modules/es5-ext/number/is-integer/implement.js +6 -0
- data/node_modules/es5-ext/number/is-integer/index.js +5 -0
- data/node_modules/es5-ext/number/is-integer/is-implemented.js +7 -0
- data/node_modules/es5-ext/number/is-integer/shim.js +8 -0
- data/node_modules/es5-ext/number/is-nan/implement.js +6 -0
- data/node_modules/es5-ext/number/is-nan/index.js +5 -0
- data/node_modules/es5-ext/number/is-nan/is-implemented.js +7 -0
- data/node_modules/es5-ext/number/is-nan/shim.js +3 -0
- data/node_modules/es5-ext/number/is-natural.js +5 -0
- data/node_modules/es5-ext/number/is-number.js +11 -0
- data/node_modules/es5-ext/number/is-safe-integer/implement.js +6 -0
- data/node_modules/es5-ext/number/is-safe-integer/index.js +5 -0
- data/node_modules/es5-ext/number/is-safe-integer/is-implemented.js +8 -0
- data/node_modules/es5-ext/number/is-safe-integer/shim.js +11 -0
- data/node_modules/es5-ext/number/max-safe-integer/implement.js +6 -0
- data/node_modules/es5-ext/number/max-safe-integer/index.js +3 -0
- data/node_modules/es5-ext/number/max-safe-integer/is-implemented.js +5 -0
- data/node_modules/es5-ext/number/min-safe-integer/implement.js +6 -0
- data/node_modules/es5-ext/number/min-safe-integer/index.js +3 -0
- data/node_modules/es5-ext/number/min-safe-integer/is-implemented.js +5 -0
- data/node_modules/es5-ext/number/to-integer.js +12 -0
- data/node_modules/es5-ext/number/to-pos-integer.js +7 -0
- data/node_modules/es5-ext/number/to-uint32.js +3 -0
- data/node_modules/es5-ext/object/_iterate.js +29 -0
- data/node_modules/es5-ext/object/assign/implement.js +6 -0
- data/node_modules/es5-ext/object/assign/index.js +5 -0
- data/node_modules/es5-ext/object/assign/is-implemented.js +9 -0
- data/node_modules/es5-ext/object/assign/shim.js +22 -0
- data/node_modules/es5-ext/object/clear.js +16 -0
- data/node_modules/es5-ext/object/compact.js +7 -0
- data/node_modules/es5-ext/object/compare.js +42 -0
- data/node_modules/es5-ext/object/copy-deep.js +38 -0
- data/node_modules/es5-ext/object/copy.js +10 -0
- data/node_modules/es5-ext/object/count.js +5 -0
- data/node_modules/es5-ext/object/create.js +36 -0
- data/node_modules/es5-ext/object/ensure-natural-number-value.js +8 -0
- data/node_modules/es5-ext/object/ensure-natural-number.js +9 -0
- data/node_modules/es5-ext/object/eq.js +5 -0
- data/node_modules/es5-ext/object/every.js +3 -0
- data/node_modules/es5-ext/object/filter.js +15 -0
- data/node_modules/es5-ext/object/find-key.js +3 -0
- data/node_modules/es5-ext/object/find.js +8 -0
- data/node_modules/es5-ext/object/first-key.js +14 -0
- data/node_modules/es5-ext/object/flatten.js +17 -0
- data/node_modules/es5-ext/object/for-each.js +3 -0
- data/node_modules/es5-ext/object/get-property-names.js +18 -0
- data/node_modules/es5-ext/object/index.js +54 -0
- data/node_modules/es5-ext/object/is-array-like.js +14 -0
- data/node_modules/es5-ext/object/is-callable.js +5 -0
- data/node_modules/es5-ext/object/is-copy-deep.js +58 -0
- data/node_modules/es5-ext/object/is-copy.js +24 -0
- data/node_modules/es5-ext/object/is-empty.js +14 -0
- data/node_modules/es5-ext/object/is-number-value.js +3 -0
- data/node_modules/es5-ext/object/is-object.js +7 -0
- data/node_modules/es5-ext/object/is-plain-object.js +20 -0
- data/node_modules/es5-ext/object/is-value.js +5 -0
- data/node_modules/es5-ext/object/is.js +10 -0
- data/node_modules/es5-ext/object/key-of.js +15 -0
- data/node_modules/es5-ext/object/keys/implement.js +6 -0
- data/node_modules/es5-ext/object/keys/index.js +5 -0
- data/node_modules/es5-ext/object/keys/is-implemented.js +8 -0
- data/node_modules/es5-ext/object/keys/shim.js +7 -0
- data/node_modules/es5-ext/object/map-keys.js +15 -0
- data/node_modules/es5-ext/object/map.js +15 -0
- data/node_modules/es5-ext/object/mixin-prototypes.js +34 -0
- data/node_modules/es5-ext/object/mixin.js +27 -0
- data/node_modules/es5-ext/object/normalize-options.js +17 -0
- data/node_modules/es5-ext/object/primitive-set.js +9 -0
- data/node_modules/es5-ext/object/safe-traverse.js +15 -0
- data/node_modules/es5-ext/object/serialize.js +36 -0
- data/node_modules/es5-ext/object/set-prototype-of/implement.js +8 -0
- data/node_modules/es5-ext/object/set-prototype-of/index.js +5 -0
- data/node_modules/es5-ext/object/set-prototype-of/is-implemented.js +11 -0
- data/node_modules/es5-ext/object/set-prototype-of/shim.js +73 -0
- data/node_modules/es5-ext/object/some.js +3 -0
- data/node_modules/es5-ext/object/to-array.js +18 -0
- data/node_modules/es5-ext/object/unserialize.js +7 -0
- data/node_modules/es5-ext/object/valid-callable.js +6 -0
- data/node_modules/es5-ext/object/valid-object.js +8 -0
- data/node_modules/es5-ext/object/valid-value.js +6 -0
- data/node_modules/es5-ext/object/validate-array-like-object.js +9 -0
- data/node_modules/es5-ext/object/validate-array-like.js +8 -0
- data/node_modules/es5-ext/object/validate-stringifiable-value.js +6 -0
- data/node_modules/es5-ext/object/validate-stringifiable.js +9 -0
- data/node_modules/es5-ext/package.json +43 -0
- data/node_modules/es5-ext/reg-exp/#/index.js +10 -0
- data/node_modules/es5-ext/reg-exp/#/is-sticky.js +9 -0
- data/node_modules/es5-ext/reg-exp/#/is-unicode.js +9 -0
- data/node_modules/es5-ext/reg-exp/#/match/implement.js +6 -0
- data/node_modules/es5-ext/reg-exp/#/match/index.js +5 -0
- data/node_modules/es5-ext/reg-exp/#/match/is-implemented.js +8 -0
- data/node_modules/es5-ext/reg-exp/#/match/shim.js +8 -0
- data/node_modules/es5-ext/reg-exp/#/replace/implement.js +6 -0
- data/node_modules/es5-ext/reg-exp/#/replace/index.js +5 -0
- data/node_modules/es5-ext/reg-exp/#/replace/is-implemented.js +8 -0
- data/node_modules/es5-ext/reg-exp/#/replace/shim.js +8 -0
- data/node_modules/es5-ext/reg-exp/#/search/implement.js +6 -0
- data/node_modules/es5-ext/reg-exp/#/search/index.js +5 -0
- data/node_modules/es5-ext/reg-exp/#/search/is-implemented.js +8 -0
- data/node_modules/es5-ext/reg-exp/#/search/shim.js +8 -0
- data/node_modules/es5-ext/reg-exp/#/split/implement.js +6 -0
- data/node_modules/es5-ext/reg-exp/#/split/index.js +5 -0
- data/node_modules/es5-ext/reg-exp/#/split/is-implemented.js +8 -0
- data/node_modules/es5-ext/reg-exp/#/split/shim.js +8 -0
- data/node_modules/es5-ext/reg-exp/#/sticky/implement.js +8 -0
- data/node_modules/es5-ext/reg-exp/#/sticky/is-implemented.js +10 -0
- data/node_modules/es5-ext/reg-exp/#/unicode/implement.js +8 -0
- data/node_modules/es5-ext/reg-exp/#/unicode/is-implemented.js +10 -0
- data/node_modules/es5-ext/reg-exp/escape.js +9 -0
- data/node_modules/es5-ext/reg-exp/index.js +8 -0
- data/node_modules/es5-ext/reg-exp/is-reg-exp.js +9 -0
- data/node_modules/es5-ext/reg-exp/valid-reg-exp.js +8 -0
- data/node_modules/es5-ext/string/#/@@iterator/implement.js +6 -0
- data/node_modules/es5-ext/string/#/@@iterator/index.js +4 -0
- data/node_modules/es5-ext/string/#/@@iterator/is-implemented.js +16 -0
- data/node_modules/es5-ext/string/#/@@iterator/shim.js +6 -0
- data/node_modules/es5-ext/string/#/at.js +33 -0
- data/node_modules/es5-ext/string/#/camel-to-hyphen.js +10 -0
- data/node_modules/es5-ext/string/#/capitalize.js +8 -0
- data/node_modules/es5-ext/string/#/case-insensitive-compare.js +7 -0
- data/node_modules/es5-ext/string/#/code-point-at/implement.js +7 -0
- data/node_modules/es5-ext/string/#/code-point-at/index.js +5 -0
- data/node_modules/es5-ext/string/#/code-point-at/is-implemented.js +8 -0
- data/node_modules/es5-ext/string/#/code-point-at/shim.js +26 -0
- data/node_modules/es5-ext/string/#/contains/implement.js +7 -0
- data/node_modules/es5-ext/string/#/contains/index.js +5 -0
- data/node_modules/es5-ext/string/#/contains/is-implemented.js +8 -0
- data/node_modules/es5-ext/string/#/contains/shim.js +7 -0
- data/node_modules/es5-ext/string/#/ends-with/implement.js +7 -0
- data/node_modules/es5-ext/string/#/ends-with/index.js +5 -0
- data/node_modules/es5-ext/string/#/ends-with/is-implemented.js +8 -0
- data/node_modules/es5-ext/string/#/ends-with/shim.js +16 -0
- data/node_modules/es5-ext/string/#/hyphen-to-camel.js +8 -0
- data/node_modules/es5-ext/string/#/indent.js +12 -0
- data/node_modules/es5-ext/string/#/index.js +22 -0
- data/node_modules/es5-ext/string/#/last.js +8 -0
- data/node_modules/es5-ext/string/#/normalize/_data.js +69 -0
- data/node_modules/es5-ext/string/#/normalize/implement.js +7 -0
- data/node_modules/es5-ext/string/#/normalize/index.js +5 -0
- data/node_modules/es5-ext/string/#/normalize/is-implemented.js +8 -0
- data/node_modules/es5-ext/string/#/normalize/shim.js +289 -0
- data/node_modules/es5-ext/string/#/pad.js +18 -0
- data/node_modules/es5-ext/string/#/plain-replace-all.js +16 -0
- data/node_modules/es5-ext/string/#/plain-replace.js +10 -0
- data/node_modules/es5-ext/string/#/repeat/implement.js +7 -0
- data/node_modules/es5-ext/string/#/repeat/index.js +5 -0
- data/node_modules/es5-ext/string/#/repeat/is-implemented.js +8 -0
- data/node_modules/es5-ext/string/#/repeat/shim.js +22 -0
- data/node_modules/es5-ext/string/#/starts-with/implement.js +7 -0
- data/node_modules/es5-ext/string/#/starts-with/index.js +5 -0
- data/node_modules/es5-ext/string/#/starts-with/is-implemented.js +9 -0
- data/node_modules/es5-ext/string/#/starts-with/shim.js +12 -0
- data/node_modules/es5-ext/string/#/uncapitalize.js +8 -0
- data/node_modules/es5-ext/string/format-method.js +24 -0
- data/node_modules/es5-ext/string/from-code-point/implement.js +6 -0
- data/node_modules/es5-ext/string/from-code-point/index.js +5 -0
- data/node_modules/es5-ext/string/from-code-point/is-implemented.js +7 -0
- data/node_modules/es5-ext/string/from-code-point/shim.js +30 -0
- data/node_modules/es5-ext/string/index.js +10 -0
- data/node_modules/es5-ext/string/is-string.js +10 -0
- data/node_modules/es5-ext/string/random-uniq.js +11 -0
- data/node_modules/es5-ext/string/raw/implement.js +6 -0
- data/node_modules/es5-ext/string/raw/index.js +5 -0
- data/node_modules/es5-ext/string/raw/is-implemented.js +9 -0
- data/node_modules/es5-ext/string/raw/shim.js +15 -0
- data/node_modules/es5-ext/test/__tad.js +3 -0
- data/node_modules/es5-ext/test/array/#/@@iterator/implement.js +5 -0
- data/node_modules/es5-ext/test/array/#/@@iterator/index.js +3 -0
- data/node_modules/es5-ext/test/array/#/@@iterator/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/array/#/@@iterator/shim.js +9 -0
- data/node_modules/es5-ext/test/array/#/_compare-by-length.js +7 -0
- data/node_modules/es5-ext/test/array/#/binary-search.js +15 -0
- data/node_modules/es5-ext/test/array/#/clear.js +7 -0
- data/node_modules/es5-ext/test/array/#/compact.js +17 -0
- data/node_modules/es5-ext/test/array/#/concat/implement.js +5 -0
- data/node_modules/es5-ext/test/array/#/concat/index.js +3 -0
- data/node_modules/es5-ext/test/array/#/concat/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/array/#/concat/shim.js +26 -0
- data/node_modules/es5-ext/test/array/#/contains.js +21 -0
- data/node_modules/es5-ext/test/array/#/copy-within/implement.js +5 -0
- data/node_modules/es5-ext/test/array/#/copy-within/index.js +3 -0
- data/node_modules/es5-ext/test/array/#/copy-within/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/array/#/copy-within/shim.js +29 -0
- data/node_modules/es5-ext/test/array/#/diff.js +17 -0
- data/node_modules/es5-ext/test/array/#/e-index-of.js +13 -0
- data/node_modules/es5-ext/test/array/#/e-last-index-of.js +12 -0
- data/node_modules/es5-ext/test/array/#/entries/implement.js +5 -0
- data/node_modules/es5-ext/test/array/#/entries/index.js +3 -0
- data/node_modules/es5-ext/test/array/#/entries/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/array/#/entries/shim.js +9 -0
- data/node_modules/es5-ext/test/array/#/exclusion.js +15 -0
- data/node_modules/es5-ext/test/array/#/fill/implement.js +5 -0
- data/node_modules/es5-ext/test/array/#/fill/index.js +3 -0
- data/node_modules/es5-ext/test/array/#/fill/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/array/#/fill/shim.js +18 -0
- data/node_modules/es5-ext/test/array/#/filter/implement.js +5 -0
- data/node_modules/es5-ext/test/array/#/filter/index.js +3 -0
- data/node_modules/es5-ext/test/array/#/filter/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/array/#/filter/shim.js +17 -0
- data/node_modules/es5-ext/test/array/#/find-index/implement.js +5 -0
- data/node_modules/es5-ext/test/array/#/find-index/index.js +3 -0
- data/node_modules/es5-ext/test/array/#/find-index/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/array/#/find-index/shim.js +17 -0
- data/node_modules/es5-ext/test/array/#/find/implement.js +5 -0
- data/node_modules/es5-ext/test/array/#/find/index.js +3 -0
- data/node_modules/es5-ext/test/array/#/find/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/array/#/find/shim.js +17 -0
- data/node_modules/es5-ext/test/array/#/first-index.js +17 -0
- data/node_modules/es5-ext/test/array/#/first.js +13 -0
- data/node_modules/es5-ext/test/array/#/flatten.js +14 -0
- data/node_modules/es5-ext/test/array/#/for-each-right.js +36 -0
- data/node_modules/es5-ext/test/array/#/group.js +24 -0
- data/node_modules/es5-ext/test/array/#/indexes-of.js +14 -0
- data/node_modules/es5-ext/test/array/#/intersection.js +24 -0
- data/node_modules/es5-ext/test/array/#/is-copy.js +13 -0
- data/node_modules/es5-ext/test/array/#/is-uniq.js +11 -0
- data/node_modules/es5-ext/test/array/#/keys/implement.js +5 -0
- data/node_modules/es5-ext/test/array/#/keys/index.js +3 -0
- data/node_modules/es5-ext/test/array/#/keys/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/array/#/keys/shim.js +9 -0
- data/node_modules/es5-ext/test/array/#/last-index.js +17 -0
- data/node_modules/es5-ext/test/array/#/last.js +15 -0
- data/node_modules/es5-ext/test/array/#/map/implement.js +5 -0
- data/node_modules/es5-ext/test/array/#/map/index.js +3 -0
- data/node_modules/es5-ext/test/array/#/map/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/array/#/map/shim.js +19 -0
- data/node_modules/es5-ext/test/array/#/remove.js +14 -0
- data/node_modules/es5-ext/test/array/#/separate.js +15 -0
- data/node_modules/es5-ext/test/array/#/slice/implement.js +5 -0
- data/node_modules/es5-ext/test/array/#/slice/index.js +3 -0
- data/node_modules/es5-ext/test/array/#/slice/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/array/#/slice/shim.js +17 -0
- data/node_modules/es5-ext/test/array/#/some-right.js +43 -0
- data/node_modules/es5-ext/test/array/#/splice/implement.js +5 -0
- data/node_modules/es5-ext/test/array/#/splice/index.js +3 -0
- data/node_modules/es5-ext/test/array/#/splice/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/array/#/splice/shim.js +19 -0
- data/node_modules/es5-ext/test/array/#/uniq.js +14 -0
- data/node_modules/es5-ext/test/array/#/values/implement.js +5 -0
- data/node_modules/es5-ext/test/array/#/values/index.js +3 -0
- data/node_modules/es5-ext/test/array/#/values/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/array/#/values/shim.js +9 -0
- data/node_modules/es5-ext/test/array/__scopes.js +11 -0
- data/node_modules/es5-ext/test/array/_is-extensible.js +5 -0
- data/node_modules/es5-ext/test/array/_sub-array-dummy-safe.js +7 -0
- data/node_modules/es5-ext/test/array/_sub-array-dummy.js +7 -0
- data/node_modules/es5-ext/test/array/from/implement.js +5 -0
- data/node_modules/es5-ext/test/array/from/index.js +3 -0
- data/node_modules/es5-ext/test/array/from/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/array/from/shim.js +60 -0
- data/node_modules/es5-ext/test/array/generate.js +10 -0
- data/node_modules/es5-ext/test/array/is-plain-array.js +18 -0
- data/node_modules/es5-ext/test/array/of/implement.js +5 -0
- data/node_modules/es5-ext/test/array/of/index.js +3 -0
- data/node_modules/es5-ext/test/array/of/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/array/of/shim.js +68 -0
- data/node_modules/es5-ext/test/array/to-array.js +13 -0
- data/node_modules/es5-ext/test/array/valid-array.js +14 -0
- data/node_modules/es5-ext/test/boolean/is-boolean.js +12 -0
- data/node_modules/es5-ext/test/date/#/copy.js +10 -0
- data/node_modules/es5-ext/test/date/#/days-in-month.js +17 -0
- data/node_modules/es5-ext/test/date/#/floor-day.js +6 -0
- data/node_modules/es5-ext/test/date/#/floor-month.js +6 -0
- data/node_modules/es5-ext/test/date/#/floor-year.js +6 -0
- data/node_modules/es5-ext/test/date/#/format.js +6 -0
- data/node_modules/es5-ext/test/date/is-date.js +10 -0
- data/node_modules/es5-ext/test/date/valid-date.js +12 -0
- data/node_modules/es5-ext/test/error/#/throw.js +10 -0
- data/node_modules/es5-ext/test/error/custom.js +12 -0
- data/node_modules/es5-ext/test/error/is-error.js +16 -0
- data/node_modules/es5-ext/test/error/valid-error.js +9 -0
- data/node_modules/es5-ext/test/function/#/compose.js +9 -0
- data/node_modules/es5-ext/test/function/#/copy.js +19 -0
- data/node_modules/es5-ext/test/function/#/curry.js +18 -0
- data/node_modules/es5-ext/test/function/#/lock.js +7 -0
- data/node_modules/es5-ext/test/function/#/not.js +11 -0
- data/node_modules/es5-ext/test/function/#/partial.js +9 -0
- data/node_modules/es5-ext/test/function/#/spread.js +8 -0
- data/node_modules/es5-ext/test/function/#/to-string-tokens.js +12 -0
- data/node_modules/es5-ext/test/function/_define-length.js +12 -0
- data/node_modules/es5-ext/test/function/constant.js +7 -0
- data/node_modules/es5-ext/test/function/identity.js +7 -0
- data/node_modules/es5-ext/test/function/invoke.js +9 -0
- data/node_modules/es5-ext/test/function/is-arguments.js +11 -0
- data/node_modules/es5-ext/test/function/is-function.js +8 -0
- data/node_modules/es5-ext/test/function/noop.js +5 -0
- data/node_modules/es5-ext/test/function/pluck.js +7 -0
- data/node_modules/es5-ext/test/function/valid-function.js +17 -0
- data/node_modules/es5-ext/test/global.js +5 -0
- data/node_modules/es5-ext/test/iterable/for-each.js +40 -0
- data/node_modules/es5-ext/test/iterable/is.js +20 -0
- data/node_modules/es5-ext/test/iterable/validate-object.js +20 -0
- data/node_modules/es5-ext/test/iterable/validate.js +20 -0
- data/node_modules/es5-ext/test/json/safe-stringify.js +15 -0
- data/node_modules/es5-ext/test/math/_pack-ieee754.js +5 -0
- data/node_modules/es5-ext/test/math/_unpack-ieee754.js +5 -0
- data/node_modules/es5-ext/test/math/acosh/implement.js +5 -0
- data/node_modules/es5-ext/test/math/acosh/index.js +3 -0
- data/node_modules/es5-ext/test/math/acosh/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/math/acosh/shim.js +11 -0
- data/node_modules/es5-ext/test/math/asinh/implement.js +5 -0
- data/node_modules/es5-ext/test/math/asinh/index.js +3 -0
- data/node_modules/es5-ext/test/math/asinh/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/math/asinh/shim.js +10 -0
- data/node_modules/es5-ext/test/math/atanh/implement.js +5 -0
- data/node_modules/es5-ext/test/math/atanh/index.js +3 -0
- data/node_modules/es5-ext/test/math/atanh/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/math/atanh/shim.js +11 -0
- data/node_modules/es5-ext/test/math/cbrt/implement.js +5 -0
- data/node_modules/es5-ext/test/math/cbrt/index.js +3 -0
- data/node_modules/es5-ext/test/math/cbrt/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/math/cbrt/shim.js +11 -0
- data/node_modules/es5-ext/test/math/clz32/implement.js +5 -0
- data/node_modules/es5-ext/test/math/clz32/index.js +3 -0
- data/node_modules/es5-ext/test/math/clz32/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/math/clz32/shim.js +12 -0
- data/node_modules/es5-ext/test/math/cosh/implement.js +5 -0
- data/node_modules/es5-ext/test/math/cosh/index.js +3 -0
- data/node_modules/es5-ext/test/math/cosh/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/math/cosh/shim.js +13 -0
- data/node_modules/es5-ext/test/math/expm1/implement.js +5 -0
- data/node_modules/es5-ext/test/math/expm1/index.js +3 -0
- data/node_modules/es5-ext/test/math/expm1/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/math/expm1/shim.js +9 -0
- data/node_modules/es5-ext/test/math/fround/implement.js +5 -0
- data/node_modules/es5-ext/test/math/fround/index.js +3 -0
- data/node_modules/es5-ext/test/math/fround/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/math/fround/shim.js +9 -0
- data/node_modules/es5-ext/test/math/hypot/implement.js +5 -0
- data/node_modules/es5-ext/test/math/hypot/index.js +3 -0
- data/node_modules/es5-ext/test/math/hypot/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/math/hypot/shim.js +11 -0
- data/node_modules/es5-ext/test/math/imul/implement.js +5 -0
- data/node_modules/es5-ext/test/math/imul/index.js +3 -0
- data/node_modules/es5-ext/test/math/imul/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/math/imul/shim.js +9 -0
- data/node_modules/es5-ext/test/math/log10/implement.js +5 -0
- data/node_modules/es5-ext/test/math/log10/index.js +3 -0
- data/node_modules/es5-ext/test/math/log10/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/math/log10/shim.js +10 -0
- data/node_modules/es5-ext/test/math/log1p/implement.js +5 -0
- data/node_modules/es5-ext/test/math/log1p/index.js +3 -0
- data/node_modules/es5-ext/test/math/log1p/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/math/log1p/shim.js +10 -0
- data/node_modules/es5-ext/test/math/log2/implement.js +5 -0
- data/node_modules/es5-ext/test/math/log2/index.js +3 -0
- data/node_modules/es5-ext/test/math/log2/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/math/log2/shim.js +10 -0
- data/node_modules/es5-ext/test/math/sign/implement.js +5 -0
- data/node_modules/es5-ext/test/math/sign/index.js +3 -0
- data/node_modules/es5-ext/test/math/sign/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/math/sign/shim.js +11 -0
- data/node_modules/es5-ext/test/math/sinh/implement.js +5 -0
- data/node_modules/es5-ext/test/math/sinh/index.js +3 -0
- data/node_modules/es5-ext/test/math/sinh/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/math/sinh/shim.js +13 -0
- data/node_modules/es5-ext/test/math/tanh/implement.js +5 -0
- data/node_modules/es5-ext/test/math/tanh/index.js +3 -0
- data/node_modules/es5-ext/test/math/tanh/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/math/tanh/shim.js +11 -0
- data/node_modules/es5-ext/test/math/trunc/implement.js +5 -0
- data/node_modules/es5-ext/test/math/trunc/index.js +3 -0
- data/node_modules/es5-ext/test/math/trunc/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/math/trunc/shim.js +16 -0
- data/node_modules/es5-ext/test/number/#/pad.js +7 -0
- data/node_modules/es5-ext/test/number/epsilon/implement.js +5 -0
- data/node_modules/es5-ext/test/number/epsilon/index.js +5 -0
- data/node_modules/es5-ext/test/number/epsilon/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/number/is-finite/implement.js +5 -0
- data/node_modules/es5-ext/test/number/is-finite/index.js +3 -0
- data/node_modules/es5-ext/test/number/is-finite/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/number/is-finite/shim.js +8 -0
- data/node_modules/es5-ext/test/number/is-integer/implement.js +5 -0
- data/node_modules/es5-ext/test/number/is-integer/index.js +3 -0
- data/node_modules/es5-ext/test/number/is-integer/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/number/is-integer/shim.js +9 -0
- data/node_modules/es5-ext/test/number/is-nan/implement.js +5 -0
- data/node_modules/es5-ext/test/number/is-nan/index.js +3 -0
- data/node_modules/es5-ext/test/number/is-nan/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/number/is-nan/shim.js +7 -0
- data/node_modules/es5-ext/test/number/is-natural.js +10 -0
- data/node_modules/es5-ext/test/number/is-number.js +13 -0
- data/node_modules/es5-ext/test/number/is-safe-integer/implement.js +5 -0
- data/node_modules/es5-ext/test/number/is-safe-integer/index.js +3 -0
- data/node_modules/es5-ext/test/number/is-safe-integer/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/number/is-safe-integer/shim.js +11 -0
- data/node_modules/es5-ext/test/number/max-safe-integer/implement.js +5 -0
- data/node_modules/es5-ext/test/number/max-safe-integer/index.js +5 -0
- data/node_modules/es5-ext/test/number/max-safe-integer/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/number/min-safe-integer/implement.js +5 -0
- data/node_modules/es5-ext/test/number/min-safe-integer/index.js +5 -0
- data/node_modules/es5-ext/test/number/min-safe-integer/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/number/to-integer.js +10 -0
- data/node_modules/es5-ext/test/number/to-pos-integer.js +10 -0
- data/node_modules/es5-ext/test/number/to-uint32.js +8 -0
- data/node_modules/es5-ext/test/object/_iterate.js +30 -0
- data/node_modules/es5-ext/test/object/assign/implement.js +5 -0
- data/node_modules/es5-ext/test/object/assign/index.js +3 -0
- data/node_modules/es5-ext/test/object/assign/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/object/assign/shim.js +11 -0
- data/node_modules/es5-ext/test/object/clear.js +13 -0
- data/node_modules/es5-ext/test/object/compact.js +14 -0
- data/node_modules/es5-ext/test/object/compare.js +13 -0
- data/node_modules/es5-ext/test/object/copy-deep.js +28 -0
- data/node_modules/es5-ext/test/object/copy.js +19 -0
- data/node_modules/es5-ext/test/object/count.js +11 -0
- data/node_modules/es5-ext/test/object/create.js +22 -0
- data/node_modules/es5-ext/test/object/ensure-natural-number-value.js +12 -0
- data/node_modules/es5-ext/test/object/ensure-natural-number.js +12 -0
- data/node_modules/es5-ext/test/object/eq.js +12 -0
- data/node_modules/es5-ext/test/object/every.js +21 -0
- data/node_modules/es5-ext/test/object/filter.js +6 -0
- data/node_modules/es5-ext/test/object/find-key.js +23 -0
- data/node_modules/es5-ext/test/object/find.js +23 -0
- data/node_modules/es5-ext/test/object/first-key.js +13 -0
- data/node_modules/es5-ext/test/object/flatten.js +6 -0
- data/node_modules/es5-ext/test/object/for-each.js +10 -0
- data/node_modules/es5-ext/test/object/get-property-names.js +18 -0
- data/node_modules/es5-ext/test/object/is-array-like.js +14 -0
- data/node_modules/es5-ext/test/object/is-callable.js +8 -0
- data/node_modules/es5-ext/test/object/is-copy-deep.js +46 -0
- data/node_modules/es5-ext/test/object/is-copy.js +18 -0
- data/node_modules/es5-ext/test/object/is-empty.js +6 -0
- data/node_modules/es5-ext/test/object/is-number-value.js +15 -0
- data/node_modules/es5-ext/test/object/is-object.js +13 -0
- data/node_modules/es5-ext/test/object/is-plain-object.js +18 -0
- data/node_modules/es5-ext/test/object/is-value.js +14 -0
- data/node_modules/es5-ext/test/object/is.js +12 -0
- data/node_modules/es5-ext/test/object/key-of.js +12 -0
- data/node_modules/es5-ext/test/object/keys/implement.js +5 -0
- data/node_modules/es5-ext/test/object/keys/index.js +3 -0
- data/node_modules/es5-ext/test/object/keys/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/object/keys/shim.js +8 -0
- data/node_modules/es5-ext/test/object/map-keys.js +7 -0
- data/node_modules/es5-ext/test/object/map.js +9 -0
- data/node_modules/es5-ext/test/object/mixin-prototypes.js +67 -0
- data/node_modules/es5-ext/test/object/mixin.js +69 -0
- data/node_modules/es5-ext/test/object/normalize-options.js +32 -0
- data/node_modules/es5-ext/test/object/primitive-set.js +15 -0
- data/node_modules/es5-ext/test/object/safe-traverse.js +15 -0
- data/node_modules/es5-ext/test/object/serialize.js +25 -0
- data/node_modules/es5-ext/test/object/set-prototype-of/implement.js +6 -0
- data/node_modules/es5-ext/test/object/set-prototype-of/index.js +23 -0
- data/node_modules/es5-ext/test/object/set-prototype-of/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/object/set-prototype-of/shim.js +23 -0
- data/node_modules/es5-ext/test/object/some.js +23 -0
- data/node_modules/es5-ext/test/object/to-array.js +15 -0
- data/node_modules/es5-ext/test/object/unserialize.js +24 -0
- data/node_modules/es5-ext/test/object/valid-callable.js +9 -0
- data/node_modules/es5-ext/test/object/valid-object.js +15 -0
- data/node_modules/es5-ext/test/object/valid-value.js +19 -0
- data/node_modules/es5-ext/test/object/validate-array-like-object.js +15 -0
- data/node_modules/es5-ext/test/object/validate-array-like.js +15 -0
- data/node_modules/es5-ext/test/object/validate-stringifiable-value.js +16 -0
- data/node_modules/es5-ext/test/object/validate-stringifiable.js +16 -0
- data/node_modules/es5-ext/test/reg-exp/#/index.js +12 -0
- data/node_modules/es5-ext/test/reg-exp/#/is-sticky.js +10 -0
- data/node_modules/es5-ext/test/reg-exp/#/is-unicode.js +10 -0
- data/node_modules/es5-ext/test/reg-exp/#/match/implement.js +5 -0
- data/node_modules/es5-ext/test/reg-exp/#/match/index.js +3 -0
- data/node_modules/es5-ext/test/reg-exp/#/match/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/reg-exp/#/match/shim.js +8 -0
- data/node_modules/es5-ext/test/reg-exp/#/replace/implement.js +5 -0
- data/node_modules/es5-ext/test/reg-exp/#/replace/index.js +3 -0
- data/node_modules/es5-ext/test/reg-exp/#/replace/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/reg-exp/#/replace/shim.js +5 -0
- data/node_modules/es5-ext/test/reg-exp/#/search/implement.js +5 -0
- data/node_modules/es5-ext/test/reg-exp/#/search/index.js +3 -0
- data/node_modules/es5-ext/test/reg-exp/#/search/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/reg-exp/#/search/shim.js +5 -0
- data/node_modules/es5-ext/test/reg-exp/#/split/implement.js +5 -0
- data/node_modules/es5-ext/test/reg-exp/#/split/index.js +3 -0
- data/node_modules/es5-ext/test/reg-exp/#/split/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/reg-exp/#/split/shim.js +5 -0
- data/node_modules/es5-ext/test/reg-exp/#/sticky/implement.js +5 -0
- data/node_modules/es5-ext/test/reg-exp/#/sticky/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/reg-exp/#/unicode/implement.js +5 -0
- data/node_modules/es5-ext/test/reg-exp/#/unicode/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/reg-exp/escape.js +6 -0
- data/node_modules/es5-ext/test/reg-exp/is-reg-exp.js +12 -0
- data/node_modules/es5-ext/test/reg-exp/valid-reg-exp.js +17 -0
- data/node_modules/es5-ext/test/string/#/@@iterator/implement.js +5 -0
- data/node_modules/es5-ext/test/string/#/@@iterator/index.js +3 -0
- data/node_modules/es5-ext/test/string/#/@@iterator/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/string/#/@@iterator/shim.js +9 -0
- data/node_modules/es5-ext/test/string/#/at.js +97 -0
- data/node_modules/es5-ext/test/string/#/camel-to-hyphen.js +7 -0
- data/node_modules/es5-ext/test/string/#/capitalize.js +9 -0
- data/node_modules/es5-ext/test/string/#/case-insensitive-compare.js +7 -0
- data/node_modules/es5-ext/test/string/#/code-point-at/implement.js +6 -0
- data/node_modules/es5-ext/test/string/#/code-point-at/index.js +3 -0
- data/node_modules/es5-ext/test/string/#/code-point-at/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/string/#/code-point-at/shim.js +81 -0
- data/node_modules/es5-ext/test/string/#/contains/implement.js +5 -0
- data/node_modules/es5-ext/test/string/#/contains/index.js +3 -0
- data/node_modules/es5-ext/test/string/#/contains/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/string/#/contains/shim.js +14 -0
- data/node_modules/es5-ext/test/string/#/ends-with/implement.js +5 -0
- data/node_modules/es5-ext/test/string/#/ends-with/index.js +3 -0
- data/node_modules/es5-ext/test/string/#/ends-with/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/string/#/ends-with/shim.js +16 -0
- data/node_modules/es5-ext/test/string/#/hyphen-to-camel.js +7 -0
- data/node_modules/es5-ext/test/string/#/indent.js +9 -0
- data/node_modules/es5-ext/test/string/#/last.js +6 -0
- data/node_modules/es5-ext/test/string/#/normalize/_data.js +3 -0
- data/node_modules/es5-ext/test/string/#/normalize/implement.js +5 -0
- data/node_modules/es5-ext/test/string/#/normalize/index.js +3 -0
- data/node_modules/es5-ext/test/string/#/normalize/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/string/#/normalize/shim.js +13 -0
- data/node_modules/es5-ext/test/string/#/pad.js +24 -0
- data/node_modules/es5-ext/test/string/#/plain-replace-all.js +11 -0
- data/node_modules/es5-ext/test/string/#/plain-replace.js +7 -0
- data/node_modules/es5-ext/test/string/#/repeat/implement.js +5 -0
- data/node_modules/es5-ext/test/string/#/repeat/index.js +3 -0
- data/node_modules/es5-ext/test/string/#/repeat/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/string/#/repeat/shim.js +8 -0
- data/node_modules/es5-ext/test/string/#/starts-with/implement.js +5 -0
- data/node_modules/es5-ext/test/string/#/starts-with/index.js +3 -0
- data/node_modules/es5-ext/test/string/#/starts-with/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/string/#/starts-with/shim.js +14 -0
- data/node_modules/es5-ext/test/string/#/uncapitalize.js +10 -0
- data/node_modules/es5-ext/test/string/format-method.js +7 -0
- data/node_modules/es5-ext/test/string/from-code-point/implement.js +5 -0
- data/node_modules/es5-ext/test/string/from-code-point/index.js +3 -0
- data/node_modules/es5-ext/test/string/from-code-point/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/string/from-code-point/shim.js +47 -0
- data/node_modules/es5-ext/test/string/is-string.js +11 -0
- data/node_modules/es5-ext/test/string/random-uniq.js +14 -0
- data/node_modules/es5-ext/test/string/raw/implement.js +5 -0
- data/node_modules/es5-ext/test/string/raw/index.js +3 -0
- data/node_modules/es5-ext/test/string/raw/is-implemented.js +3 -0
- data/node_modules/es5-ext/test/string/raw/shim.js +15 -0
- data/node_modules/es6-iterator/#/chain.js +40 -0
- data/node_modules/es6-iterator/.lint +11 -0
- data/node_modules/es6-iterator/.npmignore +4 -0
- data/node_modules/es6-iterator/.travis.yml +13 -0
- data/node_modules/es6-iterator/CHANGES +38 -0
- data/node_modules/es6-iterator/LICENSE +21 -0
- data/node_modules/es6-iterator/README.md +148 -0
- data/node_modules/es6-iterator/array.js +30 -0
- data/node_modules/es6-iterator/for-of.js +46 -0
- data/node_modules/es6-iterator/get.js +15 -0
- data/node_modules/es6-iterator/index.js +90 -0
- data/node_modules/es6-iterator/is-iterable.js +15 -0
- data/node_modules/es6-iterator/package.json +35 -0
- data/node_modules/es6-iterator/string.js +37 -0
- data/node_modules/es6-iterator/test/#/chain.js +23 -0
- data/node_modules/es6-iterator/test/array.js +67 -0
- data/node_modules/es6-iterator/test/for-of.js +40 -0
- data/node_modules/es6-iterator/test/get.js +17 -0
- data/node_modules/es6-iterator/test/index.js +99 -0
- data/node_modules/es6-iterator/test/is-iterable.js +19 -0
- data/node_modules/es6-iterator/test/string.js +23 -0
- data/node_modules/es6-iterator/test/valid-iterable.js +18 -0
- data/node_modules/es6-iterator/valid-iterable.js +8 -0
- data/node_modules/es6-map/.lint +13 -0
- data/node_modules/es6-map/.npmignore +4 -0
- data/node_modules/es6-map/.travis.yml +13 -0
- data/node_modules/es6-map/CHANGES +33 -0
- data/node_modules/es6-map/LICENSE +19 -0
- data/node_modules/es6-map/README.md +79 -0
- data/node_modules/es6-map/implement.js +7 -0
- data/node_modules/es6-map/index.js +3 -0
- data/node_modules/es6-map/is-implemented.js +32 -0
- data/node_modules/es6-map/is-map.js +12 -0
- data/node_modules/es6-map/is-native-implemented.js +9 -0
- data/node_modules/es6-map/lib/iterator-kinds.js +4 -0
- data/node_modules/es6-map/lib/iterator.js +38 -0
- data/node_modules/es6-map/lib/primitive-iterator.js +57 -0
- data/node_modules/es6-map/package.json +41 -0
- data/node_modules/es6-map/polyfill.js +104 -0
- data/node_modules/es6-map/primitive/index.js +117 -0
- data/node_modules/es6-map/test/implement.js +3 -0
- data/node_modules/es6-map/test/index.js +5 -0
- data/node_modules/es6-map/test/is-implemented.js +14 -0
- data/node_modules/es6-map/test/is-map.js +16 -0
- data/node_modules/es6-map/test/is-native-implemented.js +3 -0
- data/node_modules/es6-map/test/lib/iterator-kinds.js +5 -0
- data/node_modules/es6-map/test/lib/iterator.js +13 -0
- data/node_modules/es6-map/test/lib/primitive-iterator.js +130 -0
- data/node_modules/es6-map/test/polyfill.js +60 -0
- data/node_modules/es6-map/test/primitive/index.js +59 -0
- data/node_modules/es6-map/test/valid-map.js +19 -0
- data/node_modules/es6-map/valid-map.js +8 -0
- data/node_modules/es6-set/.lint +13 -0
- data/node_modules/es6-set/.npmignore +4 -0
- data/node_modules/es6-set/.travis.yml +13 -0
- data/node_modules/es6-set/CHANGES +34 -0
- data/node_modules/es6-set/LICENSE +19 -0
- data/node_modules/es6-set/README.md +74 -0
- data/node_modules/es6-set/ext/copy.js +5 -0
- data/node_modules/es6-set/ext/every.js +18 -0
- data/node_modules/es6-set/ext/filter.js +18 -0
- data/node_modules/es6-set/ext/get-first.js +5 -0
- data/node_modules/es6-set/ext/get-last.js +11 -0
- data/node_modules/es6-set/ext/some.js +18 -0
- data/node_modules/es6-set/implement.js +7 -0
- data/node_modules/es6-set/index.js +3 -0
- data/node_modules/es6-set/is-implemented.js +24 -0
- data/node_modules/es6-set/is-native-implemented.js +9 -0
- data/node_modules/es6-set/is-set.js +12 -0
- data/node_modules/es6-set/lib/iterator.js +30 -0
- data/node_modules/es6-set/lib/primitive-iterator.js +53 -0
- data/node_modules/es6-set/package.json +36 -0
- data/node_modules/es6-set/polyfill.js +80 -0
- data/node_modules/es6-set/primitive/index.js +87 -0
- data/node_modules/es6-set/test/ext/copy.js +12 -0
- data/node_modules/es6-set/test/ext/every.js +9 -0
- data/node_modules/es6-set/test/ext/filter.js +12 -0
- data/node_modules/es6-set/test/ext/get-first.js +12 -0
- data/node_modules/es6-set/test/ext/get-last.js +12 -0
- data/node_modules/es6-set/test/ext/some.js +10 -0
- data/node_modules/es6-set/test/implement.js +3 -0
- data/node_modules/es6-set/test/index.js +3 -0
- data/node_modules/es6-set/test/is-implemented.js +14 -0
- data/node_modules/es6-set/test/is-native-implemented.js +3 -0
- data/node_modules/es6-set/test/is-set.js +16 -0
- data/node_modules/es6-set/test/lib/iterator.js +13 -0
- data/node_modules/es6-set/test/lib/primitive-iterator.js +113 -0
- data/node_modules/es6-set/test/polyfill.js +50 -0
- data/node_modules/es6-set/test/primitive/index.js +50 -0
- data/node_modules/es6-set/test/valid-set.js +19 -0
- data/node_modules/es6-set/valid-set.js +8 -0
- data/node_modules/es6-symbol/.lint +15 -0
- data/node_modules/es6-symbol/.npmignore +4 -0
- data/node_modules/es6-symbol/.travis.yml +11 -0
- data/node_modules/es6-symbol/CHANGES +57 -0
- data/node_modules/es6-symbol/LICENSE +19 -0
- data/node_modules/es6-symbol/README.md +71 -0
- data/node_modules/es6-symbol/implement.js +7 -0
- data/node_modules/es6-symbol/index.js +3 -0
- data/node_modules/es6-symbol/is-implemented.js +17 -0
- data/node_modules/es6-symbol/is-native-implemented.js +5 -0
- data/node_modules/es6-symbol/is-symbol.js +9 -0
- data/node_modules/es6-symbol/package.json +35 -0
- data/node_modules/es6-symbol/polyfill.js +118 -0
- data/node_modules/es6-symbol/test/implement.js +3 -0
- data/node_modules/es6-symbol/test/index.js +12 -0
- data/node_modules/es6-symbol/test/is-implemented.js +14 -0
- data/node_modules/es6-symbol/test/is-native-implemented.js +3 -0
- data/node_modules/es6-symbol/test/is-symbol.js +16 -0
- data/node_modules/es6-symbol/test/polyfill.js +29 -0
- data/node_modules/es6-symbol/test/validate-symbol.js +19 -0
- data/node_modules/es6-symbol/validate-symbol.js +8 -0
- data/node_modules/es6-weak-map/.lint +13 -0
- data/node_modules/es6-weak-map/.npmignore +4 -0
- data/node_modules/es6-weak-map/.travis.yml +13 -0
- data/node_modules/es6-weak-map/CHANGES +45 -0
- data/node_modules/es6-weak-map/LICENSE +19 -0
- data/node_modules/es6-weak-map/README.md +63 -0
- data/node_modules/es6-weak-map/implement.js +7 -0
- data/node_modules/es6-weak-map/index.js +3 -0
- data/node_modules/es6-weak-map/is-implemented.js +20 -0
- data/node_modules/es6-weak-map/is-native-implemented.js +8 -0
- data/node_modules/es6-weak-map/is-weak-map.js +13 -0
- data/node_modules/es6-weak-map/package.json +38 -0
- data/node_modules/es6-weak-map/polyfill.js +66 -0
- data/node_modules/es6-weak-map/test/implement.js +3 -0
- data/node_modules/es6-weak-map/test/index.js +6 -0
- data/node_modules/es6-weak-map/test/is-implemented.js +14 -0
- data/node_modules/es6-weak-map/test/is-native-implemented.js +3 -0
- data/node_modules/es6-weak-map/test/is-weak-map.js +16 -0
- data/node_modules/es6-weak-map/test/polyfill.js +23 -0
- data/node_modules/es6-weak-map/test/valid-weak-map.js +19 -0
- data/node_modules/es6-weak-map/valid-weak-map.js +8 -0
- data/node_modules/escape-string-regexp/index.js +11 -0
- data/node_modules/escape-string-regexp/license +21 -0
- data/node_modules/escape-string-regexp/package.json +41 -0
- data/node_modules/escape-string-regexp/readme.md +27 -0
- data/node_modules/escope/.babelrc +3 -0
- data/node_modules/escope/.jshintrc +20 -0
- data/node_modules/escope/CONTRIBUTING.md +5 -0
- data/node_modules/escope/LICENSE.BSD +19 -0
- data/node_modules/escope/README.md +79 -0
- data/node_modules/escope/bower.json +13 -0
- data/node_modules/escope/gulpfile.js +153 -0
- data/node_modules/escope/lib/definition.js +106 -0
- data/node_modules/escope/lib/index.js +177 -0
- data/node_modules/escope/lib/pattern-visitor.js +176 -0
- data/node_modules/escope/lib/reference.js +193 -0
- data/node_modules/escope/lib/referencer.js +639 -0
- data/node_modules/escope/lib/scope-manager.js +297 -0
- data/node_modules/escope/lib/scope.js +764 -0
- data/node_modules/escope/lib/variable.js +94 -0
- data/node_modules/escope/package.json +57 -0
- data/node_modules/escope/powered-test/arguments.js +34 -0
- data/node_modules/escope/powered-test/catch-scope.js +39 -0
- data/node_modules/escope/powered-test/es6-arrow-function-expression.js +57 -0
- data/node_modules/escope/powered-test/es6-block-scope.js +136 -0
- data/node_modules/escope/powered-test/es6-catch.js +39 -0
- data/node_modules/escope/powered-test/es6-class.js +155 -0
- data/node_modules/escope/powered-test/es6-destructuring-assignments.js +504 -0
- data/node_modules/escope/powered-test/es6-export.js +202 -0
- data/node_modules/escope/powered-test/es6-import.js +103 -0
- data/node_modules/escope/powered-test/es6-iteration-scope.js +167 -0
- data/node_modules/escope/powered-test/es6-object.js +57 -0
- data/node_modules/escope/powered-test/es6-rest-args.js +35 -0
- data/node_modules/escope/powered-test/es6-switch.js +43 -0
- data/node_modules/escope/powered-test/es6-template-literal.js +45 -0
- data/node_modules/escope/powered-test/function-expression-name.js +42 -0
- data/node_modules/escope/powered-test/global-increment.js +28 -0
- data/node_modules/escope/powered-test/implicit-global-reference.js +113 -0
- data/node_modules/escope/powered-test/label-children.js +34 -0
- data/node_modules/escope/powered-test/label.js +47 -0
- data/node_modules/escope/powered-test/nodejs-scope.js +65 -0
- data/node_modules/escope/powered-test/object-expression.js +56 -0
- data/node_modules/escope/powered-test/optimistic.js +40 -0
- data/node_modules/escope/powered-test/with-scope.js +40 -0
- data/node_modules/escope/src/definition.js +78 -0
- data/node_modules/escope/src/index.js +146 -0
- data/node_modules/escope/src/pattern-visitor.js +134 -0
- data/node_modules/escope/src/reference.js +154 -0
- data/node_modules/escope/src/referencer.js +584 -0
- data/node_modules/escope/src/scope-manager.js +245 -0
- data/node_modules/escope/src/scope.js +647 -0
- data/node_modules/escope/src/variable.js +81 -0
- data/node_modules/escope/third_party/espree.js +56 -0
- data/node_modules/eslint/CHANGELOG.md +3157 -0
- data/node_modules/eslint/LICENSE +20 -0
- data/node_modules/eslint/README.md +186 -0
- data/node_modules/eslint/bin/eslint.js +92 -0
- data/node_modules/eslint/conf/blank-script.json +21 -0
- data/node_modules/eslint/conf/cli-options.js +29 -0
- data/node_modules/eslint/conf/environments.js +107 -0
- data/node_modules/eslint/conf/eslint-all.js +29 -0
- data/node_modules/eslint/conf/eslint.json +225 -0
- data/node_modules/eslint/conf/json-schema-schema.json +150 -0
- data/node_modules/eslint/conf/replacements.json +22 -0
- data/node_modules/eslint/lib/api.js +13 -0
- data/node_modules/eslint/lib/ast-utils.js +555 -0
- data/node_modules/eslint/lib/cli-engine.js +803 -0
- data/node_modules/eslint/lib/cli.js +210 -0
- data/node_modules/eslint/lib/code-path-analysis/code-path-analyzer.js +656 -0
- data/node_modules/eslint/lib/code-path-analysis/code-path-segment.js +241 -0
- data/node_modules/eslint/lib/code-path-analysis/code-path-state.js +1428 -0
- data/node_modules/eslint/lib/code-path-analysis/code-path.js +234 -0
- data/node_modules/eslint/lib/code-path-analysis/debug-helpers.js +199 -0
- data/node_modules/eslint/lib/code-path-analysis/fork-context.js +262 -0
- data/node_modules/eslint/lib/code-path-analysis/id-generator.js +43 -0
- data/node_modules/eslint/lib/config.js +304 -0
- data/node_modules/eslint/lib/config/autoconfig.js +372 -0
- data/node_modules/eslint/lib/config/config-file.js +579 -0
- data/node_modules/eslint/lib/config/config-initializer.js +494 -0
- data/node_modules/eslint/lib/config/config-ops.js +278 -0
- data/node_modules/eslint/lib/config/config-rule.js +323 -0
- data/node_modules/eslint/lib/config/config-validator.js +178 -0
- data/node_modules/eslint/lib/config/environments.js +85 -0
- data/node_modules/eslint/lib/config/plugins.js +146 -0
- data/node_modules/eslint/lib/eslint.js +1191 -0
- data/node_modules/eslint/lib/file-finder.js +144 -0
- data/node_modules/eslint/lib/formatters/checkstyle.js +82 -0
- data/node_modules/eslint/lib/formatters/compact.js +60 -0
- data/node_modules/eslint/lib/formatters/html-template-message.html +8 -0
- data/node_modules/eslint/lib/formatters/html-template-page.html +113 -0
- data/node_modules/eslint/lib/formatters/html-template-result.html +6 -0
- data/node_modules/eslint/lib/formatters/html.js +131 -0
- data/node_modules/eslint/lib/formatters/jslint-xml.js +40 -0
- data/node_modules/eslint/lib/formatters/json.js +13 -0
- data/node_modules/eslint/lib/formatters/junit.js +70 -0
- data/node_modules/eslint/lib/formatters/stylish.js +90 -0
- data/node_modules/eslint/lib/formatters/table.js +158 -0
- data/node_modules/eslint/lib/formatters/tap.js +90 -0
- data/node_modules/eslint/lib/formatters/unix.js +59 -0
- data/node_modules/eslint/lib/formatters/visualstudio.js +63 -0
- data/node_modules/eslint/lib/ignored-paths.js +225 -0
- data/node_modules/eslint/lib/load-rules.js +41 -0
- data/node_modules/eslint/lib/logging.js +28 -0
- data/node_modules/eslint/lib/options.js +223 -0
- data/node_modules/eslint/lib/rule-context.js +160 -0
- data/node_modules/eslint/lib/rules.js +107 -0
- data/node_modules/eslint/lib/rules/accessor-pairs.js +156 -0
- data/node_modules/eslint/lib/rules/array-bracket-spacing.js +215 -0
- data/node_modules/eslint/lib/rules/array-callback-return.js +249 -0
- data/node_modules/eslint/lib/rules/arrow-body-style.js +109 -0
- data/node_modules/eslint/lib/rules/arrow-parens.js +63 -0
- data/node_modules/eslint/lib/rules/arrow-spacing.js +146 -0
- data/node_modules/eslint/lib/rules/block-scoped-var.js +118 -0
- data/node_modules/eslint/lib/rules/block-spacing.js +131 -0
- data/node_modules/eslint/lib/rules/brace-style.js +244 -0
- data/node_modules/eslint/lib/rules/callback-return.js +175 -0
- data/node_modules/eslint/lib/rules/camelcase.js +134 -0
- data/node_modules/eslint/lib/rules/comma-dangle.js +223 -0
- data/node_modules/eslint/lib/rules/comma-spacing.js +194 -0
- data/node_modules/eslint/lib/rules/comma-style.js +200 -0
- data/node_modules/eslint/lib/rules/complexity.js +162 -0
- data/node_modules/eslint/lib/rules/computed-property-spacing.js +164 -0
- data/node_modules/eslint/lib/rules/consistent-return.js +161 -0
- data/node_modules/eslint/lib/rules/consistent-this.js +148 -0
- data/node_modules/eslint/lib/rules/constructor-super.js +385 -0
- data/node_modules/eslint/lib/rules/curly.js +304 -0
- data/node_modules/eslint/lib/rules/default-case.js +94 -0
- data/node_modules/eslint/lib/rules/dot-location.js +72 -0
- data/node_modules/eslint/lib/rules/dot-notation.js +70 -0
- data/node_modules/eslint/lib/rules/eol-last.js +62 -0
- data/node_modules/eslint/lib/rules/eqeqeq.js +110 -0
- data/node_modules/eslint/lib/rules/func-names.js +64 -0
- data/node_modules/eslint/lib/rules/func-style.js +93 -0
- data/node_modules/eslint/lib/rules/generator-star-spacing.js +142 -0
- data/node_modules/eslint/lib/rules/global-require.js +79 -0
- data/node_modules/eslint/lib/rules/guard-for-in.js +42 -0
- data/node_modules/eslint/lib/rules/handle-callback-err.js +91 -0
- data/node_modules/eslint/lib/rules/id-blacklist.js +117 -0
- data/node_modules/eslint/lib/rules/id-length.js +114 -0
- data/node_modules/eslint/lib/rules/id-match.js +140 -0
- data/node_modules/eslint/lib/rules/indent.js +769 -0
- data/node_modules/eslint/lib/rules/init-declarations.js +125 -0
- data/node_modules/eslint/lib/rules/jsx-quotes.js +86 -0
- data/node_modules/eslint/lib/rules/key-spacing.js +492 -0
- data/node_modules/eslint/lib/rules/keyword-spacing.js +544 -0
- data/node_modules/eslint/lib/rules/linebreak-style.js +91 -0
- data/node_modules/eslint/lib/rules/lines-around-comment.js +367 -0
- data/node_modules/eslint/lib/rules/max-depth.js +149 -0
- data/node_modules/eslint/lib/rules/max-len.js +261 -0
- data/node_modules/eslint/lib/rules/max-lines.js +148 -0
- data/node_modules/eslint/lib/rules/max-nested-callbacks.js +112 -0
- data/node_modules/eslint/lib/rules/max-params.js +83 -0
- data/node_modules/eslint/lib/rules/max-statements-per-line.js +174 -0
- data/node_modules/eslint/lib/rules/max-statements.js +159 -0
- data/node_modules/eslint/lib/rules/new-cap.js +259 -0
- data/node_modules/eslint/lib/rules/new-parens.js +41 -0
- data/node_modules/eslint/lib/rules/newline-after-var.js +177 -0
- data/node_modules/eslint/lib/rules/newline-before-return.js +151 -0
- data/node_modules/eslint/lib/rules/newline-per-chained-call.js +81 -0
- data/node_modules/eslint/lib/rules/no-alert.js +144 -0
- data/node_modules/eslint/lib/rules/no-array-constructor.js +47 -0
- data/node_modules/eslint/lib/rules/no-bitwise.js +109 -0
- data/node_modules/eslint/lib/rules/no-caller.js +39 -0
- data/node_modules/eslint/lib/rules/no-case-declarations.js +57 -0
- data/node_modules/eslint/lib/rules/no-catch-shadow.js +68 -0
- data/node_modules/eslint/lib/rules/no-class-assign.js +57 -0
- data/node_modules/eslint/lib/rules/no-cond-assign.js +146 -0
- data/node_modules/eslint/lib/rules/no-confusing-arrow.js +66 -0
- data/node_modules/eslint/lib/rules/no-console.js +65 -0
- data/node_modules/eslint/lib/rules/no-const-assign.js +50 -0
- data/node_modules/eslint/lib/rules/no-constant-condition.js +143 -0
- data/node_modules/eslint/lib/rules/no-continue.js +32 -0
- data/node_modules/eslint/lib/rules/no-control-regex.js +95 -0
- data/node_modules/eslint/lib/rules/no-debugger.js +32 -0
- data/node_modules/eslint/lib/rules/no-delete-var.js +35 -0
- data/node_modules/eslint/lib/rules/no-div-regex.js +38 -0
- data/node_modules/eslint/lib/rules/no-dupe-args.js +73 -0
- data/node_modules/eslint/lib/rules/no-dupe-class-members.js +109 -0
- data/node_modules/eslint/lib/rules/no-dupe-keys.js +56 -0
- data/node_modules/eslint/lib/rules/no-duplicate-case.js +43 -0
- data/node_modules/eslint/lib/rules/no-duplicate-imports.js +134 -0
- data/node_modules/eslint/lib/rules/no-else-return.js +158 -0
- data/node_modules/eslint/lib/rules/no-empty-character-class.js +57 -0
- data/node_modules/eslint/lib/rules/no-empty-function.js +160 -0
- data/node_modules/eslint/lib/rules/no-empty-pattern.js +36 -0
- data/node_modules/eslint/lib/rules/no-empty.js +74 -0
- data/node_modules/eslint/lib/rules/no-eq-null.js +39 -0
- data/node_modules/eslint/lib/rules/no-eval.js +308 -0
- data/node_modules/eslint/lib/rules/no-ex-assign.js +47 -0
- data/node_modules/eslint/lib/rules/no-extend-native.js +111 -0
- data/node_modules/eslint/lib/rules/no-extra-bind.js +156 -0
- data/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +90 -0
- data/node_modules/eslint/lib/rules/no-extra-label.js +140 -0
- data/node_modules/eslint/lib/rules/no-extra-parens.js +580 -0
- data/node_modules/eslint/lib/rules/no-extra-semi.js +105 -0
- data/node_modules/eslint/lib/rules/no-fallthrough.js +135 -0
- data/node_modules/eslint/lib/rules/no-floating-decimal.js +40 -0
- data/node_modules/eslint/lib/rules/no-func-assign.js +66 -0
- data/node_modules/eslint/lib/rules/no-implicit-coercion.js +258 -0
- data/node_modules/eslint/lib/rules/no-implicit-globals.js +55 -0
- data/node_modules/eslint/lib/rules/no-implied-eval.js +160 -0
- data/node_modules/eslint/lib/rules/no-inline-comments.js +64 -0
- data/node_modules/eslint/lib/rules/no-inner-declarations.js +89 -0
- data/node_modules/eslint/lib/rules/no-invalid-regexp.js +96 -0
- data/node_modules/eslint/lib/rules/no-invalid-this.js +122 -0
- data/node_modules/eslint/lib/rules/no-irregular-whitespace.js +250 -0
- data/node_modules/eslint/lib/rules/no-iterator.js +38 -0
- data/node_modules/eslint/lib/rules/no-label-var.js +67 -0
- data/node_modules/eslint/lib/rules/no-labels.js +143 -0
- data/node_modules/eslint/lib/rules/no-lone-blocks.js +112 -0
- data/node_modules/eslint/lib/rules/no-lonely-if.js +40 -0
- data/node_modules/eslint/lib/rules/no-loop-func.js +198 -0
- data/node_modules/eslint/lib/rules/no-magic-numbers.js +144 -0
- data/node_modules/eslint/lib/rules/no-mixed-operators.js +212 -0
- data/node_modules/eslint/lib/rules/no-mixed-requires.js +222 -0
- data/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +144 -0
- data/node_modules/eslint/lib/rules/no-multi-spaces.js +150 -0
- data/node_modules/eslint/lib/rules/no-multi-str.js +51 -0
- data/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +204 -0
- data/node_modules/eslint/lib/rules/no-native-reassign.js +83 -0
- data/node_modules/eslint/lib/rules/no-negated-condition.js +82 -0
- data/node_modules/eslint/lib/rules/no-negated-in-lhs.js +35 -0
- data/node_modules/eslint/lib/rules/no-nested-ternary.js +34 -0
- data/node_modules/eslint/lib/rules/no-new-func.js +47 -0
- data/node_modules/eslint/lib/rules/no-new-object.js +35 -0
- data/node_modules/eslint/lib/rules/no-new-require.js +35 -0
- data/node_modules/eslint/lib/rules/no-new-symbol.js +43 -0
- data/node_modules/eslint/lib/rules/no-new-wrappers.js +37 -0
- data/node_modules/eslint/lib/rules/no-new.js +37 -0
- data/node_modules/eslint/lib/rules/no-obj-calls.js +39 -0
- data/node_modules/eslint/lib/rules/no-octal-escape.js +49 -0
- data/node_modules/eslint/lib/rules/no-octal.js +35 -0
- data/node_modules/eslint/lib/rules/no-param-reassign.js +147 -0
- data/node_modules/eslint/lib/rules/no-path-concat.js +49 -0
- data/node_modules/eslint/lib/rules/no-plusplus.js +55 -0
- data/node_modules/eslint/lib/rules/no-process-env.js +39 -0
- data/node_modules/eslint/lib/rules/no-process-exit.js +43 -0
- data/node_modules/eslint/lib/rules/no-proto.js +38 -0
- data/node_modules/eslint/lib/rules/no-prototype-builtins.js +52 -0
- data/node_modules/eslint/lib/rules/no-redeclare.js +106 -0
- data/node_modules/eslint/lib/rules/no-regex-spaces.js +46 -0
- data/node_modules/eslint/lib/rules/no-restricted-globals.js +80 -0
- data/node_modules/eslint/lib/rules/no-restricted-imports.js +51 -0
- data/node_modules/eslint/lib/rules/no-restricted-modules.js +91 -0
- data/node_modules/eslint/lib/rules/no-restricted-syntax.js +53 -0
- data/node_modules/eslint/lib/rules/no-return-assign.js +78 -0
- data/node_modules/eslint/lib/rules/no-script-url.js +44 -0
- data/node_modules/eslint/lib/rules/no-self-assign.js +133 -0
- data/node_modules/eslint/lib/rules/no-self-compare.js +40 -0
- data/node_modules/eslint/lib/rules/no-sequences.js +109 -0
- data/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +63 -0
- data/node_modules/eslint/lib/rules/no-shadow.js +188 -0
- data/node_modules/eslint/lib/rules/no-spaced-func.js +71 -0
- data/node_modules/eslint/lib/rules/no-sparse-arrays.js +43 -0
- data/node_modules/eslint/lib/rules/no-sync.js +40 -0
- data/node_modules/eslint/lib/rules/no-ternary.js +34 -0
- data/node_modules/eslint/lib/rules/no-this-before-super.js +299 -0
- data/node_modules/eslint/lib/rules/no-throw-literal.js +79 -0
- data/node_modules/eslint/lib/rules/no-trailing-spaces.js +135 -0
- data/node_modules/eslint/lib/rules/no-undef-init.js +38 -0
- data/node_modules/eslint/lib/rules/no-undef.js +71 -0
- data/node_modules/eslint/lib/rules/no-undefined.js +38 -0
- data/node_modules/eslint/lib/rules/no-underscore-dangle.js +154 -0
- data/node_modules/eslint/lib/rules/no-unexpected-multiline.js +81 -0
- data/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +367 -0
- data/node_modules/eslint/lib/rules/no-unneeded-ternary.js +70 -0
- data/node_modules/eslint/lib/rules/no-unreachable.js +102 -0
- data/node_modules/eslint/lib/rules/no-unsafe-finally.js +99 -0
- data/node_modules/eslint/lib/rules/no-unused-expressions.js +117 -0
- data/node_modules/eslint/lib/rules/no-unused-labels.js +90 -0
- data/node_modules/eslint/lib/rules/no-unused-vars.js +342 -0
- data/node_modules/eslint/lib/rules/no-use-before-define.js +246 -0
- data/node_modules/eslint/lib/rules/no-useless-call.js +107 -0
- data/node_modules/eslint/lib/rules/no-useless-computed-key.js +39 -0
- data/node_modules/eslint/lib/rules/no-useless-concat.js +104 -0
- data/node_modules/eslint/lib/rules/no-useless-constructor.js +182 -0
- data/node_modules/eslint/lib/rules/no-useless-escape.js +130 -0
- data/node_modules/eslint/lib/rules/no-useless-rename.js +150 -0
- data/node_modules/eslint/lib/rules/no-var.js +35 -0
- data/node_modules/eslint/lib/rules/no-void.js +37 -0
- data/node_modules/eslint/lib/rules/no-warning-comments.js +130 -0
- data/node_modules/eslint/lib/rules/no-whitespace-before-property.js +97 -0
- data/node_modules/eslint/lib/rules/no-with.js +32 -0
- data/node_modules/eslint/lib/rules/object-curly-newline.js +209 -0
- data/node_modules/eslint/lib/rules/object-curly-spacing.js +286 -0
- data/node_modules/eslint/lib/rules/object-property-newline.js +73 -0
- data/node_modules/eslint/lib/rules/object-shorthand.js +247 -0
- data/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +83 -0
- data/node_modules/eslint/lib/rules/one-var.js +332 -0
- data/node_modules/eslint/lib/rules/operator-assignment.js +133 -0
- data/node_modules/eslint/lib/rules/operator-linebreak.js +159 -0
- data/node_modules/eslint/lib/rules/padded-blocks.js +245 -0
- data/node_modules/eslint/lib/rules/prefer-arrow-callback.js +254 -0
- data/node_modules/eslint/lib/rules/prefer-const.js +307 -0
- data/node_modules/eslint/lib/rules/prefer-reflect.js +111 -0
- data/node_modules/eslint/lib/rules/prefer-rest-params.js +83 -0
- data/node_modules/eslint/lib/rules/prefer-spread.js +103 -0
- data/node_modules/eslint/lib/rules/prefer-template.js +106 -0
- data/node_modules/eslint/lib/rules/quote-props.js +231 -0
- data/node_modules/eslint/lib/rules/quotes.js +260 -0
- data/node_modules/eslint/lib/rules/radix.js +171 -0
- data/node_modules/eslint/lib/rules/require-jsdoc.js +106 -0
- data/node_modules/eslint/lib/rules/require-yield.js +73 -0
- data/node_modules/eslint/lib/rules/rest-spread-spacing.js +107 -0
- data/node_modules/eslint/lib/rules/semi-spacing.js +222 -0
- data/node_modules/eslint/lib/rules/semi.js +226 -0
- data/node_modules/eslint/lib/rules/sort-imports.js +175 -0
- data/node_modules/eslint/lib/rules/sort-vars.js +63 -0
- data/node_modules/eslint/lib/rules/space-before-blocks.js +151 -0
- data/node_modules/eslint/lib/rules/space-before-function-paren.js +142 -0
- data/node_modules/eslint/lib/rules/space-in-parens.js +281 -0
- data/node_modules/eslint/lib/rules/space-infix-ops.js +162 -0
- data/node_modules/eslint/lib/rules/space-unary-ops.js +280 -0
- data/node_modules/eslint/lib/rules/spaced-comment.js +314 -0
- data/node_modules/eslint/lib/rules/strict.js +221 -0
- data/node_modules/eslint/lib/rules/template-curly-spacing.js +115 -0
- data/node_modules/eslint/lib/rules/unicode-bom.js +66 -0
- data/node_modules/eslint/lib/rules/use-isnan.js +34 -0
- data/node_modules/eslint/lib/rules/valid-jsdoc.js +396 -0
- data/node_modules/eslint/lib/rules/valid-typeof.js +52 -0
- data/node_modules/eslint/lib/rules/vars-on-top.js +149 -0
- data/node_modules/eslint/lib/rules/wrap-iife.js +66 -0
- data/node_modules/eslint/lib/rules/wrap-regex.js +49 -0
- data/node_modules/eslint/lib/rules/yield-star-spacing.js +113 -0
- data/node_modules/eslint/lib/rules/yoda.js +257 -0
- data/node_modules/eslint/lib/testers/event-generator-tester.js +62 -0
- data/node_modules/eslint/lib/testers/rule-tester.js +466 -0
- data/node_modules/eslint/lib/timing.js +144 -0
- data/node_modules/eslint/lib/token-store.js +203 -0
- data/node_modules/eslint/lib/util/comment-event-generator.js +115 -0
- data/node_modules/eslint/lib/util/glob-util.js +180 -0
- data/node_modules/eslint/lib/util/hash.js +35 -0
- data/node_modules/eslint/lib/util/keywords.js +67 -0
- data/node_modules/eslint/lib/util/module-resolver.js +88 -0
- data/node_modules/eslint/lib/util/node-event-generator.js +53 -0
- data/node_modules/eslint/lib/util/npm-util.js +135 -0
- data/node_modules/eslint/lib/util/path-util.js +75 -0
- data/node_modules/eslint/lib/util/rule-fixer.js +145 -0
- data/node_modules/eslint/lib/util/source-code-fixer.js +137 -0
- data/node_modules/eslint/lib/util/source-code-util.js +112 -0
- data/node_modules/eslint/lib/util/source-code.js +304 -0
- data/node_modules/eslint/lib/util/traverser.js +56 -0
- data/node_modules/eslint/messages/plugin-missing.txt +9 -0
- data/node_modules/eslint/node_modules/.bin/js-yaml +1 -0
- data/node_modules/eslint/node_modules/.bin/mkdirp +1 -0
- data/node_modules/eslint/node_modules/.bin/shjs +1 -0
- data/node_modules/eslint/node_modules/.bin/strip-json-comments +1 -0
- data/node_modules/eslint/package.json +118 -0
- data/node_modules/espree/CHANGELOG.md +358 -0
- data/node_modules/espree/LICENSE +22 -0
- data/node_modules/espree/README.md +147 -0
- data/node_modules/espree/espree.js +822 -0
- data/node_modules/espree/lib/ast-node-types.js +97 -0
- data/node_modules/espree/lib/comment-attachment.js +175 -0
- data/node_modules/espree/lib/features.js +32 -0
- data/node_modules/espree/lib/token-translator.js +256 -0
- data/node_modules/espree/lib/visitor-keys.js +127 -0
- data/node_modules/espree/node_modules/.bin/acorn +1 -0
- data/node_modules/espree/package.json +60 -0
- data/node_modules/esprima/ChangeLog +209 -0
- data/node_modules/esprima/LICENSE.BSD +21 -0
- data/node_modules/esprima/README.md +44 -0
- data/node_modules/esprima/bin/esparse.js +139 -0
- data/node_modules/esprima/bin/esvalidate.js +236 -0
- data/node_modules/esprima/dist/esprima.js +6401 -0
- data/node_modules/esprima/package.json +109 -0
- data/node_modules/esrecurse/esrecurse.js +135 -0
- data/node_modules/esrecurse/gulpfile.coffee +79 -0
- data/node_modules/esrecurse/node_modules/estraverse/.jshintrc +16 -0
- data/node_modules/esrecurse/node_modules/estraverse/LICENSE.BSD +19 -0
- data/node_modules/esrecurse/node_modules/estraverse/README.md +124 -0
- data/node_modules/esrecurse/node_modules/estraverse/estraverse.js +843 -0
- data/node_modules/esrecurse/node_modules/estraverse/gulpfile.js +70 -0
- data/node_modules/esrecurse/node_modules/estraverse/package.json +39 -0
- data/node_modules/esrecurse/package.json +45 -0
- data/node_modules/estraverse/.babelrc +3 -0
- data/node_modules/estraverse/.jshintrc +16 -0
- data/node_modules/estraverse/LICENSE.BSD +19 -0
- data/node_modules/estraverse/estraverse.js +849 -0
- data/node_modules/estraverse/gulpfile.js +70 -0
- data/node_modules/estraverse/package.json +40 -0
- data/node_modules/esutils/LICENSE.BSD +19 -0
- data/node_modules/esutils/README.md +169 -0
- data/node_modules/esutils/lib/ast.js +144 -0
- data/node_modules/esutils/lib/code.js +135 -0
- data/node_modules/esutils/lib/keyword.js +165 -0
- data/node_modules/esutils/lib/utils.js +33 -0
- data/node_modules/esutils/package.json +49 -0
- data/node_modules/event-emitter/.lint +15 -0
- data/node_modules/event-emitter/.npmignore +3 -0
- data/node_modules/event-emitter/.testignore +1 -0
- data/node_modules/event-emitter/.travis.yml +16 -0
- data/node_modules/event-emitter/CHANGES +73 -0
- data/node_modules/event-emitter/LICENSE +19 -0
- data/node_modules/event-emitter/README.md +98 -0
- data/node_modules/event-emitter/all-off.js +19 -0
- data/node_modules/event-emitter/benchmark/many-on.js +83 -0
- data/node_modules/event-emitter/benchmark/single-on.js +73 -0
- data/node_modules/event-emitter/emit-error.js +13 -0
- data/node_modules/event-emitter/has-listeners.js +16 -0
- data/node_modules/event-emitter/index.js +132 -0
- data/node_modules/event-emitter/package.json +34 -0
- data/node_modules/event-emitter/pipe.js +42 -0
- data/node_modules/event-emitter/test/all-off.js +48 -0
- data/node_modules/event-emitter/test/emit-error.js +14 -0
- data/node_modules/event-emitter/test/has-listeners.js +42 -0
- data/node_modules/event-emitter/test/index.js +107 -0
- data/node_modules/event-emitter/test/pipe.js +53 -0
- data/node_modules/event-emitter/test/unify.js +123 -0
- data/node_modules/event-emitter/unify.js +50 -0
- data/node_modules/exit-hook/index.js +30 -0
- data/node_modules/exit-hook/package.json +39 -0
- data/node_modules/exit-hook/readme.md +40 -0
- data/node_modules/fast-levenshtein/LICENSE.md +25 -0
- data/node_modules/fast-levenshtein/README.md +104 -0
- data/node_modules/fast-levenshtein/levenshtein.js +136 -0
- data/node_modules/fast-levenshtein/package.json +39 -0
- data/node_modules/figures/index.js +147 -0
- data/node_modules/figures/license +21 -0
- data/node_modules/figures/package.json +45 -0
- data/node_modules/figures/readme.md +115 -0
- data/node_modules/file-entry-cache/LICENSE +22 -0
- data/node_modules/file-entry-cache/README.md +107 -0
- data/node_modules/file-entry-cache/cache.js +192 -0
- data/node_modules/file-entry-cache/changelog.md +69 -0
- data/node_modules/file-entry-cache/package.json +84 -0
- data/node_modules/flat-cache/LICENSE +22 -0
- data/node_modules/flat-cache/README.md +71 -0
- data/node_modules/flat-cache/cache.js +188 -0
- data/node_modules/flat-cache/changelog.md +136 -0
- data/node_modules/flat-cache/package.json +87 -0
- data/node_modules/flat-cache/utils.js +39 -0
- data/node_modules/front-matter/.npmignore +2 -0
- data/node_modules/front-matter/.travis.yml +32 -0
- data/node_modules/front-matter/.zuul.yml +18 -0
- data/node_modules/front-matter/LICENSE +9 -0
- data/node_modules/front-matter/Makefile +70 -0
- data/node_modules/front-matter/README.md +140 -0
- data/node_modules/front-matter/examples/bom.md +3 -0
- data/node_modules/front-matter/examples/complex-yaml.md +22 -0
- data/node_modules/front-matter/examples/dashes-seperator.md +14 -0
- data/node_modules/front-matter/examples/dots-ending.md +6 -0
- data/node_modules/front-matter/examples/missing-body.md +8 -0
- data/node_modules/front-matter/examples/no-front-matter.md +11 -0
- data/node_modules/front-matter/examples/wrapped-text.md +21 -0
- data/node_modules/front-matter/examples/yaml-seperator.md +6 -0
- data/node_modules/front-matter/index.js +50 -0
- data/node_modules/front-matter/node_modules/.bin/js-yaml +1 -0
- data/node_modules/front-matter/notes.md +53 -0
- data/node_modules/front-matter/package.json +42 -0
- data/node_modules/front-matter/test/index.js +227 -0
- data/node_modules/fs-extra/.npmignore +8 -0
- data/node_modules/fs-extra/CHANGELOG.md +656 -0
- data/node_modules/fs-extra/LICENSE +15 -0
- data/node_modules/fs-extra/README.md +603 -0
- data/node_modules/fs-extra/lib/copy-sync/copy-file-sync.js +42 -0
- data/node_modules/fs-extra/lib/copy-sync/copy-sync.js +56 -0
- data/node_modules/fs-extra/lib/copy-sync/index.js +3 -0
- data/node_modules/fs-extra/lib/copy/copy.js +50 -0
- data/node_modules/fs-extra/lib/copy/index.js +3 -0
- data/node_modules/fs-extra/lib/copy/ncp.js +232 -0
- data/node_modules/fs-extra/lib/empty/index.js +47 -0
- data/node_modules/fs-extra/lib/ensure/file.js +43 -0
- data/node_modules/fs-extra/lib/ensure/index.js +21 -0
- data/node_modules/fs-extra/lib/ensure/link.js +58 -0
- data/node_modules/fs-extra/lib/ensure/symlink-paths.js +96 -0
- data/node_modules/fs-extra/lib/ensure/symlink-type.js +27 -0
- data/node_modules/fs-extra/lib/ensure/symlink.js +62 -0
- data/node_modules/fs-extra/lib/index.js +38 -0
- data/node_modules/fs-extra/lib/json/index.js +9 -0
- data/node_modules/fs-extra/lib/json/jsonfile.js +14 -0
- data/node_modules/fs-extra/lib/json/output-json-sync.js +16 -0
- data/node_modules/fs-extra/lib/json/output-json.js +24 -0
- data/node_modules/fs-extra/lib/mkdirs/index.js +9 -0
- data/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js +57 -0
- data/node_modules/fs-extra/lib/mkdirs/mkdirs.js +61 -0
- data/node_modules/fs-extra/lib/mkdirs/win32.js +24 -0
- data/node_modules/fs-extra/lib/move/index.js +161 -0
- data/node_modules/fs-extra/lib/output/index.js +35 -0
- data/node_modules/fs-extra/lib/remove/index.js +15 -0
- data/node_modules/fs-extra/lib/remove/rimraf.js +301 -0
- data/node_modules/fs-extra/lib/util/assign.js +14 -0
- data/node_modules/fs-extra/lib/util/utimes.js +70 -0
- data/node_modules/fs-extra/lib/walk-sync/index.js +20 -0
- data/node_modules/fs-extra/lib/walk/index.js +5 -0
- data/node_modules/fs-extra/package.json +61 -0
- data/node_modules/fs.realpath/LICENSE +43 -0
- data/node_modules/fs.realpath/README.md +33 -0
- data/node_modules/fs.realpath/index.js +66 -0
- data/node_modules/fs.realpath/old.js +303 -0
- data/node_modules/fs.realpath/package.json +26 -0
- data/node_modules/generate-function/.npmignore +1 -0
- data/node_modules/generate-function/.travis.yml +3 -0
- data/node_modules/generate-function/README.md +72 -0
- data/node_modules/generate-function/example.js +27 -0
- data/node_modules/generate-function/index.js +61 -0
- data/node_modules/generate-function/package.json +29 -0
- data/node_modules/generate-function/test.js +33 -0
- data/node_modules/generate-object-property/.npmignore +1 -0
- data/node_modules/generate-object-property/.travis.yml +3 -0
- data/node_modules/generate-object-property/LICENSE +21 -0
- data/node_modules/generate-object-property/README.md +19 -0
- data/node_modules/generate-object-property/index.js +12 -0
- data/node_modules/generate-object-property/package.json +25 -0
- data/node_modules/generate-object-property/test.js +12 -0
- data/node_modules/glob/LICENSE +15 -0
- data/node_modules/glob/README.md +368 -0
- data/node_modules/glob/changelog.md +67 -0
- data/node_modules/glob/common.js +240 -0
- data/node_modules/glob/glob.js +792 -0
- data/node_modules/glob/package.json +43 -0
- data/node_modules/glob/sync.js +486 -0
- data/node_modules/globals/globals.json +1291 -0
- data/node_modules/globals/index.js +1 -0
- data/node_modules/globals/license +21 -0
- data/node_modules/globals/package.json +35 -0
- data/node_modules/globals/readme.md +41 -0
- data/node_modules/globby/index.js +65 -0
- data/node_modules/globby/license +21 -0
- data/node_modules/globby/package.json +70 -0
- data/node_modules/globby/readme.md +82 -0
- data/node_modules/globule/LICENSE +22 -0
- data/node_modules/globule/README.md +129 -0
- data/node_modules/globule/lib/globule.js +192 -0
- data/node_modules/globule/package.json +50 -0
- data/node_modules/gonzales-pe/.editorconfig +6 -0
- data/node_modules/gonzales-pe/.eslintrc.yaml +63 -0
- data/node_modules/gonzales-pe/.gitmessage.txt +23 -0
- data/node_modules/gonzales-pe/.jscs.json +64 -0
- data/node_modules/gonzales-pe/.jshintrc +10 -0
- data/node_modules/gonzales-pe/.npmignore +6 -0
- data/node_modules/gonzales-pe/.travis.yml +14 -0
- data/node_modules/gonzales-pe/CHANGELOG.md +381 -0
- data/node_modules/gonzales-pe/MIT-LICENSE.txt +19 -0
- data/node_modules/gonzales-pe/README.md +802 -0
- data/node_modules/gonzales-pe/appveyor.yml +21 -0
- data/node_modules/gonzales-pe/bin/gonzales.js +116 -0
- data/node_modules/gonzales-pe/lib/gonzales.js +11873 -0
- data/node_modules/gonzales-pe/package.json +49 -0
- data/node_modules/gonzales-pe/tags +19 -0
- data/node_modules/gonzales-pe/webpack.config.js +24 -0
- data/node_modules/graceful-fs/LICENSE +15 -0
- data/node_modules/graceful-fs/README.md +133 -0
- data/node_modules/graceful-fs/fs.js +21 -0
- data/node_modules/graceful-fs/graceful-fs.js +262 -0
- data/node_modules/graceful-fs/legacy-streams.js +118 -0
- data/node_modules/graceful-fs/package.json +47 -0
- data/node_modules/graceful-fs/polyfills.js +330 -0
- data/node_modules/graceful-readlink/.npmignore +3 -0
- data/node_modules/graceful-readlink/.travis.yml +5 -0
- data/node_modules/graceful-readlink/LICENSE +22 -0
- data/node_modules/graceful-readlink/README.md +17 -0
- data/node_modules/graceful-readlink/index.js +12 -0
- data/node_modules/graceful-readlink/package.json +18 -0
- data/node_modules/has-ansi/index.js +4 -0
- data/node_modules/has-ansi/license +21 -0
- data/node_modules/has-ansi/package.json +55 -0
- data/node_modules/has-ansi/readme.md +36 -0
- data/node_modules/ignore/LICENSE-MIT +21 -0
- data/node_modules/ignore/README.md +232 -0
- data/node_modules/ignore/ignore.js +424 -0
- data/node_modules/ignore/package.json +45 -0
- data/node_modules/imurmurhash/README.md +122 -0
- data/node_modules/imurmurhash/imurmurhash.js +138 -0
- data/node_modules/imurmurhash/imurmurhash.min.js +12 -0
- data/node_modules/imurmurhash/package.json +40 -0
- data/node_modules/inflight/LICENSE +15 -0
- data/node_modules/inflight/README.md +37 -0
- data/node_modules/inflight/inflight.js +54 -0
- data/node_modules/inflight/package.json +29 -0
- data/node_modules/inherits/LICENSE +16 -0
- data/node_modules/inherits/README.md +42 -0
- data/node_modules/inherits/inherits.js +1 -0
- data/node_modules/inherits/inherits_browser.js +23 -0
- data/node_modules/inherits/package.json +22 -0
- data/node_modules/inherits/test.js +25 -0
- data/node_modules/inquirer/README.md +301 -0
- data/node_modules/inquirer/lib/inquirer.js +79 -0
- data/node_modules/inquirer/lib/objects/choice.js +36 -0
- data/node_modules/inquirer/lib/objects/choices.js +113 -0
- data/node_modules/inquirer/lib/objects/separator.js +35 -0
- data/node_modules/inquirer/lib/prompts/base.js +175 -0
- data/node_modules/inquirer/lib/prompts/checkbox.js +213 -0
- data/node_modules/inquirer/lib/prompts/confirm.js +110 -0
- data/node_modules/inquirer/lib/prompts/expand.js +255 -0
- data/node_modules/inquirer/lib/prompts/input.js +111 -0
- data/node_modules/inquirer/lib/prompts/list.js +172 -0
- data/node_modules/inquirer/lib/prompts/password.js +118 -0
- data/node_modules/inquirer/lib/prompts/rawlist.js +183 -0
- data/node_modules/inquirer/lib/ui/baseUI.js +56 -0
- data/node_modules/inquirer/lib/ui/bottom-bar.js +98 -0
- data/node_modules/inquirer/lib/ui/prompt.js +126 -0
- data/node_modules/inquirer/lib/utils/events.js +37 -0
- data/node_modules/inquirer/lib/utils/paginator.js +38 -0
- data/node_modules/inquirer/lib/utils/readline.js +51 -0
- data/node_modules/inquirer/lib/utils/screen-manager.js +129 -0
- data/node_modules/inquirer/lib/utils/utils.js +47 -0
- data/node_modules/inquirer/package.json +49 -0
- data/node_modules/is-fullwidth-code-point/index.js +46 -0
- data/node_modules/is-fullwidth-code-point/license +21 -0
- data/node_modules/is-fullwidth-code-point/package.json +45 -0
- data/node_modules/is-fullwidth-code-point/readme.md +39 -0
- data/node_modules/is-my-json-valid/.npmignore +2 -0
- data/node_modules/is-my-json-valid/.travis.yml +3 -0
- data/node_modules/is-my-json-valid/LICENSE +21 -0
- data/node_modules/is-my-json-valid/README.md +200 -0
- data/node_modules/is-my-json-valid/example.js +18 -0
- data/node_modules/is-my-json-valid/formats.js +14 -0
- data/node_modules/is-my-json-valid/index.js +590 -0
- data/node_modules/is-my-json-valid/package.json +34 -0
- data/node_modules/is-my-json-valid/require.js +12 -0
- data/node_modules/is-my-json-valid/test/fixtures/cosmic.js +84 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/additionalItems.json +82 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/additionalProperties.json +88 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/allOf.json +112 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/anyOf.json +68 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/bignum.json +107 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/default.json +49 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/definitions.json +32 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/dependencies.json +113 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/enum.json +72 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/format.json +143 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/items.json +46 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/maxItems.json +28 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/maxLength.json +28 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/maxProperties.json +28 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/maximum.json +42 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/minItems.json +28 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/minLength.json +28 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/minProperties.json +28 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/minimum.json +42 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/multipleOf.json +96 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/not.json +96 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndFormat.json +18 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndObject.json +18 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/oneOf.json +68 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/pattern.json +23 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/patternProperties.json +110 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/properties.json +92 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/ref.json +128 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/refRemote.json +74 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/required.json +39 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/type.json +330 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/uniqueItems.json +79 -0
- data/node_modules/is-my-json-valid/test/json-schema.js +23 -0
- data/node_modules/is-my-json-valid/test/misc.js +471 -0
- data/node_modules/is-path-cwd/index.js +6 -0
- data/node_modules/is-path-cwd/package.json +33 -0
- data/node_modules/is-path-cwd/readme.md +28 -0
- data/node_modules/is-path-in-cwd/index.js +6 -0
- data/node_modules/is-path-in-cwd/package.json +38 -0
- data/node_modules/is-path-in-cwd/readme.md +28 -0
- data/node_modules/is-path-inside/index.js +14 -0
- data/node_modules/is-path-inside/package.json +36 -0
- data/node_modules/is-path-inside/readme.md +31 -0
- data/node_modules/is-property/.npmignore +17 -0
- data/node_modules/is-property/LICENSE +22 -0
- data/node_modules/is-property/README.md +28 -0
- data/node_modules/is-property/is-property.js +5 -0
- data/node_modules/is-property/package.json +36 -0
- data/node_modules/is-resolvable/LICENSE +20 -0
- data/node_modules/is-resolvable/README.md +68 -0
- data/node_modules/is-resolvable/index.js +26 -0
- data/node_modules/is-resolvable/package.json +38 -0
- data/node_modules/isarray/.npmignore +1 -0
- data/node_modules/isarray/.travis.yml +4 -0
- data/node_modules/isarray/Makefile +6 -0
- data/node_modules/isarray/README.md +60 -0
- data/node_modules/isarray/component.json +19 -0
- data/node_modules/isarray/index.js +5 -0
- data/node_modules/isarray/package.json +45 -0
- data/node_modules/isarray/test.js +20 -0
- data/node_modules/js-yaml/CHANGELOG.md +431 -0
- data/node_modules/js-yaml/LICENSE +21 -0
- data/node_modules/js-yaml/README.md +312 -0
- data/node_modules/js-yaml/bin/js-yaml.js +132 -0
- data/node_modules/js-yaml/dist/js-yaml.js +3868 -0
- data/node_modules/js-yaml/dist/js-yaml.min.js +3 -0
- data/node_modules/js-yaml/index.js +7 -0
- data/node_modules/js-yaml/lib/js-yaml.js +39 -0
- data/node_modules/js-yaml/lib/js-yaml/common.js +59 -0
- data/node_modules/js-yaml/lib/js-yaml/dumper.js +801 -0
- data/node_modules/js-yaml/lib/js-yaml/exception.js +43 -0
- data/node_modules/js-yaml/lib/js-yaml/loader.js +1591 -0
- data/node_modules/js-yaml/lib/js-yaml/mark.js +76 -0
- data/node_modules/js-yaml/lib/js-yaml/schema.js +108 -0
- data/node_modules/js-yaml/lib/js-yaml/schema/core.js +18 -0
- data/node_modules/js-yaml/lib/js-yaml/schema/default_full.js +25 -0
- data/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js +28 -0
- data/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js +17 -0
- data/node_modules/js-yaml/lib/js-yaml/schema/json.js +25 -0
- data/node_modules/js-yaml/lib/js-yaml/type.js +61 -0
- data/node_modules/js-yaml/lib/js-yaml/type/binary.js +138 -0
- data/node_modules/js-yaml/lib/js-yaml/type/bool.js +35 -0
- data/node_modules/js-yaml/lib/js-yaml/type/float.js +111 -0
- data/node_modules/js-yaml/lib/js-yaml/type/int.js +168 -0
- data/node_modules/js-yaml/lib/js-yaml/type/js/function.js +84 -0
- data/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +60 -0
- data/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +28 -0
- data/node_modules/js-yaml/lib/js-yaml/type/map.js +8 -0
- data/node_modules/js-yaml/lib/js-yaml/type/merge.js +12 -0
- data/node_modules/js-yaml/lib/js-yaml/type/null.js +34 -0
- data/node_modules/js-yaml/lib/js-yaml/type/omap.js +44 -0
- data/node_modules/js-yaml/lib/js-yaml/type/pairs.js +53 -0
- data/node_modules/js-yaml/lib/js-yaml/type/seq.js +8 -0
- data/node_modules/js-yaml/lib/js-yaml/type/set.js +29 -0
- data/node_modules/js-yaml/lib/js-yaml/type/str.js +8 -0
- data/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +88 -0
- data/node_modules/js-yaml/node_modules/.bin/esparse +1 -0
- data/node_modules/js-yaml/node_modules/.bin/esvalidate +1 -0
- data/node_modules/js-yaml/package.json +46 -0
- data/node_modules/json-stable-stringify/.npmignore +1 -0
- data/node_modules/json-stable-stringify/.travis.yml +4 -0
- data/node_modules/json-stable-stringify/LICENSE +18 -0
- data/node_modules/json-stable-stringify/example/key_cmp.js +7 -0
- data/node_modules/json-stable-stringify/example/nested.js +3 -0
- data/node_modules/json-stable-stringify/example/str.js +3 -0
- data/node_modules/json-stable-stringify/example/value_cmp.js +7 -0
- data/node_modules/json-stable-stringify/index.js +84 -0
- data/node_modules/json-stable-stringify/package.json +44 -0
- data/node_modules/json-stable-stringify/readme.markdown +130 -0
- data/node_modules/json-stable-stringify/test/cmp.js +11 -0
- data/node_modules/json-stable-stringify/test/nested.js +35 -0
- data/node_modules/json-stable-stringify/test/replacer.js +74 -0
- data/node_modules/json-stable-stringify/test/space.js +59 -0
- data/node_modules/json-stable-stringify/test/str.js +32 -0
- data/node_modules/json-stable-stringify/test/to-json.js +20 -0
- data/node_modules/jsonfile/.npmignore +2 -0
- data/node_modules/jsonfile/CHANGELOG.md +126 -0
- data/node_modules/jsonfile/LICENSE +15 -0
- data/node_modules/jsonfile/README.md +162 -0
- data/node_modules/jsonfile/appveyor.yml +28 -0
- data/node_modules/jsonfile/index.js +133 -0
- data/node_modules/jsonfile/package.json +35 -0
- data/node_modules/jsonify/README.markdown +34 -0
- data/node_modules/jsonify/index.js +2 -0
- data/node_modules/jsonify/lib/parse.js +273 -0
- data/node_modules/jsonify/lib/stringify.js +154 -0
- data/node_modules/jsonify/package.json +30 -0
- data/node_modules/jsonify/test/parse.js +16 -0
- data/node_modules/jsonify/test/stringify.js +15 -0
- data/node_modules/jsonpointer/LICENSE.md +21 -0
- data/node_modules/jsonpointer/README.md +39 -0
- data/node_modules/jsonpointer/jsonpointer.js +93 -0
- data/node_modules/jsonpointer/package.json +37 -0
- data/node_modules/klaw/.npmignore +3 -0
- data/node_modules/klaw/CHANGELOG.md +42 -0
- data/node_modules/klaw/LICENSE +15 -0
- data/node_modules/klaw/README.md +270 -0
- data/node_modules/klaw/package.json +40 -0
- data/node_modules/klaw/src/assign.js +16 -0
- data/node_modules/klaw/src/index.js +57 -0
- data/node_modules/levn/LICENSE +22 -0
- data/node_modules/levn/README.md +196 -0
- data/node_modules/levn/lib/cast.js +298 -0
- data/node_modules/levn/lib/coerce.js +285 -0
- data/node_modules/levn/lib/index.js +22 -0
- data/node_modules/levn/lib/parse-string.js +113 -0
- data/node_modules/levn/lib/parse.js +102 -0
- data/node_modules/levn/package.json +47 -0
- data/node_modules/lodash.capitalize/LICENSE +47 -0
- data/node_modules/lodash.capitalize/README.md +18 -0
- data/node_modules/lodash.capitalize/index.js +322 -0
- data/node_modules/lodash.capitalize/package.json +17 -0
- data/node_modules/lodash.kebabcase/LICENSE +47 -0
- data/node_modules/lodash.kebabcase/README.md +18 -0
- data/node_modules/lodash.kebabcase/index.js +435 -0
- data/node_modules/lodash.kebabcase/package.json +17 -0
- data/node_modules/lodash/LICENSE +47 -0
- data/node_modules/lodash/README.md +39 -0
- data/node_modules/lodash/_DataView.js +7 -0
- data/node_modules/lodash/_Hash.js +32 -0
- data/node_modules/lodash/_LazyWrapper.js +28 -0
- data/node_modules/lodash/_ListCache.js +32 -0
- data/node_modules/lodash/_LodashWrapper.js +22 -0
- data/node_modules/lodash/_Map.js +7 -0
- data/node_modules/lodash/_MapCache.js +32 -0
- data/node_modules/lodash/_Promise.js +7 -0
- data/node_modules/lodash/_Set.js +7 -0
- data/node_modules/lodash/_SetCache.js +27 -0
- data/node_modules/lodash/_Stack.js +27 -0
- data/node_modules/lodash/_Symbol.js +6 -0
- data/node_modules/lodash/_Uint8Array.js +6 -0
- data/node_modules/lodash/_WeakMap.js +7 -0
- data/node_modules/lodash/_addMapEntry.js +15 -0
- data/node_modules/lodash/_addSetEntry.js +15 -0
- data/node_modules/lodash/_apply.js +21 -0
- data/node_modules/lodash/_arrayAggregator.js +22 -0
- data/node_modules/lodash/_arrayEach.js +22 -0
- data/node_modules/lodash/_arrayEachRight.js +21 -0
- data/node_modules/lodash/_arrayEvery.js +23 -0
- data/node_modules/lodash/_arrayFilter.js +25 -0
- data/node_modules/lodash/_arrayIncludes.js +17 -0
- data/node_modules/lodash/_arrayIncludesWith.js +22 -0
- data/node_modules/lodash/_arrayLikeKeys.js +49 -0
- data/node_modules/lodash/_arrayMap.js +21 -0
- data/node_modules/lodash/_arrayPush.js +20 -0
- data/node_modules/lodash/_arrayReduce.js +26 -0
- data/node_modules/lodash/_arrayReduceRight.js +24 -0
- data/node_modules/lodash/_arraySample.js +15 -0
- data/node_modules/lodash/_arraySampleSize.js +17 -0
- data/node_modules/lodash/_arrayShuffle.js +15 -0
- data/node_modules/lodash/_arraySome.js +23 -0
- data/node_modules/lodash/_asciiSize.js +12 -0
- data/node_modules/lodash/_asciiToArray.js +12 -0
- data/node_modules/lodash/_asciiWords.js +15 -0
- data/node_modules/lodash/_assignInDefaults.js +27 -0
- data/node_modules/lodash/_assignMergeValue.js +20 -0
- data/node_modules/lodash/_assignValue.js +28 -0
- data/node_modules/lodash/_assocIndexOf.js +21 -0
- data/node_modules/lodash/_baseAggregator.js +21 -0
- data/node_modules/lodash/_baseAssign.js +17 -0
- data/node_modules/lodash/_baseAssignValue.js +25 -0
- data/node_modules/lodash/_baseAt.js +23 -0
- data/node_modules/lodash/_baseClamp.js +22 -0
- data/node_modules/lodash/_baseClone.js +133 -0
- data/node_modules/lodash/_baseConforms.js +18 -0
- data/node_modules/lodash/_baseConformsTo.js +27 -0
- data/node_modules/lodash/_baseCreate.js +30 -0
- data/node_modules/lodash/_baseDelay.js +21 -0
- data/node_modules/lodash/_baseDifference.js +67 -0
- data/node_modules/lodash/_baseEach.js +14 -0
- data/node_modules/lodash/_baseEachRight.js +14 -0
- data/node_modules/lodash/_baseEvery.js +21 -0
- data/node_modules/lodash/_baseExtremum.js +32 -0
- data/node_modules/lodash/_baseFill.js +32 -0
- data/node_modules/lodash/_baseFilter.js +21 -0
- data/node_modules/lodash/_baseFindIndex.js +24 -0
- data/node_modules/lodash/_baseFindKey.js +23 -0
- data/node_modules/lodash/_baseFlatten.js +38 -0
- data/node_modules/lodash/_baseFor.js +16 -0
- data/node_modules/lodash/_baseForOwn.js +16 -0
- data/node_modules/lodash/_baseForOwnRight.js +16 -0
- data/node_modules/lodash/_baseForRight.js +15 -0
- data/node_modules/lodash/_baseFunctions.js +19 -0
- data/node_modules/lodash/_baseGet.js +25 -0
- data/node_modules/lodash/_baseGetAllKeys.js +20 -0
- data/node_modules/lodash/_baseGetTag.js +29 -0
- data/node_modules/lodash/_baseGt.js +14 -0
- data/node_modules/lodash/_baseHas.js +19 -0
- data/node_modules/lodash/_baseHasIn.js +13 -0
- data/node_modules/lodash/_baseInRange.js +18 -0
- data/node_modules/lodash/_baseIndexOf.js +20 -0
- data/node_modules/lodash/_baseIndexOfWith.js +23 -0
- data/node_modules/lodash/_baseIntersection.js +74 -0
- data/node_modules/lodash/_baseInverter.js +21 -0
- data/node_modules/lodash/_baseInvoke.js +28 -0
- data/node_modules/lodash/_baseIsArguments.js +18 -0
- data/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
- data/node_modules/lodash/_baseIsDate.js +18 -0
- data/node_modules/lodash/_baseIsEqual.js +30 -0
- data/node_modules/lodash/_baseIsEqualDeep.js +89 -0
- data/node_modules/lodash/_baseIsMap.js +18 -0
- data/node_modules/lodash/_baseIsMatch.js +62 -0
- data/node_modules/lodash/_baseIsNaN.js +12 -0
- data/node_modules/lodash/_baseIsNative.js +47 -0
- data/node_modules/lodash/_baseIsRegExp.js +18 -0
- data/node_modules/lodash/_baseIsSet.js +18 -0
- data/node_modules/lodash/_baseIsTypedArray.js +60 -0
- data/node_modules/lodash/_baseIteratee.js +31 -0
- data/node_modules/lodash/_baseKeys.js +30 -0
- data/node_modules/lodash/_baseKeysIn.js +33 -0
- data/node_modules/lodash/_baseLodash.js +10 -0
- data/node_modules/lodash/_baseLt.js +14 -0
- data/node_modules/lodash/_baseMap.js +22 -0
- data/node_modules/lodash/_baseMatches.js +22 -0
- data/node_modules/lodash/_baseMatchesProperty.js +33 -0
- data/node_modules/lodash/_baseMean.js +20 -0
- data/node_modules/lodash/_baseMerge.js +41 -0
- data/node_modules/lodash/_baseMergeDeep.js +93 -0
- data/node_modules/lodash/_baseNth.js +20 -0
- data/node_modules/lodash/_baseOrderBy.js +34 -0
- data/node_modules/lodash/_basePick.js +19 -0
- data/node_modules/lodash/_basePickBy.js +28 -0
- data/node_modules/lodash/_baseProperty.js +14 -0
- data/node_modules/lodash/_basePropertyDeep.js +16 -0
- data/node_modules/lodash/_basePropertyOf.js +14 -0
- data/node_modules/lodash/_basePullAll.js +51 -0
- data/node_modules/lodash/_basePullAt.js +50 -0
- data/node_modules/lodash/_baseRandom.js +18 -0
- data/node_modules/lodash/_baseRange.js +28 -0
- data/node_modules/lodash/_baseReduce.js +23 -0
- data/node_modules/lodash/_baseRepeat.js +35 -0
- data/node_modules/lodash/_baseRest.js +17 -0
- data/node_modules/lodash/_baseSample.js +15 -0
- data/node_modules/lodash/_baseSampleSize.js +18 -0
- data/node_modules/lodash/_baseSet.js +48 -0
- data/node_modules/lodash/_baseSetData.js +17 -0
- data/node_modules/lodash/_baseSetToString.js +22 -0
- data/node_modules/lodash/_baseShuffle.js +15 -0
- data/node_modules/lodash/_baseSlice.js +31 -0
- data/node_modules/lodash/_baseSome.js +22 -0
- data/node_modules/lodash/_baseSortBy.js +21 -0
- data/node_modules/lodash/_baseSortedIndex.js +42 -0
- data/node_modules/lodash/_baseSortedIndexBy.js +64 -0
- data/node_modules/lodash/_baseSortedUniq.js +30 -0
- data/node_modules/lodash/_baseSum.js +24 -0
- data/node_modules/lodash/_baseTimes.js +20 -0
- data/node_modules/lodash/_baseToNumber.js +24 -0
- data/node_modules/lodash/_baseToPairs.js +18 -0
- data/node_modules/lodash/_baseToString.js +37 -0
- data/node_modules/lodash/_baseUnary.js +14 -0
- data/node_modules/lodash/_baseUniq.js +72 -0
- data/node_modules/lodash/_baseUnset.js +29 -0
- data/node_modules/lodash/_baseUpdate.js +18 -0
- data/node_modules/lodash/_baseValues.js +19 -0
- data/node_modules/lodash/_baseWhile.js +26 -0
- data/node_modules/lodash/_baseWrapperValue.js +25 -0
- data/node_modules/lodash/_baseXor.js +36 -0
- data/node_modules/lodash/_baseZipObject.js +23 -0
- data/node_modules/lodash/_cacheHas.js +13 -0
- data/node_modules/lodash/_castArrayLikeObject.js +14 -0
- data/node_modules/lodash/_castFunction.js +14 -0
- data/node_modules/lodash/_castPath.js +15 -0
- data/node_modules/lodash/_castRest.js +14 -0
- data/node_modules/lodash/_castSlice.js +18 -0
- data/node_modules/lodash/_charsEndIndex.js +19 -0
- data/node_modules/lodash/_charsStartIndex.js +20 -0
- data/node_modules/lodash/_cloneArrayBuffer.js +16 -0
- data/node_modules/lodash/_cloneBuffer.js +35 -0
- data/node_modules/lodash/_cloneDataView.js +16 -0
- data/node_modules/lodash/_cloneMap.js +19 -0
- data/node_modules/lodash/_cloneRegExp.js +17 -0
- data/node_modules/lodash/_cloneSet.js +19 -0
- data/node_modules/lodash/_cloneSymbol.js +18 -0
- data/node_modules/lodash/_cloneTypedArray.js +16 -0
- data/node_modules/lodash/_compareAscending.js +41 -0
- data/node_modules/lodash/_compareMultiple.js +44 -0
- data/node_modules/lodash/_composeArgs.js +39 -0
- data/node_modules/lodash/_composeArgsRight.js +41 -0
- data/node_modules/lodash/_copyArray.js +20 -0
- data/node_modules/lodash/_copyObject.js +40 -0
- data/node_modules/lodash/_copySymbols.js +16 -0
- data/node_modules/lodash/_coreJsData.js +6 -0
- data/node_modules/lodash/_countHolders.js +21 -0
- data/node_modules/lodash/_createAggregator.js +23 -0
- data/node_modules/lodash/_createAssigner.js +37 -0
- data/node_modules/lodash/_createBaseEach.js +32 -0
- data/node_modules/lodash/_createBaseFor.js +25 -0
- data/node_modules/lodash/_createBind.js +28 -0
- data/node_modules/lodash/_createCaseFirst.js +33 -0
- data/node_modules/lodash/_createCompounder.js +24 -0
- data/node_modules/lodash/_createCtor.js +37 -0
- data/node_modules/lodash/_createCurry.js +46 -0
- data/node_modules/lodash/_createFind.js +25 -0
- data/node_modules/lodash/_createFlow.js +82 -0
- data/node_modules/lodash/_createHybrid.js +92 -0
- data/node_modules/lodash/_createInverter.js +17 -0
- data/node_modules/lodash/_createMathOperation.js +38 -0
- data/node_modules/lodash/_createOver.js +27 -0
- data/node_modules/lodash/_createPadding.js +33 -0
- data/node_modules/lodash/_createPartial.js +43 -0
- data/node_modules/lodash/_createRange.js +30 -0
- data/node_modules/lodash/_createRecurry.js +56 -0
- data/node_modules/lodash/_createRelationalOperation.js +20 -0
- data/node_modules/lodash/_createRound.js +33 -0
- data/node_modules/lodash/_createSet.js +19 -0
- data/node_modules/lodash/_createToPairs.js +30 -0
- data/node_modules/lodash/_createWrap.js +107 -0
- data/node_modules/lodash/_deburrLetter.js +71 -0
- data/node_modules/lodash/_defineProperty.js +11 -0
- data/node_modules/lodash/_equalArrays.js +84 -0
- data/node_modules/lodash/_equalByTag.js +113 -0
- data/node_modules/lodash/_equalObjects.js +90 -0
- data/node_modules/lodash/_escapeHtmlChar.js +21 -0
- data/node_modules/lodash/_escapeStringChar.js +22 -0
- data/node_modules/lodash/_flatRest.js +16 -0
- data/node_modules/lodash/_freeGlobal.js +4 -0
- data/node_modules/lodash/_getAllKeys.js +16 -0
- data/node_modules/lodash/_getAllKeysIn.js +17 -0
- data/node_modules/lodash/_getData.js +15 -0
- data/node_modules/lodash/_getFuncName.js +31 -0
- data/node_modules/lodash/_getHolder.js +13 -0
- data/node_modules/lodash/_getMapData.js +18 -0
- data/node_modules/lodash/_getMatchData.js +24 -0
- data/node_modules/lodash/_getNative.js +17 -0
- data/node_modules/lodash/_getPrototype.js +6 -0
- data/node_modules/lodash/_getRawTag.js +46 -0
- data/node_modules/lodash/_getSymbols.js +16 -0
- data/node_modules/lodash/_getSymbolsIn.js +26 -0
- data/node_modules/lodash/_getTag.js +58 -0
- data/node_modules/lodash/_getValue.js +13 -0
- data/node_modules/lodash/_getView.js +33 -0
- data/node_modules/lodash/_getWrapDetails.js +17 -0
- data/node_modules/lodash/_hasPath.js +40 -0
- data/node_modules/lodash/_hasUnicode.js +24 -0
- data/node_modules/lodash/_hasUnicodeWord.js +15 -0
- data/node_modules/lodash/_hashClear.js +15 -0
- data/node_modules/lodash/_hashDelete.js +17 -0
- data/node_modules/lodash/_hashGet.js +30 -0
- data/node_modules/lodash/_hashHas.js +23 -0
- data/node_modules/lodash/_hashSet.js +23 -0
- data/node_modules/lodash/_initCloneArray.js +26 -0
- data/node_modules/lodash/_initCloneByTag.js +80 -0
- data/node_modules/lodash/_initCloneObject.js +18 -0
- data/node_modules/lodash/_insertWrapDetails.js +23 -0
- data/node_modules/lodash/_isFlattenable.js +20 -0
- data/node_modules/lodash/_isIndex.js +22 -0
- data/node_modules/lodash/_isIterateeCall.js +30 -0
- data/node_modules/lodash/_isKey.js +29 -0
- data/node_modules/lodash/_isKeyable.js +15 -0
- data/node_modules/lodash/_isLaziable.js +28 -0
- data/node_modules/lodash/_isMaskable.js +14 -0
- data/node_modules/lodash/_isMasked.js +20 -0
- data/node_modules/lodash/_isPrototype.js +18 -0
- data/node_modules/lodash/_isStrictComparable.js +15 -0
- data/node_modules/lodash/_iteratorToArray.js +18 -0
- data/node_modules/lodash/_lazyClone.js +23 -0
- data/node_modules/lodash/_lazyReverse.js +23 -0
- data/node_modules/lodash/_lazyValue.js +73 -0
- data/node_modules/lodash/_listCacheClear.js +13 -0
- data/node_modules/lodash/_listCacheDelete.js +35 -0
- data/node_modules/lodash/_listCacheGet.js +19 -0
- data/node_modules/lodash/_listCacheHas.js +16 -0
- data/node_modules/lodash/_listCacheSet.js +26 -0
- data/node_modules/lodash/_mapCacheClear.js +21 -0
- data/node_modules/lodash/_mapCacheDelete.js +18 -0
- data/node_modules/lodash/_mapCacheGet.js +16 -0
- data/node_modules/lodash/_mapCacheHas.js +16 -0
- data/node_modules/lodash/_mapCacheSet.js +22 -0
- data/node_modules/lodash/_mapToArray.js +18 -0
- data/node_modules/lodash/_matchesStrictComparable.js +20 -0
- data/node_modules/lodash/_memoizeCapped.js +26 -0
- data/node_modules/lodash/_mergeData.js +90 -0
- data/node_modules/lodash/_mergeDefaults.js +27 -0
- data/node_modules/lodash/_metaMap.js +6 -0
- data/node_modules/lodash/_nativeCreate.js +6 -0
- data/node_modules/lodash/_nativeKeys.js +6 -0
- data/node_modules/lodash/_nativeKeysIn.js +20 -0
- data/node_modules/lodash/_nodeUtil.js +22 -0
- data/node_modules/lodash/_objectToString.js +22 -0
- data/node_modules/lodash/_overArg.js +15 -0
- data/node_modules/lodash/_overRest.js +36 -0
- data/node_modules/lodash/_parent.js +16 -0
- data/node_modules/lodash/_reEscape.js +4 -0
- data/node_modules/lodash/_reEvaluate.js +4 -0
- data/node_modules/lodash/_reInterpolate.js +4 -0
- data/node_modules/lodash/_realNames.js +4 -0
- data/node_modules/lodash/_reorder.js +29 -0
- data/node_modules/lodash/_replaceHolders.js +29 -0
- data/node_modules/lodash/_root.js +9 -0
- data/node_modules/lodash/_setCacheAdd.js +19 -0
- data/node_modules/lodash/_setCacheHas.js +14 -0
- data/node_modules/lodash/_setData.js +20 -0
- data/node_modules/lodash/_setToArray.js +18 -0
- data/node_modules/lodash/_setToPairs.js +18 -0
- data/node_modules/lodash/_setToString.js +14 -0
- data/node_modules/lodash/_setWrapToString.js +21 -0
- data/node_modules/lodash/_shortOut.js +37 -0
- data/node_modules/lodash/_shuffleSelf.js +28 -0
- data/node_modules/lodash/_stackClear.js +15 -0
- data/node_modules/lodash/_stackDelete.js +18 -0
- data/node_modules/lodash/_stackGet.js +14 -0
- data/node_modules/lodash/_stackHas.js +14 -0
- data/node_modules/lodash/_stackSet.js +34 -0
- data/node_modules/lodash/_strictIndexOf.js +23 -0
- data/node_modules/lodash/_strictLastIndexOf.js +21 -0
- data/node_modules/lodash/_stringSize.js +18 -0
- data/node_modules/lodash/_stringToArray.js +18 -0
- data/node_modules/lodash/_stringToPath.js +31 -0
- data/node_modules/lodash/_toKey.js +21 -0
- data/node_modules/lodash/_toSource.js +26 -0
- data/node_modules/lodash/_unescapeHtmlChar.js +21 -0
- data/node_modules/lodash/_unicodeSize.js +42 -0
- data/node_modules/lodash/_unicodeToArray.js +38 -0
- data/node_modules/lodash/_unicodeWords.js +67 -0
- data/node_modules/lodash/_updateWrapDetails.js +46 -0
- data/node_modules/lodash/_wrapperClone.js +23 -0
- data/node_modules/lodash/add.js +22 -0
- data/node_modules/lodash/after.js +42 -0
- data/node_modules/lodash/array.js +67 -0
- data/node_modules/lodash/ary.js +29 -0
- data/node_modules/lodash/assign.js +58 -0
- data/node_modules/lodash/assignIn.js +40 -0
- data/node_modules/lodash/assignInWith.js +38 -0
- data/node_modules/lodash/assignWith.js +37 -0
- data/node_modules/lodash/at.js +23 -0
- data/node_modules/lodash/attempt.js +35 -0
- data/node_modules/lodash/before.js +40 -0
- data/node_modules/lodash/bind.js +57 -0
- data/node_modules/lodash/bindAll.js +41 -0
- data/node_modules/lodash/bindKey.js +68 -0
- data/node_modules/lodash/camelCase.js +29 -0
- data/node_modules/lodash/capitalize.js +23 -0
- data/node_modules/lodash/castArray.js +44 -0
- data/node_modules/lodash/ceil.js +26 -0
- data/node_modules/lodash/chain.js +38 -0
- data/node_modules/lodash/chunk.js +50 -0
- data/node_modules/lodash/clamp.js +39 -0
- data/node_modules/lodash/clone.js +33 -0
- data/node_modules/lodash/cloneDeep.js +25 -0
- data/node_modules/lodash/cloneDeepWith.js +36 -0
- data/node_modules/lodash/cloneWith.js +39 -0
- data/node_modules/lodash/collection.js +30 -0
- data/node_modules/lodash/commit.js +33 -0
- data/node_modules/lodash/compact.js +31 -0
- data/node_modules/lodash/concat.js +43 -0
- data/node_modules/lodash/cond.js +60 -0
- data/node_modules/lodash/conforms.js +32 -0
- data/node_modules/lodash/conformsTo.js +32 -0
- data/node_modules/lodash/constant.js +26 -0
- data/node_modules/lodash/core.js +3853 -0
- data/node_modules/lodash/core.min.js +29 -0
- data/node_modules/lodash/countBy.js +40 -0
- data/node_modules/lodash/create.js +43 -0
- data/node_modules/lodash/curry.js +57 -0
- data/node_modules/lodash/curryRight.js +54 -0
- data/node_modules/lodash/date.js +3 -0
- data/node_modules/lodash/debounce.js +188 -0
- data/node_modules/lodash/deburr.js +43 -0
- data/node_modules/lodash/defaultTo.js +25 -0
- data/node_modules/lodash/defaults.js +32 -0
- data/node_modules/lodash/defaultsDeep.js +30 -0
- data/node_modules/lodash/defer.js +26 -0
- data/node_modules/lodash/delay.js +28 -0
- data/node_modules/lodash/difference.js +33 -0
- data/node_modules/lodash/differenceBy.js +44 -0
- data/node_modules/lodash/differenceWith.js +40 -0
- data/node_modules/lodash/divide.js +22 -0
- data/node_modules/lodash/drop.js +38 -0
- data/node_modules/lodash/dropRight.js +39 -0
- data/node_modules/lodash/dropRightWhile.js +45 -0
- data/node_modules/lodash/dropWhile.js +45 -0
- data/node_modules/lodash/each.js +1 -0
- data/node_modules/lodash/eachRight.js +1 -0
- data/node_modules/lodash/endsWith.js +43 -0
- data/node_modules/lodash/entries.js +1 -0
- data/node_modules/lodash/entriesIn.js +1 -0
- data/node_modules/lodash/eq.js +37 -0
- data/node_modules/lodash/escape.js +43 -0
- data/node_modules/lodash/escapeRegExp.js +32 -0
- data/node_modules/lodash/every.js +56 -0
- data/node_modules/lodash/extend.js +1 -0
- data/node_modules/lodash/extendWith.js +1 -0
- data/node_modules/lodash/fill.js +45 -0
- data/node_modules/lodash/filter.js +48 -0
- data/node_modules/lodash/find.js +42 -0
- data/node_modules/lodash/findIndex.js +55 -0
- data/node_modules/lodash/findKey.js +44 -0
- data/node_modules/lodash/findLast.js +25 -0
- data/node_modules/lodash/findLastIndex.js +59 -0
- data/node_modules/lodash/findLastKey.js +44 -0
- data/node_modules/lodash/first.js +1 -0
- data/node_modules/lodash/flatMap.js +29 -0
- data/node_modules/lodash/flatMapDeep.js +31 -0
- data/node_modules/lodash/flatMapDepth.js +31 -0
- data/node_modules/lodash/flatten.js +22 -0
- data/node_modules/lodash/flattenDeep.js +25 -0
- data/node_modules/lodash/flattenDepth.js +33 -0
- data/node_modules/lodash/flip.js +28 -0
- data/node_modules/lodash/floor.js +26 -0
- data/node_modules/lodash/flow.js +27 -0
- data/node_modules/lodash/flowRight.js +26 -0
- data/node_modules/lodash/forEach.js +41 -0
- data/node_modules/lodash/forEachRight.js +31 -0
- data/node_modules/lodash/forIn.js +39 -0
- data/node_modules/lodash/forInRight.js +37 -0
- data/node_modules/lodash/forOwn.js +36 -0
- data/node_modules/lodash/forOwnRight.js +34 -0
- data/node_modules/lodash/fp.js +2 -0
- data/node_modules/lodash/fp/F.js +1 -0
- data/node_modules/lodash/fp/T.js +1 -0
- data/node_modules/lodash/fp/__.js +1 -0
- data/node_modules/lodash/fp/_baseConvert.js +536 -0
- data/node_modules/lodash/fp/_convertBrowser.js +18 -0
- data/node_modules/lodash/fp/_falseOptions.js +7 -0
- data/node_modules/lodash/fp/_mapping.js +367 -0
- data/node_modules/lodash/fp/_util.js +15 -0
- data/node_modules/lodash/fp/add.js +5 -0
- data/node_modules/lodash/fp/after.js +5 -0
- data/node_modules/lodash/fp/all.js +1 -0
- data/node_modules/lodash/fp/allPass.js +1 -0
- data/node_modules/lodash/fp/always.js +1 -0
- data/node_modules/lodash/fp/any.js +1 -0
- data/node_modules/lodash/fp/anyPass.js +1 -0
- data/node_modules/lodash/fp/apply.js +1 -0
- data/node_modules/lodash/fp/array.js +2 -0
- data/node_modules/lodash/fp/ary.js +5 -0
- data/node_modules/lodash/fp/assign.js +5 -0
- data/node_modules/lodash/fp/assignAll.js +5 -0
- data/node_modules/lodash/fp/assignAllWith.js +5 -0
- data/node_modules/lodash/fp/assignIn.js +5 -0
- data/node_modules/lodash/fp/assignInAll.js +5 -0
- data/node_modules/lodash/fp/assignInAllWith.js +5 -0
- data/node_modules/lodash/fp/assignInWith.js +5 -0
- data/node_modules/lodash/fp/assignWith.js +5 -0
- data/node_modules/lodash/fp/assoc.js +1 -0
- data/node_modules/lodash/fp/assocPath.js +1 -0
- data/node_modules/lodash/fp/at.js +5 -0
- data/node_modules/lodash/fp/attempt.js +5 -0
- data/node_modules/lodash/fp/before.js +5 -0
- data/node_modules/lodash/fp/bind.js +5 -0
- data/node_modules/lodash/fp/bindAll.js +5 -0
- data/node_modules/lodash/fp/bindKey.js +5 -0
- data/node_modules/lodash/fp/camelCase.js +5 -0
- data/node_modules/lodash/fp/capitalize.js +5 -0
- data/node_modules/lodash/fp/castArray.js +5 -0
- data/node_modules/lodash/fp/ceil.js +5 -0
- data/node_modules/lodash/fp/chain.js +5 -0
- data/node_modules/lodash/fp/chunk.js +5 -0
- data/node_modules/lodash/fp/clamp.js +5 -0
- data/node_modules/lodash/fp/clone.js +5 -0
- data/node_modules/lodash/fp/cloneDeep.js +5 -0
- data/node_modules/lodash/fp/cloneDeepWith.js +5 -0
- data/node_modules/lodash/fp/cloneWith.js +5 -0
- data/node_modules/lodash/fp/collection.js +2 -0
- data/node_modules/lodash/fp/commit.js +5 -0
- data/node_modules/lodash/fp/compact.js +5 -0
- data/node_modules/lodash/fp/complement.js +1 -0
- data/node_modules/lodash/fp/compose.js +1 -0
- data/node_modules/lodash/fp/concat.js +5 -0
- data/node_modules/lodash/fp/cond.js +5 -0
- data/node_modules/lodash/fp/conforms.js +1 -0
- data/node_modules/lodash/fp/conformsTo.js +5 -0
- data/node_modules/lodash/fp/constant.js +5 -0
- data/node_modules/lodash/fp/contains.js +1 -0
- data/node_modules/lodash/fp/convert.js +18 -0
- data/node_modules/lodash/fp/countBy.js +5 -0
- data/node_modules/lodash/fp/create.js +5 -0
- data/node_modules/lodash/fp/curry.js +5 -0
- data/node_modules/lodash/fp/curryN.js +5 -0
- data/node_modules/lodash/fp/curryRight.js +5 -0
- data/node_modules/lodash/fp/curryRightN.js +5 -0
- data/node_modules/lodash/fp/date.js +2 -0
- data/node_modules/lodash/fp/debounce.js +5 -0
- data/node_modules/lodash/fp/deburr.js +5 -0
- data/node_modules/lodash/fp/defaultTo.js +5 -0
- data/node_modules/lodash/fp/defaults.js +5 -0
- data/node_modules/lodash/fp/defaultsAll.js +5 -0
- data/node_modules/lodash/fp/defaultsDeep.js +5 -0
- data/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
- data/node_modules/lodash/fp/defer.js +5 -0
- data/node_modules/lodash/fp/delay.js +5 -0
- data/node_modules/lodash/fp/difference.js +5 -0
- data/node_modules/lodash/fp/differenceBy.js +5 -0
- data/node_modules/lodash/fp/differenceWith.js +5 -0
- data/node_modules/lodash/fp/dissoc.js +1 -0
- data/node_modules/lodash/fp/dissocPath.js +1 -0
- data/node_modules/lodash/fp/divide.js +5 -0
- data/node_modules/lodash/fp/drop.js +5 -0
- data/node_modules/lodash/fp/dropLast.js +1 -0
- data/node_modules/lodash/fp/dropLastWhile.js +1 -0
- data/node_modules/lodash/fp/dropRight.js +5 -0
- data/node_modules/lodash/fp/dropRightWhile.js +5 -0
- data/node_modules/lodash/fp/dropWhile.js +5 -0
- data/node_modules/lodash/fp/each.js +1 -0
- data/node_modules/lodash/fp/eachRight.js +1 -0
- data/node_modules/lodash/fp/endsWith.js +5 -0
- data/node_modules/lodash/fp/entries.js +1 -0
- data/node_modules/lodash/fp/entriesIn.js +1 -0
- data/node_modules/lodash/fp/eq.js +5 -0
- data/node_modules/lodash/fp/equals.js +1 -0
- data/node_modules/lodash/fp/escape.js +5 -0
- data/node_modules/lodash/fp/escapeRegExp.js +5 -0
- data/node_modules/lodash/fp/every.js +5 -0
- data/node_modules/lodash/fp/extend.js +1 -0
- data/node_modules/lodash/fp/extendAll.js +1 -0
- data/node_modules/lodash/fp/extendAllWith.js +1 -0
- data/node_modules/lodash/fp/extendWith.js +1 -0
- data/node_modules/lodash/fp/fill.js +5 -0
- data/node_modules/lodash/fp/filter.js +5 -0
- data/node_modules/lodash/fp/find.js +5 -0
- data/node_modules/lodash/fp/findFrom.js +5 -0
- data/node_modules/lodash/fp/findIndex.js +5 -0
- data/node_modules/lodash/fp/findIndexFrom.js +5 -0
- data/node_modules/lodash/fp/findKey.js +5 -0
- data/node_modules/lodash/fp/findLast.js +5 -0
- data/node_modules/lodash/fp/findLastFrom.js +5 -0
- data/node_modules/lodash/fp/findLastIndex.js +5 -0
- data/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
- data/node_modules/lodash/fp/findLastKey.js +5 -0
- data/node_modules/lodash/fp/first.js +1 -0
- data/node_modules/lodash/fp/flatMap.js +5 -0
- data/node_modules/lodash/fp/flatMapDeep.js +5 -0
- data/node_modules/lodash/fp/flatMapDepth.js +5 -0
- data/node_modules/lodash/fp/flatten.js +5 -0
- data/node_modules/lodash/fp/flattenDeep.js +5 -0
- data/node_modules/lodash/fp/flattenDepth.js +5 -0
- data/node_modules/lodash/fp/flip.js +5 -0
- data/node_modules/lodash/fp/floor.js +5 -0
- data/node_modules/lodash/fp/flow.js +5 -0
- data/node_modules/lodash/fp/flowRight.js +5 -0
- data/node_modules/lodash/fp/forEach.js +5 -0
- data/node_modules/lodash/fp/forEachRight.js +5 -0
- data/node_modules/lodash/fp/forIn.js +5 -0
- data/node_modules/lodash/fp/forInRight.js +5 -0
- data/node_modules/lodash/fp/forOwn.js +5 -0
- data/node_modules/lodash/fp/forOwnRight.js +5 -0
- data/node_modules/lodash/fp/fromPairs.js +5 -0
- data/node_modules/lodash/fp/function.js +2 -0
- data/node_modules/lodash/fp/functions.js +5 -0
- data/node_modules/lodash/fp/functionsIn.js +5 -0
- data/node_modules/lodash/fp/get.js +5 -0
- data/node_modules/lodash/fp/getOr.js +5 -0
- data/node_modules/lodash/fp/groupBy.js +5 -0
- data/node_modules/lodash/fp/gt.js +5 -0
- data/node_modules/lodash/fp/gte.js +5 -0
- data/node_modules/lodash/fp/has.js +5 -0
- data/node_modules/lodash/fp/hasIn.js +5 -0
- data/node_modules/lodash/fp/head.js +5 -0
- data/node_modules/lodash/fp/identical.js +1 -0
- data/node_modules/lodash/fp/identity.js +5 -0
- data/node_modules/lodash/fp/inRange.js +5 -0
- data/node_modules/lodash/fp/includes.js +5 -0
- data/node_modules/lodash/fp/includesFrom.js +5 -0
- data/node_modules/lodash/fp/indexBy.js +1 -0
- data/node_modules/lodash/fp/indexOf.js +5 -0
- data/node_modules/lodash/fp/indexOfFrom.js +5 -0
- data/node_modules/lodash/fp/init.js +1 -0
- data/node_modules/lodash/fp/initial.js +5 -0
- data/node_modules/lodash/fp/intersection.js +5 -0
- data/node_modules/lodash/fp/intersectionBy.js +5 -0
- data/node_modules/lodash/fp/intersectionWith.js +5 -0
- data/node_modules/lodash/fp/invert.js +5 -0
- data/node_modules/lodash/fp/invertBy.js +5 -0
- data/node_modules/lodash/fp/invertObj.js +1 -0
- data/node_modules/lodash/fp/invoke.js +5 -0
- data/node_modules/lodash/fp/invokeArgs.js +5 -0
- data/node_modules/lodash/fp/invokeArgsMap.js +5 -0
- data/node_modules/lodash/fp/invokeMap.js +5 -0
- data/node_modules/lodash/fp/isArguments.js +5 -0
- data/node_modules/lodash/fp/isArray.js +5 -0
- data/node_modules/lodash/fp/isArrayBuffer.js +5 -0
- data/node_modules/lodash/fp/isArrayLike.js +5 -0
- data/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
- data/node_modules/lodash/fp/isBoolean.js +5 -0
- data/node_modules/lodash/fp/isBuffer.js +5 -0
- data/node_modules/lodash/fp/isDate.js +5 -0
- data/node_modules/lodash/fp/isElement.js +5 -0
- data/node_modules/lodash/fp/isEmpty.js +5 -0
- data/node_modules/lodash/fp/isEqual.js +5 -0
- data/node_modules/lodash/fp/isEqualWith.js +5 -0
- data/node_modules/lodash/fp/isError.js +5 -0
- data/node_modules/lodash/fp/isFinite.js +5 -0
- data/node_modules/lodash/fp/isFunction.js +5 -0
- data/node_modules/lodash/fp/isInteger.js +5 -0
- data/node_modules/lodash/fp/isLength.js +5 -0
- data/node_modules/lodash/fp/isMap.js +5 -0
- data/node_modules/lodash/fp/isMatch.js +5 -0
- data/node_modules/lodash/fp/isMatchWith.js +5 -0
- data/node_modules/lodash/fp/isNaN.js +5 -0
- data/node_modules/lodash/fp/isNative.js +5 -0
- data/node_modules/lodash/fp/isNil.js +5 -0
- data/node_modules/lodash/fp/isNull.js +5 -0
- data/node_modules/lodash/fp/isNumber.js +5 -0
- data/node_modules/lodash/fp/isObject.js +5 -0
- data/node_modules/lodash/fp/isObjectLike.js +5 -0
- data/node_modules/lodash/fp/isPlainObject.js +5 -0
- data/node_modules/lodash/fp/isRegExp.js +5 -0
- data/node_modules/lodash/fp/isSafeInteger.js +5 -0
- data/node_modules/lodash/fp/isSet.js +5 -0
- data/node_modules/lodash/fp/isString.js +5 -0
- data/node_modules/lodash/fp/isSymbol.js +5 -0
- data/node_modules/lodash/fp/isTypedArray.js +5 -0
- data/node_modules/lodash/fp/isUndefined.js +5 -0
- data/node_modules/lodash/fp/isWeakMap.js +5 -0
- data/node_modules/lodash/fp/isWeakSet.js +5 -0
- data/node_modules/lodash/fp/iteratee.js +5 -0
- data/node_modules/lodash/fp/join.js +5 -0
- data/node_modules/lodash/fp/juxt.js +1 -0
- data/node_modules/lodash/fp/kebabCase.js +5 -0
- data/node_modules/lodash/fp/keyBy.js +5 -0
- data/node_modules/lodash/fp/keys.js +5 -0
- data/node_modules/lodash/fp/keysIn.js +5 -0
- data/node_modules/lodash/fp/lang.js +2 -0
- data/node_modules/lodash/fp/last.js +5 -0
- data/node_modules/lodash/fp/lastIndexOf.js +5 -0
- data/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
- data/node_modules/lodash/fp/lowerCase.js +5 -0
- data/node_modules/lodash/fp/lowerFirst.js +5 -0
- data/node_modules/lodash/fp/lt.js +5 -0
- data/node_modules/lodash/fp/lte.js +5 -0
- data/node_modules/lodash/fp/map.js +5 -0
- data/node_modules/lodash/fp/mapKeys.js +5 -0
- data/node_modules/lodash/fp/mapValues.js +5 -0
- data/node_modules/lodash/fp/matches.js +1 -0
- data/node_modules/lodash/fp/matchesProperty.js +5 -0
- data/node_modules/lodash/fp/math.js +2 -0
- data/node_modules/lodash/fp/max.js +5 -0
- data/node_modules/lodash/fp/maxBy.js +5 -0
- data/node_modules/lodash/fp/mean.js +5 -0
- data/node_modules/lodash/fp/meanBy.js +5 -0
- data/node_modules/lodash/fp/memoize.js +5 -0
- data/node_modules/lodash/fp/merge.js +5 -0
- data/node_modules/lodash/fp/mergeAll.js +5 -0
- data/node_modules/lodash/fp/mergeAllWith.js +5 -0
- data/node_modules/lodash/fp/mergeWith.js +5 -0
- data/node_modules/lodash/fp/method.js +5 -0
- data/node_modules/lodash/fp/methodOf.js +5 -0
- data/node_modules/lodash/fp/min.js +5 -0
- data/node_modules/lodash/fp/minBy.js +5 -0
- data/node_modules/lodash/fp/mixin.js +5 -0
- data/node_modules/lodash/fp/multiply.js +5 -0
- data/node_modules/lodash/fp/nAry.js +1 -0
- data/node_modules/lodash/fp/negate.js +5 -0
- data/node_modules/lodash/fp/next.js +5 -0
- data/node_modules/lodash/fp/noop.js +5 -0
- data/node_modules/lodash/fp/now.js +5 -0
- data/node_modules/lodash/fp/nth.js +5 -0
- data/node_modules/lodash/fp/nthArg.js +5 -0
- data/node_modules/lodash/fp/number.js +2 -0
- data/node_modules/lodash/fp/object.js +2 -0
- data/node_modules/lodash/fp/omit.js +5 -0
- data/node_modules/lodash/fp/omitAll.js +1 -0
- data/node_modules/lodash/fp/omitBy.js +5 -0
- data/node_modules/lodash/fp/once.js +5 -0
- data/node_modules/lodash/fp/orderBy.js +5 -0
- data/node_modules/lodash/fp/over.js +5 -0
- data/node_modules/lodash/fp/overArgs.js +5 -0
- data/node_modules/lodash/fp/overEvery.js +5 -0
- data/node_modules/lodash/fp/overSome.js +5 -0
- data/node_modules/lodash/fp/pad.js +5 -0
- data/node_modules/lodash/fp/padChars.js +5 -0
- data/node_modules/lodash/fp/padCharsEnd.js +5 -0
- data/node_modules/lodash/fp/padCharsStart.js +5 -0
- data/node_modules/lodash/fp/padEnd.js +5 -0
- data/node_modules/lodash/fp/padStart.js +5 -0
- data/node_modules/lodash/fp/parseInt.js +5 -0
- data/node_modules/lodash/fp/partial.js +5 -0
- data/node_modules/lodash/fp/partialRight.js +5 -0
- data/node_modules/lodash/fp/partition.js +5 -0
- data/node_modules/lodash/fp/path.js +1 -0
- data/node_modules/lodash/fp/pathEq.js +1 -0
- data/node_modules/lodash/fp/pathOr.js +1 -0
- data/node_modules/lodash/fp/paths.js +1 -0
- data/node_modules/lodash/fp/pick.js +5 -0
- data/node_modules/lodash/fp/pickAll.js +1 -0
- data/node_modules/lodash/fp/pickBy.js +5 -0
- data/node_modules/lodash/fp/pipe.js +1 -0
- data/node_modules/lodash/fp/placeholder.js +6 -0
- data/node_modules/lodash/fp/plant.js +5 -0
- data/node_modules/lodash/fp/pluck.js +1 -0
- data/node_modules/lodash/fp/prop.js +1 -0
- data/node_modules/lodash/fp/propEq.js +1 -0
- data/node_modules/lodash/fp/propOr.js +1 -0
- data/node_modules/lodash/fp/property.js +1 -0
- data/node_modules/lodash/fp/propertyOf.js +5 -0
- data/node_modules/lodash/fp/props.js +1 -0
- data/node_modules/lodash/fp/pull.js +5 -0
- data/node_modules/lodash/fp/pullAll.js +5 -0
- data/node_modules/lodash/fp/pullAllBy.js +5 -0
- data/node_modules/lodash/fp/pullAllWith.js +5 -0
- data/node_modules/lodash/fp/pullAt.js +5 -0
- data/node_modules/lodash/fp/random.js +5 -0
- data/node_modules/lodash/fp/range.js +5 -0
- data/node_modules/lodash/fp/rangeRight.js +5 -0
- data/node_modules/lodash/fp/rangeStep.js +5 -0
- data/node_modules/lodash/fp/rangeStepRight.js +5 -0
- data/node_modules/lodash/fp/rearg.js +5 -0
- data/node_modules/lodash/fp/reduce.js +5 -0
- data/node_modules/lodash/fp/reduceRight.js +5 -0
- data/node_modules/lodash/fp/reject.js +5 -0
- data/node_modules/lodash/fp/remove.js +5 -0
- data/node_modules/lodash/fp/repeat.js +5 -0
- data/node_modules/lodash/fp/replace.js +5 -0
- data/node_modules/lodash/fp/rest.js +5 -0
- data/node_modules/lodash/fp/restFrom.js +5 -0
- data/node_modules/lodash/fp/result.js +5 -0
- data/node_modules/lodash/fp/reverse.js +5 -0
- data/node_modules/lodash/fp/round.js +5 -0
- data/node_modules/lodash/fp/sample.js +5 -0
- data/node_modules/lodash/fp/sampleSize.js +5 -0
- data/node_modules/lodash/fp/seq.js +2 -0
- data/node_modules/lodash/fp/set.js +5 -0
- data/node_modules/lodash/fp/setWith.js +5 -0
- data/node_modules/lodash/fp/shuffle.js +5 -0
- data/node_modules/lodash/fp/size.js +5 -0
- data/node_modules/lodash/fp/slice.js +5 -0
- data/node_modules/lodash/fp/snakeCase.js +5 -0
- data/node_modules/lodash/fp/some.js +5 -0
- data/node_modules/lodash/fp/sortBy.js +5 -0
- data/node_modules/lodash/fp/sortedIndex.js +5 -0
- data/node_modules/lodash/fp/sortedIndexBy.js +5 -0
- data/node_modules/lodash/fp/sortedIndexOf.js +5 -0
- data/node_modules/lodash/fp/sortedLastIndex.js +5 -0
- data/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
- data/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
- data/node_modules/lodash/fp/sortedUniq.js +5 -0
- data/node_modules/lodash/fp/sortedUniqBy.js +5 -0
- data/node_modules/lodash/fp/split.js +5 -0
- data/node_modules/lodash/fp/spread.js +5 -0
- data/node_modules/lodash/fp/spreadFrom.js +5 -0
- data/node_modules/lodash/fp/startCase.js +5 -0
- data/node_modules/lodash/fp/startsWith.js +5 -0
- data/node_modules/lodash/fp/string.js +2 -0
- data/node_modules/lodash/fp/stubArray.js +5 -0
- data/node_modules/lodash/fp/stubFalse.js +5 -0
- data/node_modules/lodash/fp/stubObject.js +5 -0
- data/node_modules/lodash/fp/stubString.js +5 -0
- data/node_modules/lodash/fp/stubTrue.js +5 -0
- data/node_modules/lodash/fp/subtract.js +5 -0
- data/node_modules/lodash/fp/sum.js +5 -0
- data/node_modules/lodash/fp/sumBy.js +5 -0
- data/node_modules/lodash/fp/symmetricDifference.js +1 -0
- data/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
- data/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
- data/node_modules/lodash/fp/tail.js +5 -0
- data/node_modules/lodash/fp/take.js +5 -0
- data/node_modules/lodash/fp/takeLast.js +1 -0
- data/node_modules/lodash/fp/takeLastWhile.js +1 -0
- data/node_modules/lodash/fp/takeRight.js +5 -0
- data/node_modules/lodash/fp/takeRightWhile.js +5 -0
- data/node_modules/lodash/fp/takeWhile.js +5 -0
- data/node_modules/lodash/fp/tap.js +5 -0
- data/node_modules/lodash/fp/template.js +5 -0
- data/node_modules/lodash/fp/templateSettings.js +5 -0
- data/node_modules/lodash/fp/throttle.js +5 -0
- data/node_modules/lodash/fp/thru.js +5 -0
- data/node_modules/lodash/fp/times.js +5 -0
- data/node_modules/lodash/fp/toArray.js +5 -0
- data/node_modules/lodash/fp/toFinite.js +5 -0
- data/node_modules/lodash/fp/toInteger.js +5 -0
- data/node_modules/lodash/fp/toIterator.js +5 -0
- data/node_modules/lodash/fp/toJSON.js +5 -0
- data/node_modules/lodash/fp/toLength.js +5 -0
- data/node_modules/lodash/fp/toLower.js +5 -0
- data/node_modules/lodash/fp/toNumber.js +5 -0
- data/node_modules/lodash/fp/toPairs.js +5 -0
- data/node_modules/lodash/fp/toPairsIn.js +5 -0
- data/node_modules/lodash/fp/toPath.js +5 -0
- data/node_modules/lodash/fp/toPlainObject.js +5 -0
- data/node_modules/lodash/fp/toSafeInteger.js +5 -0
- data/node_modules/lodash/fp/toString.js +5 -0
- data/node_modules/lodash/fp/toUpper.js +5 -0
- data/node_modules/lodash/fp/transform.js +5 -0
- data/node_modules/lodash/fp/trim.js +5 -0
- data/node_modules/lodash/fp/trimChars.js +5 -0
- data/node_modules/lodash/fp/trimCharsEnd.js +5 -0
- data/node_modules/lodash/fp/trimCharsStart.js +5 -0
- data/node_modules/lodash/fp/trimEnd.js +5 -0
- data/node_modules/lodash/fp/trimStart.js +5 -0
- data/node_modules/lodash/fp/truncate.js +5 -0
- data/node_modules/lodash/fp/unapply.js +1 -0
- data/node_modules/lodash/fp/unary.js +5 -0
- data/node_modules/lodash/fp/unescape.js +5 -0
- data/node_modules/lodash/fp/union.js +5 -0
- data/node_modules/lodash/fp/unionBy.js +5 -0
- data/node_modules/lodash/fp/unionWith.js +5 -0
- data/node_modules/lodash/fp/uniq.js +5 -0
- data/node_modules/lodash/fp/uniqBy.js +5 -0
- data/node_modules/lodash/fp/uniqWith.js +5 -0
- data/node_modules/lodash/fp/uniqueId.js +5 -0
- data/node_modules/lodash/fp/unnest.js +1 -0
- data/node_modules/lodash/fp/unset.js +5 -0
- data/node_modules/lodash/fp/unzip.js +5 -0
- data/node_modules/lodash/fp/unzipWith.js +5 -0
- data/node_modules/lodash/fp/update.js +5 -0
- data/node_modules/lodash/fp/updateWith.js +5 -0
- data/node_modules/lodash/fp/upperCase.js +5 -0
- data/node_modules/lodash/fp/upperFirst.js +5 -0
- data/node_modules/lodash/fp/useWith.js +1 -0
- data/node_modules/lodash/fp/util.js +2 -0
- data/node_modules/lodash/fp/value.js +5 -0
- data/node_modules/lodash/fp/valueOf.js +5 -0
- data/node_modules/lodash/fp/values.js +5 -0
- data/node_modules/lodash/fp/valuesIn.js +5 -0
- data/node_modules/lodash/fp/where.js +1 -0
- data/node_modules/lodash/fp/whereEq.js +1 -0
- data/node_modules/lodash/fp/without.js +5 -0
- data/node_modules/lodash/fp/words.js +5 -0
- data/node_modules/lodash/fp/wrap.js +5 -0
- data/node_modules/lodash/fp/wrapperAt.js +5 -0
- data/node_modules/lodash/fp/wrapperChain.js +5 -0
- data/node_modules/lodash/fp/wrapperLodash.js +5 -0
- data/node_modules/lodash/fp/wrapperReverse.js +5 -0
- data/node_modules/lodash/fp/wrapperValue.js +5 -0
- data/node_modules/lodash/fp/xor.js +5 -0
- data/node_modules/lodash/fp/xorBy.js +5 -0
- data/node_modules/lodash/fp/xorWith.js +5 -0
- data/node_modules/lodash/fp/zip.js +5 -0
- data/node_modules/lodash/fp/zipAll.js +5 -0
- data/node_modules/lodash/fp/zipObj.js +1 -0
- data/node_modules/lodash/fp/zipObject.js +5 -0
- data/node_modules/lodash/fp/zipObjectDeep.js +5 -0
- data/node_modules/lodash/fp/zipWith.js +5 -0
- data/node_modules/lodash/fromPairs.js +28 -0
- data/node_modules/lodash/function.js +25 -0
- data/node_modules/lodash/functions.js +31 -0
- data/node_modules/lodash/functionsIn.js +31 -0
- data/node_modules/lodash/get.js +33 -0
- data/node_modules/lodash/groupBy.js +41 -0
- data/node_modules/lodash/gt.js +29 -0
- data/node_modules/lodash/gte.js +30 -0
- data/node_modules/lodash/has.js +35 -0
- data/node_modules/lodash/hasIn.js +34 -0
- data/node_modules/lodash/head.js +23 -0
- data/node_modules/lodash/identity.js +21 -0
- data/node_modules/lodash/inRange.js +55 -0
- data/node_modules/lodash/includes.js +53 -0
- data/node_modules/lodash/index.js +1 -0
- data/node_modules/lodash/indexOf.js +42 -0
- data/node_modules/lodash/initial.js +22 -0
- data/node_modules/lodash/intersection.js +30 -0
- data/node_modules/lodash/intersectionBy.js +45 -0
- data/node_modules/lodash/intersectionWith.js +41 -0
- data/node_modules/lodash/invert.js +27 -0
- data/node_modules/lodash/invertBy.js +44 -0
- data/node_modules/lodash/invoke.js +24 -0
- data/node_modules/lodash/invokeMap.js +44 -0
- data/node_modules/lodash/isArguments.js +36 -0
- data/node_modules/lodash/isArray.js +26 -0
- data/node_modules/lodash/isArrayBuffer.js +27 -0
- data/node_modules/lodash/isArrayLike.js +33 -0
- data/node_modules/lodash/isArrayLikeObject.js +33 -0
- data/node_modules/lodash/isBoolean.js +29 -0
- data/node_modules/lodash/isBuffer.js +38 -0
- data/node_modules/lodash/isDate.js +27 -0
- data/node_modules/lodash/isElement.js +25 -0
- data/node_modules/lodash/isEmpty.js +77 -0
- data/node_modules/lodash/isEqual.js +35 -0
- data/node_modules/lodash/isEqualWith.js +41 -0
- data/node_modules/lodash/isError.js +36 -0
- data/node_modules/lodash/isFinite.js +36 -0
- data/node_modules/lodash/isFunction.js +37 -0
- data/node_modules/lodash/isInteger.js +33 -0
- data/node_modules/lodash/isLength.js +35 -0
- data/node_modules/lodash/isMap.js +27 -0
- data/node_modules/lodash/isMatch.js +36 -0
- data/node_modules/lodash/isMatchWith.js +41 -0
- data/node_modules/lodash/isNaN.js +38 -0
- data/node_modules/lodash/isNative.js +40 -0
- data/node_modules/lodash/isNil.js +25 -0
- data/node_modules/lodash/isNull.js +22 -0
- data/node_modules/lodash/isNumber.js +38 -0
- data/node_modules/lodash/isObject.js +31 -0
- data/node_modules/lodash/isObjectLike.js +29 -0
- data/node_modules/lodash/isPlainObject.js +62 -0
- data/node_modules/lodash/isRegExp.js +27 -0
- data/node_modules/lodash/isSafeInteger.js +37 -0
- data/node_modules/lodash/isSet.js +27 -0
- data/node_modules/lodash/isString.js +30 -0
- data/node_modules/lodash/isSymbol.js +29 -0
- data/node_modules/lodash/isTypedArray.js +27 -0
- data/node_modules/lodash/isUndefined.js +22 -0
- data/node_modules/lodash/isWeakMap.js +28 -0
- data/node_modules/lodash/isWeakSet.js +28 -0
- data/node_modules/lodash/iteratee.js +50 -0
- data/node_modules/lodash/join.js +26 -0
- data/node_modules/lodash/kebabCase.js +28 -0
- data/node_modules/lodash/keyBy.js +36 -0
- data/node_modules/lodash/keys.js +37 -0
- data/node_modules/lodash/keysIn.js +32 -0
- data/node_modules/lodash/lang.js +58 -0
- data/node_modules/lodash/last.js +20 -0
- data/node_modules/lodash/lastIndexOf.js +46 -0
- data/node_modules/lodash/lodash.js +17018 -0
- data/node_modules/lodash/lodash.min.js +135 -0
- data/node_modules/lodash/lowerCase.js +27 -0
- data/node_modules/lodash/lowerFirst.js +22 -0
- data/node_modules/lodash/lt.js +29 -0
- data/node_modules/lodash/lte.js +30 -0
- data/node_modules/lodash/map.js +53 -0
- data/node_modules/lodash/mapKeys.js +36 -0
- data/node_modules/lodash/mapValues.js +43 -0
- data/node_modules/lodash/matches.js +36 -0
- data/node_modules/lodash/matchesProperty.js +34 -0
- data/node_modules/lodash/math.js +17 -0
- data/node_modules/lodash/max.js +29 -0
- data/node_modules/lodash/maxBy.js +34 -0
- data/node_modules/lodash/mean.js +22 -0
- data/node_modules/lodash/meanBy.js +31 -0
- data/node_modules/lodash/memoize.js +73 -0
- data/node_modules/lodash/merge.js +39 -0
- data/node_modules/lodash/mergeWith.js +39 -0
- data/node_modules/lodash/method.js +34 -0
- data/node_modules/lodash/methodOf.js +33 -0
- data/node_modules/lodash/min.js +29 -0
- data/node_modules/lodash/minBy.js +34 -0
- data/node_modules/lodash/mixin.js +74 -0
- data/node_modules/lodash/multiply.js +22 -0
- data/node_modules/lodash/negate.js +40 -0
- data/node_modules/lodash/next.js +35 -0
- data/node_modules/lodash/noop.js +17 -0
- data/node_modules/lodash/now.js +23 -0
- data/node_modules/lodash/nth.js +29 -0
- data/node_modules/lodash/nthArg.js +32 -0
- data/node_modules/lodash/number.js +5 -0
- data/node_modules/lodash/object.js +49 -0
- data/node_modules/lodash/omit.js +35 -0
- data/node_modules/lodash/omitBy.js +29 -0
- data/node_modules/lodash/once.js +25 -0
- data/node_modules/lodash/orderBy.js +47 -0
- data/node_modules/lodash/over.js +24 -0
- data/node_modules/lodash/overArgs.js +61 -0
- data/node_modules/lodash/overEvery.js +30 -0
- data/node_modules/lodash/overSome.js +30 -0
- data/node_modules/lodash/package.json +18 -0
- data/node_modules/lodash/pad.js +49 -0
- data/node_modules/lodash/padEnd.js +39 -0
- data/node_modules/lodash/padStart.js +39 -0
- data/node_modules/lodash/parseInt.js +43 -0
- data/node_modules/lodash/partial.js +50 -0
- data/node_modules/lodash/partialRight.js +49 -0
- data/node_modules/lodash/partition.js +43 -0
- data/node_modules/lodash/pick.js +27 -0
- data/node_modules/lodash/pickBy.js +27 -0
- data/node_modules/lodash/plant.js +48 -0
- data/node_modules/lodash/property.js +32 -0
- data/node_modules/lodash/propertyOf.js +30 -0
- data/node_modules/lodash/pull.js +29 -0
- data/node_modules/lodash/pullAll.js +29 -0
- data/node_modules/lodash/pullAllBy.js +33 -0
- data/node_modules/lodash/pullAllWith.js +32 -0
- data/node_modules/lodash/pullAt.js +43 -0
- data/node_modules/lodash/random.js +82 -0
- data/node_modules/lodash/range.js +46 -0
- data/node_modules/lodash/rangeRight.js +41 -0
- data/node_modules/lodash/rearg.js +33 -0
- data/node_modules/lodash/reduce.js +51 -0
- data/node_modules/lodash/reduceRight.js +36 -0
- data/node_modules/lodash/reject.js +46 -0
- data/node_modules/lodash/remove.js +53 -0
- data/node_modules/lodash/repeat.js +37 -0
- data/node_modules/lodash/replace.js +29 -0
- data/node_modules/lodash/rest.js +40 -0
- data/node_modules/lodash/result.js +57 -0
- data/node_modules/lodash/reverse.js +34 -0
- data/node_modules/lodash/round.js +26 -0
- data/node_modules/lodash/sample.js +24 -0
- data/node_modules/lodash/sampleSize.js +37 -0
- data/node_modules/lodash/seq.js +16 -0
- data/node_modules/lodash/set.js +35 -0
- data/node_modules/lodash/setWith.js +32 -0
- data/node_modules/lodash/shuffle.js +25 -0
- data/node_modules/lodash/size.js +46 -0
- data/node_modules/lodash/slice.js +37 -0
- data/node_modules/lodash/snakeCase.js +28 -0
- data/node_modules/lodash/some.js +51 -0
- data/node_modules/lodash/sortBy.js +48 -0
- data/node_modules/lodash/sortedIndex.js +24 -0
- data/node_modules/lodash/sortedIndexBy.js +33 -0
- data/node_modules/lodash/sortedIndexOf.js +31 -0
- data/node_modules/lodash/sortedLastIndex.js +25 -0
- data/node_modules/lodash/sortedLastIndexBy.js +33 -0
- data/node_modules/lodash/sortedLastIndexOf.js +31 -0
- data/node_modules/lodash/sortedUniq.js +24 -0
- data/node_modules/lodash/sortedUniqBy.js +26 -0
- data/node_modules/lodash/split.js +52 -0
- data/node_modules/lodash/spread.js +63 -0
- data/node_modules/lodash/startCase.js +29 -0
- data/node_modules/lodash/startsWith.js +36 -0
- data/node_modules/lodash/string.js +33 -0
- data/node_modules/lodash/stubArray.js +23 -0
- data/node_modules/lodash/stubFalse.js +18 -0
- data/node_modules/lodash/stubObject.js +23 -0
- data/node_modules/lodash/stubString.js +18 -0
- data/node_modules/lodash/stubTrue.js +18 -0
- data/node_modules/lodash/subtract.js +22 -0
- data/node_modules/lodash/sum.js +24 -0
- data/node_modules/lodash/sumBy.js +33 -0
- data/node_modules/lodash/tail.js +22 -0
- data/node_modules/lodash/take.js +37 -0
- data/node_modules/lodash/takeRight.js +39 -0
- data/node_modules/lodash/takeRightWhile.js +45 -0
- data/node_modules/lodash/takeWhile.js +45 -0
- data/node_modules/lodash/tap.js +29 -0
- data/node_modules/lodash/template.js +238 -0
- data/node_modules/lodash/templateSettings.js +67 -0
- data/node_modules/lodash/throttle.js +69 -0
- data/node_modules/lodash/thru.js +28 -0
- data/node_modules/lodash/times.js +51 -0
- data/node_modules/lodash/toArray.js +58 -0
- data/node_modules/lodash/toFinite.js +42 -0
- data/node_modules/lodash/toInteger.js +36 -0
- data/node_modules/lodash/toIterator.js +23 -0
- data/node_modules/lodash/toJSON.js +1 -0
- data/node_modules/lodash/toLength.js +38 -0
- data/node_modules/lodash/toLower.js +28 -0
- data/node_modules/lodash/toNumber.js +66 -0
- data/node_modules/lodash/toPairs.js +30 -0
- data/node_modules/lodash/toPairsIn.js +30 -0
- data/node_modules/lodash/toPath.js +32 -0
- data/node_modules/lodash/toPlainObject.js +32 -0
- data/node_modules/lodash/toSafeInteger.js +35 -0
- data/node_modules/lodash/toString.js +28 -0
- data/node_modules/lodash/toUpper.js +28 -0
- data/node_modules/lodash/transform.js +65 -0
- data/node_modules/lodash/trim.js +49 -0
- data/node_modules/lodash/trimEnd.js +43 -0
- data/node_modules/lodash/trimStart.js +43 -0
- data/node_modules/lodash/truncate.js +111 -0
- data/node_modules/lodash/unary.js +22 -0
- data/node_modules/lodash/unescape.js +34 -0
- data/node_modules/lodash/union.js +26 -0
- data/node_modules/lodash/unionBy.js +39 -0
- data/node_modules/lodash/unionWith.js +34 -0
- data/node_modules/lodash/uniq.js +25 -0
- data/node_modules/lodash/uniqBy.js +31 -0
- data/node_modules/lodash/uniqWith.js +28 -0
- data/node_modules/lodash/uniqueId.js +28 -0
- data/node_modules/lodash/unset.js +34 -0
- data/node_modules/lodash/unzip.js +45 -0
- data/node_modules/lodash/unzipWith.js +39 -0
- data/node_modules/lodash/update.js +35 -0
- data/node_modules/lodash/updateWith.js +33 -0
- data/node_modules/lodash/upperCase.js +27 -0
- data/node_modules/lodash/upperFirst.js +22 -0
- data/node_modules/lodash/util.js +34 -0
- data/node_modules/lodash/value.js +1 -0
- data/node_modules/lodash/valueOf.js +1 -0
- data/node_modules/lodash/values.js +34 -0
- data/node_modules/lodash/valuesIn.js +32 -0
- data/node_modules/lodash/without.js +31 -0
- data/node_modules/lodash/words.js +35 -0
- data/node_modules/lodash/wrap.js +30 -0
- data/node_modules/lodash/wrapperAt.js +48 -0
- data/node_modules/lodash/wrapperChain.js +34 -0
- data/node_modules/lodash/wrapperLodash.js +147 -0
- data/node_modules/lodash/wrapperReverse.js +44 -0
- data/node_modules/lodash/wrapperValue.js +21 -0
- data/node_modules/lodash/xor.js +28 -0
- data/node_modules/lodash/xorBy.js +39 -0
- data/node_modules/lodash/xorWith.js +34 -0
- data/node_modules/lodash/zip.js +22 -0
- data/node_modules/lodash/zipObject.js +24 -0
- data/node_modules/lodash/zipObjectDeep.js +23 -0
- data/node_modules/lodash/zipWith.js +32 -0
- data/node_modules/merge/.npmignore +1 -0
- data/node_modules/merge/LICENSE +21 -0
- data/node_modules/merge/README.md +58 -0
- data/node_modules/merge/bower.json +22 -0
- data/node_modules/merge/merge.js +175 -0
- data/node_modules/merge/merge.min.js +3 -0
- data/node_modules/merge/package.json +24 -0
- data/node_modules/minimatch/LICENSE +15 -0
- data/node_modules/minimatch/README.md +209 -0
- data/node_modules/minimatch/minimatch.js +923 -0
- data/node_modules/minimatch/package.json +29 -0
- data/node_modules/minimist/.travis.yml +8 -0
- data/node_modules/minimist/LICENSE +18 -0
- data/node_modules/minimist/example/parse.js +2 -0
- data/node_modules/minimist/index.js +230 -0
- data/node_modules/minimist/package.json +45 -0
- data/node_modules/minimist/readme.markdown +91 -0
- data/node_modules/minimist/test/all_bool.js +32 -0
- data/node_modules/minimist/test/bool.js +166 -0
- data/node_modules/minimist/test/dash.js +31 -0
- data/node_modules/minimist/test/default_bool.js +35 -0
- data/node_modules/minimist/test/dotted.js +22 -0
- data/node_modules/minimist/test/long.js +31 -0
- data/node_modules/minimist/test/num.js +36 -0
- data/node_modules/minimist/test/parse.js +197 -0
- data/node_modules/minimist/test/parse_modified.js +9 -0
- data/node_modules/minimist/test/short.js +67 -0
- data/node_modules/minimist/test/stop_early.js +15 -0
- data/node_modules/minimist/test/unknown.js +102 -0
- data/node_modules/minimist/test/whitespace.js +8 -0
- data/node_modules/mkdirp/.travis.yml +8 -0
- data/node_modules/mkdirp/LICENSE +21 -0
- data/node_modules/mkdirp/bin/cmd.js +33 -0
- data/node_modules/mkdirp/bin/usage.txt +12 -0
- data/node_modules/mkdirp/examples/pow.js +6 -0
- data/node_modules/mkdirp/index.js +98 -0
- data/node_modules/mkdirp/node_modules/minimist/.travis.yml +4 -0
- data/node_modules/mkdirp/node_modules/minimist/LICENSE +18 -0
- data/node_modules/mkdirp/node_modules/minimist/example/parse.js +2 -0
- data/node_modules/mkdirp/node_modules/minimist/index.js +187 -0
- data/node_modules/mkdirp/node_modules/minimist/package.json +40 -0
- data/node_modules/mkdirp/node_modules/minimist/readme.markdown +73 -0
- data/node_modules/mkdirp/node_modules/minimist/test/dash.js +24 -0
- data/node_modules/mkdirp/node_modules/minimist/test/default_bool.js +20 -0
- data/node_modules/mkdirp/node_modules/minimist/test/dotted.js +16 -0
- data/node_modules/mkdirp/node_modules/minimist/test/long.js +31 -0
- data/node_modules/mkdirp/node_modules/minimist/test/parse.js +318 -0
- data/node_modules/mkdirp/node_modules/minimist/test/parse_modified.js +9 -0
- data/node_modules/mkdirp/node_modules/minimist/test/short.js +67 -0
- data/node_modules/mkdirp/node_modules/minimist/test/whitespace.js +8 -0
- data/node_modules/mkdirp/package.json +27 -0
- data/node_modules/mkdirp/readme.markdown +100 -0
- data/node_modules/mkdirp/test/chmod.js +41 -0
- data/node_modules/mkdirp/test/clobber.js +38 -0
- data/node_modules/mkdirp/test/mkdirp.js +28 -0
- data/node_modules/mkdirp/test/opts_fs.js +29 -0
- data/node_modules/mkdirp/test/opts_fs_sync.js +27 -0
- data/node_modules/mkdirp/test/perm.js +32 -0
- data/node_modules/mkdirp/test/perm_sync.js +36 -0
- data/node_modules/mkdirp/test/race.js +37 -0
- data/node_modules/mkdirp/test/rel.js +32 -0
- data/node_modules/mkdirp/test/return.js +25 -0
- data/node_modules/mkdirp/test/return_sync.js +24 -0
- data/node_modules/mkdirp/test/root.js +19 -0
- data/node_modules/mkdirp/test/sync.js +32 -0
- data/node_modules/mkdirp/test/umask.js +28 -0
- data/node_modules/mkdirp/test/umask_sync.js +32 -0
- data/node_modules/ms/LICENSE.md +21 -0
- data/node_modules/ms/README.md +52 -0
- data/node_modules/ms/index.js +149 -0
- data/node_modules/ms/package.json +36 -0
- data/node_modules/mute-stream/LICENSE +15 -0
- data/node_modules/mute-stream/README.md +68 -0
- data/node_modules/mute-stream/mute.js +140 -0
- data/node_modules/mute-stream/package.json +26 -0
- data/node_modules/mute-stream/test/basic.js +207 -0
- data/node_modules/number-is-nan/index.js +4 -0
- data/node_modules/number-is-nan/license +21 -0
- data/node_modules/number-is-nan/package.json +35 -0
- data/node_modules/number-is-nan/readme.md +28 -0
- data/node_modules/object-assign/index.js +90 -0
- data/node_modules/object-assign/license +21 -0
- data/node_modules/object-assign/package.json +42 -0
- data/node_modules/object-assign/readme.md +61 -0
- data/node_modules/once/LICENSE +15 -0
- data/node_modules/once/README.md +79 -0
- data/node_modules/once/once.js +42 -0
- data/node_modules/once/package.json +33 -0
- data/node_modules/onetime/index.js +31 -0
- data/node_modules/onetime/license +21 -0
- data/node_modules/onetime/package.json +33 -0
- data/node_modules/onetime/readme.md +52 -0
- data/node_modules/optionator/CHANGELOG.md +52 -0
- data/node_modules/optionator/LICENSE +22 -0
- data/node_modules/optionator/README.md +236 -0
- data/node_modules/optionator/lib/help.js +247 -0
- data/node_modules/optionator/lib/index.js +465 -0
- data/node_modules/optionator/lib/util.js +54 -0
- data/node_modules/optionator/package.json +44 -0
- data/node_modules/os-homedir/index.js +24 -0
- data/node_modules/os-homedir/license +21 -0
- data/node_modules/os-homedir/package.json +41 -0
- data/node_modules/os-homedir/readme.md +31 -0
- data/node_modules/path-is-absolute/index.js +20 -0
- data/node_modules/path-is-absolute/license +21 -0
- data/node_modules/path-is-absolute/package.json +43 -0
- data/node_modules/path-is-absolute/readme.md +59 -0
- data/node_modules/path-is-inside/LICENSE.txt +47 -0
- data/node_modules/path-is-inside/lib/path-is-inside.js +28 -0
- data/node_modules/path-is-inside/package.json +21 -0
- data/node_modules/pify/index.js +68 -0
- data/node_modules/pify/license +21 -0
- data/node_modules/pify/package.json +48 -0
- data/node_modules/pify/readme.md +119 -0
- data/node_modules/pinkie-promise/index.js +3 -0
- data/node_modules/pinkie-promise/license +21 -0
- data/node_modules/pinkie-promise/package.json +35 -0
- data/node_modules/pinkie-promise/readme.md +28 -0
- data/node_modules/pinkie/index.js +292 -0
- data/node_modules/pinkie/license +21 -0
- data/node_modules/pinkie/package.json +36 -0
- data/node_modules/pinkie/readme.md +83 -0
- data/node_modules/pluralize/LICENSE +21 -0
- data/node_modules/pluralize/Readme.md +78 -0
- data/node_modules/pluralize/package.json +38 -0
- data/node_modules/pluralize/pluralize.js +433 -0
- data/node_modules/prelude-ls/CHANGELOG.md +99 -0
- data/node_modules/prelude-ls/LICENSE +22 -0
- data/node_modules/prelude-ls/README.md +15 -0
- data/node_modules/prelude-ls/lib/Func.js +65 -0
- data/node_modules/prelude-ls/lib/List.js +686 -0
- data/node_modules/prelude-ls/lib/Num.js +130 -0
- data/node_modules/prelude-ls/lib/Obj.js +154 -0
- data/node_modules/prelude-ls/lib/Str.js +92 -0
- data/node_modules/prelude-ls/lib/index.js +178 -0
- data/node_modules/prelude-ls/package.json +52 -0
- data/node_modules/process-nextick-args/.travis.yml +12 -0
- data/node_modules/process-nextick-args/index.js +43 -0
- data/node_modules/process-nextick-args/license.md +19 -0
- data/node_modules/process-nextick-args/package.json +22 -0
- data/node_modules/process-nextick-args/readme.md +18 -0
- data/node_modules/process-nextick-args/test.js +24 -0
- data/node_modules/progress/.npmignore +4 -0
- data/node_modules/progress/History.md +77 -0
- data/node_modules/progress/LICENSE +22 -0
- data/node_modules/progress/Makefile +8 -0
- data/node_modules/progress/Readme.md +103 -0
- data/node_modules/progress/index.js +1 -0
- data/node_modules/progress/lib/node-progress.js +180 -0
- data/node_modules/progress/package.json +21 -0
- data/node_modules/readable-stream/.npmignore +9 -0
- data/node_modules/readable-stream/.travis.yml +49 -0
- data/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- data/node_modules/readable-stream/GOVERNANCE.md +136 -0
- data/node_modules/readable-stream/LICENSE +47 -0
- data/node_modules/readable-stream/README.md +57 -0
- data/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
- data/node_modules/readable-stream/duplex.js +1 -0
- data/node_modules/readable-stream/lib/_stream_duplex.js +75 -0
- data/node_modules/readable-stream/lib/_stream_passthrough.js +26 -0
- data/node_modules/readable-stream/lib/_stream_readable.js +941 -0
- data/node_modules/readable-stream/lib/_stream_transform.js +182 -0
- data/node_modules/readable-stream/lib/_stream_writable.js +551 -0
- data/node_modules/readable-stream/lib/internal/streams/BufferList.js +64 -0
- data/node_modules/readable-stream/node_modules/inherits/LICENSE +16 -0
- data/node_modules/readable-stream/node_modules/inherits/README.md +42 -0
- data/node_modules/readable-stream/node_modules/inherits/inherits.js +7 -0
- data/node_modules/readable-stream/node_modules/inherits/inherits_browser.js +23 -0
- data/node_modules/readable-stream/node_modules/inherits/package.json +29 -0
- data/node_modules/readable-stream/package.json +53 -0
- data/node_modules/readable-stream/passthrough.js +1 -0
- data/node_modules/readable-stream/readable.js +16 -0
- data/node_modules/readable-stream/transform.js +1 -0
- data/node_modules/readable-stream/writable.js +1 -0
- data/node_modules/readline2/README.md +33 -0
- data/node_modules/readline2/index.js +126 -0
- data/node_modules/readline2/package.json +31 -0
- data/node_modules/require-uncached/index.js +29 -0
- data/node_modules/require-uncached/license +21 -0
- data/node_modules/require-uncached/package.json +45 -0
- data/node_modules/require-uncached/readme.md +47 -0
- data/node_modules/resolve-from/index.js +19 -0
- data/node_modules/resolve-from/license +21 -0
- data/node_modules/resolve-from/package.json +34 -0
- data/node_modules/resolve-from/readme.md +56 -0
- data/node_modules/restore-cursor/index.js +9 -0
- data/node_modules/restore-cursor/license +21 -0
- data/node_modules/restore-cursor/package.json +44 -0
- data/node_modules/restore-cursor/readme.md +25 -0
- data/node_modules/rimraf/LICENSE +15 -0
- data/node_modules/rimraf/README.md +101 -0
- data/node_modules/rimraf/bin.js +50 -0
- data/node_modules/rimraf/package.json +26 -0
- data/node_modules/rimraf/rimraf.js +363 -0
- data/node_modules/run-async/.editorconfig +12 -0
- data/node_modules/run-async/.gitattributes +1 -0
- data/node_modules/run-async/.jshintrc +20 -0
- data/node_modules/run-async/.npmignore +1 -0
- data/node_modules/run-async/.travis.yml +3 -0
- data/node_modules/run-async/LICENSE +21 -0
- data/node_modules/run-async/README.md +50 -0
- data/node_modules/run-async/index.js +25 -0
- data/node_modules/run-async/package.json +30 -0
- data/node_modules/run-async/test.js +51 -0
- data/node_modules/rx-lite/package.json +38 -0
- data/node_modules/rx-lite/readme.md +174 -0
- data/node_modules/rx-lite/rx.lite.js +6366 -0
- data/node_modules/rx-lite/rx.lite.map +1 -0
- data/node_modules/rx-lite/rx.lite.min.js +5 -0
- data/node_modules/sass-lint/.editorconfig +21 -0
- data/node_modules/sass-lint/.eslintrc +156 -0
- data/node_modules/sass-lint/.github/ISSUE_TEMPLATE.md +21 -0
- data/node_modules/sass-lint/.github/PULL_REQUEST_TEMPLATE.md +24 -0
- data/node_modules/sass-lint/.npmignore +32 -0
- data/node_modules/sass-lint/.nvmrc +1 -0
- data/node_modules/sass-lint/.travis.yml +9 -0
- data/node_modules/sass-lint/CHANGELOG.md +586 -0
- data/node_modules/sass-lint/CODE_OF_CONDUCT.md +10 -0
- data/node_modules/sass-lint/CONTRIBUTING.md +91 -0
- data/node_modules/sass-lint/LICENSE +22 -0
- data/node_modules/sass-lint/README.md +294 -0
- data/node_modules/sass-lint/appveyor.yml +29 -0
- data/node_modules/sass-lint/bin/sass-lint.js +89 -0
- data/node_modules/sass-lint/data/functions.yml +129 -0
- data/node_modules/sass-lint/data/literals.yml +296 -0
- data/node_modules/sass-lint/data/properties.yml +596 -0
- data/node_modules/sass-lint/data/pseudoClasses.yml +36 -0
- data/node_modules/sass-lint/data/pseudoElements.yml +6 -0
- data/node_modules/sass-lint/docs/cli/readme.md +26 -0
- data/node_modules/sass-lint/docs/options/cache-config.md +7 -0
- data/node_modules/sass-lint/docs/options/config-file.md +71 -0
- data/node_modules/sass-lint/docs/options/formatter.md +7 -0
- data/node_modules/sass-lint/docs/options/max-warnings.md +30 -0
- data/node_modules/sass-lint/docs/options/merge-default-rules.md +89 -0
- data/node_modules/sass-lint/docs/options/output-file.md +3 -0
- data/node_modules/sass-lint/docs/rules/attribute-quotes.md +61 -0
- data/node_modules/sass-lint/docs/rules/bem-depth.md +26 -0
- data/node_modules/sass-lint/docs/rules/border-zero.md +49 -0
- data/node_modules/sass-lint/docs/rules/brace-style.md +104 -0
- data/node_modules/sass-lint/docs/rules/class-name-format.md +281 -0
- data/node_modules/sass-lint/docs/rules/clean-import-paths.md +44 -0
- data/node_modules/sass-lint/docs/rules/declarations-before-nesting.md +29 -0
- data/node_modules/sass-lint/docs/rules/empty-args.md +33 -0
- data/node_modules/sass-lint/docs/rules/empty-line-between-blocks.md +54 -0
- data/node_modules/sass-lint/docs/rules/extends-before-declarations.md +23 -0
- data/node_modules/sass-lint/docs/rules/extends-before-mixins.md +23 -0
- data/node_modules/sass-lint/docs/rules/final-newline.md +28 -0
- data/node_modules/sass-lint/docs/rules/force-attribute-nesting.md +47 -0
- data/node_modules/sass-lint/docs/rules/force-element-nesting.md +47 -0
- data/node_modules/sass-lint/docs/rules/force-pseudo-nesting.md +59 -0
- data/node_modules/sass-lint/docs/rules/function-name-format.md +253 -0
- data/node_modules/sass-lint/docs/rules/hex-length.md +47 -0
- data/node_modules/sass-lint/docs/rules/hex-notation.md +45 -0
- data/node_modules/sass-lint/docs/rules/id-name-format.md +205 -0
- data/node_modules/sass-lint/docs/rules/indentation.md +43 -0
- data/node_modules/sass-lint/docs/rules/leading-zero.md +25 -0
- data/node_modules/sass-lint/docs/rules/max-file-line-count.md +27 -0
- data/node_modules/sass-lint/docs/rules/max-line-length.md +24 -0
- data/node_modules/sass-lint/docs/rules/mixin-name-format.md +255 -0
- data/node_modules/sass-lint/docs/rules/mixins-before-declarations.md +35 -0
- data/node_modules/sass-lint/docs/rules/nesting-depth.md +29 -0
- data/node_modules/sass-lint/docs/rules/no-attribute-selectors.md +37 -0
- data/node_modules/sass-lint/docs/rules/no-color-hex.md +33 -0
- data/node_modules/sass-lint/docs/rules/no-color-keywords.md +26 -0
- data/node_modules/sass-lint/docs/rules/no-color-literals.md +237 -0
- data/node_modules/sass-lint/docs/rules/no-combinators.md +25 -0
- data/node_modules/sass-lint/docs/rules/no-css-comments.md +37 -0
- data/node_modules/sass-lint/docs/rules/no-debug.md +11 -0
- data/node_modules/sass-lint/docs/rules/no-disallowed-properties.md +30 -0
- data/node_modules/sass-lint/docs/rules/no-duplicate-properties.md +51 -0
- data/node_modules/sass-lint/docs/rules/no-empty-rulesets.md +21 -0
- data/node_modules/sass-lint/docs/rules/no-extends.md +15 -0
- data/node_modules/sass-lint/docs/rules/no-ids.md +13 -0
- data/node_modules/sass-lint/docs/rules/no-important.md +13 -0
- data/node_modules/sass-lint/docs/rules/no-invalid-hex.md +34 -0
- data/node_modules/sass-lint/docs/rules/no-mergeable-selectors.md +72 -0
- data/node_modules/sass-lint/docs/rules/no-misspelled-properties.md +71 -0
- data/node_modules/sass-lint/docs/rules/no-qualifying-elements.md +69 -0
- data/node_modules/sass-lint/docs/rules/no-trailing-whitespace.md +21 -0
- data/node_modules/sass-lint/docs/rules/no-trailing-zero.md +25 -0
- data/node_modules/sass-lint/docs/rules/no-transition-all.md +21 -0
- data/node_modules/sass-lint/docs/rules/no-universal-selectors.md +30 -0
- data/node_modules/sass-lint/docs/rules/no-url-domains.md +37 -0
- data/node_modules/sass-lint/docs/rules/no-url-protocols.md +77 -0
- data/node_modules/sass-lint/docs/rules/no-vendor-prefixes.md +126 -0
- data/node_modules/sass-lint/docs/rules/no-warn.md +11 -0
- data/node_modules/sass-lint/docs/rules/one-declaration-per-line.md +24 -0
- data/node_modules/sass-lint/docs/rules/placeholder-in-extend.md +23 -0
- data/node_modules/sass-lint/docs/rules/placeholder-name-format.md +254 -0
- data/node_modules/sass-lint/docs/rules/property-sort-order.md +101 -0
- data/node_modules/sass-lint/docs/rules/property-units.md +49 -0
- data/node_modules/sass-lint/docs/rules/pseudo-element.md +32 -0
- data/node_modules/sass-lint/docs/rules/quotes.md +25 -0
- data/node_modules/sass-lint/docs/rules/shorthand-values.md +91 -0
- data/node_modules/sass-lint/docs/rules/single-line-per-selector.md +22 -0
- data/node_modules/sass-lint/docs/rules/space-after-bang.md +25 -0
- data/node_modules/sass-lint/docs/rules/space-after-colon.md +25 -0
- data/node_modules/sass-lint/docs/rules/space-after-comma.md +29 -0
- data/node_modules/sass-lint/docs/rules/space-around-operator.md +72 -0
- data/node_modules/sass-lint/docs/rules/space-before-bang.md +25 -0
- data/node_modules/sass-lint/docs/rules/space-before-brace.md +41 -0
- data/node_modules/sass-lint/docs/rules/space-before-colon.md +25 -0
- data/node_modules/sass-lint/docs/rules/space-between-parens.md +45 -0
- data/node_modules/sass-lint/docs/rules/trailing-semicolon.md +35 -0
- data/node_modules/sass-lint/docs/rules/url-quotes.md +31 -0
- data/node_modules/sass-lint/docs/rules/variable-for-property.md +84 -0
- data/node_modules/sass-lint/docs/rules/variable-name-format.md +204 -0
- data/node_modules/sass-lint/docs/rules/zero-unit.md +33 -0
- data/node_modules/sass-lint/docs/sass-lint.yml +55 -0
- data/node_modules/sass-lint/docs/toggle-rules-in-src.md +71 -0
- data/node_modules/sass-lint/index.js +325 -0
- data/node_modules/sass-lint/lib/config-helpers.js +107 -0
- data/node_modules/sass-lint/lib/config.js +109 -0
- data/node_modules/sass-lint/lib/config/property-sort-orders/concentric.yml +156 -0
- data/node_modules/sass-lint/lib/config/property-sort-orders/recess.yml +164 -0
- data/node_modules/sass-lint/lib/config/property-sort-orders/smacss.yml +164 -0
- data/node_modules/sass-lint/lib/config/sass-lint.yml +95 -0
- data/node_modules/sass-lint/lib/exceptions.js +19 -0
- data/node_modules/sass-lint/lib/groot.js +44 -0
- data/node_modules/sass-lint/lib/helpers.js +417 -0
- data/node_modules/sass-lint/lib/ruleToggler.js +249 -0
- data/node_modules/sass-lint/lib/rules.js +67 -0
- data/node_modules/sass-lint/lib/rules/attribute-quotes.js +36 -0
- data/node_modules/sass-lint/lib/rules/bem-depth.js +74 -0
- data/node_modules/sass-lint/lib/rules/border-zero.js +66 -0
- data/node_modules/sass-lint/lib/rules/brace-style.js +338 -0
- data/node_modules/sass-lint/lib/rules/class-name-format.js +90 -0
- data/node_modules/sass-lint/lib/rules/clean-import-paths.js +129 -0
- data/node_modules/sass-lint/lib/rules/declarations-before-nesting.js +55 -0
- data/node_modules/sass-lint/lib/rules/empty-args.js +46 -0
- data/node_modules/sass-lint/lib/rules/empty-line-between-blocks.js +200 -0
- data/node_modules/sass-lint/lib/rules/extends-before-declarations.js +48 -0
- data/node_modules/sass-lint/lib/rules/extends-before-mixins.js +47 -0
- data/node_modules/sass-lint/lib/rules/final-newline.js +65 -0
- data/node_modules/sass-lint/lib/rules/force-attribute-nesting.js +52 -0
- data/node_modules/sass-lint/lib/rules/force-element-nesting.js +54 -0
- data/node_modules/sass-lint/lib/rules/force-pseudo-nesting.js +59 -0
- data/node_modules/sass-lint/lib/rules/function-name-format.js +92 -0
- data/node_modules/sass-lint/lib/rules/hex-length.js +48 -0
- data/node_modules/sass-lint/lib/rules/hex-notation.js +42 -0
- data/node_modules/sass-lint/lib/rules/id-name-format.js +80 -0
- data/node_modules/sass-lint/lib/rules/indentation.js +211 -0
- data/node_modules/sass-lint/lib/rules/leading-zero.js +45 -0
- data/node_modules/sass-lint/lib/rules/max-file-line-count.js +25 -0
- data/node_modules/sass-lint/lib/rules/max-line-length.js +32 -0
- data/node_modules/sass-lint/lib/rules/mixin-name-format.js +104 -0
- data/node_modules/sass-lint/lib/rules/mixins-before-declarations.js +53 -0
- data/node_modules/sass-lint/lib/rules/nesting-depth.js +68 -0
- data/node_modules/sass-lint/lib/rules/no-attribute-selectors.js +23 -0
- data/node_modules/sass-lint/lib/rules/no-color-hex.js +22 -0
- data/node_modules/sass-lint/lib/rules/no-color-keywords.js +51 -0
- data/node_modules/sass-lint/lib/rules/no-color-literals.js +212 -0
- data/node_modules/sass-lint/lib/rules/no-combinators.js +57 -0
- data/node_modules/sass-lint/lib/rules/no-css-comments.js +24 -0
- data/node_modules/sass-lint/lib/rules/no-debug.js +27 -0
- data/node_modules/sass-lint/lib/rules/no-disallowed-properties.js +28 -0
- data/node_modules/sass-lint/lib/rules/no-duplicate-properties.js +68 -0
- data/node_modules/sass-lint/lib/rules/no-empty-rulesets.js +45 -0
- data/node_modules/sass-lint/lib/rules/no-extends.js +27 -0
- data/node_modules/sass-lint/lib/rules/no-ids.js +23 -0
- data/node_modules/sass-lint/lib/rules/no-important.js +23 -0
- data/node_modules/sass-lint/lib/rules/no-invalid-hex.js +24 -0
- data/node_modules/sass-lint/lib/rules/no-mergeable-selectors.js +190 -0
- data/node_modules/sass-lint/lib/rules/no-misspelled-properties.js +58 -0
- data/node_modules/sass-lint/lib/rules/no-qualifying-elements.js +53 -0
- data/node_modules/sass-lint/lib/rules/no-trailing-whitespace.js +38 -0
- data/node_modules/sass-lint/lib/rules/no-trailing-zero.js +30 -0
- data/node_modules/sass-lint/lib/rules/no-transition-all.js +41 -0
- data/node_modules/sass-lint/lib/rules/no-universal-selectors.js +27 -0
- data/node_modules/sass-lint/lib/rules/no-url-domains.js +33 -0
- data/node_modules/sass-lint/lib/rules/no-url-protocols.js +41 -0
- data/node_modules/sass-lint/lib/rules/no-vendor-prefixes.js +117 -0
- data/node_modules/sass-lint/lib/rules/no-warn.js +27 -0
- data/node_modules/sass-lint/lib/rules/one-declaration-per-line.js +32 -0
- data/node_modules/sass-lint/lib/rules/placeholder-in-extend.js +40 -0
- data/node_modules/sass-lint/lib/rules/placeholder-name-format.js +82 -0
- data/node_modules/sass-lint/lib/rules/property-sort-order.js +147 -0
- data/node_modules/sass-lint/lib/rules/property-units.js +56 -0
- data/node_modules/sass-lint/lib/rules/pseudo-element.js +77 -0
- data/node_modules/sass-lint/lib/rules/quotes.js +49 -0
- data/node_modules/sass-lint/lib/rules/shorthand-values.js +210 -0
- data/node_modules/sass-lint/lib/rules/single-line-per-selector.js +54 -0
- data/node_modules/sass-lint/lib/rules/space-after-bang.js +39 -0
- data/node_modules/sass-lint/lib/rules/space-after-colon.js +44 -0
- data/node_modules/sass-lint/lib/rules/space-after-comma.js +58 -0
- data/node_modules/sass-lint/lib/rules/space-around-operator.js +326 -0
- data/node_modules/sass-lint/lib/rules/space-before-bang.js +42 -0
- data/node_modules/sass-lint/lib/rules/space-before-brace.js +78 -0
- data/node_modules/sass-lint/lib/rules/space-before-colon.js +44 -0
- data/node_modules/sass-lint/lib/rules/space-between-parens.js +74 -0
- data/node_modules/sass-lint/lib/rules/trailing-semicolon.js +66 -0
- data/node_modules/sass-lint/lib/rules/url-quotes.js +31 -0
- data/node_modules/sass-lint/lib/rules/variable-for-property.js +73 -0
- data/node_modules/sass-lint/lib/rules/variable-name-format.js +83 -0
- data/node_modules/sass-lint/lib/rules/zero-unit.js +66 -0
- data/node_modules/sass-lint/lib/selector-helpers.js +142 -0
- data/node_modules/sass-lint/node_modules/.bin/eslint +1 -0
- data/node_modules/sass-lint/node_modules/.bin/gonzales +1 -0
- data/node_modules/sass-lint/node_modules/.bin/js-yaml +1 -0
- data/node_modules/sass-lint/package.json +52 -0
- data/node_modules/sass-lint/tests/bom-utf8/starts-with-mixin-utf8-bom.scss +5 -0
- data/node_modules/sass-lint/tests/bom-utf8/var-utf8-bom.scss +5 -0
- data/node_modules/sass-lint/tests/cli.js +514 -0
- data/node_modules/sass-lint/tests/cli/cli-clean.scss +5 -0
- data/node_modules/sass-lint/tests/cli/cli-error.sass +2 -0
- data/node_modules/sass-lint/tests/cli/cli-error.scss +3 -0
- data/node_modules/sass-lint/tests/cli/cli.scss +3 -0
- data/node_modules/sass-lint/tests/cli/cli.txt +3 -0
- data/node_modules/sass-lint/tests/config-helpers.js +121 -0
- data/node_modules/sass-lint/tests/config.js +196 -0
- data/node_modules/sass-lint/tests/dir-test/dir.scss/test.scss +3 -0
- data/node_modules/sass-lint/tests/failures.js +90 -0
- data/node_modules/sass-lint/tests/helpers/addUnique.js +75 -0
- data/node_modules/sass-lint/tests/helpers/attemptTraversal.js +78 -0
- data/node_modules/sass-lint/tests/helpers/collectSuffixExtensions.js +123 -0
- data/node_modules/sass-lint/tests/helpers/hasEOL.js +27 -0
- data/node_modules/sass-lint/tests/helpers/helpers.js +18 -0
- data/node_modules/sass-lint/tests/helpers/isCamelCase.js +51 -0
- data/node_modules/sass-lint/tests/helpers/isEmptyLine.js +43 -0
- data/node_modules/sass-lint/tests/helpers/isEqual.js +113 -0
- data/node_modules/sass-lint/tests/helpers/isHyphenatedBEM.js +91 -0
- data/node_modules/sass-lint/tests/helpers/isHyphenatedLowerCase.js +75 -0
- data/node_modules/sass-lint/tests/helpers/isLowerCase.js +43 -0
- data/node_modules/sass-lint/tests/helpers/isNestable.js +35 -0
- data/node_modules/sass-lint/tests/helpers/isNewLine.js +119 -0
- data/node_modules/sass-lint/tests/helpers/isNumber.js +44 -0
- data/node_modules/sass-lint/tests/helpers/isPartialStringMatch.js +59 -0
- data/node_modules/sass-lint/tests/helpers/isPascalCase.js +51 -0
- data/node_modules/sass-lint/tests/helpers/isSnakeCase.js +59 -0
- data/node_modules/sass-lint/tests/helpers/isSpace.js +87 -0
- data/node_modules/sass-lint/tests/helpers/isStrictBEM.js +115 -0
- data/node_modules/sass-lint/tests/helpers/isUnique.js +74 -0
- data/node_modules/sass-lint/tests/helpers/isUpperCase.js +44 -0
- data/node_modules/sass-lint/tests/helpers/isValidHex.js +115 -0
- data/node_modules/sass-lint/tests/helpers/loadConfigFile.js +20 -0
- data/node_modules/sass-lint/tests/helpers/propertySearch.js +51 -0
- data/node_modules/sass-lint/tests/helpers/sortDetects.js +66 -0
- data/node_modules/sass-lint/tests/helpers/stripBom.js +28 -0
- data/node_modules/sass-lint/tests/helpers/stripLastSpace.js +43 -0
- data/node_modules/sass-lint/tests/helpers/stripPrefix.js +51 -0
- data/node_modules/sass-lint/tests/helpers/stripQuotes.js +27 -0
- data/node_modules/sass-lint/tests/main.js +343 -0
- data/node_modules/sass-lint/tests/output.js +78 -0
- data/node_modules/sass-lint/tests/ruleToggler.js +326 -0
- data/node_modules/sass-lint/tests/rules/_lint.js +37 -0
- data/node_modules/sass-lint/tests/rules/attribute-quotes.js +63 -0
- data/node_modules/sass-lint/tests/rules/bem-depth.js +91 -0
- data/node_modules/sass-lint/tests/rules/border-zero.js +121 -0
- data/node_modules/sass-lint/tests/rules/brace-style.js +94 -0
- data/node_modules/sass-lint/tests/rules/class-name-format.js +265 -0
- data/node_modules/sass-lint/tests/rules/clean-import-paths.js +121 -0
- data/node_modules/sass-lint/tests/rules/declarations-before-nesting.js +35 -0
- data/node_modules/sass-lint/tests/rules/empty-args.js +63 -0
- data/node_modules/sass-lint/tests/rules/empty-line-between-blocks.js +266 -0
- data/node_modules/sass-lint/tests/rules/extends-before-declarations.js +35 -0
- data/node_modules/sass-lint/tests/rules/extends-before-mixins.js +35 -0
- data/node_modules/sass-lint/tests/rules/final-newline.js +287 -0
- data/node_modules/sass-lint/tests/rules/force-attribute-nesting.js +35 -0
- data/node_modules/sass-lint/tests/rules/force-element-nesting.js +35 -0
- data/node_modules/sass-lint/tests/rules/force-pseudo-nesting.js +36 -0
- data/node_modules/sass-lint/tests/rules/function-name-format.js +227 -0
- data/node_modules/sass-lint/tests/rules/hex-length.js +63 -0
- data/node_modules/sass-lint/tests/rules/hex-notation.js +63 -0
- data/node_modules/sass-lint/tests/rules/id-name-format.js +209 -0
- data/node_modules/sass-lint/tests/rules/indentation.js +67 -0
- data/node_modules/sass-lint/tests/rules/leading-zero.js +63 -0
- data/node_modules/sass-lint/tests/rules/max-file-line-count.js +63 -0
- data/node_modules/sass-lint/tests/rules/max-line-length.js +63 -0
- data/node_modules/sass-lint/tests/rules/mixin-name-format.js +227 -0
- data/node_modules/sass-lint/tests/rules/mixins-before-declarations.js +120 -0
- data/node_modules/sass-lint/tests/rules/nesting-depth.js +63 -0
- data/node_modules/sass-lint/tests/rules/no-attribute-selectors.js +35 -0
- data/node_modules/sass-lint/tests/rules/no-color-hex.js +35 -0
- data/node_modules/sass-lint/tests/rules/no-color-keywords.js +35 -0
- data/node_modules/sass-lint/tests/rules/no-color-literals.js +151 -0
- data/node_modules/sass-lint/tests/rules/no-combinators.js +35 -0
- data/node_modules/sass-lint/tests/rules/no-css-comments.js +35 -0
- data/node_modules/sass-lint/tests/rules/no-debug.js +35 -0
- data/node_modules/sass-lint/tests/rules/no-disallowed-properties.js +83 -0
- data/node_modules/sass-lint/tests/rules/no-duplicate-properties.js +101 -0
- data/node_modules/sass-lint/tests/rules/no-empty-rulesets.js +19 -0
- data/node_modules/sass-lint/tests/rules/no-extends.js +35 -0
- data/node_modules/sass-lint/tests/rules/no-ids.js +35 -0
- data/node_modules/sass-lint/tests/rules/no-important.js +35 -0
- data/node_modules/sass-lint/tests/rules/no-invalid-hex.js +35 -0
- data/node_modules/sass-lint/tests/rules/no-mergeable-selectors.js +64 -0
- data/node_modules/sass-lint/tests/rules/no-misspelled-properties.js +101 -0
- data/node_modules/sass-lint/tests/rules/no-qualifying-elements.js +181 -0
- data/node_modules/sass-lint/tests/rules/no-trailing-whitespace.js +35 -0
- data/node_modules/sass-lint/tests/rules/no-trailing-zero.js +35 -0
- data/node_modules/sass-lint/tests/rules/no-transition-all.js +35 -0
- data/node_modules/sass-lint/tests/rules/no-universal-selectors.js +35 -0
- data/node_modules/sass-lint/tests/rules/no-url-domains.js +35 -0
- data/node_modules/sass-lint/tests/rules/no-url-protocols.js +64 -0
- data/node_modules/sass-lint/tests/rules/no-vendor-prefixes.js +241 -0
- data/node_modules/sass-lint/tests/rules/no-warn.js +35 -0
- data/node_modules/sass-lint/tests/rules/one-declaration-per-line.js +19 -0
- data/node_modules/sass-lint/tests/rules/placeholder-in-extend.js +35 -0
- data/node_modules/sass-lint/tests/rules/placeholder-name-format.js +235 -0
- data/node_modules/sass-lint/tests/rules/property-sort-order.js +267 -0
- data/node_modules/sass-lint/tests/rules/property-units.js +205 -0
- data/node_modules/sass-lint/tests/rules/pseudo-element.js +73 -0
- data/node_modules/sass-lint/tests/rules/quotes.js +63 -0
- data/node_modules/sass-lint/tests/rules/shorthand-values.js +300 -0
- data/node_modules/sass-lint/tests/rules/single-line-per-selector.js +35 -0
- data/node_modules/sass-lint/tests/rules/space-after-bang.js +63 -0
- data/node_modules/sass-lint/tests/rules/space-after-colon.js +63 -0
- data/node_modules/sass-lint/tests/rules/space-after-comma.js +63 -0
- data/node_modules/sass-lint/tests/rules/space-around-operator.js +63 -0
- data/node_modules/sass-lint/tests/rules/space-before-bang.js +63 -0
- data/node_modules/sass-lint/tests/rules/space-before-brace.js +33 -0
- data/node_modules/sass-lint/tests/rules/space-before-colon.js +63 -0
- data/node_modules/sass-lint/tests/rules/space-between-parens.js +63 -0
- data/node_modules/sass-lint/tests/rules/trailing-semicolon.js +33 -0
- data/node_modules/sass-lint/tests/rules/url-quotes.js +35 -0
- data/node_modules/sass-lint/tests/rules/variable-for-property.js +103 -0
- data/node_modules/sass-lint/tests/rules/variable-name-format.js +235 -0
- data/node_modules/sass-lint/tests/rules/zero-unit.js +63 -0
- data/node_modules/sass-lint/tests/sass/attribute-quotes.sass +62 -0
- data/node_modules/sass-lint/tests/sass/attribute-quotes.scss +75 -0
- data/node_modules/sass-lint/tests/sass/bem-depth.sass +35 -0
- data/node_modules/sass-lint/tests/sass/bem-depth.scss +55 -0
- data/node_modules/sass-lint/tests/sass/border-zero.sass +22 -0
- data/node_modules/sass-lint/tests/sass/border-zero.scss +29 -0
- data/node_modules/sass-lint/tests/sass/brace-style.scss +540 -0
- data/node_modules/sass-lint/tests/sass/class-name-format.sass +96 -0
- data/node_modules/sass-lint/tests/sass/class-name-format.scss +135 -0
- data/node_modules/sass-lint/tests/sass/clean-import-paths.sass +26 -0
- data/node_modules/sass-lint/tests/sass/clean-import-paths.scss +30 -0
- data/node_modules/sass-lint/tests/sass/declarations-before-nesting.sass +34 -0
- data/node_modules/sass-lint/tests/sass/declarations-before-nesting.scss +44 -0
- data/node_modules/sass-lint/tests/sass/empty-args.sass +42 -0
- data/node_modules/sass-lint/tests/sass/empty-args.scss +43 -0
- data/node_modules/sass-lint/tests/sass/empty-file.sass +0 -0
- data/node_modules/sass-lint/tests/sass/empty-file.scss +0 -0
- data/node_modules/sass-lint/tests/sass/empty-line-between-blocks.sass +90 -0
- data/node_modules/sass-lint/tests/sass/empty-line-between-blocks.scss +113 -0
- data/node_modules/sass-lint/tests/sass/empty-line-with-comments.sass +185 -0
- data/node_modules/sass-lint/tests/sass/empty-line-with-comments.scss +228 -0
- data/node_modules/sass-lint/tests/sass/extends-before-declarations.sass +34 -0
- data/node_modules/sass-lint/tests/sass/extends-before-declarations.scss +35 -0
- data/node_modules/sass-lint/tests/sass/extends-before-mixins.sass +15 -0
- data/node_modules/sass-lint/tests/sass/extends-before-mixins.scss +15 -0
- data/node_modules/sass-lint/tests/sass/final-newline--import.sass +1 -0
- data/node_modules/sass-lint/tests/sass/final-newline--import.scss +1 -0
- data/node_modules/sass-lint/tests/sass/final-newline--nested.sass +3 -0
- data/node_modules/sass-lint/tests/sass/final-newline--nested.scss +5 -0
- data/node_modules/sass-lint/tests/sass/final-newline--none.sass +2 -0
- data/node_modules/sass-lint/tests/sass/final-newline--none.scss +3 -0
- data/node_modules/sass-lint/tests/sass/final-newline--return.sass +2 -0
- data/node_modules/sass-lint/tests/sass/final-newline--return.scss +3 -0
- data/node_modules/sass-lint/tests/sass/final-newline--space.sass +2 -0
- data/node_modules/sass-lint/tests/sass/final-newline--space.scss +3 -0
- data/node_modules/sass-lint/tests/sass/force-attribute-nesting.sass +25 -0
- data/node_modules/sass-lint/tests/sass/force-attribute-nesting.scss +34 -0
- data/node_modules/sass-lint/tests/sass/force-element-nesting.sass +56 -0
- data/node_modules/sass-lint/tests/sass/force-element-nesting.scss +76 -0
- data/node_modules/sass-lint/tests/sass/force-pseudo-nesting.sass +41 -0
- data/node_modules/sass-lint/tests/sass/force-pseudo-nesting.scss +61 -0
- data/node_modules/sass-lint/tests/sass/front-matter/front-matter.scss +7 -0
- data/node_modules/sass-lint/tests/sass/function-name-format.sass +57 -0
- data/node_modules/sass-lint/tests/sass/function-name-format.scss +74 -0
- data/node_modules/sass-lint/tests/sass/hex-length.sass +28 -0
- data/node_modules/sass-lint/tests/sass/hex-length.scss +28 -0
- data/node_modules/sass-lint/tests/sass/hex-notation.sass +31 -0
- data/node_modules/sass-lint/tests/sass/hex-notation.scss +33 -0
- data/node_modules/sass-lint/tests/sass/id-name-format.sass +44 -0
- data/node_modules/sass-lint/tests/sass/id-name-format.scss +58 -0
- data/node_modules/sass-lint/tests/sass/indentation/indentation-spaces.sass +107 -0
- data/node_modules/sass-lint/tests/sass/indentation/indentation-spaces.scss +175 -0
- data/node_modules/sass-lint/tests/sass/indentation/indentation-tabs.sass +107 -0
- data/node_modules/sass-lint/tests/sass/indentation/indentation-tabs.scss +175 -0
- data/node_modules/sass-lint/tests/sass/leading-zero.sass +8 -0
- data/node_modules/sass-lint/tests/sass/leading-zero.scss +9 -0
- data/node_modules/sass-lint/tests/sass/max-file-line-count.sass +301 -0
- data/node_modules/sass-lint/tests/sass/max-file-line-count.scss +301 -0
- data/node_modules/sass-lint/tests/sass/max-line-length.sass +20 -0
- data/node_modules/sass-lint/tests/sass/max-line-length.scss +22 -0
- data/node_modules/sass-lint/tests/sass/mixin-name-format.sass +74 -0
- data/node_modules/sass-lint/tests/sass/mixin-name-format.scss +91 -0
- data/node_modules/sass-lint/tests/sass/mixins-before-declarations.sass +69 -0
- data/node_modules/sass-lint/tests/sass/mixins-before-declarations.scss +77 -0
- data/node_modules/sass-lint/tests/sass/nesting-depth.sass +29 -0
- data/node_modules/sass-lint/tests/sass/nesting-depth.scss +39 -0
- data/node_modules/sass-lint/tests/sass/no-attribute-selectors.sass +77 -0
- data/node_modules/sass-lint/tests/sass/no-attribute-selectors.scss +98 -0
- data/node_modules/sass-lint/tests/sass/no-color-hex.sass +25 -0
- data/node_modules/sass-lint/tests/sass/no-color-hex.scss +26 -0
- data/node_modules/sass-lint/tests/sass/no-color-keywords.sass +33 -0
- data/node_modules/sass-lint/tests/sass/no-color-keywords.scss +44 -0
- data/node_modules/sass-lint/tests/sass/no-color-literals.sass +115 -0
- data/node_modules/sass-lint/tests/sass/no-color-literals.scss +124 -0
- data/node_modules/sass-lint/tests/sass/no-combinators.sass +115 -0
- data/node_modules/sass-lint/tests/sass/no-combinators.scss +155 -0
- data/node_modules/sass-lint/tests/sass/no-css-comments.sass +58 -0
- data/node_modules/sass-lint/tests/sass/no-css-comments.scss +59 -0
- data/node_modules/sass-lint/tests/sass/no-debug.sass +8 -0
- data/node_modules/sass-lint/tests/sass/no-debug.scss +9 -0
- data/node_modules/sass-lint/tests/sass/no-disallowed-properties.sass +25 -0
- data/node_modules/sass-lint/tests/sass/no-disallowed-properties.scss +36 -0
- data/node_modules/sass-lint/tests/sass/no-duplicate-properties.sass +47 -0
- data/node_modules/sass-lint/tests/sass/no-duplicate-properties.scss +56 -0
- data/node_modules/sass-lint/tests/sass/no-empty-rulesets.scss +11 -0
- data/node_modules/sass-lint/tests/sass/no-extends.sass +7 -0
- data/node_modules/sass-lint/tests/sass/no-extends.scss +8 -0
- data/node_modules/sass-lint/tests/sass/no-ids.sass +6 -0
- data/node_modules/sass-lint/tests/sass/no-ids.scss +7 -0
- data/node_modules/sass-lint/tests/sass/no-important.sass +2 -0
- data/node_modules/sass-lint/tests/sass/no-important.scss +3 -0
- data/node_modules/sass-lint/tests/sass/no-invalid-hex.sass +45 -0
- data/node_modules/sass-lint/tests/sass/no-invalid-hex.scss +52 -0
- data/node_modules/sass-lint/tests/sass/no-mergeable-selectors.sass +253 -0
- data/node_modules/sass-lint/tests/sass/no-mergeable-selectors.scss +362 -0
- data/node_modules/sass-lint/tests/sass/no-misspelled-properties.sass +48 -0
- data/node_modules/sass-lint/tests/sass/no-misspelled-properties.scss +65 -0
- data/node_modules/sass-lint/tests/sass/no-qualifying-elements.sass +42 -0
- data/node_modules/sass-lint/tests/sass/no-qualifying-elements.scss +43 -0
- data/node_modules/sass-lint/tests/sass/no-trailing-whitespace.sass +24 -0
- data/node_modules/sass-lint/tests/sass/no-trailing-whitespace.scss +29 -0
- data/node_modules/sass-lint/tests/sass/no-trailing-zero.sass +41 -0
- data/node_modules/sass-lint/tests/sass/no-trailing-zero.scss +47 -0
- data/node_modules/sass-lint/tests/sass/no-transition-all.sass +25 -0
- data/node_modules/sass-lint/tests/sass/no-transition-all.scss +31 -0
- data/node_modules/sass-lint/tests/sass/no-universal-selectors.sass +15 -0
- data/node_modules/sass-lint/tests/sass/no-universal-selectors.scss +20 -0
- data/node_modules/sass-lint/tests/sass/no-url-domains.sass +25 -0
- data/node_modules/sass-lint/tests/sass/no-url-domains.scss +27 -0
- data/node_modules/sass-lint/tests/sass/no-url-protocols.sass +25 -0
- data/node_modules/sass-lint/tests/sass/no-url-protocols.scss +27 -0
- data/node_modules/sass-lint/tests/sass/no-vendor-prefixes.sass +38 -0
- data/node_modules/sass-lint/tests/sass/no-vendor-prefixes.scss +41 -0
- data/node_modules/sass-lint/tests/sass/no-warn.sass +8 -0
- data/node_modules/sass-lint/tests/sass/no-warn.scss +9 -0
- data/node_modules/sass-lint/tests/sass/one-declaration-per-line.scss +25 -0
- data/node_modules/sass-lint/tests/sass/parse.scss +7 -0
- data/node_modules/sass-lint/tests/sass/placeholder-in-extend.sass +3 -0
- data/node_modules/sass-lint/tests/sass/placeholder-in-extend.scss +5 -0
- data/node_modules/sass-lint/tests/sass/placeholder-name-format.sass +58 -0
- data/node_modules/sass-lint/tests/sass/placeholder-name-format.scss +77 -0
- data/node_modules/sass-lint/tests/sass/property-sort-order.sass +51 -0
- data/node_modules/sass-lint/tests/sass/property-sort-order.scss +55 -0
- data/node_modules/sass-lint/tests/sass/property-units.sass +24 -0
- data/node_modules/sass-lint/tests/sass/property-units.scss +37 -0
- data/node_modules/sass-lint/tests/sass/pseudo-element.sass +236 -0
- data/node_modules/sass-lint/tests/sass/pseudo-element.scss +238 -0
- data/node_modules/sass-lint/tests/sass/quotes.sass +14 -0
- data/node_modules/sass-lint/tests/sass/quotes.scss +15 -0
- data/node_modules/sass-lint/tests/sass/ruleToggler-disable-a-block.sass +2 -0
- data/node_modules/sass-lint/tests/sass/ruleToggler-disable-a-block.scss +3 -0
- data/node_modules/sass-lint/tests/sass/ruleToggler-disable-a-line.sass +2 -0
- data/node_modules/sass-lint/tests/sass/ruleToggler-disable-a-line.scss +3 -0
- data/node_modules/sass-lint/tests/sass/ruleToggler-disable-a-rule.sass +1 -0
- data/node_modules/sass-lint/tests/sass/ruleToggler-disable-a-rule.scss +1 -0
- data/node_modules/sass-lint/tests/sass/ruleToggler-disable-all-then-reenable.sass +3 -0
- data/node_modules/sass-lint/tests/sass/ruleToggler-disable-all-then-reenable.scss +3 -0
- data/node_modules/sass-lint/tests/sass/ruleToggler-disable-all.sass +1 -0
- data/node_modules/sass-lint/tests/sass/ruleToggler-disable-all.scss +1 -0
- data/node_modules/sass-lint/tests/sass/ruleToggler-disable-multiple-rules.sass +1 -0
- data/node_modules/sass-lint/tests/sass/ruleToggler-disable-multiple-rules.scss +1 -0
- data/node_modules/sass-lint/tests/sass/ruleToggler-disable-then-enable.sass +5 -0
- data/node_modules/sass-lint/tests/sass/ruleToggler-disable-then-enable.scss +6 -0
- data/node_modules/sass-lint/tests/sass/ruleToggler-empty-comment.sass +2 -0
- data/node_modules/sass-lint/tests/sass/ruleToggler-empty-comment.scss +3 -0
- data/node_modules/sass-lint/tests/sass/ruleToggler-guarantee-order.sass +17 -0
- data/node_modules/sass-lint/tests/sass/ruleToggler-guarantee-order.scss +17 -0
- data/node_modules/sass-lint/tests/sass/ruleToggler-ignore-unknown.sass +2 -0
- data/node_modules/sass-lint/tests/sass/ruleToggler-ignore-unknown.scss +3 -0
- data/node_modules/sass-lint/tests/sass/selector-helpers/selector-helpers.scss +68 -0
- data/node_modules/sass-lint/tests/sass/shorthand-values.sass +314 -0
- data/node_modules/sass-lint/tests/sass/shorthand-values.scss +380 -0
- data/node_modules/sass-lint/tests/sass/single-line-per-selector.sass +59 -0
- data/node_modules/sass-lint/tests/sass/single-line-per-selector.scss +66 -0
- data/node_modules/sass-lint/tests/sass/space-after-bang.sass +52 -0
- data/node_modules/sass-lint/tests/sass/space-after-bang.scss +56 -0
- data/node_modules/sass-lint/tests/sass/space-after-colon.sass +16 -0
- data/node_modules/sass-lint/tests/sass/space-after-colon.scss +16 -0
- data/node_modules/sass-lint/tests/sass/space-after-comma.sass +49 -0
- data/node_modules/sass-lint/tests/sass/space-after-comma.scss +50 -0
- data/node_modules/sass-lint/tests/sass/space-around-operator.sass +512 -0
- data/node_modules/sass-lint/tests/sass/space-around-operator.scss +540 -0
- data/node_modules/sass-lint/tests/sass/space-before-bang.sass +27 -0
- data/node_modules/sass-lint/tests/sass/space-before-bang.scss +27 -0
- data/node_modules/sass-lint/tests/sass/space-before-brace.scss +56 -0
- data/node_modules/sass-lint/tests/sass/space-before-colon.sass +16 -0
- data/node_modules/sass-lint/tests/sass/space-before-colon.scss +16 -0
- data/node_modules/sass-lint/tests/sass/space-between-parens.sass +46 -0
- data/node_modules/sass-lint/tests/sass/space-between-parens.scss +47 -0
- data/node_modules/sass-lint/tests/sass/success.scss +3 -0
- data/node_modules/sass-lint/tests/sass/trailing-semicolon.scss +40 -0
- data/node_modules/sass-lint/tests/sass/url-quotes.sass +20 -0
- data/node_modules/sass-lint/tests/sass/url-quotes.scss +21 -0
- data/node_modules/sass-lint/tests/sass/variable-for-property.sass +37 -0
- data/node_modules/sass-lint/tests/sass/variable-for-property.scss +41 -0
- data/node_modules/sass-lint/tests/sass/variable-name-format.sass +25 -0
- data/node_modules/sass-lint/tests/sass/variable-name-format.scss +27 -0
- data/node_modules/sass-lint/tests/sass/zero-unit.sass +23 -0
- data/node_modules/sass-lint/tests/sass/zero-unit.scss +25 -0
- data/node_modules/sass-lint/tests/selector-helpers/selectorHelpers.js +137 -0
- data/node_modules/sass-lint/tests/testFile.txt +1 -0
- data/node_modules/sass-lint/tests/yml/.blank.yml +0 -0
- data/node_modules/sass-lint/tests/yml/.color-keyword-errors.yml +59 -0
- data/node_modules/sass-lint/tests/yml/.error-output.yml +9 -0
- data/node_modules/sass-lint/tests/yml/.extend-a1.yml +4 -0
- data/node_modules/sass-lint/tests/yml/.extend-a2.yml +4 -0
- data/node_modules/sass-lint/tests/yml/.ignore-file.yml +9 -0
- data/node_modules/sass-lint/tests/yml/.indentation-error.yml +2 -0
- data/node_modules/sass-lint/tests/yml/.indentation-warn.yml +2 -0
- data/node_modules/sass-lint/tests/yml/.json-lint.yml +59 -0
- data/node_modules/sass-lint/tests/yml/.max-0-warnings.yml +2 -0
- data/node_modules/sass-lint/tests/yml/.max-10-warnings.yml +2 -0
- data/node_modules/sass-lint/tests/yml/.max-100-warnings.yml +2 -0
- data/node_modules/sass-lint/tests/yml/.multiple-ignore-strings.yml +60 -0
- data/node_modules/sass-lint/tests/yml/.multiple-ignores.yml +64 -0
- data/node_modules/sass-lint/tests/yml/.multiple-inputs.yml +61 -0
- data/node_modules/sass-lint/tests/yml/.no-merge-default.yml +59 -0
- data/node_modules/sass-lint/tests/yml/.single-input-include-string.yml +59 -0
- data/node_modules/sass-lint/tests/yml/.stylish-errors.yml +59 -0
- data/node_modules/sass-lint/tests/yml/.stylish-output.yml +58 -0
- data/node_modules/sass-lint/tests/yml/extend/.extend-b.yml +5 -0
- data/node_modules/sass-lint/tests/yml/extend/.extend-c.yml +3 -0
- data/node_modules/sass-lint/tests/yml/extend/find-file-test/.npmignore +0 -0
- data/node_modules/shelljs/.npmignore +9 -0
- data/node_modules/shelljs/LICENSE +26 -0
- data/node_modules/shelljs/MAINTAINERS +3 -0
- data/node_modules/shelljs/README.md +658 -0
- data/node_modules/shelljs/bin/shjs +55 -0
- data/node_modules/shelljs/global.js +3 -0
- data/node_modules/shelljs/make.js +57 -0
- data/node_modules/shelljs/package.json +40 -0
- data/node_modules/shelljs/scripts/generate-docs.js +26 -0
- data/node_modules/shelljs/scripts/run-tests.js +55 -0
- data/node_modules/shelljs/shell.js +184 -0
- data/node_modules/shelljs/src/cat.js +40 -0
- data/node_modules/shelljs/src/cd.js +28 -0
- data/node_modules/shelljs/src/chmod.js +215 -0
- data/node_modules/shelljs/src/common.js +257 -0
- data/node_modules/shelljs/src/cp.js +210 -0
- data/node_modules/shelljs/src/dirs.js +191 -0
- data/node_modules/shelljs/src/echo.js +20 -0
- data/node_modules/shelljs/src/error.js +10 -0
- data/node_modules/shelljs/src/exec.js +249 -0
- data/node_modules/shelljs/src/find.js +51 -0
- data/node_modules/shelljs/src/grep.js +52 -0
- data/node_modules/shelljs/src/ln.js +69 -0
- data/node_modules/shelljs/src/ls.js +168 -0
- data/node_modules/shelljs/src/mkdir.js +68 -0
- data/node_modules/shelljs/src/mv.js +82 -0
- data/node_modules/shelljs/src/popd.js +1 -0
- data/node_modules/shelljs/src/pushd.js +1 -0
- data/node_modules/shelljs/src/pwd.js +11 -0
- data/node_modules/shelljs/src/rm.js +163 -0
- data/node_modules/shelljs/src/sed.js +64 -0
- data/node_modules/shelljs/src/set.js +49 -0
- data/node_modules/shelljs/src/tempdir.js +57 -0
- data/node_modules/shelljs/src/test.js +85 -0
- data/node_modules/shelljs/src/to.js +30 -0
- data/node_modules/shelljs/src/toEnd.js +30 -0
- data/node_modules/shelljs/src/touch.js +109 -0
- data/node_modules/shelljs/src/which.js +98 -0
- data/node_modules/slice-ansi/index.js +80 -0
- data/node_modules/slice-ansi/license +22 -0
- data/node_modules/slice-ansi/package.json +56 -0
- data/node_modules/slice-ansi/readme.md +56 -0
- data/node_modules/sprintf-js/.npmignore +1 -0
- data/node_modules/sprintf-js/LICENSE +24 -0
- data/node_modules/sprintf-js/README.md +88 -0
- data/node_modules/sprintf-js/bower.json +14 -0
- data/node_modules/sprintf-js/demo/angular.html +20 -0
- data/node_modules/sprintf-js/dist/angular-sprintf.min.js +4 -0
- data/node_modules/sprintf-js/dist/angular-sprintf.min.js.map +1 -0
- data/node_modules/sprintf-js/dist/angular-sprintf.min.map +1 -0
- data/node_modules/sprintf-js/dist/sprintf.min.js +4 -0
- data/node_modules/sprintf-js/dist/sprintf.min.js.map +1 -0
- data/node_modules/sprintf-js/dist/sprintf.min.map +1 -0
- data/node_modules/sprintf-js/gruntfile.js +36 -0
- data/node_modules/sprintf-js/package.json +22 -0
- data/node_modules/sprintf-js/src/angular-sprintf.js +18 -0
- data/node_modules/sprintf-js/src/sprintf.js +208 -0
- data/node_modules/sprintf-js/test/test.js +82 -0
- data/node_modules/string-width/index.js +37 -0
- data/node_modules/string-width/license +21 -0
- data/node_modules/string-width/package.json +56 -0
- data/node_modules/string-width/readme.md +42 -0
- data/node_modules/string_decoder/.npmignore +2 -0
- data/node_modules/string_decoder/LICENSE +20 -0
- data/node_modules/string_decoder/README.md +7 -0
- data/node_modules/string_decoder/index.js +221 -0
- data/node_modules/string_decoder/package.json +25 -0
- data/node_modules/strip-ansi/index.js +6 -0
- data/node_modules/strip-ansi/license +21 -0
- data/node_modules/strip-ansi/package.json +57 -0
- data/node_modules/strip-ansi/readme.md +33 -0
- data/node_modules/strip-json-comments/cli.js +41 -0
- data/node_modules/strip-json-comments/license +21 -0
- data/node_modules/strip-json-comments/package.json +46 -0
- data/node_modules/strip-json-comments/readme.md +80 -0
- data/node_modules/strip-json-comments/strip-json-comments.js +73 -0
- data/node_modules/supports-color/index.js +50 -0
- data/node_modules/supports-color/license +21 -0
- data/node_modules/supports-color/package.json +49 -0
- data/node_modules/supports-color/readme.md +36 -0
- data/node_modules/table/LICENSE +24 -0
- data/node_modules/table/README.md +652 -0
- data/node_modules/table/dist/alignString.js +108 -0
- data/node_modules/table/dist/alignTableData.js +40 -0
- data/node_modules/table/dist/calculateCellHeight.js +49 -0
- data/node_modules/table/dist/calculateCellWidthIndex.js +29 -0
- data/node_modules/table/dist/calculateMaximumColumnWidthIndex.js +43 -0
- data/node_modules/table/dist/calculateRowHeightIndex.js +50 -0
- data/node_modules/table/dist/createStream.js +159 -0
- data/node_modules/table/dist/drawBorder.js +104 -0
- data/node_modules/table/dist/drawRow.js +23 -0
- data/node_modules/table/dist/drawTable.js +63 -0
- data/node_modules/table/dist/getBorderCharacters.js +128 -0
- data/node_modules/table/dist/index.js +24 -0
- data/node_modules/table/dist/makeConfig.js +101 -0
- data/node_modules/table/dist/makeStreamConfig.js +109 -0
- data/node_modules/table/dist/mapDataUsingRowHeightIndex.js +59 -0
- data/node_modules/table/dist/padTableData.js +28 -0
- data/node_modules/table/dist/schemas/config.json +114 -0
- data/node_modules/table/dist/schemas/streamConfig.json +114 -0
- data/node_modules/table/dist/stringifyTableData.js +25 -0
- data/node_modules/table/dist/table.js +135 -0
- data/node_modules/table/dist/truncateTableData.js +29 -0
- data/node_modules/table/dist/validateConfig.js +756 -0
- data/node_modules/table/dist/validateStreamConfig.js +742 -0
- data/node_modules/table/dist/validateTableData.js +59 -0
- data/node_modules/table/dist/wrapString.js +48 -0
- data/node_modules/table/dist/wrapWord.js +58 -0
- data/node_modules/table/node_modules/is-fullwidth-code-point/index.js +46 -0
- data/node_modules/table/node_modules/is-fullwidth-code-point/license +21 -0
- data/node_modules/table/node_modules/is-fullwidth-code-point/package.json +45 -0
- data/node_modules/table/node_modules/is-fullwidth-code-point/readme.md +39 -0
- data/node_modules/table/node_modules/string-width/index.js +35 -0
- data/node_modules/table/node_modules/string-width/license +21 -0
- data/node_modules/table/node_modules/string-width/package.json +58 -0
- data/node_modules/table/node_modules/string-width/readme.md +42 -0
- data/node_modules/table/package.json +69 -0
- data/node_modules/table/test/README/usage/basic.js +25 -0
- data/node_modules/table/test/README/usage/cell_content_alignment.js +45 -0
- data/node_modules/table/test/README/usage/column_width.js +33 -0
- data/node_modules/table/test/README/usage/custom_border.js +50 -0
- data/node_modules/table/test/README/usage/draw_horizontal_line.js +41 -0
- data/node_modules/table/test/README/usage/expectTable.js +13 -0
- data/node_modules/table/test/README/usage/moon_mission.js +67 -0
- data/node_modules/table/test/README/usage/padding_cell_content.js +39 -0
- data/node_modules/table/test/README/usage/predefined_border_templates.js +91 -0
- data/node_modules/table/test/README/usage/streaming.js +56 -0
- data/node_modules/table/test/README/usage/text_truncating.js +32 -0
- data/node_modules/table/test/README/usage/text_wrapping.js +67 -0
- data/node_modules/table/test/alignString.js +102 -0
- data/node_modules/table/test/calculateCellHeight.js +44 -0
- data/node_modules/table/test/calculateCellWidthIndex.js +20 -0
- data/node_modules/table/test/calculateMaximumColumnWidthIndex.js +59 -0
- data/node_modules/table/test/calculateRowHeightIndex.js +78 -0
- data/node_modules/table/test/config.js +43 -0
- data/node_modules/table/test/configSamples.js +153 -0
- data/node_modules/table/test/createStream.js +41 -0
- data/node_modules/table/test/drawBorder.js +71 -0
- data/node_modules/table/test/makeConfig.js +75 -0
- data/node_modules/table/test/mapDataUsingRowHeightIndex.js +119 -0
- data/node_modules/table/test/streamConfig.js +43 -0
- data/node_modules/table/test/streamConfigSamples.js +151 -0
- data/node_modules/table/test/validateTableData.js +65 -0
- data/node_modules/table/test/wrapString.js +45 -0
- data/node_modules/table/test/wrapWord.js +32 -0
- data/node_modules/text-table/.travis.yml +4 -0
- data/node_modules/text-table/LICENSE +18 -0
- data/node_modules/text-table/example/align.js +8 -0
- data/node_modules/text-table/example/center.js +8 -0
- data/node_modules/text-table/example/dotalign.js +9 -0
- data/node_modules/text-table/example/doubledot.js +11 -0
- data/node_modules/text-table/example/table.js +6 -0
- data/node_modules/text-table/index.js +86 -0
- data/node_modules/text-table/package.json +44 -0
- data/node_modules/text-table/readme.markdown +134 -0
- data/node_modules/text-table/test/align.js +18 -0
- data/node_modules/text-table/test/ansi-colors.js +32 -0
- data/node_modules/text-table/test/center.js +18 -0
- data/node_modules/text-table/test/dotalign.js +20 -0
- data/node_modules/text-table/test/doubledot.js +24 -0
- data/node_modules/text-table/test/table.js +14 -0
- data/node_modules/through/.travis.yml +5 -0
- data/node_modules/through/LICENSE.APACHE2 +15 -0
- data/node_modules/through/LICENSE.MIT +24 -0
- data/node_modules/through/index.js +108 -0
- data/node_modules/through/package.json +36 -0
- data/node_modules/through/readme.markdown +64 -0
- data/node_modules/through/test/async.js +28 -0
- data/node_modules/through/test/auto-destroy.js +30 -0
- data/node_modules/through/test/buffering.js +71 -0
- data/node_modules/through/test/end.js +45 -0
- data/node_modules/through/test/index.js +133 -0
- data/node_modules/tryit/README.md +56 -0
- data/node_modules/tryit/package.json +27 -0
- data/node_modules/tryit/tryit.js +14 -0
- data/node_modules/type-check/LICENSE +22 -0
- data/node_modules/type-check/README.md +210 -0
- data/node_modules/type-check/lib/check.js +126 -0
- data/node_modules/type-check/lib/index.js +16 -0
- data/node_modules/type-check/lib/parse-type.js +196 -0
- data/node_modules/type-check/package.json +40 -0
- data/node_modules/typedarray/.travis.yml +4 -0
- data/node_modules/typedarray/LICENSE +35 -0
- data/node_modules/typedarray/example/tarray.js +4 -0
- data/node_modules/typedarray/index.js +630 -0
- data/node_modules/typedarray/package.json +55 -0
- data/node_modules/typedarray/readme.markdown +61 -0
- data/node_modules/typedarray/test/server/undef_globals.js +19 -0
- data/node_modules/typedarray/test/tarray.js +10 -0
- data/node_modules/user-home/index.js +2 -0
- data/node_modules/user-home/license +21 -0
- data/node_modules/user-home/package.json +43 -0
- data/node_modules/user-home/readme.md +33 -0
- data/node_modules/util-deprecate/History.md +16 -0
- data/node_modules/util-deprecate/LICENSE +24 -0
- data/node_modules/util-deprecate/README.md +53 -0
- data/node_modules/util-deprecate/browser.js +67 -0
- data/node_modules/util-deprecate/node.js +6 -0
- data/node_modules/util-deprecate/package.json +27 -0
- data/node_modules/util/.npmignore +1 -0
- data/node_modules/util/.travis.yml +8 -0
- data/node_modules/util/.zuul.yml +10 -0
- data/node_modules/util/LICENSE +18 -0
- data/node_modules/util/README.md +15 -0
- data/node_modules/util/package.json +31 -0
- data/node_modules/util/support/isBuffer.js +3 -0
- data/node_modules/util/support/isBufferBrowser.js +6 -0
- data/node_modules/util/test/browser/inspect.js +41 -0
- data/node_modules/util/test/browser/is.js +91 -0
- data/node_modules/util/test/node/debug.js +86 -0
- data/node_modules/util/test/node/format.js +77 -0
- data/node_modules/util/test/node/inspect.js +195 -0
- data/node_modules/util/test/node/log.js +58 -0
- data/node_modules/util/test/node/util.js +83 -0
- data/node_modules/util/util.js +586 -0
- data/node_modules/wordwrap/LICENSE +18 -0
- data/node_modules/wordwrap/README.markdown +70 -0
- data/node_modules/wordwrap/example/center.js +10 -0
- data/node_modules/wordwrap/example/meat.js +3 -0
- data/node_modules/wordwrap/index.js +76 -0
- data/node_modules/wordwrap/package.json +34 -0
- data/node_modules/wordwrap/test/break.js +32 -0
- data/node_modules/wordwrap/test/idleness.txt +63 -0
- data/node_modules/wordwrap/test/wrap.js +33 -0
- data/node_modules/wrappy/LICENSE +15 -0
- data/node_modules/wrappy/README.md +36 -0
- data/node_modules/wrappy/package.json +29 -0
- data/node_modules/wrappy/wrappy.js +33 -0
- data/node_modules/write/LICENSE +21 -0
- data/node_modules/write/README.md +101 -0
- data/node_modules/write/index.js +93 -0
- data/node_modules/write/node_modules/.bin/mkdirp +1 -0
- data/node_modules/write/package.json +43 -0
- data/node_modules/xtend/.jshintrc +30 -0
- data/node_modules/xtend/.npmignore +1 -0
- data/node_modules/xtend/LICENCE +19 -0
- data/node_modules/xtend/Makefile +4 -0
- data/node_modules/xtend/README.md +32 -0
- data/node_modules/xtend/immutable.js +19 -0
- data/node_modules/xtend/mutable.js +17 -0
- data/node_modules/xtend/package.json +55 -0
- data/node_modules/xtend/test.js +83 -0
- metadata +4077 -4
- data/lib/rubygems_plugin.rb +0 -3
@@ -0,0 +1,30 @@
|
|
1
|
+
module.exports = {
|
2
|
+
'countBy': require('./countBy'),
|
3
|
+
'each': require('./each'),
|
4
|
+
'eachRight': require('./eachRight'),
|
5
|
+
'every': require('./every'),
|
6
|
+
'filter': require('./filter'),
|
7
|
+
'find': require('./find'),
|
8
|
+
'findLast': require('./findLast'),
|
9
|
+
'flatMap': require('./flatMap'),
|
10
|
+
'flatMapDeep': require('./flatMapDeep'),
|
11
|
+
'flatMapDepth': require('./flatMapDepth'),
|
12
|
+
'forEach': require('./forEach'),
|
13
|
+
'forEachRight': require('./forEachRight'),
|
14
|
+
'groupBy': require('./groupBy'),
|
15
|
+
'includes': require('./includes'),
|
16
|
+
'invokeMap': require('./invokeMap'),
|
17
|
+
'keyBy': require('./keyBy'),
|
18
|
+
'map': require('./map'),
|
19
|
+
'orderBy': require('./orderBy'),
|
20
|
+
'partition': require('./partition'),
|
21
|
+
'reduce': require('./reduce'),
|
22
|
+
'reduceRight': require('./reduceRight'),
|
23
|
+
'reject': require('./reject'),
|
24
|
+
'sample': require('./sample'),
|
25
|
+
'sampleSize': require('./sampleSize'),
|
26
|
+
'shuffle': require('./shuffle'),
|
27
|
+
'size': require('./size'),
|
28
|
+
'some': require('./some'),
|
29
|
+
'sortBy': require('./sortBy')
|
30
|
+
};
|
@@ -0,0 +1,33 @@
|
|
1
|
+
var LodashWrapper = require('./_LodashWrapper');
|
2
|
+
|
3
|
+
/**
|
4
|
+
* Executes the chain sequence and returns the wrapped result.
|
5
|
+
*
|
6
|
+
* @name commit
|
7
|
+
* @memberOf _
|
8
|
+
* @since 3.2.0
|
9
|
+
* @category Seq
|
10
|
+
* @returns {Object} Returns the new `lodash` wrapper instance.
|
11
|
+
* @example
|
12
|
+
*
|
13
|
+
* var array = [1, 2];
|
14
|
+
* var wrapped = _(array).push(3);
|
15
|
+
*
|
16
|
+
* console.log(array);
|
17
|
+
* // => [1, 2]
|
18
|
+
*
|
19
|
+
* wrapped = wrapped.commit();
|
20
|
+
* console.log(array);
|
21
|
+
* // => [1, 2, 3]
|
22
|
+
*
|
23
|
+
* wrapped.last();
|
24
|
+
* // => 3
|
25
|
+
*
|
26
|
+
* console.log(array);
|
27
|
+
* // => [1, 2, 3]
|
28
|
+
*/
|
29
|
+
function wrapperCommit() {
|
30
|
+
return new LodashWrapper(this.value(), this.__chain__);
|
31
|
+
}
|
32
|
+
|
33
|
+
module.exports = wrapperCommit;
|
@@ -0,0 +1,31 @@
|
|
1
|
+
/**
|
2
|
+
* Creates an array with all falsey values removed. The values `false`, `null`,
|
3
|
+
* `0`, `""`, `undefined`, and `NaN` are falsey.
|
4
|
+
*
|
5
|
+
* @static
|
6
|
+
* @memberOf _
|
7
|
+
* @since 0.1.0
|
8
|
+
* @category Array
|
9
|
+
* @param {Array} array The array to compact.
|
10
|
+
* @returns {Array} Returns the new array of filtered values.
|
11
|
+
* @example
|
12
|
+
*
|
13
|
+
* _.compact([0, 1, false, 2, '', 3]);
|
14
|
+
* // => [1, 2, 3]
|
15
|
+
*/
|
16
|
+
function compact(array) {
|
17
|
+
var index = -1,
|
18
|
+
length = array == null ? 0 : array.length,
|
19
|
+
resIndex = 0,
|
20
|
+
result = [];
|
21
|
+
|
22
|
+
while (++index < length) {
|
23
|
+
var value = array[index];
|
24
|
+
if (value) {
|
25
|
+
result[resIndex++] = value;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
return result;
|
29
|
+
}
|
30
|
+
|
31
|
+
module.exports = compact;
|
@@ -0,0 +1,43 @@
|
|
1
|
+
var arrayPush = require('./_arrayPush'),
|
2
|
+
baseFlatten = require('./_baseFlatten'),
|
3
|
+
copyArray = require('./_copyArray'),
|
4
|
+
isArray = require('./isArray');
|
5
|
+
|
6
|
+
/**
|
7
|
+
* Creates a new array concatenating `array` with any additional arrays
|
8
|
+
* and/or values.
|
9
|
+
*
|
10
|
+
* @static
|
11
|
+
* @memberOf _
|
12
|
+
* @since 4.0.0
|
13
|
+
* @category Array
|
14
|
+
* @param {Array} array The array to concatenate.
|
15
|
+
* @param {...*} [values] The values to concatenate.
|
16
|
+
* @returns {Array} Returns the new concatenated array.
|
17
|
+
* @example
|
18
|
+
*
|
19
|
+
* var array = [1];
|
20
|
+
* var other = _.concat(array, 2, [3], [[4]]);
|
21
|
+
*
|
22
|
+
* console.log(other);
|
23
|
+
* // => [1, 2, 3, [4]]
|
24
|
+
*
|
25
|
+
* console.log(array);
|
26
|
+
* // => [1]
|
27
|
+
*/
|
28
|
+
function concat() {
|
29
|
+
var length = arguments.length;
|
30
|
+
if (!length) {
|
31
|
+
return [];
|
32
|
+
}
|
33
|
+
var args = Array(length - 1),
|
34
|
+
array = arguments[0],
|
35
|
+
index = length;
|
36
|
+
|
37
|
+
while (index--) {
|
38
|
+
args[index - 1] = arguments[index];
|
39
|
+
}
|
40
|
+
return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));
|
41
|
+
}
|
42
|
+
|
43
|
+
module.exports = concat;
|
@@ -0,0 +1,60 @@
|
|
1
|
+
var apply = require('./_apply'),
|
2
|
+
arrayMap = require('./_arrayMap'),
|
3
|
+
baseIteratee = require('./_baseIteratee'),
|
4
|
+
baseRest = require('./_baseRest');
|
5
|
+
|
6
|
+
/** Error message constants. */
|
7
|
+
var FUNC_ERROR_TEXT = 'Expected a function';
|
8
|
+
|
9
|
+
/**
|
10
|
+
* Creates a function that iterates over `pairs` and invokes the corresponding
|
11
|
+
* function of the first predicate to return truthy. The predicate-function
|
12
|
+
* pairs are invoked with the `this` binding and arguments of the created
|
13
|
+
* function.
|
14
|
+
*
|
15
|
+
* @static
|
16
|
+
* @memberOf _
|
17
|
+
* @since 4.0.0
|
18
|
+
* @category Util
|
19
|
+
* @param {Array} pairs The predicate-function pairs.
|
20
|
+
* @returns {Function} Returns the new composite function.
|
21
|
+
* @example
|
22
|
+
*
|
23
|
+
* var func = _.cond([
|
24
|
+
* [_.matches({ 'a': 1 }), _.constant('matches A')],
|
25
|
+
* [_.conforms({ 'b': _.isNumber }), _.constant('matches B')],
|
26
|
+
* [_.stubTrue, _.constant('no match')]
|
27
|
+
* ]);
|
28
|
+
*
|
29
|
+
* func({ 'a': 1, 'b': 2 });
|
30
|
+
* // => 'matches A'
|
31
|
+
*
|
32
|
+
* func({ 'a': 0, 'b': 1 });
|
33
|
+
* // => 'matches B'
|
34
|
+
*
|
35
|
+
* func({ 'a': '1', 'b': '2' });
|
36
|
+
* // => 'no match'
|
37
|
+
*/
|
38
|
+
function cond(pairs) {
|
39
|
+
var length = pairs == null ? 0 : pairs.length,
|
40
|
+
toIteratee = baseIteratee;
|
41
|
+
|
42
|
+
pairs = !length ? [] : arrayMap(pairs, function(pair) {
|
43
|
+
if (typeof pair[1] != 'function') {
|
44
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
45
|
+
}
|
46
|
+
return [toIteratee(pair[0]), pair[1]];
|
47
|
+
});
|
48
|
+
|
49
|
+
return baseRest(function(args) {
|
50
|
+
var index = -1;
|
51
|
+
while (++index < length) {
|
52
|
+
var pair = pairs[index];
|
53
|
+
if (apply(pair[0], this, args)) {
|
54
|
+
return apply(pair[1], this, args);
|
55
|
+
}
|
56
|
+
}
|
57
|
+
});
|
58
|
+
}
|
59
|
+
|
60
|
+
module.exports = cond;
|
@@ -0,0 +1,32 @@
|
|
1
|
+
var baseClone = require('./_baseClone'),
|
2
|
+
baseConforms = require('./_baseConforms');
|
3
|
+
|
4
|
+
/**
|
5
|
+
* Creates a function that invokes the predicate properties of `source` with
|
6
|
+
* the corresponding property values of a given object, returning `true` if
|
7
|
+
* all predicates return truthy, else `false`.
|
8
|
+
*
|
9
|
+
* **Note:** The created function is equivalent to `_.conformsTo` with
|
10
|
+
* `source` partially applied.
|
11
|
+
*
|
12
|
+
* @static
|
13
|
+
* @memberOf _
|
14
|
+
* @since 4.0.0
|
15
|
+
* @category Util
|
16
|
+
* @param {Object} source The object of property predicates to conform to.
|
17
|
+
* @returns {Function} Returns the new spec function.
|
18
|
+
* @example
|
19
|
+
*
|
20
|
+
* var objects = [
|
21
|
+
* { 'a': 2, 'b': 1 },
|
22
|
+
* { 'a': 1, 'b': 2 }
|
23
|
+
* ];
|
24
|
+
*
|
25
|
+
* _.filter(objects, _.conforms({ 'b': function(n) { return n > 1; } }));
|
26
|
+
* // => [{ 'a': 1, 'b': 2 }]
|
27
|
+
*/
|
28
|
+
function conforms(source) {
|
29
|
+
return baseConforms(baseClone(source, true));
|
30
|
+
}
|
31
|
+
|
32
|
+
module.exports = conforms;
|
@@ -0,0 +1,32 @@
|
|
1
|
+
var baseConformsTo = require('./_baseConformsTo'),
|
2
|
+
keys = require('./keys');
|
3
|
+
|
4
|
+
/**
|
5
|
+
* Checks if `object` conforms to `source` by invoking the predicate
|
6
|
+
* properties of `source` with the corresponding property values of `object`.
|
7
|
+
*
|
8
|
+
* **Note:** This method is equivalent to `_.conforms` when `source` is
|
9
|
+
* partially applied.
|
10
|
+
*
|
11
|
+
* @static
|
12
|
+
* @memberOf _
|
13
|
+
* @since 4.14.0
|
14
|
+
* @category Lang
|
15
|
+
* @param {Object} object The object to inspect.
|
16
|
+
* @param {Object} source The object of property predicates to conform to.
|
17
|
+
* @returns {boolean} Returns `true` if `object` conforms, else `false`.
|
18
|
+
* @example
|
19
|
+
*
|
20
|
+
* var object = { 'a': 1, 'b': 2 };
|
21
|
+
*
|
22
|
+
* _.conformsTo(object, { 'b': function(n) { return n > 1; } });
|
23
|
+
* // => true
|
24
|
+
*
|
25
|
+
* _.conformsTo(object, { 'b': function(n) { return n > 2; } });
|
26
|
+
* // => false
|
27
|
+
*/
|
28
|
+
function conformsTo(object, source) {
|
29
|
+
return source == null || baseConformsTo(object, source, keys(source));
|
30
|
+
}
|
31
|
+
|
32
|
+
module.exports = conformsTo;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
/**
|
2
|
+
* Creates a function that returns `value`.
|
3
|
+
*
|
4
|
+
* @static
|
5
|
+
* @memberOf _
|
6
|
+
* @since 2.4.0
|
7
|
+
* @category Util
|
8
|
+
* @param {*} value The value to return from the new function.
|
9
|
+
* @returns {Function} Returns the new constant function.
|
10
|
+
* @example
|
11
|
+
*
|
12
|
+
* var objects = _.times(2, _.constant({ 'a': 1 }));
|
13
|
+
*
|
14
|
+
* console.log(objects);
|
15
|
+
* // => [{ 'a': 1 }, { 'a': 1 }]
|
16
|
+
*
|
17
|
+
* console.log(objects[0] === objects[1]);
|
18
|
+
* // => true
|
19
|
+
*/
|
20
|
+
function constant(value) {
|
21
|
+
return function() {
|
22
|
+
return value;
|
23
|
+
};
|
24
|
+
}
|
25
|
+
|
26
|
+
module.exports = constant;
|
@@ -0,0 +1,3853 @@
|
|
1
|
+
/**
|
2
|
+
* @license
|
3
|
+
* lodash (Custom Build) <https://lodash.com/>
|
4
|
+
* Build: `lodash core -o ./dist/lodash.core.js`
|
5
|
+
* Copyright JS Foundation and other contributors <https://js.foundation/>
|
6
|
+
* Released under MIT license <https://lodash.com/license>
|
7
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
8
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
9
|
+
*/
|
10
|
+
;(function() {
|
11
|
+
|
12
|
+
/** Used as a safe reference for `undefined` in pre-ES5 environments. */
|
13
|
+
var undefined;
|
14
|
+
|
15
|
+
/** Used as the semantic version number. */
|
16
|
+
var VERSION = '4.16.6';
|
17
|
+
|
18
|
+
/** Error message constants. */
|
19
|
+
var FUNC_ERROR_TEXT = 'Expected a function';
|
20
|
+
|
21
|
+
/** Used to compose bitmasks for function metadata. */
|
22
|
+
var BIND_FLAG = 1,
|
23
|
+
PARTIAL_FLAG = 32;
|
24
|
+
|
25
|
+
/** Used to compose bitmasks for comparison styles. */
|
26
|
+
var UNORDERED_COMPARE_FLAG = 1,
|
27
|
+
PARTIAL_COMPARE_FLAG = 2;
|
28
|
+
|
29
|
+
/** Used as references for various `Number` constants. */
|
30
|
+
var INFINITY = 1 / 0,
|
31
|
+
MAX_SAFE_INTEGER = 9007199254740991;
|
32
|
+
|
33
|
+
/** `Object#toString` result references. */
|
34
|
+
var argsTag = '[object Arguments]',
|
35
|
+
arrayTag = '[object Array]',
|
36
|
+
asyncTag = '[object AsyncFunction]',
|
37
|
+
boolTag = '[object Boolean]',
|
38
|
+
dateTag = '[object Date]',
|
39
|
+
errorTag = '[object Error]',
|
40
|
+
funcTag = '[object Function]',
|
41
|
+
genTag = '[object GeneratorFunction]',
|
42
|
+
numberTag = '[object Number]',
|
43
|
+
objectTag = '[object Object]',
|
44
|
+
proxyTag = '[object Proxy]',
|
45
|
+
regexpTag = '[object RegExp]',
|
46
|
+
stringTag = '[object String]';
|
47
|
+
|
48
|
+
/** Used to match HTML entities and HTML characters. */
|
49
|
+
var reUnescapedHtml = /[&<>"']/g,
|
50
|
+
reHasUnescapedHtml = RegExp(reUnescapedHtml.source);
|
51
|
+
|
52
|
+
/** Used to map characters to HTML entities. */
|
53
|
+
var htmlEscapes = {
|
54
|
+
'&': '&',
|
55
|
+
'<': '<',
|
56
|
+
'>': '>',
|
57
|
+
'"': '"',
|
58
|
+
"'": '''
|
59
|
+
};
|
60
|
+
|
61
|
+
/** Detect free variable `global` from Node.js. */
|
62
|
+
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
63
|
+
|
64
|
+
/** Detect free variable `self`. */
|
65
|
+
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
66
|
+
|
67
|
+
/** Used as a reference to the global object. */
|
68
|
+
var root = freeGlobal || freeSelf || Function('return this')();
|
69
|
+
|
70
|
+
/** Detect free variable `exports`. */
|
71
|
+
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
72
|
+
|
73
|
+
/** Detect free variable `module`. */
|
74
|
+
var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
|
75
|
+
|
76
|
+
/*--------------------------------------------------------------------------*/
|
77
|
+
|
78
|
+
/**
|
79
|
+
* Appends the elements of `values` to `array`.
|
80
|
+
*
|
81
|
+
* @private
|
82
|
+
* @param {Array} array The array to modify.
|
83
|
+
* @param {Array} values The values to append.
|
84
|
+
* @returns {Array} Returns `array`.
|
85
|
+
*/
|
86
|
+
function arrayPush(array, values) {
|
87
|
+
array.push.apply(array, values);
|
88
|
+
return array;
|
89
|
+
}
|
90
|
+
|
91
|
+
/**
|
92
|
+
* The base implementation of `_.findIndex` and `_.findLastIndex` without
|
93
|
+
* support for iteratee shorthands.
|
94
|
+
*
|
95
|
+
* @private
|
96
|
+
* @param {Array} array The array to inspect.
|
97
|
+
* @param {Function} predicate The function invoked per iteration.
|
98
|
+
* @param {number} fromIndex The index to search from.
|
99
|
+
* @param {boolean} [fromRight] Specify iterating from right to left.
|
100
|
+
* @returns {number} Returns the index of the matched value, else `-1`.
|
101
|
+
*/
|
102
|
+
function baseFindIndex(array, predicate, fromIndex, fromRight) {
|
103
|
+
var length = array.length,
|
104
|
+
index = fromIndex + (fromRight ? 1 : -1);
|
105
|
+
|
106
|
+
while ((fromRight ? index-- : ++index < length)) {
|
107
|
+
if (predicate(array[index], index, array)) {
|
108
|
+
return index;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
return -1;
|
112
|
+
}
|
113
|
+
|
114
|
+
/**
|
115
|
+
* The base implementation of `_.property` without support for deep paths.
|
116
|
+
*
|
117
|
+
* @private
|
118
|
+
* @param {string} key The key of the property to get.
|
119
|
+
* @returns {Function} Returns the new accessor function.
|
120
|
+
*/
|
121
|
+
function baseProperty(key) {
|
122
|
+
return function(object) {
|
123
|
+
return object == null ? undefined : object[key];
|
124
|
+
};
|
125
|
+
}
|
126
|
+
|
127
|
+
/**
|
128
|
+
* The base implementation of `_.propertyOf` without support for deep paths.
|
129
|
+
*
|
130
|
+
* @private
|
131
|
+
* @param {Object} object The object to query.
|
132
|
+
* @returns {Function} Returns the new accessor function.
|
133
|
+
*/
|
134
|
+
function basePropertyOf(object) {
|
135
|
+
return function(key) {
|
136
|
+
return object == null ? undefined : object[key];
|
137
|
+
};
|
138
|
+
}
|
139
|
+
|
140
|
+
/**
|
141
|
+
* The base implementation of `_.reduce` and `_.reduceRight`, without support
|
142
|
+
* for iteratee shorthands, which iterates over `collection` using `eachFunc`.
|
143
|
+
*
|
144
|
+
* @private
|
145
|
+
* @param {Array|Object} collection The collection to iterate over.
|
146
|
+
* @param {Function} iteratee The function invoked per iteration.
|
147
|
+
* @param {*} accumulator The initial value.
|
148
|
+
* @param {boolean} initAccum Specify using the first or last element of
|
149
|
+
* `collection` as the initial value.
|
150
|
+
* @param {Function} eachFunc The function to iterate over `collection`.
|
151
|
+
* @returns {*} Returns the accumulated value.
|
152
|
+
*/
|
153
|
+
function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {
|
154
|
+
eachFunc(collection, function(value, index, collection) {
|
155
|
+
accumulator = initAccum
|
156
|
+
? (initAccum = false, value)
|
157
|
+
: iteratee(accumulator, value, index, collection);
|
158
|
+
});
|
159
|
+
return accumulator;
|
160
|
+
}
|
161
|
+
|
162
|
+
/**
|
163
|
+
* The base implementation of `_.values` and `_.valuesIn` which creates an
|
164
|
+
* array of `object` property values corresponding to the property names
|
165
|
+
* of `props`.
|
166
|
+
*
|
167
|
+
* @private
|
168
|
+
* @param {Object} object The object to query.
|
169
|
+
* @param {Array} props The property names to get values for.
|
170
|
+
* @returns {Object} Returns the array of property values.
|
171
|
+
*/
|
172
|
+
function baseValues(object, props) {
|
173
|
+
return baseMap(props, function(key) {
|
174
|
+
return object[key];
|
175
|
+
});
|
176
|
+
}
|
177
|
+
|
178
|
+
/**
|
179
|
+
* Used by `_.escape` to convert characters to HTML entities.
|
180
|
+
*
|
181
|
+
* @private
|
182
|
+
* @param {string} chr The matched character to escape.
|
183
|
+
* @returns {string} Returns the escaped character.
|
184
|
+
*/
|
185
|
+
var escapeHtmlChar = basePropertyOf(htmlEscapes);
|
186
|
+
|
187
|
+
/**
|
188
|
+
* Creates a unary function that invokes `func` with its argument transformed.
|
189
|
+
*
|
190
|
+
* @private
|
191
|
+
* @param {Function} func The function to wrap.
|
192
|
+
* @param {Function} transform The argument transform.
|
193
|
+
* @returns {Function} Returns the new function.
|
194
|
+
*/
|
195
|
+
function overArg(func, transform) {
|
196
|
+
return function(arg) {
|
197
|
+
return func(transform(arg));
|
198
|
+
};
|
199
|
+
}
|
200
|
+
|
201
|
+
/*--------------------------------------------------------------------------*/
|
202
|
+
|
203
|
+
/** Used for built-in method references. */
|
204
|
+
var arrayProto = Array.prototype,
|
205
|
+
objectProto = Object.prototype;
|
206
|
+
|
207
|
+
/** Used to check objects for own properties. */
|
208
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
209
|
+
|
210
|
+
/** Used to generate unique IDs. */
|
211
|
+
var idCounter = 0;
|
212
|
+
|
213
|
+
/**
|
214
|
+
* Used to resolve the
|
215
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
216
|
+
* of values.
|
217
|
+
*/
|
218
|
+
var nativeObjectToString = objectProto.toString;
|
219
|
+
|
220
|
+
/** Used to restore the original `_` reference in `_.noConflict`. */
|
221
|
+
var oldDash = root._;
|
222
|
+
|
223
|
+
/** Built-in value references. */
|
224
|
+
var objectCreate = Object.create,
|
225
|
+
propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
226
|
+
|
227
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
228
|
+
var nativeIsFinite = root.isFinite,
|
229
|
+
nativeKeys = overArg(Object.keys, Object),
|
230
|
+
nativeMax = Math.max;
|
231
|
+
|
232
|
+
/*------------------------------------------------------------------------*/
|
233
|
+
|
234
|
+
/**
|
235
|
+
* Creates a `lodash` object which wraps `value` to enable implicit method
|
236
|
+
* chain sequences. Methods that operate on and return arrays, collections,
|
237
|
+
* and functions can be chained together. Methods that retrieve a single value
|
238
|
+
* or may return a primitive value will automatically end the chain sequence
|
239
|
+
* and return the unwrapped value. Otherwise, the value must be unwrapped
|
240
|
+
* with `_#value`.
|
241
|
+
*
|
242
|
+
* Explicit chain sequences, which must be unwrapped with `_#value`, may be
|
243
|
+
* enabled using `_.chain`.
|
244
|
+
*
|
245
|
+
* The execution of chained methods is lazy, that is, it's deferred until
|
246
|
+
* `_#value` is implicitly or explicitly called.
|
247
|
+
*
|
248
|
+
* Lazy evaluation allows several methods to support shortcut fusion.
|
249
|
+
* Shortcut fusion is an optimization to merge iteratee calls; this avoids
|
250
|
+
* the creation of intermediate arrays and can greatly reduce the number of
|
251
|
+
* iteratee executions. Sections of a chain sequence qualify for shortcut
|
252
|
+
* fusion if the section is applied to an array of at least `200` elements
|
253
|
+
* and any iteratees accept only one argument. The heuristic for whether a
|
254
|
+
* section qualifies for shortcut fusion is subject to change.
|
255
|
+
*
|
256
|
+
* Chaining is supported in custom builds as long as the `_#value` method is
|
257
|
+
* directly or indirectly included in the build.
|
258
|
+
*
|
259
|
+
* In addition to lodash methods, wrappers have `Array` and `String` methods.
|
260
|
+
*
|
261
|
+
* The wrapper `Array` methods are:
|
262
|
+
* `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`
|
263
|
+
*
|
264
|
+
* The wrapper `String` methods are:
|
265
|
+
* `replace` and `split`
|
266
|
+
*
|
267
|
+
* The wrapper methods that support shortcut fusion are:
|
268
|
+
* `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,
|
269
|
+
* `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,
|
270
|
+
* `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`
|
271
|
+
*
|
272
|
+
* The chainable wrapper methods are:
|
273
|
+
* `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,
|
274
|
+
* `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,
|
275
|
+
* `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,
|
276
|
+
* `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,
|
277
|
+
* `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,
|
278
|
+
* `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,
|
279
|
+
* `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,
|
280
|
+
* `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,
|
281
|
+
* `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,
|
282
|
+
* `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,
|
283
|
+
* `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,
|
284
|
+
* `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,
|
285
|
+
* `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,
|
286
|
+
* `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,
|
287
|
+
* `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,
|
288
|
+
* `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,
|
289
|
+
* `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,
|
290
|
+
* `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,
|
291
|
+
* `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,
|
292
|
+
* `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,
|
293
|
+
* `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,
|
294
|
+
* `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,
|
295
|
+
* `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,
|
296
|
+
* `zipObject`, `zipObjectDeep`, and `zipWith`
|
297
|
+
*
|
298
|
+
* The wrapper methods that are **not** chainable by default are:
|
299
|
+
* `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,
|
300
|
+
* `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`,
|
301
|
+
* `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`,
|
302
|
+
* `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`,
|
303
|
+
* `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`,
|
304
|
+
* `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`,
|
305
|
+
* `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`,
|
306
|
+
* `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`,
|
307
|
+
* `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`,
|
308
|
+
* `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`,
|
309
|
+
* `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,
|
310
|
+
* `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,
|
311
|
+
* `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,
|
312
|
+
* `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,
|
313
|
+
* `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,
|
314
|
+
* `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,
|
315
|
+
* `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,
|
316
|
+
* `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,
|
317
|
+
* `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,
|
318
|
+
* `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,
|
319
|
+
* `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,
|
320
|
+
* `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,
|
321
|
+
* `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,
|
322
|
+
* `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,
|
323
|
+
* `upperFirst`, `value`, and `words`
|
324
|
+
*
|
325
|
+
* @name _
|
326
|
+
* @constructor
|
327
|
+
* @category Seq
|
328
|
+
* @param {*} value The value to wrap in a `lodash` instance.
|
329
|
+
* @returns {Object} Returns the new `lodash` wrapper instance.
|
330
|
+
* @example
|
331
|
+
*
|
332
|
+
* function square(n) {
|
333
|
+
* return n * n;
|
334
|
+
* }
|
335
|
+
*
|
336
|
+
* var wrapped = _([1, 2, 3]);
|
337
|
+
*
|
338
|
+
* // Returns an unwrapped value.
|
339
|
+
* wrapped.reduce(_.add);
|
340
|
+
* // => 6
|
341
|
+
*
|
342
|
+
* // Returns a wrapped value.
|
343
|
+
* var squares = wrapped.map(square);
|
344
|
+
*
|
345
|
+
* _.isArray(squares);
|
346
|
+
* // => false
|
347
|
+
*
|
348
|
+
* _.isArray(squares.value());
|
349
|
+
* // => true
|
350
|
+
*/
|
351
|
+
function lodash(value) {
|
352
|
+
return value instanceof LodashWrapper
|
353
|
+
? value
|
354
|
+
: new LodashWrapper(value);
|
355
|
+
}
|
356
|
+
|
357
|
+
/**
|
358
|
+
* The base implementation of `_.create` without support for assigning
|
359
|
+
* properties to the created object.
|
360
|
+
*
|
361
|
+
* @private
|
362
|
+
* @param {Object} proto The object to inherit from.
|
363
|
+
* @returns {Object} Returns the new object.
|
364
|
+
*/
|
365
|
+
var baseCreate = (function() {
|
366
|
+
function object() {}
|
367
|
+
return function(proto) {
|
368
|
+
if (!isObject(proto)) {
|
369
|
+
return {};
|
370
|
+
}
|
371
|
+
if (objectCreate) {
|
372
|
+
return objectCreate(proto);
|
373
|
+
}
|
374
|
+
object.prototype = proto;
|
375
|
+
var result = new object;
|
376
|
+
object.prototype = undefined;
|
377
|
+
return result;
|
378
|
+
};
|
379
|
+
}());
|
380
|
+
|
381
|
+
/**
|
382
|
+
* The base constructor for creating `lodash` wrapper objects.
|
383
|
+
*
|
384
|
+
* @private
|
385
|
+
* @param {*} value The value to wrap.
|
386
|
+
* @param {boolean} [chainAll] Enable explicit method chain sequences.
|
387
|
+
*/
|
388
|
+
function LodashWrapper(value, chainAll) {
|
389
|
+
this.__wrapped__ = value;
|
390
|
+
this.__actions__ = [];
|
391
|
+
this.__chain__ = !!chainAll;
|
392
|
+
}
|
393
|
+
|
394
|
+
LodashWrapper.prototype = baseCreate(lodash.prototype);
|
395
|
+
LodashWrapper.prototype.constructor = LodashWrapper;
|
396
|
+
|
397
|
+
/*------------------------------------------------------------------------*/
|
398
|
+
|
399
|
+
/**
|
400
|
+
* Used by `_.defaults` to customize its `_.assignIn` use.
|
401
|
+
*
|
402
|
+
* @private
|
403
|
+
* @param {*} objValue The destination value.
|
404
|
+
* @param {*} srcValue The source value.
|
405
|
+
* @param {string} key The key of the property to assign.
|
406
|
+
* @param {Object} object The parent object of `objValue`.
|
407
|
+
* @returns {*} Returns the value to assign.
|
408
|
+
*/
|
409
|
+
function assignInDefaults(objValue, srcValue, key, object) {
|
410
|
+
if (objValue === undefined ||
|
411
|
+
(eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) {
|
412
|
+
return srcValue;
|
413
|
+
}
|
414
|
+
return objValue;
|
415
|
+
}
|
416
|
+
|
417
|
+
/**
|
418
|
+
* Assigns `value` to `key` of `object` if the existing value is not equivalent
|
419
|
+
* using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
420
|
+
* for equality comparisons.
|
421
|
+
*
|
422
|
+
* @private
|
423
|
+
* @param {Object} object The object to modify.
|
424
|
+
* @param {string} key The key of the property to assign.
|
425
|
+
* @param {*} value The value to assign.
|
426
|
+
*/
|
427
|
+
function assignValue(object, key, value) {
|
428
|
+
var objValue = object[key];
|
429
|
+
if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||
|
430
|
+
(value === undefined && !(key in object))) {
|
431
|
+
baseAssignValue(object, key, value);
|
432
|
+
}
|
433
|
+
}
|
434
|
+
|
435
|
+
/**
|
436
|
+
* The base implementation of `assignValue` and `assignMergeValue` without
|
437
|
+
* value checks.
|
438
|
+
*
|
439
|
+
* @private
|
440
|
+
* @param {Object} object The object to modify.
|
441
|
+
* @param {string} key The key of the property to assign.
|
442
|
+
* @param {*} value The value to assign.
|
443
|
+
*/
|
444
|
+
function baseAssignValue(object, key, value) {
|
445
|
+
object[key] = value;
|
446
|
+
}
|
447
|
+
|
448
|
+
/**
|
449
|
+
* The base implementation of `_.delay` and `_.defer` which accepts `args`
|
450
|
+
* to provide to `func`.
|
451
|
+
*
|
452
|
+
* @private
|
453
|
+
* @param {Function} func The function to delay.
|
454
|
+
* @param {number} wait The number of milliseconds to delay invocation.
|
455
|
+
* @param {Array} args The arguments to provide to `func`.
|
456
|
+
* @returns {number|Object} Returns the timer id or timeout object.
|
457
|
+
*/
|
458
|
+
function baseDelay(func, wait, args) {
|
459
|
+
if (typeof func != 'function') {
|
460
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
461
|
+
}
|
462
|
+
return setTimeout(function() { func.apply(undefined, args); }, wait);
|
463
|
+
}
|
464
|
+
|
465
|
+
/**
|
466
|
+
* The base implementation of `_.forEach` without support for iteratee shorthands.
|
467
|
+
*
|
468
|
+
* @private
|
469
|
+
* @param {Array|Object} collection The collection to iterate over.
|
470
|
+
* @param {Function} iteratee The function invoked per iteration.
|
471
|
+
* @returns {Array|Object} Returns `collection`.
|
472
|
+
*/
|
473
|
+
var baseEach = createBaseEach(baseForOwn);
|
474
|
+
|
475
|
+
/**
|
476
|
+
* The base implementation of `_.every` without support for iteratee shorthands.
|
477
|
+
*
|
478
|
+
* @private
|
479
|
+
* @param {Array|Object} collection The collection to iterate over.
|
480
|
+
* @param {Function} predicate The function invoked per iteration.
|
481
|
+
* @returns {boolean} Returns `true` if all elements pass the predicate check,
|
482
|
+
* else `false`
|
483
|
+
*/
|
484
|
+
function baseEvery(collection, predicate) {
|
485
|
+
var result = true;
|
486
|
+
baseEach(collection, function(value, index, collection) {
|
487
|
+
result = !!predicate(value, index, collection);
|
488
|
+
return result;
|
489
|
+
});
|
490
|
+
return result;
|
491
|
+
}
|
492
|
+
|
493
|
+
/**
|
494
|
+
* The base implementation of methods like `_.max` and `_.min` which accepts a
|
495
|
+
* `comparator` to determine the extremum value.
|
496
|
+
*
|
497
|
+
* @private
|
498
|
+
* @param {Array} array The array to iterate over.
|
499
|
+
* @param {Function} iteratee The iteratee invoked per iteration.
|
500
|
+
* @param {Function} comparator The comparator used to compare values.
|
501
|
+
* @returns {*} Returns the extremum value.
|
502
|
+
*/
|
503
|
+
function baseExtremum(array, iteratee, comparator) {
|
504
|
+
var index = -1,
|
505
|
+
length = array.length;
|
506
|
+
|
507
|
+
while (++index < length) {
|
508
|
+
var value = array[index],
|
509
|
+
current = iteratee(value);
|
510
|
+
|
511
|
+
if (current != null && (computed === undefined
|
512
|
+
? (current === current && !false)
|
513
|
+
: comparator(current, computed)
|
514
|
+
)) {
|
515
|
+
var computed = current,
|
516
|
+
result = value;
|
517
|
+
}
|
518
|
+
}
|
519
|
+
return result;
|
520
|
+
}
|
521
|
+
|
522
|
+
/**
|
523
|
+
* The base implementation of `_.filter` without support for iteratee shorthands.
|
524
|
+
*
|
525
|
+
* @private
|
526
|
+
* @param {Array|Object} collection The collection to iterate over.
|
527
|
+
* @param {Function} predicate The function invoked per iteration.
|
528
|
+
* @returns {Array} Returns the new filtered array.
|
529
|
+
*/
|
530
|
+
function baseFilter(collection, predicate) {
|
531
|
+
var result = [];
|
532
|
+
baseEach(collection, function(value, index, collection) {
|
533
|
+
if (predicate(value, index, collection)) {
|
534
|
+
result.push(value);
|
535
|
+
}
|
536
|
+
});
|
537
|
+
return result;
|
538
|
+
}
|
539
|
+
|
540
|
+
/**
|
541
|
+
* The base implementation of `_.flatten` with support for restricting flattening.
|
542
|
+
*
|
543
|
+
* @private
|
544
|
+
* @param {Array} array The array to flatten.
|
545
|
+
* @param {number} depth The maximum recursion depth.
|
546
|
+
* @param {boolean} [predicate=isFlattenable] The function invoked per iteration.
|
547
|
+
* @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.
|
548
|
+
* @param {Array} [result=[]] The initial result value.
|
549
|
+
* @returns {Array} Returns the new flattened array.
|
550
|
+
*/
|
551
|
+
function baseFlatten(array, depth, predicate, isStrict, result) {
|
552
|
+
var index = -1,
|
553
|
+
length = array.length;
|
554
|
+
|
555
|
+
predicate || (predicate = isFlattenable);
|
556
|
+
result || (result = []);
|
557
|
+
|
558
|
+
while (++index < length) {
|
559
|
+
var value = array[index];
|
560
|
+
if (depth > 0 && predicate(value)) {
|
561
|
+
if (depth > 1) {
|
562
|
+
// Recursively flatten arrays (susceptible to call stack limits).
|
563
|
+
baseFlatten(value, depth - 1, predicate, isStrict, result);
|
564
|
+
} else {
|
565
|
+
arrayPush(result, value);
|
566
|
+
}
|
567
|
+
} else if (!isStrict) {
|
568
|
+
result[result.length] = value;
|
569
|
+
}
|
570
|
+
}
|
571
|
+
return result;
|
572
|
+
}
|
573
|
+
|
574
|
+
/**
|
575
|
+
* The base implementation of `baseForOwn` which iterates over `object`
|
576
|
+
* properties returned by `keysFunc` and invokes `iteratee` for each property.
|
577
|
+
* Iteratee functions may exit iteration early by explicitly returning `false`.
|
578
|
+
*
|
579
|
+
* @private
|
580
|
+
* @param {Object} object The object to iterate over.
|
581
|
+
* @param {Function} iteratee The function invoked per iteration.
|
582
|
+
* @param {Function} keysFunc The function to get the keys of `object`.
|
583
|
+
* @returns {Object} Returns `object`.
|
584
|
+
*/
|
585
|
+
var baseFor = createBaseFor();
|
586
|
+
|
587
|
+
/**
|
588
|
+
* The base implementation of `_.forOwn` without support for iteratee shorthands.
|
589
|
+
*
|
590
|
+
* @private
|
591
|
+
* @param {Object} object The object to iterate over.
|
592
|
+
* @param {Function} iteratee The function invoked per iteration.
|
593
|
+
* @returns {Object} Returns `object`.
|
594
|
+
*/
|
595
|
+
function baseForOwn(object, iteratee) {
|
596
|
+
return object && baseFor(object, iteratee, keys);
|
597
|
+
}
|
598
|
+
|
599
|
+
/**
|
600
|
+
* The base implementation of `_.functions` which creates an array of
|
601
|
+
* `object` function property names filtered from `props`.
|
602
|
+
*
|
603
|
+
* @private
|
604
|
+
* @param {Object} object The object to inspect.
|
605
|
+
* @param {Array} props The property names to filter.
|
606
|
+
* @returns {Array} Returns the function names.
|
607
|
+
*/
|
608
|
+
function baseFunctions(object, props) {
|
609
|
+
return baseFilter(props, function(key) {
|
610
|
+
return isFunction(object[key]);
|
611
|
+
});
|
612
|
+
}
|
613
|
+
|
614
|
+
/**
|
615
|
+
* The base implementation of `getTag` without fallbacks for buggy environments.
|
616
|
+
*
|
617
|
+
* @private
|
618
|
+
* @param {*} value The value to query.
|
619
|
+
* @returns {string} Returns the `toStringTag`.
|
620
|
+
*/
|
621
|
+
function baseGetTag(value) {
|
622
|
+
return objectToString(value);
|
623
|
+
}
|
624
|
+
|
625
|
+
/**
|
626
|
+
* The base implementation of `_.gt` which doesn't coerce arguments.
|
627
|
+
*
|
628
|
+
* @private
|
629
|
+
* @param {*} value The value to compare.
|
630
|
+
* @param {*} other The other value to compare.
|
631
|
+
* @returns {boolean} Returns `true` if `value` is greater than `other`,
|
632
|
+
* else `false`.
|
633
|
+
*/
|
634
|
+
function baseGt(value, other) {
|
635
|
+
return value > other;
|
636
|
+
}
|
637
|
+
|
638
|
+
/**
|
639
|
+
* The base implementation of `_.isArguments`.
|
640
|
+
*
|
641
|
+
* @private
|
642
|
+
* @param {*} value The value to check.
|
643
|
+
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
644
|
+
*/
|
645
|
+
var baseIsArguments = noop;
|
646
|
+
|
647
|
+
/**
|
648
|
+
* The base implementation of `_.isDate` without Node.js optimizations.
|
649
|
+
*
|
650
|
+
* @private
|
651
|
+
* @param {*} value The value to check.
|
652
|
+
* @returns {boolean} Returns `true` if `value` is a date object, else `false`.
|
653
|
+
*/
|
654
|
+
function baseIsDate(value) {
|
655
|
+
return isObjectLike(value) && baseGetTag(value) == dateTag;
|
656
|
+
}
|
657
|
+
|
658
|
+
/**
|
659
|
+
* The base implementation of `_.isEqual` which supports partial comparisons
|
660
|
+
* and tracks traversed objects.
|
661
|
+
*
|
662
|
+
* @private
|
663
|
+
* @param {*} value The value to compare.
|
664
|
+
* @param {*} other The other value to compare.
|
665
|
+
* @param {Function} [customizer] The function to customize comparisons.
|
666
|
+
* @param {boolean} [bitmask] The bitmask of comparison flags.
|
667
|
+
* The bitmask may be composed of the following flags:
|
668
|
+
* 1 - Unordered comparison
|
669
|
+
* 2 - Partial comparison
|
670
|
+
* @param {Object} [stack] Tracks traversed `value` and `other` objects.
|
671
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
672
|
+
*/
|
673
|
+
function baseIsEqual(value, other, customizer, bitmask, stack) {
|
674
|
+
if (value === other) {
|
675
|
+
return true;
|
676
|
+
}
|
677
|
+
if (value == null || other == null || (!isObject(value) && !isObjectLike(other))) {
|
678
|
+
return value !== value && other !== other;
|
679
|
+
}
|
680
|
+
return baseIsEqualDeep(value, other, baseIsEqual, customizer, bitmask, stack);
|
681
|
+
}
|
682
|
+
|
683
|
+
/**
|
684
|
+
* A specialized version of `baseIsEqual` for arrays and objects which performs
|
685
|
+
* deep comparisons and tracks traversed objects enabling objects with circular
|
686
|
+
* references to be compared.
|
687
|
+
*
|
688
|
+
* @private
|
689
|
+
* @param {Object} object The object to compare.
|
690
|
+
* @param {Object} other The other object to compare.
|
691
|
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
692
|
+
* @param {Function} [customizer] The function to customize comparisons.
|
693
|
+
* @param {number} [bitmask] The bitmask of comparison flags. See `baseIsEqual`
|
694
|
+
* for more details.
|
695
|
+
* @param {Object} [stack] Tracks traversed `object` and `other` objects.
|
696
|
+
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
697
|
+
*/
|
698
|
+
function baseIsEqualDeep(object, other, equalFunc, customizer, bitmask, stack) {
|
699
|
+
var objIsArr = isArray(object),
|
700
|
+
othIsArr = isArray(other),
|
701
|
+
objTag = arrayTag,
|
702
|
+
othTag = arrayTag;
|
703
|
+
|
704
|
+
if (!objIsArr) {
|
705
|
+
objTag = baseGetTag(object);
|
706
|
+
objTag = objTag == argsTag ? objectTag : objTag;
|
707
|
+
}
|
708
|
+
if (!othIsArr) {
|
709
|
+
othTag = baseGetTag(other);
|
710
|
+
othTag = othTag == argsTag ? objectTag : othTag;
|
711
|
+
}
|
712
|
+
var objIsObj = objTag == objectTag,
|
713
|
+
othIsObj = othTag == objectTag,
|
714
|
+
isSameTag = objTag == othTag;
|
715
|
+
|
716
|
+
stack || (stack = []);
|
717
|
+
var objStack = find(stack, function(entry) {
|
718
|
+
return entry[0] == object;
|
719
|
+
});
|
720
|
+
var othStack = find(stack, function(entry) {
|
721
|
+
return entry[0] == other;
|
722
|
+
});
|
723
|
+
if (objStack && othStack) {
|
724
|
+
return objStack[1] == other;
|
725
|
+
}
|
726
|
+
stack.push([object, other]);
|
727
|
+
stack.push([other, object]);
|
728
|
+
if (isSameTag && !objIsObj) {
|
729
|
+
var result = (objIsArr)
|
730
|
+
? equalArrays(object, other, equalFunc, customizer, bitmask, stack)
|
731
|
+
: equalByTag(object, other, objTag, equalFunc, customizer, bitmask, stack);
|
732
|
+
stack.pop();
|
733
|
+
return result;
|
734
|
+
}
|
735
|
+
if (!(bitmask & PARTIAL_COMPARE_FLAG)) {
|
736
|
+
var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
|
737
|
+
othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
|
738
|
+
|
739
|
+
if (objIsWrapped || othIsWrapped) {
|
740
|
+
var objUnwrapped = objIsWrapped ? object.value() : object,
|
741
|
+
othUnwrapped = othIsWrapped ? other.value() : other;
|
742
|
+
|
743
|
+
var result = equalFunc(objUnwrapped, othUnwrapped, customizer, bitmask, stack);
|
744
|
+
stack.pop();
|
745
|
+
return result;
|
746
|
+
}
|
747
|
+
}
|
748
|
+
if (!isSameTag) {
|
749
|
+
return false;
|
750
|
+
}
|
751
|
+
var result = equalObjects(object, other, equalFunc, customizer, bitmask, stack);
|
752
|
+
stack.pop();
|
753
|
+
return result;
|
754
|
+
}
|
755
|
+
|
756
|
+
/**
|
757
|
+
* The base implementation of `_.isRegExp` without Node.js optimizations.
|
758
|
+
*
|
759
|
+
* @private
|
760
|
+
* @param {*} value The value to check.
|
761
|
+
* @returns {boolean} Returns `true` if `value` is a regexp, else `false`.
|
762
|
+
*/
|
763
|
+
function baseIsRegExp(value) {
|
764
|
+
return isObjectLike(value) && baseGetTag(value) == regexpTag;
|
765
|
+
}
|
766
|
+
|
767
|
+
/**
|
768
|
+
* The base implementation of `_.iteratee`.
|
769
|
+
*
|
770
|
+
* @private
|
771
|
+
* @param {*} [value=_.identity] The value to convert to an iteratee.
|
772
|
+
* @returns {Function} Returns the iteratee.
|
773
|
+
*/
|
774
|
+
function baseIteratee(func) {
|
775
|
+
if (typeof func == 'function') {
|
776
|
+
return func;
|
777
|
+
}
|
778
|
+
if (func == null) {
|
779
|
+
return identity;
|
780
|
+
}
|
781
|
+
return (typeof func == 'object' ? baseMatches : baseProperty)(func);
|
782
|
+
}
|
783
|
+
|
784
|
+
/**
|
785
|
+
* The base implementation of `_.lt` which doesn't coerce arguments.
|
786
|
+
*
|
787
|
+
* @private
|
788
|
+
* @param {*} value The value to compare.
|
789
|
+
* @param {*} other The other value to compare.
|
790
|
+
* @returns {boolean} Returns `true` if `value` is less than `other`,
|
791
|
+
* else `false`.
|
792
|
+
*/
|
793
|
+
function baseLt(value, other) {
|
794
|
+
return value < other;
|
795
|
+
}
|
796
|
+
|
797
|
+
/**
|
798
|
+
* The base implementation of `_.map` without support for iteratee shorthands.
|
799
|
+
*
|
800
|
+
* @private
|
801
|
+
* @param {Array|Object} collection The collection to iterate over.
|
802
|
+
* @param {Function} iteratee The function invoked per iteration.
|
803
|
+
* @returns {Array} Returns the new mapped array.
|
804
|
+
*/
|
805
|
+
function baseMap(collection, iteratee) {
|
806
|
+
var index = -1,
|
807
|
+
result = isArrayLike(collection) ? Array(collection.length) : [];
|
808
|
+
|
809
|
+
baseEach(collection, function(value, key, collection) {
|
810
|
+
result[++index] = iteratee(value, key, collection);
|
811
|
+
});
|
812
|
+
return result;
|
813
|
+
}
|
814
|
+
|
815
|
+
/**
|
816
|
+
* The base implementation of `_.matches` which doesn't clone `source`.
|
817
|
+
*
|
818
|
+
* @private
|
819
|
+
* @param {Object} source The object of property values to match.
|
820
|
+
* @returns {Function} Returns the new spec function.
|
821
|
+
*/
|
822
|
+
function baseMatches(source) {
|
823
|
+
var props = nativeKeys(source);
|
824
|
+
return function(object) {
|
825
|
+
var length = props.length;
|
826
|
+
if (object == null) {
|
827
|
+
return !length;
|
828
|
+
}
|
829
|
+
object = Object(object);
|
830
|
+
while (length--) {
|
831
|
+
var key = props[length];
|
832
|
+
if (!(key in object &&
|
833
|
+
baseIsEqual(source[key], object[key], undefined, UNORDERED_COMPARE_FLAG | PARTIAL_COMPARE_FLAG)
|
834
|
+
)) {
|
835
|
+
return false;
|
836
|
+
}
|
837
|
+
}
|
838
|
+
return true;
|
839
|
+
};
|
840
|
+
}
|
841
|
+
|
842
|
+
/**
|
843
|
+
* The base implementation of `_.pick` without support for individual
|
844
|
+
* property identifiers.
|
845
|
+
*
|
846
|
+
* @private
|
847
|
+
* @param {Object} object The source object.
|
848
|
+
* @param {string[]} props The property identifiers to pick.
|
849
|
+
* @returns {Object} Returns the new object.
|
850
|
+
*/
|
851
|
+
function basePick(object, props) {
|
852
|
+
object = Object(object);
|
853
|
+
return reduce(props, function(result, key) {
|
854
|
+
if (key in object) {
|
855
|
+
result[key] = object[key];
|
856
|
+
}
|
857
|
+
return result;
|
858
|
+
}, {});
|
859
|
+
}
|
860
|
+
|
861
|
+
/**
|
862
|
+
* The base implementation of `_.rest` which doesn't validate or coerce arguments.
|
863
|
+
*
|
864
|
+
* @private
|
865
|
+
* @param {Function} func The function to apply a rest parameter to.
|
866
|
+
* @param {number} [start=func.length-1] The start position of the rest parameter.
|
867
|
+
* @returns {Function} Returns the new function.
|
868
|
+
*/
|
869
|
+
function baseRest(func, start) {
|
870
|
+
return setToString(overRest(func, start, identity), func + '');
|
871
|
+
}
|
872
|
+
|
873
|
+
/**
|
874
|
+
* The base implementation of `_.slice` without an iteratee call guard.
|
875
|
+
*
|
876
|
+
* @private
|
877
|
+
* @param {Array} array The array to slice.
|
878
|
+
* @param {number} [start=0] The start position.
|
879
|
+
* @param {number} [end=array.length] The end position.
|
880
|
+
* @returns {Array} Returns the slice of `array`.
|
881
|
+
*/
|
882
|
+
function baseSlice(array, start, end) {
|
883
|
+
var index = -1,
|
884
|
+
length = array.length;
|
885
|
+
|
886
|
+
if (start < 0) {
|
887
|
+
start = -start > length ? 0 : (length + start);
|
888
|
+
}
|
889
|
+
end = end > length ? length : end;
|
890
|
+
if (end < 0) {
|
891
|
+
end += length;
|
892
|
+
}
|
893
|
+
length = start > end ? 0 : ((end - start) >>> 0);
|
894
|
+
start >>>= 0;
|
895
|
+
|
896
|
+
var result = Array(length);
|
897
|
+
while (++index < length) {
|
898
|
+
result[index] = array[index + start];
|
899
|
+
}
|
900
|
+
return result;
|
901
|
+
}
|
902
|
+
|
903
|
+
/**
|
904
|
+
* Copies the values of `source` to `array`.
|
905
|
+
*
|
906
|
+
* @private
|
907
|
+
* @param {Array} source The array to copy values from.
|
908
|
+
* @param {Array} [array=[]] The array to copy values to.
|
909
|
+
* @returns {Array} Returns `array`.
|
910
|
+
*/
|
911
|
+
function copyArray(source) {
|
912
|
+
return baseSlice(source, 0, source.length);
|
913
|
+
}
|
914
|
+
|
915
|
+
/**
|
916
|
+
* The base implementation of `_.some` without support for iteratee shorthands.
|
917
|
+
*
|
918
|
+
* @private
|
919
|
+
* @param {Array|Object} collection The collection to iterate over.
|
920
|
+
* @param {Function} predicate The function invoked per iteration.
|
921
|
+
* @returns {boolean} Returns `true` if any element passes the predicate check,
|
922
|
+
* else `false`.
|
923
|
+
*/
|
924
|
+
function baseSome(collection, predicate) {
|
925
|
+
var result;
|
926
|
+
|
927
|
+
baseEach(collection, function(value, index, collection) {
|
928
|
+
result = predicate(value, index, collection);
|
929
|
+
return !result;
|
930
|
+
});
|
931
|
+
return !!result;
|
932
|
+
}
|
933
|
+
|
934
|
+
/**
|
935
|
+
* The base implementation of `wrapperValue` which returns the result of
|
936
|
+
* performing a sequence of actions on the unwrapped `value`, where each
|
937
|
+
* successive action is supplied the return value of the previous.
|
938
|
+
*
|
939
|
+
* @private
|
940
|
+
* @param {*} value The unwrapped value.
|
941
|
+
* @param {Array} actions Actions to perform to resolve the unwrapped value.
|
942
|
+
* @returns {*} Returns the resolved value.
|
943
|
+
*/
|
944
|
+
function baseWrapperValue(value, actions) {
|
945
|
+
var result = value;
|
946
|
+
return reduce(actions, function(result, action) {
|
947
|
+
return action.func.apply(action.thisArg, arrayPush([result], action.args));
|
948
|
+
}, result);
|
949
|
+
}
|
950
|
+
|
951
|
+
/**
|
952
|
+
* Compares values to sort them in ascending order.
|
953
|
+
*
|
954
|
+
* @private
|
955
|
+
* @param {*} value The value to compare.
|
956
|
+
* @param {*} other The other value to compare.
|
957
|
+
* @returns {number} Returns the sort order indicator for `value`.
|
958
|
+
*/
|
959
|
+
function compareAscending(value, other) {
|
960
|
+
if (value !== other) {
|
961
|
+
var valIsDefined = value !== undefined,
|
962
|
+
valIsNull = value === null,
|
963
|
+
valIsReflexive = value === value,
|
964
|
+
valIsSymbol = false;
|
965
|
+
|
966
|
+
var othIsDefined = other !== undefined,
|
967
|
+
othIsNull = other === null,
|
968
|
+
othIsReflexive = other === other,
|
969
|
+
othIsSymbol = false;
|
970
|
+
|
971
|
+
if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||
|
972
|
+
(valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||
|
973
|
+
(valIsNull && othIsDefined && othIsReflexive) ||
|
974
|
+
(!valIsDefined && othIsReflexive) ||
|
975
|
+
!valIsReflexive) {
|
976
|
+
return 1;
|
977
|
+
}
|
978
|
+
if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||
|
979
|
+
(othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||
|
980
|
+
(othIsNull && valIsDefined && valIsReflexive) ||
|
981
|
+
(!othIsDefined && valIsReflexive) ||
|
982
|
+
!othIsReflexive) {
|
983
|
+
return -1;
|
984
|
+
}
|
985
|
+
}
|
986
|
+
return 0;
|
987
|
+
}
|
988
|
+
|
989
|
+
/**
|
990
|
+
* Copies properties of `source` to `object`.
|
991
|
+
*
|
992
|
+
* @private
|
993
|
+
* @param {Object} source The object to copy properties from.
|
994
|
+
* @param {Array} props The property identifiers to copy.
|
995
|
+
* @param {Object} [object={}] The object to copy properties to.
|
996
|
+
* @param {Function} [customizer] The function to customize copied values.
|
997
|
+
* @returns {Object} Returns `object`.
|
998
|
+
*/
|
999
|
+
function copyObject(source, props, object, customizer) {
|
1000
|
+
var isNew = !object;
|
1001
|
+
object || (object = {});
|
1002
|
+
|
1003
|
+
var index = -1,
|
1004
|
+
length = props.length;
|
1005
|
+
|
1006
|
+
while (++index < length) {
|
1007
|
+
var key = props[index];
|
1008
|
+
|
1009
|
+
var newValue = customizer
|
1010
|
+
? customizer(object[key], source[key], key, object, source)
|
1011
|
+
: undefined;
|
1012
|
+
|
1013
|
+
if (newValue === undefined) {
|
1014
|
+
newValue = source[key];
|
1015
|
+
}
|
1016
|
+
if (isNew) {
|
1017
|
+
baseAssignValue(object, key, newValue);
|
1018
|
+
} else {
|
1019
|
+
assignValue(object, key, newValue);
|
1020
|
+
}
|
1021
|
+
}
|
1022
|
+
return object;
|
1023
|
+
}
|
1024
|
+
|
1025
|
+
/**
|
1026
|
+
* Creates a function like `_.assign`.
|
1027
|
+
*
|
1028
|
+
* @private
|
1029
|
+
* @param {Function} assigner The function to assign values.
|
1030
|
+
* @returns {Function} Returns the new assigner function.
|
1031
|
+
*/
|
1032
|
+
function createAssigner(assigner) {
|
1033
|
+
return baseRest(function(object, sources) {
|
1034
|
+
var index = -1,
|
1035
|
+
length = sources.length,
|
1036
|
+
customizer = length > 1 ? sources[length - 1] : undefined;
|
1037
|
+
|
1038
|
+
customizer = (assigner.length > 3 && typeof customizer == 'function')
|
1039
|
+
? (length--, customizer)
|
1040
|
+
: undefined;
|
1041
|
+
|
1042
|
+
object = Object(object);
|
1043
|
+
while (++index < length) {
|
1044
|
+
var source = sources[index];
|
1045
|
+
if (source) {
|
1046
|
+
assigner(object, source, index, customizer);
|
1047
|
+
}
|
1048
|
+
}
|
1049
|
+
return object;
|
1050
|
+
});
|
1051
|
+
}
|
1052
|
+
|
1053
|
+
/**
|
1054
|
+
* Creates a `baseEach` or `baseEachRight` function.
|
1055
|
+
*
|
1056
|
+
* @private
|
1057
|
+
* @param {Function} eachFunc The function to iterate over a collection.
|
1058
|
+
* @param {boolean} [fromRight] Specify iterating from right to left.
|
1059
|
+
* @returns {Function} Returns the new base function.
|
1060
|
+
*/
|
1061
|
+
function createBaseEach(eachFunc, fromRight) {
|
1062
|
+
return function(collection, iteratee) {
|
1063
|
+
if (collection == null) {
|
1064
|
+
return collection;
|
1065
|
+
}
|
1066
|
+
if (!isArrayLike(collection)) {
|
1067
|
+
return eachFunc(collection, iteratee);
|
1068
|
+
}
|
1069
|
+
var length = collection.length,
|
1070
|
+
index = fromRight ? length : -1,
|
1071
|
+
iterable = Object(collection);
|
1072
|
+
|
1073
|
+
while ((fromRight ? index-- : ++index < length)) {
|
1074
|
+
if (iteratee(iterable[index], index, iterable) === false) {
|
1075
|
+
break;
|
1076
|
+
}
|
1077
|
+
}
|
1078
|
+
return collection;
|
1079
|
+
};
|
1080
|
+
}
|
1081
|
+
|
1082
|
+
/**
|
1083
|
+
* Creates a base function for methods like `_.forIn` and `_.forOwn`.
|
1084
|
+
*
|
1085
|
+
* @private
|
1086
|
+
* @param {boolean} [fromRight] Specify iterating from right to left.
|
1087
|
+
* @returns {Function} Returns the new base function.
|
1088
|
+
*/
|
1089
|
+
function createBaseFor(fromRight) {
|
1090
|
+
return function(object, iteratee, keysFunc) {
|
1091
|
+
var index = -1,
|
1092
|
+
iterable = Object(object),
|
1093
|
+
props = keysFunc(object),
|
1094
|
+
length = props.length;
|
1095
|
+
|
1096
|
+
while (length--) {
|
1097
|
+
var key = props[fromRight ? length : ++index];
|
1098
|
+
if (iteratee(iterable[key], key, iterable) === false) {
|
1099
|
+
break;
|
1100
|
+
}
|
1101
|
+
}
|
1102
|
+
return object;
|
1103
|
+
};
|
1104
|
+
}
|
1105
|
+
|
1106
|
+
/**
|
1107
|
+
* Creates a function that produces an instance of `Ctor` regardless of
|
1108
|
+
* whether it was invoked as part of a `new` expression or by `call` or `apply`.
|
1109
|
+
*
|
1110
|
+
* @private
|
1111
|
+
* @param {Function} Ctor The constructor to wrap.
|
1112
|
+
* @returns {Function} Returns the new wrapped function.
|
1113
|
+
*/
|
1114
|
+
function createCtor(Ctor) {
|
1115
|
+
return function() {
|
1116
|
+
// Use a `switch` statement to work with class constructors. See
|
1117
|
+
// http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist
|
1118
|
+
// for more details.
|
1119
|
+
var args = arguments;
|
1120
|
+
var thisBinding = baseCreate(Ctor.prototype),
|
1121
|
+
result = Ctor.apply(thisBinding, args);
|
1122
|
+
|
1123
|
+
// Mimic the constructor's `return` behavior.
|
1124
|
+
// See https://es5.github.io/#x13.2.2 for more details.
|
1125
|
+
return isObject(result) ? result : thisBinding;
|
1126
|
+
};
|
1127
|
+
}
|
1128
|
+
|
1129
|
+
/**
|
1130
|
+
* Creates a `_.find` or `_.findLast` function.
|
1131
|
+
*
|
1132
|
+
* @private
|
1133
|
+
* @param {Function} findIndexFunc The function to find the collection index.
|
1134
|
+
* @returns {Function} Returns the new find function.
|
1135
|
+
*/
|
1136
|
+
function createFind(findIndexFunc) {
|
1137
|
+
return function(collection, predicate, fromIndex) {
|
1138
|
+
var iterable = Object(collection);
|
1139
|
+
if (!isArrayLike(collection)) {
|
1140
|
+
var iteratee = baseIteratee(predicate, 3);
|
1141
|
+
collection = keys(collection);
|
1142
|
+
predicate = function(key) { return iteratee(iterable[key], key, iterable); };
|
1143
|
+
}
|
1144
|
+
var index = findIndexFunc(collection, predicate, fromIndex);
|
1145
|
+
return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;
|
1146
|
+
};
|
1147
|
+
}
|
1148
|
+
|
1149
|
+
/**
|
1150
|
+
* Creates a function that wraps `func` to invoke it with the `this` binding
|
1151
|
+
* of `thisArg` and `partials` prepended to the arguments it receives.
|
1152
|
+
*
|
1153
|
+
* @private
|
1154
|
+
* @param {Function} func The function to wrap.
|
1155
|
+
* @param {number} bitmask The bitmask flags. See `createWrap` for more details.
|
1156
|
+
* @param {*} thisArg The `this` binding of `func`.
|
1157
|
+
* @param {Array} partials The arguments to prepend to those provided to
|
1158
|
+
* the new function.
|
1159
|
+
* @returns {Function} Returns the new wrapped function.
|
1160
|
+
*/
|
1161
|
+
function createPartial(func, bitmask, thisArg, partials) {
|
1162
|
+
if (typeof func != 'function') {
|
1163
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
1164
|
+
}
|
1165
|
+
var isBind = bitmask & BIND_FLAG,
|
1166
|
+
Ctor = createCtor(func);
|
1167
|
+
|
1168
|
+
function wrapper() {
|
1169
|
+
var argsIndex = -1,
|
1170
|
+
argsLength = arguments.length,
|
1171
|
+
leftIndex = -1,
|
1172
|
+
leftLength = partials.length,
|
1173
|
+
args = Array(leftLength + argsLength),
|
1174
|
+
fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;
|
1175
|
+
|
1176
|
+
while (++leftIndex < leftLength) {
|
1177
|
+
args[leftIndex] = partials[leftIndex];
|
1178
|
+
}
|
1179
|
+
while (argsLength--) {
|
1180
|
+
args[leftIndex++] = arguments[++argsIndex];
|
1181
|
+
}
|
1182
|
+
return fn.apply(isBind ? thisArg : this, args);
|
1183
|
+
}
|
1184
|
+
return wrapper;
|
1185
|
+
}
|
1186
|
+
|
1187
|
+
/**
|
1188
|
+
* A specialized version of `baseIsEqualDeep` for arrays with support for
|
1189
|
+
* partial deep comparisons.
|
1190
|
+
*
|
1191
|
+
* @private
|
1192
|
+
* @param {Array} array The array to compare.
|
1193
|
+
* @param {Array} other The other array to compare.
|
1194
|
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
1195
|
+
* @param {Function} customizer The function to customize comparisons.
|
1196
|
+
* @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual`
|
1197
|
+
* for more details.
|
1198
|
+
* @param {Object} stack Tracks traversed `array` and `other` objects.
|
1199
|
+
* @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
|
1200
|
+
*/
|
1201
|
+
function equalArrays(array, other, equalFunc, customizer, bitmask, stack) {
|
1202
|
+
var isPartial = bitmask & PARTIAL_COMPARE_FLAG,
|
1203
|
+
arrLength = array.length,
|
1204
|
+
othLength = other.length;
|
1205
|
+
|
1206
|
+
if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
|
1207
|
+
return false;
|
1208
|
+
}
|
1209
|
+
var index = -1,
|
1210
|
+
result = true,
|
1211
|
+
seen = (bitmask & UNORDERED_COMPARE_FLAG) ? [] : undefined;
|
1212
|
+
|
1213
|
+
// Ignore non-index properties.
|
1214
|
+
while (++index < arrLength) {
|
1215
|
+
var arrValue = array[index],
|
1216
|
+
othValue = other[index];
|
1217
|
+
|
1218
|
+
var compared;
|
1219
|
+
if (compared !== undefined) {
|
1220
|
+
if (compared) {
|
1221
|
+
continue;
|
1222
|
+
}
|
1223
|
+
result = false;
|
1224
|
+
break;
|
1225
|
+
}
|
1226
|
+
// Recursively compare arrays (susceptible to call stack limits).
|
1227
|
+
if (seen) {
|
1228
|
+
if (!baseSome(other, function(othValue, othIndex) {
|
1229
|
+
if (!indexOf(seen, othIndex) &&
|
1230
|
+
(arrValue === othValue || equalFunc(arrValue, othValue, customizer, bitmask, stack))) {
|
1231
|
+
return seen.push(othIndex);
|
1232
|
+
}
|
1233
|
+
})) {
|
1234
|
+
result = false;
|
1235
|
+
break;
|
1236
|
+
}
|
1237
|
+
} else if (!(
|
1238
|
+
arrValue === othValue ||
|
1239
|
+
equalFunc(arrValue, othValue, customizer, bitmask, stack)
|
1240
|
+
)) {
|
1241
|
+
result = false;
|
1242
|
+
break;
|
1243
|
+
}
|
1244
|
+
}
|
1245
|
+
return result;
|
1246
|
+
}
|
1247
|
+
|
1248
|
+
/**
|
1249
|
+
* A specialized version of `baseIsEqualDeep` for comparing objects of
|
1250
|
+
* the same `toStringTag`.
|
1251
|
+
*
|
1252
|
+
* **Note:** This function only supports comparing values with tags of
|
1253
|
+
* `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
|
1254
|
+
*
|
1255
|
+
* @private
|
1256
|
+
* @param {Object} object The object to compare.
|
1257
|
+
* @param {Object} other The other object to compare.
|
1258
|
+
* @param {string} tag The `toStringTag` of the objects to compare.
|
1259
|
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
1260
|
+
* @param {Function} customizer The function to customize comparisons.
|
1261
|
+
* @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual`
|
1262
|
+
* for more details.
|
1263
|
+
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
1264
|
+
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
1265
|
+
*/
|
1266
|
+
function equalByTag(object, other, tag, equalFunc, customizer, bitmask, stack) {
|
1267
|
+
switch (tag) {
|
1268
|
+
|
1269
|
+
case boolTag:
|
1270
|
+
case dateTag:
|
1271
|
+
case numberTag:
|
1272
|
+
// Coerce booleans to `1` or `0` and dates to milliseconds.
|
1273
|
+
// Invalid dates are coerced to `NaN`.
|
1274
|
+
return eq(+object, +other);
|
1275
|
+
|
1276
|
+
case errorTag:
|
1277
|
+
return object.name == other.name && object.message == other.message;
|
1278
|
+
|
1279
|
+
case regexpTag:
|
1280
|
+
case stringTag:
|
1281
|
+
// Coerce regexes to strings and treat strings, primitives and objects,
|
1282
|
+
// as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
|
1283
|
+
// for more details.
|
1284
|
+
return object == (other + '');
|
1285
|
+
|
1286
|
+
}
|
1287
|
+
return false;
|
1288
|
+
}
|
1289
|
+
|
1290
|
+
/**
|
1291
|
+
* A specialized version of `baseIsEqualDeep` for objects with support for
|
1292
|
+
* partial deep comparisons.
|
1293
|
+
*
|
1294
|
+
* @private
|
1295
|
+
* @param {Object} object The object to compare.
|
1296
|
+
* @param {Object} other The other object to compare.
|
1297
|
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
1298
|
+
* @param {Function} customizer The function to customize comparisons.
|
1299
|
+
* @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual`
|
1300
|
+
* for more details.
|
1301
|
+
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
1302
|
+
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
1303
|
+
*/
|
1304
|
+
function equalObjects(object, other, equalFunc, customizer, bitmask, stack) {
|
1305
|
+
var isPartial = bitmask & PARTIAL_COMPARE_FLAG,
|
1306
|
+
objProps = keys(object),
|
1307
|
+
objLength = objProps.length,
|
1308
|
+
othProps = keys(other),
|
1309
|
+
othLength = othProps.length;
|
1310
|
+
|
1311
|
+
if (objLength != othLength && !isPartial) {
|
1312
|
+
return false;
|
1313
|
+
}
|
1314
|
+
var index = objLength;
|
1315
|
+
while (index--) {
|
1316
|
+
var key = objProps[index];
|
1317
|
+
if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
|
1318
|
+
return false;
|
1319
|
+
}
|
1320
|
+
}
|
1321
|
+
var result = true;
|
1322
|
+
|
1323
|
+
var skipCtor = isPartial;
|
1324
|
+
while (++index < objLength) {
|
1325
|
+
key = objProps[index];
|
1326
|
+
var objValue = object[key],
|
1327
|
+
othValue = other[key];
|
1328
|
+
|
1329
|
+
var compared;
|
1330
|
+
// Recursively compare objects (susceptible to call stack limits).
|
1331
|
+
if (!(compared === undefined
|
1332
|
+
? (objValue === othValue || equalFunc(objValue, othValue, customizer, bitmask, stack))
|
1333
|
+
: compared
|
1334
|
+
)) {
|
1335
|
+
result = false;
|
1336
|
+
break;
|
1337
|
+
}
|
1338
|
+
skipCtor || (skipCtor = key == 'constructor');
|
1339
|
+
}
|
1340
|
+
if (result && !skipCtor) {
|
1341
|
+
var objCtor = object.constructor,
|
1342
|
+
othCtor = other.constructor;
|
1343
|
+
|
1344
|
+
// Non `Object` object instances with different constructors are not equal.
|
1345
|
+
if (objCtor != othCtor &&
|
1346
|
+
('constructor' in object && 'constructor' in other) &&
|
1347
|
+
!(typeof objCtor == 'function' && objCtor instanceof objCtor &&
|
1348
|
+
typeof othCtor == 'function' && othCtor instanceof othCtor)) {
|
1349
|
+
result = false;
|
1350
|
+
}
|
1351
|
+
}
|
1352
|
+
return result;
|
1353
|
+
}
|
1354
|
+
|
1355
|
+
/**
|
1356
|
+
* A specialized version of `baseRest` which flattens the rest array.
|
1357
|
+
*
|
1358
|
+
* @private
|
1359
|
+
* @param {Function} func The function to apply a rest parameter to.
|
1360
|
+
* @returns {Function} Returns the new function.
|
1361
|
+
*/
|
1362
|
+
function flatRest(func) {
|
1363
|
+
return setToString(overRest(func, undefined, flatten), func + '');
|
1364
|
+
}
|
1365
|
+
|
1366
|
+
/**
|
1367
|
+
* Checks if `value` is a flattenable `arguments` object or array.
|
1368
|
+
*
|
1369
|
+
* @private
|
1370
|
+
* @param {*} value The value to check.
|
1371
|
+
* @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
|
1372
|
+
*/
|
1373
|
+
function isFlattenable(value) {
|
1374
|
+
return isArray(value) || isArguments(value);
|
1375
|
+
}
|
1376
|
+
|
1377
|
+
/**
|
1378
|
+
* This function is like
|
1379
|
+
* [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
1380
|
+
* except that it includes inherited enumerable properties.
|
1381
|
+
*
|
1382
|
+
* @private
|
1383
|
+
* @param {Object} object The object to query.
|
1384
|
+
* @returns {Array} Returns the array of property names.
|
1385
|
+
*/
|
1386
|
+
function nativeKeysIn(object) {
|
1387
|
+
var result = [];
|
1388
|
+
if (object != null) {
|
1389
|
+
for (var key in Object(object)) {
|
1390
|
+
result.push(key);
|
1391
|
+
}
|
1392
|
+
}
|
1393
|
+
return result;
|
1394
|
+
}
|
1395
|
+
|
1396
|
+
/**
|
1397
|
+
* Converts `value` to a string using `Object.prototype.toString`.
|
1398
|
+
*
|
1399
|
+
* @private
|
1400
|
+
* @param {*} value The value to convert.
|
1401
|
+
* @returns {string} Returns the converted string.
|
1402
|
+
*/
|
1403
|
+
function objectToString(value) {
|
1404
|
+
return nativeObjectToString.call(value);
|
1405
|
+
}
|
1406
|
+
|
1407
|
+
/**
|
1408
|
+
* A specialized version of `baseRest` which transforms the rest array.
|
1409
|
+
*
|
1410
|
+
* @private
|
1411
|
+
* @param {Function} func The function to apply a rest parameter to.
|
1412
|
+
* @param {number} [start=func.length-1] The start position of the rest parameter.
|
1413
|
+
* @param {Function} transform The rest array transform.
|
1414
|
+
* @returns {Function} Returns the new function.
|
1415
|
+
*/
|
1416
|
+
function overRest(func, start, transform) {
|
1417
|
+
start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
|
1418
|
+
return function() {
|
1419
|
+
var args = arguments,
|
1420
|
+
index = -1,
|
1421
|
+
length = nativeMax(args.length - start, 0),
|
1422
|
+
array = Array(length);
|
1423
|
+
|
1424
|
+
while (++index < length) {
|
1425
|
+
array[index] = args[start + index];
|
1426
|
+
}
|
1427
|
+
index = -1;
|
1428
|
+
var otherArgs = Array(start + 1);
|
1429
|
+
while (++index < start) {
|
1430
|
+
otherArgs[index] = args[index];
|
1431
|
+
}
|
1432
|
+
otherArgs[start] = transform(array);
|
1433
|
+
return func.apply(this, otherArgs);
|
1434
|
+
};
|
1435
|
+
}
|
1436
|
+
|
1437
|
+
/**
|
1438
|
+
* Sets the `toString` method of `func` to return `string`.
|
1439
|
+
*
|
1440
|
+
* @private
|
1441
|
+
* @param {Function} func The function to modify.
|
1442
|
+
* @param {Function} string The `toString` result.
|
1443
|
+
* @returns {Function} Returns `func`.
|
1444
|
+
*/
|
1445
|
+
var setToString = identity;
|
1446
|
+
|
1447
|
+
/**
|
1448
|
+
* Converts `value` to a string key if it's not a string or symbol.
|
1449
|
+
*
|
1450
|
+
* @private
|
1451
|
+
* @param {*} value The value to inspect.
|
1452
|
+
* @returns {string|symbol} Returns the key.
|
1453
|
+
*/
|
1454
|
+
var toKey = String;
|
1455
|
+
|
1456
|
+
/*------------------------------------------------------------------------*/
|
1457
|
+
|
1458
|
+
/**
|
1459
|
+
* Creates an array with all falsey values removed. The values `false`, `null`,
|
1460
|
+
* `0`, `""`, `undefined`, and `NaN` are falsey.
|
1461
|
+
*
|
1462
|
+
* @static
|
1463
|
+
* @memberOf _
|
1464
|
+
* @since 0.1.0
|
1465
|
+
* @category Array
|
1466
|
+
* @param {Array} array The array to compact.
|
1467
|
+
* @returns {Array} Returns the new array of filtered values.
|
1468
|
+
* @example
|
1469
|
+
*
|
1470
|
+
* _.compact([0, 1, false, 2, '', 3]);
|
1471
|
+
* // => [1, 2, 3]
|
1472
|
+
*/
|
1473
|
+
function compact(array) {
|
1474
|
+
return baseFilter(array, Boolean);
|
1475
|
+
}
|
1476
|
+
|
1477
|
+
/**
|
1478
|
+
* Creates a new array concatenating `array` with any additional arrays
|
1479
|
+
* and/or values.
|
1480
|
+
*
|
1481
|
+
* @static
|
1482
|
+
* @memberOf _
|
1483
|
+
* @since 4.0.0
|
1484
|
+
* @category Array
|
1485
|
+
* @param {Array} array The array to concatenate.
|
1486
|
+
* @param {...*} [values] The values to concatenate.
|
1487
|
+
* @returns {Array} Returns the new concatenated array.
|
1488
|
+
* @example
|
1489
|
+
*
|
1490
|
+
* var array = [1];
|
1491
|
+
* var other = _.concat(array, 2, [3], [[4]]);
|
1492
|
+
*
|
1493
|
+
* console.log(other);
|
1494
|
+
* // => [1, 2, 3, [4]]
|
1495
|
+
*
|
1496
|
+
* console.log(array);
|
1497
|
+
* // => [1]
|
1498
|
+
*/
|
1499
|
+
function concat() {
|
1500
|
+
var length = arguments.length;
|
1501
|
+
if (!length) {
|
1502
|
+
return [];
|
1503
|
+
}
|
1504
|
+
var args = Array(length - 1),
|
1505
|
+
array = arguments[0],
|
1506
|
+
index = length;
|
1507
|
+
|
1508
|
+
while (index--) {
|
1509
|
+
args[index - 1] = arguments[index];
|
1510
|
+
}
|
1511
|
+
return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));
|
1512
|
+
}
|
1513
|
+
|
1514
|
+
/**
|
1515
|
+
* This method is like `_.find` except that it returns the index of the first
|
1516
|
+
* element `predicate` returns truthy for instead of the element itself.
|
1517
|
+
*
|
1518
|
+
* @static
|
1519
|
+
* @memberOf _
|
1520
|
+
* @since 1.1.0
|
1521
|
+
* @category Array
|
1522
|
+
* @param {Array} array The array to inspect.
|
1523
|
+
* @param {Function} [predicate=_.identity] The function invoked per iteration.
|
1524
|
+
* @param {number} [fromIndex=0] The index to search from.
|
1525
|
+
* @returns {number} Returns the index of the found element, else `-1`.
|
1526
|
+
* @example
|
1527
|
+
*
|
1528
|
+
* var users = [
|
1529
|
+
* { 'user': 'barney', 'active': false },
|
1530
|
+
* { 'user': 'fred', 'active': false },
|
1531
|
+
* { 'user': 'pebbles', 'active': true }
|
1532
|
+
* ];
|
1533
|
+
*
|
1534
|
+
* _.findIndex(users, function(o) { return o.user == 'barney'; });
|
1535
|
+
* // => 0
|
1536
|
+
*
|
1537
|
+
* // The `_.matches` iteratee shorthand.
|
1538
|
+
* _.findIndex(users, { 'user': 'fred', 'active': false });
|
1539
|
+
* // => 1
|
1540
|
+
*
|
1541
|
+
* // The `_.matchesProperty` iteratee shorthand.
|
1542
|
+
* _.findIndex(users, ['active', false]);
|
1543
|
+
* // => 0
|
1544
|
+
*
|
1545
|
+
* // The `_.property` iteratee shorthand.
|
1546
|
+
* _.findIndex(users, 'active');
|
1547
|
+
* // => 2
|
1548
|
+
*/
|
1549
|
+
function findIndex(array, predicate, fromIndex) {
|
1550
|
+
var length = array == null ? 0 : array.length;
|
1551
|
+
if (!length) {
|
1552
|
+
return -1;
|
1553
|
+
}
|
1554
|
+
var index = fromIndex == null ? 0 : toInteger(fromIndex);
|
1555
|
+
if (index < 0) {
|
1556
|
+
index = nativeMax(length + index, 0);
|
1557
|
+
}
|
1558
|
+
return baseFindIndex(array, baseIteratee(predicate, 3), index);
|
1559
|
+
}
|
1560
|
+
|
1561
|
+
/**
|
1562
|
+
* Flattens `array` a single level deep.
|
1563
|
+
*
|
1564
|
+
* @static
|
1565
|
+
* @memberOf _
|
1566
|
+
* @since 0.1.0
|
1567
|
+
* @category Array
|
1568
|
+
* @param {Array} array The array to flatten.
|
1569
|
+
* @returns {Array} Returns the new flattened array.
|
1570
|
+
* @example
|
1571
|
+
*
|
1572
|
+
* _.flatten([1, [2, [3, [4]], 5]]);
|
1573
|
+
* // => [1, 2, [3, [4]], 5]
|
1574
|
+
*/
|
1575
|
+
function flatten(array) {
|
1576
|
+
var length = array == null ? 0 : array.length;
|
1577
|
+
return length ? baseFlatten(array, 1) : [];
|
1578
|
+
}
|
1579
|
+
|
1580
|
+
/**
|
1581
|
+
* Recursively flattens `array`.
|
1582
|
+
*
|
1583
|
+
* @static
|
1584
|
+
* @memberOf _
|
1585
|
+
* @since 3.0.0
|
1586
|
+
* @category Array
|
1587
|
+
* @param {Array} array The array to flatten.
|
1588
|
+
* @returns {Array} Returns the new flattened array.
|
1589
|
+
* @example
|
1590
|
+
*
|
1591
|
+
* _.flattenDeep([1, [2, [3, [4]], 5]]);
|
1592
|
+
* // => [1, 2, 3, 4, 5]
|
1593
|
+
*/
|
1594
|
+
function flattenDeep(array) {
|
1595
|
+
var length = array == null ? 0 : array.length;
|
1596
|
+
return length ? baseFlatten(array, INFINITY) : [];
|
1597
|
+
}
|
1598
|
+
|
1599
|
+
/**
|
1600
|
+
* Gets the first element of `array`.
|
1601
|
+
*
|
1602
|
+
* @static
|
1603
|
+
* @memberOf _
|
1604
|
+
* @since 0.1.0
|
1605
|
+
* @alias first
|
1606
|
+
* @category Array
|
1607
|
+
* @param {Array} array The array to query.
|
1608
|
+
* @returns {*} Returns the first element of `array`.
|
1609
|
+
* @example
|
1610
|
+
*
|
1611
|
+
* _.head([1, 2, 3]);
|
1612
|
+
* // => 1
|
1613
|
+
*
|
1614
|
+
* _.head([]);
|
1615
|
+
* // => undefined
|
1616
|
+
*/
|
1617
|
+
function head(array) {
|
1618
|
+
return (array && array.length) ? array[0] : undefined;
|
1619
|
+
}
|
1620
|
+
|
1621
|
+
/**
|
1622
|
+
* Gets the index at which the first occurrence of `value` is found in `array`
|
1623
|
+
* using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
1624
|
+
* for equality comparisons. If `fromIndex` is negative, it's used as the
|
1625
|
+
* offset from the end of `array`.
|
1626
|
+
*
|
1627
|
+
* @static
|
1628
|
+
* @memberOf _
|
1629
|
+
* @since 0.1.0
|
1630
|
+
* @category Array
|
1631
|
+
* @param {Array} array The array to inspect.
|
1632
|
+
* @param {*} value The value to search for.
|
1633
|
+
* @param {number} [fromIndex=0] The index to search from.
|
1634
|
+
* @returns {number} Returns the index of the matched value, else `-1`.
|
1635
|
+
* @example
|
1636
|
+
*
|
1637
|
+
* _.indexOf([1, 2, 1, 2], 2);
|
1638
|
+
* // => 1
|
1639
|
+
*
|
1640
|
+
* // Search from the `fromIndex`.
|
1641
|
+
* _.indexOf([1, 2, 1, 2], 2, 2);
|
1642
|
+
* // => 3
|
1643
|
+
*/
|
1644
|
+
function indexOf(array, value, fromIndex) {
|
1645
|
+
var length = array == null ? 0 : array.length;
|
1646
|
+
if (typeof fromIndex == 'number') {
|
1647
|
+
fromIndex = fromIndex < 0 ? nativeMax(length + fromIndex, 0) : fromIndex;
|
1648
|
+
} else {
|
1649
|
+
fromIndex = 0;
|
1650
|
+
}
|
1651
|
+
var index = (fromIndex || 0) - 1,
|
1652
|
+
isReflexive = value === value;
|
1653
|
+
|
1654
|
+
while (++index < length) {
|
1655
|
+
var other = array[index];
|
1656
|
+
if ((isReflexive ? other === value : other !== other)) {
|
1657
|
+
return index;
|
1658
|
+
}
|
1659
|
+
}
|
1660
|
+
return -1;
|
1661
|
+
}
|
1662
|
+
|
1663
|
+
/**
|
1664
|
+
* Gets the last element of `array`.
|
1665
|
+
*
|
1666
|
+
* @static
|
1667
|
+
* @memberOf _
|
1668
|
+
* @since 0.1.0
|
1669
|
+
* @category Array
|
1670
|
+
* @param {Array} array The array to query.
|
1671
|
+
* @returns {*} Returns the last element of `array`.
|
1672
|
+
* @example
|
1673
|
+
*
|
1674
|
+
* _.last([1, 2, 3]);
|
1675
|
+
* // => 3
|
1676
|
+
*/
|
1677
|
+
function last(array) {
|
1678
|
+
var length = array == null ? 0 : array.length;
|
1679
|
+
return length ? array[length - 1] : undefined;
|
1680
|
+
}
|
1681
|
+
|
1682
|
+
/**
|
1683
|
+
* Creates a slice of `array` from `start` up to, but not including, `end`.
|
1684
|
+
*
|
1685
|
+
* **Note:** This method is used instead of
|
1686
|
+
* [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are
|
1687
|
+
* returned.
|
1688
|
+
*
|
1689
|
+
* @static
|
1690
|
+
* @memberOf _
|
1691
|
+
* @since 3.0.0
|
1692
|
+
* @category Array
|
1693
|
+
* @param {Array} array The array to slice.
|
1694
|
+
* @param {number} [start=0] The start position.
|
1695
|
+
* @param {number} [end=array.length] The end position.
|
1696
|
+
* @returns {Array} Returns the slice of `array`.
|
1697
|
+
*/
|
1698
|
+
function slice(array, start, end) {
|
1699
|
+
var length = array == null ? 0 : array.length;
|
1700
|
+
start = start == null ? 0 : +start;
|
1701
|
+
end = end === undefined ? length : +end;
|
1702
|
+
return length ? baseSlice(array, start, end) : [];
|
1703
|
+
}
|
1704
|
+
|
1705
|
+
/*------------------------------------------------------------------------*/
|
1706
|
+
|
1707
|
+
/**
|
1708
|
+
* Creates a `lodash` wrapper instance that wraps `value` with explicit method
|
1709
|
+
* chain sequences enabled. The result of such sequences must be unwrapped
|
1710
|
+
* with `_#value`.
|
1711
|
+
*
|
1712
|
+
* @static
|
1713
|
+
* @memberOf _
|
1714
|
+
* @since 1.3.0
|
1715
|
+
* @category Seq
|
1716
|
+
* @param {*} value The value to wrap.
|
1717
|
+
* @returns {Object} Returns the new `lodash` wrapper instance.
|
1718
|
+
* @example
|
1719
|
+
*
|
1720
|
+
* var users = [
|
1721
|
+
* { 'user': 'barney', 'age': 36 },
|
1722
|
+
* { 'user': 'fred', 'age': 40 },
|
1723
|
+
* { 'user': 'pebbles', 'age': 1 }
|
1724
|
+
* ];
|
1725
|
+
*
|
1726
|
+
* var youngest = _
|
1727
|
+
* .chain(users)
|
1728
|
+
* .sortBy('age')
|
1729
|
+
* .map(function(o) {
|
1730
|
+
* return o.user + ' is ' + o.age;
|
1731
|
+
* })
|
1732
|
+
* .head()
|
1733
|
+
* .value();
|
1734
|
+
* // => 'pebbles is 1'
|
1735
|
+
*/
|
1736
|
+
function chain(value) {
|
1737
|
+
var result = lodash(value);
|
1738
|
+
result.__chain__ = true;
|
1739
|
+
return result;
|
1740
|
+
}
|
1741
|
+
|
1742
|
+
/**
|
1743
|
+
* This method invokes `interceptor` and returns `value`. The interceptor
|
1744
|
+
* is invoked with one argument; (value). The purpose of this method is to
|
1745
|
+
* "tap into" a method chain sequence in order to modify intermediate results.
|
1746
|
+
*
|
1747
|
+
* @static
|
1748
|
+
* @memberOf _
|
1749
|
+
* @since 0.1.0
|
1750
|
+
* @category Seq
|
1751
|
+
* @param {*} value The value to provide to `interceptor`.
|
1752
|
+
* @param {Function} interceptor The function to invoke.
|
1753
|
+
* @returns {*} Returns `value`.
|
1754
|
+
* @example
|
1755
|
+
*
|
1756
|
+
* _([1, 2, 3])
|
1757
|
+
* .tap(function(array) {
|
1758
|
+
* // Mutate input array.
|
1759
|
+
* array.pop();
|
1760
|
+
* })
|
1761
|
+
* .reverse()
|
1762
|
+
* .value();
|
1763
|
+
* // => [2, 1]
|
1764
|
+
*/
|
1765
|
+
function tap(value, interceptor) {
|
1766
|
+
interceptor(value);
|
1767
|
+
return value;
|
1768
|
+
}
|
1769
|
+
|
1770
|
+
/**
|
1771
|
+
* This method is like `_.tap` except that it returns the result of `interceptor`.
|
1772
|
+
* The purpose of this method is to "pass thru" values replacing intermediate
|
1773
|
+
* results in a method chain sequence.
|
1774
|
+
*
|
1775
|
+
* @static
|
1776
|
+
* @memberOf _
|
1777
|
+
* @since 3.0.0
|
1778
|
+
* @category Seq
|
1779
|
+
* @param {*} value The value to provide to `interceptor`.
|
1780
|
+
* @param {Function} interceptor The function to invoke.
|
1781
|
+
* @returns {*} Returns the result of `interceptor`.
|
1782
|
+
* @example
|
1783
|
+
*
|
1784
|
+
* _(' abc ')
|
1785
|
+
* .chain()
|
1786
|
+
* .trim()
|
1787
|
+
* .thru(function(value) {
|
1788
|
+
* return [value];
|
1789
|
+
* })
|
1790
|
+
* .value();
|
1791
|
+
* // => ['abc']
|
1792
|
+
*/
|
1793
|
+
function thru(value, interceptor) {
|
1794
|
+
return interceptor(value);
|
1795
|
+
}
|
1796
|
+
|
1797
|
+
/**
|
1798
|
+
* Creates a `lodash` wrapper instance with explicit method chain sequences enabled.
|
1799
|
+
*
|
1800
|
+
* @name chain
|
1801
|
+
* @memberOf _
|
1802
|
+
* @since 0.1.0
|
1803
|
+
* @category Seq
|
1804
|
+
* @returns {Object} Returns the new `lodash` wrapper instance.
|
1805
|
+
* @example
|
1806
|
+
*
|
1807
|
+
* var users = [
|
1808
|
+
* { 'user': 'barney', 'age': 36 },
|
1809
|
+
* { 'user': 'fred', 'age': 40 }
|
1810
|
+
* ];
|
1811
|
+
*
|
1812
|
+
* // A sequence without explicit chaining.
|
1813
|
+
* _(users).head();
|
1814
|
+
* // => { 'user': 'barney', 'age': 36 }
|
1815
|
+
*
|
1816
|
+
* // A sequence with explicit chaining.
|
1817
|
+
* _(users)
|
1818
|
+
* .chain()
|
1819
|
+
* .head()
|
1820
|
+
* .pick('user')
|
1821
|
+
* .value();
|
1822
|
+
* // => { 'user': 'barney' }
|
1823
|
+
*/
|
1824
|
+
function wrapperChain() {
|
1825
|
+
return chain(this);
|
1826
|
+
}
|
1827
|
+
|
1828
|
+
/**
|
1829
|
+
* Executes the chain sequence to resolve the unwrapped value.
|
1830
|
+
*
|
1831
|
+
* @name value
|
1832
|
+
* @memberOf _
|
1833
|
+
* @since 0.1.0
|
1834
|
+
* @alias toJSON, valueOf
|
1835
|
+
* @category Seq
|
1836
|
+
* @returns {*} Returns the resolved unwrapped value.
|
1837
|
+
* @example
|
1838
|
+
*
|
1839
|
+
* _([1, 2, 3]).value();
|
1840
|
+
* // => [1, 2, 3]
|
1841
|
+
*/
|
1842
|
+
function wrapperValue() {
|
1843
|
+
return baseWrapperValue(this.__wrapped__, this.__actions__);
|
1844
|
+
}
|
1845
|
+
|
1846
|
+
/*------------------------------------------------------------------------*/
|
1847
|
+
|
1848
|
+
/**
|
1849
|
+
* Checks if `predicate` returns truthy for **all** elements of `collection`.
|
1850
|
+
* Iteration is stopped once `predicate` returns falsey. The predicate is
|
1851
|
+
* invoked with three arguments: (value, index|key, collection).
|
1852
|
+
*
|
1853
|
+
* **Note:** This method returns `true` for
|
1854
|
+
* [empty collections](https://en.wikipedia.org/wiki/Empty_set) because
|
1855
|
+
* [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of
|
1856
|
+
* elements of empty collections.
|
1857
|
+
*
|
1858
|
+
* @static
|
1859
|
+
* @memberOf _
|
1860
|
+
* @since 0.1.0
|
1861
|
+
* @category Collection
|
1862
|
+
* @param {Array|Object} collection The collection to iterate over.
|
1863
|
+
* @param {Function} [predicate=_.identity] The function invoked per iteration.
|
1864
|
+
* @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
|
1865
|
+
* @returns {boolean} Returns `true` if all elements pass the predicate check,
|
1866
|
+
* else `false`.
|
1867
|
+
* @example
|
1868
|
+
*
|
1869
|
+
* _.every([true, 1, null, 'yes'], Boolean);
|
1870
|
+
* // => false
|
1871
|
+
*
|
1872
|
+
* var users = [
|
1873
|
+
* { 'user': 'barney', 'age': 36, 'active': false },
|
1874
|
+
* { 'user': 'fred', 'age': 40, 'active': false }
|
1875
|
+
* ];
|
1876
|
+
*
|
1877
|
+
* // The `_.matches` iteratee shorthand.
|
1878
|
+
* _.every(users, { 'user': 'barney', 'active': false });
|
1879
|
+
* // => false
|
1880
|
+
*
|
1881
|
+
* // The `_.matchesProperty` iteratee shorthand.
|
1882
|
+
* _.every(users, ['active', false]);
|
1883
|
+
* // => true
|
1884
|
+
*
|
1885
|
+
* // The `_.property` iteratee shorthand.
|
1886
|
+
* _.every(users, 'active');
|
1887
|
+
* // => false
|
1888
|
+
*/
|
1889
|
+
function every(collection, predicate, guard) {
|
1890
|
+
predicate = guard ? undefined : predicate;
|
1891
|
+
return baseEvery(collection, baseIteratee(predicate));
|
1892
|
+
}
|
1893
|
+
|
1894
|
+
/**
|
1895
|
+
* Iterates over elements of `collection`, returning an array of all elements
|
1896
|
+
* `predicate` returns truthy for. The predicate is invoked with three
|
1897
|
+
* arguments: (value, index|key, collection).
|
1898
|
+
*
|
1899
|
+
* **Note:** Unlike `_.remove`, this method returns a new array.
|
1900
|
+
*
|
1901
|
+
* @static
|
1902
|
+
* @memberOf _
|
1903
|
+
* @since 0.1.0
|
1904
|
+
* @category Collection
|
1905
|
+
* @param {Array|Object} collection The collection to iterate over.
|
1906
|
+
* @param {Function} [predicate=_.identity] The function invoked per iteration.
|
1907
|
+
* @returns {Array} Returns the new filtered array.
|
1908
|
+
* @see _.reject
|
1909
|
+
* @example
|
1910
|
+
*
|
1911
|
+
* var users = [
|
1912
|
+
* { 'user': 'barney', 'age': 36, 'active': true },
|
1913
|
+
* { 'user': 'fred', 'age': 40, 'active': false }
|
1914
|
+
* ];
|
1915
|
+
*
|
1916
|
+
* _.filter(users, function(o) { return !o.active; });
|
1917
|
+
* // => objects for ['fred']
|
1918
|
+
*
|
1919
|
+
* // The `_.matches` iteratee shorthand.
|
1920
|
+
* _.filter(users, { 'age': 36, 'active': true });
|
1921
|
+
* // => objects for ['barney']
|
1922
|
+
*
|
1923
|
+
* // The `_.matchesProperty` iteratee shorthand.
|
1924
|
+
* _.filter(users, ['active', false]);
|
1925
|
+
* // => objects for ['fred']
|
1926
|
+
*
|
1927
|
+
* // The `_.property` iteratee shorthand.
|
1928
|
+
* _.filter(users, 'active');
|
1929
|
+
* // => objects for ['barney']
|
1930
|
+
*/
|
1931
|
+
function filter(collection, predicate) {
|
1932
|
+
return baseFilter(collection, baseIteratee(predicate));
|
1933
|
+
}
|
1934
|
+
|
1935
|
+
/**
|
1936
|
+
* Iterates over elements of `collection`, returning the first element
|
1937
|
+
* `predicate` returns truthy for. The predicate is invoked with three
|
1938
|
+
* arguments: (value, index|key, collection).
|
1939
|
+
*
|
1940
|
+
* @static
|
1941
|
+
* @memberOf _
|
1942
|
+
* @since 0.1.0
|
1943
|
+
* @category Collection
|
1944
|
+
* @param {Array|Object} collection The collection to inspect.
|
1945
|
+
* @param {Function} [predicate=_.identity] The function invoked per iteration.
|
1946
|
+
* @param {number} [fromIndex=0] The index to search from.
|
1947
|
+
* @returns {*} Returns the matched element, else `undefined`.
|
1948
|
+
* @example
|
1949
|
+
*
|
1950
|
+
* var users = [
|
1951
|
+
* { 'user': 'barney', 'age': 36, 'active': true },
|
1952
|
+
* { 'user': 'fred', 'age': 40, 'active': false },
|
1953
|
+
* { 'user': 'pebbles', 'age': 1, 'active': true }
|
1954
|
+
* ];
|
1955
|
+
*
|
1956
|
+
* _.find(users, function(o) { return o.age < 40; });
|
1957
|
+
* // => object for 'barney'
|
1958
|
+
*
|
1959
|
+
* // The `_.matches` iteratee shorthand.
|
1960
|
+
* _.find(users, { 'age': 1, 'active': true });
|
1961
|
+
* // => object for 'pebbles'
|
1962
|
+
*
|
1963
|
+
* // The `_.matchesProperty` iteratee shorthand.
|
1964
|
+
* _.find(users, ['active', false]);
|
1965
|
+
* // => object for 'fred'
|
1966
|
+
*
|
1967
|
+
* // The `_.property` iteratee shorthand.
|
1968
|
+
* _.find(users, 'active');
|
1969
|
+
* // => object for 'barney'
|
1970
|
+
*/
|
1971
|
+
var find = createFind(findIndex);
|
1972
|
+
|
1973
|
+
/**
|
1974
|
+
* Iterates over elements of `collection` and invokes `iteratee` for each element.
|
1975
|
+
* The iteratee is invoked with three arguments: (value, index|key, collection).
|
1976
|
+
* Iteratee functions may exit iteration early by explicitly returning `false`.
|
1977
|
+
*
|
1978
|
+
* **Note:** As with other "Collections" methods, objects with a "length"
|
1979
|
+
* property are iterated like arrays. To avoid this behavior use `_.forIn`
|
1980
|
+
* or `_.forOwn` for object iteration.
|
1981
|
+
*
|
1982
|
+
* @static
|
1983
|
+
* @memberOf _
|
1984
|
+
* @since 0.1.0
|
1985
|
+
* @alias each
|
1986
|
+
* @category Collection
|
1987
|
+
* @param {Array|Object} collection The collection to iterate over.
|
1988
|
+
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
|
1989
|
+
* @returns {Array|Object} Returns `collection`.
|
1990
|
+
* @see _.forEachRight
|
1991
|
+
* @example
|
1992
|
+
*
|
1993
|
+
* _.forEach([1, 2], function(value) {
|
1994
|
+
* console.log(value);
|
1995
|
+
* });
|
1996
|
+
* // => Logs `1` then `2`.
|
1997
|
+
*
|
1998
|
+
* _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {
|
1999
|
+
* console.log(key);
|
2000
|
+
* });
|
2001
|
+
* // => Logs 'a' then 'b' (iteration order is not guaranteed).
|
2002
|
+
*/
|
2003
|
+
function forEach(collection, iteratee) {
|
2004
|
+
return baseEach(collection, baseIteratee(iteratee));
|
2005
|
+
}
|
2006
|
+
|
2007
|
+
/**
|
2008
|
+
* Creates an array of values by running each element in `collection` thru
|
2009
|
+
* `iteratee`. The iteratee is invoked with three arguments:
|
2010
|
+
* (value, index|key, collection).
|
2011
|
+
*
|
2012
|
+
* Many lodash methods are guarded to work as iteratees for methods like
|
2013
|
+
* `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.
|
2014
|
+
*
|
2015
|
+
* The guarded methods are:
|
2016
|
+
* `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,
|
2017
|
+
* `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,
|
2018
|
+
* `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
|
2019
|
+
* `template`, `trim`, `trimEnd`, `trimStart`, and `words`
|
2020
|
+
*
|
2021
|
+
* @static
|
2022
|
+
* @memberOf _
|
2023
|
+
* @since 0.1.0
|
2024
|
+
* @category Collection
|
2025
|
+
* @param {Array|Object} collection The collection to iterate over.
|
2026
|
+
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
|
2027
|
+
* @returns {Array} Returns the new mapped array.
|
2028
|
+
* @example
|
2029
|
+
*
|
2030
|
+
* function square(n) {
|
2031
|
+
* return n * n;
|
2032
|
+
* }
|
2033
|
+
*
|
2034
|
+
* _.map([4, 8], square);
|
2035
|
+
* // => [16, 64]
|
2036
|
+
*
|
2037
|
+
* _.map({ 'a': 4, 'b': 8 }, square);
|
2038
|
+
* // => [16, 64] (iteration order is not guaranteed)
|
2039
|
+
*
|
2040
|
+
* var users = [
|
2041
|
+
* { 'user': 'barney' },
|
2042
|
+
* { 'user': 'fred' }
|
2043
|
+
* ];
|
2044
|
+
*
|
2045
|
+
* // The `_.property` iteratee shorthand.
|
2046
|
+
* _.map(users, 'user');
|
2047
|
+
* // => ['barney', 'fred']
|
2048
|
+
*/
|
2049
|
+
function map(collection, iteratee) {
|
2050
|
+
return baseMap(collection, baseIteratee(iteratee));
|
2051
|
+
}
|
2052
|
+
|
2053
|
+
/**
|
2054
|
+
* Reduces `collection` to a value which is the accumulated result of running
|
2055
|
+
* each element in `collection` thru `iteratee`, where each successive
|
2056
|
+
* invocation is supplied the return value of the previous. If `accumulator`
|
2057
|
+
* is not given, the first element of `collection` is used as the initial
|
2058
|
+
* value. The iteratee is invoked with four arguments:
|
2059
|
+
* (accumulator, value, index|key, collection).
|
2060
|
+
*
|
2061
|
+
* Many lodash methods are guarded to work as iteratees for methods like
|
2062
|
+
* `_.reduce`, `_.reduceRight`, and `_.transform`.
|
2063
|
+
*
|
2064
|
+
* The guarded methods are:
|
2065
|
+
* `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,
|
2066
|
+
* and `sortBy`
|
2067
|
+
*
|
2068
|
+
* @static
|
2069
|
+
* @memberOf _
|
2070
|
+
* @since 0.1.0
|
2071
|
+
* @category Collection
|
2072
|
+
* @param {Array|Object} collection The collection to iterate over.
|
2073
|
+
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
|
2074
|
+
* @param {*} [accumulator] The initial value.
|
2075
|
+
* @returns {*} Returns the accumulated value.
|
2076
|
+
* @see _.reduceRight
|
2077
|
+
* @example
|
2078
|
+
*
|
2079
|
+
* _.reduce([1, 2], function(sum, n) {
|
2080
|
+
* return sum + n;
|
2081
|
+
* }, 0);
|
2082
|
+
* // => 3
|
2083
|
+
*
|
2084
|
+
* _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {
|
2085
|
+
* (result[value] || (result[value] = [])).push(key);
|
2086
|
+
* return result;
|
2087
|
+
* }, {});
|
2088
|
+
* // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)
|
2089
|
+
*/
|
2090
|
+
function reduce(collection, iteratee, accumulator) {
|
2091
|
+
return baseReduce(collection, baseIteratee(iteratee), accumulator, arguments.length < 3, baseEach);
|
2092
|
+
}
|
2093
|
+
|
2094
|
+
/**
|
2095
|
+
* Gets the size of `collection` by returning its length for array-like
|
2096
|
+
* values or the number of own enumerable string keyed properties for objects.
|
2097
|
+
*
|
2098
|
+
* @static
|
2099
|
+
* @memberOf _
|
2100
|
+
* @since 0.1.0
|
2101
|
+
* @category Collection
|
2102
|
+
* @param {Array|Object|string} collection The collection to inspect.
|
2103
|
+
* @returns {number} Returns the collection size.
|
2104
|
+
* @example
|
2105
|
+
*
|
2106
|
+
* _.size([1, 2, 3]);
|
2107
|
+
* // => 3
|
2108
|
+
*
|
2109
|
+
* _.size({ 'a': 1, 'b': 2 });
|
2110
|
+
* // => 2
|
2111
|
+
*
|
2112
|
+
* _.size('pebbles');
|
2113
|
+
* // => 7
|
2114
|
+
*/
|
2115
|
+
function size(collection) {
|
2116
|
+
if (collection == null) {
|
2117
|
+
return 0;
|
2118
|
+
}
|
2119
|
+
collection = isArrayLike(collection) ? collection : nativeKeys(collection);
|
2120
|
+
return collection.length;
|
2121
|
+
}
|
2122
|
+
|
2123
|
+
/**
|
2124
|
+
* Checks if `predicate` returns truthy for **any** element of `collection`.
|
2125
|
+
* Iteration is stopped once `predicate` returns truthy. The predicate is
|
2126
|
+
* invoked with three arguments: (value, index|key, collection).
|
2127
|
+
*
|
2128
|
+
* @static
|
2129
|
+
* @memberOf _
|
2130
|
+
* @since 0.1.0
|
2131
|
+
* @category Collection
|
2132
|
+
* @param {Array|Object} collection The collection to iterate over.
|
2133
|
+
* @param {Function} [predicate=_.identity] The function invoked per iteration.
|
2134
|
+
* @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
|
2135
|
+
* @returns {boolean} Returns `true` if any element passes the predicate check,
|
2136
|
+
* else `false`.
|
2137
|
+
* @example
|
2138
|
+
*
|
2139
|
+
* _.some([null, 0, 'yes', false], Boolean);
|
2140
|
+
* // => true
|
2141
|
+
*
|
2142
|
+
* var users = [
|
2143
|
+
* { 'user': 'barney', 'active': true },
|
2144
|
+
* { 'user': 'fred', 'active': false }
|
2145
|
+
* ];
|
2146
|
+
*
|
2147
|
+
* // The `_.matches` iteratee shorthand.
|
2148
|
+
* _.some(users, { 'user': 'barney', 'active': false });
|
2149
|
+
* // => false
|
2150
|
+
*
|
2151
|
+
* // The `_.matchesProperty` iteratee shorthand.
|
2152
|
+
* _.some(users, ['active', false]);
|
2153
|
+
* // => true
|
2154
|
+
*
|
2155
|
+
* // The `_.property` iteratee shorthand.
|
2156
|
+
* _.some(users, 'active');
|
2157
|
+
* // => true
|
2158
|
+
*/
|
2159
|
+
function some(collection, predicate, guard) {
|
2160
|
+
predicate = guard ? undefined : predicate;
|
2161
|
+
return baseSome(collection, baseIteratee(predicate));
|
2162
|
+
}
|
2163
|
+
|
2164
|
+
/**
|
2165
|
+
* Creates an array of elements, sorted in ascending order by the results of
|
2166
|
+
* running each element in a collection thru each iteratee. This method
|
2167
|
+
* performs a stable sort, that is, it preserves the original sort order of
|
2168
|
+
* equal elements. The iteratees are invoked with one argument: (value).
|
2169
|
+
*
|
2170
|
+
* @static
|
2171
|
+
* @memberOf _
|
2172
|
+
* @since 0.1.0
|
2173
|
+
* @category Collection
|
2174
|
+
* @param {Array|Object} collection The collection to iterate over.
|
2175
|
+
* @param {...(Function|Function[])} [iteratees=[_.identity]]
|
2176
|
+
* The iteratees to sort by.
|
2177
|
+
* @returns {Array} Returns the new sorted array.
|
2178
|
+
* @example
|
2179
|
+
*
|
2180
|
+
* var users = [
|
2181
|
+
* { 'user': 'fred', 'age': 48 },
|
2182
|
+
* { 'user': 'barney', 'age': 36 },
|
2183
|
+
* { 'user': 'fred', 'age': 40 },
|
2184
|
+
* { 'user': 'barney', 'age': 34 }
|
2185
|
+
* ];
|
2186
|
+
*
|
2187
|
+
* _.sortBy(users, [function(o) { return o.user; }]);
|
2188
|
+
* // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]
|
2189
|
+
*
|
2190
|
+
* _.sortBy(users, ['user', 'age']);
|
2191
|
+
* // => objects for [['barney', 34], ['barney', 36], ['fred', 40], ['fred', 48]]
|
2192
|
+
*/
|
2193
|
+
function sortBy(collection, iteratee) {
|
2194
|
+
var index = 0;
|
2195
|
+
iteratee = baseIteratee(iteratee);
|
2196
|
+
|
2197
|
+
return baseMap(baseMap(collection, function(value, key, collection) {
|
2198
|
+
return { 'value': value, 'index': index++, 'criteria': iteratee(value, key, collection) };
|
2199
|
+
}).sort(function(object, other) {
|
2200
|
+
return compareAscending(object.criteria, other.criteria) || (object.index - other.index);
|
2201
|
+
}), baseProperty('value'));
|
2202
|
+
}
|
2203
|
+
|
2204
|
+
/*------------------------------------------------------------------------*/
|
2205
|
+
|
2206
|
+
/**
|
2207
|
+
* Creates a function that invokes `func`, with the `this` binding and arguments
|
2208
|
+
* of the created function, while it's called less than `n` times. Subsequent
|
2209
|
+
* calls to the created function return the result of the last `func` invocation.
|
2210
|
+
*
|
2211
|
+
* @static
|
2212
|
+
* @memberOf _
|
2213
|
+
* @since 3.0.0
|
2214
|
+
* @category Function
|
2215
|
+
* @param {number} n The number of calls at which `func` is no longer invoked.
|
2216
|
+
* @param {Function} func The function to restrict.
|
2217
|
+
* @returns {Function} Returns the new restricted function.
|
2218
|
+
* @example
|
2219
|
+
*
|
2220
|
+
* jQuery(element).on('click', _.before(5, addContactToList));
|
2221
|
+
* // => Allows adding up to 4 contacts to the list.
|
2222
|
+
*/
|
2223
|
+
function before(n, func) {
|
2224
|
+
var result;
|
2225
|
+
if (typeof func != 'function') {
|
2226
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
2227
|
+
}
|
2228
|
+
n = toInteger(n);
|
2229
|
+
return function() {
|
2230
|
+
if (--n > 0) {
|
2231
|
+
result = func.apply(this, arguments);
|
2232
|
+
}
|
2233
|
+
if (n <= 1) {
|
2234
|
+
func = undefined;
|
2235
|
+
}
|
2236
|
+
return result;
|
2237
|
+
};
|
2238
|
+
}
|
2239
|
+
|
2240
|
+
/**
|
2241
|
+
* Creates a function that invokes `func` with the `this` binding of `thisArg`
|
2242
|
+
* and `partials` prepended to the arguments it receives.
|
2243
|
+
*
|
2244
|
+
* The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,
|
2245
|
+
* may be used as a placeholder for partially applied arguments.
|
2246
|
+
*
|
2247
|
+
* **Note:** Unlike native `Function#bind`, this method doesn't set the "length"
|
2248
|
+
* property of bound functions.
|
2249
|
+
*
|
2250
|
+
* @static
|
2251
|
+
* @memberOf _
|
2252
|
+
* @since 0.1.0
|
2253
|
+
* @category Function
|
2254
|
+
* @param {Function} func The function to bind.
|
2255
|
+
* @param {*} thisArg The `this` binding of `func`.
|
2256
|
+
* @param {...*} [partials] The arguments to be partially applied.
|
2257
|
+
* @returns {Function} Returns the new bound function.
|
2258
|
+
* @example
|
2259
|
+
*
|
2260
|
+
* function greet(greeting, punctuation) {
|
2261
|
+
* return greeting + ' ' + this.user + punctuation;
|
2262
|
+
* }
|
2263
|
+
*
|
2264
|
+
* var object = { 'user': 'fred' };
|
2265
|
+
*
|
2266
|
+
* var bound = _.bind(greet, object, 'hi');
|
2267
|
+
* bound('!');
|
2268
|
+
* // => 'hi fred!'
|
2269
|
+
*
|
2270
|
+
* // Bound with placeholders.
|
2271
|
+
* var bound = _.bind(greet, object, _, '!');
|
2272
|
+
* bound('hi');
|
2273
|
+
* // => 'hi fred!'
|
2274
|
+
*/
|
2275
|
+
var bind = baseRest(function(func, thisArg, partials) {
|
2276
|
+
return createPartial(func, BIND_FLAG | PARTIAL_FLAG, thisArg, partials);
|
2277
|
+
});
|
2278
|
+
|
2279
|
+
/**
|
2280
|
+
* Defers invoking the `func` until the current call stack has cleared. Any
|
2281
|
+
* additional arguments are provided to `func` when it's invoked.
|
2282
|
+
*
|
2283
|
+
* @static
|
2284
|
+
* @memberOf _
|
2285
|
+
* @since 0.1.0
|
2286
|
+
* @category Function
|
2287
|
+
* @param {Function} func The function to defer.
|
2288
|
+
* @param {...*} [args] The arguments to invoke `func` with.
|
2289
|
+
* @returns {number} Returns the timer id.
|
2290
|
+
* @example
|
2291
|
+
*
|
2292
|
+
* _.defer(function(text) {
|
2293
|
+
* console.log(text);
|
2294
|
+
* }, 'deferred');
|
2295
|
+
* // => Logs 'deferred' after one millisecond.
|
2296
|
+
*/
|
2297
|
+
var defer = baseRest(function(func, args) {
|
2298
|
+
return baseDelay(func, 1, args);
|
2299
|
+
});
|
2300
|
+
|
2301
|
+
/**
|
2302
|
+
* Invokes `func` after `wait` milliseconds. Any additional arguments are
|
2303
|
+
* provided to `func` when it's invoked.
|
2304
|
+
*
|
2305
|
+
* @static
|
2306
|
+
* @memberOf _
|
2307
|
+
* @since 0.1.0
|
2308
|
+
* @category Function
|
2309
|
+
* @param {Function} func The function to delay.
|
2310
|
+
* @param {number} wait The number of milliseconds to delay invocation.
|
2311
|
+
* @param {...*} [args] The arguments to invoke `func` with.
|
2312
|
+
* @returns {number} Returns the timer id.
|
2313
|
+
* @example
|
2314
|
+
*
|
2315
|
+
* _.delay(function(text) {
|
2316
|
+
* console.log(text);
|
2317
|
+
* }, 1000, 'later');
|
2318
|
+
* // => Logs 'later' after one second.
|
2319
|
+
*/
|
2320
|
+
var delay = baseRest(function(func, wait, args) {
|
2321
|
+
return baseDelay(func, toNumber(wait) || 0, args);
|
2322
|
+
});
|
2323
|
+
|
2324
|
+
/**
|
2325
|
+
* Creates a function that negates the result of the predicate `func`. The
|
2326
|
+
* `func` predicate is invoked with the `this` binding and arguments of the
|
2327
|
+
* created function.
|
2328
|
+
*
|
2329
|
+
* @static
|
2330
|
+
* @memberOf _
|
2331
|
+
* @since 3.0.0
|
2332
|
+
* @category Function
|
2333
|
+
* @param {Function} predicate The predicate to negate.
|
2334
|
+
* @returns {Function} Returns the new negated function.
|
2335
|
+
* @example
|
2336
|
+
*
|
2337
|
+
* function isEven(n) {
|
2338
|
+
* return n % 2 == 0;
|
2339
|
+
* }
|
2340
|
+
*
|
2341
|
+
* _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));
|
2342
|
+
* // => [1, 3, 5]
|
2343
|
+
*/
|
2344
|
+
function negate(predicate) {
|
2345
|
+
if (typeof predicate != 'function') {
|
2346
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
2347
|
+
}
|
2348
|
+
return function() {
|
2349
|
+
var args = arguments;
|
2350
|
+
return !predicate.apply(this, args);
|
2351
|
+
};
|
2352
|
+
}
|
2353
|
+
|
2354
|
+
/**
|
2355
|
+
* Creates a function that is restricted to invoking `func` once. Repeat calls
|
2356
|
+
* to the function return the value of the first invocation. The `func` is
|
2357
|
+
* invoked with the `this` binding and arguments of the created function.
|
2358
|
+
*
|
2359
|
+
* @static
|
2360
|
+
* @memberOf _
|
2361
|
+
* @since 0.1.0
|
2362
|
+
* @category Function
|
2363
|
+
* @param {Function} func The function to restrict.
|
2364
|
+
* @returns {Function} Returns the new restricted function.
|
2365
|
+
* @example
|
2366
|
+
*
|
2367
|
+
* var initialize = _.once(createApplication);
|
2368
|
+
* initialize();
|
2369
|
+
* initialize();
|
2370
|
+
* // => `createApplication` is invoked once
|
2371
|
+
*/
|
2372
|
+
function once(func) {
|
2373
|
+
return before(2, func);
|
2374
|
+
}
|
2375
|
+
|
2376
|
+
/*------------------------------------------------------------------------*/
|
2377
|
+
|
2378
|
+
/**
|
2379
|
+
* Creates a shallow clone of `value`.
|
2380
|
+
*
|
2381
|
+
* **Note:** This method is loosely based on the
|
2382
|
+
* [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)
|
2383
|
+
* and supports cloning arrays, array buffers, booleans, date objects, maps,
|
2384
|
+
* numbers, `Object` objects, regexes, sets, strings, symbols, and typed
|
2385
|
+
* arrays. The own enumerable properties of `arguments` objects are cloned
|
2386
|
+
* as plain objects. An empty object is returned for uncloneable values such
|
2387
|
+
* as error objects, functions, DOM nodes, and WeakMaps.
|
2388
|
+
*
|
2389
|
+
* @static
|
2390
|
+
* @memberOf _
|
2391
|
+
* @since 0.1.0
|
2392
|
+
* @category Lang
|
2393
|
+
* @param {*} value The value to clone.
|
2394
|
+
* @returns {*} Returns the cloned value.
|
2395
|
+
* @see _.cloneDeep
|
2396
|
+
* @example
|
2397
|
+
*
|
2398
|
+
* var objects = [{ 'a': 1 }, { 'b': 2 }];
|
2399
|
+
*
|
2400
|
+
* var shallow = _.clone(objects);
|
2401
|
+
* console.log(shallow[0] === objects[0]);
|
2402
|
+
* // => true
|
2403
|
+
*/
|
2404
|
+
function clone(value) {
|
2405
|
+
if (!isObject(value)) {
|
2406
|
+
return value;
|
2407
|
+
}
|
2408
|
+
return isArray(value) ? copyArray(value) : copyObject(value, nativeKeys(value));
|
2409
|
+
}
|
2410
|
+
|
2411
|
+
/**
|
2412
|
+
* Performs a
|
2413
|
+
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
2414
|
+
* comparison between two values to determine if they are equivalent.
|
2415
|
+
*
|
2416
|
+
* @static
|
2417
|
+
* @memberOf _
|
2418
|
+
* @since 4.0.0
|
2419
|
+
* @category Lang
|
2420
|
+
* @param {*} value The value to compare.
|
2421
|
+
* @param {*} other The other value to compare.
|
2422
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
2423
|
+
* @example
|
2424
|
+
*
|
2425
|
+
* var object = { 'a': 1 };
|
2426
|
+
* var other = { 'a': 1 };
|
2427
|
+
*
|
2428
|
+
* _.eq(object, object);
|
2429
|
+
* // => true
|
2430
|
+
*
|
2431
|
+
* _.eq(object, other);
|
2432
|
+
* // => false
|
2433
|
+
*
|
2434
|
+
* _.eq('a', 'a');
|
2435
|
+
* // => true
|
2436
|
+
*
|
2437
|
+
* _.eq('a', Object('a'));
|
2438
|
+
* // => false
|
2439
|
+
*
|
2440
|
+
* _.eq(NaN, NaN);
|
2441
|
+
* // => true
|
2442
|
+
*/
|
2443
|
+
function eq(value, other) {
|
2444
|
+
return value === other || (value !== value && other !== other);
|
2445
|
+
}
|
2446
|
+
|
2447
|
+
/**
|
2448
|
+
* Checks if `value` is likely an `arguments` object.
|
2449
|
+
*
|
2450
|
+
* @static
|
2451
|
+
* @memberOf _
|
2452
|
+
* @since 0.1.0
|
2453
|
+
* @category Lang
|
2454
|
+
* @param {*} value The value to check.
|
2455
|
+
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
2456
|
+
* else `false`.
|
2457
|
+
* @example
|
2458
|
+
*
|
2459
|
+
* _.isArguments(function() { return arguments; }());
|
2460
|
+
* // => true
|
2461
|
+
*
|
2462
|
+
* _.isArguments([1, 2, 3]);
|
2463
|
+
* // => false
|
2464
|
+
*/
|
2465
|
+
var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
|
2466
|
+
return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&
|
2467
|
+
!propertyIsEnumerable.call(value, 'callee');
|
2468
|
+
};
|
2469
|
+
|
2470
|
+
/**
|
2471
|
+
* Checks if `value` is classified as an `Array` object.
|
2472
|
+
*
|
2473
|
+
* @static
|
2474
|
+
* @memberOf _
|
2475
|
+
* @since 0.1.0
|
2476
|
+
* @category Lang
|
2477
|
+
* @param {*} value The value to check.
|
2478
|
+
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
2479
|
+
* @example
|
2480
|
+
*
|
2481
|
+
* _.isArray([1, 2, 3]);
|
2482
|
+
* // => true
|
2483
|
+
*
|
2484
|
+
* _.isArray(document.body.children);
|
2485
|
+
* // => false
|
2486
|
+
*
|
2487
|
+
* _.isArray('abc');
|
2488
|
+
* // => false
|
2489
|
+
*
|
2490
|
+
* _.isArray(_.noop);
|
2491
|
+
* // => false
|
2492
|
+
*/
|
2493
|
+
var isArray = Array.isArray;
|
2494
|
+
|
2495
|
+
/**
|
2496
|
+
* Checks if `value` is array-like. A value is considered array-like if it's
|
2497
|
+
* not a function and has a `value.length` that's an integer greater than or
|
2498
|
+
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
2499
|
+
*
|
2500
|
+
* @static
|
2501
|
+
* @memberOf _
|
2502
|
+
* @since 4.0.0
|
2503
|
+
* @category Lang
|
2504
|
+
* @param {*} value The value to check.
|
2505
|
+
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
|
2506
|
+
* @example
|
2507
|
+
*
|
2508
|
+
* _.isArrayLike([1, 2, 3]);
|
2509
|
+
* // => true
|
2510
|
+
*
|
2511
|
+
* _.isArrayLike(document.body.children);
|
2512
|
+
* // => true
|
2513
|
+
*
|
2514
|
+
* _.isArrayLike('abc');
|
2515
|
+
* // => true
|
2516
|
+
*
|
2517
|
+
* _.isArrayLike(_.noop);
|
2518
|
+
* // => false
|
2519
|
+
*/
|
2520
|
+
function isArrayLike(value) {
|
2521
|
+
return value != null && isLength(value.length) && !isFunction(value);
|
2522
|
+
}
|
2523
|
+
|
2524
|
+
/**
|
2525
|
+
* Checks if `value` is classified as a boolean primitive or object.
|
2526
|
+
*
|
2527
|
+
* @static
|
2528
|
+
* @memberOf _
|
2529
|
+
* @since 0.1.0
|
2530
|
+
* @category Lang
|
2531
|
+
* @param {*} value The value to check.
|
2532
|
+
* @returns {boolean} Returns `true` if `value` is a boolean, else `false`.
|
2533
|
+
* @example
|
2534
|
+
*
|
2535
|
+
* _.isBoolean(false);
|
2536
|
+
* // => true
|
2537
|
+
*
|
2538
|
+
* _.isBoolean(null);
|
2539
|
+
* // => false
|
2540
|
+
*/
|
2541
|
+
function isBoolean(value) {
|
2542
|
+
return value === true || value === false ||
|
2543
|
+
(isObjectLike(value) && baseGetTag(value) == boolTag);
|
2544
|
+
}
|
2545
|
+
|
2546
|
+
/**
|
2547
|
+
* Checks if `value` is classified as a `Date` object.
|
2548
|
+
*
|
2549
|
+
* @static
|
2550
|
+
* @memberOf _
|
2551
|
+
* @since 0.1.0
|
2552
|
+
* @category Lang
|
2553
|
+
* @param {*} value The value to check.
|
2554
|
+
* @returns {boolean} Returns `true` if `value` is a date object, else `false`.
|
2555
|
+
* @example
|
2556
|
+
*
|
2557
|
+
* _.isDate(new Date);
|
2558
|
+
* // => true
|
2559
|
+
*
|
2560
|
+
* _.isDate('Mon April 23 2012');
|
2561
|
+
* // => false
|
2562
|
+
*/
|
2563
|
+
var isDate = baseIsDate;
|
2564
|
+
|
2565
|
+
/**
|
2566
|
+
* Checks if `value` is an empty object, collection, map, or set.
|
2567
|
+
*
|
2568
|
+
* Objects are considered empty if they have no own enumerable string keyed
|
2569
|
+
* properties.
|
2570
|
+
*
|
2571
|
+
* Array-like values such as `arguments` objects, arrays, buffers, strings, or
|
2572
|
+
* jQuery-like collections are considered empty if they have a `length` of `0`.
|
2573
|
+
* Similarly, maps and sets are considered empty if they have a `size` of `0`.
|
2574
|
+
*
|
2575
|
+
* @static
|
2576
|
+
* @memberOf _
|
2577
|
+
* @since 0.1.0
|
2578
|
+
* @category Lang
|
2579
|
+
* @param {*} value The value to check.
|
2580
|
+
* @returns {boolean} Returns `true` if `value` is empty, else `false`.
|
2581
|
+
* @example
|
2582
|
+
*
|
2583
|
+
* _.isEmpty(null);
|
2584
|
+
* // => true
|
2585
|
+
*
|
2586
|
+
* _.isEmpty(true);
|
2587
|
+
* // => true
|
2588
|
+
*
|
2589
|
+
* _.isEmpty(1);
|
2590
|
+
* // => true
|
2591
|
+
*
|
2592
|
+
* _.isEmpty([1, 2, 3]);
|
2593
|
+
* // => false
|
2594
|
+
*
|
2595
|
+
* _.isEmpty({ 'a': 1 });
|
2596
|
+
* // => false
|
2597
|
+
*/
|
2598
|
+
function isEmpty(value) {
|
2599
|
+
if (isArrayLike(value) &&
|
2600
|
+
(isArray(value) || isString(value) ||
|
2601
|
+
isFunction(value.splice) || isArguments(value))) {
|
2602
|
+
return !value.length;
|
2603
|
+
}
|
2604
|
+
return !nativeKeys(value).length;
|
2605
|
+
}
|
2606
|
+
|
2607
|
+
/**
|
2608
|
+
* Performs a deep comparison between two values to determine if they are
|
2609
|
+
* equivalent.
|
2610
|
+
*
|
2611
|
+
* **Note:** This method supports comparing arrays, array buffers, booleans,
|
2612
|
+
* date objects, error objects, maps, numbers, `Object` objects, regexes,
|
2613
|
+
* sets, strings, symbols, and typed arrays. `Object` objects are compared
|
2614
|
+
* by their own, not inherited, enumerable properties. Functions and DOM
|
2615
|
+
* nodes are **not** supported.
|
2616
|
+
*
|
2617
|
+
* @static
|
2618
|
+
* @memberOf _
|
2619
|
+
* @since 0.1.0
|
2620
|
+
* @category Lang
|
2621
|
+
* @param {*} value The value to compare.
|
2622
|
+
* @param {*} other The other value to compare.
|
2623
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
2624
|
+
* @example
|
2625
|
+
*
|
2626
|
+
* var object = { 'a': 1 };
|
2627
|
+
* var other = { 'a': 1 };
|
2628
|
+
*
|
2629
|
+
* _.isEqual(object, other);
|
2630
|
+
* // => true
|
2631
|
+
*
|
2632
|
+
* object === other;
|
2633
|
+
* // => false
|
2634
|
+
*/
|
2635
|
+
function isEqual(value, other) {
|
2636
|
+
return baseIsEqual(value, other);
|
2637
|
+
}
|
2638
|
+
|
2639
|
+
/**
|
2640
|
+
* Checks if `value` is a finite primitive number.
|
2641
|
+
*
|
2642
|
+
* **Note:** This method is based on
|
2643
|
+
* [`Number.isFinite`](https://mdn.io/Number/isFinite).
|
2644
|
+
*
|
2645
|
+
* @static
|
2646
|
+
* @memberOf _
|
2647
|
+
* @since 0.1.0
|
2648
|
+
* @category Lang
|
2649
|
+
* @param {*} value The value to check.
|
2650
|
+
* @returns {boolean} Returns `true` if `value` is a finite number, else `false`.
|
2651
|
+
* @example
|
2652
|
+
*
|
2653
|
+
* _.isFinite(3);
|
2654
|
+
* // => true
|
2655
|
+
*
|
2656
|
+
* _.isFinite(Number.MIN_VALUE);
|
2657
|
+
* // => true
|
2658
|
+
*
|
2659
|
+
* _.isFinite(Infinity);
|
2660
|
+
* // => false
|
2661
|
+
*
|
2662
|
+
* _.isFinite('3');
|
2663
|
+
* // => false
|
2664
|
+
*/
|
2665
|
+
function isFinite(value) {
|
2666
|
+
return typeof value == 'number' && nativeIsFinite(value);
|
2667
|
+
}
|
2668
|
+
|
2669
|
+
/**
|
2670
|
+
* Checks if `value` is classified as a `Function` object.
|
2671
|
+
*
|
2672
|
+
* @static
|
2673
|
+
* @memberOf _
|
2674
|
+
* @since 0.1.0
|
2675
|
+
* @category Lang
|
2676
|
+
* @param {*} value The value to check.
|
2677
|
+
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
|
2678
|
+
* @example
|
2679
|
+
*
|
2680
|
+
* _.isFunction(_);
|
2681
|
+
* // => true
|
2682
|
+
*
|
2683
|
+
* _.isFunction(/abc/);
|
2684
|
+
* // => false
|
2685
|
+
*/
|
2686
|
+
function isFunction(value) {
|
2687
|
+
if (!isObject(value)) {
|
2688
|
+
return false;
|
2689
|
+
}
|
2690
|
+
// The use of `Object#toString` avoids issues with the `typeof` operator
|
2691
|
+
// in Safari 9 which returns 'object' for typed arrays and other constructors.
|
2692
|
+
var tag = baseGetTag(value);
|
2693
|
+
return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
|
2694
|
+
}
|
2695
|
+
|
2696
|
+
/**
|
2697
|
+
* Checks if `value` is a valid array-like length.
|
2698
|
+
*
|
2699
|
+
* **Note:** This method is loosely based on
|
2700
|
+
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
2701
|
+
*
|
2702
|
+
* @static
|
2703
|
+
* @memberOf _
|
2704
|
+
* @since 4.0.0
|
2705
|
+
* @category Lang
|
2706
|
+
* @param {*} value The value to check.
|
2707
|
+
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
2708
|
+
* @example
|
2709
|
+
*
|
2710
|
+
* _.isLength(3);
|
2711
|
+
* // => true
|
2712
|
+
*
|
2713
|
+
* _.isLength(Number.MIN_VALUE);
|
2714
|
+
* // => false
|
2715
|
+
*
|
2716
|
+
* _.isLength(Infinity);
|
2717
|
+
* // => false
|
2718
|
+
*
|
2719
|
+
* _.isLength('3');
|
2720
|
+
* // => false
|
2721
|
+
*/
|
2722
|
+
function isLength(value) {
|
2723
|
+
return typeof value == 'number' &&
|
2724
|
+
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
2725
|
+
}
|
2726
|
+
|
2727
|
+
/**
|
2728
|
+
* Checks if `value` is the
|
2729
|
+
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
2730
|
+
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
2731
|
+
*
|
2732
|
+
* @static
|
2733
|
+
* @memberOf _
|
2734
|
+
* @since 0.1.0
|
2735
|
+
* @category Lang
|
2736
|
+
* @param {*} value The value to check.
|
2737
|
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
2738
|
+
* @example
|
2739
|
+
*
|
2740
|
+
* _.isObject({});
|
2741
|
+
* // => true
|
2742
|
+
*
|
2743
|
+
* _.isObject([1, 2, 3]);
|
2744
|
+
* // => true
|
2745
|
+
*
|
2746
|
+
* _.isObject(_.noop);
|
2747
|
+
* // => true
|
2748
|
+
*
|
2749
|
+
* _.isObject(null);
|
2750
|
+
* // => false
|
2751
|
+
*/
|
2752
|
+
function isObject(value) {
|
2753
|
+
var type = typeof value;
|
2754
|
+
return value != null && (type == 'object' || type == 'function');
|
2755
|
+
}
|
2756
|
+
|
2757
|
+
/**
|
2758
|
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
2759
|
+
* and has a `typeof` result of "object".
|
2760
|
+
*
|
2761
|
+
* @static
|
2762
|
+
* @memberOf _
|
2763
|
+
* @since 4.0.0
|
2764
|
+
* @category Lang
|
2765
|
+
* @param {*} value The value to check.
|
2766
|
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
2767
|
+
* @example
|
2768
|
+
*
|
2769
|
+
* _.isObjectLike({});
|
2770
|
+
* // => true
|
2771
|
+
*
|
2772
|
+
* _.isObjectLike([1, 2, 3]);
|
2773
|
+
* // => true
|
2774
|
+
*
|
2775
|
+
* _.isObjectLike(_.noop);
|
2776
|
+
* // => false
|
2777
|
+
*
|
2778
|
+
* _.isObjectLike(null);
|
2779
|
+
* // => false
|
2780
|
+
*/
|
2781
|
+
function isObjectLike(value) {
|
2782
|
+
return value != null && typeof value == 'object';
|
2783
|
+
}
|
2784
|
+
|
2785
|
+
/**
|
2786
|
+
* Checks if `value` is `NaN`.
|
2787
|
+
*
|
2788
|
+
* **Note:** This method is based on
|
2789
|
+
* [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as
|
2790
|
+
* global [`isNaN`](https://mdn.io/isNaN) which returns `true` for
|
2791
|
+
* `undefined` and other non-number values.
|
2792
|
+
*
|
2793
|
+
* @static
|
2794
|
+
* @memberOf _
|
2795
|
+
* @since 0.1.0
|
2796
|
+
* @category Lang
|
2797
|
+
* @param {*} value The value to check.
|
2798
|
+
* @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
|
2799
|
+
* @example
|
2800
|
+
*
|
2801
|
+
* _.isNaN(NaN);
|
2802
|
+
* // => true
|
2803
|
+
*
|
2804
|
+
* _.isNaN(new Number(NaN));
|
2805
|
+
* // => true
|
2806
|
+
*
|
2807
|
+
* isNaN(undefined);
|
2808
|
+
* // => true
|
2809
|
+
*
|
2810
|
+
* _.isNaN(undefined);
|
2811
|
+
* // => false
|
2812
|
+
*/
|
2813
|
+
function isNaN(value) {
|
2814
|
+
// An `NaN` primitive is the only value that is not equal to itself.
|
2815
|
+
// Perform the `toStringTag` check first to avoid errors with some
|
2816
|
+
// ActiveX objects in IE.
|
2817
|
+
return isNumber(value) && value != +value;
|
2818
|
+
}
|
2819
|
+
|
2820
|
+
/**
|
2821
|
+
* Checks if `value` is `null`.
|
2822
|
+
*
|
2823
|
+
* @static
|
2824
|
+
* @memberOf _
|
2825
|
+
* @since 0.1.0
|
2826
|
+
* @category Lang
|
2827
|
+
* @param {*} value The value to check.
|
2828
|
+
* @returns {boolean} Returns `true` if `value` is `null`, else `false`.
|
2829
|
+
* @example
|
2830
|
+
*
|
2831
|
+
* _.isNull(null);
|
2832
|
+
* // => true
|
2833
|
+
*
|
2834
|
+
* _.isNull(void 0);
|
2835
|
+
* // => false
|
2836
|
+
*/
|
2837
|
+
function isNull(value) {
|
2838
|
+
return value === null;
|
2839
|
+
}
|
2840
|
+
|
2841
|
+
/**
|
2842
|
+
* Checks if `value` is classified as a `Number` primitive or object.
|
2843
|
+
*
|
2844
|
+
* **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are
|
2845
|
+
* classified as numbers, use the `_.isFinite` method.
|
2846
|
+
*
|
2847
|
+
* @static
|
2848
|
+
* @memberOf _
|
2849
|
+
* @since 0.1.0
|
2850
|
+
* @category Lang
|
2851
|
+
* @param {*} value The value to check.
|
2852
|
+
* @returns {boolean} Returns `true` if `value` is a number, else `false`.
|
2853
|
+
* @example
|
2854
|
+
*
|
2855
|
+
* _.isNumber(3);
|
2856
|
+
* // => true
|
2857
|
+
*
|
2858
|
+
* _.isNumber(Number.MIN_VALUE);
|
2859
|
+
* // => true
|
2860
|
+
*
|
2861
|
+
* _.isNumber(Infinity);
|
2862
|
+
* // => true
|
2863
|
+
*
|
2864
|
+
* _.isNumber('3');
|
2865
|
+
* // => false
|
2866
|
+
*/
|
2867
|
+
function isNumber(value) {
|
2868
|
+
return typeof value == 'number' ||
|
2869
|
+
(isObjectLike(value) && baseGetTag(value) == numberTag);
|
2870
|
+
}
|
2871
|
+
|
2872
|
+
/**
|
2873
|
+
* Checks if `value` is classified as a `RegExp` object.
|
2874
|
+
*
|
2875
|
+
* @static
|
2876
|
+
* @memberOf _
|
2877
|
+
* @since 0.1.0
|
2878
|
+
* @category Lang
|
2879
|
+
* @param {*} value The value to check.
|
2880
|
+
* @returns {boolean} Returns `true` if `value` is a regexp, else `false`.
|
2881
|
+
* @example
|
2882
|
+
*
|
2883
|
+
* _.isRegExp(/abc/);
|
2884
|
+
* // => true
|
2885
|
+
*
|
2886
|
+
* _.isRegExp('/abc/');
|
2887
|
+
* // => false
|
2888
|
+
*/
|
2889
|
+
var isRegExp = baseIsRegExp;
|
2890
|
+
|
2891
|
+
/**
|
2892
|
+
* Checks if `value` is classified as a `String` primitive or object.
|
2893
|
+
*
|
2894
|
+
* @static
|
2895
|
+
* @since 0.1.0
|
2896
|
+
* @memberOf _
|
2897
|
+
* @category Lang
|
2898
|
+
* @param {*} value The value to check.
|
2899
|
+
* @returns {boolean} Returns `true` if `value` is a string, else `false`.
|
2900
|
+
* @example
|
2901
|
+
*
|
2902
|
+
* _.isString('abc');
|
2903
|
+
* // => true
|
2904
|
+
*
|
2905
|
+
* _.isString(1);
|
2906
|
+
* // => false
|
2907
|
+
*/
|
2908
|
+
function isString(value) {
|
2909
|
+
return typeof value == 'string' ||
|
2910
|
+
(!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);
|
2911
|
+
}
|
2912
|
+
|
2913
|
+
/**
|
2914
|
+
* Checks if `value` is `undefined`.
|
2915
|
+
*
|
2916
|
+
* @static
|
2917
|
+
* @since 0.1.0
|
2918
|
+
* @memberOf _
|
2919
|
+
* @category Lang
|
2920
|
+
* @param {*} value The value to check.
|
2921
|
+
* @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
|
2922
|
+
* @example
|
2923
|
+
*
|
2924
|
+
* _.isUndefined(void 0);
|
2925
|
+
* // => true
|
2926
|
+
*
|
2927
|
+
* _.isUndefined(null);
|
2928
|
+
* // => false
|
2929
|
+
*/
|
2930
|
+
function isUndefined(value) {
|
2931
|
+
return value === undefined;
|
2932
|
+
}
|
2933
|
+
|
2934
|
+
/**
|
2935
|
+
* Converts `value` to an array.
|
2936
|
+
*
|
2937
|
+
* @static
|
2938
|
+
* @since 0.1.0
|
2939
|
+
* @memberOf _
|
2940
|
+
* @category Lang
|
2941
|
+
* @param {*} value The value to convert.
|
2942
|
+
* @returns {Array} Returns the converted array.
|
2943
|
+
* @example
|
2944
|
+
*
|
2945
|
+
* _.toArray({ 'a': 1, 'b': 2 });
|
2946
|
+
* // => [1, 2]
|
2947
|
+
*
|
2948
|
+
* _.toArray('abc');
|
2949
|
+
* // => ['a', 'b', 'c']
|
2950
|
+
*
|
2951
|
+
* _.toArray(1);
|
2952
|
+
* // => []
|
2953
|
+
*
|
2954
|
+
* _.toArray(null);
|
2955
|
+
* // => []
|
2956
|
+
*/
|
2957
|
+
function toArray(value) {
|
2958
|
+
if (!isArrayLike(value)) {
|
2959
|
+
return values(value);
|
2960
|
+
}
|
2961
|
+
return value.length ? copyArray(value) : [];
|
2962
|
+
}
|
2963
|
+
|
2964
|
+
/**
|
2965
|
+
* Converts `value` to an integer.
|
2966
|
+
*
|
2967
|
+
* **Note:** This method is loosely based on
|
2968
|
+
* [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
|
2969
|
+
*
|
2970
|
+
* @static
|
2971
|
+
* @memberOf _
|
2972
|
+
* @since 4.0.0
|
2973
|
+
* @category Lang
|
2974
|
+
* @param {*} value The value to convert.
|
2975
|
+
* @returns {number} Returns the converted integer.
|
2976
|
+
* @example
|
2977
|
+
*
|
2978
|
+
* _.toInteger(3.2);
|
2979
|
+
* // => 3
|
2980
|
+
*
|
2981
|
+
* _.toInteger(Number.MIN_VALUE);
|
2982
|
+
* // => 0
|
2983
|
+
*
|
2984
|
+
* _.toInteger(Infinity);
|
2985
|
+
* // => 1.7976931348623157e+308
|
2986
|
+
*
|
2987
|
+
* _.toInteger('3.2');
|
2988
|
+
* // => 3
|
2989
|
+
*/
|
2990
|
+
var toInteger = Number;
|
2991
|
+
|
2992
|
+
/**
|
2993
|
+
* Converts `value` to a number.
|
2994
|
+
*
|
2995
|
+
* @static
|
2996
|
+
* @memberOf _
|
2997
|
+
* @since 4.0.0
|
2998
|
+
* @category Lang
|
2999
|
+
* @param {*} value The value to process.
|
3000
|
+
* @returns {number} Returns the number.
|
3001
|
+
* @example
|
3002
|
+
*
|
3003
|
+
* _.toNumber(3.2);
|
3004
|
+
* // => 3.2
|
3005
|
+
*
|
3006
|
+
* _.toNumber(Number.MIN_VALUE);
|
3007
|
+
* // => 5e-324
|
3008
|
+
*
|
3009
|
+
* _.toNumber(Infinity);
|
3010
|
+
* // => Infinity
|
3011
|
+
*
|
3012
|
+
* _.toNumber('3.2');
|
3013
|
+
* // => 3.2
|
3014
|
+
*/
|
3015
|
+
var toNumber = Number;
|
3016
|
+
|
3017
|
+
/**
|
3018
|
+
* Converts `value` to a string. An empty string is returned for `null`
|
3019
|
+
* and `undefined` values. The sign of `-0` is preserved.
|
3020
|
+
*
|
3021
|
+
* @static
|
3022
|
+
* @memberOf _
|
3023
|
+
* @since 4.0.0
|
3024
|
+
* @category Lang
|
3025
|
+
* @param {*} value The value to convert.
|
3026
|
+
* @returns {string} Returns the converted string.
|
3027
|
+
* @example
|
3028
|
+
*
|
3029
|
+
* _.toString(null);
|
3030
|
+
* // => ''
|
3031
|
+
*
|
3032
|
+
* _.toString(-0);
|
3033
|
+
* // => '-0'
|
3034
|
+
*
|
3035
|
+
* _.toString([1, 2, 3]);
|
3036
|
+
* // => '1,2,3'
|
3037
|
+
*/
|
3038
|
+
function toString(value) {
|
3039
|
+
if (typeof value == 'string') {
|
3040
|
+
return value;
|
3041
|
+
}
|
3042
|
+
return value == null ? '' : (value + '');
|
3043
|
+
}
|
3044
|
+
|
3045
|
+
/*------------------------------------------------------------------------*/
|
3046
|
+
|
3047
|
+
/**
|
3048
|
+
* Assigns own enumerable string keyed properties of source objects to the
|
3049
|
+
* destination object. Source objects are applied from left to right.
|
3050
|
+
* Subsequent sources overwrite property assignments of previous sources.
|
3051
|
+
*
|
3052
|
+
* **Note:** This method mutates `object` and is loosely based on
|
3053
|
+
* [`Object.assign`](https://mdn.io/Object/assign).
|
3054
|
+
*
|
3055
|
+
* @static
|
3056
|
+
* @memberOf _
|
3057
|
+
* @since 0.10.0
|
3058
|
+
* @category Object
|
3059
|
+
* @param {Object} object The destination object.
|
3060
|
+
* @param {...Object} [sources] The source objects.
|
3061
|
+
* @returns {Object} Returns `object`.
|
3062
|
+
* @see _.assignIn
|
3063
|
+
* @example
|
3064
|
+
*
|
3065
|
+
* function Foo() {
|
3066
|
+
* this.a = 1;
|
3067
|
+
* }
|
3068
|
+
*
|
3069
|
+
* function Bar() {
|
3070
|
+
* this.c = 3;
|
3071
|
+
* }
|
3072
|
+
*
|
3073
|
+
* Foo.prototype.b = 2;
|
3074
|
+
* Bar.prototype.d = 4;
|
3075
|
+
*
|
3076
|
+
* _.assign({ 'a': 0 }, new Foo, new Bar);
|
3077
|
+
* // => { 'a': 1, 'c': 3 }
|
3078
|
+
*/
|
3079
|
+
var assign = createAssigner(function(object, source) {
|
3080
|
+
copyObject(source, nativeKeys(source), object);
|
3081
|
+
});
|
3082
|
+
|
3083
|
+
/**
|
3084
|
+
* This method is like `_.assign` except that it iterates over own and
|
3085
|
+
* inherited source properties.
|
3086
|
+
*
|
3087
|
+
* **Note:** This method mutates `object`.
|
3088
|
+
*
|
3089
|
+
* @static
|
3090
|
+
* @memberOf _
|
3091
|
+
* @since 4.0.0
|
3092
|
+
* @alias extend
|
3093
|
+
* @category Object
|
3094
|
+
* @param {Object} object The destination object.
|
3095
|
+
* @param {...Object} [sources] The source objects.
|
3096
|
+
* @returns {Object} Returns `object`.
|
3097
|
+
* @see _.assign
|
3098
|
+
* @example
|
3099
|
+
*
|
3100
|
+
* function Foo() {
|
3101
|
+
* this.a = 1;
|
3102
|
+
* }
|
3103
|
+
*
|
3104
|
+
* function Bar() {
|
3105
|
+
* this.c = 3;
|
3106
|
+
* }
|
3107
|
+
*
|
3108
|
+
* Foo.prototype.b = 2;
|
3109
|
+
* Bar.prototype.d = 4;
|
3110
|
+
*
|
3111
|
+
* _.assignIn({ 'a': 0 }, new Foo, new Bar);
|
3112
|
+
* // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }
|
3113
|
+
*/
|
3114
|
+
var assignIn = createAssigner(function(object, source) {
|
3115
|
+
copyObject(source, nativeKeysIn(source), object);
|
3116
|
+
});
|
3117
|
+
|
3118
|
+
/**
|
3119
|
+
* This method is like `_.assignIn` except that it accepts `customizer`
|
3120
|
+
* which is invoked to produce the assigned values. If `customizer` returns
|
3121
|
+
* `undefined`, assignment is handled by the method instead. The `customizer`
|
3122
|
+
* is invoked with five arguments: (objValue, srcValue, key, object, source).
|
3123
|
+
*
|
3124
|
+
* **Note:** This method mutates `object`.
|
3125
|
+
*
|
3126
|
+
* @static
|
3127
|
+
* @memberOf _
|
3128
|
+
* @since 4.0.0
|
3129
|
+
* @alias extendWith
|
3130
|
+
* @category Object
|
3131
|
+
* @param {Object} object The destination object.
|
3132
|
+
* @param {...Object} sources The source objects.
|
3133
|
+
* @param {Function} [customizer] The function to customize assigned values.
|
3134
|
+
* @returns {Object} Returns `object`.
|
3135
|
+
* @see _.assignWith
|
3136
|
+
* @example
|
3137
|
+
*
|
3138
|
+
* function customizer(objValue, srcValue) {
|
3139
|
+
* return _.isUndefined(objValue) ? srcValue : objValue;
|
3140
|
+
* }
|
3141
|
+
*
|
3142
|
+
* var defaults = _.partialRight(_.assignInWith, customizer);
|
3143
|
+
*
|
3144
|
+
* defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });
|
3145
|
+
* // => { 'a': 1, 'b': 2 }
|
3146
|
+
*/
|
3147
|
+
var assignInWith = createAssigner(function(object, source, srcIndex, customizer) {
|
3148
|
+
copyObject(source, keysIn(source), object, customizer);
|
3149
|
+
});
|
3150
|
+
|
3151
|
+
/**
|
3152
|
+
* Creates an object that inherits from the `prototype` object. If a
|
3153
|
+
* `properties` object is given, its own enumerable string keyed properties
|
3154
|
+
* are assigned to the created object.
|
3155
|
+
*
|
3156
|
+
* @static
|
3157
|
+
* @memberOf _
|
3158
|
+
* @since 2.3.0
|
3159
|
+
* @category Object
|
3160
|
+
* @param {Object} prototype The object to inherit from.
|
3161
|
+
* @param {Object} [properties] The properties to assign to the object.
|
3162
|
+
* @returns {Object} Returns the new object.
|
3163
|
+
* @example
|
3164
|
+
*
|
3165
|
+
* function Shape() {
|
3166
|
+
* this.x = 0;
|
3167
|
+
* this.y = 0;
|
3168
|
+
* }
|
3169
|
+
*
|
3170
|
+
* function Circle() {
|
3171
|
+
* Shape.call(this);
|
3172
|
+
* }
|
3173
|
+
*
|
3174
|
+
* Circle.prototype = _.create(Shape.prototype, {
|
3175
|
+
* 'constructor': Circle
|
3176
|
+
* });
|
3177
|
+
*
|
3178
|
+
* var circle = new Circle;
|
3179
|
+
* circle instanceof Circle;
|
3180
|
+
* // => true
|
3181
|
+
*
|
3182
|
+
* circle instanceof Shape;
|
3183
|
+
* // => true
|
3184
|
+
*/
|
3185
|
+
function create(prototype, properties) {
|
3186
|
+
var result = baseCreate(prototype);
|
3187
|
+
return properties == null ? result : assign(result, properties);
|
3188
|
+
}
|
3189
|
+
|
3190
|
+
/**
|
3191
|
+
* Assigns own and inherited enumerable string keyed properties of source
|
3192
|
+
* objects to the destination object for all destination properties that
|
3193
|
+
* resolve to `undefined`. Source objects are applied from left to right.
|
3194
|
+
* Once a property is set, additional values of the same property are ignored.
|
3195
|
+
*
|
3196
|
+
* **Note:** This method mutates `object`.
|
3197
|
+
*
|
3198
|
+
* @static
|
3199
|
+
* @since 0.1.0
|
3200
|
+
* @memberOf _
|
3201
|
+
* @category Object
|
3202
|
+
* @param {Object} object The destination object.
|
3203
|
+
* @param {...Object} [sources] The source objects.
|
3204
|
+
* @returns {Object} Returns `object`.
|
3205
|
+
* @see _.defaultsDeep
|
3206
|
+
* @example
|
3207
|
+
*
|
3208
|
+
* _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });
|
3209
|
+
* // => { 'a': 1, 'b': 2 }
|
3210
|
+
*/
|
3211
|
+
var defaults = baseRest(function(args) {
|
3212
|
+
args.push(undefined, assignInDefaults);
|
3213
|
+
return assignInWith.apply(undefined, args);
|
3214
|
+
});
|
3215
|
+
|
3216
|
+
/**
|
3217
|
+
* Checks if `path` is a direct property of `object`.
|
3218
|
+
*
|
3219
|
+
* @static
|
3220
|
+
* @since 0.1.0
|
3221
|
+
* @memberOf _
|
3222
|
+
* @category Object
|
3223
|
+
* @param {Object} object The object to query.
|
3224
|
+
* @param {Array|string} path The path to check.
|
3225
|
+
* @returns {boolean} Returns `true` if `path` exists, else `false`.
|
3226
|
+
* @example
|
3227
|
+
*
|
3228
|
+
* var object = { 'a': { 'b': 2 } };
|
3229
|
+
* var other = _.create({ 'a': _.create({ 'b': 2 }) });
|
3230
|
+
*
|
3231
|
+
* _.has(object, 'a');
|
3232
|
+
* // => true
|
3233
|
+
*
|
3234
|
+
* _.has(object, 'a.b');
|
3235
|
+
* // => true
|
3236
|
+
*
|
3237
|
+
* _.has(object, ['a', 'b']);
|
3238
|
+
* // => true
|
3239
|
+
*
|
3240
|
+
* _.has(other, 'a');
|
3241
|
+
* // => false
|
3242
|
+
*/
|
3243
|
+
function has(object, path) {
|
3244
|
+
return object != null && hasOwnProperty.call(object, path);
|
3245
|
+
}
|
3246
|
+
|
3247
|
+
/**
|
3248
|
+
* Creates an array of the own enumerable property names of `object`.
|
3249
|
+
*
|
3250
|
+
* **Note:** Non-object values are coerced to objects. See the
|
3251
|
+
* [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
3252
|
+
* for more details.
|
3253
|
+
*
|
3254
|
+
* @static
|
3255
|
+
* @since 0.1.0
|
3256
|
+
* @memberOf _
|
3257
|
+
* @category Object
|
3258
|
+
* @param {Object} object The object to query.
|
3259
|
+
* @returns {Array} Returns the array of property names.
|
3260
|
+
* @example
|
3261
|
+
*
|
3262
|
+
* function Foo() {
|
3263
|
+
* this.a = 1;
|
3264
|
+
* this.b = 2;
|
3265
|
+
* }
|
3266
|
+
*
|
3267
|
+
* Foo.prototype.c = 3;
|
3268
|
+
*
|
3269
|
+
* _.keys(new Foo);
|
3270
|
+
* // => ['a', 'b'] (iteration order is not guaranteed)
|
3271
|
+
*
|
3272
|
+
* _.keys('hi');
|
3273
|
+
* // => ['0', '1']
|
3274
|
+
*/
|
3275
|
+
var keys = nativeKeys;
|
3276
|
+
|
3277
|
+
/**
|
3278
|
+
* Creates an array of the own and inherited enumerable property names of `object`.
|
3279
|
+
*
|
3280
|
+
* **Note:** Non-object values are coerced to objects.
|
3281
|
+
*
|
3282
|
+
* @static
|
3283
|
+
* @memberOf _
|
3284
|
+
* @since 3.0.0
|
3285
|
+
* @category Object
|
3286
|
+
* @param {Object} object The object to query.
|
3287
|
+
* @returns {Array} Returns the array of property names.
|
3288
|
+
* @example
|
3289
|
+
*
|
3290
|
+
* function Foo() {
|
3291
|
+
* this.a = 1;
|
3292
|
+
* this.b = 2;
|
3293
|
+
* }
|
3294
|
+
*
|
3295
|
+
* Foo.prototype.c = 3;
|
3296
|
+
*
|
3297
|
+
* _.keysIn(new Foo);
|
3298
|
+
* // => ['a', 'b', 'c'] (iteration order is not guaranteed)
|
3299
|
+
*/
|
3300
|
+
var keysIn = nativeKeysIn;
|
3301
|
+
|
3302
|
+
/**
|
3303
|
+
* Creates an object composed of the picked `object` properties.
|
3304
|
+
*
|
3305
|
+
* @static
|
3306
|
+
* @since 0.1.0
|
3307
|
+
* @memberOf _
|
3308
|
+
* @category Object
|
3309
|
+
* @param {Object} object The source object.
|
3310
|
+
* @param {...(string|string[])} [props] The property identifiers to pick.
|
3311
|
+
* @returns {Object} Returns the new object.
|
3312
|
+
* @example
|
3313
|
+
*
|
3314
|
+
* var object = { 'a': 1, 'b': '2', 'c': 3 };
|
3315
|
+
*
|
3316
|
+
* _.pick(object, ['a', 'c']);
|
3317
|
+
* // => { 'a': 1, 'c': 3 }
|
3318
|
+
*/
|
3319
|
+
var pick = flatRest(function(object, props) {
|
3320
|
+
return object == null ? {} : basePick(object, baseMap(props, toKey));
|
3321
|
+
});
|
3322
|
+
|
3323
|
+
/**
|
3324
|
+
* This method is like `_.get` except that if the resolved value is a
|
3325
|
+
* function it's invoked with the `this` binding of its parent object and
|
3326
|
+
* its result is returned.
|
3327
|
+
*
|
3328
|
+
* @static
|
3329
|
+
* @since 0.1.0
|
3330
|
+
* @memberOf _
|
3331
|
+
* @category Object
|
3332
|
+
* @param {Object} object The object to query.
|
3333
|
+
* @param {Array|string} path The path of the property to resolve.
|
3334
|
+
* @param {*} [defaultValue] The value returned for `undefined` resolved values.
|
3335
|
+
* @returns {*} Returns the resolved value.
|
3336
|
+
* @example
|
3337
|
+
*
|
3338
|
+
* var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };
|
3339
|
+
*
|
3340
|
+
* _.result(object, 'a[0].b.c1');
|
3341
|
+
* // => 3
|
3342
|
+
*
|
3343
|
+
* _.result(object, 'a[0].b.c2');
|
3344
|
+
* // => 4
|
3345
|
+
*
|
3346
|
+
* _.result(object, 'a[0].b.c3', 'default');
|
3347
|
+
* // => 'default'
|
3348
|
+
*
|
3349
|
+
* _.result(object, 'a[0].b.c3', _.constant('default'));
|
3350
|
+
* // => 'default'
|
3351
|
+
*/
|
3352
|
+
function result(object, path, defaultValue) {
|
3353
|
+
var value = object == null ? undefined : object[path];
|
3354
|
+
if (value === undefined) {
|
3355
|
+
value = defaultValue;
|
3356
|
+
}
|
3357
|
+
return isFunction(value) ? value.call(object) : value;
|
3358
|
+
}
|
3359
|
+
|
3360
|
+
/**
|
3361
|
+
* Creates an array of the own enumerable string keyed property values of `object`.
|
3362
|
+
*
|
3363
|
+
* **Note:** Non-object values are coerced to objects.
|
3364
|
+
*
|
3365
|
+
* @static
|
3366
|
+
* @since 0.1.0
|
3367
|
+
* @memberOf _
|
3368
|
+
* @category Object
|
3369
|
+
* @param {Object} object The object to query.
|
3370
|
+
* @returns {Array} Returns the array of property values.
|
3371
|
+
* @example
|
3372
|
+
*
|
3373
|
+
* function Foo() {
|
3374
|
+
* this.a = 1;
|
3375
|
+
* this.b = 2;
|
3376
|
+
* }
|
3377
|
+
*
|
3378
|
+
* Foo.prototype.c = 3;
|
3379
|
+
*
|
3380
|
+
* _.values(new Foo);
|
3381
|
+
* // => [1, 2] (iteration order is not guaranteed)
|
3382
|
+
*
|
3383
|
+
* _.values('hi');
|
3384
|
+
* // => ['h', 'i']
|
3385
|
+
*/
|
3386
|
+
function values(object) {
|
3387
|
+
return object == null ? [] : baseValues(object, keys(object));
|
3388
|
+
}
|
3389
|
+
|
3390
|
+
/*------------------------------------------------------------------------*/
|
3391
|
+
|
3392
|
+
/**
|
3393
|
+
* Converts the characters "&", "<", ">", '"', and "'" in `string` to their
|
3394
|
+
* corresponding HTML entities.
|
3395
|
+
*
|
3396
|
+
* **Note:** No other characters are escaped. To escape additional
|
3397
|
+
* characters use a third-party library like [_he_](https://mths.be/he).
|
3398
|
+
*
|
3399
|
+
* Though the ">" character is escaped for symmetry, characters like
|
3400
|
+
* ">" and "/" don't need escaping in HTML and have no special meaning
|
3401
|
+
* unless they're part of a tag or unquoted attribute value. See
|
3402
|
+
* [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)
|
3403
|
+
* (under "semi-related fun fact") for more details.
|
3404
|
+
*
|
3405
|
+
* When working with HTML you should always
|
3406
|
+
* [quote attribute values](http://wonko.com/post/html-escaping) to reduce
|
3407
|
+
* XSS vectors.
|
3408
|
+
*
|
3409
|
+
* @static
|
3410
|
+
* @since 0.1.0
|
3411
|
+
* @memberOf _
|
3412
|
+
* @category String
|
3413
|
+
* @param {string} [string=''] The string to escape.
|
3414
|
+
* @returns {string} Returns the escaped string.
|
3415
|
+
* @example
|
3416
|
+
*
|
3417
|
+
* _.escape('fred, barney, & pebbles');
|
3418
|
+
* // => 'fred, barney, & pebbles'
|
3419
|
+
*/
|
3420
|
+
function escape(string) {
|
3421
|
+
string = toString(string);
|
3422
|
+
return (string && reHasUnescapedHtml.test(string))
|
3423
|
+
? string.replace(reUnescapedHtml, escapeHtmlChar)
|
3424
|
+
: string;
|
3425
|
+
}
|
3426
|
+
|
3427
|
+
/*------------------------------------------------------------------------*/
|
3428
|
+
|
3429
|
+
/**
|
3430
|
+
* This method returns the first argument it receives.
|
3431
|
+
*
|
3432
|
+
* @static
|
3433
|
+
* @since 0.1.0
|
3434
|
+
* @memberOf _
|
3435
|
+
* @category Util
|
3436
|
+
* @param {*} value Any value.
|
3437
|
+
* @returns {*} Returns `value`.
|
3438
|
+
* @example
|
3439
|
+
*
|
3440
|
+
* var object = { 'a': 1 };
|
3441
|
+
*
|
3442
|
+
* console.log(_.identity(object) === object);
|
3443
|
+
* // => true
|
3444
|
+
*/
|
3445
|
+
function identity(value) {
|
3446
|
+
return value;
|
3447
|
+
}
|
3448
|
+
|
3449
|
+
/**
|
3450
|
+
* Creates a function that invokes `func` with the arguments of the created
|
3451
|
+
* function. If `func` is a property name, the created function returns the
|
3452
|
+
* property value for a given element. If `func` is an array or object, the
|
3453
|
+
* created function returns `true` for elements that contain the equivalent
|
3454
|
+
* source properties, otherwise it returns `false`.
|
3455
|
+
*
|
3456
|
+
* @static
|
3457
|
+
* @since 4.0.0
|
3458
|
+
* @memberOf _
|
3459
|
+
* @category Util
|
3460
|
+
* @param {*} [func=_.identity] The value to convert to a callback.
|
3461
|
+
* @returns {Function} Returns the callback.
|
3462
|
+
* @example
|
3463
|
+
*
|
3464
|
+
* var users = [
|
3465
|
+
* { 'user': 'barney', 'age': 36, 'active': true },
|
3466
|
+
* { 'user': 'fred', 'age': 40, 'active': false }
|
3467
|
+
* ];
|
3468
|
+
*
|
3469
|
+
* // The `_.matches` iteratee shorthand.
|
3470
|
+
* _.filter(users, _.iteratee({ 'user': 'barney', 'active': true }));
|
3471
|
+
* // => [{ 'user': 'barney', 'age': 36, 'active': true }]
|
3472
|
+
*
|
3473
|
+
* // The `_.matchesProperty` iteratee shorthand.
|
3474
|
+
* _.filter(users, _.iteratee(['user', 'fred']));
|
3475
|
+
* // => [{ 'user': 'fred', 'age': 40 }]
|
3476
|
+
*
|
3477
|
+
* // The `_.property` iteratee shorthand.
|
3478
|
+
* _.map(users, _.iteratee('user'));
|
3479
|
+
* // => ['barney', 'fred']
|
3480
|
+
*
|
3481
|
+
* // Create custom iteratee shorthands.
|
3482
|
+
* _.iteratee = _.wrap(_.iteratee, function(iteratee, func) {
|
3483
|
+
* return !_.isRegExp(func) ? iteratee(func) : function(string) {
|
3484
|
+
* return func.test(string);
|
3485
|
+
* };
|
3486
|
+
* });
|
3487
|
+
*
|
3488
|
+
* _.filter(['abc', 'def'], /ef/);
|
3489
|
+
* // => ['def']
|
3490
|
+
*/
|
3491
|
+
var iteratee = baseIteratee;
|
3492
|
+
|
3493
|
+
/**
|
3494
|
+
* Creates a function that performs a partial deep comparison between a given
|
3495
|
+
* object and `source`, returning `true` if the given object has equivalent
|
3496
|
+
* property values, else `false`.
|
3497
|
+
*
|
3498
|
+
* **Note:** The created function is equivalent to `_.isMatch` with `source`
|
3499
|
+
* partially applied.
|
3500
|
+
*
|
3501
|
+
* Partial comparisons will match empty array and empty object `source`
|
3502
|
+
* values against any array or object value, respectively. See `_.isEqual`
|
3503
|
+
* for a list of supported value comparisons.
|
3504
|
+
*
|
3505
|
+
* @static
|
3506
|
+
* @memberOf _
|
3507
|
+
* @since 3.0.0
|
3508
|
+
* @category Util
|
3509
|
+
* @param {Object} source The object of property values to match.
|
3510
|
+
* @returns {Function} Returns the new spec function.
|
3511
|
+
* @example
|
3512
|
+
*
|
3513
|
+
* var objects = [
|
3514
|
+
* { 'a': 1, 'b': 2, 'c': 3 },
|
3515
|
+
* { 'a': 4, 'b': 5, 'c': 6 }
|
3516
|
+
* ];
|
3517
|
+
*
|
3518
|
+
* _.filter(objects, _.matches({ 'a': 4, 'c': 6 }));
|
3519
|
+
* // => [{ 'a': 4, 'b': 5, 'c': 6 }]
|
3520
|
+
*/
|
3521
|
+
function matches(source) {
|
3522
|
+
return baseMatches(assign({}, source));
|
3523
|
+
}
|
3524
|
+
|
3525
|
+
/**
|
3526
|
+
* Adds all own enumerable string keyed function properties of a source
|
3527
|
+
* object to the destination object. If `object` is a function, then methods
|
3528
|
+
* are added to its prototype as well.
|
3529
|
+
*
|
3530
|
+
* **Note:** Use `_.runInContext` to create a pristine `lodash` function to
|
3531
|
+
* avoid conflicts caused by modifying the original.
|
3532
|
+
*
|
3533
|
+
* @static
|
3534
|
+
* @since 0.1.0
|
3535
|
+
* @memberOf _
|
3536
|
+
* @category Util
|
3537
|
+
* @param {Function|Object} [object=lodash] The destination object.
|
3538
|
+
* @param {Object} source The object of functions to add.
|
3539
|
+
* @param {Object} [options={}] The options object.
|
3540
|
+
* @param {boolean} [options.chain=true] Specify whether mixins are chainable.
|
3541
|
+
* @returns {Function|Object} Returns `object`.
|
3542
|
+
* @example
|
3543
|
+
*
|
3544
|
+
* function vowels(string) {
|
3545
|
+
* return _.filter(string, function(v) {
|
3546
|
+
* return /[aeiou]/i.test(v);
|
3547
|
+
* });
|
3548
|
+
* }
|
3549
|
+
*
|
3550
|
+
* _.mixin({ 'vowels': vowels });
|
3551
|
+
* _.vowels('fred');
|
3552
|
+
* // => ['e']
|
3553
|
+
*
|
3554
|
+
* _('fred').vowels().value();
|
3555
|
+
* // => ['e']
|
3556
|
+
*
|
3557
|
+
* _.mixin({ 'vowels': vowels }, { 'chain': false });
|
3558
|
+
* _('fred').vowels();
|
3559
|
+
* // => ['e']
|
3560
|
+
*/
|
3561
|
+
function mixin(object, source, options) {
|
3562
|
+
var props = keys(source),
|
3563
|
+
methodNames = baseFunctions(source, props);
|
3564
|
+
|
3565
|
+
if (options == null &&
|
3566
|
+
!(isObject(source) && (methodNames.length || !props.length))) {
|
3567
|
+
options = source;
|
3568
|
+
source = object;
|
3569
|
+
object = this;
|
3570
|
+
methodNames = baseFunctions(source, keys(source));
|
3571
|
+
}
|
3572
|
+
var chain = !(isObject(options) && 'chain' in options) || !!options.chain,
|
3573
|
+
isFunc = isFunction(object);
|
3574
|
+
|
3575
|
+
baseEach(methodNames, function(methodName) {
|
3576
|
+
var func = source[methodName];
|
3577
|
+
object[methodName] = func;
|
3578
|
+
if (isFunc) {
|
3579
|
+
object.prototype[methodName] = function() {
|
3580
|
+
var chainAll = this.__chain__;
|
3581
|
+
if (chain || chainAll) {
|
3582
|
+
var result = object(this.__wrapped__),
|
3583
|
+
actions = result.__actions__ = copyArray(this.__actions__);
|
3584
|
+
|
3585
|
+
actions.push({ 'func': func, 'args': arguments, 'thisArg': object });
|
3586
|
+
result.__chain__ = chainAll;
|
3587
|
+
return result;
|
3588
|
+
}
|
3589
|
+
return func.apply(object, arrayPush([this.value()], arguments));
|
3590
|
+
};
|
3591
|
+
}
|
3592
|
+
});
|
3593
|
+
|
3594
|
+
return object;
|
3595
|
+
}
|
3596
|
+
|
3597
|
+
/**
|
3598
|
+
* Reverts the `_` variable to its previous value and returns a reference to
|
3599
|
+
* the `lodash` function.
|
3600
|
+
*
|
3601
|
+
* @static
|
3602
|
+
* @since 0.1.0
|
3603
|
+
* @memberOf _
|
3604
|
+
* @category Util
|
3605
|
+
* @returns {Function} Returns the `lodash` function.
|
3606
|
+
* @example
|
3607
|
+
*
|
3608
|
+
* var lodash = _.noConflict();
|
3609
|
+
*/
|
3610
|
+
function noConflict() {
|
3611
|
+
if (root._ === this) {
|
3612
|
+
root._ = oldDash;
|
3613
|
+
}
|
3614
|
+
return this;
|
3615
|
+
}
|
3616
|
+
|
3617
|
+
/**
|
3618
|
+
* This method returns `undefined`.
|
3619
|
+
*
|
3620
|
+
* @static
|
3621
|
+
* @memberOf _
|
3622
|
+
* @since 2.3.0
|
3623
|
+
* @category Util
|
3624
|
+
* @example
|
3625
|
+
*
|
3626
|
+
* _.times(2, _.noop);
|
3627
|
+
* // => [undefined, undefined]
|
3628
|
+
*/
|
3629
|
+
function noop() {
|
3630
|
+
// No operation performed.
|
3631
|
+
}
|
3632
|
+
|
3633
|
+
/**
|
3634
|
+
* Generates a unique ID. If `prefix` is given, the ID is appended to it.
|
3635
|
+
*
|
3636
|
+
* @static
|
3637
|
+
* @since 0.1.0
|
3638
|
+
* @memberOf _
|
3639
|
+
* @category Util
|
3640
|
+
* @param {string} [prefix=''] The value to prefix the ID with.
|
3641
|
+
* @returns {string} Returns the unique ID.
|
3642
|
+
* @example
|
3643
|
+
*
|
3644
|
+
* _.uniqueId('contact_');
|
3645
|
+
* // => 'contact_104'
|
3646
|
+
*
|
3647
|
+
* _.uniqueId();
|
3648
|
+
* // => '105'
|
3649
|
+
*/
|
3650
|
+
function uniqueId(prefix) {
|
3651
|
+
var id = ++idCounter;
|
3652
|
+
return toString(prefix) + id;
|
3653
|
+
}
|
3654
|
+
|
3655
|
+
/*------------------------------------------------------------------------*/
|
3656
|
+
|
3657
|
+
/**
|
3658
|
+
* Computes the maximum value of `array`. If `array` is empty or falsey,
|
3659
|
+
* `undefined` is returned.
|
3660
|
+
*
|
3661
|
+
* @static
|
3662
|
+
* @since 0.1.0
|
3663
|
+
* @memberOf _
|
3664
|
+
* @category Math
|
3665
|
+
* @param {Array} array The array to iterate over.
|
3666
|
+
* @returns {*} Returns the maximum value.
|
3667
|
+
* @example
|
3668
|
+
*
|
3669
|
+
* _.max([4, 2, 8, 6]);
|
3670
|
+
* // => 8
|
3671
|
+
*
|
3672
|
+
* _.max([]);
|
3673
|
+
* // => undefined
|
3674
|
+
*/
|
3675
|
+
function max(array) {
|
3676
|
+
return (array && array.length)
|
3677
|
+
? baseExtremum(array, identity, baseGt)
|
3678
|
+
: undefined;
|
3679
|
+
}
|
3680
|
+
|
3681
|
+
/**
|
3682
|
+
* Computes the minimum value of `array`. If `array` is empty or falsey,
|
3683
|
+
* `undefined` is returned.
|
3684
|
+
*
|
3685
|
+
* @static
|
3686
|
+
* @since 0.1.0
|
3687
|
+
* @memberOf _
|
3688
|
+
* @category Math
|
3689
|
+
* @param {Array} array The array to iterate over.
|
3690
|
+
* @returns {*} Returns the minimum value.
|
3691
|
+
* @example
|
3692
|
+
*
|
3693
|
+
* _.min([4, 2, 8, 6]);
|
3694
|
+
* // => 2
|
3695
|
+
*
|
3696
|
+
* _.min([]);
|
3697
|
+
* // => undefined
|
3698
|
+
*/
|
3699
|
+
function min(array) {
|
3700
|
+
return (array && array.length)
|
3701
|
+
? baseExtremum(array, identity, baseLt)
|
3702
|
+
: undefined;
|
3703
|
+
}
|
3704
|
+
|
3705
|
+
/*------------------------------------------------------------------------*/
|
3706
|
+
|
3707
|
+
// Add methods that return wrapped values in chain sequences.
|
3708
|
+
lodash.assignIn = assignIn;
|
3709
|
+
lodash.before = before;
|
3710
|
+
lodash.bind = bind;
|
3711
|
+
lodash.chain = chain;
|
3712
|
+
lodash.compact = compact;
|
3713
|
+
lodash.concat = concat;
|
3714
|
+
lodash.create = create;
|
3715
|
+
lodash.defaults = defaults;
|
3716
|
+
lodash.defer = defer;
|
3717
|
+
lodash.delay = delay;
|
3718
|
+
lodash.filter = filter;
|
3719
|
+
lodash.flatten = flatten;
|
3720
|
+
lodash.flattenDeep = flattenDeep;
|
3721
|
+
lodash.iteratee = iteratee;
|
3722
|
+
lodash.keys = keys;
|
3723
|
+
lodash.map = map;
|
3724
|
+
lodash.matches = matches;
|
3725
|
+
lodash.mixin = mixin;
|
3726
|
+
lodash.negate = negate;
|
3727
|
+
lodash.once = once;
|
3728
|
+
lodash.pick = pick;
|
3729
|
+
lodash.slice = slice;
|
3730
|
+
lodash.sortBy = sortBy;
|
3731
|
+
lodash.tap = tap;
|
3732
|
+
lodash.thru = thru;
|
3733
|
+
lodash.toArray = toArray;
|
3734
|
+
lodash.values = values;
|
3735
|
+
|
3736
|
+
// Add aliases.
|
3737
|
+
lodash.extend = assignIn;
|
3738
|
+
|
3739
|
+
// Add methods to `lodash.prototype`.
|
3740
|
+
mixin(lodash, lodash);
|
3741
|
+
|
3742
|
+
/*------------------------------------------------------------------------*/
|
3743
|
+
|
3744
|
+
// Add methods that return unwrapped values in chain sequences.
|
3745
|
+
lodash.clone = clone;
|
3746
|
+
lodash.escape = escape;
|
3747
|
+
lodash.every = every;
|
3748
|
+
lodash.find = find;
|
3749
|
+
lodash.forEach = forEach;
|
3750
|
+
lodash.has = has;
|
3751
|
+
lodash.head = head;
|
3752
|
+
lodash.identity = identity;
|
3753
|
+
lodash.indexOf = indexOf;
|
3754
|
+
lodash.isArguments = isArguments;
|
3755
|
+
lodash.isArray = isArray;
|
3756
|
+
lodash.isBoolean = isBoolean;
|
3757
|
+
lodash.isDate = isDate;
|
3758
|
+
lodash.isEmpty = isEmpty;
|
3759
|
+
lodash.isEqual = isEqual;
|
3760
|
+
lodash.isFinite = isFinite;
|
3761
|
+
lodash.isFunction = isFunction;
|
3762
|
+
lodash.isNaN = isNaN;
|
3763
|
+
lodash.isNull = isNull;
|
3764
|
+
lodash.isNumber = isNumber;
|
3765
|
+
lodash.isObject = isObject;
|
3766
|
+
lodash.isRegExp = isRegExp;
|
3767
|
+
lodash.isString = isString;
|
3768
|
+
lodash.isUndefined = isUndefined;
|
3769
|
+
lodash.last = last;
|
3770
|
+
lodash.max = max;
|
3771
|
+
lodash.min = min;
|
3772
|
+
lodash.noConflict = noConflict;
|
3773
|
+
lodash.noop = noop;
|
3774
|
+
lodash.reduce = reduce;
|
3775
|
+
lodash.result = result;
|
3776
|
+
lodash.size = size;
|
3777
|
+
lodash.some = some;
|
3778
|
+
lodash.uniqueId = uniqueId;
|
3779
|
+
|
3780
|
+
// Add aliases.
|
3781
|
+
lodash.each = forEach;
|
3782
|
+
lodash.first = head;
|
3783
|
+
|
3784
|
+
mixin(lodash, (function() {
|
3785
|
+
var source = {};
|
3786
|
+
baseForOwn(lodash, function(func, methodName) {
|
3787
|
+
if (!hasOwnProperty.call(lodash.prototype, methodName)) {
|
3788
|
+
source[methodName] = func;
|
3789
|
+
}
|
3790
|
+
});
|
3791
|
+
return source;
|
3792
|
+
}()), { 'chain': false });
|
3793
|
+
|
3794
|
+
/*------------------------------------------------------------------------*/
|
3795
|
+
|
3796
|
+
/**
|
3797
|
+
* The semantic version number.
|
3798
|
+
*
|
3799
|
+
* @static
|
3800
|
+
* @memberOf _
|
3801
|
+
* @type {string}
|
3802
|
+
*/
|
3803
|
+
lodash.VERSION = VERSION;
|
3804
|
+
|
3805
|
+
// Add `Array` methods to `lodash.prototype`.
|
3806
|
+
baseEach(['pop', 'join', 'replace', 'reverse', 'split', 'push', 'shift', 'sort', 'splice', 'unshift'], function(methodName) {
|
3807
|
+
var func = (/^(?:replace|split)$/.test(methodName) ? String.prototype : arrayProto)[methodName],
|
3808
|
+
chainName = /^(?:push|sort|unshift)$/.test(methodName) ? 'tap' : 'thru',
|
3809
|
+
retUnwrapped = /^(?:pop|join|replace|shift)$/.test(methodName);
|
3810
|
+
|
3811
|
+
lodash.prototype[methodName] = function() {
|
3812
|
+
var args = arguments;
|
3813
|
+
if (retUnwrapped && !this.__chain__) {
|
3814
|
+
var value = this.value();
|
3815
|
+
return func.apply(isArray(value) ? value : [], args);
|
3816
|
+
}
|
3817
|
+
return this[chainName](function(value) {
|
3818
|
+
return func.apply(isArray(value) ? value : [], args);
|
3819
|
+
});
|
3820
|
+
};
|
3821
|
+
});
|
3822
|
+
|
3823
|
+
// Add chain sequence methods to the `lodash` wrapper.
|
3824
|
+
lodash.prototype.toJSON = lodash.prototype.valueOf = lodash.prototype.value = wrapperValue;
|
3825
|
+
|
3826
|
+
/*--------------------------------------------------------------------------*/
|
3827
|
+
|
3828
|
+
// Some AMD build optimizers, like r.js, check for condition patterns like:
|
3829
|
+
if (typeof define == 'function' && typeof define.amd == 'object' && define.amd) {
|
3830
|
+
// Expose Lodash on the global object to prevent errors when Lodash is
|
3831
|
+
// loaded by a script tag in the presence of an AMD loader.
|
3832
|
+
// See http://requirejs.org/docs/errors.html#mismatch for more details.
|
3833
|
+
// Use `_.noConflict` to remove Lodash from the global object.
|
3834
|
+
root._ = lodash;
|
3835
|
+
|
3836
|
+
// Define as an anonymous module so, through path mapping, it can be
|
3837
|
+
// referenced as the "underscore" module.
|
3838
|
+
define(function() {
|
3839
|
+
return lodash;
|
3840
|
+
});
|
3841
|
+
}
|
3842
|
+
// Check for `exports` after `define` in case a build optimizer adds it.
|
3843
|
+
else if (freeModule) {
|
3844
|
+
// Export for Node.js.
|
3845
|
+
(freeModule.exports = lodash)._ = lodash;
|
3846
|
+
// Export for CommonJS support.
|
3847
|
+
freeExports._ = lodash;
|
3848
|
+
}
|
3849
|
+
else {
|
3850
|
+
// Export to the global object.
|
3851
|
+
root._ = lodash;
|
3852
|
+
}
|
3853
|
+
}.call(this));
|