cssesc-source 0.1.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -13
- data/vendor/LICENSE-MIT.txt +1 -1
- data/vendor/README.md +44 -50
- data/vendor/bin/cssesc +103 -109
- data/vendor/cssesc.js +114 -161
- data/vendor/man/cssesc.1 +2 -2
- data/vendor/package-lock.json +1664 -0
- data/vendor/package.json +47 -54
- metadata +9 -908
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/MIT-LICENSE.txt +0 -21
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/README.md +0 -43
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/bin/stripcolorcodes.js +0 -18
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/index.js +0 -3
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/package.json +0 -42
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/test/fixture/with-colors +0 -2
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/test/fixture/without-colors +0 -2
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/test/stripcolorcodes-test.js +0 -20
- data/vendor/node_modules/grunt-shell/package.json +0 -53
- data/vendor/node_modules/grunt-shell/readme.md +0 -221
- data/vendor/node_modules/grunt-shell/tasks/shell.js +0 -54
- data/vendor/node_modules/grunt-template/LICENSE-MIT.txt +0 -20
- data/vendor/node_modules/grunt-template/README.md +0 -123
- data/vendor/node_modules/grunt-template/package.json +0 -50
- data/vendor/node_modules/grunt-template/tasks/template.js +0 -44
- data/vendor/node_modules/grunt/CONTRIBUTING.md +0 -1
- data/vendor/node_modules/grunt/LICENSE-MIT +0 -22
- data/vendor/node_modules/grunt/README.md +0 -16
- data/vendor/node_modules/grunt/internal-tasks/bump.js +0 -151
- data/vendor/node_modules/grunt/internal-tasks/subgrunt.js +0 -34
- data/vendor/node_modules/grunt/lib/grunt.js +0 -156
- data/vendor/node_modules/grunt/lib/grunt/cli.js +0 -128
- data/vendor/node_modules/grunt/lib/grunt/config.js +0 -118
- data/vendor/node_modules/grunt/lib/grunt/event.js +0 -16
- data/vendor/node_modules/grunt/lib/grunt/fail.js +0 -84
- data/vendor/node_modules/grunt/lib/grunt/file.js +0 -440
- data/vendor/node_modules/grunt/lib/grunt/help.js +0 -129
- data/vendor/node_modules/grunt/lib/grunt/log.js +0 -352
- data/vendor/node_modules/grunt/lib/grunt/option.js +0 -42
- data/vendor/node_modules/grunt/lib/grunt/task.js +0 -451
- data/vendor/node_modules/grunt/lib/grunt/template.js +0 -95
- data/vendor/node_modules/grunt/lib/grunt/util.js +0 -188
- data/vendor/node_modules/grunt/lib/util/task.js +0 -323
- data/vendor/node_modules/grunt/node_modules/async/LICENSE +0 -19
- data/vendor/node_modules/grunt/node_modules/async/Makefile +0 -25
- data/vendor/node_modules/grunt/node_modules/async/README.md +0 -1021
- data/vendor/node_modules/grunt/node_modules/async/index.js +0 -3
- data/vendor/node_modules/grunt/node_modules/async/lib/async.js +0 -692
- data/vendor/node_modules/grunt/node_modules/async/package.json +0 -32
- data/vendor/node_modules/grunt/node_modules/coffee-script/CNAME +0 -1
- data/vendor/node_modules/grunt/node_modules/coffee-script/LICENSE +0 -22
- data/vendor/node_modules/grunt/node_modules/coffee-script/README +0 -51
- data/vendor/node_modules/grunt/node_modules/coffee-script/Rakefile +0 -78
- data/vendor/node_modules/grunt/node_modules/coffee-script/bin/cake +0 -7
- data/vendor/node_modules/grunt/node_modules/coffee-script/bin/coffee +0 -7
- data/vendor/node_modules/grunt/node_modules/coffee-script/extras/jsl.conf +0 -44
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/browser.js +0 -92
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/cake.js +0 -111
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/coffee-script.js +0 -167
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/command.js +0 -500
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/grammar.js +0 -606
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/helpers.js +0 -77
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/index.js +0 -11
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/lexer.js +0 -788
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/nodes.js +0 -2986
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/optparse.js +0 -138
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/parser.js +0 -683
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/repl.js +0 -261
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/rewriter.js +0 -349
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/scope.js +0 -146
- data/vendor/node_modules/grunt/node_modules/coffee-script/package.json +0 -47
- data/vendor/node_modules/grunt/node_modules/colors/MIT-LICENSE.txt +0 -22
- data/vendor/node_modules/grunt/node_modules/colors/ReadMe.md +0 -77
- data/vendor/node_modules/grunt/node_modules/colors/colors.js +0 -342
- data/vendor/node_modules/grunt/node_modules/colors/example.html +0 -76
- data/vendor/node_modules/grunt/node_modules/colors/example.js +0 -77
- data/vendor/node_modules/grunt/node_modules/colors/package.json +0 -29
- data/vendor/node_modules/grunt/node_modules/colors/test.js +0 -70
- data/vendor/node_modules/grunt/node_modules/colors/themes/winston-dark.js +0 -12
- data/vendor/node_modules/grunt/node_modules/colors/themes/winston-light.js +0 -12
- data/vendor/node_modules/grunt/node_modules/dateformat/Readme.md +0 -67
- data/vendor/node_modules/grunt/node_modules/dateformat/lib/dateformat.js +0 -165
- data/vendor/node_modules/grunt/node_modules/dateformat/package.json +0 -20
- data/vendor/node_modules/grunt/node_modules/dateformat/test/test_weekofyear.js +0 -4
- data/vendor/node_modules/grunt/node_modules/dateformat/test/test_weekofyear.sh +0 -27
- data/vendor/node_modules/grunt/node_modules/eventemitter2/README.md +0 -212
- data/vendor/node_modules/grunt/node_modules/eventemitter2/index.js +0 -1
- data/vendor/node_modules/grunt/node_modules/eventemitter2/lib/eventemitter2.js +0 -561
- data/vendor/node_modules/grunt/node_modules/eventemitter2/package.json +0 -62
- data/vendor/node_modules/grunt/node_modules/exit/Gruntfile.js +0 -48
- data/vendor/node_modules/grunt/node_modules/exit/LICENSE-MIT +0 -22
- data/vendor/node_modules/grunt/node_modules/exit/README.md +0 -75
- data/vendor/node_modules/grunt/node_modules/exit/lib/exit.js +0 -41
- data/vendor/node_modules/grunt/node_modules/exit/package.json +0 -51
- data/vendor/node_modules/grunt/node_modules/exit/test/exit_test.js +0 -121
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/10-stderr.txt +0 -10
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/10-stdout-stderr.txt +0 -20
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/10-stdout.txt +0 -10
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/100-stderr.txt +0 -100
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/100-stdout-stderr.txt +0 -200
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/100-stdout.txt +0 -100
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/1000-stderr.txt +0 -1000
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/1000-stdout-stderr.txt +0 -2000
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/1000-stdout.txt +0 -1000
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/create-files.sh +0 -8
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/log-broken.js +0 -23
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/log.js +0 -25
- data/vendor/node_modules/grunt/node_modules/findup-sync/Gruntfile.js +0 -25
- data/vendor/node_modules/grunt/node_modules/findup-sync/LICENSE-MIT +0 -22
- data/vendor/node_modules/grunt/node_modules/findup-sync/README.md +0 -44
- data/vendor/node_modules/grunt/node_modules/findup-sync/lib/findup-sync.js +0 -46
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/README.md +0 -164
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.compat.js +0 -5152
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.compat.min.js +0 -42
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.js +0 -4983
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.min.js +0 -40
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.underscore.js +0 -4307
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.underscore.min.js +0 -34
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/package.json +0 -62
- data/vendor/node_modules/grunt/node_modules/findup-sync/package.json +0 -48
- data/vendor/node_modules/grunt/node_modules/findup-sync/test/findup-sync_test.js +0 -48
- data/vendor/node_modules/grunt/node_modules/findup-sync/test/fixtures/a.txt +0 -0
- data/vendor/node_modules/grunt/node_modules/findup-sync/test/fixtures/a/b/bar.txt +0 -0
- data/vendor/node_modules/grunt/node_modules/findup-sync/test/fixtures/a/foo.txt +0 -0
- data/vendor/node_modules/grunt/node_modules/findup-sync/test/fixtures/aaa.txt +0 -0
- data/vendor/node_modules/grunt/node_modules/getobject/Gruntfile.js +0 -48
- data/vendor/node_modules/grunt/node_modules/getobject/LICENSE-MIT +0 -22
- data/vendor/node_modules/grunt/node_modules/getobject/README.md +0 -20
- data/vendor/node_modules/grunt/node_modules/getobject/lib/getobject.js +0 -60
- data/vendor/node_modules/grunt/node_modules/getobject/package.json +0 -48
- data/vendor/node_modules/grunt/node_modules/getobject/test/namespace_test.js +0 -51
- data/vendor/node_modules/grunt/node_modules/glob/LICENSE +0 -27
- data/vendor/node_modules/grunt/node_modules/glob/README.md +0 -233
- data/vendor/node_modules/grunt/node_modules/glob/examples/g.js +0 -9
- data/vendor/node_modules/grunt/node_modules/glob/examples/usr-local.js +0 -9
- data/vendor/node_modules/grunt/node_modules/glob/glob.js +0 -643
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/LICENSE +0 -27
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/README.md +0 -33
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/graceful-fs.js +0 -442
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/package.json +0 -49
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/test/open.js +0 -46
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/test/ulimit.js +0 -158
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/inherits/README.md +0 -51
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/inherits/inherits.js +0 -29
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/inherits/package.json +0 -30
- data/vendor/node_modules/grunt/node_modules/glob/package.json +0 -40
- data/vendor/node_modules/grunt/node_modules/glob/test/00-setup.js +0 -176
- data/vendor/node_modules/grunt/node_modules/glob/test/bash-comparison.js +0 -63
- data/vendor/node_modules/grunt/node_modules/glob/test/bash-results.json +0 -348
- data/vendor/node_modules/grunt/node_modules/glob/test/cwd-test.js +0 -55
- data/vendor/node_modules/grunt/node_modules/glob/test/mark.js +0 -74
- data/vendor/node_modules/grunt/node_modules/glob/test/nocase-nomagic.js +0 -113
- data/vendor/node_modules/grunt/node_modules/glob/test/pause-resume.js +0 -73
- data/vendor/node_modules/grunt/node_modules/glob/test/root-nomount.js +0 -39
- data/vendor/node_modules/grunt/node_modules/glob/test/root.js +0 -46
- data/vendor/node_modules/grunt/node_modules/glob/test/zz-cleanup.js +0 -11
- data/vendor/node_modules/grunt/node_modules/hooker/LICENSE-MIT +0 -22
- data/vendor/node_modules/grunt/node_modules/hooker/README.md +0 -186
- data/vendor/node_modules/grunt/node_modules/hooker/child.js +0 -101
- data/vendor/node_modules/grunt/node_modules/hooker/dist/ba-hooker.js +0 -169
- data/vendor/node_modules/grunt/node_modules/hooker/dist/ba-hooker.min.js +0 -4
- data/vendor/node_modules/grunt/node_modules/hooker/grunt.js +0 -47
- data/vendor/node_modules/grunt/node_modules/hooker/lib/hooker.js +0 -174
- data/vendor/node_modules/grunt/node_modules/hooker/package.json +0 -45
- data/vendor/node_modules/grunt/node_modules/hooker/parent.js +0 -17
- data/vendor/node_modules/grunt/node_modules/hooker/test/hooker_test.js +0 -435
- data/vendor/node_modules/grunt/node_modules/iconv-lite/LICENSE +0 -21
- data/vendor/node_modules/grunt/node_modules/iconv-lite/README.md +0 -72
- data/vendor/node_modules/grunt/node_modules/iconv-lite/README.md~ +0 -54
- data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/big5.js +0 -9
- data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/gbk.js +0 -9
- data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/singlebyte.js +0 -340
- data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/table/big5.js +0 -1
- data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/table/gbk.js +0 -1
- data/vendor/node_modules/grunt/node_modules/iconv-lite/generation/generate-big5-table.js +0 -25
- data/vendor/node_modules/grunt/node_modules/iconv-lite/generation/generate-singlebyte.js +0 -142
- data/vendor/node_modules/grunt/node_modules/iconv-lite/index.js +0 -231
- data/vendor/node_modules/grunt/node_modules/iconv-lite/package.json +0 -80
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/big5-test.js +0 -36
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/big5File.txt +0 -13
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/cyrillic-test.js +0 -86
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/gbk-test.js +0 -38
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/gbkFile.txt +0 -14
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/greek-test.js +0 -79
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/main-test.js +0 -55
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/performance.js +0 -67
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/turkish-test.js +0 -90
- data/vendor/node_modules/grunt/node_modules/js-yaml/HISTORY.md +0 -155
- data/vendor/node_modules/grunt/node_modules/js-yaml/LICENSE +0 -21
- data/vendor/node_modules/grunt/node_modules/js-yaml/README.md +0 -249
- data/vendor/node_modules/grunt/node_modules/js-yaml/bin/js-yaml.js +0 -125
- data/vendor/node_modules/grunt/node_modules/js-yaml/examples/custom_types.js +0 -104
- data/vendor/node_modules/grunt/node_modules/js-yaml/examples/custom_types.yaml +0 -18
- data/vendor/node_modules/grunt/node_modules/js-yaml/examples/dumper.js +0 -31
- data/vendor/node_modules/grunt/node_modules/js-yaml/examples/dumper.json +0 -22
- data/vendor/node_modules/grunt/node_modules/js-yaml/examples/sample_document.js +0 -15
- data/vendor/node_modules/grunt/node_modules/js-yaml/examples/sample_document.yaml +0 -197
- data/vendor/node_modules/grunt/node_modules/js-yaml/index.js +0 -1
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml.js +0 -33
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/common.js +0 -60
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/dumper.js +0 -437
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/exception.js +0 -25
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/loader.js +0 -1549
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/mark.js +0 -78
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/require.js +0 -23
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema.js +0 -103
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/default.js +0 -16
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/minimal.js +0 -13
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/safe.js +0 -25
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type.js +0 -82
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/binary.js +0 -118
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/bool.js +0 -74
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/float.js +0 -102
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/int.js +0 -85
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/js/function.js +0 -56
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +0 -56
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +0 -28
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/map.js +0 -11
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/merge.js +0 -18
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/null.js +0 -36
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/omap.js +0 -53
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/pairs.js +0 -41
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/seq.js +0 -11
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/set.js +0 -31
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/str.js +0 -11
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +0 -91
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/HISTORY.md +0 -109
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/LICENSE +0 -21
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/README.md +0 -239
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/arguments.js +0 -36
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/choice.js +0 -22
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/constants.js +0 -59
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/help.js +0 -13
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/nargs.js +0 -33
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/parents.js +0 -28
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/prefix_chars.js +0 -23
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/sub_commands.js +0 -49
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/sum.js +0 -35
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/testformatters.js +0 -270
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/index.js +0 -1
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action.js +0 -146
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/append.js +0 -55
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/append/constant.js +0 -47
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/count.js +0 -40
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/help.js +0 -48
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/store.js +0 -50
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/store/constant.js +0 -43
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/store/false.js +0 -27
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js +0 -26
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/subparsers.js +0 -148
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/version.js +0 -50
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action_container.js +0 -481
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argparse.js +0 -14
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argument/error.js +0 -50
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argument/exclusive.js +0 -54
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argument/group.js +0 -75
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argument_parser.js +0 -1165
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/const.js +0 -18
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/help/added_formatters.js +0 -88
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/help/formatter.js +0 -803
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/namespace.js +0 -77
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/Gemfile +0 -4
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/Gemfile.lock +0 -17
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/README.markdown +0 -814
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/Rakefile +0 -23
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/component.json +0 -11
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/dist/underscore.string.min.js +0 -1
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/lib/underscore.string.js +0 -673
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/libpeerconnection.log +0 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/package.json +0 -73
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/run-qunit.js +0 -45
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/speed.js +0 -148
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/strings.js +0 -685
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/strings_standalone.js +0 -12
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test.html +0 -31
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_standalone.html +0 -18
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/arrays.js +0 -200
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/chaining.js +0 -59
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/collections.js +0 -426
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/functions.js +0 -259
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/index.html +0 -45
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/objects.js +0 -548
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/speed.js +0 -75
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/utility.js +0 -249
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/vendor/jquery.js +0 -9404
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/vendor/jslitmus.js +0 -670
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/vendor/qunit.css +0 -235
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/vendor/qunit.js +0 -1977
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/underscore.js +0 -1201
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/CNAME +0 -1
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/CONTRIBUTING.md +0 -9
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/LICENSE +0 -22
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/README.md +0 -19
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/favicon.ico +0 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/index.html +0 -2467
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/index.js +0 -1
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/package.json +0 -35
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/underscore-min.js +0 -1
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/underscore.js +0 -1226
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/package.json +0 -50
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/README.md +0 -73
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/bin/esparse.js +0 -117
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/bin/esvalidate.js +0 -177
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/esprima.js +0 -3908
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/package.json +0 -59
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/compat.js +0 -239
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/reflect.js +0 -422
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/run.js +0 -66
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/runner.js +0 -387
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/test.js +0 -20238
- data/vendor/node_modules/grunt/node_modules/js-yaml/package.json +0 -60
- data/vendor/node_modules/grunt/node_modules/lodash/README.md +0 -140
- data/vendor/node_modules/grunt/node_modules/lodash/lodash.js +0 -4258
- data/vendor/node_modules/grunt/node_modules/lodash/lodash.min.js +0 -35
- data/vendor/node_modules/grunt/node_modules/lodash/lodash.underscore.js +0 -3688
- data/vendor/node_modules/grunt/node_modules/lodash/lodash.underscore.min.js +0 -28
- data/vendor/node_modules/grunt/node_modules/lodash/package.json +0 -62
- data/vendor/node_modules/grunt/node_modules/minimatch/LICENSE +0 -23
- data/vendor/node_modules/grunt/node_modules/minimatch/README.md +0 -218
- data/vendor/node_modules/grunt/node_modules/minimatch/minimatch.js +0 -1055
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/CONTRIBUTORS +0 -14
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/LICENSE +0 -23
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/README.md +0 -97
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/lib/lru-cache.js +0 -252
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/package.json +0 -33
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/test/basic.js +0 -369
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/test/foreach.js +0 -52
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/test/memory-leak.js +0 -50
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/LICENSE +0 -27
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/README.md +0 -53
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/bench.js +0 -283
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/package.json +0 -42
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/sigmund.js +0 -39
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/test/basic.js +0 -24
- data/vendor/node_modules/grunt/node_modules/minimatch/package.json +0 -40
- data/vendor/node_modules/grunt/node_modules/minimatch/test/basic.js +0 -399
- data/vendor/node_modules/grunt/node_modules/minimatch/test/brace-expand.js +0 -33
- data/vendor/node_modules/grunt/node_modules/minimatch/test/caching.js +0 -14
- data/vendor/node_modules/grunt/node_modules/minimatch/test/defaults.js +0 -274
- data/vendor/node_modules/grunt/node_modules/minimatch/test/extglob-ending-with-state-char.js +0 -8
- data/vendor/node_modules/grunt/node_modules/nopt/LICENSE +0 -23
- data/vendor/node_modules/grunt/node_modules/nopt/README.md +0 -208
- data/vendor/node_modules/grunt/node_modules/nopt/bin/nopt.js +0 -44
- data/vendor/node_modules/grunt/node_modules/nopt/examples/my-program.js +0 -30
- data/vendor/node_modules/grunt/node_modules/nopt/lib/nopt.js +0 -552
- data/vendor/node_modules/grunt/node_modules/nopt/node_modules/abbrev/LICENSE +0 -23
- data/vendor/node_modules/grunt/node_modules/nopt/node_modules/abbrev/README.md +0 -23
- data/vendor/node_modules/grunt/node_modules/nopt/node_modules/abbrev/lib/abbrev.js +0 -111
- data/vendor/node_modules/grunt/node_modules/nopt/node_modules/abbrev/package.json +0 -29
- data/vendor/node_modules/grunt/node_modules/nopt/package.json +0 -36
- data/vendor/node_modules/grunt/node_modules/rimraf/AUTHORS +0 -6
- data/vendor/node_modules/grunt/node_modules/rimraf/LICENSE +0 -23
- data/vendor/node_modules/grunt/node_modules/rimraf/README.md +0 -21
- data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/LICENSE +0 -23
- data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/README.md +0 -5
- data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/graceful-fs.js +0 -312
- data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/package.json +0 -40
- data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/test/open.js +0 -41
- data/vendor/node_modules/grunt/node_modules/rimraf/package.json +0 -59
- data/vendor/node_modules/grunt/node_modules/rimraf/rimraf.js +0 -161
- data/vendor/node_modules/grunt/node_modules/rimraf/test/run.sh +0 -10
- data/vendor/node_modules/grunt/node_modules/rimraf/test/setup.sh +0 -47
- data/vendor/node_modules/grunt/node_modules/rimraf/test/test-async.js +0 -5
- data/vendor/node_modules/grunt/node_modules/rimraf/test/test-fiber.js +0 -0
- data/vendor/node_modules/grunt/node_modules/rimraf/test/test-sync.js +0 -3
- data/vendor/node_modules/grunt/node_modules/underscore.string/Gemfile +0 -5
- data/vendor/node_modules/grunt/node_modules/underscore.string/Gemfile.lock +0 -34
- data/vendor/node_modules/grunt/node_modules/underscore.string/README.markdown +0 -668
- data/vendor/node_modules/grunt/node_modules/underscore.string/Rakefile +0 -28
- data/vendor/node_modules/grunt/node_modules/underscore.string/dist/underscore.string.min.js +0 -1
- data/vendor/node_modules/grunt/node_modules/underscore.string/lib/underscore.string.js +0 -525
- data/vendor/node_modules/grunt/node_modules/underscore.string/package.json +0 -72
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/run-qunit.js +0 -44
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/speed.js +0 -138
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/strings.js +0 -438
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/strings_standalone.js +0 -12
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test.html +0 -31
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_standalone.html +0 -18
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/arrays.js +0 -166
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/chaining.js +0 -59
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/collections.js +0 -270
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/functions.js +0 -198
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/objects.js +0 -535
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/speed.js +0 -70
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/temp.js +0 -27
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/temp_tests.html +0 -19
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/test.html +0 -43
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/utility.js +0 -155
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/vendor/jquery.js +0 -19
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/vendor/jslitmus.js +0 -670
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/vendor/qunit.css +0 -196
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/vendor/qunit.js +0 -2360
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/underscore.js +0 -999
- data/vendor/node_modules/grunt/node_modules/which/LICENSE +0 -23
- data/vendor/node_modules/grunt/node_modules/which/README.md +0 -5
- data/vendor/node_modules/grunt/node_modules/which/bin/which +0 -14
- data/vendor/node_modules/grunt/node_modules/which/package.json +0 -31
- data/vendor/node_modules/grunt/node_modules/which/which.js +0 -104
- data/vendor/node_modules/grunt/package.json +0 -82
- data/vendor/node_modules/istanbul/CHANGELOG.md +0 -57
- data/vendor/node_modules/istanbul/LICENSE +0 -24
- data/vendor/node_modules/istanbul/README.md +0 -205
- data/vendor/node_modules/istanbul/index.js +0 -115
- data/vendor/node_modules/istanbul/lib/cli.js +0 -74
- data/vendor/node_modules/istanbul/lib/collector.js +0 -121
- data/vendor/node_modules/istanbul/lib/command/check-coverage.js +0 -115
- data/vendor/node_modules/istanbul/lib/command/common/run-with-cover.js +0 -199
- data/vendor/node_modules/istanbul/lib/command/cover.js +0 -33
- data/vendor/node_modules/istanbul/lib/command/help.js +0 -58
- data/vendor/node_modules/istanbul/lib/command/index.js +0 -33
- data/vendor/node_modules/istanbul/lib/command/instrument.js +0 -244
- data/vendor/node_modules/istanbul/lib/command/report.js +0 -97
- data/vendor/node_modules/istanbul/lib/command/test.js +0 -31
- data/vendor/node_modules/istanbul/lib/hook.js +0 -187
- data/vendor/node_modules/istanbul/lib/instrumenter.js +0 -759
- data/vendor/node_modules/istanbul/lib/object-utils.js +0 -341
- data/vendor/node_modules/istanbul/lib/register-plugins.js +0 -15
- data/vendor/node_modules/istanbul/lib/report/cobertura.js +0 -207
- data/vendor/node_modules/istanbul/lib/report/html.js +0 -517
- data/vendor/node_modules/istanbul/lib/report/index.js +0 -60
- data/vendor/node_modules/istanbul/lib/report/json.js +0 -55
- data/vendor/node_modules/istanbul/lib/report/lcov.js +0 -49
- data/vendor/node_modules/istanbul/lib/report/lcovonly.js +0 -93
- data/vendor/node_modules/istanbul/lib/report/none.js +0 -20
- data/vendor/node_modules/istanbul/lib/report/teamcity.js +0 -82
- data/vendor/node_modules/istanbul/lib/report/templates/foot.txt +0 -102
- data/vendor/node_modules/istanbul/lib/report/templates/head.txt +0 -200
- data/vendor/node_modules/istanbul/lib/report/text-summary.js +0 -72
- data/vendor/node_modules/istanbul/lib/report/text.js +0 -210
- data/vendor/node_modules/istanbul/lib/store/fslookup.js +0 -60
- data/vendor/node_modules/istanbul/lib/store/index.js +0 -122
- data/vendor/node_modules/istanbul/lib/store/memory.js +0 -55
- data/vendor/node_modules/istanbul/lib/store/tmp.js +0 -80
- data/vendor/node_modules/istanbul/lib/util/factory.js +0 -88
- data/vendor/node_modules/istanbul/lib/util/file-matcher.js +0 -60
- data/vendor/node_modules/istanbul/lib/util/file-writer.js +0 -131
- data/vendor/node_modules/istanbul/lib/util/flow-control.js +0 -26
- data/vendor/node_modules/istanbul/lib/util/help-formatter.js +0 -24
- data/vendor/node_modules/istanbul/lib/util/input-error.js +0 -12
- data/vendor/node_modules/istanbul/lib/util/insertion-text.js +0 -109
- data/vendor/node_modules/istanbul/lib/util/meta.js +0 -13
- data/vendor/node_modules/istanbul/lib/util/tree-summarizer.js +0 -213
- data/vendor/node_modules/istanbul/lib/util/writer.js +0 -56
- data/vendor/node_modules/istanbul/lib/util/yui-load-hook.js +0 -49
- data/vendor/node_modules/istanbul/lib/vendor/prettify.css +0 -1
- data/vendor/node_modules/istanbul/lib/vendor/prettify.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/abbrev/LICENSE +0 -23
- data/vendor/node_modules/istanbul/node_modules/abbrev/README.md +0 -23
- data/vendor/node_modules/istanbul/node_modules/abbrev/lib/abbrev.js +0 -111
- data/vendor/node_modules/istanbul/node_modules/abbrev/package.json +0 -29
- data/vendor/node_modules/istanbul/node_modules/async/LICENSE +0 -19
- data/vendor/node_modules/istanbul/node_modules/async/README.md +0 -1414
- data/vendor/node_modules/istanbul/node_modules/async/component.json +0 -11
- data/vendor/node_modules/istanbul/node_modules/async/lib/async.js +0 -955
- data/vendor/node_modules/istanbul/node_modules/async/package.json +0 -43
- data/vendor/node_modules/istanbul/node_modules/escodegen/LICENSE.BSD +0 -19
- data/vendor/node_modules/istanbul/node_modules/escodegen/LICENSE.source-map +0 -27
- data/vendor/node_modules/istanbul/node_modules/escodegen/README.md +0 -99
- data/vendor/node_modules/istanbul/node_modules/escodegen/bin/escodegen.js +0 -45
- data/vendor/node_modules/istanbul/node_modules/escodegen/bin/esgenerate.js +0 -45
- data/vendor/node_modules/istanbul/node_modules/escodegen/component.json +0 -48
- data/vendor/node_modules/istanbul/node_modules/escodegen/escodegen.browser.js +0 -3072
- data/vendor/node_modules/istanbul/node_modules/escodegen/escodegen.js +0 -2275
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/estraverse/LICENSE.BSD +0 -19
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/estraverse/README.md +0 -29
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/estraverse/estraverse.js +0 -315
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/estraverse/package.json +0 -41
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/CHANGELOG.md +0 -112
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/LICENSE +0 -28
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/Makefile.dryice.js +0 -166
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/README.md +0 -434
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/assert-shim.js +0 -56
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/mini-require.js +0 -152
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/prefix-source-map.jsm +0 -20
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/prefix-utils.jsm +0 -18
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/suffix-browser.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/suffix-source-map.jsm +0 -6
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/suffix-utils.jsm +0 -21
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/test-prefix.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/test-suffix.js +0 -3
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/array-set.js +0 -97
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/base64-vlq.js +0 -144
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/base64.js +0 -42
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/binary-search.js +0 -81
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/source-map-consumer.js +0 -477
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/source-map-generator.js +0 -380
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/source-node.js +0 -371
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/util.js +0 -205
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/LICENSE +0 -58
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/README.md +0 -171
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/amdefine.js +0 -299
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/intercept.js +0 -36
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/package.json +0 -36
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/package.json +0 -110
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/run-tests.js +0 -71
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-api.js +0 -26
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-array-set.js +0 -104
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-base64-vlq.js +0 -24
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-base64.js +0 -35
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-binary-search.js +0 -54
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-dog-fooding.js +0 -72
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-map-consumer.js +0 -451
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-map-generator.js +0 -417
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-node.js +0 -365
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/util.js +0 -161
- data/vendor/node_modules/istanbul/node_modules/escodegen/package.json +0 -58
- data/vendor/node_modules/istanbul/node_modules/esprima/README.md +0 -73
- data/vendor/node_modules/istanbul/node_modules/esprima/bin/esparse.js +0 -117
- data/vendor/node_modules/istanbul/node_modules/esprima/bin/esvalidate.js +0 -177
- data/vendor/node_modules/istanbul/node_modules/esprima/esprima.js +0 -3908
- data/vendor/node_modules/istanbul/node_modules/esprima/package.json +0 -59
- data/vendor/node_modules/istanbul/node_modules/esprima/test/compat.js +0 -239
- data/vendor/node_modules/istanbul/node_modules/esprima/test/reflect.js +0 -422
- data/vendor/node_modules/istanbul/node_modules/esprima/test/run.js +0 -66
- data/vendor/node_modules/istanbul/node_modules/esprima/test/runner.js +0 -387
- data/vendor/node_modules/istanbul/node_modules/esprima/test/test.js +0 -20238
- data/vendor/node_modules/istanbul/node_modules/fileset/LICENSE-MIT +0 -22
- data/vendor/node_modules/istanbul/node_modules/fileset/README.md +0 -87
- data/vendor/node_modules/istanbul/node_modules/fileset/lib/fileset.js +0 -64
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/LICENSE +0 -27
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/README.md +0 -250
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/examples/g.js +0 -9
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/examples/usr-local.js +0 -9
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/glob.js +0 -680
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/LICENSE +0 -16
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/README.md +0 -42
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/inherits.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/inherits_browser.js +0 -23
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/package.json +0 -33
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/test.js +0 -25
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/package.json +0 -39
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/00-setup.js +0 -176
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/bash-comparison.js +0 -63
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/bash-results.json +0 -350
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/cwd-test.js +0 -55
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/globstar-match.js +0 -19
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/mark.js +0 -74
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/new-glob-optional-options.js +0 -10
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/nocase-nomagic.js +0 -113
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/pause-resume.js +0 -73
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/root-nomount.js +0 -39
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/root.js +0 -46
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/stat.js +0 -32
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/zz-cleanup.js +0 -11
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/LICENSE +0 -23
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/README.md +0 -218
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/minimatch.js +0 -1055
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/CONTRIBUTORS +0 -14
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/LICENSE +0 -23
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/README.md +0 -97
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/lib/lru-cache.js +0 -252
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/package.json +0 -33
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/test/basic.js +0 -369
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/test/foreach.js +0 -52
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/test/memory-leak.js +0 -50
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/LICENSE +0 -27
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/README.md +0 -53
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/bench.js +0 -283
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/package.json +0 -42
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/sigmund.js +0 -39
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/test/basic.js +0 -24
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/package.json +0 -40
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/basic.js +0 -399
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/brace-expand.js +0 -33
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/caching.js +0 -14
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/defaults.js +0 -274
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/extglob-ending-with-state-char.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/fileset/package.json +0 -34
- data/vendor/node_modules/istanbul/node_modules/fileset/tests/fixtures/an (odd) filename.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/fileset/tests/helper.js +0 -61
- data/vendor/node_modules/istanbul/node_modules/fileset/tests/test.js +0 -133
- data/vendor/node_modules/istanbul/node_modules/handlebars/LICENSE +0 -19
- data/vendor/node_modules/istanbul/node_modules/handlebars/README.markdown +0 -391
- data/vendor/node_modules/istanbul/node_modules/handlebars/bin/handlebars +0 -213
- data/vendor/node_modules/istanbul/node_modules/handlebars/bower.json +0 -9
- data/vendor/node_modules/istanbul/node_modules/handlebars/dist/handlebars.js +0 -2278
- data/vendor/node_modules/istanbul/node_modules/handlebars/dist/handlebars.min.js +0 -2
- data/vendor/node_modules/istanbul/node_modules/handlebars/dist/handlebars.runtime.js +0 -362
- data/vendor/node_modules/istanbul/node_modules/handlebars/dist/handlebars.runtime.min.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/handlebars/global-test.js +0 -18
- data/vendor/node_modules/istanbul/node_modules/handlebars/global.js +0 -4
- data/vendor/node_modules/istanbul/node_modules/handlebars/handlebars-source.gemspec +0 -21
- data/vendor/node_modules/istanbul/node_modules/handlebars/handlebars.js.nuspec +0 -17
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars.js +0 -43
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/base.js +0 -166
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/browser-prefix.js +0 -3
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/browser-suffix.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/ast.js +0 -138
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/base.js +0 -21
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/compiler.js +0 -1305
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/index.js +0 -16
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/parser.js +0 -483
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/printer.js +0 -138
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/visitor.js +0 -18
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/runtime.js +0 -106
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/source.rb +0 -11
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/utils.js +0 -83
- data/vendor/node_modules/istanbul/node_modules/handlebars/min.sh +0 -11
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/LICENSE +0 -21
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/bool.js +0 -10
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/boolean_double.js +0 -7
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/boolean_single.js +0 -7
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/default_hash.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/default_singles.js +0 -7
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/divide.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/line_count.js +0 -20
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/line_count_options.js +0 -29
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/line_count_wrap.js +0 -29
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/nonopt.js +0 -4
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/reflect.js +0 -2
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/short.js +0 -3
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/string.js +0 -11
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/usage-options.js +0 -19
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/xup.js +0 -10
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/index.js +0 -478
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/package.json +0 -46
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/readme.markdown +0 -487
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/_.js +0 -71
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/_/argv.js +0 -2
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/_/bin.js +0 -3
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/parse.js +0 -446
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/usage.js +0 -292
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/LICENSE +0 -29
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/README.md +0 -588
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/bin/uglifyjs +0 -402
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/ast.js +0 -985
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/compress.js +0 -2028
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/mozilla-ast.js +0 -267
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/output.js +0 -1229
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/parse.js +0 -1410
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/scope.js +0 -581
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/sourcemap.js +0 -81
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/transform.js +0 -217
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/utils.js +0 -295
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/CHANGELOG.md +0 -112
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/LICENSE +0 -28
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/Makefile.dryice.js +0 -166
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/README.md +0 -434
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/assert-shim.js +0 -56
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/mini-require.js +0 -152
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/prefix-source-map.jsm +0 -20
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/prefix-utils.jsm +0 -18
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/suffix-browser.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/suffix-source-map.jsm +0 -6
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/suffix-utils.jsm +0 -21
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/test-prefix.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/test-suffix.js +0 -3
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/array-set.js +0 -97
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/base64-vlq.js +0 -144
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/base64.js +0 -42
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/binary-search.js +0 -81
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-map-consumer.js +0 -477
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-map-generator.js +0 -380
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-node.js +0 -371
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/util.js +0 -205
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/LICENSE +0 -58
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/README.md +0 -171
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/amdefine.js +0 -299
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/intercept.js +0 -36
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/package.json +0 -37
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/package.json +0 -110
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/run-tests.js +0 -71
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-api.js +0 -26
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-array-set.js +0 -104
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-base64-vlq.js +0 -24
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-base64.js +0 -35
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-binary-search.js +0 -54
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-dog-fooding.js +0 -72
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-source-map-consumer.js +0 -451
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-source-map-generator.js +0 -417
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-source-node.js +0 -365
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/util.js +0 -161
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/package.json +0 -39
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/arrays.js +0 -12
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/blocks.js +0 -49
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/conditionals.js +0 -143
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/dead-code.js +0 -89
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/debugger.js +0 -24
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/drop-unused.js +0 -97
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-105.js +0 -25
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-12.js +0 -11
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-143.js +0 -48
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-22.js +0 -17
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-44.js +0 -31
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-59.js +0 -30
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/labels.js +0 -163
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/loops.js +0 -123
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/properties.js +0 -54
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/sequences.js +0 -161
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/switch.js +0 -260
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/typeof.js +0 -25
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/run-tests.js +0 -170
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/tools/node.js +0 -165
- data/vendor/node_modules/istanbul/node_modules/handlebars/package.json +0 -42
- data/vendor/node_modules/istanbul/node_modules/handlebars/release-notes.md +0 -93
- data/vendor/node_modules/istanbul/node_modules/handlebars/test.js +0 -20
- data/vendor/node_modules/istanbul/node_modules/mkdirp/LICENSE +0 -21
- data/vendor/node_modules/istanbul/node_modules/mkdirp/examples/pow.js +0 -6
- data/vendor/node_modules/istanbul/node_modules/mkdirp/index.js +0 -82
- data/vendor/node_modules/istanbul/node_modules/mkdirp/package.json +0 -34
- data/vendor/node_modules/istanbul/node_modules/mkdirp/readme.markdown +0 -63
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/chmod.js +0 -38
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/clobber.js +0 -37
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/mkdirp.js +0 -28
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/perm.js +0 -32
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/perm_sync.js +0 -39
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/race.js +0 -41
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/rel.js +0 -32
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/return.js +0 -25
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/return_sync.js +0 -24
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/root.js +0 -18
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/sync.js +0 -32
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/umask.js +0 -28
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/umask_sync.js +0 -32
- data/vendor/node_modules/istanbul/node_modules/nopt/LICENSE +0 -23
- data/vendor/node_modules/istanbul/node_modules/nopt/README.md +0 -210
- data/vendor/node_modules/istanbul/node_modules/nopt/bin/nopt.js +0 -51
- data/vendor/node_modules/istanbul/node_modules/nopt/examples/my-program.js +0 -30
- data/vendor/node_modules/istanbul/node_modules/nopt/lib/nopt.js +0 -612
- data/vendor/node_modules/istanbul/node_modules/nopt/package.json +0 -36
- data/vendor/node_modules/istanbul/node_modules/resolve/LICENSE +0 -18
- data/vendor/node_modules/istanbul/node_modules/resolve/example/async.js +0 -5
- data/vendor/node_modules/istanbul/node_modules/resolve/example/sync.js +0 -3
- data/vendor/node_modules/istanbul/node_modules/resolve/index.js +0 -5
- data/vendor/node_modules/istanbul/node_modules/resolve/lib/async.js +0 -125
- data/vendor/node_modules/istanbul/node_modules/resolve/lib/caller.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/resolve/lib/core.js +0 -4
- data/vendor/node_modules/istanbul/node_modules/resolve/lib/core.json +0 -38
- data/vendor/node_modules/istanbul/node_modules/resolve/lib/node-modules-paths.js +0 -25
- data/vendor/node_modules/istanbul/node_modules/resolve/lib/sync.js +0 -80
- data/vendor/node_modules/istanbul/node_modules/resolve/package.json +0 -36
- data/vendor/node_modules/istanbul/node_modules/resolve/readme.markdown +0 -144
- data/vendor/node_modules/istanbul/node_modules/resolve/test/core.js +0 -12
- data/vendor/node_modules/istanbul/node_modules/resolve/test/filter.js +0 -18
- data/vendor/node_modules/istanbul/node_modules/resolve/test/filter_sync.js +0 -15
- data/vendor/node_modules/istanbul/node_modules/resolve/test/mock.js +0 -142
- data/vendor/node_modules/istanbul/node_modules/resolve/test/mock_sync.js +0 -68
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver.js +0 -270
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/bar/node_modules/foo/index.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/baz/doom.js +0 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/baz/package.json +0 -3
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/baz/quux.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/biz/node_modules/garply/lib/index.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/biz/node_modules/garply/package.json +0 -3
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/biz/node_modules/grux/index.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/biz/node_modules/tiv/index.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/cup.coffee +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/foo.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/incorrect_main/index.js +0 -2
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/incorrect_main/package.json +0 -3
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/mug.coffee +0 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/mug.js +0 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/other_path/root.js +0 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/quux/foo/index.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/without_basedir/main.js +0 -6
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/without_basedir/node_modules/mymodule.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver_sync.js +0 -170
- data/vendor/node_modules/istanbul/node_modules/which/LICENSE +0 -23
- data/vendor/node_modules/istanbul/node_modules/which/README.md +0 -5
- data/vendor/node_modules/istanbul/node_modules/which/bin/which +0 -14
- data/vendor/node_modules/istanbul/node_modules/which/package.json +0 -32
- data/vendor/node_modules/istanbul/node_modules/which/which.js +0 -104
- data/vendor/node_modules/istanbul/node_modules/wordwrap/README.markdown +0 -70
- data/vendor/node_modules/istanbul/node_modules/wordwrap/example/center.js +0 -10
- data/vendor/node_modules/istanbul/node_modules/wordwrap/example/meat.js +0 -3
- data/vendor/node_modules/istanbul/node_modules/wordwrap/index.js +0 -76
- data/vendor/node_modules/istanbul/node_modules/wordwrap/package.json +0 -45
- data/vendor/node_modules/istanbul/node_modules/wordwrap/test/break.js +0 -30
- data/vendor/node_modules/istanbul/node_modules/wordwrap/test/idleness.txt +0 -63
- data/vendor/node_modules/istanbul/node_modules/wordwrap/test/wrap.js +0 -31
- data/vendor/node_modules/istanbul/package.json +0 -117
- data/vendor/node_modules/istanbul/test/browser/support/index.html +0 -153
- data/vendor/node_modules/istanbul/test/browser/support/phantom-test.client.js +0 -49
- data/vendor/node_modules/istanbul/test/browser/support/server.js +0 -154
- data/vendor/node_modules/istanbul/test/browser/test-browser-instrumentation.js +0 -94
- data/vendor/node_modules/istanbul/test/cli-helper.js +0 -219
- data/vendor/node_modules/istanbul/test/cli/package.json +0 -8
- data/vendor/node_modules/istanbul/test/cli/sample-project/amd/ipsum.js +0 -11
- data/vendor/node_modules/istanbul/test/cli/sample-project/amd/lorem.js +0 -7
- data/vendor/node_modules/istanbul/test/cli/sample-project/lib/bar.js +0 -13
- data/vendor/node_modules/istanbul/test/cli/sample-project/lib/foo.js +0 -12
- data/vendor/node_modules/istanbul/test/cli/sample-project/lib/util/bad.js +0 -1
- data/vendor/node_modules/istanbul/test/cli/sample-project/lib/util/generate-names.js +0 -5
- data/vendor/node_modules/istanbul/test/cli/sample-project/node_modules/dependency/index.js +0 -9
- data/vendor/node_modules/istanbul/test/cli/sample-project/node_modules/post-require/hook.js +0 -11
- data/vendor/node_modules/istanbul/test/cli/sample-project/node_modules/post-require/package.json +0 -5
- data/vendor/node_modules/istanbul/test/cli/sample-project/test/amd-run.js +0 -16
- data/vendor/node_modules/istanbul/test/cli/sample-project/test/global-leak.js +0 -30
- data/vendor/node_modules/istanbul/test/cli/sample-project/test/run.js +0 -25
- data/vendor/node_modules/istanbul/test/cli/sample-project/vendor/dummy_vendor_lib.js +0 -9
- data/vendor/node_modules/istanbul/test/cli/test-base-cli.js +0 -39
- data/vendor/node_modules/istanbul/test/cli/test-check-coverage-command.js +0 -97
- data/vendor/node_modules/istanbul/test/cli/test-cobertura-report.js +0 -54
- data/vendor/node_modules/istanbul/test/cli/test-cover-command.js +0 -170
- data/vendor/node_modules/istanbul/test/cli/test-html-report.js +0 -125
- data/vendor/node_modules/istanbul/test/cli/test-instrument-command.js +0 -167
- data/vendor/node_modules/istanbul/test/cli/test-json-report.js +0 -60
- data/vendor/node_modules/istanbul/test/cli/test-lcov-report.js +0 -58
- data/vendor/node_modules/istanbul/test/cli/test-lcovonly-report.js +0 -61
- data/vendor/node_modules/istanbul/test/cli/test-lots-of-files.js +0 -87
- data/vendor/node_modules/istanbul/test/cli/test-none-report.js +0 -17
- data/vendor/node_modules/istanbul/test/cli/test-report-command.js +0 -65
- data/vendor/node_modules/istanbul/test/cli/test-teamcity-report.js +0 -54
- data/vendor/node_modules/istanbul/test/cli/test-test-command.js +0 -43
- data/vendor/node_modules/istanbul/test/common.js +0 -19
- data/vendor/node_modules/istanbul/test/helper.js +0 -122
- data/vendor/node_modules/istanbul/test/instrumentation/test-do.js +0 -53
- data/vendor/node_modules/istanbul/test/instrumentation/test-expressions.js +0 -70
- data/vendor/node_modules/istanbul/test/instrumentation/test-for.js +0 -206
- data/vendor/node_modules/istanbul/test/instrumentation/test-forin.js +0 -50
- data/vendor/node_modules/istanbul/test/instrumentation/test-functions.js +0 -102
- data/vendor/node_modules/istanbul/test/instrumentation/test-if.js +0 -393
- data/vendor/node_modules/istanbul/test/instrumentation/test-misc.js +0 -35
- data/vendor/node_modules/istanbul/test/instrumentation/test-statement.js +0 -182
- data/vendor/node_modules/istanbul/test/instrumentation/test-strict.js +0 -121
- data/vendor/node_modules/istanbul/test/instrumentation/test-switch.js +0 -155
- data/vendor/node_modules/istanbul/test/instrumentation/test-while.js +0 -104
- data/vendor/node_modules/istanbul/test/loader.js +0 -38
- data/vendor/node_modules/istanbul/test/other/data-complete-copy/baz.js +0 -3
- data/vendor/node_modules/istanbul/test/other/data-complete-copy/fixture.xml +0 -1
- data/vendor/node_modules/istanbul/test/other/data-complete-copy/foo.js +0 -4
- data/vendor/node_modules/istanbul/test/other/data-complete-copy/myfile1 +0 -0
- data/vendor/node_modules/istanbul/test/other/data-complete-copy/myfile2 +0 -1
- data/vendor/node_modules/istanbul/test/other/data-complete-copy/subdir/x.css +0 -3
- data/vendor/node_modules/istanbul/test/other/data/baz.js +0 -3
- data/vendor/node_modules/istanbul/test/other/data/foo.js +0 -4
- data/vendor/node_modules/istanbul/test/other/data/matcher/general/general.js +0 -2
- data/vendor/node_modules/istanbul/test/other/data/matcher/general/node_modules/mod-file.js +0 -2
- data/vendor/node_modules/istanbul/test/other/data/matcher/lib/lib-top.js +0 -2
- data/vendor/node_modules/istanbul/test/other/data/matcher/node_modules/dep/mod-file.js +0 -2
- data/vendor/node_modules/istanbul/test/other/data/matcher/node_modules/mod-file.js +0 -2
- data/vendor/node_modules/istanbul/test/other/data/matcher/top.js +0 -2
- data/vendor/node_modules/istanbul/test/other/test-collector.js +0 -85
- data/vendor/node_modules/istanbul/test/other/test-command-xface.js +0 -35
- data/vendor/node_modules/istanbul/test/other/test-file-writer.js +0 -71
- data/vendor/node_modules/istanbul/test/other/test-help-formatter.js +0 -31
- data/vendor/node_modules/istanbul/test/other/test-hook.js +0 -87
- data/vendor/node_modules/istanbul/test/other/test-index-xface.js +0 -17
- data/vendor/node_modules/istanbul/test/other/test-input-error.js +0 -10
- data/vendor/node_modules/istanbul/test/other/test-insertion-text.js +0 -102
- data/vendor/node_modules/istanbul/test/other/test-matcher.js +0 -93
- data/vendor/node_modules/istanbul/test/other/test-object-utils.js +0 -201
- data/vendor/node_modules/istanbul/test/other/test-store.js +0 -129
- data/vendor/node_modules/istanbul/test/other/test-summarizer.js +0 -172
- data/vendor/node_modules/istanbul/test/run-again.js +0 -19
- data/vendor/node_modules/istanbul/test/run.js +0 -108
- data/vendor/node_modules/istanbul/yui-coverage-comparison.md +0 -85
- data/vendor/node_modules/qunit-clib/LICENSE.txt +0 -20
- data/vendor/node_modules/qunit-clib/README.md +0 -2
- data/vendor/node_modules/qunit-clib/package.json +0 -36
- data/vendor/node_modules/qunit-clib/qunit-clib.js +0 -570
- data/vendor/node_modules/qunitjs/AUTHORS.txt +0 -55
- data/vendor/node_modules/qunitjs/History.md +0 -496
- data/vendor/node_modules/qunitjs/README.md +0 -62
- data/vendor/node_modules/qunitjs/addons/canvas/README.md +0 -17
- data/vendor/node_modules/qunitjs/addons/canvas/canvas-test.js +0 -76
- data/vendor/node_modules/qunitjs/addons/canvas/canvas.html +0 -15
- data/vendor/node_modules/qunitjs/addons/canvas/qunit-canvas.js +0 -6
- data/vendor/node_modules/qunitjs/addons/close-enough/README.md +0 -18
- data/vendor/node_modules/qunitjs/addons/close-enough/close-enough-test.js +0 -35
- data/vendor/node_modules/qunitjs/addons/close-enough/close-enough.html +0 -14
- data/vendor/node_modules/qunitjs/addons/close-enough/qunit-close-enough.js +0 -32
- data/vendor/node_modules/qunitjs/addons/composite/README.md +0 -26
- data/vendor/node_modules/qunitjs/addons/composite/composite-demo-test.html +0 -24
- data/vendor/node_modules/qunitjs/addons/composite/index.html +0 -34
- data/vendor/node_modules/qunitjs/addons/composite/qunit-composite.css +0 -13
- data/vendor/node_modules/qunitjs/addons/composite/qunit-composite.js +0 -112
- data/vendor/node_modules/qunitjs/addons/junitlogger/README.md +0 -18
- data/vendor/node_modules/qunitjs/addons/junitlogger/index.html +0 -44
- data/vendor/node_modules/qunitjs/addons/junitlogger/junitlogger.js +0 -306
- data/vendor/node_modules/qunitjs/addons/phantomjs/README.md +0 -16
- data/vendor/node_modules/qunitjs/addons/phantomjs/runner.js +0 -127
- data/vendor/node_modules/qunitjs/addons/step/README.md +0 -20
- data/vendor/node_modules/qunitjs/addons/step/qunit-step.js +0 -26
- data/vendor/node_modules/qunitjs/addons/step/step-test.js +0 -15
- data/vendor/node_modules/qunitjs/addons/step/step.html +0 -14
- data/vendor/node_modules/qunitjs/addons/themes/README.md +0 -6
- data/vendor/node_modules/qunitjs/addons/themes/gabe.css +0 -371
- data/vendor/node_modules/qunitjs/addons/themes/gabe.html +0 -15
- data/vendor/node_modules/qunitjs/addons/themes/ninja.css +0 -196
- data/vendor/node_modules/qunitjs/addons/themes/ninja.html +0 -15
- data/vendor/node_modules/qunitjs/addons/themes/nv.css +0 -217
- data/vendor/node_modules/qunitjs/addons/themes/nv.html +0 -15
- data/vendor/node_modules/qunitjs/grunt.js +0 -101
- data/vendor/node_modules/qunitjs/package.json +0 -49
- data/vendor/node_modules/qunitjs/qunit/qunit.css +0 -244
- data/vendor/node_modules/qunitjs/qunit/qunit.js +0 -2152
- data/vendor/node_modules/qunitjs/test/async.html +0 -26
- data/vendor/node_modules/qunitjs/test/async.js +0 -6
- data/vendor/node_modules/qunitjs/test/deepEqual.js +0 -1438
- data/vendor/node_modules/qunitjs/test/headless.html +0 -28
- data/vendor/node_modules/qunitjs/test/index.html +0 -16
- data/vendor/node_modules/qunitjs/test/logs.html +0 -14
- data/vendor/node_modules/qunitjs/test/logs.js +0 -184
- data/vendor/node_modules/qunitjs/test/narwhal-test.js +0 -22
- data/vendor/node_modules/qunitjs/test/node-test.js +0 -22
- data/vendor/node_modules/qunitjs/test/swarminject.js +0 -10
- data/vendor/node_modules/qunitjs/test/test.js +0 -804
- data/vendor/node_modules/regenerate/LICENSE-MIT.txt +0 -20
- data/vendor/node_modules/regenerate/README.md +0 -467
- data/vendor/node_modules/regenerate/package.json +0 -50
- data/vendor/node_modules/regenerate/regenerate.js +0 -617
- data/vendor/node_modules/requirejs/README.md +0 -9
- data/vendor/node_modules/requirejs/bin/r.js +0 -26059
- data/vendor/node_modules/requirejs/package.json +0 -39
- data/vendor/node_modules/requirejs/require.js +0 -2054
@@ -1,1549 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
|
4
|
-
var common = require('./common');
|
5
|
-
var YAMLException = require('./exception');
|
6
|
-
var Mark = require('./mark');
|
7
|
-
var NIL = common.NIL;
|
8
|
-
var SAFE_SCHEMA = require('./schema/safe');
|
9
|
-
var DEFAULT_SCHEMA = require('./schema/default');
|
10
|
-
|
11
|
-
|
12
|
-
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
13
|
-
|
14
|
-
|
15
|
-
var KIND_STRING = 'string';
|
16
|
-
var KIND_ARRAY = 'array';
|
17
|
-
var KIND_OBJECT = 'object';
|
18
|
-
|
19
|
-
|
20
|
-
var CONTEXT_FLOW_IN = 1;
|
21
|
-
var CONTEXT_FLOW_OUT = 2;
|
22
|
-
var CONTEXT_BLOCK_IN = 3;
|
23
|
-
var CONTEXT_BLOCK_OUT = 4;
|
24
|
-
|
25
|
-
|
26
|
-
var CHOMPING_CLIP = 1;
|
27
|
-
var CHOMPING_STRIP = 2;
|
28
|
-
var CHOMPING_KEEP = 3;
|
29
|
-
|
30
|
-
|
31
|
-
var CHAR_TAB = 0x09; /* Tab */
|
32
|
-
var CHAR_LINE_FEED = 0x0A; /* LF */
|
33
|
-
var CHAR_CARRIAGE_RETURN = 0x0D; /* CR */
|
34
|
-
var CHAR_SPACE = 0x20; /* Space */
|
35
|
-
var CHAR_EXCLAMATION = 0x21; /* ! */
|
36
|
-
var CHAR_DOUBLE_QUOTE = 0x22; /* " */
|
37
|
-
var CHAR_SHARP = 0x23; /* # */
|
38
|
-
var CHAR_PERCENT = 0x25; /* % */
|
39
|
-
var CHAR_AMPERSAND = 0x26; /* & */
|
40
|
-
var CHAR_SINGLE_QUOTE = 0x27; /* ' */
|
41
|
-
var CHAR_ASTERISK = 0x2A; /* * */
|
42
|
-
var CHAR_PLUS = 0x2B; /* + */
|
43
|
-
var CHAR_COMMA = 0x2C; /* , */
|
44
|
-
var CHAR_MINUS = 0x2D; /* - */
|
45
|
-
var CHAR_DOT = 0x2E; /* . */
|
46
|
-
var CHAR_SLASH = 0x2F; /* / */
|
47
|
-
var CHAR_DIGIT_ZERO = 0x30; /* 0 */
|
48
|
-
var CHAR_DIGIT_ONE = 0x31; /* 1 */
|
49
|
-
var CHAR_DIGIT_NINE = 0x39; /* 9 */
|
50
|
-
var CHAR_COLON = 0x3A; /* : */
|
51
|
-
var CHAR_LESS_THAN = 0x3C; /* < */
|
52
|
-
var CHAR_GREATER_THAN = 0x3E; /* > */
|
53
|
-
var CHAR_QUESTION = 0x3F; /* ? */
|
54
|
-
var CHAR_COMMERCIAL_AT = 0x40; /* @ */
|
55
|
-
var CHAR_CAPITAL_A = 0x41; /* A */
|
56
|
-
var CHAR_CAPITAL_F = 0x46; /* F */
|
57
|
-
var CHAR_CAPITAL_L = 0x4C; /* L */
|
58
|
-
var CHAR_CAPITAL_N = 0x4E; /* N */
|
59
|
-
var CHAR_CAPITAL_P = 0x50; /* P */
|
60
|
-
var CHAR_CAPITAL_U = 0x55; /* U */
|
61
|
-
var CHAR_LEFT_SQUARE_BRACKET = 0x5B; /* [ */
|
62
|
-
var CHAR_BACKSLASH = 0x5C; /* \ */
|
63
|
-
var CHAR_RIGHT_SQUARE_BRACKET = 0x5D; /* ] */
|
64
|
-
var CHAR_UNDERSCORE = 0x5F; /* _ */
|
65
|
-
var CHAR_GRAVE_ACCENT = 0x60; /* ` */
|
66
|
-
var CHAR_SMALL_A = 0x61; /* a */
|
67
|
-
var CHAR_SMALL_B = 0x62; /* b */
|
68
|
-
var CHAR_SMALL_E = 0x65; /* e */
|
69
|
-
var CHAR_SMALL_F = 0x66; /* f */
|
70
|
-
var CHAR_SMALL_N = 0x6E; /* n */
|
71
|
-
var CHAR_SMALL_R = 0x72; /* r */
|
72
|
-
var CHAR_SMALL_T = 0x74; /* t */
|
73
|
-
var CHAR_SMALL_U = 0x75; /* u */
|
74
|
-
var CHAR_SMALL_V = 0x76; /* v */
|
75
|
-
var CHAR_SMALL_X = 0x78; /* x */
|
76
|
-
var CHAR_LEFT_CURLY_BRACKET = 0x7B; /* { */
|
77
|
-
var CHAR_VERTICAL_LINE = 0x7C; /* | */
|
78
|
-
var CHAR_RIGHT_CURLY_BRACKET = 0x7D; /* } */
|
79
|
-
|
80
|
-
|
81
|
-
var SIMPLE_ESCAPE_SEQUENCES = {};
|
82
|
-
|
83
|
-
SIMPLE_ESCAPE_SEQUENCES[CHAR_DIGIT_ZERO] = '\x00';
|
84
|
-
SIMPLE_ESCAPE_SEQUENCES[CHAR_SMALL_A] = '\x07';
|
85
|
-
SIMPLE_ESCAPE_SEQUENCES[CHAR_SMALL_B] = '\x08';
|
86
|
-
SIMPLE_ESCAPE_SEQUENCES[CHAR_SMALL_T] = '\x09';
|
87
|
-
SIMPLE_ESCAPE_SEQUENCES[CHAR_TAB] = '\x09';
|
88
|
-
SIMPLE_ESCAPE_SEQUENCES[CHAR_SMALL_N] = '\x0A';
|
89
|
-
SIMPLE_ESCAPE_SEQUENCES[CHAR_SMALL_V] = '\x0B';
|
90
|
-
SIMPLE_ESCAPE_SEQUENCES[CHAR_SMALL_F] = '\x0C';
|
91
|
-
SIMPLE_ESCAPE_SEQUENCES[CHAR_SMALL_R] = '\x0D';
|
92
|
-
SIMPLE_ESCAPE_SEQUENCES[CHAR_SMALL_E] = '\x1B';
|
93
|
-
SIMPLE_ESCAPE_SEQUENCES[CHAR_SPACE] = ' ';
|
94
|
-
SIMPLE_ESCAPE_SEQUENCES[CHAR_DOUBLE_QUOTE] = '\x22';
|
95
|
-
SIMPLE_ESCAPE_SEQUENCES[CHAR_SLASH] = '/';
|
96
|
-
SIMPLE_ESCAPE_SEQUENCES[CHAR_BACKSLASH] = '\x5C';
|
97
|
-
SIMPLE_ESCAPE_SEQUENCES[CHAR_CAPITAL_N] = '\x85';
|
98
|
-
SIMPLE_ESCAPE_SEQUENCES[CHAR_UNDERSCORE] = '\xA0';
|
99
|
-
SIMPLE_ESCAPE_SEQUENCES[CHAR_CAPITAL_L] = '\u2028';
|
100
|
-
SIMPLE_ESCAPE_SEQUENCES[CHAR_CAPITAL_P] = '\u2029';
|
101
|
-
|
102
|
-
|
103
|
-
var HEXADECIMAL_ESCAPE_SEQUENCES = {};
|
104
|
-
|
105
|
-
HEXADECIMAL_ESCAPE_SEQUENCES[CHAR_SMALL_X] = 2;
|
106
|
-
HEXADECIMAL_ESCAPE_SEQUENCES[CHAR_SMALL_U] = 4;
|
107
|
-
HEXADECIMAL_ESCAPE_SEQUENCES[CHAR_CAPITAL_U] = 8;
|
108
|
-
|
109
|
-
|
110
|
-
var PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uD800-\uDFFF\uFFFE\uFFFF]/;
|
111
|
-
var PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/;
|
112
|
-
var PATTERN_FLOW_INDICATORS = /[,\[\]\{\}]/;
|
113
|
-
var PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\-]+!)$/i;
|
114
|
-
var PATTERN_TAG_URI = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
115
|
-
|
116
|
-
|
117
|
-
function loadAll(input, output, options) {
|
118
|
-
options = options || {};
|
119
|
-
|
120
|
-
var filename = options['filename'] || null,
|
121
|
-
schema = options['schema'] || DEFAULT_SCHEMA,
|
122
|
-
resolve = options['resolve'] || true,
|
123
|
-
validate = options['validate'] || true,
|
124
|
-
strict = options['strict'] || false,
|
125
|
-
legacy = options['legacy'] || false,
|
126
|
-
|
127
|
-
directiveHandlers = {},
|
128
|
-
implicitTypes = schema.compiledImplicit,
|
129
|
-
typeMap = schema.compiledTypeMap,
|
130
|
-
|
131
|
-
length = input.length,
|
132
|
-
position = 0,
|
133
|
-
line = 0,
|
134
|
-
lineStart = 0,
|
135
|
-
lineIndent = 0,
|
136
|
-
character = input.charCodeAt(position),
|
137
|
-
|
138
|
-
version,
|
139
|
-
checkLineBreaks,
|
140
|
-
tagMap,
|
141
|
-
anchorMap,
|
142
|
-
tag,
|
143
|
-
anchor,
|
144
|
-
kind,
|
145
|
-
result;
|
146
|
-
|
147
|
-
function generateError(message) {
|
148
|
-
return new YAMLException(
|
149
|
-
message,
|
150
|
-
new Mark(filename, input, position, line, (position - lineStart)));
|
151
|
-
}
|
152
|
-
|
153
|
-
function throwError(message) {
|
154
|
-
throw generateError(message);
|
155
|
-
}
|
156
|
-
|
157
|
-
function throwWarning(message) {
|
158
|
-
var error = generateError(message);
|
159
|
-
|
160
|
-
if (strict) {
|
161
|
-
throw error;
|
162
|
-
} else {
|
163
|
-
console.warn(error.toString());
|
164
|
-
}
|
165
|
-
}
|
166
|
-
|
167
|
-
directiveHandlers['YAML'] = function handleYamlDirective(name, args) {
|
168
|
-
var match, major, minor;
|
169
|
-
|
170
|
-
if (null !== version) {
|
171
|
-
throwError('duplication of %YAML directive');
|
172
|
-
}
|
173
|
-
|
174
|
-
if (1 !== args.length) {
|
175
|
-
throwError('YAML directive accepts exactly one argument');
|
176
|
-
}
|
177
|
-
|
178
|
-
match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]);
|
179
|
-
|
180
|
-
if (null === match) {
|
181
|
-
throwError('ill-formed argument of the YAML directive');
|
182
|
-
}
|
183
|
-
|
184
|
-
major = parseInt(match[1], 10);
|
185
|
-
minor = parseInt(match[2], 10);
|
186
|
-
|
187
|
-
if (1 !== major) {
|
188
|
-
throwError('unacceptable YAML version of the document');
|
189
|
-
}
|
190
|
-
|
191
|
-
version = args[0];
|
192
|
-
checkLineBreaks = (minor < 2);
|
193
|
-
|
194
|
-
if (1 !== minor && 2 !== minor) {
|
195
|
-
throwWarning('unsupported YAML version of the document');
|
196
|
-
}
|
197
|
-
};
|
198
|
-
|
199
|
-
directiveHandlers['TAG'] = function handleTagDirective(name, args) {
|
200
|
-
var handle, prefix;
|
201
|
-
|
202
|
-
if (2 !== args.length) {
|
203
|
-
throwError('TAG directive accepts exactly two arguments');
|
204
|
-
}
|
205
|
-
|
206
|
-
handle = args[0];
|
207
|
-
prefix = args[1];
|
208
|
-
|
209
|
-
if (!PATTERN_TAG_HANDLE.test(handle)) {
|
210
|
-
throwError('ill-formed tag handle (first argument) of the TAG directive');
|
211
|
-
}
|
212
|
-
|
213
|
-
if (_hasOwnProperty.call(tagMap, handle)) {
|
214
|
-
throwError('there is a previously declared suffix for "' + handle + '" tag handle');
|
215
|
-
}
|
216
|
-
|
217
|
-
if (!PATTERN_TAG_URI.test(prefix)) {
|
218
|
-
throwError('ill-formed tag prefix (second argument) of the TAG directive');
|
219
|
-
}
|
220
|
-
|
221
|
-
tagMap[handle] = prefix;
|
222
|
-
};
|
223
|
-
|
224
|
-
function captureSegment(start, end, checkJson) {
|
225
|
-
var _position, _length, _character, _result;
|
226
|
-
|
227
|
-
if (start < end) {
|
228
|
-
_result = input.slice(start, end);
|
229
|
-
|
230
|
-
if (checkJson && validate) {
|
231
|
-
for (_position = 0, _length = _result.length;
|
232
|
-
_position < _length;
|
233
|
-
_position += 1) {
|
234
|
-
_character = _result.charCodeAt(_position);
|
235
|
-
if (!(0x09 === _character ||
|
236
|
-
0x20 <= _character && _character <= 0x10FFFF)) {
|
237
|
-
throwError('expected valid JSON character');
|
238
|
-
}
|
239
|
-
}
|
240
|
-
}
|
241
|
-
|
242
|
-
result += _result;
|
243
|
-
}
|
244
|
-
}
|
245
|
-
|
246
|
-
function mergeMappings(destination, source) {
|
247
|
-
var sourceKeys, key, index, quantity;
|
248
|
-
|
249
|
-
if (!common.isObject(source)) {
|
250
|
-
throwError('cannot merge mappings; the provided source object is unacceptable');
|
251
|
-
}
|
252
|
-
|
253
|
-
sourceKeys = Object.keys(source);
|
254
|
-
|
255
|
-
for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {
|
256
|
-
key = sourceKeys[index];
|
257
|
-
|
258
|
-
if (!_hasOwnProperty.call(destination, key)) {
|
259
|
-
destination[key] = source[key];
|
260
|
-
}
|
261
|
-
}
|
262
|
-
}
|
263
|
-
|
264
|
-
function storeMappingPair(_result, keyTag, keyNode, valueNode) {
|
265
|
-
var index, quantity;
|
266
|
-
|
267
|
-
keyNode = String(keyNode);
|
268
|
-
|
269
|
-
if (null === _result) {
|
270
|
-
_result = {};
|
271
|
-
}
|
272
|
-
|
273
|
-
if ('tag:yaml.org,2002:merge' === keyTag) {
|
274
|
-
if (Array.isArray(valueNode)) {
|
275
|
-
for (index = 0, quantity = valueNode.length; index < quantity; index += 1) {
|
276
|
-
mergeMappings(_result, valueNode[index]);
|
277
|
-
}
|
278
|
-
} else {
|
279
|
-
mergeMappings(_result, valueNode);
|
280
|
-
}
|
281
|
-
} else {
|
282
|
-
_result[keyNode] = valueNode;
|
283
|
-
}
|
284
|
-
|
285
|
-
return _result;
|
286
|
-
}
|
287
|
-
|
288
|
-
function readLineBreak() {
|
289
|
-
if (CHAR_LINE_FEED === character) {
|
290
|
-
position += 1;
|
291
|
-
} else if (CHAR_CARRIAGE_RETURN === character) {
|
292
|
-
if (CHAR_LINE_FEED === input.charCodeAt(position + 1)) {
|
293
|
-
position += 2;
|
294
|
-
} else {
|
295
|
-
position += 1;
|
296
|
-
}
|
297
|
-
} else {
|
298
|
-
throwError('a line break is expected');
|
299
|
-
}
|
300
|
-
|
301
|
-
line += 1;
|
302
|
-
lineStart = position;
|
303
|
-
character = input.charCodeAt(position);
|
304
|
-
}
|
305
|
-
|
306
|
-
function skipSeparationSpace(allowComments, checkIndent) {
|
307
|
-
var lineBreaks = 0;
|
308
|
-
|
309
|
-
while (position < length) {
|
310
|
-
while (CHAR_SPACE === character || CHAR_TAB === character) {
|
311
|
-
character = input.charCodeAt(++position);
|
312
|
-
}
|
313
|
-
|
314
|
-
if (allowComments && CHAR_SHARP === character) {
|
315
|
-
do { character = input.charCodeAt(++position); }
|
316
|
-
while (position < length &&
|
317
|
-
CHAR_LINE_FEED !== character &&
|
318
|
-
CHAR_CARRIAGE_RETURN !== character);
|
319
|
-
}
|
320
|
-
|
321
|
-
if (CHAR_LINE_FEED === character || CHAR_CARRIAGE_RETURN === character) {
|
322
|
-
readLineBreak();
|
323
|
-
lineBreaks += 1;
|
324
|
-
lineIndent = 0;
|
325
|
-
|
326
|
-
while (CHAR_SPACE === character) {
|
327
|
-
lineIndent += 1;
|
328
|
-
character = input.charCodeAt(++position);
|
329
|
-
}
|
330
|
-
|
331
|
-
if (lineIndent < checkIndent) {
|
332
|
-
throwWarning('deficient indentation');
|
333
|
-
}
|
334
|
-
} else {
|
335
|
-
break;
|
336
|
-
}
|
337
|
-
}
|
338
|
-
|
339
|
-
return lineBreaks;
|
340
|
-
}
|
341
|
-
|
342
|
-
function testDocumentSeparator() {
|
343
|
-
var _position, _character;
|
344
|
-
|
345
|
-
if (position === lineStart &&
|
346
|
-
(CHAR_MINUS === character || CHAR_DOT === character) &&
|
347
|
-
input.charCodeAt(position + 1) === character &&
|
348
|
-
input.charCodeAt(position + 2) === character) {
|
349
|
-
|
350
|
-
_position = position + 3;
|
351
|
-
_character = input.charCodeAt(_position);
|
352
|
-
|
353
|
-
if (_position >= length ||
|
354
|
-
CHAR_SPACE === _character ||
|
355
|
-
CHAR_TAB === _character ||
|
356
|
-
CHAR_LINE_FEED === _character ||
|
357
|
-
CHAR_CARRIAGE_RETURN === _character) {
|
358
|
-
return true;
|
359
|
-
}
|
360
|
-
}
|
361
|
-
|
362
|
-
return false;
|
363
|
-
}
|
364
|
-
|
365
|
-
function writeFoldedLines(count) {
|
366
|
-
if (1 === count) {
|
367
|
-
result += ' ';
|
368
|
-
} else if (count > 1) {
|
369
|
-
result += common.repeat('\n', count - 1);
|
370
|
-
}
|
371
|
-
}
|
372
|
-
|
373
|
-
function readPlainScalar(nodeIndent, withinFlowCollection) {
|
374
|
-
var preceding,
|
375
|
-
following,
|
376
|
-
captureStart,
|
377
|
-
captureEnd,
|
378
|
-
hasPendingContent,
|
379
|
-
_line,
|
380
|
-
_lineStart,
|
381
|
-
_lineIndent,
|
382
|
-
_kind = kind,
|
383
|
-
_result = result;
|
384
|
-
|
385
|
-
if (CHAR_SPACE === character ||
|
386
|
-
CHAR_TAB === character ||
|
387
|
-
CHAR_LINE_FEED === character ||
|
388
|
-
CHAR_CARRIAGE_RETURN === character ||
|
389
|
-
CHAR_COMMA === character ||
|
390
|
-
CHAR_LEFT_SQUARE_BRACKET === character ||
|
391
|
-
CHAR_RIGHT_SQUARE_BRACKET === character ||
|
392
|
-
CHAR_LEFT_CURLY_BRACKET === character ||
|
393
|
-
CHAR_RIGHT_CURLY_BRACKET === character ||
|
394
|
-
CHAR_SHARP === character ||
|
395
|
-
CHAR_AMPERSAND === character ||
|
396
|
-
CHAR_ASTERISK === character ||
|
397
|
-
CHAR_EXCLAMATION === character ||
|
398
|
-
CHAR_VERTICAL_LINE === character ||
|
399
|
-
CHAR_GREATER_THAN === character ||
|
400
|
-
CHAR_SINGLE_QUOTE === character ||
|
401
|
-
CHAR_DOUBLE_QUOTE === character ||
|
402
|
-
CHAR_PERCENT === character ||
|
403
|
-
CHAR_COMMERCIAL_AT === character ||
|
404
|
-
CHAR_GRAVE_ACCENT === character) {
|
405
|
-
return false;
|
406
|
-
}
|
407
|
-
|
408
|
-
if (CHAR_QUESTION === character ||
|
409
|
-
CHAR_MINUS === character) {
|
410
|
-
following = input.charCodeAt(position + 1);
|
411
|
-
|
412
|
-
if (CHAR_SPACE === following ||
|
413
|
-
CHAR_TAB === following ||
|
414
|
-
CHAR_LINE_FEED === following ||
|
415
|
-
CHAR_CARRIAGE_RETURN === following ||
|
416
|
-
withinFlowCollection &&
|
417
|
-
(CHAR_COMMA === following ||
|
418
|
-
CHAR_LEFT_SQUARE_BRACKET === following ||
|
419
|
-
CHAR_RIGHT_SQUARE_BRACKET === following ||
|
420
|
-
CHAR_LEFT_CURLY_BRACKET === following ||
|
421
|
-
CHAR_RIGHT_CURLY_BRACKET === following)) {
|
422
|
-
return false;
|
423
|
-
}
|
424
|
-
}
|
425
|
-
|
426
|
-
kind = KIND_STRING;
|
427
|
-
result = '';
|
428
|
-
captureStart = captureEnd = position;
|
429
|
-
hasPendingContent = false;
|
430
|
-
|
431
|
-
while (position < length) {
|
432
|
-
if (CHAR_COLON === character) {
|
433
|
-
following = input.charCodeAt(position + 1);
|
434
|
-
|
435
|
-
if (CHAR_SPACE === following ||
|
436
|
-
CHAR_TAB === following ||
|
437
|
-
CHAR_LINE_FEED === following ||
|
438
|
-
CHAR_CARRIAGE_RETURN === following ||
|
439
|
-
withinFlowCollection &&
|
440
|
-
(CHAR_COMMA === following ||
|
441
|
-
CHAR_LEFT_SQUARE_BRACKET === following ||
|
442
|
-
CHAR_RIGHT_SQUARE_BRACKET === following ||
|
443
|
-
CHAR_LEFT_CURLY_BRACKET === following ||
|
444
|
-
CHAR_RIGHT_CURLY_BRACKET === following)) {
|
445
|
-
break;
|
446
|
-
}
|
447
|
-
|
448
|
-
} else if (CHAR_SHARP === character) {
|
449
|
-
preceding = input.charCodeAt(position - 1);
|
450
|
-
|
451
|
-
if (CHAR_SPACE === preceding ||
|
452
|
-
CHAR_TAB === preceding ||
|
453
|
-
CHAR_LINE_FEED === preceding ||
|
454
|
-
CHAR_CARRIAGE_RETURN === preceding) {
|
455
|
-
break;
|
456
|
-
}
|
457
|
-
|
458
|
-
} else if ((position === lineStart && testDocumentSeparator()) ||
|
459
|
-
withinFlowCollection &&
|
460
|
-
(CHAR_COMMA === character ||
|
461
|
-
CHAR_LEFT_SQUARE_BRACKET === character ||
|
462
|
-
CHAR_RIGHT_SQUARE_BRACKET === character ||
|
463
|
-
CHAR_LEFT_CURLY_BRACKET === character ||
|
464
|
-
CHAR_RIGHT_CURLY_BRACKET === character)) {
|
465
|
-
break;
|
466
|
-
|
467
|
-
} else if (CHAR_LINE_FEED === character ||
|
468
|
-
CHAR_CARRIAGE_RETURN === character) {
|
469
|
-
_line = line;
|
470
|
-
_lineStart = lineStart;
|
471
|
-
_lineIndent = lineIndent;
|
472
|
-
skipSeparationSpace(false, -1);
|
473
|
-
|
474
|
-
if (lineIndent >= nodeIndent) {
|
475
|
-
hasPendingContent = true;
|
476
|
-
continue;
|
477
|
-
} else {
|
478
|
-
position = captureEnd;
|
479
|
-
line = _line;
|
480
|
-
lineStart = _lineStart;
|
481
|
-
lineIndent = _lineIndent;
|
482
|
-
character = input.charCodeAt(position);
|
483
|
-
break;
|
484
|
-
}
|
485
|
-
}
|
486
|
-
|
487
|
-
if (hasPendingContent) {
|
488
|
-
captureSegment(captureStart, captureEnd, false);
|
489
|
-
writeFoldedLines(line - _line);
|
490
|
-
captureStart = captureEnd = position;
|
491
|
-
hasPendingContent = false;
|
492
|
-
}
|
493
|
-
|
494
|
-
if (CHAR_SPACE !== character && CHAR_TAB !== character) {
|
495
|
-
captureEnd = position + 1;
|
496
|
-
}
|
497
|
-
|
498
|
-
character = input.charCodeAt(++position);
|
499
|
-
}
|
500
|
-
|
501
|
-
captureSegment(captureStart, captureEnd, false);
|
502
|
-
|
503
|
-
if (result) {
|
504
|
-
return true;
|
505
|
-
} else {
|
506
|
-
kind = _kind;
|
507
|
-
result = _result;
|
508
|
-
return false;
|
509
|
-
}
|
510
|
-
}
|
511
|
-
|
512
|
-
function readSingleQuotedScalar(nodeIndent) {
|
513
|
-
var captureStart, captureEnd;
|
514
|
-
|
515
|
-
if (CHAR_SINGLE_QUOTE !== character) {
|
516
|
-
return false;
|
517
|
-
}
|
518
|
-
|
519
|
-
kind = KIND_STRING;
|
520
|
-
result = '';
|
521
|
-
character = input.charCodeAt(++position);
|
522
|
-
captureStart = captureEnd = position;
|
523
|
-
|
524
|
-
while (position < length) {
|
525
|
-
if (CHAR_SINGLE_QUOTE === character) {
|
526
|
-
captureSegment(captureStart, position, true);
|
527
|
-
character = input.charCodeAt(++position);
|
528
|
-
|
529
|
-
if (CHAR_SINGLE_QUOTE === character) {
|
530
|
-
captureStart = captureEnd = position;
|
531
|
-
character = input.charCodeAt(++position);
|
532
|
-
} else {
|
533
|
-
return true;
|
534
|
-
}
|
535
|
-
|
536
|
-
} else if (CHAR_LINE_FEED === character ||
|
537
|
-
CHAR_CARRIAGE_RETURN === character) {
|
538
|
-
captureSegment(captureStart, captureEnd, true);
|
539
|
-
writeFoldedLines(skipSeparationSpace(false, nodeIndent));
|
540
|
-
captureStart = captureEnd = position;
|
541
|
-
character = input.charCodeAt(position);
|
542
|
-
|
543
|
-
} else if (position === lineStart && testDocumentSeparator()) {
|
544
|
-
throwError('unexpected end of the document within a single quoted scalar');
|
545
|
-
|
546
|
-
} else {
|
547
|
-
character = input.charCodeAt(++position);
|
548
|
-
captureEnd = position;
|
549
|
-
}
|
550
|
-
}
|
551
|
-
|
552
|
-
throwError('unexpected end of the stream within a single quoted scalar');
|
553
|
-
}
|
554
|
-
|
555
|
-
function readDoubleQuotedScalar(nodeIndent) {
|
556
|
-
var captureStart,
|
557
|
-
captureEnd,
|
558
|
-
hexLength,
|
559
|
-
hexIndex,
|
560
|
-
hexOffset,
|
561
|
-
hexResult;
|
562
|
-
|
563
|
-
if (CHAR_DOUBLE_QUOTE !== character) {
|
564
|
-
return false;
|
565
|
-
}
|
566
|
-
|
567
|
-
kind = KIND_STRING;
|
568
|
-
result = '';
|
569
|
-
character = input.charCodeAt(++position);
|
570
|
-
captureStart = captureEnd = position;
|
571
|
-
|
572
|
-
while (position < length) {
|
573
|
-
if (CHAR_DOUBLE_QUOTE === character) {
|
574
|
-
captureSegment(captureStart, position, true);
|
575
|
-
character = input.charCodeAt(++position);
|
576
|
-
return true;
|
577
|
-
|
578
|
-
} else if (CHAR_BACKSLASH === character) {
|
579
|
-
captureSegment(captureStart, position, true);
|
580
|
-
character = input.charCodeAt(++position);
|
581
|
-
|
582
|
-
if (CHAR_LINE_FEED === character ||
|
583
|
-
CHAR_CARRIAGE_RETURN === character) {
|
584
|
-
skipSeparationSpace(false, nodeIndent);
|
585
|
-
|
586
|
-
} else if (SIMPLE_ESCAPE_SEQUENCES[character]) {
|
587
|
-
result += SIMPLE_ESCAPE_SEQUENCES[character];
|
588
|
-
character = input.charCodeAt(++position);
|
589
|
-
|
590
|
-
} else if (HEXADECIMAL_ESCAPE_SEQUENCES[character]) {
|
591
|
-
hexLength = HEXADECIMAL_ESCAPE_SEQUENCES[character];
|
592
|
-
hexResult = 0;
|
593
|
-
|
594
|
-
for (hexIndex = 1; hexIndex <= hexLength; hexIndex += 1) {
|
595
|
-
hexOffset = (hexLength - hexIndex) * 4;
|
596
|
-
character = input.charCodeAt(++position);
|
597
|
-
|
598
|
-
if (CHAR_DIGIT_ZERO <= character && character <= CHAR_DIGIT_NINE) {
|
599
|
-
hexResult |= (character - CHAR_DIGIT_ZERO) << hexOffset;
|
600
|
-
|
601
|
-
} else if (CHAR_CAPITAL_A <= character && character <= CHAR_CAPITAL_F) {
|
602
|
-
hexResult |= (character - CHAR_CAPITAL_A + 10) << hexOffset;
|
603
|
-
|
604
|
-
} else if (CHAR_SMALL_A <= character && character <= CHAR_SMALL_F) {
|
605
|
-
hexResult |= (character - CHAR_SMALL_A + 10) << hexOffset;
|
606
|
-
|
607
|
-
} else {
|
608
|
-
throwError('expected hexadecimal character');
|
609
|
-
}
|
610
|
-
}
|
611
|
-
|
612
|
-
result += String.fromCharCode(hexResult);
|
613
|
-
character = input.charCodeAt(++position);
|
614
|
-
|
615
|
-
} else {
|
616
|
-
throwError('unknown escape sequence');
|
617
|
-
}
|
618
|
-
|
619
|
-
captureStart = captureEnd = position;
|
620
|
-
|
621
|
-
} else if (CHAR_LINE_FEED === character ||
|
622
|
-
CHAR_CARRIAGE_RETURN === character) {
|
623
|
-
captureSegment(captureStart, captureEnd, true);
|
624
|
-
writeFoldedLines(skipSeparationSpace(false, nodeIndent));
|
625
|
-
captureStart = captureEnd = position;
|
626
|
-
character = input.charCodeAt(position);
|
627
|
-
|
628
|
-
} else if (position === lineStart && testDocumentSeparator()) {
|
629
|
-
throwError('unexpected end of the document within a double quoted scalar');
|
630
|
-
|
631
|
-
} else {
|
632
|
-
character = input.charCodeAt(++position);
|
633
|
-
captureEnd = position;
|
634
|
-
}
|
635
|
-
}
|
636
|
-
|
637
|
-
throwError('unexpected end of the stream within a double quoted scalar');
|
638
|
-
}
|
639
|
-
|
640
|
-
function readFlowCollection(nodeIndent) {
|
641
|
-
var readNext = true,
|
642
|
-
_line,
|
643
|
-
_tag = tag,
|
644
|
-
_result,
|
645
|
-
following,
|
646
|
-
terminator,
|
647
|
-
isPair,
|
648
|
-
isExplicitPair,
|
649
|
-
isMapping,
|
650
|
-
keyNode,
|
651
|
-
keyTag,
|
652
|
-
valueNode;
|
653
|
-
|
654
|
-
switch (character) {
|
655
|
-
case CHAR_LEFT_SQUARE_BRACKET:
|
656
|
-
terminator = CHAR_RIGHT_SQUARE_BRACKET;
|
657
|
-
isMapping = false;
|
658
|
-
_result = [];
|
659
|
-
break;
|
660
|
-
|
661
|
-
case CHAR_LEFT_CURLY_BRACKET:
|
662
|
-
terminator = CHAR_RIGHT_CURLY_BRACKET;
|
663
|
-
isMapping = true;
|
664
|
-
_result = {};
|
665
|
-
break;
|
666
|
-
|
667
|
-
default:
|
668
|
-
return false;
|
669
|
-
}
|
670
|
-
|
671
|
-
if (null !== anchor) {
|
672
|
-
anchorMap[anchor] = _result;
|
673
|
-
}
|
674
|
-
|
675
|
-
character = input.charCodeAt(++position);
|
676
|
-
|
677
|
-
while (position < length) {
|
678
|
-
skipSeparationSpace(true, nodeIndent);
|
679
|
-
|
680
|
-
if (character === terminator) {
|
681
|
-
character = input.charCodeAt(++position);
|
682
|
-
tag = _tag;
|
683
|
-
kind = isMapping ? KIND_OBJECT : KIND_ARRAY;
|
684
|
-
result = _result;
|
685
|
-
return true;
|
686
|
-
} else if (!readNext) {
|
687
|
-
throwError('missed comma between flow collection entries');
|
688
|
-
}
|
689
|
-
|
690
|
-
keyTag = keyNode = valueNode = null;
|
691
|
-
isPair = isExplicitPair = false;
|
692
|
-
|
693
|
-
if (CHAR_QUESTION === character) {
|
694
|
-
following = input.charCodeAt(position + 1);
|
695
|
-
|
696
|
-
if (CHAR_SPACE === following ||
|
697
|
-
CHAR_TAB === following ||
|
698
|
-
CHAR_LINE_FEED === following ||
|
699
|
-
CHAR_CARRIAGE_RETURN === following) {
|
700
|
-
isPair = isExplicitPair = true;
|
701
|
-
position += 1;
|
702
|
-
character = following;
|
703
|
-
skipSeparationSpace(true, nodeIndent);
|
704
|
-
}
|
705
|
-
}
|
706
|
-
|
707
|
-
_line = line;
|
708
|
-
composeNode(nodeIndent, CONTEXT_FLOW_IN, false, true);
|
709
|
-
keyTag = tag;
|
710
|
-
keyNode = result;
|
711
|
-
|
712
|
-
if ((isExplicitPair || line === _line) && CHAR_COLON === character) {
|
713
|
-
isPair = true;
|
714
|
-
character = input.charCodeAt(++position);
|
715
|
-
skipSeparationSpace(true, nodeIndent);
|
716
|
-
composeNode(nodeIndent, CONTEXT_FLOW_IN, false, true);
|
717
|
-
valueNode = result;
|
718
|
-
}
|
719
|
-
|
720
|
-
if (isMapping) {
|
721
|
-
storeMappingPair(_result, keyTag, keyNode, valueNode);
|
722
|
-
} else if (isPair) {
|
723
|
-
_result.push(storeMappingPair(null, keyTag, keyNode, valueNode));
|
724
|
-
} else {
|
725
|
-
_result.push(keyNode);
|
726
|
-
}
|
727
|
-
|
728
|
-
skipSeparationSpace(true, nodeIndent);
|
729
|
-
|
730
|
-
if (CHAR_COMMA === character) {
|
731
|
-
readNext = true;
|
732
|
-
character = input.charCodeAt(++position);
|
733
|
-
} else {
|
734
|
-
readNext = false;
|
735
|
-
}
|
736
|
-
}
|
737
|
-
|
738
|
-
throwError('unexpected end of the stream within a flow collection');
|
739
|
-
}
|
740
|
-
|
741
|
-
function readBlockScalar(nodeIndent) {
|
742
|
-
var captureStart,
|
743
|
-
folding,
|
744
|
-
chomping = CHOMPING_CLIP,
|
745
|
-
detectedIndent = false,
|
746
|
-
textIndent = nodeIndent,
|
747
|
-
emptyLines = -1;
|
748
|
-
|
749
|
-
switch (character) {
|
750
|
-
case CHAR_VERTICAL_LINE:
|
751
|
-
folding = false;
|
752
|
-
break;
|
753
|
-
|
754
|
-
case CHAR_GREATER_THAN:
|
755
|
-
folding = true;
|
756
|
-
break;
|
757
|
-
|
758
|
-
default:
|
759
|
-
return false;
|
760
|
-
}
|
761
|
-
|
762
|
-
kind = KIND_STRING;
|
763
|
-
result = '';
|
764
|
-
|
765
|
-
while (position < length) {
|
766
|
-
character = input.charCodeAt(++position);
|
767
|
-
|
768
|
-
if (CHAR_PLUS === character || CHAR_MINUS === character) {
|
769
|
-
if (CHOMPING_CLIP === chomping) {
|
770
|
-
chomping = (CHAR_PLUS === character) ? CHOMPING_KEEP : CHOMPING_STRIP;
|
771
|
-
} else {
|
772
|
-
throwError('repeat of a chomping mode identifier');
|
773
|
-
}
|
774
|
-
|
775
|
-
} else if (CHAR_DIGIT_ZERO <= character && character <= CHAR_DIGIT_NINE) {
|
776
|
-
if (CHAR_DIGIT_ZERO === character) {
|
777
|
-
throwError('bad explicit indentation width of a block scalar; it cannot be less than one');
|
778
|
-
} else if (!detectedIndent) {
|
779
|
-
textIndent = nodeIndent + (character - CHAR_DIGIT_ONE);
|
780
|
-
detectedIndent = true;
|
781
|
-
} else {
|
782
|
-
throwError('repeat of an indentation width identifier');
|
783
|
-
}
|
784
|
-
|
785
|
-
} else {
|
786
|
-
break;
|
787
|
-
}
|
788
|
-
}
|
789
|
-
|
790
|
-
if (CHAR_SPACE === character || CHAR_TAB === character) {
|
791
|
-
do { character = input.charCodeAt(++position); }
|
792
|
-
while (CHAR_SPACE === character || CHAR_TAB === character);
|
793
|
-
|
794
|
-
if (CHAR_SHARP === character) {
|
795
|
-
do { character = input.charCodeAt(++position); }
|
796
|
-
while (position < length &&
|
797
|
-
CHAR_LINE_FEED !== character &&
|
798
|
-
CHAR_CARRIAGE_RETURN !== character);
|
799
|
-
}
|
800
|
-
}
|
801
|
-
|
802
|
-
while (position < length) {
|
803
|
-
readLineBreak();
|
804
|
-
lineIndent = 0;
|
805
|
-
|
806
|
-
while ((!detectedIndent || lineIndent < textIndent) &&
|
807
|
-
(CHAR_SPACE === character)) {
|
808
|
-
lineIndent += 1;
|
809
|
-
character = input.charCodeAt(++position);
|
810
|
-
}
|
811
|
-
|
812
|
-
if (!detectedIndent && lineIndent > textIndent) {
|
813
|
-
textIndent = lineIndent;
|
814
|
-
}
|
815
|
-
|
816
|
-
if (CHAR_LINE_FEED === character || CHAR_CARRIAGE_RETURN === character) {
|
817
|
-
emptyLines += 1;
|
818
|
-
continue;
|
819
|
-
}
|
820
|
-
|
821
|
-
// End of the scalar. Perform the chomping.
|
822
|
-
if (lineIndent < textIndent) {
|
823
|
-
if (CHOMPING_KEEP === chomping) {
|
824
|
-
result += common.repeat('\n', emptyLines + 1);
|
825
|
-
} else if (CHOMPING_CLIP === chomping) {
|
826
|
-
result += '\n';
|
827
|
-
}
|
828
|
-
break;
|
829
|
-
}
|
830
|
-
|
831
|
-
detectedIndent = true;
|
832
|
-
|
833
|
-
if (folding) {
|
834
|
-
if (CHAR_SPACE === character || CHAR_TAB === character) {
|
835
|
-
result += common.repeat('\n', emptyLines + 1);
|
836
|
-
emptyLines = 1;
|
837
|
-
} else if (0 === emptyLines) {
|
838
|
-
result += ' ';
|
839
|
-
emptyLines = 0;
|
840
|
-
} else {
|
841
|
-
result += common.repeat('\n', emptyLines);
|
842
|
-
emptyLines = 0;
|
843
|
-
}
|
844
|
-
} else {
|
845
|
-
result += common.repeat('\n', emptyLines + 1);
|
846
|
-
emptyLines = 0;
|
847
|
-
}
|
848
|
-
|
849
|
-
captureStart = position;
|
850
|
-
|
851
|
-
do { character = input.charCodeAt(++position); }
|
852
|
-
while (position < length &&
|
853
|
-
CHAR_LINE_FEED !== character &&
|
854
|
-
CHAR_CARRIAGE_RETURN !== character);
|
855
|
-
|
856
|
-
captureSegment(captureStart, position, false);
|
857
|
-
}
|
858
|
-
|
859
|
-
return true;
|
860
|
-
}
|
861
|
-
|
862
|
-
function readBlockSequence(nodeIndent) {
|
863
|
-
var _line,
|
864
|
-
_tag = tag,
|
865
|
-
_result = [],
|
866
|
-
following,
|
867
|
-
detected = false;
|
868
|
-
|
869
|
-
if (null !== anchor) {
|
870
|
-
anchorMap[anchor] = _result;
|
871
|
-
}
|
872
|
-
|
873
|
-
while (position < length) {
|
874
|
-
if (CHAR_MINUS !== character) {
|
875
|
-
break;
|
876
|
-
}
|
877
|
-
|
878
|
-
following = input.charCodeAt(position + 1);
|
879
|
-
|
880
|
-
if (CHAR_SPACE !== following &&
|
881
|
-
CHAR_TAB !== following &&
|
882
|
-
CHAR_LINE_FEED !== following &&
|
883
|
-
CHAR_CARRIAGE_RETURN !== following) {
|
884
|
-
break;
|
885
|
-
}
|
886
|
-
|
887
|
-
detected = true;
|
888
|
-
position += 1;
|
889
|
-
character = following;
|
890
|
-
|
891
|
-
if (skipSeparationSpace(true, -1)) {
|
892
|
-
if (lineIndent <= nodeIndent) {
|
893
|
-
_result.push(null);
|
894
|
-
continue;
|
895
|
-
}
|
896
|
-
}
|
897
|
-
|
898
|
-
_line = line;
|
899
|
-
composeNode(nodeIndent, CONTEXT_BLOCK_IN, false, true);
|
900
|
-
_result.push(result);
|
901
|
-
skipSeparationSpace(true, -1);
|
902
|
-
|
903
|
-
if ((line === _line || lineIndent > nodeIndent) && position < length) {
|
904
|
-
throwError('bad indentation of a sequence entry');
|
905
|
-
} else if (lineIndent < nodeIndent) {
|
906
|
-
break;
|
907
|
-
}
|
908
|
-
}
|
909
|
-
|
910
|
-
if (detected) {
|
911
|
-
tag = _tag;
|
912
|
-
kind = KIND_ARRAY;
|
913
|
-
result = _result;
|
914
|
-
return true;
|
915
|
-
} else {
|
916
|
-
return false;
|
917
|
-
}
|
918
|
-
}
|
919
|
-
|
920
|
-
function readBlockMapping(nodeIndent) {
|
921
|
-
var following,
|
922
|
-
allowCompact,
|
923
|
-
_line,
|
924
|
-
_tag = tag,
|
925
|
-
_result = {},
|
926
|
-
keyTag = null,
|
927
|
-
keyNode = null,
|
928
|
-
valueNode = null,
|
929
|
-
atExplicitKey = false,
|
930
|
-
detected = false;
|
931
|
-
|
932
|
-
if (null !== anchor) {
|
933
|
-
anchorMap[anchor] = _result;
|
934
|
-
}
|
935
|
-
|
936
|
-
while (position < length) {
|
937
|
-
following = input.charCodeAt(position + 1);
|
938
|
-
_line = line; // Save the current line.
|
939
|
-
|
940
|
-
if ((CHAR_QUESTION === character ||
|
941
|
-
CHAR_COLON === character) &&
|
942
|
-
(CHAR_SPACE === following ||
|
943
|
-
CHAR_TAB === following ||
|
944
|
-
CHAR_LINE_FEED === following ||
|
945
|
-
CHAR_CARRIAGE_RETURN === following)) {
|
946
|
-
|
947
|
-
if (CHAR_QUESTION === character) {
|
948
|
-
if (atExplicitKey) {
|
949
|
-
storeMappingPair(_result, keyTag, keyNode, null);
|
950
|
-
keyTag = keyNode = valueNode = null;
|
951
|
-
}
|
952
|
-
|
953
|
-
detected = true;
|
954
|
-
atExplicitKey = true;
|
955
|
-
allowCompact = true;
|
956
|
-
|
957
|
-
} else if (atExplicitKey) {
|
958
|
-
// i.e. CHAR_COLON === character after the explicit key.
|
959
|
-
atExplicitKey = false;
|
960
|
-
allowCompact = true;
|
961
|
-
|
962
|
-
} else {
|
963
|
-
throwError('incomplete explicit mapping pair; a key node is missed');
|
964
|
-
}
|
965
|
-
|
966
|
-
position += 1;
|
967
|
-
character = following;
|
968
|
-
|
969
|
-
} else if (composeNode(nodeIndent, CONTEXT_FLOW_OUT, false, true)) {
|
970
|
-
if (line === _line) {
|
971
|
-
// TODO: Remove this cycle when the flow readers will consume
|
972
|
-
// trailing whitespaces like the block readers.
|
973
|
-
while (CHAR_SPACE === character ||
|
974
|
-
CHAR_TAB === character) {
|
975
|
-
character = input.charCodeAt(++position);
|
976
|
-
}
|
977
|
-
|
978
|
-
if (CHAR_COLON === character) {
|
979
|
-
character = input.charCodeAt(++position);
|
980
|
-
|
981
|
-
if (CHAR_SPACE !== character &&
|
982
|
-
CHAR_TAB !== character &&
|
983
|
-
CHAR_LINE_FEED !== character &&
|
984
|
-
CHAR_CARRIAGE_RETURN !== character) {
|
985
|
-
throwError('a whitespace character is expected after the key-value separator within a block mapping');
|
986
|
-
}
|
987
|
-
|
988
|
-
if (atExplicitKey) {
|
989
|
-
storeMappingPair(_result, keyTag, keyNode, null);
|
990
|
-
keyTag = keyNode = valueNode = null;
|
991
|
-
}
|
992
|
-
|
993
|
-
detected = true;
|
994
|
-
atExplicitKey = false;
|
995
|
-
allowCompact = false;
|
996
|
-
keyTag = tag;
|
997
|
-
keyNode = result;
|
998
|
-
|
999
|
-
} else if (detected) {
|
1000
|
-
throwError('can not read an implicit mapping pair; a colon is missed');
|
1001
|
-
|
1002
|
-
} else {
|
1003
|
-
tag = _tag;
|
1004
|
-
return true; // Keep the result of `composeNode`.
|
1005
|
-
}
|
1006
|
-
|
1007
|
-
} else if (detected) {
|
1008
|
-
throwError('can not read a block mapping entry; a multiline key may not be an implicit key');
|
1009
|
-
|
1010
|
-
} else {
|
1011
|
-
tag = _tag;
|
1012
|
-
return true; // Keep the result of `composeNode`.
|
1013
|
-
}
|
1014
|
-
|
1015
|
-
} else {
|
1016
|
-
break;
|
1017
|
-
}
|
1018
|
-
|
1019
|
-
if (line === _line || lineIndent > nodeIndent) {
|
1020
|
-
if (composeNode(nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) {
|
1021
|
-
if (atExplicitKey) {
|
1022
|
-
keyNode = result;
|
1023
|
-
} else {
|
1024
|
-
valueNode = result;
|
1025
|
-
}
|
1026
|
-
}
|
1027
|
-
|
1028
|
-
if (!atExplicitKey) {
|
1029
|
-
storeMappingPair(_result, keyTag, keyNode, valueNode);
|
1030
|
-
keyTag = keyNode = valueNode = null;
|
1031
|
-
}
|
1032
|
-
|
1033
|
-
// TODO: It is needed only for flow node readers. It should be removed
|
1034
|
-
// when the flow readers will consume trailing whitespaces as well as
|
1035
|
-
// the block readers.
|
1036
|
-
skipSeparationSpace(true, -1);
|
1037
|
-
}
|
1038
|
-
|
1039
|
-
if (lineIndent > nodeIndent && position < length) {
|
1040
|
-
throwError('bad indentation of a mapping entry');
|
1041
|
-
} else if (lineIndent < nodeIndent) {
|
1042
|
-
break;
|
1043
|
-
}
|
1044
|
-
}
|
1045
|
-
|
1046
|
-
if (atExplicitKey) {
|
1047
|
-
storeMappingPair(_result, keyTag, keyNode, null);
|
1048
|
-
}
|
1049
|
-
|
1050
|
-
if (detected) {
|
1051
|
-
tag = _tag;
|
1052
|
-
kind = KIND_OBJECT;
|
1053
|
-
result = _result;
|
1054
|
-
}
|
1055
|
-
|
1056
|
-
return detected;
|
1057
|
-
}
|
1058
|
-
|
1059
|
-
function readTagProperty() {
|
1060
|
-
var _position,
|
1061
|
-
isVerbatim = false,
|
1062
|
-
isNamed = false,
|
1063
|
-
tagHandle,
|
1064
|
-
tagName;
|
1065
|
-
|
1066
|
-
if (CHAR_EXCLAMATION !== character) {
|
1067
|
-
return false;
|
1068
|
-
}
|
1069
|
-
|
1070
|
-
if (null !== tag) {
|
1071
|
-
throwError('duplication of a tag property');
|
1072
|
-
}
|
1073
|
-
|
1074
|
-
character = input.charCodeAt(++position);
|
1075
|
-
|
1076
|
-
if (CHAR_LESS_THAN === character) {
|
1077
|
-
isVerbatim = true;
|
1078
|
-
character = input.charCodeAt(++position);
|
1079
|
-
|
1080
|
-
} else if (CHAR_EXCLAMATION === character) {
|
1081
|
-
isNamed = true;
|
1082
|
-
tagHandle = '!!';
|
1083
|
-
character = input.charCodeAt(++position);
|
1084
|
-
|
1085
|
-
} else {
|
1086
|
-
tagHandle = '!';
|
1087
|
-
}
|
1088
|
-
|
1089
|
-
_position = position;
|
1090
|
-
|
1091
|
-
if (isVerbatim) {
|
1092
|
-
do { character = input.charCodeAt(++position); }
|
1093
|
-
while (position < length && CHAR_GREATER_THAN !== character);
|
1094
|
-
|
1095
|
-
if (position < length) {
|
1096
|
-
tagName = input.slice(_position, position);
|
1097
|
-
character = input.charCodeAt(++position);
|
1098
|
-
} else {
|
1099
|
-
throwError('unexpected end of the stream within a verbatim tag');
|
1100
|
-
}
|
1101
|
-
} else {
|
1102
|
-
while (position < length &&
|
1103
|
-
CHAR_SPACE !== character &&
|
1104
|
-
CHAR_TAB !== character &&
|
1105
|
-
CHAR_LINE_FEED !== character &&
|
1106
|
-
CHAR_CARRIAGE_RETURN !== character) {
|
1107
|
-
|
1108
|
-
if (CHAR_EXCLAMATION === character) {
|
1109
|
-
if (!isNamed) {
|
1110
|
-
tagHandle = input.slice(_position - 1, position + 1);
|
1111
|
-
|
1112
|
-
if (validate && !PATTERN_TAG_HANDLE.test(tagHandle)) {
|
1113
|
-
throwError('named tag handle cannot contain such characters');
|
1114
|
-
}
|
1115
|
-
|
1116
|
-
isNamed = true;
|
1117
|
-
_position = position + 1;
|
1118
|
-
} else {
|
1119
|
-
throwError('tag suffix cannot contain exclamation marks');
|
1120
|
-
}
|
1121
|
-
}
|
1122
|
-
|
1123
|
-
character = input.charCodeAt(++position);
|
1124
|
-
}
|
1125
|
-
|
1126
|
-
tagName = input.slice(_position, position);
|
1127
|
-
|
1128
|
-
if (validate && PATTERN_FLOW_INDICATORS.test(tagName)) {
|
1129
|
-
throwError('tag suffix cannot contain flow indicator characters');
|
1130
|
-
}
|
1131
|
-
}
|
1132
|
-
|
1133
|
-
if (validate && tagName && !PATTERN_TAG_URI.test(tagName)) {
|
1134
|
-
throwError('tag name cannot contain such characters: ' + tagName);
|
1135
|
-
}
|
1136
|
-
|
1137
|
-
if (isVerbatim) {
|
1138
|
-
tag = tagName;
|
1139
|
-
|
1140
|
-
} else if (_hasOwnProperty.call(tagMap, tagHandle)) {
|
1141
|
-
tag = tagMap[tagHandle] + tagName;
|
1142
|
-
|
1143
|
-
} else if ('!' === tagHandle) {
|
1144
|
-
tag = '!' + tagName;
|
1145
|
-
|
1146
|
-
} else if ('!!' === tagHandle) {
|
1147
|
-
tag = 'tag:yaml.org,2002:' + tagName;
|
1148
|
-
|
1149
|
-
} else {
|
1150
|
-
throwError('undeclared tag handle "' + tagHandle + '"');
|
1151
|
-
}
|
1152
|
-
|
1153
|
-
return true;
|
1154
|
-
}
|
1155
|
-
|
1156
|
-
function readAnchorProperty() {
|
1157
|
-
var _position;
|
1158
|
-
|
1159
|
-
if (CHAR_AMPERSAND !== character) {
|
1160
|
-
return false;
|
1161
|
-
}
|
1162
|
-
|
1163
|
-
if (null !== anchor) {
|
1164
|
-
throwError('duplication of an anchor property');
|
1165
|
-
}
|
1166
|
-
|
1167
|
-
character = input.charCodeAt(++position);
|
1168
|
-
_position = position;
|
1169
|
-
|
1170
|
-
while (position < length &&
|
1171
|
-
CHAR_SPACE !== character &&
|
1172
|
-
CHAR_TAB !== character &&
|
1173
|
-
CHAR_LINE_FEED !== character &&
|
1174
|
-
CHAR_CARRIAGE_RETURN !== character &&
|
1175
|
-
CHAR_COMMA !== character &&
|
1176
|
-
CHAR_LEFT_SQUARE_BRACKET !== character &&
|
1177
|
-
CHAR_RIGHT_SQUARE_BRACKET !== character &&
|
1178
|
-
CHAR_LEFT_CURLY_BRACKET !== character &&
|
1179
|
-
CHAR_RIGHT_CURLY_BRACKET !== character) {
|
1180
|
-
character = input.charCodeAt(++position);
|
1181
|
-
}
|
1182
|
-
|
1183
|
-
if (position === _position) {
|
1184
|
-
throwError('name of an anchor node must contain at least one character');
|
1185
|
-
}
|
1186
|
-
|
1187
|
-
anchor = input.slice(_position, position);
|
1188
|
-
return true;
|
1189
|
-
}
|
1190
|
-
|
1191
|
-
function readAlias() {
|
1192
|
-
var _position, alias;
|
1193
|
-
|
1194
|
-
if (CHAR_ASTERISK !== character) {
|
1195
|
-
return false;
|
1196
|
-
}
|
1197
|
-
|
1198
|
-
character = input.charCodeAt(++position);
|
1199
|
-
_position = position;
|
1200
|
-
|
1201
|
-
while (position < length &&
|
1202
|
-
CHAR_SPACE !== character &&
|
1203
|
-
CHAR_TAB !== character &&
|
1204
|
-
CHAR_LINE_FEED !== character &&
|
1205
|
-
CHAR_CARRIAGE_RETURN !== character &&
|
1206
|
-
CHAR_COMMA !== character &&
|
1207
|
-
CHAR_LEFT_SQUARE_BRACKET !== character &&
|
1208
|
-
CHAR_RIGHT_SQUARE_BRACKET !== character &&
|
1209
|
-
CHAR_LEFT_CURLY_BRACKET !== character &&
|
1210
|
-
CHAR_RIGHT_CURLY_BRACKET !== character) {
|
1211
|
-
character = input.charCodeAt(++position);
|
1212
|
-
}
|
1213
|
-
|
1214
|
-
if (position === _position) {
|
1215
|
-
throwError('name of an alias node must contain at least one character');
|
1216
|
-
}
|
1217
|
-
|
1218
|
-
alias = input.slice(_position, position);
|
1219
|
-
|
1220
|
-
if (!anchorMap.hasOwnProperty(alias)) {
|
1221
|
-
throwError('unidentified alias "' + alias + '"');
|
1222
|
-
}
|
1223
|
-
|
1224
|
-
result = anchorMap[alias];
|
1225
|
-
skipSeparationSpace(true, -1);
|
1226
|
-
return true;
|
1227
|
-
}
|
1228
|
-
|
1229
|
-
function composeNode(parentIndent, nodeContext, allowToSeek, allowCompact) {
|
1230
|
-
var allowBlockStyles,
|
1231
|
-
allowBlockScalars,
|
1232
|
-
allowBlockCollections,
|
1233
|
-
atNewLine = false,
|
1234
|
-
isIndented = true,
|
1235
|
-
hasContent = false,
|
1236
|
-
typeIndex,
|
1237
|
-
typeQuantity,
|
1238
|
-
type,
|
1239
|
-
typeLoader,
|
1240
|
-
flowIndent,
|
1241
|
-
blockIndent,
|
1242
|
-
_result;
|
1243
|
-
|
1244
|
-
tag = null;
|
1245
|
-
anchor = null;
|
1246
|
-
kind = null;
|
1247
|
-
result = null;
|
1248
|
-
|
1249
|
-
allowBlockStyles = allowBlockScalars = allowBlockCollections =
|
1250
|
-
CONTEXT_BLOCK_OUT === nodeContext ||
|
1251
|
-
CONTEXT_BLOCK_IN === nodeContext;
|
1252
|
-
|
1253
|
-
if (allowToSeek) {
|
1254
|
-
if (skipSeparationSpace(true, -1)) {
|
1255
|
-
atNewLine = true;
|
1256
|
-
|
1257
|
-
if (lineIndent === parentIndent) {
|
1258
|
-
isIndented = false;
|
1259
|
-
|
1260
|
-
} else if (lineIndent > parentIndent) {
|
1261
|
-
isIndented = true;
|
1262
|
-
|
1263
|
-
} else {
|
1264
|
-
return false;
|
1265
|
-
}
|
1266
|
-
}
|
1267
|
-
}
|
1268
|
-
|
1269
|
-
if (isIndented) {
|
1270
|
-
while (readTagProperty() || readAnchorProperty()) {
|
1271
|
-
if (skipSeparationSpace(true, -1)) {
|
1272
|
-
atNewLine = true;
|
1273
|
-
|
1274
|
-
if (lineIndent > parentIndent) {
|
1275
|
-
isIndented = true;
|
1276
|
-
allowBlockCollections = allowBlockStyles;
|
1277
|
-
|
1278
|
-
} else if (lineIndent === parentIndent) {
|
1279
|
-
isIndented = false;
|
1280
|
-
allowBlockCollections = allowBlockStyles;
|
1281
|
-
|
1282
|
-
} else {
|
1283
|
-
return true;
|
1284
|
-
}
|
1285
|
-
} else {
|
1286
|
-
allowBlockCollections = false;
|
1287
|
-
}
|
1288
|
-
}
|
1289
|
-
}
|
1290
|
-
|
1291
|
-
if (allowBlockCollections) {
|
1292
|
-
allowBlockCollections = atNewLine || allowCompact;
|
1293
|
-
}
|
1294
|
-
|
1295
|
-
if (isIndented || CONTEXT_BLOCK_OUT === nodeContext) {
|
1296
|
-
if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) {
|
1297
|
-
flowIndent = parentIndent;
|
1298
|
-
} else {
|
1299
|
-
flowIndent = parentIndent + 1;
|
1300
|
-
}
|
1301
|
-
|
1302
|
-
blockIndent = position - lineStart;
|
1303
|
-
|
1304
|
-
if (isIndented) {
|
1305
|
-
if (allowBlockCollections &&
|
1306
|
-
(readBlockSequence(blockIndent) ||
|
1307
|
-
readBlockMapping(blockIndent)) ||
|
1308
|
-
readFlowCollection(flowIndent)) {
|
1309
|
-
hasContent = true;
|
1310
|
-
} else {
|
1311
|
-
if ((allowBlockScalars && readBlockScalar(flowIndent)) ||
|
1312
|
-
readSingleQuotedScalar(flowIndent) ||
|
1313
|
-
readDoubleQuotedScalar(flowIndent)) {
|
1314
|
-
hasContent = true;
|
1315
|
-
|
1316
|
-
} else if (readAlias()) {
|
1317
|
-
hasContent = true;
|
1318
|
-
|
1319
|
-
if (null !== tag || null !== anchor) {
|
1320
|
-
throwError('alias node should not have any properties');
|
1321
|
-
}
|
1322
|
-
|
1323
|
-
} else if (readPlainScalar(flowIndent, CONTEXT_FLOW_IN === nodeContext)) {
|
1324
|
-
hasContent = true;
|
1325
|
-
|
1326
|
-
if (null === tag) {
|
1327
|
-
tag = '?';
|
1328
|
-
}
|
1329
|
-
}
|
1330
|
-
|
1331
|
-
if (null !== anchor) {
|
1332
|
-
anchorMap[anchor] = result;
|
1333
|
-
}
|
1334
|
-
}
|
1335
|
-
} else {
|
1336
|
-
hasContent = allowBlockCollections && readBlockSequence(blockIndent);
|
1337
|
-
}
|
1338
|
-
}
|
1339
|
-
|
1340
|
-
if (null !== tag && '!' !== tag) {
|
1341
|
-
if ('?' === tag) {
|
1342
|
-
if (resolve) {
|
1343
|
-
for (typeIndex = 0, typeQuantity = implicitTypes.length;
|
1344
|
-
typeIndex < typeQuantity;
|
1345
|
-
typeIndex += 1) {
|
1346
|
-
type = implicitTypes[typeIndex];
|
1347
|
-
|
1348
|
-
// Implicit resolving is not allowed for non-scalar types, and '?'
|
1349
|
-
// non-specific tag is only assigned to plain scalars. So, it isn't
|
1350
|
-
// needed to check for 'kind' conformity.
|
1351
|
-
_result = type.loader.resolver(result, false);
|
1352
|
-
|
1353
|
-
if (NIL !== _result) {
|
1354
|
-
tag = type.tag;
|
1355
|
-
result = _result;
|
1356
|
-
break;
|
1357
|
-
}
|
1358
|
-
}
|
1359
|
-
}
|
1360
|
-
} else if (_hasOwnProperty.call(typeMap, tag)) {
|
1361
|
-
typeLoader = typeMap[tag].loader;
|
1362
|
-
|
1363
|
-
if (null !== result && typeLoader.kind !== kind) {
|
1364
|
-
throwError('unacceptable node kind for !<' + tag + '> tag; it should be "' + typeLoader.kind + '", not "' + kind + '"');
|
1365
|
-
}
|
1366
|
-
|
1367
|
-
if (typeLoader.resolver) {
|
1368
|
-
_result = typeLoader.resolver(result, true);
|
1369
|
-
|
1370
|
-
if (NIL !== _result) {
|
1371
|
-
result = _result;
|
1372
|
-
} else {
|
1373
|
-
throwError('cannot resolve a node with !<' + tag + '> explicit tag');
|
1374
|
-
}
|
1375
|
-
}
|
1376
|
-
} else {
|
1377
|
-
throwWarning('unknown tag !<' + tag + '>');
|
1378
|
-
}
|
1379
|
-
}
|
1380
|
-
|
1381
|
-
return null !== tag || null !== anchor || hasContent;
|
1382
|
-
}
|
1383
|
-
|
1384
|
-
function readDocument() {
|
1385
|
-
var documentStart = position,
|
1386
|
-
_position,
|
1387
|
-
directiveName,
|
1388
|
-
directiveArgs,
|
1389
|
-
hasDirectives = false;
|
1390
|
-
|
1391
|
-
version = null;
|
1392
|
-
checkLineBreaks = legacy;
|
1393
|
-
tagMap = {};
|
1394
|
-
anchorMap = {};
|
1395
|
-
|
1396
|
-
while (position < length) {
|
1397
|
-
skipSeparationSpace(true, -1);
|
1398
|
-
|
1399
|
-
if (lineIndent > 0 || CHAR_PERCENT !== character) {
|
1400
|
-
break;
|
1401
|
-
}
|
1402
|
-
|
1403
|
-
hasDirectives = true;
|
1404
|
-
character = input.charCodeAt(++position);
|
1405
|
-
_position = position;
|
1406
|
-
|
1407
|
-
while (position < length &&
|
1408
|
-
CHAR_SPACE !== character &&
|
1409
|
-
CHAR_TAB !== character &&
|
1410
|
-
CHAR_LINE_FEED !== character &&
|
1411
|
-
CHAR_CARRIAGE_RETURN !== character) {
|
1412
|
-
character = input.charCodeAt(++position);
|
1413
|
-
}
|
1414
|
-
|
1415
|
-
directiveName = input.slice(_position, position);
|
1416
|
-
directiveArgs = [];
|
1417
|
-
|
1418
|
-
if (directiveName.length < 1) {
|
1419
|
-
throwError('directive name must not be less than one character in length');
|
1420
|
-
}
|
1421
|
-
|
1422
|
-
while (position < length) {
|
1423
|
-
while (CHAR_SPACE === character || CHAR_TAB === character) {
|
1424
|
-
character = input.charCodeAt(++position);
|
1425
|
-
}
|
1426
|
-
|
1427
|
-
if (CHAR_SHARP === character) {
|
1428
|
-
do { character = input.charCodeAt(++position); }
|
1429
|
-
while (position < length &&
|
1430
|
-
CHAR_LINE_FEED !== character &&
|
1431
|
-
CHAR_CARRIAGE_RETURN !== character);
|
1432
|
-
break;
|
1433
|
-
}
|
1434
|
-
|
1435
|
-
if (CHAR_LINE_FEED === character || CHAR_CARRIAGE_RETURN === character) {
|
1436
|
-
break;
|
1437
|
-
}
|
1438
|
-
|
1439
|
-
_position = position;
|
1440
|
-
|
1441
|
-
while (position < length &&
|
1442
|
-
CHAR_SPACE !== character &&
|
1443
|
-
CHAR_TAB !== character &&
|
1444
|
-
CHAR_LINE_FEED !== character &&
|
1445
|
-
CHAR_CARRIAGE_RETURN !== character) {
|
1446
|
-
character = input.charCodeAt(++position);
|
1447
|
-
}
|
1448
|
-
|
1449
|
-
directiveArgs.push(input.slice(_position, position));
|
1450
|
-
}
|
1451
|
-
|
1452
|
-
if (position < length) {
|
1453
|
-
readLineBreak();
|
1454
|
-
}
|
1455
|
-
|
1456
|
-
if (_hasOwnProperty.call(directiveHandlers, directiveName)) {
|
1457
|
-
directiveHandlers[directiveName](directiveName, directiveArgs);
|
1458
|
-
} else {
|
1459
|
-
throwWarning('unknown document directive "' + directiveName + '"');
|
1460
|
-
}
|
1461
|
-
}
|
1462
|
-
|
1463
|
-
skipSeparationSpace(true, -1);
|
1464
|
-
|
1465
|
-
if (0 === lineIndent &&
|
1466
|
-
CHAR_MINUS === character &&
|
1467
|
-
CHAR_MINUS === input.charCodeAt(position + 1) &&
|
1468
|
-
CHAR_MINUS === input.charCodeAt(position + 2)) {
|
1469
|
-
position += 3;
|
1470
|
-
character = input.charCodeAt(position);
|
1471
|
-
skipSeparationSpace(true, -1);
|
1472
|
-
|
1473
|
-
} else if (hasDirectives) {
|
1474
|
-
throwError('directives end mark is expected');
|
1475
|
-
}
|
1476
|
-
|
1477
|
-
composeNode(lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);
|
1478
|
-
skipSeparationSpace(true, -1);
|
1479
|
-
|
1480
|
-
if (validate && checkLineBreaks &&
|
1481
|
-
PATTERN_NON_ASCII_LINE_BREAKS.test(input.slice(documentStart, position))) {
|
1482
|
-
throwWarning('non-ASCII line breaks are interpreted as content');
|
1483
|
-
}
|
1484
|
-
|
1485
|
-
output(result);
|
1486
|
-
|
1487
|
-
if (position === lineStart && testDocumentSeparator()) {
|
1488
|
-
if (CHAR_DOT === character) {
|
1489
|
-
position += 3;
|
1490
|
-
character = input.charCodeAt(position);
|
1491
|
-
skipSeparationSpace(true, -1);
|
1492
|
-
}
|
1493
|
-
return;
|
1494
|
-
}
|
1495
|
-
|
1496
|
-
if (position < length) {
|
1497
|
-
throwError('end of the stream or a document separator is expected');
|
1498
|
-
} else {
|
1499
|
-
return;
|
1500
|
-
}
|
1501
|
-
}
|
1502
|
-
|
1503
|
-
if (validate && PATTERN_NON_PRINTABLE.test(input)) {
|
1504
|
-
throwError('the stream contains non-printable characters');
|
1505
|
-
}
|
1506
|
-
|
1507
|
-
while (CHAR_SPACE === character) {
|
1508
|
-
lineIndent += 1;
|
1509
|
-
character = input.charCodeAt(++position);
|
1510
|
-
}
|
1511
|
-
|
1512
|
-
while (position < length) {
|
1513
|
-
readDocument();
|
1514
|
-
}
|
1515
|
-
}
|
1516
|
-
|
1517
|
-
|
1518
|
-
function load(input, options) {
|
1519
|
-
var result = null, received = false;
|
1520
|
-
|
1521
|
-
function callback(data) {
|
1522
|
-
if (!received) {
|
1523
|
-
result = data;
|
1524
|
-
received = true;
|
1525
|
-
} else {
|
1526
|
-
throw new YAMLException('expected a single document in the stream, but found more');
|
1527
|
-
}
|
1528
|
-
}
|
1529
|
-
|
1530
|
-
loadAll(input, callback, options);
|
1531
|
-
|
1532
|
-
return result;
|
1533
|
-
}
|
1534
|
-
|
1535
|
-
|
1536
|
-
function safeLoadAll(input, output, options) {
|
1537
|
-
loadAll(input, output, common.extend({ schema: SAFE_SCHEMA }, options));
|
1538
|
-
}
|
1539
|
-
|
1540
|
-
|
1541
|
-
function safeLoad(input, options) {
|
1542
|
-
return load(input, common.extend({ schema: SAFE_SCHEMA }, options));
|
1543
|
-
}
|
1544
|
-
|
1545
|
-
|
1546
|
-
module.exports.loadAll = loadAll;
|
1547
|
-
module.exports.load = load;
|
1548
|
-
module.exports.safeLoadAll = safeLoadAll;
|
1549
|
-
module.exports.safeLoad = safeLoad;
|