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,3868 @@
|
|
1
|
+
/* js-yaml 3.8.2 https://github.com/nodeca/js-yaml */(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.jsyaml = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
|
2
|
+
'use strict';
|
3
|
+
|
4
|
+
|
5
|
+
var loader = require('./js-yaml/loader');
|
6
|
+
var dumper = require('./js-yaml/dumper');
|
7
|
+
|
8
|
+
|
9
|
+
function deprecated(name) {
|
10
|
+
return function () {
|
11
|
+
throw new Error('Function ' + name + ' is deprecated and cannot be used.');
|
12
|
+
};
|
13
|
+
}
|
14
|
+
|
15
|
+
|
16
|
+
module.exports.Type = require('./js-yaml/type');
|
17
|
+
module.exports.Schema = require('./js-yaml/schema');
|
18
|
+
module.exports.FAILSAFE_SCHEMA = require('./js-yaml/schema/failsafe');
|
19
|
+
module.exports.JSON_SCHEMA = require('./js-yaml/schema/json');
|
20
|
+
module.exports.CORE_SCHEMA = require('./js-yaml/schema/core');
|
21
|
+
module.exports.DEFAULT_SAFE_SCHEMA = require('./js-yaml/schema/default_safe');
|
22
|
+
module.exports.DEFAULT_FULL_SCHEMA = require('./js-yaml/schema/default_full');
|
23
|
+
module.exports.load = loader.load;
|
24
|
+
module.exports.loadAll = loader.loadAll;
|
25
|
+
module.exports.safeLoad = loader.safeLoad;
|
26
|
+
module.exports.safeLoadAll = loader.safeLoadAll;
|
27
|
+
module.exports.dump = dumper.dump;
|
28
|
+
module.exports.safeDump = dumper.safeDump;
|
29
|
+
module.exports.YAMLException = require('./js-yaml/exception');
|
30
|
+
|
31
|
+
// Deprecated schema names from JS-YAML 2.0.x
|
32
|
+
module.exports.MINIMAL_SCHEMA = require('./js-yaml/schema/failsafe');
|
33
|
+
module.exports.SAFE_SCHEMA = require('./js-yaml/schema/default_safe');
|
34
|
+
module.exports.DEFAULT_SCHEMA = require('./js-yaml/schema/default_full');
|
35
|
+
|
36
|
+
// Deprecated functions from JS-YAML 1.x.x
|
37
|
+
module.exports.scan = deprecated('scan');
|
38
|
+
module.exports.parse = deprecated('parse');
|
39
|
+
module.exports.compose = deprecated('compose');
|
40
|
+
module.exports.addConstructor = deprecated('addConstructor');
|
41
|
+
|
42
|
+
},{"./js-yaml/dumper":3,"./js-yaml/exception":4,"./js-yaml/loader":5,"./js-yaml/schema":7,"./js-yaml/schema/core":8,"./js-yaml/schema/default_full":9,"./js-yaml/schema/default_safe":10,"./js-yaml/schema/failsafe":11,"./js-yaml/schema/json":12,"./js-yaml/type":13}],2:[function(require,module,exports){
|
43
|
+
'use strict';
|
44
|
+
|
45
|
+
|
46
|
+
function isNothing(subject) {
|
47
|
+
return (typeof subject === 'undefined') || (subject === null);
|
48
|
+
}
|
49
|
+
|
50
|
+
|
51
|
+
function isObject(subject) {
|
52
|
+
return (typeof subject === 'object') && (subject !== null);
|
53
|
+
}
|
54
|
+
|
55
|
+
|
56
|
+
function toArray(sequence) {
|
57
|
+
if (Array.isArray(sequence)) return sequence;
|
58
|
+
else if (isNothing(sequence)) return [];
|
59
|
+
|
60
|
+
return [ sequence ];
|
61
|
+
}
|
62
|
+
|
63
|
+
|
64
|
+
function extend(target, source) {
|
65
|
+
var index, length, key, sourceKeys;
|
66
|
+
|
67
|
+
if (source) {
|
68
|
+
sourceKeys = Object.keys(source);
|
69
|
+
|
70
|
+
for (index = 0, length = sourceKeys.length; index < length; index += 1) {
|
71
|
+
key = sourceKeys[index];
|
72
|
+
target[key] = source[key];
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
return target;
|
77
|
+
}
|
78
|
+
|
79
|
+
|
80
|
+
function repeat(string, count) {
|
81
|
+
var result = '', cycle;
|
82
|
+
|
83
|
+
for (cycle = 0; cycle < count; cycle += 1) {
|
84
|
+
result += string;
|
85
|
+
}
|
86
|
+
|
87
|
+
return result;
|
88
|
+
}
|
89
|
+
|
90
|
+
|
91
|
+
function isNegativeZero(number) {
|
92
|
+
return (number === 0) && (Number.NEGATIVE_INFINITY === 1 / number);
|
93
|
+
}
|
94
|
+
|
95
|
+
|
96
|
+
module.exports.isNothing = isNothing;
|
97
|
+
module.exports.isObject = isObject;
|
98
|
+
module.exports.toArray = toArray;
|
99
|
+
module.exports.repeat = repeat;
|
100
|
+
module.exports.isNegativeZero = isNegativeZero;
|
101
|
+
module.exports.extend = extend;
|
102
|
+
|
103
|
+
},{}],3:[function(require,module,exports){
|
104
|
+
'use strict';
|
105
|
+
|
106
|
+
/*eslint-disable no-use-before-define*/
|
107
|
+
|
108
|
+
var common = require('./common');
|
109
|
+
var YAMLException = require('./exception');
|
110
|
+
var DEFAULT_FULL_SCHEMA = require('./schema/default_full');
|
111
|
+
var DEFAULT_SAFE_SCHEMA = require('./schema/default_safe');
|
112
|
+
|
113
|
+
var _toString = Object.prototype.toString;
|
114
|
+
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
115
|
+
|
116
|
+
var CHAR_TAB = 0x09; /* Tab */
|
117
|
+
var CHAR_LINE_FEED = 0x0A; /* LF */
|
118
|
+
var CHAR_SPACE = 0x20; /* Space */
|
119
|
+
var CHAR_EXCLAMATION = 0x21; /* ! */
|
120
|
+
var CHAR_DOUBLE_QUOTE = 0x22; /* " */
|
121
|
+
var CHAR_SHARP = 0x23; /* # */
|
122
|
+
var CHAR_PERCENT = 0x25; /* % */
|
123
|
+
var CHAR_AMPERSAND = 0x26; /* & */
|
124
|
+
var CHAR_SINGLE_QUOTE = 0x27; /* ' */
|
125
|
+
var CHAR_ASTERISK = 0x2A; /* * */
|
126
|
+
var CHAR_COMMA = 0x2C; /* , */
|
127
|
+
var CHAR_MINUS = 0x2D; /* - */
|
128
|
+
var CHAR_COLON = 0x3A; /* : */
|
129
|
+
var CHAR_GREATER_THAN = 0x3E; /* > */
|
130
|
+
var CHAR_QUESTION = 0x3F; /* ? */
|
131
|
+
var CHAR_COMMERCIAL_AT = 0x40; /* @ */
|
132
|
+
var CHAR_LEFT_SQUARE_BRACKET = 0x5B; /* [ */
|
133
|
+
var CHAR_RIGHT_SQUARE_BRACKET = 0x5D; /* ] */
|
134
|
+
var CHAR_GRAVE_ACCENT = 0x60; /* ` */
|
135
|
+
var CHAR_LEFT_CURLY_BRACKET = 0x7B; /* { */
|
136
|
+
var CHAR_VERTICAL_LINE = 0x7C; /* | */
|
137
|
+
var CHAR_RIGHT_CURLY_BRACKET = 0x7D; /* } */
|
138
|
+
|
139
|
+
var ESCAPE_SEQUENCES = {};
|
140
|
+
|
141
|
+
ESCAPE_SEQUENCES[0x00] = '\\0';
|
142
|
+
ESCAPE_SEQUENCES[0x07] = '\\a';
|
143
|
+
ESCAPE_SEQUENCES[0x08] = '\\b';
|
144
|
+
ESCAPE_SEQUENCES[0x09] = '\\t';
|
145
|
+
ESCAPE_SEQUENCES[0x0A] = '\\n';
|
146
|
+
ESCAPE_SEQUENCES[0x0B] = '\\v';
|
147
|
+
ESCAPE_SEQUENCES[0x0C] = '\\f';
|
148
|
+
ESCAPE_SEQUENCES[0x0D] = '\\r';
|
149
|
+
ESCAPE_SEQUENCES[0x1B] = '\\e';
|
150
|
+
ESCAPE_SEQUENCES[0x22] = '\\"';
|
151
|
+
ESCAPE_SEQUENCES[0x5C] = '\\\\';
|
152
|
+
ESCAPE_SEQUENCES[0x85] = '\\N';
|
153
|
+
ESCAPE_SEQUENCES[0xA0] = '\\_';
|
154
|
+
ESCAPE_SEQUENCES[0x2028] = '\\L';
|
155
|
+
ESCAPE_SEQUENCES[0x2029] = '\\P';
|
156
|
+
|
157
|
+
var DEPRECATED_BOOLEANS_SYNTAX = [
|
158
|
+
'y', 'Y', 'yes', 'Yes', 'YES', 'on', 'On', 'ON',
|
159
|
+
'n', 'N', 'no', 'No', 'NO', 'off', 'Off', 'OFF'
|
160
|
+
];
|
161
|
+
|
162
|
+
function compileStyleMap(schema, map) {
|
163
|
+
var result, keys, index, length, tag, style, type;
|
164
|
+
|
165
|
+
if (map === null) return {};
|
166
|
+
|
167
|
+
result = {};
|
168
|
+
keys = Object.keys(map);
|
169
|
+
|
170
|
+
for (index = 0, length = keys.length; index < length; index += 1) {
|
171
|
+
tag = keys[index];
|
172
|
+
style = String(map[tag]);
|
173
|
+
|
174
|
+
if (tag.slice(0, 2) === '!!') {
|
175
|
+
tag = 'tag:yaml.org,2002:' + tag.slice(2);
|
176
|
+
}
|
177
|
+
type = schema.compiledTypeMap['fallback'][tag];
|
178
|
+
|
179
|
+
if (type && _hasOwnProperty.call(type.styleAliases, style)) {
|
180
|
+
style = type.styleAliases[style];
|
181
|
+
}
|
182
|
+
|
183
|
+
result[tag] = style;
|
184
|
+
}
|
185
|
+
|
186
|
+
return result;
|
187
|
+
}
|
188
|
+
|
189
|
+
function encodeHex(character) {
|
190
|
+
var string, handle, length;
|
191
|
+
|
192
|
+
string = character.toString(16).toUpperCase();
|
193
|
+
|
194
|
+
if (character <= 0xFF) {
|
195
|
+
handle = 'x';
|
196
|
+
length = 2;
|
197
|
+
} else if (character <= 0xFFFF) {
|
198
|
+
handle = 'u';
|
199
|
+
length = 4;
|
200
|
+
} else if (character <= 0xFFFFFFFF) {
|
201
|
+
handle = 'U';
|
202
|
+
length = 8;
|
203
|
+
} else {
|
204
|
+
throw new YAMLException('code point within a string may not be greater than 0xFFFFFFFF');
|
205
|
+
}
|
206
|
+
|
207
|
+
return '\\' + handle + common.repeat('0', length - string.length) + string;
|
208
|
+
}
|
209
|
+
|
210
|
+
function State(options) {
|
211
|
+
this.schema = options['schema'] || DEFAULT_FULL_SCHEMA;
|
212
|
+
this.indent = Math.max(1, (options['indent'] || 2));
|
213
|
+
this.skipInvalid = options['skipInvalid'] || false;
|
214
|
+
this.flowLevel = (common.isNothing(options['flowLevel']) ? -1 : options['flowLevel']);
|
215
|
+
this.styleMap = compileStyleMap(this.schema, options['styles'] || null);
|
216
|
+
this.sortKeys = options['sortKeys'] || false;
|
217
|
+
this.lineWidth = options['lineWidth'] || 80;
|
218
|
+
this.noRefs = options['noRefs'] || false;
|
219
|
+
this.noCompatMode = options['noCompatMode'] || false;
|
220
|
+
|
221
|
+
this.implicitTypes = this.schema.compiledImplicit;
|
222
|
+
this.explicitTypes = this.schema.compiledExplicit;
|
223
|
+
|
224
|
+
this.tag = null;
|
225
|
+
this.result = '';
|
226
|
+
|
227
|
+
this.duplicates = [];
|
228
|
+
this.usedDuplicates = null;
|
229
|
+
}
|
230
|
+
|
231
|
+
// Indents every line in a string. Empty lines (\n only) are not indented.
|
232
|
+
function indentString(string, spaces) {
|
233
|
+
var ind = common.repeat(' ', spaces),
|
234
|
+
position = 0,
|
235
|
+
next = -1,
|
236
|
+
result = '',
|
237
|
+
line,
|
238
|
+
length = string.length;
|
239
|
+
|
240
|
+
while (position < length) {
|
241
|
+
next = string.indexOf('\n', position);
|
242
|
+
if (next === -1) {
|
243
|
+
line = string.slice(position);
|
244
|
+
position = length;
|
245
|
+
} else {
|
246
|
+
line = string.slice(position, next + 1);
|
247
|
+
position = next + 1;
|
248
|
+
}
|
249
|
+
|
250
|
+
if (line.length && line !== '\n') result += ind;
|
251
|
+
|
252
|
+
result += line;
|
253
|
+
}
|
254
|
+
|
255
|
+
return result;
|
256
|
+
}
|
257
|
+
|
258
|
+
function generateNextLine(state, level) {
|
259
|
+
return '\n' + common.repeat(' ', state.indent * level);
|
260
|
+
}
|
261
|
+
|
262
|
+
function testImplicitResolving(state, str) {
|
263
|
+
var index, length, type;
|
264
|
+
|
265
|
+
for (index = 0, length = state.implicitTypes.length; index < length; index += 1) {
|
266
|
+
type = state.implicitTypes[index];
|
267
|
+
|
268
|
+
if (type.resolve(str)) {
|
269
|
+
return true;
|
270
|
+
}
|
271
|
+
}
|
272
|
+
|
273
|
+
return false;
|
274
|
+
}
|
275
|
+
|
276
|
+
// [33] s-white ::= s-space | s-tab
|
277
|
+
function isWhitespace(c) {
|
278
|
+
return c === CHAR_SPACE || c === CHAR_TAB;
|
279
|
+
}
|
280
|
+
|
281
|
+
// Returns true if the character can be printed without escaping.
|
282
|
+
// From YAML 1.2: "any allowed characters known to be non-printable
|
283
|
+
// should also be escaped. [However,] This isn’t mandatory"
|
284
|
+
// Derived from nb-char - \t - #x85 - #xA0 - #x2028 - #x2029.
|
285
|
+
function isPrintable(c) {
|
286
|
+
return (0x00020 <= c && c <= 0x00007E)
|
287
|
+
|| ((0x000A1 <= c && c <= 0x00D7FF) && c !== 0x2028 && c !== 0x2029)
|
288
|
+
|| ((0x0E000 <= c && c <= 0x00FFFD) && c !== 0xFEFF /* BOM */)
|
289
|
+
|| (0x10000 <= c && c <= 0x10FFFF);
|
290
|
+
}
|
291
|
+
|
292
|
+
// Simplified test for values allowed after the first character in plain style.
|
293
|
+
function isPlainSafe(c) {
|
294
|
+
// Uses a subset of nb-char - c-flow-indicator - ":" - "#"
|
295
|
+
// where nb-char ::= c-printable - b-char - c-byte-order-mark.
|
296
|
+
return isPrintable(c) && c !== 0xFEFF
|
297
|
+
// - c-flow-indicator
|
298
|
+
&& c !== CHAR_COMMA
|
299
|
+
&& c !== CHAR_LEFT_SQUARE_BRACKET
|
300
|
+
&& c !== CHAR_RIGHT_SQUARE_BRACKET
|
301
|
+
&& c !== CHAR_LEFT_CURLY_BRACKET
|
302
|
+
&& c !== CHAR_RIGHT_CURLY_BRACKET
|
303
|
+
// - ":" - "#"
|
304
|
+
&& c !== CHAR_COLON
|
305
|
+
&& c !== CHAR_SHARP;
|
306
|
+
}
|
307
|
+
|
308
|
+
// Simplified test for values allowed as the first character in plain style.
|
309
|
+
function isPlainSafeFirst(c) {
|
310
|
+
// Uses a subset of ns-char - c-indicator
|
311
|
+
// where ns-char = nb-char - s-white.
|
312
|
+
return isPrintable(c) && c !== 0xFEFF
|
313
|
+
&& !isWhitespace(c) // - s-white
|
314
|
+
// - (c-indicator ::=
|
315
|
+
// “-” | “?” | “:” | “,” | “[” | “]” | “{” | “}”
|
316
|
+
&& c !== CHAR_MINUS
|
317
|
+
&& c !== CHAR_QUESTION
|
318
|
+
&& c !== CHAR_COLON
|
319
|
+
&& c !== CHAR_COMMA
|
320
|
+
&& c !== CHAR_LEFT_SQUARE_BRACKET
|
321
|
+
&& c !== CHAR_RIGHT_SQUARE_BRACKET
|
322
|
+
&& c !== CHAR_LEFT_CURLY_BRACKET
|
323
|
+
&& c !== CHAR_RIGHT_CURLY_BRACKET
|
324
|
+
// | “#” | “&” | “*” | “!” | “|” | “>” | “'” | “"”
|
325
|
+
&& c !== CHAR_SHARP
|
326
|
+
&& c !== CHAR_AMPERSAND
|
327
|
+
&& c !== CHAR_ASTERISK
|
328
|
+
&& c !== CHAR_EXCLAMATION
|
329
|
+
&& c !== CHAR_VERTICAL_LINE
|
330
|
+
&& c !== CHAR_GREATER_THAN
|
331
|
+
&& c !== CHAR_SINGLE_QUOTE
|
332
|
+
&& c !== CHAR_DOUBLE_QUOTE
|
333
|
+
// | “%” | “@” | “`”)
|
334
|
+
&& c !== CHAR_PERCENT
|
335
|
+
&& c !== CHAR_COMMERCIAL_AT
|
336
|
+
&& c !== CHAR_GRAVE_ACCENT;
|
337
|
+
}
|
338
|
+
|
339
|
+
var STYLE_PLAIN = 1,
|
340
|
+
STYLE_SINGLE = 2,
|
341
|
+
STYLE_LITERAL = 3,
|
342
|
+
STYLE_FOLDED = 4,
|
343
|
+
STYLE_DOUBLE = 5;
|
344
|
+
|
345
|
+
// Determines which scalar styles are possible and returns the preferred style.
|
346
|
+
// lineWidth = -1 => no limit.
|
347
|
+
// Pre-conditions: str.length > 0.
|
348
|
+
// Post-conditions:
|
349
|
+
// STYLE_PLAIN or STYLE_SINGLE => no \n are in the string.
|
350
|
+
// STYLE_LITERAL => no lines are suitable for folding (or lineWidth is -1).
|
351
|
+
// STYLE_FOLDED => a line > lineWidth and can be folded (and lineWidth != -1).
|
352
|
+
function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, testAmbiguousType) {
|
353
|
+
var i;
|
354
|
+
var char;
|
355
|
+
var hasLineBreak = false;
|
356
|
+
var hasFoldableLine = false; // only checked if shouldTrackWidth
|
357
|
+
var shouldTrackWidth = lineWidth !== -1;
|
358
|
+
var previousLineBreak = -1; // count the first line correctly
|
359
|
+
var plain = isPlainSafeFirst(string.charCodeAt(0))
|
360
|
+
&& !isWhitespace(string.charCodeAt(string.length - 1));
|
361
|
+
|
362
|
+
if (singleLineOnly) {
|
363
|
+
// Case: no block styles.
|
364
|
+
// Check for disallowed characters to rule out plain and single.
|
365
|
+
for (i = 0; i < string.length; i++) {
|
366
|
+
char = string.charCodeAt(i);
|
367
|
+
if (!isPrintable(char)) {
|
368
|
+
return STYLE_DOUBLE;
|
369
|
+
}
|
370
|
+
plain = plain && isPlainSafe(char);
|
371
|
+
}
|
372
|
+
} else {
|
373
|
+
// Case: block styles permitted.
|
374
|
+
for (i = 0; i < string.length; i++) {
|
375
|
+
char = string.charCodeAt(i);
|
376
|
+
if (char === CHAR_LINE_FEED) {
|
377
|
+
hasLineBreak = true;
|
378
|
+
// Check if any line can be folded.
|
379
|
+
if (shouldTrackWidth) {
|
380
|
+
hasFoldableLine = hasFoldableLine ||
|
381
|
+
// Foldable line = too long, and not more-indented.
|
382
|
+
(i - previousLineBreak - 1 > lineWidth &&
|
383
|
+
string[previousLineBreak + 1] !== ' ');
|
384
|
+
previousLineBreak = i;
|
385
|
+
}
|
386
|
+
} else if (!isPrintable(char)) {
|
387
|
+
return STYLE_DOUBLE;
|
388
|
+
}
|
389
|
+
plain = plain && isPlainSafe(char);
|
390
|
+
}
|
391
|
+
// in case the end is missing a \n
|
392
|
+
hasFoldableLine = hasFoldableLine || (shouldTrackWidth &&
|
393
|
+
(i - previousLineBreak - 1 > lineWidth &&
|
394
|
+
string[previousLineBreak + 1] !== ' '));
|
395
|
+
}
|
396
|
+
// Although every style can represent \n without escaping, prefer block styles
|
397
|
+
// for multiline, since they're more readable and they don't add empty lines.
|
398
|
+
// Also prefer folding a super-long line.
|
399
|
+
if (!hasLineBreak && !hasFoldableLine) {
|
400
|
+
// Strings interpretable as another type have to be quoted;
|
401
|
+
// e.g. the string 'true' vs. the boolean true.
|
402
|
+
return plain && !testAmbiguousType(string)
|
403
|
+
? STYLE_PLAIN : STYLE_SINGLE;
|
404
|
+
}
|
405
|
+
// Edge case: block indentation indicator can only have one digit.
|
406
|
+
if (string[0] === ' ' && indentPerLevel > 9) {
|
407
|
+
return STYLE_DOUBLE;
|
408
|
+
}
|
409
|
+
// At this point we know block styles are valid.
|
410
|
+
// Prefer literal style unless we want to fold.
|
411
|
+
return hasFoldableLine ? STYLE_FOLDED : STYLE_LITERAL;
|
412
|
+
}
|
413
|
+
|
414
|
+
// Note: line breaking/folding is implemented for only the folded style.
|
415
|
+
// NB. We drop the last trailing newline (if any) of a returned block scalar
|
416
|
+
// since the dumper adds its own newline. This always works:
|
417
|
+
// • No ending newline => unaffected; already using strip "-" chomping.
|
418
|
+
// • Ending newline => removed then restored.
|
419
|
+
// Importantly, this keeps the "+" chomp indicator from gaining an extra line.
|
420
|
+
function writeScalar(state, string, level, iskey) {
|
421
|
+
state.dump = (function () {
|
422
|
+
if (string.length === 0) {
|
423
|
+
return "''";
|
424
|
+
}
|
425
|
+
if (!state.noCompatMode &&
|
426
|
+
DEPRECATED_BOOLEANS_SYNTAX.indexOf(string) !== -1) {
|
427
|
+
return "'" + string + "'";
|
428
|
+
}
|
429
|
+
|
430
|
+
var indent = state.indent * Math.max(1, level); // no 0-indent scalars
|
431
|
+
// As indentation gets deeper, let the width decrease monotonically
|
432
|
+
// to the lower bound min(state.lineWidth, 40).
|
433
|
+
// Note that this implies
|
434
|
+
// state.lineWidth ≤ 40 + state.indent: width is fixed at the lower bound.
|
435
|
+
// state.lineWidth > 40 + state.indent: width decreases until the lower bound.
|
436
|
+
// This behaves better than a constant minimum width which disallows narrower options,
|
437
|
+
// or an indent threshold which causes the width to suddenly increase.
|
438
|
+
var lineWidth = state.lineWidth === -1
|
439
|
+
? -1 : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent);
|
440
|
+
|
441
|
+
// Without knowing if keys are implicit/explicit, assume implicit for safety.
|
442
|
+
var singleLineOnly = iskey
|
443
|
+
// No block styles in flow mode.
|
444
|
+
|| (state.flowLevel > -1 && level >= state.flowLevel);
|
445
|
+
function testAmbiguity(string) {
|
446
|
+
return testImplicitResolving(state, string);
|
447
|
+
}
|
448
|
+
|
449
|
+
switch (chooseScalarStyle(string, singleLineOnly, state.indent, lineWidth, testAmbiguity)) {
|
450
|
+
case STYLE_PLAIN:
|
451
|
+
return string;
|
452
|
+
case STYLE_SINGLE:
|
453
|
+
return "'" + string.replace(/'/g, "''") + "'";
|
454
|
+
case STYLE_LITERAL:
|
455
|
+
return '|' + blockHeader(string, state.indent)
|
456
|
+
+ dropEndingNewline(indentString(string, indent));
|
457
|
+
case STYLE_FOLDED:
|
458
|
+
return '>' + blockHeader(string, state.indent)
|
459
|
+
+ dropEndingNewline(indentString(foldString(string, lineWidth), indent));
|
460
|
+
case STYLE_DOUBLE:
|
461
|
+
return '"' + escapeString(string, lineWidth) + '"';
|
462
|
+
default:
|
463
|
+
throw new YAMLException('impossible error: invalid scalar style');
|
464
|
+
}
|
465
|
+
}());
|
466
|
+
}
|
467
|
+
|
468
|
+
// Pre-conditions: string is valid for a block scalar, 1 <= indentPerLevel <= 9.
|
469
|
+
function blockHeader(string, indentPerLevel) {
|
470
|
+
var indentIndicator = (string[0] === ' ') ? String(indentPerLevel) : '';
|
471
|
+
|
472
|
+
// note the special case: the string '\n' counts as a "trailing" empty line.
|
473
|
+
var clip = string[string.length - 1] === '\n';
|
474
|
+
var keep = clip && (string[string.length - 2] === '\n' || string === '\n');
|
475
|
+
var chomp = keep ? '+' : (clip ? '' : '-');
|
476
|
+
|
477
|
+
return indentIndicator + chomp + '\n';
|
478
|
+
}
|
479
|
+
|
480
|
+
// (See the note for writeScalar.)
|
481
|
+
function dropEndingNewline(string) {
|
482
|
+
return string[string.length - 1] === '\n' ? string.slice(0, -1) : string;
|
483
|
+
}
|
484
|
+
|
485
|
+
// Note: a long line without a suitable break point will exceed the width limit.
|
486
|
+
// Pre-conditions: every char in str isPrintable, str.length > 0, width > 0.
|
487
|
+
function foldString(string, width) {
|
488
|
+
// In folded style, $k$ consecutive newlines output as $k+1$ newlines—
|
489
|
+
// unless they're before or after a more-indented line, or at the very
|
490
|
+
// beginning or end, in which case $k$ maps to $k$.
|
491
|
+
// Therefore, parse each chunk as newline(s) followed by a content line.
|
492
|
+
var lineRe = /(\n+)([^\n]*)/g;
|
493
|
+
|
494
|
+
// first line (possibly an empty line)
|
495
|
+
var result = (function () {
|
496
|
+
var nextLF = string.indexOf('\n');
|
497
|
+
nextLF = nextLF !== -1 ? nextLF : string.length;
|
498
|
+
lineRe.lastIndex = nextLF;
|
499
|
+
return foldLine(string.slice(0, nextLF), width);
|
500
|
+
}());
|
501
|
+
// If we haven't reached the first content line yet, don't add an extra \n.
|
502
|
+
var prevMoreIndented = string[0] === '\n' || string[0] === ' ';
|
503
|
+
var moreIndented;
|
504
|
+
|
505
|
+
// rest of the lines
|
506
|
+
var match;
|
507
|
+
while ((match = lineRe.exec(string))) {
|
508
|
+
var prefix = match[1], line = match[2];
|
509
|
+
moreIndented = (line[0] === ' ');
|
510
|
+
result += prefix
|
511
|
+
+ (!prevMoreIndented && !moreIndented && line !== ''
|
512
|
+
? '\n' : '')
|
513
|
+
+ foldLine(line, width);
|
514
|
+
prevMoreIndented = moreIndented;
|
515
|
+
}
|
516
|
+
|
517
|
+
return result;
|
518
|
+
}
|
519
|
+
|
520
|
+
// Greedy line breaking.
|
521
|
+
// Picks the longest line under the limit each time,
|
522
|
+
// otherwise settles for the shortest line over the limit.
|
523
|
+
// NB. More-indented lines *cannot* be folded, as that would add an extra \n.
|
524
|
+
function foldLine(line, width) {
|
525
|
+
if (line === '' || line[0] === ' ') return line;
|
526
|
+
|
527
|
+
// Since a more-indented line adds a \n, breaks can't be followed by a space.
|
528
|
+
var breakRe = / [^ ]/g; // note: the match index will always be <= length-2.
|
529
|
+
var match;
|
530
|
+
// start is an inclusive index. end, curr, and next are exclusive.
|
531
|
+
var start = 0, end, curr = 0, next = 0;
|
532
|
+
var result = '';
|
533
|
+
|
534
|
+
// Invariants: 0 <= start <= length-1.
|
535
|
+
// 0 <= curr <= next <= max(0, length-2). curr - start <= width.
|
536
|
+
// Inside the loop:
|
537
|
+
// A match implies length >= 2, so curr and next are <= length-2.
|
538
|
+
while ((match = breakRe.exec(line))) {
|
539
|
+
next = match.index;
|
540
|
+
// maintain invariant: curr - start <= width
|
541
|
+
if (next - start > width) {
|
542
|
+
end = (curr > start) ? curr : next; // derive end <= length-2
|
543
|
+
result += '\n' + line.slice(start, end);
|
544
|
+
// skip the space that was output as \n
|
545
|
+
start = end + 1; // derive start <= length-1
|
546
|
+
}
|
547
|
+
curr = next;
|
548
|
+
}
|
549
|
+
|
550
|
+
// By the invariants, start <= length-1, so there is something left over.
|
551
|
+
// It is either the whole string or a part starting from non-whitespace.
|
552
|
+
result += '\n';
|
553
|
+
// Insert a break if the remainder is too long and there is a break available.
|
554
|
+
if (line.length - start > width && curr > start) {
|
555
|
+
result += line.slice(start, curr) + '\n' + line.slice(curr + 1);
|
556
|
+
} else {
|
557
|
+
result += line.slice(start);
|
558
|
+
}
|
559
|
+
|
560
|
+
return result.slice(1); // drop extra \n joiner
|
561
|
+
}
|
562
|
+
|
563
|
+
// Escapes a double-quoted string.
|
564
|
+
function escapeString(string) {
|
565
|
+
var result = '';
|
566
|
+
var char;
|
567
|
+
var escapeSeq;
|
568
|
+
|
569
|
+
for (var i = 0; i < string.length; i++) {
|
570
|
+
char = string.charCodeAt(i);
|
571
|
+
escapeSeq = ESCAPE_SEQUENCES[char];
|
572
|
+
result += !escapeSeq && isPrintable(char)
|
573
|
+
? string[i]
|
574
|
+
: escapeSeq || encodeHex(char);
|
575
|
+
}
|
576
|
+
|
577
|
+
return result;
|
578
|
+
}
|
579
|
+
|
580
|
+
function writeFlowSequence(state, level, object) {
|
581
|
+
var _result = '',
|
582
|
+
_tag = state.tag,
|
583
|
+
index,
|
584
|
+
length;
|
585
|
+
|
586
|
+
for (index = 0, length = object.length; index < length; index += 1) {
|
587
|
+
// Write only valid elements.
|
588
|
+
if (writeNode(state, level, object[index], false, false)) {
|
589
|
+
if (index !== 0) _result += ', ';
|
590
|
+
_result += state.dump;
|
591
|
+
}
|
592
|
+
}
|
593
|
+
|
594
|
+
state.tag = _tag;
|
595
|
+
state.dump = '[' + _result + ']';
|
596
|
+
}
|
597
|
+
|
598
|
+
function writeBlockSequence(state, level, object, compact) {
|
599
|
+
var _result = '',
|
600
|
+
_tag = state.tag,
|
601
|
+
index,
|
602
|
+
length;
|
603
|
+
|
604
|
+
for (index = 0, length = object.length; index < length; index += 1) {
|
605
|
+
// Write only valid elements.
|
606
|
+
if (writeNode(state, level + 1, object[index], true, true)) {
|
607
|
+
if (!compact || index !== 0) {
|
608
|
+
_result += generateNextLine(state, level);
|
609
|
+
}
|
610
|
+
_result += '- ' + state.dump;
|
611
|
+
}
|
612
|
+
}
|
613
|
+
|
614
|
+
state.tag = _tag;
|
615
|
+
state.dump = _result || '[]'; // Empty sequence if no valid values.
|
616
|
+
}
|
617
|
+
|
618
|
+
function writeFlowMapping(state, level, object) {
|
619
|
+
var _result = '',
|
620
|
+
_tag = state.tag,
|
621
|
+
objectKeyList = Object.keys(object),
|
622
|
+
index,
|
623
|
+
length,
|
624
|
+
objectKey,
|
625
|
+
objectValue,
|
626
|
+
pairBuffer;
|
627
|
+
|
628
|
+
for (index = 0, length = objectKeyList.length; index < length; index += 1) {
|
629
|
+
pairBuffer = '';
|
630
|
+
|
631
|
+
if (index !== 0) pairBuffer += ', ';
|
632
|
+
|
633
|
+
objectKey = objectKeyList[index];
|
634
|
+
objectValue = object[objectKey];
|
635
|
+
|
636
|
+
if (!writeNode(state, level, objectKey, false, false)) {
|
637
|
+
continue; // Skip this pair because of invalid key;
|
638
|
+
}
|
639
|
+
|
640
|
+
if (state.dump.length > 1024) pairBuffer += '? ';
|
641
|
+
|
642
|
+
pairBuffer += state.dump + ': ';
|
643
|
+
|
644
|
+
if (!writeNode(state, level, objectValue, false, false)) {
|
645
|
+
continue; // Skip this pair because of invalid value.
|
646
|
+
}
|
647
|
+
|
648
|
+
pairBuffer += state.dump;
|
649
|
+
|
650
|
+
// Both key and value are valid.
|
651
|
+
_result += pairBuffer;
|
652
|
+
}
|
653
|
+
|
654
|
+
state.tag = _tag;
|
655
|
+
state.dump = '{' + _result + '}';
|
656
|
+
}
|
657
|
+
|
658
|
+
function writeBlockMapping(state, level, object, compact) {
|
659
|
+
var _result = '',
|
660
|
+
_tag = state.tag,
|
661
|
+
objectKeyList = Object.keys(object),
|
662
|
+
index,
|
663
|
+
length,
|
664
|
+
objectKey,
|
665
|
+
objectValue,
|
666
|
+
explicitPair,
|
667
|
+
pairBuffer;
|
668
|
+
|
669
|
+
// Allow sorting keys so that the output file is deterministic
|
670
|
+
if (state.sortKeys === true) {
|
671
|
+
// Default sorting
|
672
|
+
objectKeyList.sort();
|
673
|
+
} else if (typeof state.sortKeys === 'function') {
|
674
|
+
// Custom sort function
|
675
|
+
objectKeyList.sort(state.sortKeys);
|
676
|
+
} else if (state.sortKeys) {
|
677
|
+
// Something is wrong
|
678
|
+
throw new YAMLException('sortKeys must be a boolean or a function');
|
679
|
+
}
|
680
|
+
|
681
|
+
for (index = 0, length = objectKeyList.length; index < length; index += 1) {
|
682
|
+
pairBuffer = '';
|
683
|
+
|
684
|
+
if (!compact || index !== 0) {
|
685
|
+
pairBuffer += generateNextLine(state, level);
|
686
|
+
}
|
687
|
+
|
688
|
+
objectKey = objectKeyList[index];
|
689
|
+
objectValue = object[objectKey];
|
690
|
+
|
691
|
+
if (!writeNode(state, level + 1, objectKey, true, true, true)) {
|
692
|
+
continue; // Skip this pair because of invalid key.
|
693
|
+
}
|
694
|
+
|
695
|
+
explicitPair = (state.tag !== null && state.tag !== '?') ||
|
696
|
+
(state.dump && state.dump.length > 1024);
|
697
|
+
|
698
|
+
if (explicitPair) {
|
699
|
+
if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {
|
700
|
+
pairBuffer += '?';
|
701
|
+
} else {
|
702
|
+
pairBuffer += '? ';
|
703
|
+
}
|
704
|
+
}
|
705
|
+
|
706
|
+
pairBuffer += state.dump;
|
707
|
+
|
708
|
+
if (explicitPair) {
|
709
|
+
pairBuffer += generateNextLine(state, level);
|
710
|
+
}
|
711
|
+
|
712
|
+
if (!writeNode(state, level + 1, objectValue, true, explicitPair)) {
|
713
|
+
continue; // Skip this pair because of invalid value.
|
714
|
+
}
|
715
|
+
|
716
|
+
if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {
|
717
|
+
pairBuffer += ':';
|
718
|
+
} else {
|
719
|
+
pairBuffer += ': ';
|
720
|
+
}
|
721
|
+
|
722
|
+
pairBuffer += state.dump;
|
723
|
+
|
724
|
+
// Both key and value are valid.
|
725
|
+
_result += pairBuffer;
|
726
|
+
}
|
727
|
+
|
728
|
+
state.tag = _tag;
|
729
|
+
state.dump = _result || '{}'; // Empty mapping if no valid pairs.
|
730
|
+
}
|
731
|
+
|
732
|
+
function detectType(state, object, explicit) {
|
733
|
+
var _result, typeList, index, length, type, style;
|
734
|
+
|
735
|
+
typeList = explicit ? state.explicitTypes : state.implicitTypes;
|
736
|
+
|
737
|
+
for (index = 0, length = typeList.length; index < length; index += 1) {
|
738
|
+
type = typeList[index];
|
739
|
+
|
740
|
+
if ((type.instanceOf || type.predicate) &&
|
741
|
+
(!type.instanceOf || ((typeof object === 'object') && (object instanceof type.instanceOf))) &&
|
742
|
+
(!type.predicate || type.predicate(object))) {
|
743
|
+
|
744
|
+
state.tag = explicit ? type.tag : '?';
|
745
|
+
|
746
|
+
if (type.represent) {
|
747
|
+
style = state.styleMap[type.tag] || type.defaultStyle;
|
748
|
+
|
749
|
+
if (_toString.call(type.represent) === '[object Function]') {
|
750
|
+
_result = type.represent(object, style);
|
751
|
+
} else if (_hasOwnProperty.call(type.represent, style)) {
|
752
|
+
_result = type.represent[style](object, style);
|
753
|
+
} else {
|
754
|
+
throw new YAMLException('!<' + type.tag + '> tag resolver accepts not "' + style + '" style');
|
755
|
+
}
|
756
|
+
|
757
|
+
state.dump = _result;
|
758
|
+
}
|
759
|
+
|
760
|
+
return true;
|
761
|
+
}
|
762
|
+
}
|
763
|
+
|
764
|
+
return false;
|
765
|
+
}
|
766
|
+
|
767
|
+
// Serializes `object` and writes it to global `result`.
|
768
|
+
// Returns true on success, or false on invalid object.
|
769
|
+
//
|
770
|
+
function writeNode(state, level, object, block, compact, iskey) {
|
771
|
+
state.tag = null;
|
772
|
+
state.dump = object;
|
773
|
+
|
774
|
+
if (!detectType(state, object, false)) {
|
775
|
+
detectType(state, object, true);
|
776
|
+
}
|
777
|
+
|
778
|
+
var type = _toString.call(state.dump);
|
779
|
+
|
780
|
+
if (block) {
|
781
|
+
block = (state.flowLevel < 0 || state.flowLevel > level);
|
782
|
+
}
|
783
|
+
|
784
|
+
var objectOrArray = type === '[object Object]' || type === '[object Array]',
|
785
|
+
duplicateIndex,
|
786
|
+
duplicate;
|
787
|
+
|
788
|
+
if (objectOrArray) {
|
789
|
+
duplicateIndex = state.duplicates.indexOf(object);
|
790
|
+
duplicate = duplicateIndex !== -1;
|
791
|
+
}
|
792
|
+
|
793
|
+
if ((state.tag !== null && state.tag !== '?') || duplicate || (state.indent !== 2 && level > 0)) {
|
794
|
+
compact = false;
|
795
|
+
}
|
796
|
+
|
797
|
+
if (duplicate && state.usedDuplicates[duplicateIndex]) {
|
798
|
+
state.dump = '*ref_' + duplicateIndex;
|
799
|
+
} else {
|
800
|
+
if (objectOrArray && duplicate && !state.usedDuplicates[duplicateIndex]) {
|
801
|
+
state.usedDuplicates[duplicateIndex] = true;
|
802
|
+
}
|
803
|
+
if (type === '[object Object]') {
|
804
|
+
if (block && (Object.keys(state.dump).length !== 0)) {
|
805
|
+
writeBlockMapping(state, level, state.dump, compact);
|
806
|
+
if (duplicate) {
|
807
|
+
state.dump = '&ref_' + duplicateIndex + state.dump;
|
808
|
+
}
|
809
|
+
} else {
|
810
|
+
writeFlowMapping(state, level, state.dump);
|
811
|
+
if (duplicate) {
|
812
|
+
state.dump = '&ref_' + duplicateIndex + ' ' + state.dump;
|
813
|
+
}
|
814
|
+
}
|
815
|
+
} else if (type === '[object Array]') {
|
816
|
+
if (block && (state.dump.length !== 0)) {
|
817
|
+
writeBlockSequence(state, level, state.dump, compact);
|
818
|
+
if (duplicate) {
|
819
|
+
state.dump = '&ref_' + duplicateIndex + state.dump;
|
820
|
+
}
|
821
|
+
} else {
|
822
|
+
writeFlowSequence(state, level, state.dump);
|
823
|
+
if (duplicate) {
|
824
|
+
state.dump = '&ref_' + duplicateIndex + ' ' + state.dump;
|
825
|
+
}
|
826
|
+
}
|
827
|
+
} else if (type === '[object String]') {
|
828
|
+
if (state.tag !== '?') {
|
829
|
+
writeScalar(state, state.dump, level, iskey);
|
830
|
+
}
|
831
|
+
} else {
|
832
|
+
if (state.skipInvalid) return false;
|
833
|
+
throw new YAMLException('unacceptable kind of an object to dump ' + type);
|
834
|
+
}
|
835
|
+
|
836
|
+
if (state.tag !== null && state.tag !== '?') {
|
837
|
+
state.dump = '!<' + state.tag + '> ' + state.dump;
|
838
|
+
}
|
839
|
+
}
|
840
|
+
|
841
|
+
return true;
|
842
|
+
}
|
843
|
+
|
844
|
+
function getDuplicateReferences(object, state) {
|
845
|
+
var objects = [],
|
846
|
+
duplicatesIndexes = [],
|
847
|
+
index,
|
848
|
+
length;
|
849
|
+
|
850
|
+
inspectNode(object, objects, duplicatesIndexes);
|
851
|
+
|
852
|
+
for (index = 0, length = duplicatesIndexes.length; index < length; index += 1) {
|
853
|
+
state.duplicates.push(objects[duplicatesIndexes[index]]);
|
854
|
+
}
|
855
|
+
state.usedDuplicates = new Array(length);
|
856
|
+
}
|
857
|
+
|
858
|
+
function inspectNode(object, objects, duplicatesIndexes) {
|
859
|
+
var objectKeyList,
|
860
|
+
index,
|
861
|
+
length;
|
862
|
+
|
863
|
+
if (object !== null && typeof object === 'object') {
|
864
|
+
index = objects.indexOf(object);
|
865
|
+
if (index !== -1) {
|
866
|
+
if (duplicatesIndexes.indexOf(index) === -1) {
|
867
|
+
duplicatesIndexes.push(index);
|
868
|
+
}
|
869
|
+
} else {
|
870
|
+
objects.push(object);
|
871
|
+
|
872
|
+
if (Array.isArray(object)) {
|
873
|
+
for (index = 0, length = object.length; index < length; index += 1) {
|
874
|
+
inspectNode(object[index], objects, duplicatesIndexes);
|
875
|
+
}
|
876
|
+
} else {
|
877
|
+
objectKeyList = Object.keys(object);
|
878
|
+
|
879
|
+
for (index = 0, length = objectKeyList.length; index < length; index += 1) {
|
880
|
+
inspectNode(object[objectKeyList[index]], objects, duplicatesIndexes);
|
881
|
+
}
|
882
|
+
}
|
883
|
+
}
|
884
|
+
}
|
885
|
+
}
|
886
|
+
|
887
|
+
function dump(input, options) {
|
888
|
+
options = options || {};
|
889
|
+
|
890
|
+
var state = new State(options);
|
891
|
+
|
892
|
+
if (!state.noRefs) getDuplicateReferences(input, state);
|
893
|
+
|
894
|
+
if (writeNode(state, 0, input, true, true)) return state.dump + '\n';
|
895
|
+
|
896
|
+
return '';
|
897
|
+
}
|
898
|
+
|
899
|
+
function safeDump(input, options) {
|
900
|
+
return dump(input, common.extend({ schema: DEFAULT_SAFE_SCHEMA }, options));
|
901
|
+
}
|
902
|
+
|
903
|
+
module.exports.dump = dump;
|
904
|
+
module.exports.safeDump = safeDump;
|
905
|
+
|
906
|
+
},{"./common":2,"./exception":4,"./schema/default_full":9,"./schema/default_safe":10}],4:[function(require,module,exports){
|
907
|
+
// YAML error class. http://stackoverflow.com/questions/8458984
|
908
|
+
//
|
909
|
+
'use strict';
|
910
|
+
|
911
|
+
function YAMLException(reason, mark) {
|
912
|
+
// Super constructor
|
913
|
+
Error.call(this);
|
914
|
+
|
915
|
+
// Include stack trace in error object
|
916
|
+
if (Error.captureStackTrace) {
|
917
|
+
// Chrome and NodeJS
|
918
|
+
Error.captureStackTrace(this, this.constructor);
|
919
|
+
} else {
|
920
|
+
// FF, IE 10+ and Safari 6+. Fallback for others
|
921
|
+
this.stack = (new Error()).stack || '';
|
922
|
+
}
|
923
|
+
|
924
|
+
this.name = 'YAMLException';
|
925
|
+
this.reason = reason;
|
926
|
+
this.mark = mark;
|
927
|
+
this.message = (this.reason || '(unknown reason)') + (this.mark ? ' ' + this.mark.toString() : '');
|
928
|
+
}
|
929
|
+
|
930
|
+
|
931
|
+
// Inherit from Error
|
932
|
+
YAMLException.prototype = Object.create(Error.prototype);
|
933
|
+
YAMLException.prototype.constructor = YAMLException;
|
934
|
+
|
935
|
+
|
936
|
+
YAMLException.prototype.toString = function toString(compact) {
|
937
|
+
var result = this.name + ': ';
|
938
|
+
|
939
|
+
result += this.reason || '(unknown reason)';
|
940
|
+
|
941
|
+
if (!compact && this.mark) {
|
942
|
+
result += ' ' + this.mark.toString();
|
943
|
+
}
|
944
|
+
|
945
|
+
return result;
|
946
|
+
};
|
947
|
+
|
948
|
+
|
949
|
+
module.exports = YAMLException;
|
950
|
+
|
951
|
+
},{}],5:[function(require,module,exports){
|
952
|
+
'use strict';
|
953
|
+
|
954
|
+
/*eslint-disable max-len,no-use-before-define*/
|
955
|
+
|
956
|
+
var common = require('./common');
|
957
|
+
var YAMLException = require('./exception');
|
958
|
+
var Mark = require('./mark');
|
959
|
+
var DEFAULT_SAFE_SCHEMA = require('./schema/default_safe');
|
960
|
+
var DEFAULT_FULL_SCHEMA = require('./schema/default_full');
|
961
|
+
|
962
|
+
|
963
|
+
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
964
|
+
|
965
|
+
|
966
|
+
var CONTEXT_FLOW_IN = 1;
|
967
|
+
var CONTEXT_FLOW_OUT = 2;
|
968
|
+
var CONTEXT_BLOCK_IN = 3;
|
969
|
+
var CONTEXT_BLOCK_OUT = 4;
|
970
|
+
|
971
|
+
|
972
|
+
var CHOMPING_CLIP = 1;
|
973
|
+
var CHOMPING_STRIP = 2;
|
974
|
+
var CHOMPING_KEEP = 3;
|
975
|
+
|
976
|
+
|
977
|
+
var PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
|
978
|
+
var PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/;
|
979
|
+
var PATTERN_FLOW_INDICATORS = /[,\[\]\{\}]/;
|
980
|
+
var PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\-]+!)$/i;
|
981
|
+
var PATTERN_TAG_URI = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
982
|
+
|
983
|
+
|
984
|
+
function is_EOL(c) {
|
985
|
+
return (c === 0x0A/* LF */) || (c === 0x0D/* CR */);
|
986
|
+
}
|
987
|
+
|
988
|
+
function is_WHITE_SPACE(c) {
|
989
|
+
return (c === 0x09/* Tab */) || (c === 0x20/* Space */);
|
990
|
+
}
|
991
|
+
|
992
|
+
function is_WS_OR_EOL(c) {
|
993
|
+
return (c === 0x09/* Tab */) ||
|
994
|
+
(c === 0x20/* Space */) ||
|
995
|
+
(c === 0x0A/* LF */) ||
|
996
|
+
(c === 0x0D/* CR */);
|
997
|
+
}
|
998
|
+
|
999
|
+
function is_FLOW_INDICATOR(c) {
|
1000
|
+
return c === 0x2C/* , */ ||
|
1001
|
+
c === 0x5B/* [ */ ||
|
1002
|
+
c === 0x5D/* ] */ ||
|
1003
|
+
c === 0x7B/* { */ ||
|
1004
|
+
c === 0x7D/* } */;
|
1005
|
+
}
|
1006
|
+
|
1007
|
+
function fromHexCode(c) {
|
1008
|
+
var lc;
|
1009
|
+
|
1010
|
+
if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) {
|
1011
|
+
return c - 0x30;
|
1012
|
+
}
|
1013
|
+
|
1014
|
+
/*eslint-disable no-bitwise*/
|
1015
|
+
lc = c | 0x20;
|
1016
|
+
|
1017
|
+
if ((0x61/* a */ <= lc) && (lc <= 0x66/* f */)) {
|
1018
|
+
return lc - 0x61 + 10;
|
1019
|
+
}
|
1020
|
+
|
1021
|
+
return -1;
|
1022
|
+
}
|
1023
|
+
|
1024
|
+
function escapedHexLen(c) {
|
1025
|
+
if (c === 0x78/* x */) { return 2; }
|
1026
|
+
if (c === 0x75/* u */) { return 4; }
|
1027
|
+
if (c === 0x55/* U */) { return 8; }
|
1028
|
+
return 0;
|
1029
|
+
}
|
1030
|
+
|
1031
|
+
function fromDecimalCode(c) {
|
1032
|
+
if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) {
|
1033
|
+
return c - 0x30;
|
1034
|
+
}
|
1035
|
+
|
1036
|
+
return -1;
|
1037
|
+
}
|
1038
|
+
|
1039
|
+
function simpleEscapeSequence(c) {
|
1040
|
+
return (c === 0x30/* 0 */) ? '\x00' :
|
1041
|
+
(c === 0x61/* a */) ? '\x07' :
|
1042
|
+
(c === 0x62/* b */) ? '\x08' :
|
1043
|
+
(c === 0x74/* t */) ? '\x09' :
|
1044
|
+
(c === 0x09/* Tab */) ? '\x09' :
|
1045
|
+
(c === 0x6E/* n */) ? '\x0A' :
|
1046
|
+
(c === 0x76/* v */) ? '\x0B' :
|
1047
|
+
(c === 0x66/* f */) ? '\x0C' :
|
1048
|
+
(c === 0x72/* r */) ? '\x0D' :
|
1049
|
+
(c === 0x65/* e */) ? '\x1B' :
|
1050
|
+
(c === 0x20/* Space */) ? ' ' :
|
1051
|
+
(c === 0x22/* " */) ? '\x22' :
|
1052
|
+
(c === 0x2F/* / */) ? '/' :
|
1053
|
+
(c === 0x5C/* \ */) ? '\x5C' :
|
1054
|
+
(c === 0x4E/* N */) ? '\x85' :
|
1055
|
+
(c === 0x5F/* _ */) ? '\xA0' :
|
1056
|
+
(c === 0x4C/* L */) ? '\u2028' :
|
1057
|
+
(c === 0x50/* P */) ? '\u2029' : '';
|
1058
|
+
}
|
1059
|
+
|
1060
|
+
function charFromCodepoint(c) {
|
1061
|
+
if (c <= 0xFFFF) {
|
1062
|
+
return String.fromCharCode(c);
|
1063
|
+
}
|
1064
|
+
// Encode UTF-16 surrogate pair
|
1065
|
+
// https://en.wikipedia.org/wiki/UTF-16#Code_points_U.2B010000_to_U.2B10FFFF
|
1066
|
+
return String.fromCharCode(((c - 0x010000) >> 10) + 0xD800,
|
1067
|
+
((c - 0x010000) & 0x03FF) + 0xDC00);
|
1068
|
+
}
|
1069
|
+
|
1070
|
+
var simpleEscapeCheck = new Array(256); // integer, for fast access
|
1071
|
+
var simpleEscapeMap = new Array(256);
|
1072
|
+
for (var i = 0; i < 256; i++) {
|
1073
|
+
simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0;
|
1074
|
+
simpleEscapeMap[i] = simpleEscapeSequence(i);
|
1075
|
+
}
|
1076
|
+
|
1077
|
+
|
1078
|
+
function State(input, options) {
|
1079
|
+
this.input = input;
|
1080
|
+
|
1081
|
+
this.filename = options['filename'] || null;
|
1082
|
+
this.schema = options['schema'] || DEFAULT_FULL_SCHEMA;
|
1083
|
+
this.onWarning = options['onWarning'] || null;
|
1084
|
+
this.legacy = options['legacy'] || false;
|
1085
|
+
this.json = options['json'] || false;
|
1086
|
+
this.listener = options['listener'] || null;
|
1087
|
+
|
1088
|
+
this.implicitTypes = this.schema.compiledImplicit;
|
1089
|
+
this.typeMap = this.schema.compiledTypeMap;
|
1090
|
+
|
1091
|
+
this.length = input.length;
|
1092
|
+
this.position = 0;
|
1093
|
+
this.line = 0;
|
1094
|
+
this.lineStart = 0;
|
1095
|
+
this.lineIndent = 0;
|
1096
|
+
|
1097
|
+
this.documents = [];
|
1098
|
+
|
1099
|
+
/*
|
1100
|
+
this.version;
|
1101
|
+
this.checkLineBreaks;
|
1102
|
+
this.tagMap;
|
1103
|
+
this.anchorMap;
|
1104
|
+
this.tag;
|
1105
|
+
this.anchor;
|
1106
|
+
this.kind;
|
1107
|
+
this.result;*/
|
1108
|
+
|
1109
|
+
}
|
1110
|
+
|
1111
|
+
|
1112
|
+
function generateError(state, message) {
|
1113
|
+
return new YAMLException(
|
1114
|
+
message,
|
1115
|
+
new Mark(state.filename, state.input, state.position, state.line, (state.position - state.lineStart)));
|
1116
|
+
}
|
1117
|
+
|
1118
|
+
function throwError(state, message) {
|
1119
|
+
throw generateError(state, message);
|
1120
|
+
}
|
1121
|
+
|
1122
|
+
function throwWarning(state, message) {
|
1123
|
+
if (state.onWarning) {
|
1124
|
+
state.onWarning.call(null, generateError(state, message));
|
1125
|
+
}
|
1126
|
+
}
|
1127
|
+
|
1128
|
+
|
1129
|
+
var directiveHandlers = {
|
1130
|
+
|
1131
|
+
YAML: function handleYamlDirective(state, name, args) {
|
1132
|
+
|
1133
|
+
var match, major, minor;
|
1134
|
+
|
1135
|
+
if (state.version !== null) {
|
1136
|
+
throwError(state, 'duplication of %YAML directive');
|
1137
|
+
}
|
1138
|
+
|
1139
|
+
if (args.length !== 1) {
|
1140
|
+
throwError(state, 'YAML directive accepts exactly one argument');
|
1141
|
+
}
|
1142
|
+
|
1143
|
+
match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]);
|
1144
|
+
|
1145
|
+
if (match === null) {
|
1146
|
+
throwError(state, 'ill-formed argument of the YAML directive');
|
1147
|
+
}
|
1148
|
+
|
1149
|
+
major = parseInt(match[1], 10);
|
1150
|
+
minor = parseInt(match[2], 10);
|
1151
|
+
|
1152
|
+
if (major !== 1) {
|
1153
|
+
throwError(state, 'unacceptable YAML version of the document');
|
1154
|
+
}
|
1155
|
+
|
1156
|
+
state.version = args[0];
|
1157
|
+
state.checkLineBreaks = (minor < 2);
|
1158
|
+
|
1159
|
+
if (minor !== 1 && minor !== 2) {
|
1160
|
+
throwWarning(state, 'unsupported YAML version of the document');
|
1161
|
+
}
|
1162
|
+
},
|
1163
|
+
|
1164
|
+
TAG: function handleTagDirective(state, name, args) {
|
1165
|
+
|
1166
|
+
var handle, prefix;
|
1167
|
+
|
1168
|
+
if (args.length !== 2) {
|
1169
|
+
throwError(state, 'TAG directive accepts exactly two arguments');
|
1170
|
+
}
|
1171
|
+
|
1172
|
+
handle = args[0];
|
1173
|
+
prefix = args[1];
|
1174
|
+
|
1175
|
+
if (!PATTERN_TAG_HANDLE.test(handle)) {
|
1176
|
+
throwError(state, 'ill-formed tag handle (first argument) of the TAG directive');
|
1177
|
+
}
|
1178
|
+
|
1179
|
+
if (_hasOwnProperty.call(state.tagMap, handle)) {
|
1180
|
+
throwError(state, 'there is a previously declared suffix for "' + handle + '" tag handle');
|
1181
|
+
}
|
1182
|
+
|
1183
|
+
if (!PATTERN_TAG_URI.test(prefix)) {
|
1184
|
+
throwError(state, 'ill-formed tag prefix (second argument) of the TAG directive');
|
1185
|
+
}
|
1186
|
+
|
1187
|
+
state.tagMap[handle] = prefix;
|
1188
|
+
}
|
1189
|
+
};
|
1190
|
+
|
1191
|
+
|
1192
|
+
function captureSegment(state, start, end, checkJson) {
|
1193
|
+
var _position, _length, _character, _result;
|
1194
|
+
|
1195
|
+
if (start < end) {
|
1196
|
+
_result = state.input.slice(start, end);
|
1197
|
+
|
1198
|
+
if (checkJson) {
|
1199
|
+
for (_position = 0, _length = _result.length;
|
1200
|
+
_position < _length;
|
1201
|
+
_position += 1) {
|
1202
|
+
_character = _result.charCodeAt(_position);
|
1203
|
+
if (!(_character === 0x09 ||
|
1204
|
+
(0x20 <= _character && _character <= 0x10FFFF))) {
|
1205
|
+
throwError(state, 'expected valid JSON character');
|
1206
|
+
}
|
1207
|
+
}
|
1208
|
+
} else if (PATTERN_NON_PRINTABLE.test(_result)) {
|
1209
|
+
throwError(state, 'the stream contains non-printable characters');
|
1210
|
+
}
|
1211
|
+
|
1212
|
+
state.result += _result;
|
1213
|
+
}
|
1214
|
+
}
|
1215
|
+
|
1216
|
+
function mergeMappings(state, destination, source, overridableKeys) {
|
1217
|
+
var sourceKeys, key, index, quantity;
|
1218
|
+
|
1219
|
+
if (!common.isObject(source)) {
|
1220
|
+
throwError(state, 'cannot merge mappings; the provided source object is unacceptable');
|
1221
|
+
}
|
1222
|
+
|
1223
|
+
sourceKeys = Object.keys(source);
|
1224
|
+
|
1225
|
+
for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {
|
1226
|
+
key = sourceKeys[index];
|
1227
|
+
|
1228
|
+
if (!_hasOwnProperty.call(destination, key)) {
|
1229
|
+
destination[key] = source[key];
|
1230
|
+
overridableKeys[key] = true;
|
1231
|
+
}
|
1232
|
+
}
|
1233
|
+
}
|
1234
|
+
|
1235
|
+
function storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, startLine, startPos) {
|
1236
|
+
var index, quantity;
|
1237
|
+
|
1238
|
+
keyNode = String(keyNode);
|
1239
|
+
|
1240
|
+
if (_result === null) {
|
1241
|
+
_result = {};
|
1242
|
+
}
|
1243
|
+
|
1244
|
+
if (keyTag === 'tag:yaml.org,2002:merge') {
|
1245
|
+
if (Array.isArray(valueNode)) {
|
1246
|
+
for (index = 0, quantity = valueNode.length; index < quantity; index += 1) {
|
1247
|
+
mergeMappings(state, _result, valueNode[index], overridableKeys);
|
1248
|
+
}
|
1249
|
+
} else {
|
1250
|
+
mergeMappings(state, _result, valueNode, overridableKeys);
|
1251
|
+
}
|
1252
|
+
} else {
|
1253
|
+
if (!state.json &&
|
1254
|
+
!_hasOwnProperty.call(overridableKeys, keyNode) &&
|
1255
|
+
_hasOwnProperty.call(_result, keyNode)) {
|
1256
|
+
state.line = startLine || state.line;
|
1257
|
+
state.position = startPos || state.position;
|
1258
|
+
throwError(state, 'duplicated mapping key');
|
1259
|
+
}
|
1260
|
+
_result[keyNode] = valueNode;
|
1261
|
+
delete overridableKeys[keyNode];
|
1262
|
+
}
|
1263
|
+
|
1264
|
+
return _result;
|
1265
|
+
}
|
1266
|
+
|
1267
|
+
function readLineBreak(state) {
|
1268
|
+
var ch;
|
1269
|
+
|
1270
|
+
ch = state.input.charCodeAt(state.position);
|
1271
|
+
|
1272
|
+
if (ch === 0x0A/* LF */) {
|
1273
|
+
state.position++;
|
1274
|
+
} else if (ch === 0x0D/* CR */) {
|
1275
|
+
state.position++;
|
1276
|
+
if (state.input.charCodeAt(state.position) === 0x0A/* LF */) {
|
1277
|
+
state.position++;
|
1278
|
+
}
|
1279
|
+
} else {
|
1280
|
+
throwError(state, 'a line break is expected');
|
1281
|
+
}
|
1282
|
+
|
1283
|
+
state.line += 1;
|
1284
|
+
state.lineStart = state.position;
|
1285
|
+
}
|
1286
|
+
|
1287
|
+
function skipSeparationSpace(state, allowComments, checkIndent) {
|
1288
|
+
var lineBreaks = 0,
|
1289
|
+
ch = state.input.charCodeAt(state.position);
|
1290
|
+
|
1291
|
+
while (ch !== 0) {
|
1292
|
+
while (is_WHITE_SPACE(ch)) {
|
1293
|
+
ch = state.input.charCodeAt(++state.position);
|
1294
|
+
}
|
1295
|
+
|
1296
|
+
if (allowComments && ch === 0x23/* # */) {
|
1297
|
+
do {
|
1298
|
+
ch = state.input.charCodeAt(++state.position);
|
1299
|
+
} while (ch !== 0x0A/* LF */ && ch !== 0x0D/* CR */ && ch !== 0);
|
1300
|
+
}
|
1301
|
+
|
1302
|
+
if (is_EOL(ch)) {
|
1303
|
+
readLineBreak(state);
|
1304
|
+
|
1305
|
+
ch = state.input.charCodeAt(state.position);
|
1306
|
+
lineBreaks++;
|
1307
|
+
state.lineIndent = 0;
|
1308
|
+
|
1309
|
+
while (ch === 0x20/* Space */) {
|
1310
|
+
state.lineIndent++;
|
1311
|
+
ch = state.input.charCodeAt(++state.position);
|
1312
|
+
}
|
1313
|
+
} else {
|
1314
|
+
break;
|
1315
|
+
}
|
1316
|
+
}
|
1317
|
+
|
1318
|
+
if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent) {
|
1319
|
+
throwWarning(state, 'deficient indentation');
|
1320
|
+
}
|
1321
|
+
|
1322
|
+
return lineBreaks;
|
1323
|
+
}
|
1324
|
+
|
1325
|
+
function testDocumentSeparator(state) {
|
1326
|
+
var _position = state.position,
|
1327
|
+
ch;
|
1328
|
+
|
1329
|
+
ch = state.input.charCodeAt(_position);
|
1330
|
+
|
1331
|
+
// Condition state.position === state.lineStart is tested
|
1332
|
+
// in parent on each call, for efficiency. No needs to test here again.
|
1333
|
+
if ((ch === 0x2D/* - */ || ch === 0x2E/* . */) &&
|
1334
|
+
ch === state.input.charCodeAt(_position + 1) &&
|
1335
|
+
ch === state.input.charCodeAt(_position + 2)) {
|
1336
|
+
|
1337
|
+
_position += 3;
|
1338
|
+
|
1339
|
+
ch = state.input.charCodeAt(_position);
|
1340
|
+
|
1341
|
+
if (ch === 0 || is_WS_OR_EOL(ch)) {
|
1342
|
+
return true;
|
1343
|
+
}
|
1344
|
+
}
|
1345
|
+
|
1346
|
+
return false;
|
1347
|
+
}
|
1348
|
+
|
1349
|
+
function writeFoldedLines(state, count) {
|
1350
|
+
if (count === 1) {
|
1351
|
+
state.result += ' ';
|
1352
|
+
} else if (count > 1) {
|
1353
|
+
state.result += common.repeat('\n', count - 1);
|
1354
|
+
}
|
1355
|
+
}
|
1356
|
+
|
1357
|
+
|
1358
|
+
function readPlainScalar(state, nodeIndent, withinFlowCollection) {
|
1359
|
+
var preceding,
|
1360
|
+
following,
|
1361
|
+
captureStart,
|
1362
|
+
captureEnd,
|
1363
|
+
hasPendingContent,
|
1364
|
+
_line,
|
1365
|
+
_lineStart,
|
1366
|
+
_lineIndent,
|
1367
|
+
_kind = state.kind,
|
1368
|
+
_result = state.result,
|
1369
|
+
ch;
|
1370
|
+
|
1371
|
+
ch = state.input.charCodeAt(state.position);
|
1372
|
+
|
1373
|
+
if (is_WS_OR_EOL(ch) ||
|
1374
|
+
is_FLOW_INDICATOR(ch) ||
|
1375
|
+
ch === 0x23/* # */ ||
|
1376
|
+
ch === 0x26/* & */ ||
|
1377
|
+
ch === 0x2A/* * */ ||
|
1378
|
+
ch === 0x21/* ! */ ||
|
1379
|
+
ch === 0x7C/* | */ ||
|
1380
|
+
ch === 0x3E/* > */ ||
|
1381
|
+
ch === 0x27/* ' */ ||
|
1382
|
+
ch === 0x22/* " */ ||
|
1383
|
+
ch === 0x25/* % */ ||
|
1384
|
+
ch === 0x40/* @ */ ||
|
1385
|
+
ch === 0x60/* ` */) {
|
1386
|
+
return false;
|
1387
|
+
}
|
1388
|
+
|
1389
|
+
if (ch === 0x3F/* ? */ || ch === 0x2D/* - */) {
|
1390
|
+
following = state.input.charCodeAt(state.position + 1);
|
1391
|
+
|
1392
|
+
if (is_WS_OR_EOL(following) ||
|
1393
|
+
withinFlowCollection && is_FLOW_INDICATOR(following)) {
|
1394
|
+
return false;
|
1395
|
+
}
|
1396
|
+
}
|
1397
|
+
|
1398
|
+
state.kind = 'scalar';
|
1399
|
+
state.result = '';
|
1400
|
+
captureStart = captureEnd = state.position;
|
1401
|
+
hasPendingContent = false;
|
1402
|
+
|
1403
|
+
while (ch !== 0) {
|
1404
|
+
if (ch === 0x3A/* : */) {
|
1405
|
+
following = state.input.charCodeAt(state.position + 1);
|
1406
|
+
|
1407
|
+
if (is_WS_OR_EOL(following) ||
|
1408
|
+
withinFlowCollection && is_FLOW_INDICATOR(following)) {
|
1409
|
+
break;
|
1410
|
+
}
|
1411
|
+
|
1412
|
+
} else if (ch === 0x23/* # */) {
|
1413
|
+
preceding = state.input.charCodeAt(state.position - 1);
|
1414
|
+
|
1415
|
+
if (is_WS_OR_EOL(preceding)) {
|
1416
|
+
break;
|
1417
|
+
}
|
1418
|
+
|
1419
|
+
} else if ((state.position === state.lineStart && testDocumentSeparator(state)) ||
|
1420
|
+
withinFlowCollection && is_FLOW_INDICATOR(ch)) {
|
1421
|
+
break;
|
1422
|
+
|
1423
|
+
} else if (is_EOL(ch)) {
|
1424
|
+
_line = state.line;
|
1425
|
+
_lineStart = state.lineStart;
|
1426
|
+
_lineIndent = state.lineIndent;
|
1427
|
+
skipSeparationSpace(state, false, -1);
|
1428
|
+
|
1429
|
+
if (state.lineIndent >= nodeIndent) {
|
1430
|
+
hasPendingContent = true;
|
1431
|
+
ch = state.input.charCodeAt(state.position);
|
1432
|
+
continue;
|
1433
|
+
} else {
|
1434
|
+
state.position = captureEnd;
|
1435
|
+
state.line = _line;
|
1436
|
+
state.lineStart = _lineStart;
|
1437
|
+
state.lineIndent = _lineIndent;
|
1438
|
+
break;
|
1439
|
+
}
|
1440
|
+
}
|
1441
|
+
|
1442
|
+
if (hasPendingContent) {
|
1443
|
+
captureSegment(state, captureStart, captureEnd, false);
|
1444
|
+
writeFoldedLines(state, state.line - _line);
|
1445
|
+
captureStart = captureEnd = state.position;
|
1446
|
+
hasPendingContent = false;
|
1447
|
+
}
|
1448
|
+
|
1449
|
+
if (!is_WHITE_SPACE(ch)) {
|
1450
|
+
captureEnd = state.position + 1;
|
1451
|
+
}
|
1452
|
+
|
1453
|
+
ch = state.input.charCodeAt(++state.position);
|
1454
|
+
}
|
1455
|
+
|
1456
|
+
captureSegment(state, captureStart, captureEnd, false);
|
1457
|
+
|
1458
|
+
if (state.result) {
|
1459
|
+
return true;
|
1460
|
+
}
|
1461
|
+
|
1462
|
+
state.kind = _kind;
|
1463
|
+
state.result = _result;
|
1464
|
+
return false;
|
1465
|
+
}
|
1466
|
+
|
1467
|
+
function readSingleQuotedScalar(state, nodeIndent) {
|
1468
|
+
var ch,
|
1469
|
+
captureStart, captureEnd;
|
1470
|
+
|
1471
|
+
ch = state.input.charCodeAt(state.position);
|
1472
|
+
|
1473
|
+
if (ch !== 0x27/* ' */) {
|
1474
|
+
return false;
|
1475
|
+
}
|
1476
|
+
|
1477
|
+
state.kind = 'scalar';
|
1478
|
+
state.result = '';
|
1479
|
+
state.position++;
|
1480
|
+
captureStart = captureEnd = state.position;
|
1481
|
+
|
1482
|
+
while ((ch = state.input.charCodeAt(state.position)) !== 0) {
|
1483
|
+
if (ch === 0x27/* ' */) {
|
1484
|
+
captureSegment(state, captureStart, state.position, true);
|
1485
|
+
ch = state.input.charCodeAt(++state.position);
|
1486
|
+
|
1487
|
+
if (ch === 0x27/* ' */) {
|
1488
|
+
captureStart = state.position;
|
1489
|
+
state.position++;
|
1490
|
+
captureEnd = state.position;
|
1491
|
+
} else {
|
1492
|
+
return true;
|
1493
|
+
}
|
1494
|
+
|
1495
|
+
} else if (is_EOL(ch)) {
|
1496
|
+
captureSegment(state, captureStart, captureEnd, true);
|
1497
|
+
writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
|
1498
|
+
captureStart = captureEnd = state.position;
|
1499
|
+
|
1500
|
+
} else if (state.position === state.lineStart && testDocumentSeparator(state)) {
|
1501
|
+
throwError(state, 'unexpected end of the document within a single quoted scalar');
|
1502
|
+
|
1503
|
+
} else {
|
1504
|
+
state.position++;
|
1505
|
+
captureEnd = state.position;
|
1506
|
+
}
|
1507
|
+
}
|
1508
|
+
|
1509
|
+
throwError(state, 'unexpected end of the stream within a single quoted scalar');
|
1510
|
+
}
|
1511
|
+
|
1512
|
+
function readDoubleQuotedScalar(state, nodeIndent) {
|
1513
|
+
var captureStart,
|
1514
|
+
captureEnd,
|
1515
|
+
hexLength,
|
1516
|
+
hexResult,
|
1517
|
+
tmp,
|
1518
|
+
ch;
|
1519
|
+
|
1520
|
+
ch = state.input.charCodeAt(state.position);
|
1521
|
+
|
1522
|
+
if (ch !== 0x22/* " */) {
|
1523
|
+
return false;
|
1524
|
+
}
|
1525
|
+
|
1526
|
+
state.kind = 'scalar';
|
1527
|
+
state.result = '';
|
1528
|
+
state.position++;
|
1529
|
+
captureStart = captureEnd = state.position;
|
1530
|
+
|
1531
|
+
while ((ch = state.input.charCodeAt(state.position)) !== 0) {
|
1532
|
+
if (ch === 0x22/* " */) {
|
1533
|
+
captureSegment(state, captureStart, state.position, true);
|
1534
|
+
state.position++;
|
1535
|
+
return true;
|
1536
|
+
|
1537
|
+
} else if (ch === 0x5C/* \ */) {
|
1538
|
+
captureSegment(state, captureStart, state.position, true);
|
1539
|
+
ch = state.input.charCodeAt(++state.position);
|
1540
|
+
|
1541
|
+
if (is_EOL(ch)) {
|
1542
|
+
skipSeparationSpace(state, false, nodeIndent);
|
1543
|
+
|
1544
|
+
// TODO: rework to inline fn with no type cast?
|
1545
|
+
} else if (ch < 256 && simpleEscapeCheck[ch]) {
|
1546
|
+
state.result += simpleEscapeMap[ch];
|
1547
|
+
state.position++;
|
1548
|
+
|
1549
|
+
} else if ((tmp = escapedHexLen(ch)) > 0) {
|
1550
|
+
hexLength = tmp;
|
1551
|
+
hexResult = 0;
|
1552
|
+
|
1553
|
+
for (; hexLength > 0; hexLength--) {
|
1554
|
+
ch = state.input.charCodeAt(++state.position);
|
1555
|
+
|
1556
|
+
if ((tmp = fromHexCode(ch)) >= 0) {
|
1557
|
+
hexResult = (hexResult << 4) + tmp;
|
1558
|
+
|
1559
|
+
} else {
|
1560
|
+
throwError(state, 'expected hexadecimal character');
|
1561
|
+
}
|
1562
|
+
}
|
1563
|
+
|
1564
|
+
state.result += charFromCodepoint(hexResult);
|
1565
|
+
|
1566
|
+
state.position++;
|
1567
|
+
|
1568
|
+
} else {
|
1569
|
+
throwError(state, 'unknown escape sequence');
|
1570
|
+
}
|
1571
|
+
|
1572
|
+
captureStart = captureEnd = state.position;
|
1573
|
+
|
1574
|
+
} else if (is_EOL(ch)) {
|
1575
|
+
captureSegment(state, captureStart, captureEnd, true);
|
1576
|
+
writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
|
1577
|
+
captureStart = captureEnd = state.position;
|
1578
|
+
|
1579
|
+
} else if (state.position === state.lineStart && testDocumentSeparator(state)) {
|
1580
|
+
throwError(state, 'unexpected end of the document within a double quoted scalar');
|
1581
|
+
|
1582
|
+
} else {
|
1583
|
+
state.position++;
|
1584
|
+
captureEnd = state.position;
|
1585
|
+
}
|
1586
|
+
}
|
1587
|
+
|
1588
|
+
throwError(state, 'unexpected end of the stream within a double quoted scalar');
|
1589
|
+
}
|
1590
|
+
|
1591
|
+
function readFlowCollection(state, nodeIndent) {
|
1592
|
+
var readNext = true,
|
1593
|
+
_line,
|
1594
|
+
_tag = state.tag,
|
1595
|
+
_result,
|
1596
|
+
_anchor = state.anchor,
|
1597
|
+
following,
|
1598
|
+
terminator,
|
1599
|
+
isPair,
|
1600
|
+
isExplicitPair,
|
1601
|
+
isMapping,
|
1602
|
+
overridableKeys = {},
|
1603
|
+
keyNode,
|
1604
|
+
keyTag,
|
1605
|
+
valueNode,
|
1606
|
+
ch;
|
1607
|
+
|
1608
|
+
ch = state.input.charCodeAt(state.position);
|
1609
|
+
|
1610
|
+
if (ch === 0x5B/* [ */) {
|
1611
|
+
terminator = 0x5D;/* ] */
|
1612
|
+
isMapping = false;
|
1613
|
+
_result = [];
|
1614
|
+
} else if (ch === 0x7B/* { */) {
|
1615
|
+
terminator = 0x7D;/* } */
|
1616
|
+
isMapping = true;
|
1617
|
+
_result = {};
|
1618
|
+
} else {
|
1619
|
+
return false;
|
1620
|
+
}
|
1621
|
+
|
1622
|
+
if (state.anchor !== null) {
|
1623
|
+
state.anchorMap[state.anchor] = _result;
|
1624
|
+
}
|
1625
|
+
|
1626
|
+
ch = state.input.charCodeAt(++state.position);
|
1627
|
+
|
1628
|
+
while (ch !== 0) {
|
1629
|
+
skipSeparationSpace(state, true, nodeIndent);
|
1630
|
+
|
1631
|
+
ch = state.input.charCodeAt(state.position);
|
1632
|
+
|
1633
|
+
if (ch === terminator) {
|
1634
|
+
state.position++;
|
1635
|
+
state.tag = _tag;
|
1636
|
+
state.anchor = _anchor;
|
1637
|
+
state.kind = isMapping ? 'mapping' : 'sequence';
|
1638
|
+
state.result = _result;
|
1639
|
+
return true;
|
1640
|
+
} else if (!readNext) {
|
1641
|
+
throwError(state, 'missed comma between flow collection entries');
|
1642
|
+
}
|
1643
|
+
|
1644
|
+
keyTag = keyNode = valueNode = null;
|
1645
|
+
isPair = isExplicitPair = false;
|
1646
|
+
|
1647
|
+
if (ch === 0x3F/* ? */) {
|
1648
|
+
following = state.input.charCodeAt(state.position + 1);
|
1649
|
+
|
1650
|
+
if (is_WS_OR_EOL(following)) {
|
1651
|
+
isPair = isExplicitPair = true;
|
1652
|
+
state.position++;
|
1653
|
+
skipSeparationSpace(state, true, nodeIndent);
|
1654
|
+
}
|
1655
|
+
}
|
1656
|
+
|
1657
|
+
_line = state.line;
|
1658
|
+
composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
|
1659
|
+
keyTag = state.tag;
|
1660
|
+
keyNode = state.result;
|
1661
|
+
skipSeparationSpace(state, true, nodeIndent);
|
1662
|
+
|
1663
|
+
ch = state.input.charCodeAt(state.position);
|
1664
|
+
|
1665
|
+
if ((isExplicitPair || state.line === _line) && ch === 0x3A/* : */) {
|
1666
|
+
isPair = true;
|
1667
|
+
ch = state.input.charCodeAt(++state.position);
|
1668
|
+
skipSeparationSpace(state, true, nodeIndent);
|
1669
|
+
composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
|
1670
|
+
valueNode = state.result;
|
1671
|
+
}
|
1672
|
+
|
1673
|
+
if (isMapping) {
|
1674
|
+
storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode);
|
1675
|
+
} else if (isPair) {
|
1676
|
+
_result.push(storeMappingPair(state, null, overridableKeys, keyTag, keyNode, valueNode));
|
1677
|
+
} else {
|
1678
|
+
_result.push(keyNode);
|
1679
|
+
}
|
1680
|
+
|
1681
|
+
skipSeparationSpace(state, true, nodeIndent);
|
1682
|
+
|
1683
|
+
ch = state.input.charCodeAt(state.position);
|
1684
|
+
|
1685
|
+
if (ch === 0x2C/* , */) {
|
1686
|
+
readNext = true;
|
1687
|
+
ch = state.input.charCodeAt(++state.position);
|
1688
|
+
} else {
|
1689
|
+
readNext = false;
|
1690
|
+
}
|
1691
|
+
}
|
1692
|
+
|
1693
|
+
throwError(state, 'unexpected end of the stream within a flow collection');
|
1694
|
+
}
|
1695
|
+
|
1696
|
+
function readBlockScalar(state, nodeIndent) {
|
1697
|
+
var captureStart,
|
1698
|
+
folding,
|
1699
|
+
chomping = CHOMPING_CLIP,
|
1700
|
+
didReadContent = false,
|
1701
|
+
detectedIndent = false,
|
1702
|
+
textIndent = nodeIndent,
|
1703
|
+
emptyLines = 0,
|
1704
|
+
atMoreIndented = false,
|
1705
|
+
tmp,
|
1706
|
+
ch;
|
1707
|
+
|
1708
|
+
ch = state.input.charCodeAt(state.position);
|
1709
|
+
|
1710
|
+
if (ch === 0x7C/* | */) {
|
1711
|
+
folding = false;
|
1712
|
+
} else if (ch === 0x3E/* > */) {
|
1713
|
+
folding = true;
|
1714
|
+
} else {
|
1715
|
+
return false;
|
1716
|
+
}
|
1717
|
+
|
1718
|
+
state.kind = 'scalar';
|
1719
|
+
state.result = '';
|
1720
|
+
|
1721
|
+
while (ch !== 0) {
|
1722
|
+
ch = state.input.charCodeAt(++state.position);
|
1723
|
+
|
1724
|
+
if (ch === 0x2B/* + */ || ch === 0x2D/* - */) {
|
1725
|
+
if (CHOMPING_CLIP === chomping) {
|
1726
|
+
chomping = (ch === 0x2B/* + */) ? CHOMPING_KEEP : CHOMPING_STRIP;
|
1727
|
+
} else {
|
1728
|
+
throwError(state, 'repeat of a chomping mode identifier');
|
1729
|
+
}
|
1730
|
+
|
1731
|
+
} else if ((tmp = fromDecimalCode(ch)) >= 0) {
|
1732
|
+
if (tmp === 0) {
|
1733
|
+
throwError(state, 'bad explicit indentation width of a block scalar; it cannot be less than one');
|
1734
|
+
} else if (!detectedIndent) {
|
1735
|
+
textIndent = nodeIndent + tmp - 1;
|
1736
|
+
detectedIndent = true;
|
1737
|
+
} else {
|
1738
|
+
throwError(state, 'repeat of an indentation width identifier');
|
1739
|
+
}
|
1740
|
+
|
1741
|
+
} else {
|
1742
|
+
break;
|
1743
|
+
}
|
1744
|
+
}
|
1745
|
+
|
1746
|
+
if (is_WHITE_SPACE(ch)) {
|
1747
|
+
do { ch = state.input.charCodeAt(++state.position); }
|
1748
|
+
while (is_WHITE_SPACE(ch));
|
1749
|
+
|
1750
|
+
if (ch === 0x23/* # */) {
|
1751
|
+
do { ch = state.input.charCodeAt(++state.position); }
|
1752
|
+
while (!is_EOL(ch) && (ch !== 0));
|
1753
|
+
}
|
1754
|
+
}
|
1755
|
+
|
1756
|
+
while (ch !== 0) {
|
1757
|
+
readLineBreak(state);
|
1758
|
+
state.lineIndent = 0;
|
1759
|
+
|
1760
|
+
ch = state.input.charCodeAt(state.position);
|
1761
|
+
|
1762
|
+
while ((!detectedIndent || state.lineIndent < textIndent) &&
|
1763
|
+
(ch === 0x20/* Space */)) {
|
1764
|
+
state.lineIndent++;
|
1765
|
+
ch = state.input.charCodeAt(++state.position);
|
1766
|
+
}
|
1767
|
+
|
1768
|
+
if (!detectedIndent && state.lineIndent > textIndent) {
|
1769
|
+
textIndent = state.lineIndent;
|
1770
|
+
}
|
1771
|
+
|
1772
|
+
if (is_EOL(ch)) {
|
1773
|
+
emptyLines++;
|
1774
|
+
continue;
|
1775
|
+
}
|
1776
|
+
|
1777
|
+
// End of the scalar.
|
1778
|
+
if (state.lineIndent < textIndent) {
|
1779
|
+
|
1780
|
+
// Perform the chomping.
|
1781
|
+
if (chomping === CHOMPING_KEEP) {
|
1782
|
+
state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines);
|
1783
|
+
} else if (chomping === CHOMPING_CLIP) {
|
1784
|
+
if (didReadContent) { // i.e. only if the scalar is not empty.
|
1785
|
+
state.result += '\n';
|
1786
|
+
}
|
1787
|
+
}
|
1788
|
+
|
1789
|
+
// Break this `while` cycle and go to the funciton's epilogue.
|
1790
|
+
break;
|
1791
|
+
}
|
1792
|
+
|
1793
|
+
// Folded style: use fancy rules to handle line breaks.
|
1794
|
+
if (folding) {
|
1795
|
+
|
1796
|
+
// Lines starting with white space characters (more-indented lines) are not folded.
|
1797
|
+
if (is_WHITE_SPACE(ch)) {
|
1798
|
+
atMoreIndented = true;
|
1799
|
+
// except for the first content line (cf. Example 8.1)
|
1800
|
+
state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines);
|
1801
|
+
|
1802
|
+
// End of more-indented block.
|
1803
|
+
} else if (atMoreIndented) {
|
1804
|
+
atMoreIndented = false;
|
1805
|
+
state.result += common.repeat('\n', emptyLines + 1);
|
1806
|
+
|
1807
|
+
// Just one line break - perceive as the same line.
|
1808
|
+
} else if (emptyLines === 0) {
|
1809
|
+
if (didReadContent) { // i.e. only if we have already read some scalar content.
|
1810
|
+
state.result += ' ';
|
1811
|
+
}
|
1812
|
+
|
1813
|
+
// Several line breaks - perceive as different lines.
|
1814
|
+
} else {
|
1815
|
+
state.result += common.repeat('\n', emptyLines);
|
1816
|
+
}
|
1817
|
+
|
1818
|
+
// Literal style: just add exact number of line breaks between content lines.
|
1819
|
+
} else {
|
1820
|
+
// Keep all line breaks except the header line break.
|
1821
|
+
state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines);
|
1822
|
+
}
|
1823
|
+
|
1824
|
+
didReadContent = true;
|
1825
|
+
detectedIndent = true;
|
1826
|
+
emptyLines = 0;
|
1827
|
+
captureStart = state.position;
|
1828
|
+
|
1829
|
+
while (!is_EOL(ch) && (ch !== 0)) {
|
1830
|
+
ch = state.input.charCodeAt(++state.position);
|
1831
|
+
}
|
1832
|
+
|
1833
|
+
captureSegment(state, captureStart, state.position, false);
|
1834
|
+
}
|
1835
|
+
|
1836
|
+
return true;
|
1837
|
+
}
|
1838
|
+
|
1839
|
+
function readBlockSequence(state, nodeIndent) {
|
1840
|
+
var _line,
|
1841
|
+
_tag = state.tag,
|
1842
|
+
_anchor = state.anchor,
|
1843
|
+
_result = [],
|
1844
|
+
following,
|
1845
|
+
detected = false,
|
1846
|
+
ch;
|
1847
|
+
|
1848
|
+
if (state.anchor !== null) {
|
1849
|
+
state.anchorMap[state.anchor] = _result;
|
1850
|
+
}
|
1851
|
+
|
1852
|
+
ch = state.input.charCodeAt(state.position);
|
1853
|
+
|
1854
|
+
while (ch !== 0) {
|
1855
|
+
|
1856
|
+
if (ch !== 0x2D/* - */) {
|
1857
|
+
break;
|
1858
|
+
}
|
1859
|
+
|
1860
|
+
following = state.input.charCodeAt(state.position + 1);
|
1861
|
+
|
1862
|
+
if (!is_WS_OR_EOL(following)) {
|
1863
|
+
break;
|
1864
|
+
}
|
1865
|
+
|
1866
|
+
detected = true;
|
1867
|
+
state.position++;
|
1868
|
+
|
1869
|
+
if (skipSeparationSpace(state, true, -1)) {
|
1870
|
+
if (state.lineIndent <= nodeIndent) {
|
1871
|
+
_result.push(null);
|
1872
|
+
ch = state.input.charCodeAt(state.position);
|
1873
|
+
continue;
|
1874
|
+
}
|
1875
|
+
}
|
1876
|
+
|
1877
|
+
_line = state.line;
|
1878
|
+
composeNode(state, nodeIndent, CONTEXT_BLOCK_IN, false, true);
|
1879
|
+
_result.push(state.result);
|
1880
|
+
skipSeparationSpace(state, true, -1);
|
1881
|
+
|
1882
|
+
ch = state.input.charCodeAt(state.position);
|
1883
|
+
|
1884
|
+
if ((state.line === _line || state.lineIndent > nodeIndent) && (ch !== 0)) {
|
1885
|
+
throwError(state, 'bad indentation of a sequence entry');
|
1886
|
+
} else if (state.lineIndent < nodeIndent) {
|
1887
|
+
break;
|
1888
|
+
}
|
1889
|
+
}
|
1890
|
+
|
1891
|
+
if (detected) {
|
1892
|
+
state.tag = _tag;
|
1893
|
+
state.anchor = _anchor;
|
1894
|
+
state.kind = 'sequence';
|
1895
|
+
state.result = _result;
|
1896
|
+
return true;
|
1897
|
+
}
|
1898
|
+
return false;
|
1899
|
+
}
|
1900
|
+
|
1901
|
+
function readBlockMapping(state, nodeIndent, flowIndent) {
|
1902
|
+
var following,
|
1903
|
+
allowCompact,
|
1904
|
+
_line,
|
1905
|
+
_pos,
|
1906
|
+
_tag = state.tag,
|
1907
|
+
_anchor = state.anchor,
|
1908
|
+
_result = {},
|
1909
|
+
overridableKeys = {},
|
1910
|
+
keyTag = null,
|
1911
|
+
keyNode = null,
|
1912
|
+
valueNode = null,
|
1913
|
+
atExplicitKey = false,
|
1914
|
+
detected = false,
|
1915
|
+
ch;
|
1916
|
+
|
1917
|
+
if (state.anchor !== null) {
|
1918
|
+
state.anchorMap[state.anchor] = _result;
|
1919
|
+
}
|
1920
|
+
|
1921
|
+
ch = state.input.charCodeAt(state.position);
|
1922
|
+
|
1923
|
+
while (ch !== 0) {
|
1924
|
+
following = state.input.charCodeAt(state.position + 1);
|
1925
|
+
_line = state.line; // Save the current line.
|
1926
|
+
_pos = state.position;
|
1927
|
+
|
1928
|
+
//
|
1929
|
+
// Explicit notation case. There are two separate blocks:
|
1930
|
+
// first for the key (denoted by "?") and second for the value (denoted by ":")
|
1931
|
+
//
|
1932
|
+
if ((ch === 0x3F/* ? */ || ch === 0x3A/* : */) && is_WS_OR_EOL(following)) {
|
1933
|
+
|
1934
|
+
if (ch === 0x3F/* ? */) {
|
1935
|
+
if (atExplicitKey) {
|
1936
|
+
storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null);
|
1937
|
+
keyTag = keyNode = valueNode = null;
|
1938
|
+
}
|
1939
|
+
|
1940
|
+
detected = true;
|
1941
|
+
atExplicitKey = true;
|
1942
|
+
allowCompact = true;
|
1943
|
+
|
1944
|
+
} else if (atExplicitKey) {
|
1945
|
+
// i.e. 0x3A/* : */ === character after the explicit key.
|
1946
|
+
atExplicitKey = false;
|
1947
|
+
allowCompact = true;
|
1948
|
+
|
1949
|
+
} else {
|
1950
|
+
throwError(state, 'incomplete explicit mapping pair; a key node is missed');
|
1951
|
+
}
|
1952
|
+
|
1953
|
+
state.position += 1;
|
1954
|
+
ch = following;
|
1955
|
+
|
1956
|
+
//
|
1957
|
+
// Implicit notation case. Flow-style node as the key first, then ":", and the value.
|
1958
|
+
//
|
1959
|
+
} else if (composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) {
|
1960
|
+
|
1961
|
+
if (state.line === _line) {
|
1962
|
+
ch = state.input.charCodeAt(state.position);
|
1963
|
+
|
1964
|
+
while (is_WHITE_SPACE(ch)) {
|
1965
|
+
ch = state.input.charCodeAt(++state.position);
|
1966
|
+
}
|
1967
|
+
|
1968
|
+
if (ch === 0x3A/* : */) {
|
1969
|
+
ch = state.input.charCodeAt(++state.position);
|
1970
|
+
|
1971
|
+
if (!is_WS_OR_EOL(ch)) {
|
1972
|
+
throwError(state, 'a whitespace character is expected after the key-value separator within a block mapping');
|
1973
|
+
}
|
1974
|
+
|
1975
|
+
if (atExplicitKey) {
|
1976
|
+
storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null);
|
1977
|
+
keyTag = keyNode = valueNode = null;
|
1978
|
+
}
|
1979
|
+
|
1980
|
+
detected = true;
|
1981
|
+
atExplicitKey = false;
|
1982
|
+
allowCompact = false;
|
1983
|
+
keyTag = state.tag;
|
1984
|
+
keyNode = state.result;
|
1985
|
+
|
1986
|
+
} else if (detected) {
|
1987
|
+
throwError(state, 'can not read an implicit mapping pair; a colon is missed');
|
1988
|
+
|
1989
|
+
} else {
|
1990
|
+
state.tag = _tag;
|
1991
|
+
state.anchor = _anchor;
|
1992
|
+
return true; // Keep the result of `composeNode`.
|
1993
|
+
}
|
1994
|
+
|
1995
|
+
} else if (detected) {
|
1996
|
+
throwError(state, 'can not read a block mapping entry; a multiline key may not be an implicit key');
|
1997
|
+
|
1998
|
+
} else {
|
1999
|
+
state.tag = _tag;
|
2000
|
+
state.anchor = _anchor;
|
2001
|
+
return true; // Keep the result of `composeNode`.
|
2002
|
+
}
|
2003
|
+
|
2004
|
+
} else {
|
2005
|
+
break; // Reading is done. Go to the epilogue.
|
2006
|
+
}
|
2007
|
+
|
2008
|
+
//
|
2009
|
+
// Common reading code for both explicit and implicit notations.
|
2010
|
+
//
|
2011
|
+
if (state.line === _line || state.lineIndent > nodeIndent) {
|
2012
|
+
if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) {
|
2013
|
+
if (atExplicitKey) {
|
2014
|
+
keyNode = state.result;
|
2015
|
+
} else {
|
2016
|
+
valueNode = state.result;
|
2017
|
+
}
|
2018
|
+
}
|
2019
|
+
|
2020
|
+
if (!atExplicitKey) {
|
2021
|
+
storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _line, _pos);
|
2022
|
+
keyTag = keyNode = valueNode = null;
|
2023
|
+
}
|
2024
|
+
|
2025
|
+
skipSeparationSpace(state, true, -1);
|
2026
|
+
ch = state.input.charCodeAt(state.position);
|
2027
|
+
}
|
2028
|
+
|
2029
|
+
if (state.lineIndent > nodeIndent && (ch !== 0)) {
|
2030
|
+
throwError(state, 'bad indentation of a mapping entry');
|
2031
|
+
} else if (state.lineIndent < nodeIndent) {
|
2032
|
+
break;
|
2033
|
+
}
|
2034
|
+
}
|
2035
|
+
|
2036
|
+
//
|
2037
|
+
// Epilogue.
|
2038
|
+
//
|
2039
|
+
|
2040
|
+
// Special case: last mapping's node contains only the key in explicit notation.
|
2041
|
+
if (atExplicitKey) {
|
2042
|
+
storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null);
|
2043
|
+
}
|
2044
|
+
|
2045
|
+
// Expose the resulting mapping.
|
2046
|
+
if (detected) {
|
2047
|
+
state.tag = _tag;
|
2048
|
+
state.anchor = _anchor;
|
2049
|
+
state.kind = 'mapping';
|
2050
|
+
state.result = _result;
|
2051
|
+
}
|
2052
|
+
|
2053
|
+
return detected;
|
2054
|
+
}
|
2055
|
+
|
2056
|
+
function readTagProperty(state) {
|
2057
|
+
var _position,
|
2058
|
+
isVerbatim = false,
|
2059
|
+
isNamed = false,
|
2060
|
+
tagHandle,
|
2061
|
+
tagName,
|
2062
|
+
ch;
|
2063
|
+
|
2064
|
+
ch = state.input.charCodeAt(state.position);
|
2065
|
+
|
2066
|
+
if (ch !== 0x21/* ! */) return false;
|
2067
|
+
|
2068
|
+
if (state.tag !== null) {
|
2069
|
+
throwError(state, 'duplication of a tag property');
|
2070
|
+
}
|
2071
|
+
|
2072
|
+
ch = state.input.charCodeAt(++state.position);
|
2073
|
+
|
2074
|
+
if (ch === 0x3C/* < */) {
|
2075
|
+
isVerbatim = true;
|
2076
|
+
ch = state.input.charCodeAt(++state.position);
|
2077
|
+
|
2078
|
+
} else if (ch === 0x21/* ! */) {
|
2079
|
+
isNamed = true;
|
2080
|
+
tagHandle = '!!';
|
2081
|
+
ch = state.input.charCodeAt(++state.position);
|
2082
|
+
|
2083
|
+
} else {
|
2084
|
+
tagHandle = '!';
|
2085
|
+
}
|
2086
|
+
|
2087
|
+
_position = state.position;
|
2088
|
+
|
2089
|
+
if (isVerbatim) {
|
2090
|
+
do { ch = state.input.charCodeAt(++state.position); }
|
2091
|
+
while (ch !== 0 && ch !== 0x3E/* > */);
|
2092
|
+
|
2093
|
+
if (state.position < state.length) {
|
2094
|
+
tagName = state.input.slice(_position, state.position);
|
2095
|
+
ch = state.input.charCodeAt(++state.position);
|
2096
|
+
} else {
|
2097
|
+
throwError(state, 'unexpected end of the stream within a verbatim tag');
|
2098
|
+
}
|
2099
|
+
} else {
|
2100
|
+
while (ch !== 0 && !is_WS_OR_EOL(ch)) {
|
2101
|
+
|
2102
|
+
if (ch === 0x21/* ! */) {
|
2103
|
+
if (!isNamed) {
|
2104
|
+
tagHandle = state.input.slice(_position - 1, state.position + 1);
|
2105
|
+
|
2106
|
+
if (!PATTERN_TAG_HANDLE.test(tagHandle)) {
|
2107
|
+
throwError(state, 'named tag handle cannot contain such characters');
|
2108
|
+
}
|
2109
|
+
|
2110
|
+
isNamed = true;
|
2111
|
+
_position = state.position + 1;
|
2112
|
+
} else {
|
2113
|
+
throwError(state, 'tag suffix cannot contain exclamation marks');
|
2114
|
+
}
|
2115
|
+
}
|
2116
|
+
|
2117
|
+
ch = state.input.charCodeAt(++state.position);
|
2118
|
+
}
|
2119
|
+
|
2120
|
+
tagName = state.input.slice(_position, state.position);
|
2121
|
+
|
2122
|
+
if (PATTERN_FLOW_INDICATORS.test(tagName)) {
|
2123
|
+
throwError(state, 'tag suffix cannot contain flow indicator characters');
|
2124
|
+
}
|
2125
|
+
}
|
2126
|
+
|
2127
|
+
if (tagName && !PATTERN_TAG_URI.test(tagName)) {
|
2128
|
+
throwError(state, 'tag name cannot contain such characters: ' + tagName);
|
2129
|
+
}
|
2130
|
+
|
2131
|
+
if (isVerbatim) {
|
2132
|
+
state.tag = tagName;
|
2133
|
+
|
2134
|
+
} else if (_hasOwnProperty.call(state.tagMap, tagHandle)) {
|
2135
|
+
state.tag = state.tagMap[tagHandle] + tagName;
|
2136
|
+
|
2137
|
+
} else if (tagHandle === '!') {
|
2138
|
+
state.tag = '!' + tagName;
|
2139
|
+
|
2140
|
+
} else if (tagHandle === '!!') {
|
2141
|
+
state.tag = 'tag:yaml.org,2002:' + tagName;
|
2142
|
+
|
2143
|
+
} else {
|
2144
|
+
throwError(state, 'undeclared tag handle "' + tagHandle + '"');
|
2145
|
+
}
|
2146
|
+
|
2147
|
+
return true;
|
2148
|
+
}
|
2149
|
+
|
2150
|
+
function readAnchorProperty(state) {
|
2151
|
+
var _position,
|
2152
|
+
ch;
|
2153
|
+
|
2154
|
+
ch = state.input.charCodeAt(state.position);
|
2155
|
+
|
2156
|
+
if (ch !== 0x26/* & */) return false;
|
2157
|
+
|
2158
|
+
if (state.anchor !== null) {
|
2159
|
+
throwError(state, 'duplication of an anchor property');
|
2160
|
+
}
|
2161
|
+
|
2162
|
+
ch = state.input.charCodeAt(++state.position);
|
2163
|
+
_position = state.position;
|
2164
|
+
|
2165
|
+
while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {
|
2166
|
+
ch = state.input.charCodeAt(++state.position);
|
2167
|
+
}
|
2168
|
+
|
2169
|
+
if (state.position === _position) {
|
2170
|
+
throwError(state, 'name of an anchor node must contain at least one character');
|
2171
|
+
}
|
2172
|
+
|
2173
|
+
state.anchor = state.input.slice(_position, state.position);
|
2174
|
+
return true;
|
2175
|
+
}
|
2176
|
+
|
2177
|
+
function readAlias(state) {
|
2178
|
+
var _position, alias,
|
2179
|
+
ch;
|
2180
|
+
|
2181
|
+
ch = state.input.charCodeAt(state.position);
|
2182
|
+
|
2183
|
+
if (ch !== 0x2A/* * */) return false;
|
2184
|
+
|
2185
|
+
ch = state.input.charCodeAt(++state.position);
|
2186
|
+
_position = state.position;
|
2187
|
+
|
2188
|
+
while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {
|
2189
|
+
ch = state.input.charCodeAt(++state.position);
|
2190
|
+
}
|
2191
|
+
|
2192
|
+
if (state.position === _position) {
|
2193
|
+
throwError(state, 'name of an alias node must contain at least one character');
|
2194
|
+
}
|
2195
|
+
|
2196
|
+
alias = state.input.slice(_position, state.position);
|
2197
|
+
|
2198
|
+
if (!state.anchorMap.hasOwnProperty(alias)) {
|
2199
|
+
throwError(state, 'unidentified alias "' + alias + '"');
|
2200
|
+
}
|
2201
|
+
|
2202
|
+
state.result = state.anchorMap[alias];
|
2203
|
+
skipSeparationSpace(state, true, -1);
|
2204
|
+
return true;
|
2205
|
+
}
|
2206
|
+
|
2207
|
+
function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) {
|
2208
|
+
var allowBlockStyles,
|
2209
|
+
allowBlockScalars,
|
2210
|
+
allowBlockCollections,
|
2211
|
+
indentStatus = 1, // 1: this>parent, 0: this=parent, -1: this<parent
|
2212
|
+
atNewLine = false,
|
2213
|
+
hasContent = false,
|
2214
|
+
typeIndex,
|
2215
|
+
typeQuantity,
|
2216
|
+
type,
|
2217
|
+
flowIndent,
|
2218
|
+
blockIndent;
|
2219
|
+
|
2220
|
+
if (state.listener !== null) {
|
2221
|
+
state.listener('open', state);
|
2222
|
+
}
|
2223
|
+
|
2224
|
+
state.tag = null;
|
2225
|
+
state.anchor = null;
|
2226
|
+
state.kind = null;
|
2227
|
+
state.result = null;
|
2228
|
+
|
2229
|
+
allowBlockStyles = allowBlockScalars = allowBlockCollections =
|
2230
|
+
CONTEXT_BLOCK_OUT === nodeContext ||
|
2231
|
+
CONTEXT_BLOCK_IN === nodeContext;
|
2232
|
+
|
2233
|
+
if (allowToSeek) {
|
2234
|
+
if (skipSeparationSpace(state, true, -1)) {
|
2235
|
+
atNewLine = true;
|
2236
|
+
|
2237
|
+
if (state.lineIndent > parentIndent) {
|
2238
|
+
indentStatus = 1;
|
2239
|
+
} else if (state.lineIndent === parentIndent) {
|
2240
|
+
indentStatus = 0;
|
2241
|
+
} else if (state.lineIndent < parentIndent) {
|
2242
|
+
indentStatus = -1;
|
2243
|
+
}
|
2244
|
+
}
|
2245
|
+
}
|
2246
|
+
|
2247
|
+
if (indentStatus === 1) {
|
2248
|
+
while (readTagProperty(state) || readAnchorProperty(state)) {
|
2249
|
+
if (skipSeparationSpace(state, true, -1)) {
|
2250
|
+
atNewLine = true;
|
2251
|
+
allowBlockCollections = allowBlockStyles;
|
2252
|
+
|
2253
|
+
if (state.lineIndent > parentIndent) {
|
2254
|
+
indentStatus = 1;
|
2255
|
+
} else if (state.lineIndent === parentIndent) {
|
2256
|
+
indentStatus = 0;
|
2257
|
+
} else if (state.lineIndent < parentIndent) {
|
2258
|
+
indentStatus = -1;
|
2259
|
+
}
|
2260
|
+
} else {
|
2261
|
+
allowBlockCollections = false;
|
2262
|
+
}
|
2263
|
+
}
|
2264
|
+
}
|
2265
|
+
|
2266
|
+
if (allowBlockCollections) {
|
2267
|
+
allowBlockCollections = atNewLine || allowCompact;
|
2268
|
+
}
|
2269
|
+
|
2270
|
+
if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) {
|
2271
|
+
if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) {
|
2272
|
+
flowIndent = parentIndent;
|
2273
|
+
} else {
|
2274
|
+
flowIndent = parentIndent + 1;
|
2275
|
+
}
|
2276
|
+
|
2277
|
+
blockIndent = state.position - state.lineStart;
|
2278
|
+
|
2279
|
+
if (indentStatus === 1) {
|
2280
|
+
if (allowBlockCollections &&
|
2281
|
+
(readBlockSequence(state, blockIndent) ||
|
2282
|
+
readBlockMapping(state, blockIndent, flowIndent)) ||
|
2283
|
+
readFlowCollection(state, flowIndent)) {
|
2284
|
+
hasContent = true;
|
2285
|
+
} else {
|
2286
|
+
if ((allowBlockScalars && readBlockScalar(state, flowIndent)) ||
|
2287
|
+
readSingleQuotedScalar(state, flowIndent) ||
|
2288
|
+
readDoubleQuotedScalar(state, flowIndent)) {
|
2289
|
+
hasContent = true;
|
2290
|
+
|
2291
|
+
} else if (readAlias(state)) {
|
2292
|
+
hasContent = true;
|
2293
|
+
|
2294
|
+
if (state.tag !== null || state.anchor !== null) {
|
2295
|
+
throwError(state, 'alias node should not have any properties');
|
2296
|
+
}
|
2297
|
+
|
2298
|
+
} else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) {
|
2299
|
+
hasContent = true;
|
2300
|
+
|
2301
|
+
if (state.tag === null) {
|
2302
|
+
state.tag = '?';
|
2303
|
+
}
|
2304
|
+
}
|
2305
|
+
|
2306
|
+
if (state.anchor !== null) {
|
2307
|
+
state.anchorMap[state.anchor] = state.result;
|
2308
|
+
}
|
2309
|
+
}
|
2310
|
+
} else if (indentStatus === 0) {
|
2311
|
+
// Special case: block sequences are allowed to have same indentation level as the parent.
|
2312
|
+
// http://www.yaml.org/spec/1.2/spec.html#id2799784
|
2313
|
+
hasContent = allowBlockCollections && readBlockSequence(state, blockIndent);
|
2314
|
+
}
|
2315
|
+
}
|
2316
|
+
|
2317
|
+
if (state.tag !== null && state.tag !== '!') {
|
2318
|
+
if (state.tag === '?') {
|
2319
|
+
for (typeIndex = 0, typeQuantity = state.implicitTypes.length;
|
2320
|
+
typeIndex < typeQuantity;
|
2321
|
+
typeIndex += 1) {
|
2322
|
+
type = state.implicitTypes[typeIndex];
|
2323
|
+
|
2324
|
+
// Implicit resolving is not allowed for non-scalar types, and '?'
|
2325
|
+
// non-specific tag is only assigned to plain scalars. So, it isn't
|
2326
|
+
// needed to check for 'kind' conformity.
|
2327
|
+
|
2328
|
+
if (type.resolve(state.result)) { // `state.result` updated in resolver if matched
|
2329
|
+
state.result = type.construct(state.result);
|
2330
|
+
state.tag = type.tag;
|
2331
|
+
if (state.anchor !== null) {
|
2332
|
+
state.anchorMap[state.anchor] = state.result;
|
2333
|
+
}
|
2334
|
+
break;
|
2335
|
+
}
|
2336
|
+
}
|
2337
|
+
} else if (_hasOwnProperty.call(state.typeMap[state.kind || 'fallback'], state.tag)) {
|
2338
|
+
type = state.typeMap[state.kind || 'fallback'][state.tag];
|
2339
|
+
|
2340
|
+
if (state.result !== null && type.kind !== state.kind) {
|
2341
|
+
throwError(state, 'unacceptable node kind for !<' + state.tag + '> tag; it should be "' + type.kind + '", not "' + state.kind + '"');
|
2342
|
+
}
|
2343
|
+
|
2344
|
+
if (!type.resolve(state.result)) { // `state.result` updated in resolver if matched
|
2345
|
+
throwError(state, 'cannot resolve a node with !<' + state.tag + '> explicit tag');
|
2346
|
+
} else {
|
2347
|
+
state.result = type.construct(state.result);
|
2348
|
+
if (state.anchor !== null) {
|
2349
|
+
state.anchorMap[state.anchor] = state.result;
|
2350
|
+
}
|
2351
|
+
}
|
2352
|
+
} else {
|
2353
|
+
throwError(state, 'unknown tag !<' + state.tag + '>');
|
2354
|
+
}
|
2355
|
+
}
|
2356
|
+
|
2357
|
+
if (state.listener !== null) {
|
2358
|
+
state.listener('close', state);
|
2359
|
+
}
|
2360
|
+
return state.tag !== null || state.anchor !== null || hasContent;
|
2361
|
+
}
|
2362
|
+
|
2363
|
+
function readDocument(state) {
|
2364
|
+
var documentStart = state.position,
|
2365
|
+
_position,
|
2366
|
+
directiveName,
|
2367
|
+
directiveArgs,
|
2368
|
+
hasDirectives = false,
|
2369
|
+
ch;
|
2370
|
+
|
2371
|
+
state.version = null;
|
2372
|
+
state.checkLineBreaks = state.legacy;
|
2373
|
+
state.tagMap = {};
|
2374
|
+
state.anchorMap = {};
|
2375
|
+
|
2376
|
+
while ((ch = state.input.charCodeAt(state.position)) !== 0) {
|
2377
|
+
skipSeparationSpace(state, true, -1);
|
2378
|
+
|
2379
|
+
ch = state.input.charCodeAt(state.position);
|
2380
|
+
|
2381
|
+
if (state.lineIndent > 0 || ch !== 0x25/* % */) {
|
2382
|
+
break;
|
2383
|
+
}
|
2384
|
+
|
2385
|
+
hasDirectives = true;
|
2386
|
+
ch = state.input.charCodeAt(++state.position);
|
2387
|
+
_position = state.position;
|
2388
|
+
|
2389
|
+
while (ch !== 0 && !is_WS_OR_EOL(ch)) {
|
2390
|
+
ch = state.input.charCodeAt(++state.position);
|
2391
|
+
}
|
2392
|
+
|
2393
|
+
directiveName = state.input.slice(_position, state.position);
|
2394
|
+
directiveArgs = [];
|
2395
|
+
|
2396
|
+
if (directiveName.length < 1) {
|
2397
|
+
throwError(state, 'directive name must not be less than one character in length');
|
2398
|
+
}
|
2399
|
+
|
2400
|
+
while (ch !== 0) {
|
2401
|
+
while (is_WHITE_SPACE(ch)) {
|
2402
|
+
ch = state.input.charCodeAt(++state.position);
|
2403
|
+
}
|
2404
|
+
|
2405
|
+
if (ch === 0x23/* # */) {
|
2406
|
+
do { ch = state.input.charCodeAt(++state.position); }
|
2407
|
+
while (ch !== 0 && !is_EOL(ch));
|
2408
|
+
break;
|
2409
|
+
}
|
2410
|
+
|
2411
|
+
if (is_EOL(ch)) break;
|
2412
|
+
|
2413
|
+
_position = state.position;
|
2414
|
+
|
2415
|
+
while (ch !== 0 && !is_WS_OR_EOL(ch)) {
|
2416
|
+
ch = state.input.charCodeAt(++state.position);
|
2417
|
+
}
|
2418
|
+
|
2419
|
+
directiveArgs.push(state.input.slice(_position, state.position));
|
2420
|
+
}
|
2421
|
+
|
2422
|
+
if (ch !== 0) readLineBreak(state);
|
2423
|
+
|
2424
|
+
if (_hasOwnProperty.call(directiveHandlers, directiveName)) {
|
2425
|
+
directiveHandlers[directiveName](state, directiveName, directiveArgs);
|
2426
|
+
} else {
|
2427
|
+
throwWarning(state, 'unknown document directive "' + directiveName + '"');
|
2428
|
+
}
|
2429
|
+
}
|
2430
|
+
|
2431
|
+
skipSeparationSpace(state, true, -1);
|
2432
|
+
|
2433
|
+
if (state.lineIndent === 0 &&
|
2434
|
+
state.input.charCodeAt(state.position) === 0x2D/* - */ &&
|
2435
|
+
state.input.charCodeAt(state.position + 1) === 0x2D/* - */ &&
|
2436
|
+
state.input.charCodeAt(state.position + 2) === 0x2D/* - */) {
|
2437
|
+
state.position += 3;
|
2438
|
+
skipSeparationSpace(state, true, -1);
|
2439
|
+
|
2440
|
+
} else if (hasDirectives) {
|
2441
|
+
throwError(state, 'directives end mark is expected');
|
2442
|
+
}
|
2443
|
+
|
2444
|
+
composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);
|
2445
|
+
skipSeparationSpace(state, true, -1);
|
2446
|
+
|
2447
|
+
if (state.checkLineBreaks &&
|
2448
|
+
PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) {
|
2449
|
+
throwWarning(state, 'non-ASCII line breaks are interpreted as content');
|
2450
|
+
}
|
2451
|
+
|
2452
|
+
state.documents.push(state.result);
|
2453
|
+
|
2454
|
+
if (state.position === state.lineStart && testDocumentSeparator(state)) {
|
2455
|
+
|
2456
|
+
if (state.input.charCodeAt(state.position) === 0x2E/* . */) {
|
2457
|
+
state.position += 3;
|
2458
|
+
skipSeparationSpace(state, true, -1);
|
2459
|
+
}
|
2460
|
+
return;
|
2461
|
+
}
|
2462
|
+
|
2463
|
+
if (state.position < (state.length - 1)) {
|
2464
|
+
throwError(state, 'end of the stream or a document separator is expected');
|
2465
|
+
} else {
|
2466
|
+
return;
|
2467
|
+
}
|
2468
|
+
}
|
2469
|
+
|
2470
|
+
|
2471
|
+
function loadDocuments(input, options) {
|
2472
|
+
input = String(input);
|
2473
|
+
options = options || {};
|
2474
|
+
|
2475
|
+
if (input.length !== 0) {
|
2476
|
+
|
2477
|
+
// Add tailing `\n` if not exists
|
2478
|
+
if (input.charCodeAt(input.length - 1) !== 0x0A/* LF */ &&
|
2479
|
+
input.charCodeAt(input.length - 1) !== 0x0D/* CR */) {
|
2480
|
+
input += '\n';
|
2481
|
+
}
|
2482
|
+
|
2483
|
+
// Strip BOM
|
2484
|
+
if (input.charCodeAt(0) === 0xFEFF) {
|
2485
|
+
input = input.slice(1);
|
2486
|
+
}
|
2487
|
+
}
|
2488
|
+
|
2489
|
+
var state = new State(input, options);
|
2490
|
+
|
2491
|
+
// Use 0 as string terminator. That significantly simplifies bounds check.
|
2492
|
+
state.input += '\0';
|
2493
|
+
|
2494
|
+
while (state.input.charCodeAt(state.position) === 0x20/* Space */) {
|
2495
|
+
state.lineIndent += 1;
|
2496
|
+
state.position += 1;
|
2497
|
+
}
|
2498
|
+
|
2499
|
+
while (state.position < (state.length - 1)) {
|
2500
|
+
readDocument(state);
|
2501
|
+
}
|
2502
|
+
|
2503
|
+
return state.documents;
|
2504
|
+
}
|
2505
|
+
|
2506
|
+
|
2507
|
+
function loadAll(input, iterator, options) {
|
2508
|
+
var documents = loadDocuments(input, options), index, length;
|
2509
|
+
|
2510
|
+
for (index = 0, length = documents.length; index < length; index += 1) {
|
2511
|
+
iterator(documents[index]);
|
2512
|
+
}
|
2513
|
+
}
|
2514
|
+
|
2515
|
+
|
2516
|
+
function load(input, options) {
|
2517
|
+
var documents = loadDocuments(input, options);
|
2518
|
+
|
2519
|
+
if (documents.length === 0) {
|
2520
|
+
/*eslint-disable no-undefined*/
|
2521
|
+
return undefined;
|
2522
|
+
} else if (documents.length === 1) {
|
2523
|
+
return documents[0];
|
2524
|
+
}
|
2525
|
+
throw new YAMLException('expected a single document in the stream, but found more');
|
2526
|
+
}
|
2527
|
+
|
2528
|
+
|
2529
|
+
function safeLoadAll(input, output, options) {
|
2530
|
+
loadAll(input, output, common.extend({ schema: DEFAULT_SAFE_SCHEMA }, options));
|
2531
|
+
}
|
2532
|
+
|
2533
|
+
|
2534
|
+
function safeLoad(input, options) {
|
2535
|
+
return load(input, common.extend({ schema: DEFAULT_SAFE_SCHEMA }, options));
|
2536
|
+
}
|
2537
|
+
|
2538
|
+
|
2539
|
+
module.exports.loadAll = loadAll;
|
2540
|
+
module.exports.load = load;
|
2541
|
+
module.exports.safeLoadAll = safeLoadAll;
|
2542
|
+
module.exports.safeLoad = safeLoad;
|
2543
|
+
|
2544
|
+
},{"./common":2,"./exception":4,"./mark":6,"./schema/default_full":9,"./schema/default_safe":10}],6:[function(require,module,exports){
|
2545
|
+
'use strict';
|
2546
|
+
|
2547
|
+
|
2548
|
+
var common = require('./common');
|
2549
|
+
|
2550
|
+
|
2551
|
+
function Mark(name, buffer, position, line, column) {
|
2552
|
+
this.name = name;
|
2553
|
+
this.buffer = buffer;
|
2554
|
+
this.position = position;
|
2555
|
+
this.line = line;
|
2556
|
+
this.column = column;
|
2557
|
+
}
|
2558
|
+
|
2559
|
+
|
2560
|
+
Mark.prototype.getSnippet = function getSnippet(indent, maxLength) {
|
2561
|
+
var head, start, tail, end, snippet;
|
2562
|
+
|
2563
|
+
if (!this.buffer) return null;
|
2564
|
+
|
2565
|
+
indent = indent || 4;
|
2566
|
+
maxLength = maxLength || 75;
|
2567
|
+
|
2568
|
+
head = '';
|
2569
|
+
start = this.position;
|
2570
|
+
|
2571
|
+
while (start > 0 && '\x00\r\n\x85\u2028\u2029'.indexOf(this.buffer.charAt(start - 1)) === -1) {
|
2572
|
+
start -= 1;
|
2573
|
+
if (this.position - start > (maxLength / 2 - 1)) {
|
2574
|
+
head = ' ... ';
|
2575
|
+
start += 5;
|
2576
|
+
break;
|
2577
|
+
}
|
2578
|
+
}
|
2579
|
+
|
2580
|
+
tail = '';
|
2581
|
+
end = this.position;
|
2582
|
+
|
2583
|
+
while (end < this.buffer.length && '\x00\r\n\x85\u2028\u2029'.indexOf(this.buffer.charAt(end)) === -1) {
|
2584
|
+
end += 1;
|
2585
|
+
if (end - this.position > (maxLength / 2 - 1)) {
|
2586
|
+
tail = ' ... ';
|
2587
|
+
end -= 5;
|
2588
|
+
break;
|
2589
|
+
}
|
2590
|
+
}
|
2591
|
+
|
2592
|
+
snippet = this.buffer.slice(start, end);
|
2593
|
+
|
2594
|
+
return common.repeat(' ', indent) + head + snippet + tail + '\n' +
|
2595
|
+
common.repeat(' ', indent + this.position - start + head.length) + '^';
|
2596
|
+
};
|
2597
|
+
|
2598
|
+
|
2599
|
+
Mark.prototype.toString = function toString(compact) {
|
2600
|
+
var snippet, where = '';
|
2601
|
+
|
2602
|
+
if (this.name) {
|
2603
|
+
where += 'in "' + this.name + '" ';
|
2604
|
+
}
|
2605
|
+
|
2606
|
+
where += 'at line ' + (this.line + 1) + ', column ' + (this.column + 1);
|
2607
|
+
|
2608
|
+
if (!compact) {
|
2609
|
+
snippet = this.getSnippet();
|
2610
|
+
|
2611
|
+
if (snippet) {
|
2612
|
+
where += ':\n' + snippet;
|
2613
|
+
}
|
2614
|
+
}
|
2615
|
+
|
2616
|
+
return where;
|
2617
|
+
};
|
2618
|
+
|
2619
|
+
|
2620
|
+
module.exports = Mark;
|
2621
|
+
|
2622
|
+
},{"./common":2}],7:[function(require,module,exports){
|
2623
|
+
'use strict';
|
2624
|
+
|
2625
|
+
/*eslint-disable max-len*/
|
2626
|
+
|
2627
|
+
var common = require('./common');
|
2628
|
+
var YAMLException = require('./exception');
|
2629
|
+
var Type = require('./type');
|
2630
|
+
|
2631
|
+
|
2632
|
+
function compileList(schema, name, result) {
|
2633
|
+
var exclude = [];
|
2634
|
+
|
2635
|
+
schema.include.forEach(function (includedSchema) {
|
2636
|
+
result = compileList(includedSchema, name, result);
|
2637
|
+
});
|
2638
|
+
|
2639
|
+
schema[name].forEach(function (currentType) {
|
2640
|
+
result.forEach(function (previousType, previousIndex) {
|
2641
|
+
if (previousType.tag === currentType.tag && previousType.kind === currentType.kind) {
|
2642
|
+
exclude.push(previousIndex);
|
2643
|
+
}
|
2644
|
+
});
|
2645
|
+
|
2646
|
+
result.push(currentType);
|
2647
|
+
});
|
2648
|
+
|
2649
|
+
return result.filter(function (type, index) {
|
2650
|
+
return exclude.indexOf(index) === -1;
|
2651
|
+
});
|
2652
|
+
}
|
2653
|
+
|
2654
|
+
|
2655
|
+
function compileMap(/* lists... */) {
|
2656
|
+
var result = {
|
2657
|
+
scalar: {},
|
2658
|
+
sequence: {},
|
2659
|
+
mapping: {},
|
2660
|
+
fallback: {}
|
2661
|
+
}, index, length;
|
2662
|
+
|
2663
|
+
function collectType(type) {
|
2664
|
+
result[type.kind][type.tag] = result['fallback'][type.tag] = type;
|
2665
|
+
}
|
2666
|
+
|
2667
|
+
for (index = 0, length = arguments.length; index < length; index += 1) {
|
2668
|
+
arguments[index].forEach(collectType);
|
2669
|
+
}
|
2670
|
+
return result;
|
2671
|
+
}
|
2672
|
+
|
2673
|
+
|
2674
|
+
function Schema(definition) {
|
2675
|
+
this.include = definition.include || [];
|
2676
|
+
this.implicit = definition.implicit || [];
|
2677
|
+
this.explicit = definition.explicit || [];
|
2678
|
+
|
2679
|
+
this.implicit.forEach(function (type) {
|
2680
|
+
if (type.loadKind && type.loadKind !== 'scalar') {
|
2681
|
+
throw new YAMLException('There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.');
|
2682
|
+
}
|
2683
|
+
});
|
2684
|
+
|
2685
|
+
this.compiledImplicit = compileList(this, 'implicit', []);
|
2686
|
+
this.compiledExplicit = compileList(this, 'explicit', []);
|
2687
|
+
this.compiledTypeMap = compileMap(this.compiledImplicit, this.compiledExplicit);
|
2688
|
+
}
|
2689
|
+
|
2690
|
+
|
2691
|
+
Schema.DEFAULT = null;
|
2692
|
+
|
2693
|
+
|
2694
|
+
Schema.create = function createSchema() {
|
2695
|
+
var schemas, types;
|
2696
|
+
|
2697
|
+
switch (arguments.length) {
|
2698
|
+
case 1:
|
2699
|
+
schemas = Schema.DEFAULT;
|
2700
|
+
types = arguments[0];
|
2701
|
+
break;
|
2702
|
+
|
2703
|
+
case 2:
|
2704
|
+
schemas = arguments[0];
|
2705
|
+
types = arguments[1];
|
2706
|
+
break;
|
2707
|
+
|
2708
|
+
default:
|
2709
|
+
throw new YAMLException('Wrong number of arguments for Schema.create function');
|
2710
|
+
}
|
2711
|
+
|
2712
|
+
schemas = common.toArray(schemas);
|
2713
|
+
types = common.toArray(types);
|
2714
|
+
|
2715
|
+
if (!schemas.every(function (schema) { return schema instanceof Schema; })) {
|
2716
|
+
throw new YAMLException('Specified list of super schemas (or a single Schema object) contains a non-Schema object.');
|
2717
|
+
}
|
2718
|
+
|
2719
|
+
if (!types.every(function (type) { return type instanceof Type; })) {
|
2720
|
+
throw new YAMLException('Specified list of YAML types (or a single Type object) contains a non-Type object.');
|
2721
|
+
}
|
2722
|
+
|
2723
|
+
return new Schema({
|
2724
|
+
include: schemas,
|
2725
|
+
explicit: types
|
2726
|
+
});
|
2727
|
+
};
|
2728
|
+
|
2729
|
+
|
2730
|
+
module.exports = Schema;
|
2731
|
+
|
2732
|
+
},{"./common":2,"./exception":4,"./type":13}],8:[function(require,module,exports){
|
2733
|
+
// Standard YAML's Core schema.
|
2734
|
+
// http://www.yaml.org/spec/1.2/spec.html#id2804923
|
2735
|
+
//
|
2736
|
+
// NOTE: JS-YAML does not support schema-specific tag resolution restrictions.
|
2737
|
+
// So, Core schema has no distinctions from JSON schema is JS-YAML.
|
2738
|
+
|
2739
|
+
|
2740
|
+
'use strict';
|
2741
|
+
|
2742
|
+
|
2743
|
+
var Schema = require('../schema');
|
2744
|
+
|
2745
|
+
|
2746
|
+
module.exports = new Schema({
|
2747
|
+
include: [
|
2748
|
+
require('./json')
|
2749
|
+
]
|
2750
|
+
});
|
2751
|
+
|
2752
|
+
},{"../schema":7,"./json":12}],9:[function(require,module,exports){
|
2753
|
+
// JS-YAML's default schema for `load` function.
|
2754
|
+
// It is not described in the YAML specification.
|
2755
|
+
//
|
2756
|
+
// This schema is based on JS-YAML's default safe schema and includes
|
2757
|
+
// JavaScript-specific types: !!js/undefined, !!js/regexp and !!js/function.
|
2758
|
+
//
|
2759
|
+
// Also this schema is used as default base schema at `Schema.create` function.
|
2760
|
+
|
2761
|
+
|
2762
|
+
'use strict';
|
2763
|
+
|
2764
|
+
|
2765
|
+
var Schema = require('../schema');
|
2766
|
+
|
2767
|
+
|
2768
|
+
module.exports = Schema.DEFAULT = new Schema({
|
2769
|
+
include: [
|
2770
|
+
require('./default_safe')
|
2771
|
+
],
|
2772
|
+
explicit: [
|
2773
|
+
require('../type/js/undefined'),
|
2774
|
+
require('../type/js/regexp'),
|
2775
|
+
require('../type/js/function')
|
2776
|
+
]
|
2777
|
+
});
|
2778
|
+
|
2779
|
+
},{"../schema":7,"../type/js/function":18,"../type/js/regexp":19,"../type/js/undefined":20,"./default_safe":10}],10:[function(require,module,exports){
|
2780
|
+
// JS-YAML's default schema for `safeLoad` function.
|
2781
|
+
// It is not described in the YAML specification.
|
2782
|
+
//
|
2783
|
+
// This schema is based on standard YAML's Core schema and includes most of
|
2784
|
+
// extra types described at YAML tag repository. (http://yaml.org/type/)
|
2785
|
+
|
2786
|
+
|
2787
|
+
'use strict';
|
2788
|
+
|
2789
|
+
|
2790
|
+
var Schema = require('../schema');
|
2791
|
+
|
2792
|
+
|
2793
|
+
module.exports = new Schema({
|
2794
|
+
include: [
|
2795
|
+
require('./core')
|
2796
|
+
],
|
2797
|
+
implicit: [
|
2798
|
+
require('../type/timestamp'),
|
2799
|
+
require('../type/merge')
|
2800
|
+
],
|
2801
|
+
explicit: [
|
2802
|
+
require('../type/binary'),
|
2803
|
+
require('../type/omap'),
|
2804
|
+
require('../type/pairs'),
|
2805
|
+
require('../type/set')
|
2806
|
+
]
|
2807
|
+
});
|
2808
|
+
|
2809
|
+
},{"../schema":7,"../type/binary":14,"../type/merge":22,"../type/omap":24,"../type/pairs":25,"../type/set":27,"../type/timestamp":29,"./core":8}],11:[function(require,module,exports){
|
2810
|
+
// Standard YAML's Failsafe schema.
|
2811
|
+
// http://www.yaml.org/spec/1.2/spec.html#id2802346
|
2812
|
+
|
2813
|
+
|
2814
|
+
'use strict';
|
2815
|
+
|
2816
|
+
|
2817
|
+
var Schema = require('../schema');
|
2818
|
+
|
2819
|
+
|
2820
|
+
module.exports = new Schema({
|
2821
|
+
explicit: [
|
2822
|
+
require('../type/str'),
|
2823
|
+
require('../type/seq'),
|
2824
|
+
require('../type/map')
|
2825
|
+
]
|
2826
|
+
});
|
2827
|
+
|
2828
|
+
},{"../schema":7,"../type/map":21,"../type/seq":26,"../type/str":28}],12:[function(require,module,exports){
|
2829
|
+
// Standard YAML's JSON schema.
|
2830
|
+
// http://www.yaml.org/spec/1.2/spec.html#id2803231
|
2831
|
+
//
|
2832
|
+
// NOTE: JS-YAML does not support schema-specific tag resolution restrictions.
|
2833
|
+
// So, this schema is not such strict as defined in the YAML specification.
|
2834
|
+
// It allows numbers in binary notaion, use `Null` and `NULL` as `null`, etc.
|
2835
|
+
|
2836
|
+
|
2837
|
+
'use strict';
|
2838
|
+
|
2839
|
+
|
2840
|
+
var Schema = require('../schema');
|
2841
|
+
|
2842
|
+
|
2843
|
+
module.exports = new Schema({
|
2844
|
+
include: [
|
2845
|
+
require('./failsafe')
|
2846
|
+
],
|
2847
|
+
implicit: [
|
2848
|
+
require('../type/null'),
|
2849
|
+
require('../type/bool'),
|
2850
|
+
require('../type/int'),
|
2851
|
+
require('../type/float')
|
2852
|
+
]
|
2853
|
+
});
|
2854
|
+
|
2855
|
+
},{"../schema":7,"../type/bool":15,"../type/float":16,"../type/int":17,"../type/null":23,"./failsafe":11}],13:[function(require,module,exports){
|
2856
|
+
'use strict';
|
2857
|
+
|
2858
|
+
var YAMLException = require('./exception');
|
2859
|
+
|
2860
|
+
var TYPE_CONSTRUCTOR_OPTIONS = [
|
2861
|
+
'kind',
|
2862
|
+
'resolve',
|
2863
|
+
'construct',
|
2864
|
+
'instanceOf',
|
2865
|
+
'predicate',
|
2866
|
+
'represent',
|
2867
|
+
'defaultStyle',
|
2868
|
+
'styleAliases'
|
2869
|
+
];
|
2870
|
+
|
2871
|
+
var YAML_NODE_KINDS = [
|
2872
|
+
'scalar',
|
2873
|
+
'sequence',
|
2874
|
+
'mapping'
|
2875
|
+
];
|
2876
|
+
|
2877
|
+
function compileStyleAliases(map) {
|
2878
|
+
var result = {};
|
2879
|
+
|
2880
|
+
if (map !== null) {
|
2881
|
+
Object.keys(map).forEach(function (style) {
|
2882
|
+
map[style].forEach(function (alias) {
|
2883
|
+
result[String(alias)] = style;
|
2884
|
+
});
|
2885
|
+
});
|
2886
|
+
}
|
2887
|
+
|
2888
|
+
return result;
|
2889
|
+
}
|
2890
|
+
|
2891
|
+
function Type(tag, options) {
|
2892
|
+
options = options || {};
|
2893
|
+
|
2894
|
+
Object.keys(options).forEach(function (name) {
|
2895
|
+
if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) {
|
2896
|
+
throw new YAMLException('Unknown option "' + name + '" is met in definition of "' + tag + '" YAML type.');
|
2897
|
+
}
|
2898
|
+
});
|
2899
|
+
|
2900
|
+
// TODO: Add tag format check.
|
2901
|
+
this.tag = tag;
|
2902
|
+
this.kind = options['kind'] || null;
|
2903
|
+
this.resolve = options['resolve'] || function () { return true; };
|
2904
|
+
this.construct = options['construct'] || function (data) { return data; };
|
2905
|
+
this.instanceOf = options['instanceOf'] || null;
|
2906
|
+
this.predicate = options['predicate'] || null;
|
2907
|
+
this.represent = options['represent'] || null;
|
2908
|
+
this.defaultStyle = options['defaultStyle'] || null;
|
2909
|
+
this.styleAliases = compileStyleAliases(options['styleAliases'] || null);
|
2910
|
+
|
2911
|
+
if (YAML_NODE_KINDS.indexOf(this.kind) === -1) {
|
2912
|
+
throw new YAMLException('Unknown kind "' + this.kind + '" is specified for "' + tag + '" YAML type.');
|
2913
|
+
}
|
2914
|
+
}
|
2915
|
+
|
2916
|
+
module.exports = Type;
|
2917
|
+
|
2918
|
+
},{"./exception":4}],14:[function(require,module,exports){
|
2919
|
+
'use strict';
|
2920
|
+
|
2921
|
+
/*eslint-disable no-bitwise*/
|
2922
|
+
|
2923
|
+
var NodeBuffer;
|
2924
|
+
|
2925
|
+
try {
|
2926
|
+
// A trick for browserified version, to not include `Buffer` shim
|
2927
|
+
var _require = require;
|
2928
|
+
NodeBuffer = _require('buffer').Buffer;
|
2929
|
+
} catch (__) {}
|
2930
|
+
|
2931
|
+
var Type = require('../type');
|
2932
|
+
|
2933
|
+
|
2934
|
+
// [ 64, 65, 66 ] -> [ padding, CR, LF ]
|
2935
|
+
var BASE64_MAP = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r';
|
2936
|
+
|
2937
|
+
|
2938
|
+
function resolveYamlBinary(data) {
|
2939
|
+
if (data === null) return false;
|
2940
|
+
|
2941
|
+
var code, idx, bitlen = 0, max = data.length, map = BASE64_MAP;
|
2942
|
+
|
2943
|
+
// Convert one by one.
|
2944
|
+
for (idx = 0; idx < max; idx++) {
|
2945
|
+
code = map.indexOf(data.charAt(idx));
|
2946
|
+
|
2947
|
+
// Skip CR/LF
|
2948
|
+
if (code > 64) continue;
|
2949
|
+
|
2950
|
+
// Fail on illegal characters
|
2951
|
+
if (code < 0) return false;
|
2952
|
+
|
2953
|
+
bitlen += 6;
|
2954
|
+
}
|
2955
|
+
|
2956
|
+
// If there are any bits left, source was corrupted
|
2957
|
+
return (bitlen % 8) === 0;
|
2958
|
+
}
|
2959
|
+
|
2960
|
+
function constructYamlBinary(data) {
|
2961
|
+
var idx, tailbits,
|
2962
|
+
input = data.replace(/[\r\n=]/g, ''), // remove CR/LF & padding to simplify scan
|
2963
|
+
max = input.length,
|
2964
|
+
map = BASE64_MAP,
|
2965
|
+
bits = 0,
|
2966
|
+
result = [];
|
2967
|
+
|
2968
|
+
// Collect by 6*4 bits (3 bytes)
|
2969
|
+
|
2970
|
+
for (idx = 0; idx < max; idx++) {
|
2971
|
+
if ((idx % 4 === 0) && idx) {
|
2972
|
+
result.push((bits >> 16) & 0xFF);
|
2973
|
+
result.push((bits >> 8) & 0xFF);
|
2974
|
+
result.push(bits & 0xFF);
|
2975
|
+
}
|
2976
|
+
|
2977
|
+
bits = (bits << 6) | map.indexOf(input.charAt(idx));
|
2978
|
+
}
|
2979
|
+
|
2980
|
+
// Dump tail
|
2981
|
+
|
2982
|
+
tailbits = (max % 4) * 6;
|
2983
|
+
|
2984
|
+
if (tailbits === 0) {
|
2985
|
+
result.push((bits >> 16) & 0xFF);
|
2986
|
+
result.push((bits >> 8) & 0xFF);
|
2987
|
+
result.push(bits & 0xFF);
|
2988
|
+
} else if (tailbits === 18) {
|
2989
|
+
result.push((bits >> 10) & 0xFF);
|
2990
|
+
result.push((bits >> 2) & 0xFF);
|
2991
|
+
} else if (tailbits === 12) {
|
2992
|
+
result.push((bits >> 4) & 0xFF);
|
2993
|
+
}
|
2994
|
+
|
2995
|
+
// Wrap into Buffer for NodeJS and leave Array for browser
|
2996
|
+
if (NodeBuffer) {
|
2997
|
+
// Support node 6.+ Buffer API when available
|
2998
|
+
return NodeBuffer.from ? NodeBuffer.from(result) : new NodeBuffer(result);
|
2999
|
+
}
|
3000
|
+
|
3001
|
+
return result;
|
3002
|
+
}
|
3003
|
+
|
3004
|
+
function representYamlBinary(object /*, style*/) {
|
3005
|
+
var result = '', bits = 0, idx, tail,
|
3006
|
+
max = object.length,
|
3007
|
+
map = BASE64_MAP;
|
3008
|
+
|
3009
|
+
// Convert every three bytes to 4 ASCII characters.
|
3010
|
+
|
3011
|
+
for (idx = 0; idx < max; idx++) {
|
3012
|
+
if ((idx % 3 === 0) && idx) {
|
3013
|
+
result += map[(bits >> 18) & 0x3F];
|
3014
|
+
result += map[(bits >> 12) & 0x3F];
|
3015
|
+
result += map[(bits >> 6) & 0x3F];
|
3016
|
+
result += map[bits & 0x3F];
|
3017
|
+
}
|
3018
|
+
|
3019
|
+
bits = (bits << 8) + object[idx];
|
3020
|
+
}
|
3021
|
+
|
3022
|
+
// Dump tail
|
3023
|
+
|
3024
|
+
tail = max % 3;
|
3025
|
+
|
3026
|
+
if (tail === 0) {
|
3027
|
+
result += map[(bits >> 18) & 0x3F];
|
3028
|
+
result += map[(bits >> 12) & 0x3F];
|
3029
|
+
result += map[(bits >> 6) & 0x3F];
|
3030
|
+
result += map[bits & 0x3F];
|
3031
|
+
} else if (tail === 2) {
|
3032
|
+
result += map[(bits >> 10) & 0x3F];
|
3033
|
+
result += map[(bits >> 4) & 0x3F];
|
3034
|
+
result += map[(bits << 2) & 0x3F];
|
3035
|
+
result += map[64];
|
3036
|
+
} else if (tail === 1) {
|
3037
|
+
result += map[(bits >> 2) & 0x3F];
|
3038
|
+
result += map[(bits << 4) & 0x3F];
|
3039
|
+
result += map[64];
|
3040
|
+
result += map[64];
|
3041
|
+
}
|
3042
|
+
|
3043
|
+
return result;
|
3044
|
+
}
|
3045
|
+
|
3046
|
+
function isBinary(object) {
|
3047
|
+
return NodeBuffer && NodeBuffer.isBuffer(object);
|
3048
|
+
}
|
3049
|
+
|
3050
|
+
module.exports = new Type('tag:yaml.org,2002:binary', {
|
3051
|
+
kind: 'scalar',
|
3052
|
+
resolve: resolveYamlBinary,
|
3053
|
+
construct: constructYamlBinary,
|
3054
|
+
predicate: isBinary,
|
3055
|
+
represent: representYamlBinary
|
3056
|
+
});
|
3057
|
+
|
3058
|
+
},{"../type":13}],15:[function(require,module,exports){
|
3059
|
+
'use strict';
|
3060
|
+
|
3061
|
+
var Type = require('../type');
|
3062
|
+
|
3063
|
+
function resolveYamlBoolean(data) {
|
3064
|
+
if (data === null) return false;
|
3065
|
+
|
3066
|
+
var max = data.length;
|
3067
|
+
|
3068
|
+
return (max === 4 && (data === 'true' || data === 'True' || data === 'TRUE')) ||
|
3069
|
+
(max === 5 && (data === 'false' || data === 'False' || data === 'FALSE'));
|
3070
|
+
}
|
3071
|
+
|
3072
|
+
function constructYamlBoolean(data) {
|
3073
|
+
return data === 'true' ||
|
3074
|
+
data === 'True' ||
|
3075
|
+
data === 'TRUE';
|
3076
|
+
}
|
3077
|
+
|
3078
|
+
function isBoolean(object) {
|
3079
|
+
return Object.prototype.toString.call(object) === '[object Boolean]';
|
3080
|
+
}
|
3081
|
+
|
3082
|
+
module.exports = new Type('tag:yaml.org,2002:bool', {
|
3083
|
+
kind: 'scalar',
|
3084
|
+
resolve: resolveYamlBoolean,
|
3085
|
+
construct: constructYamlBoolean,
|
3086
|
+
predicate: isBoolean,
|
3087
|
+
represent: {
|
3088
|
+
lowercase: function (object) { return object ? 'true' : 'false'; },
|
3089
|
+
uppercase: function (object) { return object ? 'TRUE' : 'FALSE'; },
|
3090
|
+
camelcase: function (object) { return object ? 'True' : 'False'; }
|
3091
|
+
},
|
3092
|
+
defaultStyle: 'lowercase'
|
3093
|
+
});
|
3094
|
+
|
3095
|
+
},{"../type":13}],16:[function(require,module,exports){
|
3096
|
+
'use strict';
|
3097
|
+
|
3098
|
+
var common = require('../common');
|
3099
|
+
var Type = require('../type');
|
3100
|
+
|
3101
|
+
var YAML_FLOAT_PATTERN = new RegExp(
|
3102
|
+
// 2.5e4, 2.5 and integers
|
3103
|
+
'^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?' +
|
3104
|
+
// .2e4, .2
|
3105
|
+
// special case, seems not from spec
|
3106
|
+
'|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?' +
|
3107
|
+
// 20:59
|
3108
|
+
'|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*' +
|
3109
|
+
// .inf
|
3110
|
+
'|[-+]?\\.(?:inf|Inf|INF)' +
|
3111
|
+
// .nan
|
3112
|
+
'|\\.(?:nan|NaN|NAN))$');
|
3113
|
+
|
3114
|
+
function resolveYamlFloat(data) {
|
3115
|
+
if (data === null) return false;
|
3116
|
+
|
3117
|
+
if (!YAML_FLOAT_PATTERN.test(data)) return false;
|
3118
|
+
|
3119
|
+
return true;
|
3120
|
+
}
|
3121
|
+
|
3122
|
+
function constructYamlFloat(data) {
|
3123
|
+
var value, sign, base, digits;
|
3124
|
+
|
3125
|
+
value = data.replace(/_/g, '').toLowerCase();
|
3126
|
+
sign = value[0] === '-' ? -1 : 1;
|
3127
|
+
digits = [];
|
3128
|
+
|
3129
|
+
if ('+-'.indexOf(value[0]) >= 0) {
|
3130
|
+
value = value.slice(1);
|
3131
|
+
}
|
3132
|
+
|
3133
|
+
if (value === '.inf') {
|
3134
|
+
return (sign === 1) ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;
|
3135
|
+
|
3136
|
+
} else if (value === '.nan') {
|
3137
|
+
return NaN;
|
3138
|
+
|
3139
|
+
} else if (value.indexOf(':') >= 0) {
|
3140
|
+
value.split(':').forEach(function (v) {
|
3141
|
+
digits.unshift(parseFloat(v, 10));
|
3142
|
+
});
|
3143
|
+
|
3144
|
+
value = 0.0;
|
3145
|
+
base = 1;
|
3146
|
+
|
3147
|
+
digits.forEach(function (d) {
|
3148
|
+
value += d * base;
|
3149
|
+
base *= 60;
|
3150
|
+
});
|
3151
|
+
|
3152
|
+
return sign * value;
|
3153
|
+
|
3154
|
+
}
|
3155
|
+
return sign * parseFloat(value, 10);
|
3156
|
+
}
|
3157
|
+
|
3158
|
+
|
3159
|
+
var SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/;
|
3160
|
+
|
3161
|
+
function representYamlFloat(object, style) {
|
3162
|
+
var res;
|
3163
|
+
|
3164
|
+
if (isNaN(object)) {
|
3165
|
+
switch (style) {
|
3166
|
+
case 'lowercase': return '.nan';
|
3167
|
+
case 'uppercase': return '.NAN';
|
3168
|
+
case 'camelcase': return '.NaN';
|
3169
|
+
}
|
3170
|
+
} else if (Number.POSITIVE_INFINITY === object) {
|
3171
|
+
switch (style) {
|
3172
|
+
case 'lowercase': return '.inf';
|
3173
|
+
case 'uppercase': return '.INF';
|
3174
|
+
case 'camelcase': return '.Inf';
|
3175
|
+
}
|
3176
|
+
} else if (Number.NEGATIVE_INFINITY === object) {
|
3177
|
+
switch (style) {
|
3178
|
+
case 'lowercase': return '-.inf';
|
3179
|
+
case 'uppercase': return '-.INF';
|
3180
|
+
case 'camelcase': return '-.Inf';
|
3181
|
+
}
|
3182
|
+
} else if (common.isNegativeZero(object)) {
|
3183
|
+
return '-0.0';
|
3184
|
+
}
|
3185
|
+
|
3186
|
+
res = object.toString(10);
|
3187
|
+
|
3188
|
+
// JS stringifier can build scientific format without dots: 5e-100,
|
3189
|
+
// while YAML requres dot: 5.e-100. Fix it with simple hack
|
3190
|
+
|
3191
|
+
return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace('e', '.e') : res;
|
3192
|
+
}
|
3193
|
+
|
3194
|
+
function isFloat(object) {
|
3195
|
+
return (Object.prototype.toString.call(object) === '[object Number]') &&
|
3196
|
+
(object % 1 !== 0 || common.isNegativeZero(object));
|
3197
|
+
}
|
3198
|
+
|
3199
|
+
module.exports = new Type('tag:yaml.org,2002:float', {
|
3200
|
+
kind: 'scalar',
|
3201
|
+
resolve: resolveYamlFloat,
|
3202
|
+
construct: constructYamlFloat,
|
3203
|
+
predicate: isFloat,
|
3204
|
+
represent: representYamlFloat,
|
3205
|
+
defaultStyle: 'lowercase'
|
3206
|
+
});
|
3207
|
+
|
3208
|
+
},{"../common":2,"../type":13}],17:[function(require,module,exports){
|
3209
|
+
'use strict';
|
3210
|
+
|
3211
|
+
var common = require('../common');
|
3212
|
+
var Type = require('../type');
|
3213
|
+
|
3214
|
+
function isHexCode(c) {
|
3215
|
+
return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) ||
|
3216
|
+
((0x41/* A */ <= c) && (c <= 0x46/* F */)) ||
|
3217
|
+
((0x61/* a */ <= c) && (c <= 0x66/* f */));
|
3218
|
+
}
|
3219
|
+
|
3220
|
+
function isOctCode(c) {
|
3221
|
+
return ((0x30/* 0 */ <= c) && (c <= 0x37/* 7 */));
|
3222
|
+
}
|
3223
|
+
|
3224
|
+
function isDecCode(c) {
|
3225
|
+
return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */));
|
3226
|
+
}
|
3227
|
+
|
3228
|
+
function resolveYamlInteger(data) {
|
3229
|
+
if (data === null) return false;
|
3230
|
+
|
3231
|
+
var max = data.length,
|
3232
|
+
index = 0,
|
3233
|
+
hasDigits = false,
|
3234
|
+
ch;
|
3235
|
+
|
3236
|
+
if (!max) return false;
|
3237
|
+
|
3238
|
+
ch = data[index];
|
3239
|
+
|
3240
|
+
// sign
|
3241
|
+
if (ch === '-' || ch === '+') {
|
3242
|
+
ch = data[++index];
|
3243
|
+
}
|
3244
|
+
|
3245
|
+
if (ch === '0') {
|
3246
|
+
// 0
|
3247
|
+
if (index + 1 === max) return true;
|
3248
|
+
ch = data[++index];
|
3249
|
+
|
3250
|
+
// base 2, base 8, base 16
|
3251
|
+
|
3252
|
+
if (ch === 'b') {
|
3253
|
+
// base 2
|
3254
|
+
index++;
|
3255
|
+
|
3256
|
+
for (; index < max; index++) {
|
3257
|
+
ch = data[index];
|
3258
|
+
if (ch === '_') continue;
|
3259
|
+
if (ch !== '0' && ch !== '1') return false;
|
3260
|
+
hasDigits = true;
|
3261
|
+
}
|
3262
|
+
return hasDigits;
|
3263
|
+
}
|
3264
|
+
|
3265
|
+
|
3266
|
+
if (ch === 'x') {
|
3267
|
+
// base 16
|
3268
|
+
index++;
|
3269
|
+
|
3270
|
+
for (; index < max; index++) {
|
3271
|
+
ch = data[index];
|
3272
|
+
if (ch === '_') continue;
|
3273
|
+
if (!isHexCode(data.charCodeAt(index))) return false;
|
3274
|
+
hasDigits = true;
|
3275
|
+
}
|
3276
|
+
return hasDigits;
|
3277
|
+
}
|
3278
|
+
|
3279
|
+
// base 8
|
3280
|
+
for (; index < max; index++) {
|
3281
|
+
ch = data[index];
|
3282
|
+
if (ch === '_') continue;
|
3283
|
+
if (!isOctCode(data.charCodeAt(index))) return false;
|
3284
|
+
hasDigits = true;
|
3285
|
+
}
|
3286
|
+
return hasDigits;
|
3287
|
+
}
|
3288
|
+
|
3289
|
+
// base 10 (except 0) or base 60
|
3290
|
+
|
3291
|
+
for (; index < max; index++) {
|
3292
|
+
ch = data[index];
|
3293
|
+
if (ch === '_') continue;
|
3294
|
+
if (ch === ':') break;
|
3295
|
+
if (!isDecCode(data.charCodeAt(index))) {
|
3296
|
+
return false;
|
3297
|
+
}
|
3298
|
+
hasDigits = true;
|
3299
|
+
}
|
3300
|
+
|
3301
|
+
if (!hasDigits) return false;
|
3302
|
+
|
3303
|
+
// if !base60 - done;
|
3304
|
+
if (ch !== ':') return true;
|
3305
|
+
|
3306
|
+
// base60 almost not used, no needs to optimize
|
3307
|
+
return /^(:[0-5]?[0-9])+$/.test(data.slice(index));
|
3308
|
+
}
|
3309
|
+
|
3310
|
+
function constructYamlInteger(data) {
|
3311
|
+
var value = data, sign = 1, ch, base, digits = [];
|
3312
|
+
|
3313
|
+
if (value.indexOf('_') !== -1) {
|
3314
|
+
value = value.replace(/_/g, '');
|
3315
|
+
}
|
3316
|
+
|
3317
|
+
ch = value[0];
|
3318
|
+
|
3319
|
+
if (ch === '-' || ch === '+') {
|
3320
|
+
if (ch === '-') sign = -1;
|
3321
|
+
value = value.slice(1);
|
3322
|
+
ch = value[0];
|
3323
|
+
}
|
3324
|
+
|
3325
|
+
if (value === '0') return 0;
|
3326
|
+
|
3327
|
+
if (ch === '0') {
|
3328
|
+
if (value[1] === 'b') return sign * parseInt(value.slice(2), 2);
|
3329
|
+
if (value[1] === 'x') return sign * parseInt(value, 16);
|
3330
|
+
return sign * parseInt(value, 8);
|
3331
|
+
}
|
3332
|
+
|
3333
|
+
if (value.indexOf(':') !== -1) {
|
3334
|
+
value.split(':').forEach(function (v) {
|
3335
|
+
digits.unshift(parseInt(v, 10));
|
3336
|
+
});
|
3337
|
+
|
3338
|
+
value = 0;
|
3339
|
+
base = 1;
|
3340
|
+
|
3341
|
+
digits.forEach(function (d) {
|
3342
|
+
value += (d * base);
|
3343
|
+
base *= 60;
|
3344
|
+
});
|
3345
|
+
|
3346
|
+
return sign * value;
|
3347
|
+
|
3348
|
+
}
|
3349
|
+
|
3350
|
+
return sign * parseInt(value, 10);
|
3351
|
+
}
|
3352
|
+
|
3353
|
+
function isInteger(object) {
|
3354
|
+
return (Object.prototype.toString.call(object)) === '[object Number]' &&
|
3355
|
+
(object % 1 === 0 && !common.isNegativeZero(object));
|
3356
|
+
}
|
3357
|
+
|
3358
|
+
module.exports = new Type('tag:yaml.org,2002:int', {
|
3359
|
+
kind: 'scalar',
|
3360
|
+
resolve: resolveYamlInteger,
|
3361
|
+
construct: constructYamlInteger,
|
3362
|
+
predicate: isInteger,
|
3363
|
+
represent: {
|
3364
|
+
binary: function (object) { return '0b' + object.toString(2); },
|
3365
|
+
octal: function (object) { return '0' + object.toString(8); },
|
3366
|
+
decimal: function (object) { return object.toString(10); },
|
3367
|
+
hexadecimal: function (object) { return '0x' + object.toString(16).toUpperCase(); }
|
3368
|
+
},
|
3369
|
+
defaultStyle: 'decimal',
|
3370
|
+
styleAliases: {
|
3371
|
+
binary: [ 2, 'bin' ],
|
3372
|
+
octal: [ 8, 'oct' ],
|
3373
|
+
decimal: [ 10, 'dec' ],
|
3374
|
+
hexadecimal: [ 16, 'hex' ]
|
3375
|
+
}
|
3376
|
+
});
|
3377
|
+
|
3378
|
+
},{"../common":2,"../type":13}],18:[function(require,module,exports){
|
3379
|
+
'use strict';
|
3380
|
+
|
3381
|
+
var esprima;
|
3382
|
+
|
3383
|
+
// Browserified version does not have esprima
|
3384
|
+
//
|
3385
|
+
// 1. For node.js just require module as deps
|
3386
|
+
// 2. For browser try to require mudule via external AMD system.
|
3387
|
+
// If not found - try to fallback to window.esprima. If not
|
3388
|
+
// found too - then fail to parse.
|
3389
|
+
//
|
3390
|
+
try {
|
3391
|
+
// workaround to exclude package from browserify list.
|
3392
|
+
var _require = require;
|
3393
|
+
esprima = _require('esprima');
|
3394
|
+
} catch (_) {
|
3395
|
+
/*global window */
|
3396
|
+
if (typeof window !== 'undefined') esprima = window.esprima;
|
3397
|
+
}
|
3398
|
+
|
3399
|
+
var Type = require('../../type');
|
3400
|
+
|
3401
|
+
function resolveJavascriptFunction(data) {
|
3402
|
+
if (data === null) return false;
|
3403
|
+
|
3404
|
+
try {
|
3405
|
+
var source = '(' + data + ')',
|
3406
|
+
ast = esprima.parse(source, { range: true });
|
3407
|
+
|
3408
|
+
if (ast.type !== 'Program' ||
|
3409
|
+
ast.body.length !== 1 ||
|
3410
|
+
ast.body[0].type !== 'ExpressionStatement' ||
|
3411
|
+
ast.body[0].expression.type !== 'FunctionExpression') {
|
3412
|
+
return false;
|
3413
|
+
}
|
3414
|
+
|
3415
|
+
return true;
|
3416
|
+
} catch (err) {
|
3417
|
+
return false;
|
3418
|
+
}
|
3419
|
+
}
|
3420
|
+
|
3421
|
+
function constructJavascriptFunction(data) {
|
3422
|
+
/*jslint evil:true*/
|
3423
|
+
|
3424
|
+
var source = '(' + data + ')',
|
3425
|
+
ast = esprima.parse(source, { range: true }),
|
3426
|
+
params = [],
|
3427
|
+
body;
|
3428
|
+
|
3429
|
+
if (ast.type !== 'Program' ||
|
3430
|
+
ast.body.length !== 1 ||
|
3431
|
+
ast.body[0].type !== 'ExpressionStatement' ||
|
3432
|
+
ast.body[0].expression.type !== 'FunctionExpression') {
|
3433
|
+
throw new Error('Failed to resolve function');
|
3434
|
+
}
|
3435
|
+
|
3436
|
+
ast.body[0].expression.params.forEach(function (param) {
|
3437
|
+
params.push(param.name);
|
3438
|
+
});
|
3439
|
+
|
3440
|
+
body = ast.body[0].expression.body.range;
|
3441
|
+
|
3442
|
+
// Esprima's ranges include the first '{' and the last '}' characters on
|
3443
|
+
// function expressions. So cut them out.
|
3444
|
+
/*eslint-disable no-new-func*/
|
3445
|
+
return new Function(params, source.slice(body[0] + 1, body[1] - 1));
|
3446
|
+
}
|
3447
|
+
|
3448
|
+
function representJavascriptFunction(object /*, style*/) {
|
3449
|
+
return object.toString();
|
3450
|
+
}
|
3451
|
+
|
3452
|
+
function isFunction(object) {
|
3453
|
+
return Object.prototype.toString.call(object) === '[object Function]';
|
3454
|
+
}
|
3455
|
+
|
3456
|
+
module.exports = new Type('tag:yaml.org,2002:js/function', {
|
3457
|
+
kind: 'scalar',
|
3458
|
+
resolve: resolveJavascriptFunction,
|
3459
|
+
construct: constructJavascriptFunction,
|
3460
|
+
predicate: isFunction,
|
3461
|
+
represent: representJavascriptFunction
|
3462
|
+
});
|
3463
|
+
|
3464
|
+
},{"../../type":13}],19:[function(require,module,exports){
|
3465
|
+
'use strict';
|
3466
|
+
|
3467
|
+
var Type = require('../../type');
|
3468
|
+
|
3469
|
+
function resolveJavascriptRegExp(data) {
|
3470
|
+
if (data === null) return false;
|
3471
|
+
if (data.length === 0) return false;
|
3472
|
+
|
3473
|
+
var regexp = data,
|
3474
|
+
tail = /\/([gim]*)$/.exec(data),
|
3475
|
+
modifiers = '';
|
3476
|
+
|
3477
|
+
// if regexp starts with '/' it can have modifiers and must be properly closed
|
3478
|
+
// `/foo/gim` - modifiers tail can be maximum 3 chars
|
3479
|
+
if (regexp[0] === '/') {
|
3480
|
+
if (tail) modifiers = tail[1];
|
3481
|
+
|
3482
|
+
if (modifiers.length > 3) return false;
|
3483
|
+
// if expression starts with /, is should be properly terminated
|
3484
|
+
if (regexp[regexp.length - modifiers.length - 1] !== '/') return false;
|
3485
|
+
}
|
3486
|
+
|
3487
|
+
return true;
|
3488
|
+
}
|
3489
|
+
|
3490
|
+
function constructJavascriptRegExp(data) {
|
3491
|
+
var regexp = data,
|
3492
|
+
tail = /\/([gim]*)$/.exec(data),
|
3493
|
+
modifiers = '';
|
3494
|
+
|
3495
|
+
// `/foo/gim` - tail can be maximum 4 chars
|
3496
|
+
if (regexp[0] === '/') {
|
3497
|
+
if (tail) modifiers = tail[1];
|
3498
|
+
regexp = regexp.slice(1, regexp.length - modifiers.length - 1);
|
3499
|
+
}
|
3500
|
+
|
3501
|
+
return new RegExp(regexp, modifiers);
|
3502
|
+
}
|
3503
|
+
|
3504
|
+
function representJavascriptRegExp(object /*, style*/) {
|
3505
|
+
var result = '/' + object.source + '/';
|
3506
|
+
|
3507
|
+
if (object.global) result += 'g';
|
3508
|
+
if (object.multiline) result += 'm';
|
3509
|
+
if (object.ignoreCase) result += 'i';
|
3510
|
+
|
3511
|
+
return result;
|
3512
|
+
}
|
3513
|
+
|
3514
|
+
function isRegExp(object) {
|
3515
|
+
return Object.prototype.toString.call(object) === '[object RegExp]';
|
3516
|
+
}
|
3517
|
+
|
3518
|
+
module.exports = new Type('tag:yaml.org,2002:js/regexp', {
|
3519
|
+
kind: 'scalar',
|
3520
|
+
resolve: resolveJavascriptRegExp,
|
3521
|
+
construct: constructJavascriptRegExp,
|
3522
|
+
predicate: isRegExp,
|
3523
|
+
represent: representJavascriptRegExp
|
3524
|
+
});
|
3525
|
+
|
3526
|
+
},{"../../type":13}],20:[function(require,module,exports){
|
3527
|
+
'use strict';
|
3528
|
+
|
3529
|
+
var Type = require('../../type');
|
3530
|
+
|
3531
|
+
function resolveJavascriptUndefined() {
|
3532
|
+
return true;
|
3533
|
+
}
|
3534
|
+
|
3535
|
+
function constructJavascriptUndefined() {
|
3536
|
+
/*eslint-disable no-undefined*/
|
3537
|
+
return undefined;
|
3538
|
+
}
|
3539
|
+
|
3540
|
+
function representJavascriptUndefined() {
|
3541
|
+
return '';
|
3542
|
+
}
|
3543
|
+
|
3544
|
+
function isUndefined(object) {
|
3545
|
+
return typeof object === 'undefined';
|
3546
|
+
}
|
3547
|
+
|
3548
|
+
module.exports = new Type('tag:yaml.org,2002:js/undefined', {
|
3549
|
+
kind: 'scalar',
|
3550
|
+
resolve: resolveJavascriptUndefined,
|
3551
|
+
construct: constructJavascriptUndefined,
|
3552
|
+
predicate: isUndefined,
|
3553
|
+
represent: representJavascriptUndefined
|
3554
|
+
});
|
3555
|
+
|
3556
|
+
},{"../../type":13}],21:[function(require,module,exports){
|
3557
|
+
'use strict';
|
3558
|
+
|
3559
|
+
var Type = require('../type');
|
3560
|
+
|
3561
|
+
module.exports = new Type('tag:yaml.org,2002:map', {
|
3562
|
+
kind: 'mapping',
|
3563
|
+
construct: function (data) { return data !== null ? data : {}; }
|
3564
|
+
});
|
3565
|
+
|
3566
|
+
},{"../type":13}],22:[function(require,module,exports){
|
3567
|
+
'use strict';
|
3568
|
+
|
3569
|
+
var Type = require('../type');
|
3570
|
+
|
3571
|
+
function resolveYamlMerge(data) {
|
3572
|
+
return data === '<<' || data === null;
|
3573
|
+
}
|
3574
|
+
|
3575
|
+
module.exports = new Type('tag:yaml.org,2002:merge', {
|
3576
|
+
kind: 'scalar',
|
3577
|
+
resolve: resolveYamlMerge
|
3578
|
+
});
|
3579
|
+
|
3580
|
+
},{"../type":13}],23:[function(require,module,exports){
|
3581
|
+
'use strict';
|
3582
|
+
|
3583
|
+
var Type = require('../type');
|
3584
|
+
|
3585
|
+
function resolveYamlNull(data) {
|
3586
|
+
if (data === null) return true;
|
3587
|
+
|
3588
|
+
var max = data.length;
|
3589
|
+
|
3590
|
+
return (max === 1 && data === '~') ||
|
3591
|
+
(max === 4 && (data === 'null' || data === 'Null' || data === 'NULL'));
|
3592
|
+
}
|
3593
|
+
|
3594
|
+
function constructYamlNull() {
|
3595
|
+
return null;
|
3596
|
+
}
|
3597
|
+
|
3598
|
+
function isNull(object) {
|
3599
|
+
return object === null;
|
3600
|
+
}
|
3601
|
+
|
3602
|
+
module.exports = new Type('tag:yaml.org,2002:null', {
|
3603
|
+
kind: 'scalar',
|
3604
|
+
resolve: resolveYamlNull,
|
3605
|
+
construct: constructYamlNull,
|
3606
|
+
predicate: isNull,
|
3607
|
+
represent: {
|
3608
|
+
canonical: function () { return '~'; },
|
3609
|
+
lowercase: function () { return 'null'; },
|
3610
|
+
uppercase: function () { return 'NULL'; },
|
3611
|
+
camelcase: function () { return 'Null'; }
|
3612
|
+
},
|
3613
|
+
defaultStyle: 'lowercase'
|
3614
|
+
});
|
3615
|
+
|
3616
|
+
},{"../type":13}],24:[function(require,module,exports){
|
3617
|
+
'use strict';
|
3618
|
+
|
3619
|
+
var Type = require('../type');
|
3620
|
+
|
3621
|
+
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
3622
|
+
var _toString = Object.prototype.toString;
|
3623
|
+
|
3624
|
+
function resolveYamlOmap(data) {
|
3625
|
+
if (data === null) return true;
|
3626
|
+
|
3627
|
+
var objectKeys = [], index, length, pair, pairKey, pairHasKey,
|
3628
|
+
object = data;
|
3629
|
+
|
3630
|
+
for (index = 0, length = object.length; index < length; index += 1) {
|
3631
|
+
pair = object[index];
|
3632
|
+
pairHasKey = false;
|
3633
|
+
|
3634
|
+
if (_toString.call(pair) !== '[object Object]') return false;
|
3635
|
+
|
3636
|
+
for (pairKey in pair) {
|
3637
|
+
if (_hasOwnProperty.call(pair, pairKey)) {
|
3638
|
+
if (!pairHasKey) pairHasKey = true;
|
3639
|
+
else return false;
|
3640
|
+
}
|
3641
|
+
}
|
3642
|
+
|
3643
|
+
if (!pairHasKey) return false;
|
3644
|
+
|
3645
|
+
if (objectKeys.indexOf(pairKey) === -1) objectKeys.push(pairKey);
|
3646
|
+
else return false;
|
3647
|
+
}
|
3648
|
+
|
3649
|
+
return true;
|
3650
|
+
}
|
3651
|
+
|
3652
|
+
function constructYamlOmap(data) {
|
3653
|
+
return data !== null ? data : [];
|
3654
|
+
}
|
3655
|
+
|
3656
|
+
module.exports = new Type('tag:yaml.org,2002:omap', {
|
3657
|
+
kind: 'sequence',
|
3658
|
+
resolve: resolveYamlOmap,
|
3659
|
+
construct: constructYamlOmap
|
3660
|
+
});
|
3661
|
+
|
3662
|
+
},{"../type":13}],25:[function(require,module,exports){
|
3663
|
+
'use strict';
|
3664
|
+
|
3665
|
+
var Type = require('../type');
|
3666
|
+
|
3667
|
+
var _toString = Object.prototype.toString;
|
3668
|
+
|
3669
|
+
function resolveYamlPairs(data) {
|
3670
|
+
if (data === null) return true;
|
3671
|
+
|
3672
|
+
var index, length, pair, keys, result,
|
3673
|
+
object = data;
|
3674
|
+
|
3675
|
+
result = new Array(object.length);
|
3676
|
+
|
3677
|
+
for (index = 0, length = object.length; index < length; index += 1) {
|
3678
|
+
pair = object[index];
|
3679
|
+
|
3680
|
+
if (_toString.call(pair) !== '[object Object]') return false;
|
3681
|
+
|
3682
|
+
keys = Object.keys(pair);
|
3683
|
+
|
3684
|
+
if (keys.length !== 1) return false;
|
3685
|
+
|
3686
|
+
result[index] = [ keys[0], pair[keys[0]] ];
|
3687
|
+
}
|
3688
|
+
|
3689
|
+
return true;
|
3690
|
+
}
|
3691
|
+
|
3692
|
+
function constructYamlPairs(data) {
|
3693
|
+
if (data === null) return [];
|
3694
|
+
|
3695
|
+
var index, length, pair, keys, result,
|
3696
|
+
object = data;
|
3697
|
+
|
3698
|
+
result = new Array(object.length);
|
3699
|
+
|
3700
|
+
for (index = 0, length = object.length; index < length; index += 1) {
|
3701
|
+
pair = object[index];
|
3702
|
+
|
3703
|
+
keys = Object.keys(pair);
|
3704
|
+
|
3705
|
+
result[index] = [ keys[0], pair[keys[0]] ];
|
3706
|
+
}
|
3707
|
+
|
3708
|
+
return result;
|
3709
|
+
}
|
3710
|
+
|
3711
|
+
module.exports = new Type('tag:yaml.org,2002:pairs', {
|
3712
|
+
kind: 'sequence',
|
3713
|
+
resolve: resolveYamlPairs,
|
3714
|
+
construct: constructYamlPairs
|
3715
|
+
});
|
3716
|
+
|
3717
|
+
},{"../type":13}],26:[function(require,module,exports){
|
3718
|
+
'use strict';
|
3719
|
+
|
3720
|
+
var Type = require('../type');
|
3721
|
+
|
3722
|
+
module.exports = new Type('tag:yaml.org,2002:seq', {
|
3723
|
+
kind: 'sequence',
|
3724
|
+
construct: function (data) { return data !== null ? data : []; }
|
3725
|
+
});
|
3726
|
+
|
3727
|
+
},{"../type":13}],27:[function(require,module,exports){
|
3728
|
+
'use strict';
|
3729
|
+
|
3730
|
+
var Type = require('../type');
|
3731
|
+
|
3732
|
+
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
3733
|
+
|
3734
|
+
function resolveYamlSet(data) {
|
3735
|
+
if (data === null) return true;
|
3736
|
+
|
3737
|
+
var key, object = data;
|
3738
|
+
|
3739
|
+
for (key in object) {
|
3740
|
+
if (_hasOwnProperty.call(object, key)) {
|
3741
|
+
if (object[key] !== null) return false;
|
3742
|
+
}
|
3743
|
+
}
|
3744
|
+
|
3745
|
+
return true;
|
3746
|
+
}
|
3747
|
+
|
3748
|
+
function constructYamlSet(data) {
|
3749
|
+
return data !== null ? data : {};
|
3750
|
+
}
|
3751
|
+
|
3752
|
+
module.exports = new Type('tag:yaml.org,2002:set', {
|
3753
|
+
kind: 'mapping',
|
3754
|
+
resolve: resolveYamlSet,
|
3755
|
+
construct: constructYamlSet
|
3756
|
+
});
|
3757
|
+
|
3758
|
+
},{"../type":13}],28:[function(require,module,exports){
|
3759
|
+
'use strict';
|
3760
|
+
|
3761
|
+
var Type = require('../type');
|
3762
|
+
|
3763
|
+
module.exports = new Type('tag:yaml.org,2002:str', {
|
3764
|
+
kind: 'scalar',
|
3765
|
+
construct: function (data) { return data !== null ? data : ''; }
|
3766
|
+
});
|
3767
|
+
|
3768
|
+
},{"../type":13}],29:[function(require,module,exports){
|
3769
|
+
'use strict';
|
3770
|
+
|
3771
|
+
var Type = require('../type');
|
3772
|
+
|
3773
|
+
var YAML_DATE_REGEXP = new RegExp(
|
3774
|
+
'^([0-9][0-9][0-9][0-9])' + // [1] year
|
3775
|
+
'-([0-9][0-9])' + // [2] month
|
3776
|
+
'-([0-9][0-9])$'); // [3] day
|
3777
|
+
|
3778
|
+
var YAML_TIMESTAMP_REGEXP = new RegExp(
|
3779
|
+
'^([0-9][0-9][0-9][0-9])' + // [1] year
|
3780
|
+
'-([0-9][0-9]?)' + // [2] month
|
3781
|
+
'-([0-9][0-9]?)' + // [3] day
|
3782
|
+
'(?:[Tt]|[ \\t]+)' + // ...
|
3783
|
+
'([0-9][0-9]?)' + // [4] hour
|
3784
|
+
':([0-9][0-9])' + // [5] minute
|
3785
|
+
':([0-9][0-9])' + // [6] second
|
3786
|
+
'(?:\\.([0-9]*))?' + // [7] fraction
|
3787
|
+
'(?:[ \\t]*(Z|([-+])([0-9][0-9]?)' + // [8] tz [9] tz_sign [10] tz_hour
|
3788
|
+
'(?::([0-9][0-9]))?))?$'); // [11] tz_minute
|
3789
|
+
|
3790
|
+
function resolveYamlTimestamp(data) {
|
3791
|
+
if (data === null) return false;
|
3792
|
+
if (YAML_DATE_REGEXP.exec(data) !== null) return true;
|
3793
|
+
if (YAML_TIMESTAMP_REGEXP.exec(data) !== null) return true;
|
3794
|
+
return false;
|
3795
|
+
}
|
3796
|
+
|
3797
|
+
function constructYamlTimestamp(data) {
|
3798
|
+
var match, year, month, day, hour, minute, second, fraction = 0,
|
3799
|
+
delta = null, tz_hour, tz_minute, date;
|
3800
|
+
|
3801
|
+
match = YAML_DATE_REGEXP.exec(data);
|
3802
|
+
if (match === null) match = YAML_TIMESTAMP_REGEXP.exec(data);
|
3803
|
+
|
3804
|
+
if (match === null) throw new Error('Date resolve error');
|
3805
|
+
|
3806
|
+
// match: [1] year [2] month [3] day
|
3807
|
+
|
3808
|
+
year = +(match[1]);
|
3809
|
+
month = +(match[2]) - 1; // JS month starts with 0
|
3810
|
+
day = +(match[3]);
|
3811
|
+
|
3812
|
+
if (!match[4]) { // no hour
|
3813
|
+
return new Date(Date.UTC(year, month, day));
|
3814
|
+
}
|
3815
|
+
|
3816
|
+
// match: [4] hour [5] minute [6] second [7] fraction
|
3817
|
+
|
3818
|
+
hour = +(match[4]);
|
3819
|
+
minute = +(match[5]);
|
3820
|
+
second = +(match[6]);
|
3821
|
+
|
3822
|
+
if (match[7]) {
|
3823
|
+
fraction = match[7].slice(0, 3);
|
3824
|
+
while (fraction.length < 3) { // milli-seconds
|
3825
|
+
fraction += '0';
|
3826
|
+
}
|
3827
|
+
fraction = +fraction;
|
3828
|
+
}
|
3829
|
+
|
3830
|
+
// match: [8] tz [9] tz_sign [10] tz_hour [11] tz_minute
|
3831
|
+
|
3832
|
+
if (match[9]) {
|
3833
|
+
tz_hour = +(match[10]);
|
3834
|
+
tz_minute = +(match[11] || 0);
|
3835
|
+
delta = (tz_hour * 60 + tz_minute) * 60000; // delta in mili-seconds
|
3836
|
+
if (match[9] === '-') delta = -delta;
|
3837
|
+
}
|
3838
|
+
|
3839
|
+
date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction));
|
3840
|
+
|
3841
|
+
if (delta) date.setTime(date.getTime() - delta);
|
3842
|
+
|
3843
|
+
return date;
|
3844
|
+
}
|
3845
|
+
|
3846
|
+
function representYamlTimestamp(object /*, style*/) {
|
3847
|
+
return object.toISOString();
|
3848
|
+
}
|
3849
|
+
|
3850
|
+
module.exports = new Type('tag:yaml.org,2002:timestamp', {
|
3851
|
+
kind: 'scalar',
|
3852
|
+
resolve: resolveYamlTimestamp,
|
3853
|
+
construct: constructYamlTimestamp,
|
3854
|
+
instanceOf: Date,
|
3855
|
+
represent: representYamlTimestamp
|
3856
|
+
});
|
3857
|
+
|
3858
|
+
},{"../type":13}],"/":[function(require,module,exports){
|
3859
|
+
'use strict';
|
3860
|
+
|
3861
|
+
|
3862
|
+
var yaml = require('./lib/js-yaml.js');
|
3863
|
+
|
3864
|
+
|
3865
|
+
module.exports = yaml;
|
3866
|
+
|
3867
|
+
},{"./lib/js-yaml.js":1}]},{},[])("/")
|
3868
|
+
});
|