pdf-creator-node 1.4.0 → 1.4.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.
- package/package.json +2 -2
- package/.DS_Store +0 -0
- package/example/index.js +0 -42
- package/example/node_modules/ajv/.tonic_example.js +0 -20
- package/example/node_modules/ajv/LICENSE +0 -22
- package/example/node_modules/ajv/README.md +0 -1344
- package/example/node_modules/ajv/dist/ajv.bundle.js +0 -7165
- package/example/node_modules/ajv/dist/ajv.min.js +0 -3
- package/example/node_modules/ajv/dist/ajv.min.js.map +0 -1
- package/example/node_modules/ajv/lib/.DS_Store +0 -0
- package/example/node_modules/ajv/lib/ajv.d.ts +0 -389
- package/example/node_modules/ajv/lib/ajv.js +0 -497
- package/example/node_modules/ajv/lib/cache.js +0 -26
- package/example/node_modules/ajv/lib/compile/async.js +0 -90
- package/example/node_modules/ajv/lib/compile/equal.js +0 -5
- package/example/node_modules/ajv/lib/compile/error_classes.js +0 -34
- package/example/node_modules/ajv/lib/compile/formats.js +0 -149
- package/example/node_modules/ajv/lib/compile/index.js +0 -387
- package/example/node_modules/ajv/lib/compile/resolve.js +0 -270
- package/example/node_modules/ajv/lib/compile/rules.js +0 -66
- package/example/node_modules/ajv/lib/compile/schema_obj.js +0 -9
- package/example/node_modules/ajv/lib/compile/ucs2length.js +0 -20
- package/example/node_modules/ajv/lib/compile/util.js +0 -274
- package/example/node_modules/ajv/lib/data.js +0 -49
- package/example/node_modules/ajv/lib/dot/_limit.jst +0 -104
- package/example/node_modules/ajv/lib/dot/_limitItems.jst +0 -10
- package/example/node_modules/ajv/lib/dot/_limitLength.jst +0 -10
- package/example/node_modules/ajv/lib/dot/_limitProperties.jst +0 -10
- package/example/node_modules/ajv/lib/dot/allOf.jst +0 -34
- package/example/node_modules/ajv/lib/dot/anyOf.jst +0 -48
- package/example/node_modules/ajv/lib/dot/coerce.def +0 -61
- package/example/node_modules/ajv/lib/dot/comment.jst +0 -9
- package/example/node_modules/ajv/lib/dot/const.jst +0 -11
- package/example/node_modules/ajv/lib/dot/contains.jst +0 -57
- package/example/node_modules/ajv/lib/dot/custom.jst +0 -191
- package/example/node_modules/ajv/lib/dot/defaults.def +0 -47
- package/example/node_modules/ajv/lib/dot/definitions.def +0 -199
- package/example/node_modules/ajv/lib/dot/dependencies.jst +0 -80
- package/example/node_modules/ajv/lib/dot/enum.jst +0 -30
- package/example/node_modules/ajv/lib/dot/errors.def +0 -194
- package/example/node_modules/ajv/lib/dot/format.jst +0 -106
- package/example/node_modules/ajv/lib/dot/if.jst +0 -75
- package/example/node_modules/ajv/lib/dot/items.jst +0 -100
- package/example/node_modules/ajv/lib/dot/missing.def +0 -39
- package/example/node_modules/ajv/lib/dot/multipleOf.jst +0 -20
- package/example/node_modules/ajv/lib/dot/not.jst +0 -43
- package/example/node_modules/ajv/lib/dot/oneOf.jst +0 -54
- package/example/node_modules/ajv/lib/dot/pattern.jst +0 -14
- package/example/node_modules/ajv/lib/dot/properties.jst +0 -244
- package/example/node_modules/ajv/lib/dot/propertyNames.jst +0 -54
- package/example/node_modules/ajv/lib/dot/ref.jst +0 -85
- package/example/node_modules/ajv/lib/dot/required.jst +0 -108
- package/example/node_modules/ajv/lib/dot/uniqueItems.jst +0 -62
- package/example/node_modules/ajv/lib/dot/validate.jst +0 -282
- package/example/node_modules/ajv/lib/dotjs/README.md +0 -3
- package/example/node_modules/ajv/lib/dotjs/_limit.js +0 -157
- package/example/node_modules/ajv/lib/dotjs/_limitItems.js +0 -77
- package/example/node_modules/ajv/lib/dotjs/_limitLength.js +0 -82
- package/example/node_modules/ajv/lib/dotjs/_limitProperties.js +0 -77
- package/example/node_modules/ajv/lib/dotjs/allOf.js +0 -43
- package/example/node_modules/ajv/lib/dotjs/anyOf.js +0 -74
- package/example/node_modules/ajv/lib/dotjs/comment.js +0 -14
- package/example/node_modules/ajv/lib/dotjs/const.js +0 -56
- package/example/node_modules/ajv/lib/dotjs/contains.js +0 -82
- package/example/node_modules/ajv/lib/dotjs/custom.js +0 -228
- package/example/node_modules/ajv/lib/dotjs/dependencies.js +0 -168
- package/example/node_modules/ajv/lib/dotjs/enum.js +0 -66
- package/example/node_modules/ajv/lib/dotjs/format.js +0 -150
- package/example/node_modules/ajv/lib/dotjs/if.js +0 -104
- package/example/node_modules/ajv/lib/dotjs/index.js +0 -33
- package/example/node_modules/ajv/lib/dotjs/items.js +0 -141
- package/example/node_modules/ajv/lib/dotjs/multipleOf.js +0 -77
- package/example/node_modules/ajv/lib/dotjs/not.js +0 -84
- package/example/node_modules/ajv/lib/dotjs/oneOf.js +0 -73
- package/example/node_modules/ajv/lib/dotjs/pattern.js +0 -75
- package/example/node_modules/ajv/lib/dotjs/properties.js +0 -330
- package/example/node_modules/ajv/lib/dotjs/propertyNames.js +0 -82
- package/example/node_modules/ajv/lib/dotjs/ref.js +0 -124
- package/example/node_modules/ajv/lib/dotjs/required.js +0 -270
- package/example/node_modules/ajv/lib/dotjs/uniqueItems.js +0 -86
- package/example/node_modules/ajv/lib/dotjs/validate.js +0 -494
- package/example/node_modules/ajv/lib/keyword.js +0 -178
- package/example/node_modules/ajv/lib/refs/data.json +0 -17
- package/example/node_modules/ajv/lib/refs/json-schema-draft-04.json +0 -149
- package/example/node_modules/ajv/lib/refs/json-schema-draft-06.json +0 -154
- package/example/node_modules/ajv/lib/refs/json-schema-draft-07.json +0 -168
- package/example/node_modules/ajv/lib/refs/json-schema-secure.json +0 -94
- package/example/node_modules/ajv/package.json +0 -129
- package/example/node_modules/ajv/scripts/.eslintrc.yml +0 -3
- package/example/node_modules/ajv/scripts/bundle.js +0 -61
- package/example/node_modules/ajv/scripts/compile-dots.js +0 -73
- package/example/node_modules/ajv/scripts/info +0 -10
- package/example/node_modules/ajv/scripts/prepare-tests +0 -12
- package/example/node_modules/ajv/scripts/publish-built-version +0 -32
- package/example/node_modules/ajv/scripts/travis-gh-pages +0 -23
- package/example/node_modules/asn1/LICENSE +0 -19
- package/example/node_modules/asn1/README.md +0 -50
- package/example/node_modules/asn1/lib/ber/errors.js +0 -13
- package/example/node_modules/asn1/lib/ber/index.js +0 -27
- package/example/node_modules/asn1/lib/ber/reader.js +0 -262
- package/example/node_modules/asn1/lib/ber/types.js +0 -36
- package/example/node_modules/asn1/lib/ber/writer.js +0 -317
- package/example/node_modules/asn1/lib/index.js +0 -20
- package/example/node_modules/asn1/package.json +0 -79
- package/example/node_modules/assert-plus/AUTHORS +0 -6
- package/example/node_modules/assert-plus/CHANGES.md +0 -14
- package/example/node_modules/assert-plus/README.md +0 -162
- package/example/node_modules/assert-plus/assert.js +0 -211
- package/example/node_modules/assert-plus/package.json +0 -91
- package/example/node_modules/asynckit/LICENSE +0 -21
- package/example/node_modules/asynckit/README.md +0 -233
- package/example/node_modules/asynckit/bench.js +0 -76
- package/example/node_modules/asynckit/index.js +0 -6
- package/example/node_modules/asynckit/lib/abort.js +0 -29
- package/example/node_modules/asynckit/lib/async.js +0 -34
- package/example/node_modules/asynckit/lib/defer.js +0 -26
- package/example/node_modules/asynckit/lib/iterate.js +0 -75
- package/example/node_modules/asynckit/lib/readable_asynckit.js +0 -91
- package/example/node_modules/asynckit/lib/readable_parallel.js +0 -25
- package/example/node_modules/asynckit/lib/readable_serial.js +0 -25
- package/example/node_modules/asynckit/lib/readable_serial_ordered.js +0 -29
- package/example/node_modules/asynckit/lib/state.js +0 -37
- package/example/node_modules/asynckit/lib/streamify.js +0 -141
- package/example/node_modules/asynckit/lib/terminator.js +0 -29
- package/example/node_modules/asynckit/package.json +0 -95
- package/example/node_modules/asynckit/parallel.js +0 -43
- package/example/node_modules/asynckit/serial.js +0 -17
- package/example/node_modules/asynckit/serialOrdered.js +0 -75
- package/example/node_modules/asynckit/stream.js +0 -21
- package/example/node_modules/aws-sign2/LICENSE +0 -55
- package/example/node_modules/aws-sign2/README.md +0 -4
- package/example/node_modules/aws-sign2/index.js +0 -212
- package/example/node_modules/aws-sign2/package.json +0 -54
- package/example/node_modules/aws4/.travis.yml +0 -5
- package/example/node_modules/aws4/LICENSE +0 -19
- package/example/node_modules/aws4/README.md +0 -523
- package/example/node_modules/aws4/aws4.js +0 -332
- package/example/node_modules/aws4/lru.js +0 -96
- package/example/node_modules/aws4/package.json +0 -108
- package/example/node_modules/bcrypt-pbkdf/CONTRIBUTING.md +0 -13
- package/example/node_modules/bcrypt-pbkdf/LICENSE +0 -66
- package/example/node_modules/bcrypt-pbkdf/README.md +0 -45
- package/example/node_modules/bcrypt-pbkdf/index.js +0 -556
- package/example/node_modules/bcrypt-pbkdf/package.json +0 -48
- package/example/node_modules/buffer-from/LICENSE +0 -21
- package/example/node_modules/buffer-from/index.js +0 -69
- package/example/node_modules/buffer-from/package.json +0 -56
- package/example/node_modules/buffer-from/readme.md +0 -69
- package/example/node_modules/caseless/LICENSE +0 -28
- package/example/node_modules/caseless/README.md +0 -45
- package/example/node_modules/caseless/index.js +0 -67
- package/example/node_modules/caseless/package.json +0 -60
- package/example/node_modules/caseless/test.js +0 -67
- package/example/node_modules/combined-stream/License +0 -19
- package/example/node_modules/combined-stream/Readme.md +0 -138
- package/example/node_modules/combined-stream/lib/combined_stream.js +0 -208
- package/example/node_modules/combined-stream/package.json +0 -62
- package/example/node_modules/combined-stream/yarn.lock +0 -17
- package/example/node_modules/commander/CHANGELOG.md +0 -408
- package/example/node_modules/commander/LICENSE +0 -22
- package/example/node_modules/commander/Readme.md +0 -428
- package/example/node_modules/commander/index.js +0 -1224
- package/example/node_modules/commander/package.json +0 -74
- package/example/node_modules/commander/typings/index.d.ts +0 -310
- package/example/node_modules/concat-stream/LICENSE +0 -24
- package/example/node_modules/concat-stream/index.js +0 -144
- package/example/node_modules/concat-stream/package.json +0 -88
- package/example/node_modules/concat-stream/readme.md +0 -102
- package/example/node_modules/core-util-is/LICENSE +0 -19
- package/example/node_modules/core-util-is/README.md +0 -3
- package/example/node_modules/core-util-is/float.patch +0 -604
- package/example/node_modules/core-util-is/lib/util.js +0 -107
- package/example/node_modules/core-util-is/package.json +0 -67
- package/example/node_modules/core-util-is/test.js +0 -68
- package/example/node_modules/dashdash/CHANGES.md +0 -364
- package/example/node_modules/dashdash/LICENSE.txt +0 -24
- package/example/node_modules/dashdash/README.md +0 -574
- package/example/node_modules/dashdash/etc/dashdash.bash_completion.in +0 -389
- package/example/node_modules/dashdash/lib/dashdash.js +0 -1055
- package/example/node_modules/dashdash/package.json +0 -71
- package/example/node_modules/debug/.coveralls.yml +0 -1
- package/example/node_modules/debug/.eslintrc +0 -11
- package/example/node_modules/debug/.travis.yml +0 -14
- package/example/node_modules/debug/CHANGELOG.md +0 -362
- package/example/node_modules/debug/LICENSE +0 -19
- package/example/node_modules/debug/Makefile +0 -50
- package/example/node_modules/debug/README.md +0 -312
- package/example/node_modules/debug/component.json +0 -19
- package/example/node_modules/debug/karma.conf.js +0 -70
- package/example/node_modules/debug/node.js +0 -1
- package/example/node_modules/debug/package.json +0 -92
- package/example/node_modules/debug/src/browser.js +0 -185
- package/example/node_modules/debug/src/debug.js +0 -202
- package/example/node_modules/debug/src/index.js +0 -10
- package/example/node_modules/debug/src/inspector-log.js +0 -15
- package/example/node_modules/debug/src/node.js +0 -248
- package/example/node_modules/delayed-stream/License +0 -19
- package/example/node_modules/delayed-stream/Makefile +0 -7
- package/example/node_modules/delayed-stream/Readme.md +0 -141
- package/example/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
- package/example/node_modules/delayed-stream/package.json +0 -66
- package/example/node_modules/ecc-jsbn/LICENSE +0 -21
- package/example/node_modules/ecc-jsbn/README.md +0 -8
- package/example/node_modules/ecc-jsbn/index.js +0 -58
- package/example/node_modules/ecc-jsbn/lib/LICENSE-jsbn +0 -40
- package/example/node_modules/ecc-jsbn/lib/ec.js +0 -561
- package/example/node_modules/ecc-jsbn/lib/sec.js +0 -170
- package/example/node_modules/ecc-jsbn/package.json +0 -69
- package/example/node_modules/ecc-jsbn/test.js +0 -14
- package/example/node_modules/es6-promise/CHANGELOG.md +0 -155
- package/example/node_modules/es6-promise/LICENSE +0 -19
- package/example/node_modules/es6-promise/README.md +0 -97
- package/example/node_modules/es6-promise/auto.js +0 -4
- package/example/node_modules/es6-promise/dist/es6-promise.auto.js +0 -1176
- package/example/node_modules/es6-promise/dist/es6-promise.auto.map +0 -1
- package/example/node_modules/es6-promise/dist/es6-promise.auto.min.js +0 -1
- package/example/node_modules/es6-promise/dist/es6-promise.auto.min.map +0 -1
- package/example/node_modules/es6-promise/dist/es6-promise.js +0 -1174
- package/example/node_modules/es6-promise/dist/es6-promise.map +0 -1
- package/example/node_modules/es6-promise/dist/es6-promise.min.js +0 -1
- package/example/node_modules/es6-promise/dist/es6-promise.min.map +0 -1
- package/example/node_modules/es6-promise/es6-promise.d.ts +0 -85
- package/example/node_modules/es6-promise/lib/es6-promise/-internal.js +0 -243
- package/example/node_modules/es6-promise/lib/es6-promise/asap.js +0 -119
- package/example/node_modules/es6-promise/lib/es6-promise/enumerator.js +0 -124
- package/example/node_modules/es6-promise/lib/es6-promise/polyfill.js +0 -35
- package/example/node_modules/es6-promise/lib/es6-promise/promise/all.js +0 -52
- package/example/node_modules/es6-promise/lib/es6-promise/promise/race.js +0 -84
- package/example/node_modules/es6-promise/lib/es6-promise/promise/reject.js +0 -46
- package/example/node_modules/es6-promise/lib/es6-promise/promise/resolve.js +0 -48
- package/example/node_modules/es6-promise/lib/es6-promise/promise.js +0 -431
- package/example/node_modules/es6-promise/lib/es6-promise/then.js +0 -32
- package/example/node_modules/es6-promise/lib/es6-promise/utils.js +0 -21
- package/example/node_modules/es6-promise/lib/es6-promise.auto.js +0 -3
- package/example/node_modules/es6-promise/lib/es6-promise.js +0 -7
- package/example/node_modules/es6-promise/package.json +0 -110
- package/example/node_modules/extend/.editorconfig +0 -20
- package/example/node_modules/extend/.eslintrc +0 -17
- package/example/node_modules/extend/.jscs.json +0 -175
- package/example/node_modules/extend/.travis.yml +0 -230
- package/example/node_modules/extend/CHANGELOG.md +0 -83
- package/example/node_modules/extend/LICENSE +0 -23
- package/example/node_modules/extend/README.md +0 -81
- package/example/node_modules/extend/component.json +0 -32
- package/example/node_modules/extend/index.js +0 -117
- package/example/node_modules/extend/package.json +0 -79
- package/example/node_modules/extract-zip/.travis.yml +0 -9
- package/example/node_modules/extract-zip/CONTRIBUTING.md +0 -1
- package/example/node_modules/extract-zip/LICENSE +0 -23
- package/example/node_modules/extract-zip/cli.js +0 -20
- package/example/node_modules/extract-zip/index.js +0 -205
- package/example/node_modules/extract-zip/package.json +0 -73
- package/example/node_modules/extract-zip/readme.md +0 -49
- package/example/node_modules/extsprintf/.gitmodules +0 -0
- package/example/node_modules/extsprintf/LICENSE +0 -19
- package/example/node_modules/extsprintf/Makefile +0 -24
- package/example/node_modules/extsprintf/Makefile.targ +0 -285
- package/example/node_modules/extsprintf/README.md +0 -46
- package/example/node_modules/extsprintf/jsl.node.conf +0 -137
- package/example/node_modules/extsprintf/lib/extsprintf.js +0 -183
- package/example/node_modules/extsprintf/package.json +0 -48
- package/example/node_modules/fast-deep-equal/LICENSE +0 -21
- package/example/node_modules/fast-deep-equal/README.md +0 -58
- package/example/node_modules/fast-deep-equal/index.d.ts +0 -4
- package/example/node_modules/fast-deep-equal/index.js +0 -55
- package/example/node_modules/fast-deep-equal/package.json +0 -90
- package/example/node_modules/fast-json-stable-stringify/.eslintrc.yml +0 -26
- package/example/node_modules/fast-json-stable-stringify/.travis.yml +0 -8
- package/example/node_modules/fast-json-stable-stringify/LICENSE +0 -18
- package/example/node_modules/fast-json-stable-stringify/README.md +0 -119
- package/example/node_modules/fast-json-stable-stringify/benchmark/index.js +0 -31
- package/example/node_modules/fast-json-stable-stringify/benchmark/test.json +0 -137
- package/example/node_modules/fast-json-stable-stringify/example/key_cmp.js +0 -7
- package/example/node_modules/fast-json-stable-stringify/example/nested.js +0 -3
- package/example/node_modules/fast-json-stable-stringify/example/str.js +0 -3
- package/example/node_modules/fast-json-stable-stringify/example/value_cmp.js +0 -7
- package/example/node_modules/fast-json-stable-stringify/index.js +0 -59
- package/example/node_modules/fast-json-stable-stringify/package.json +0 -82
- package/example/node_modules/fast-json-stable-stringify/test/cmp.js +0 -13
- package/example/node_modules/fast-json-stable-stringify/test/nested.js +0 -44
- package/example/node_modules/fast-json-stable-stringify/test/str.js +0 -46
- package/example/node_modules/fast-json-stable-stringify/test/to-json.js +0 -22
- package/example/node_modules/fd-slicer/.travis.yml +0 -7
- package/example/node_modules/fd-slicer/CHANGELOG.md +0 -49
- package/example/node_modules/fd-slicer/LICENSE +0 -21
- package/example/node_modules/fd-slicer/README.md +0 -189
- package/example/node_modules/fd-slicer/index.js +0 -277
- package/example/node_modules/fd-slicer/package.json +0 -69
- package/example/node_modules/fd-slicer/test/test.js +0 -350
- package/example/node_modules/forever-agent/LICENSE +0 -55
- package/example/node_modules/forever-agent/README.md +0 -4
- package/example/node_modules/forever-agent/index.js +0 -138
- package/example/node_modules/forever-agent/package.json +0 -54
- package/example/node_modules/form-data/License +0 -19
- package/example/node_modules/form-data/README.md +0 -234
- package/example/node_modules/form-data/README.md.bak +0 -234
- package/example/node_modules/form-data/lib/browser.js +0 -2
- package/example/node_modules/form-data/lib/form_data.js +0 -457
- package/example/node_modules/form-data/lib/populate.js +0 -10
- package/example/node_modules/form-data/package.json +0 -102
- package/example/node_modules/form-data/yarn.lock +0 -2662
- package/example/node_modules/fs-extra/CHANGELOG.md +0 -656
- package/example/node_modules/fs-extra/LICENSE +0 -15
- package/example/node_modules/fs-extra/README.md +0 -603
- package/example/node_modules/fs-extra/lib/copy/copy.js +0 -50
- package/example/node_modules/fs-extra/lib/copy/index.js +0 -3
- package/example/node_modules/fs-extra/lib/copy/ncp.js +0 -232
- package/example/node_modules/fs-extra/lib/copy-sync/copy-file-sync.js +0 -42
- package/example/node_modules/fs-extra/lib/copy-sync/copy-sync.js +0 -56
- package/example/node_modules/fs-extra/lib/copy-sync/index.js +0 -3
- package/example/node_modules/fs-extra/lib/empty/index.js +0 -47
- package/example/node_modules/fs-extra/lib/ensure/file.js +0 -43
- package/example/node_modules/fs-extra/lib/ensure/index.js +0 -21
- package/example/node_modules/fs-extra/lib/ensure/link.js +0 -58
- package/example/node_modules/fs-extra/lib/ensure/symlink-paths.js +0 -96
- package/example/node_modules/fs-extra/lib/ensure/symlink-type.js +0 -27
- package/example/node_modules/fs-extra/lib/ensure/symlink.js +0 -62
- package/example/node_modules/fs-extra/lib/index.js +0 -38
- package/example/node_modules/fs-extra/lib/json/index.js +0 -9
- package/example/node_modules/fs-extra/lib/json/jsonfile.js +0 -14
- package/example/node_modules/fs-extra/lib/json/output-json-sync.js +0 -16
- package/example/node_modules/fs-extra/lib/json/output-json.js +0 -24
- package/example/node_modules/fs-extra/lib/mkdirs/index.js +0 -9
- package/example/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js +0 -57
- package/example/node_modules/fs-extra/lib/mkdirs/mkdirs.js +0 -61
- package/example/node_modules/fs-extra/lib/mkdirs/win32.js +0 -24
- package/example/node_modules/fs-extra/lib/move/index.js +0 -161
- package/example/node_modules/fs-extra/lib/output/index.js +0 -35
- package/example/node_modules/fs-extra/lib/remove/index.js +0 -15
- package/example/node_modules/fs-extra/lib/remove/rimraf.js +0 -301
- package/example/node_modules/fs-extra/lib/util/assign.js +0 -14
- package/example/node_modules/fs-extra/lib/util/utimes.js +0 -70
- package/example/node_modules/fs-extra/lib/walk/index.js +0 -5
- package/example/node_modules/fs-extra/lib/walk-sync/index.js +0 -20
- package/example/node_modules/fs-extra/package.json +0 -96
- package/example/node_modules/getpass/.travis.yml +0 -9
- package/example/node_modules/getpass/LICENSE +0 -18
- package/example/node_modules/getpass/README.md +0 -32
- package/example/node_modules/getpass/lib/index.js +0 -123
- package/example/node_modules/getpass/package.json +0 -54
- package/example/node_modules/graceful-fs/LICENSE +0 -15
- package/example/node_modules/graceful-fs/README.md +0 -133
- package/example/node_modules/graceful-fs/clone.js +0 -19
- package/example/node_modules/graceful-fs/graceful-fs.js +0 -279
- package/example/node_modules/graceful-fs/legacy-streams.js +0 -118
- package/example/node_modules/graceful-fs/package.json +0 -85
- package/example/node_modules/graceful-fs/polyfills.js +0 -336
- package/example/node_modules/handlebars/LICENSE +0 -19
- package/example/node_modules/handlebars/README.markdown +0 -168
- package/example/node_modules/handlebars/bin/handlebars +0 -128
- package/example/node_modules/handlebars/dist/amd/handlebars/base.js +0 -96
- package/example/node_modules/handlebars/dist/amd/handlebars/compiler/ast.js +0 -31
- package/example/node_modules/handlebars/dist/amd/handlebars/compiler/base.js +0 -36
- package/example/node_modules/handlebars/dist/amd/handlebars/compiler/code-gen.js +0 -163
- package/example/node_modules/handlebars/dist/amd/handlebars/compiler/compiler.js +0 -569
- package/example/node_modules/handlebars/dist/amd/handlebars/compiler/helpers.js +0 -228
- package/example/node_modules/handlebars/dist/amd/handlebars/compiler/javascript-compiler.js +0 -1123
- package/example/node_modules/handlebars/dist/amd/handlebars/compiler/parser.js +0 -737
- package/example/node_modules/handlebars/dist/amd/handlebars/compiler/printer.js +0 -186
- package/example/node_modules/handlebars/dist/amd/handlebars/compiler/visitor.js +0 -138
- package/example/node_modules/handlebars/dist/amd/handlebars/compiler/whitespace-control.js +0 -219
- package/example/node_modules/handlebars/dist/amd/handlebars/decorators/inline.js +0 -25
- package/example/node_modules/handlebars/dist/amd/handlebars/decorators.js +0 -16
- package/example/node_modules/handlebars/dist/amd/handlebars/exception.js +0 -53
- package/example/node_modules/handlebars/dist/amd/handlebars/helpers/block-helper-missing.js +0 -35
- package/example/node_modules/handlebars/dist/amd/handlebars/helpers/each.js +0 -89
- package/example/node_modules/handlebars/dist/amd/handlebars/helpers/helper-missing.js +0 -22
- package/example/node_modules/handlebars/dist/amd/handlebars/helpers/if.js +0 -25
- package/example/node_modules/handlebars/dist/amd/handlebars/helpers/log.js +0 -24
- package/example/node_modules/handlebars/dist/amd/handlebars/helpers/lookup.js +0 -16
- package/example/node_modules/handlebars/dist/amd/handlebars/helpers/with.js +0 -29
- package/example/node_modules/handlebars/dist/amd/handlebars/helpers.js +0 -34
- package/example/node_modules/handlebars/dist/amd/handlebars/logger.js +0 -44
- package/example/node_modules/handlebars/dist/amd/handlebars/no-conflict.js +0 -18
- package/example/node_modules/handlebars/dist/amd/handlebars/runtime.js +0 -297
- package/example/node_modules/handlebars/dist/amd/handlebars/safe-string.js +0 -15
- package/example/node_modules/handlebars/dist/amd/handlebars/utils.js +0 -126
- package/example/node_modules/handlebars/dist/amd/handlebars.js +0 -51
- package/example/node_modules/handlebars/dist/amd/handlebars.runtime.js +0 -44
- package/example/node_modules/handlebars/dist/amd/precompiler.js +0 -313
- package/example/node_modules/handlebars/dist/cjs/handlebars/base.js +0 -104
- package/example/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js +0 -31
- package/example/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js +0 -48
- package/example/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js +0 -166
- package/example/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js +0 -573
- package/example/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js +0 -228
- package/example/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js +0 -1131
- package/example/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js +0 -737
- package/example/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js +0 -186
- package/example/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js +0 -140
- package/example/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js +0 -221
- package/example/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js +0 -29
- package/example/node_modules/handlebars/dist/cjs/handlebars/decorators.js +0 -16
- package/example/node_modules/handlebars/dist/cjs/handlebars/exception.js +0 -54
- package/example/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js +0 -39
- package/example/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js +0 -94
- package/example/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js +0 -25
- package/example/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js +0 -29
- package/example/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js +0 -26
- package/example/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js +0 -18
- package/example/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js +0 -33
- package/example/node_modules/handlebars/dist/cjs/handlebars/helpers.js +0 -46
- package/example/node_modules/handlebars/dist/cjs/handlebars/logger.js +0 -47
- package/example/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js +0 -20
- package/example/node_modules/handlebars/dist/cjs/handlebars/runtime.js +0 -307
- package/example/node_modules/handlebars/dist/cjs/handlebars/safe-string.js +0 -15
- package/example/node_modules/handlebars/dist/cjs/handlebars/utils.js +0 -124
- package/example/node_modules/handlebars/dist/cjs/handlebars.js +0 -65
- package/example/node_modules/handlebars/dist/cjs/handlebars.runtime.js +0 -66
- package/example/node_modules/handlebars/dist/cjs/precompiler.js +0 -327
- package/example/node_modules/handlebars/dist/handlebars.amd.js +0 -4357
- package/example/node_modules/handlebars/dist/handlebars.amd.min.js +0 -29
- package/example/node_modules/handlebars/dist/handlebars.js +0 -4845
- package/example/node_modules/handlebars/dist/handlebars.min.js +0 -29
- package/example/node_modules/handlebars/dist/handlebars.runtime.amd.js +0 -1052
- package/example/node_modules/handlebars/dist/handlebars.runtime.amd.min.js +0 -27
- package/example/node_modules/handlebars/dist/handlebars.runtime.js +0 -1474
- package/example/node_modules/handlebars/dist/handlebars.runtime.min.js +0 -27
- package/example/node_modules/handlebars/lib/handlebars/base.js +0 -78
- package/example/node_modules/handlebars/lib/handlebars/compiler/ast.js +0 -28
- package/example/node_modules/handlebars/lib/handlebars/compiler/base.js +0 -24
- package/example/node_modules/handlebars/lib/handlebars/compiler/code-gen.js +0 -168
- package/example/node_modules/handlebars/lib/handlebars/compiler/compiler.js +0 -559
- package/example/node_modules/handlebars/lib/handlebars/compiler/helpers.js +0 -210
- package/example/node_modules/handlebars/lib/handlebars/compiler/javascript-compiler.js +0 -1140
- package/example/node_modules/handlebars/lib/handlebars/compiler/parser.js +0 -622
- package/example/node_modules/handlebars/lib/handlebars/compiler/printer.js +0 -171
- package/example/node_modules/handlebars/lib/handlebars/compiler/visitor.js +0 -129
- package/example/node_modules/handlebars/lib/handlebars/compiler/whitespace-control.js +0 -216
- package/example/node_modules/handlebars/lib/handlebars/decorators/inline.js +0 -22
- package/example/node_modules/handlebars/lib/handlebars/decorators.js +0 -6
- package/example/node_modules/handlebars/lib/handlebars/exception.js +0 -49
- package/example/node_modules/handlebars/lib/handlebars/helpers/block-helper-missing.js +0 -32
- package/example/node_modules/handlebars/lib/handlebars/helpers/each.js +0 -79
- package/example/node_modules/handlebars/lib/handlebars/helpers/helper-missing.js +0 -13
- package/example/node_modules/handlebars/lib/handlebars/helpers/if.js +0 -20
- package/example/node_modules/handlebars/lib/handlebars/helpers/log.js +0 -19
- package/example/node_modules/handlebars/lib/handlebars/helpers/lookup.js +0 -11
- package/example/node_modules/handlebars/lib/handlebars/helpers/with.js +0 -24
- package/example/node_modules/handlebars/lib/handlebars/helpers.js +0 -17
- package/example/node_modules/handlebars/lib/handlebars/logger.js +0 -35
- package/example/node_modules/handlebars/lib/handlebars/no-conflict.js +0 -13
- package/example/node_modules/handlebars/lib/handlebars/runtime.js +0 -281
- package/example/node_modules/handlebars/lib/handlebars/safe-string.js +0 -10
- package/example/node_modules/handlebars/lib/handlebars/utils.js +0 -108
- package/example/node_modules/handlebars/lib/handlebars.js +0 -41
- package/example/node_modules/handlebars/lib/handlebars.runtime.js +0 -37
- package/example/node_modules/handlebars/lib/index.js +0 -25
- package/example/node_modules/handlebars/lib/precompiler.js +0 -298
- package/example/node_modules/handlebars/package.json +0 -126
- package/example/node_modules/handlebars/print-script +0 -95
- package/example/node_modules/handlebars/release-notes.md +0 -638
- package/example/node_modules/handlebars/runtime.js +0 -3
- package/example/node_modules/handlebars/types/index.d.ts +0 -357
- package/example/node_modules/har-schema/LICENSE +0 -13
- package/example/node_modules/har-schema/README.md +0 -49
- package/example/node_modules/har-schema/lib/afterRequest.json +0 -30
- package/example/node_modules/har-schema/lib/beforeRequest.json +0 -30
- package/example/node_modules/har-schema/lib/browser.json +0 -20
- package/example/node_modules/har-schema/lib/cache.json +0 -21
- package/example/node_modules/har-schema/lib/content.json +0 -29
- package/example/node_modules/har-schema/lib/cookie.json +0 -36
- package/example/node_modules/har-schema/lib/creator.json +0 -20
- package/example/node_modules/har-schema/lib/entry.json +0 -53
- package/example/node_modules/har-schema/lib/har.json +0 -13
- package/example/node_modules/har-schema/lib/header.json +0 -20
- package/example/node_modules/har-schema/lib/index.js +0 -22
- package/example/node_modules/har-schema/lib/log.json +0 -36
- package/example/node_modules/har-schema/lib/page.json +0 -32
- package/example/node_modules/har-schema/lib/pageTimings.json +0 -18
- package/example/node_modules/har-schema/lib/postData.json +0 -43
- package/example/node_modules/har-schema/lib/query.json +0 -20
- package/example/node_modules/har-schema/lib/request.json +0 -57
- package/example/node_modules/har-schema/lib/response.json +0 -54
- package/example/node_modules/har-schema/lib/timings.json +0 -42
- package/example/node_modules/har-schema/package.json +0 -90
- package/example/node_modules/har-validator/LICENSE +0 -9
- package/example/node_modules/har-validator/README.md +0 -37
- package/example/node_modules/har-validator/lib/async.js +0 -105
- package/example/node_modules/har-validator/lib/error.js +0 -17
- package/example/node_modules/har-validator/lib/promise.js +0 -102
- package/example/node_modules/har-validator/package.json +0 -80
- package/example/node_modules/hasha/index.js +0 -70
- package/example/node_modules/hasha/license +0 -21
- package/example/node_modules/hasha/package.json +0 -88
- package/example/node_modules/hasha/readme.md +0 -120
- package/example/node_modules/html-pdf/LICENSE +0 -21
- package/example/node_modules/html-pdf/README.md +0 -170
- package/example/node_modules/html-pdf/bin/index.js +0 -32
- package/example/node_modules/html-pdf/circle.yml +0 -3
- package/example/node_modules/html-pdf/examples/businesscard/businesscard.html +0 -97
- package/example/node_modules/html-pdf/examples/businesscard/businesscard.png +0 -0
- package/example/node_modules/html-pdf/examples/businesscard/image.png +0 -0
- package/example/node_modules/html-pdf/examples/serve-http/index.js +0 -19
- package/example/node_modules/html-pdf/lib/index.js +0 -26
- package/example/node_modules/html-pdf/lib/pdf.js +0 -148
- package/example/node_modules/html-pdf/lib/scripts/pdf_a4_portrait.js +0 -225
- package/example/node_modules/html-pdf/package.json +0 -76
- package/example/node_modules/http-signature/.dir-locals.el +0 -6
- package/example/node_modules/http-signature/CHANGES.md +0 -46
- package/example/node_modules/http-signature/LICENSE +0 -18
- package/example/node_modules/http-signature/README.md +0 -79
- package/example/node_modules/http-signature/http_signing.md +0 -363
- package/example/node_modules/http-signature/lib/index.js +0 -29
- package/example/node_modules/http-signature/lib/parser.js +0 -315
- package/example/node_modules/http-signature/lib/signer.js +0 -401
- package/example/node_modules/http-signature/lib/utils.js +0 -112
- package/example/node_modules/http-signature/lib/verify.js +0 -88
- package/example/node_modules/http-signature/package.json +0 -81
- package/example/node_modules/inherits/LICENSE +0 -16
- package/example/node_modules/inherits/README.md +0 -42
- package/example/node_modules/inherits/inherits.js +0 -9
- package/example/node_modules/inherits/inherits_browser.js +0 -27
- package/example/node_modules/inherits/package.json +0 -66
- package/example/node_modules/is-stream/index.js +0 -21
- package/example/node_modules/is-stream/license +0 -21
- package/example/node_modules/is-stream/package.json +0 -74
- package/example/node_modules/is-stream/readme.md +0 -42
- package/example/node_modules/is-typedarray/LICENSE.md +0 -18
- package/example/node_modules/is-typedarray/README.md +0 -16
- package/example/node_modules/is-typedarray/index.js +0 -41
- package/example/node_modules/is-typedarray/package.json +0 -63
- package/example/node_modules/is-typedarray/test.js +0 -34
- package/example/node_modules/isarray/.travis.yml +0 -4
- package/example/node_modules/isarray/Makefile +0 -6
- package/example/node_modules/isarray/README.md +0 -60
- package/example/node_modules/isarray/component.json +0 -19
- package/example/node_modules/isarray/index.js +0 -5
- package/example/node_modules/isarray/package.json +0 -77
- package/example/node_modules/isarray/test.js +0 -20
- package/example/node_modules/isexe/LICENSE +0 -15
- package/example/node_modules/isexe/README.md +0 -51
- package/example/node_modules/isexe/index.js +0 -57
- package/example/node_modules/isexe/mode.js +0 -41
- package/example/node_modules/isexe/package.json +0 -64
- package/example/node_modules/isexe/test/basic.js +0 -221
- package/example/node_modules/isexe/windows.js +0 -42
- package/example/node_modules/isstream/.jshintrc +0 -59
- package/example/node_modules/isstream/.travis.yml +0 -12
- package/example/node_modules/isstream/LICENSE.md +0 -11
- package/example/node_modules/isstream/README.md +0 -66
- package/example/node_modules/isstream/isstream.js +0 -27
- package/example/node_modules/isstream/package.json +0 -65
- package/example/node_modules/isstream/test.js +0 -168
- package/example/node_modules/jsbn/LICENSE +0 -40
- package/example/node_modules/jsbn/README.md +0 -175
- package/example/node_modules/jsbn/example.html +0 -12
- package/example/node_modules/jsbn/example.js +0 -3
- package/example/node_modules/jsbn/index.js +0 -1357
- package/example/node_modules/jsbn/package.json +0 -57
- package/example/node_modules/json-schema/README.md +0 -5
- package/example/node_modules/json-schema/draft-00/hyper-schema +0 -68
- package/example/node_modules/json-schema/draft-00/json-ref +0 -26
- package/example/node_modules/json-schema/draft-00/links +0 -33
- package/example/node_modules/json-schema/draft-00/schema +0 -155
- package/example/node_modules/json-schema/draft-01/hyper-schema +0 -68
- package/example/node_modules/json-schema/draft-01/json-ref +0 -26
- package/example/node_modules/json-schema/draft-01/links +0 -33
- package/example/node_modules/json-schema/draft-01/schema +0 -155
- package/example/node_modules/json-schema/draft-02/hyper-schema +0 -68
- package/example/node_modules/json-schema/draft-02/json-ref +0 -26
- package/example/node_modules/json-schema/draft-02/links +0 -35
- package/example/node_modules/json-schema/draft-02/schema +0 -166
- package/example/node_modules/json-schema/draft-03/examples/address +0 -20
- package/example/node_modules/json-schema/draft-03/examples/calendar +0 -53
- package/example/node_modules/json-schema/draft-03/examples/card +0 -105
- package/example/node_modules/json-schema/draft-03/examples/geo +0 -8
- package/example/node_modules/json-schema/draft-03/examples/interfaces +0 -23
- package/example/node_modules/json-schema/draft-03/hyper-schema +0 -60
- package/example/node_modules/json-schema/draft-03/json-ref +0 -26
- package/example/node_modules/json-schema/draft-03/links +0 -35
- package/example/node_modules/json-schema/draft-03/schema +0 -174
- package/example/node_modules/json-schema/draft-04/hyper-schema +0 -60
- package/example/node_modules/json-schema/draft-04/links +0 -41
- package/example/node_modules/json-schema/draft-04/schema +0 -189
- package/example/node_modules/json-schema/draft-zyp-json-schema-03.xml +0 -1120
- package/example/node_modules/json-schema/draft-zyp-json-schema-04.xml +0 -1072
- package/example/node_modules/json-schema/lib/links.js +0 -66
- package/example/node_modules/json-schema/lib/validate.js +0 -273
- package/example/node_modules/json-schema/package.json +0 -75
- package/example/node_modules/json-schema/test/tests.js +0 -95
- package/example/node_modules/json-schema-traverse/.eslintrc.yml +0 -27
- package/example/node_modules/json-schema-traverse/.travis.yml +0 -8
- package/example/node_modules/json-schema-traverse/LICENSE +0 -21
- package/example/node_modules/json-schema-traverse/README.md +0 -83
- package/example/node_modules/json-schema-traverse/index.js +0 -89
- package/example/node_modules/json-schema-traverse/package.json +0 -74
- package/example/node_modules/json-schema-traverse/spec/.eslintrc.yml +0 -6
- package/example/node_modules/json-schema-traverse/spec/fixtures/schema.js +0 -125
- package/example/node_modules/json-schema-traverse/spec/index.spec.js +0 -171
- package/example/node_modules/json-stringify-safe/CHANGELOG.md +0 -14
- package/example/node_modules/json-stringify-safe/LICENSE +0 -15
- package/example/node_modules/json-stringify-safe/Makefile +0 -35
- package/example/node_modules/json-stringify-safe/README.md +0 -52
- package/example/node_modules/json-stringify-safe/package.json +0 -70
- package/example/node_modules/json-stringify-safe/stringify.js +0 -27
- package/example/node_modules/json-stringify-safe/test/mocha.opts +0 -2
- package/example/node_modules/json-stringify-safe/test/stringify_test.js +0 -246
- package/example/node_modules/jsonfile/CHANGELOG.md +0 -126
- package/example/node_modules/jsonfile/LICENSE +0 -15
- package/example/node_modules/jsonfile/README.md +0 -162
- package/example/node_modules/jsonfile/appveyor.yml +0 -28
- package/example/node_modules/jsonfile/index.js +0 -133
- package/example/node_modules/jsonfile/package.json +0 -73
- package/example/node_modules/jsprim/CHANGES.md +0 -49
- package/example/node_modules/jsprim/CONTRIBUTING.md +0 -19
- package/example/node_modules/jsprim/LICENSE +0 -19
- package/example/node_modules/jsprim/README.md +0 -287
- package/example/node_modules/jsprim/lib/jsprim.js +0 -735
- package/example/node_modules/jsprim/package.json +0 -53
- package/example/node_modules/kew/.travis.yml +0 -5
- package/example/node_modules/kew/LICENSE.TXT +0 -194
- package/example/node_modules/kew/README.md +0 -320
- package/example/node_modules/kew/kew.js +0 -860
- package/example/node_modules/kew/package.json +0 -63
- package/example/node_modules/kew/test/chain.js +0 -434
- package/example/node_modules/kew/test/closure_test.js +0 -135
- package/example/node_modules/kew/test/context.js +0 -89
- package/example/node_modules/kew/test/defer.js +0 -120
- package/example/node_modules/kew/test/externs_node.js +0 -9
- package/example/node_modules/kew/test/later.js +0 -45
- package/example/node_modules/kew/test/scopes.js +0 -59
- package/example/node_modules/kew/test/spread.js +0 -59
- package/example/node_modules/kew/test/static.js +0 -393
- package/example/node_modules/klaw/CHANGELOG.md +0 -42
- package/example/node_modules/klaw/LICENSE +0 -15
- package/example/node_modules/klaw/README.md +0 -270
- package/example/node_modules/klaw/package.json +0 -74
- package/example/node_modules/klaw/src/assign.js +0 -16
- package/example/node_modules/klaw/src/index.js +0 -57
- package/example/node_modules/mime-db/HISTORY.md +0 -417
- package/example/node_modules/mime-db/LICENSE +0 -22
- package/example/node_modules/mime-db/README.md +0 -94
- package/example/node_modules/mime-db/db.json +0 -7834
- package/example/node_modules/mime-db/index.js +0 -11
- package/example/node_modules/mime-db/package.json +0 -105
- package/example/node_modules/mime-types/HISTORY.md +0 -308
- package/example/node_modules/mime-types/LICENSE +0 -23
- package/example/node_modules/mime-types/README.md +0 -113
- package/example/node_modules/mime-types/index.js +0 -188
- package/example/node_modules/mime-types/package.json +0 -91
- package/example/node_modules/minimist/.travis.yml +0 -4
- package/example/node_modules/minimist/LICENSE +0 -18
- package/example/node_modules/minimist/example/parse.js +0 -2
- package/example/node_modules/minimist/index.js +0 -187
- package/example/node_modules/minimist/package.json +0 -74
- package/example/node_modules/minimist/readme.markdown +0 -73
- package/example/node_modules/minimist/test/bool.js +0 -119
- package/example/node_modules/minimist/test/dash.js +0 -24
- package/example/node_modules/minimist/test/default_bool.js +0 -20
- package/example/node_modules/minimist/test/dotted.js +0 -22
- package/example/node_modules/minimist/test/long.js +0 -31
- package/example/node_modules/minimist/test/num.js +0 -36
- package/example/node_modules/minimist/test/parse.js +0 -197
- package/example/node_modules/minimist/test/parse_modified.js +0 -9
- package/example/node_modules/minimist/test/short.js +0 -67
- package/example/node_modules/minimist/test/whitespace.js +0 -8
- package/example/node_modules/mkdirp/.travis.yml +0 -8
- package/example/node_modules/mkdirp/LICENSE +0 -21
- package/example/node_modules/mkdirp/bin/cmd.js +0 -33
- package/example/node_modules/mkdirp/bin/usage.txt +0 -12
- package/example/node_modules/mkdirp/examples/pow.js +0 -6
- package/example/node_modules/mkdirp/index.js +0 -98
- package/example/node_modules/mkdirp/node_modules/minimist/.travis.yml +0 -4
- package/example/node_modules/mkdirp/node_modules/minimist/LICENSE +0 -18
- package/example/node_modules/mkdirp/node_modules/minimist/example/parse.js +0 -2
- package/example/node_modules/mkdirp/node_modules/minimist/index.js +0 -187
- package/example/node_modules/mkdirp/node_modules/minimist/package.json +0 -75
- package/example/node_modules/mkdirp/node_modules/minimist/readme.markdown +0 -73
- package/example/node_modules/mkdirp/node_modules/minimist/test/dash.js +0 -24
- package/example/node_modules/mkdirp/node_modules/minimist/test/default_bool.js +0 -20
- package/example/node_modules/mkdirp/node_modules/minimist/test/dotted.js +0 -16
- package/example/node_modules/mkdirp/node_modules/minimist/test/long.js +0 -31
- package/example/node_modules/mkdirp/node_modules/minimist/test/parse.js +0 -318
- package/example/node_modules/mkdirp/node_modules/minimist/test/parse_modified.js +0 -9
- package/example/node_modules/mkdirp/node_modules/minimist/test/short.js +0 -67
- package/example/node_modules/mkdirp/node_modules/minimist/test/whitespace.js +0 -8
- package/example/node_modules/mkdirp/package.json +0 -66
- package/example/node_modules/mkdirp/readme.markdown +0 -100
- package/example/node_modules/mkdirp/test/chmod.js +0 -41
- package/example/node_modules/mkdirp/test/clobber.js +0 -38
- package/example/node_modules/mkdirp/test/mkdirp.js +0 -28
- package/example/node_modules/mkdirp/test/opts_fs.js +0 -29
- package/example/node_modules/mkdirp/test/opts_fs_sync.js +0 -27
- package/example/node_modules/mkdirp/test/perm.js +0 -32
- package/example/node_modules/mkdirp/test/perm_sync.js +0 -36
- package/example/node_modules/mkdirp/test/race.js +0 -37
- package/example/node_modules/mkdirp/test/rel.js +0 -32
- package/example/node_modules/mkdirp/test/return.js +0 -25
- package/example/node_modules/mkdirp/test/return_sync.js +0 -24
- package/example/node_modules/mkdirp/test/root.js +0 -19
- package/example/node_modules/mkdirp/test/sync.js +0 -32
- package/example/node_modules/mkdirp/test/umask.js +0 -28
- package/example/node_modules/mkdirp/test/umask_sync.js +0 -32
- package/example/node_modules/ms/index.js +0 -152
- package/example/node_modules/ms/license.md +0 -21
- package/example/node_modules/ms/package.json +0 -73
- package/example/node_modules/ms/readme.md +0 -51
- package/example/node_modules/neo-async/LICENSE +0 -22
- package/example/node_modules/neo-async/README.md +0 -268
- package/example/node_modules/neo-async/all.js +0 -3
- package/example/node_modules/neo-async/allLimit.js +0 -3
- package/example/node_modules/neo-async/allSeries.js +0 -3
- package/example/node_modules/neo-async/angelFall.js +0 -3
- package/example/node_modules/neo-async/any.js +0 -3
- package/example/node_modules/neo-async/anyLimit.js +0 -3
- package/example/node_modules/neo-async/anySeries.js +0 -3
- package/example/node_modules/neo-async/apply.js +0 -3
- package/example/node_modules/neo-async/applyEach.js +0 -3
- package/example/node_modules/neo-async/applyEachSeries.js +0 -3
- package/example/node_modules/neo-async/async.js +0 -9182
- package/example/node_modules/neo-async/async.min.js +0 -80
- package/example/node_modules/neo-async/asyncify.js +0 -3
- package/example/node_modules/neo-async/auto.js +0 -3
- package/example/node_modules/neo-async/autoInject.js +0 -3
- package/example/node_modules/neo-async/cargo.js +0 -3
- package/example/node_modules/neo-async/compose.js +0 -3
- package/example/node_modules/neo-async/concat.js +0 -3
- package/example/node_modules/neo-async/concatLimit.js +0 -3
- package/example/node_modules/neo-async/concatSeries.js +0 -3
- package/example/node_modules/neo-async/constant.js +0 -3
- package/example/node_modules/neo-async/createLogger.js +0 -3
- package/example/node_modules/neo-async/detect.js +0 -3
- package/example/node_modules/neo-async/detectLimit.js +0 -3
- package/example/node_modules/neo-async/detectSeries.js +0 -3
- package/example/node_modules/neo-async/dir.js +0 -3
- package/example/node_modules/neo-async/doDuring.js +0 -3
- package/example/node_modules/neo-async/doUntil.js +0 -3
- package/example/node_modules/neo-async/doWhilst.js +0 -3
- package/example/node_modules/neo-async/during.js +0 -3
- package/example/node_modules/neo-async/each.js +0 -3
- package/example/node_modules/neo-async/eachLimit.js +0 -3
- package/example/node_modules/neo-async/eachOf.js +0 -3
- package/example/node_modules/neo-async/eachOfLimit.js +0 -3
- package/example/node_modules/neo-async/eachOfSeries.js +0 -3
- package/example/node_modules/neo-async/eachSeries.js +0 -3
- package/example/node_modules/neo-async/ensureAsync.js +0 -3
- package/example/node_modules/neo-async/every.js +0 -3
- package/example/node_modules/neo-async/everyLimit.js +0 -3
- package/example/node_modules/neo-async/everySeries.js +0 -3
- package/example/node_modules/neo-async/fast.js +0 -3
- package/example/node_modules/neo-async/filter.js +0 -3
- package/example/node_modules/neo-async/filterLimit.js +0 -3
- package/example/node_modules/neo-async/filterSeries.js +0 -3
- package/example/node_modules/neo-async/find.js +0 -3
- package/example/node_modules/neo-async/findLimit.js +0 -3
- package/example/node_modules/neo-async/findSeries.js +0 -3
- package/example/node_modules/neo-async/foldl.js +0 -3
- package/example/node_modules/neo-async/foldr.js +0 -3
- package/example/node_modules/neo-async/forEach.js +0 -3
- package/example/node_modules/neo-async/forEachLimit.js +0 -3
- package/example/node_modules/neo-async/forEachOf.js +0 -3
- package/example/node_modules/neo-async/forEachOfLimit.js +0 -3
- package/example/node_modules/neo-async/forEachOfSeries.js +0 -3
- package/example/node_modules/neo-async/forEachSeries.js +0 -3
- package/example/node_modules/neo-async/forever.js +0 -3
- package/example/node_modules/neo-async/groupBy.js +0 -3
- package/example/node_modules/neo-async/groupByLimit.js +0 -3
- package/example/node_modules/neo-async/groupBySeries.js +0 -3
- package/example/node_modules/neo-async/inject.js +0 -3
- package/example/node_modules/neo-async/iterator.js +0 -3
- package/example/node_modules/neo-async/log.js +0 -3
- package/example/node_modules/neo-async/map.js +0 -3
- package/example/node_modules/neo-async/mapLimit.js +0 -3
- package/example/node_modules/neo-async/mapSeries.js +0 -3
- package/example/node_modules/neo-async/mapValues.js +0 -3
- package/example/node_modules/neo-async/mapValuesLimit.js +0 -3
- package/example/node_modules/neo-async/mapValuesSeries.js +0 -3
- package/example/node_modules/neo-async/memoize.js +0 -3
- package/example/node_modules/neo-async/nextTick.js +0 -3
- package/example/node_modules/neo-async/omit.js +0 -3
- package/example/node_modules/neo-async/omitLimit.js +0 -3
- package/example/node_modules/neo-async/omitSeries.js +0 -3
- package/example/node_modules/neo-async/package.json +0 -89
- package/example/node_modules/neo-async/parallel.js +0 -3
- package/example/node_modules/neo-async/parallelLimit.js +0 -3
- package/example/node_modules/neo-async/pick.js +0 -3
- package/example/node_modules/neo-async/pickLimit.js +0 -3
- package/example/node_modules/neo-async/pickSeries.js +0 -3
- package/example/node_modules/neo-async/priorityQueue.js +0 -3
- package/example/node_modules/neo-async/queue.js +0 -3
- package/example/node_modules/neo-async/race.js +0 -3
- package/example/node_modules/neo-async/reduce.js +0 -3
- package/example/node_modules/neo-async/reduceRight.js +0 -3
- package/example/node_modules/neo-async/reflect.js +0 -3
- package/example/node_modules/neo-async/reflectAll.js +0 -3
- package/example/node_modules/neo-async/reject.js +0 -3
- package/example/node_modules/neo-async/rejectLimit.js +0 -3
- package/example/node_modules/neo-async/rejectSeries.js +0 -3
- package/example/node_modules/neo-async/retry.js +0 -3
- package/example/node_modules/neo-async/retryable.js +0 -3
- package/example/node_modules/neo-async/safe.js +0 -3
- package/example/node_modules/neo-async/select.js +0 -3
- package/example/node_modules/neo-async/selectLimit.js +0 -3
- package/example/node_modules/neo-async/selectSeries.js +0 -3
- package/example/node_modules/neo-async/seq.js +0 -3
- package/example/node_modules/neo-async/series.js +0 -3
- package/example/node_modules/neo-async/setImmediate.js +0 -3
- package/example/node_modules/neo-async/some.js +0 -3
- package/example/node_modules/neo-async/someLimit.js +0 -3
- package/example/node_modules/neo-async/someSeries.js +0 -3
- package/example/node_modules/neo-async/sortBy.js +0 -3
- package/example/node_modules/neo-async/sortByLimit.js +0 -3
- package/example/node_modules/neo-async/sortBySeries.js +0 -3
- package/example/node_modules/neo-async/timeout.js +0 -3
- package/example/node_modules/neo-async/times.js +0 -3
- package/example/node_modules/neo-async/timesLimit.js +0 -3
- package/example/node_modules/neo-async/timesSeries.js +0 -3
- package/example/node_modules/neo-async/transform.js +0 -3
- package/example/node_modules/neo-async/transformLimit.js +0 -3
- package/example/node_modules/neo-async/transformSeries.js +0 -3
- package/example/node_modules/neo-async/tryEach.js +0 -3
- package/example/node_modules/neo-async/unmemoize.js +0 -3
- package/example/node_modules/neo-async/until.js +0 -3
- package/example/node_modules/neo-async/waterfall.js +0 -3
- package/example/node_modules/neo-async/whilst.js +0 -3
- package/example/node_modules/neo-async/wrapSync.js +0 -3
- package/example/node_modules/oauth-sign/LICENSE +0 -55
- package/example/node_modules/oauth-sign/README.md +0 -11
- package/example/node_modules/oauth-sign/index.js +0 -146
- package/example/node_modules/oauth-sign/package.json +0 -60
- package/example/node_modules/optimist/.travis.yml +0 -4
- package/example/node_modules/optimist/LICENSE +0 -21
- package/example/node_modules/optimist/example/bool.js +0 -10
- package/example/node_modules/optimist/example/boolean_double.js +0 -7
- package/example/node_modules/optimist/example/boolean_single.js +0 -7
- package/example/node_modules/optimist/example/default_hash.js +0 -8
- package/example/node_modules/optimist/example/default_singles.js +0 -7
- package/example/node_modules/optimist/example/divide.js +0 -8
- package/example/node_modules/optimist/example/line_count.js +0 -20
- package/example/node_modules/optimist/example/line_count_options.js +0 -29
- package/example/node_modules/optimist/example/line_count_wrap.js +0 -29
- package/example/node_modules/optimist/example/nonopt.js +0 -4
- package/example/node_modules/optimist/example/reflect.js +0 -2
- package/example/node_modules/optimist/example/short.js +0 -3
- package/example/node_modules/optimist/example/string.js +0 -11
- package/example/node_modules/optimist/example/usage-options.js +0 -19
- package/example/node_modules/optimist/example/xup.js +0 -10
- package/example/node_modules/optimist/index.js +0 -343
- package/example/node_modules/optimist/package.json +0 -71
- package/example/node_modules/optimist/readme.markdown +0 -513
- package/example/node_modules/optimist/test/_/argv.js +0 -2
- package/example/node_modules/optimist/test/_/bin.js +0 -3
- package/example/node_modules/optimist/test/_.js +0 -71
- package/example/node_modules/optimist/test/dash.js +0 -31
- package/example/node_modules/optimist/test/parse.js +0 -446
- package/example/node_modules/optimist/test/parse_modified.js +0 -14
- package/example/node_modules/optimist/test/short.js +0 -16
- package/example/node_modules/optimist/test/usage.js +0 -292
- package/example/node_modules/optimist/test/whitespace.js +0 -8
- package/example/node_modules/pdf-creator-node/index.js +0 -34
- package/example/node_modules/pdf-creator-node/package.json +0 -58
- package/example/node_modules/pdf-creator-node/readme +0 -50
- package/example/node_modules/pend/LICENSE +0 -23
- package/example/node_modules/pend/README.md +0 -41
- package/example/node_modules/pend/index.js +0 -55
- package/example/node_modules/pend/package.json +0 -51
- package/example/node_modules/pend/test.js +0 -137
- package/example/node_modules/performance-now/.tm_properties +0 -7
- package/example/node_modules/performance-now/.travis.yml +0 -6
- package/example/node_modules/performance-now/README.md +0 -30
- package/example/node_modules/performance-now/lib/performance-now.js +0 -36
- package/example/node_modules/performance-now/lib/performance-now.js.map +0 -10
- package/example/node_modules/performance-now/license.txt +0 -7
- package/example/node_modules/performance-now/package.json +0 -69
- package/example/node_modules/performance-now/src/index.d.ts +0 -8
- package/example/node_modules/performance-now/src/performance-now.coffee +0 -17
- package/example/node_modules/performance-now/test/mocha.opts +0 -3
- package/example/node_modules/performance-now/test/performance-now.coffee +0 -43
- package/example/node_modules/performance-now/test/scripts/delayed-call.coffee +0 -11
- package/example/node_modules/performance-now/test/scripts/delayed-require.coffee +0 -12
- package/example/node_modules/performance-now/test/scripts/difference.coffee +0 -6
- package/example/node_modules/performance-now/test/scripts/initial-value.coffee +0 -10
- package/example/node_modules/performance-now/test/scripts.coffee +0 -27
- package/example/node_modules/phantomjs-prebuilt/.eslintignore +0 -2
- package/example/node_modules/phantomjs-prebuilt/.eslintrc +0 -22
- package/example/node_modules/phantomjs-prebuilt/.jshintrc +0 -4
- package/example/node_modules/phantomjs-prebuilt/.travis.yml +0 -7
- package/example/node_modules/phantomjs-prebuilt/LICENSE.txt +0 -194
- package/example/node_modules/phantomjs-prebuilt/README.md +0 -308
- package/example/node_modules/phantomjs-prebuilt/bin/phantomjs +0 -42
- package/example/node_modules/phantomjs-prebuilt/install.js +0 -438
- package/example/node_modules/phantomjs-prebuilt/lib/phantomjs.js +0 -124
- package/example/node_modules/phantomjs-prebuilt/lib/util.js +0 -161
- package/example/node_modules/phantomjs-prebuilt/package.json +0 -89
- package/example/node_modules/phantomjs-prebuilt/test/exit.js +0 -1
- package/example/node_modules/phantomjs-prebuilt/test/loadspeed.js +0 -25
- package/example/node_modules/phantomjs-prebuilt/test/tests.js +0 -136
- package/example/node_modules/pinkie/index.js +0 -292
- package/example/node_modules/pinkie/license +0 -21
- package/example/node_modules/pinkie/package.json +0 -72
- package/example/node_modules/pinkie/readme.md +0 -83
- package/example/node_modules/pinkie-promise/index.js +0 -3
- package/example/node_modules/pinkie-promise/license +0 -21
- package/example/node_modules/pinkie-promise/package.json +0 -71
- package/example/node_modules/pinkie-promise/readme.md +0 -28
- package/example/node_modules/process-nextick-args/index.js +0 -45
- package/example/node_modules/process-nextick-args/license.md +0 -19
- package/example/node_modules/process-nextick-args/package.json +0 -54
- package/example/node_modules/process-nextick-args/readme.md +0 -18
- package/example/node_modules/progress/History.md +0 -77
- package/example/node_modules/progress/LICENSE +0 -22
- package/example/node_modules/progress/Makefile +0 -8
- package/example/node_modules/progress/Readme.md +0 -103
- package/example/node_modules/progress/index.js +0 -1
- package/example/node_modules/progress/lib/node-progress.js +0 -180
- package/example/node_modules/progress/package.json +0 -65
- package/example/node_modules/psl/.eslintignore +0 -1
- package/example/node_modules/psl/.eslintrc +0 -11
- package/example/node_modules/psl/.travis.yml +0 -5
- package/example/node_modules/psl/LICENSE +0 -9
- package/example/node_modules/psl/README.md +0 -213
- package/example/node_modules/psl/data/rules.json +0 -1
- package/example/node_modules/psl/dist/psl.js +0 -812
- package/example/node_modules/psl/dist/psl.min.js +0 -1
- package/example/node_modules/psl/index.js +0 -269
- package/example/node_modules/psl/karma.conf.js +0 -38
- package/example/node_modules/psl/package.json +0 -77
- package/example/node_modules/punycode/LICENSE-MIT.txt +0 -20
- package/example/node_modules/punycode/README.md +0 -122
- package/example/node_modules/punycode/package.json +0 -89
- package/example/node_modules/punycode/punycode.es6.js +0 -441
- package/example/node_modules/punycode/punycode.js +0 -440
- package/example/node_modules/qs/.editorconfig +0 -30
- package/example/node_modules/qs/.eslintignore +0 -1
- package/example/node_modules/qs/.eslintrc +0 -19
- package/example/node_modules/qs/CHANGELOG.md +0 -226
- package/example/node_modules/qs/LICENSE +0 -28
- package/example/node_modules/qs/README.md +0 -475
- package/example/node_modules/qs/dist/qs.js +0 -638
- package/example/node_modules/qs/lib/formats.js +0 -18
- package/example/node_modules/qs/lib/index.js +0 -11
- package/example/node_modules/qs/lib/parse.js +0 -174
- package/example/node_modules/qs/lib/stringify.js +0 -210
- package/example/node_modules/qs/lib/utils.js +0 -213
- package/example/node_modules/qs/package.json +0 -84
- package/example/node_modules/qs/test/.eslintrc +0 -15
- package/example/node_modules/qs/test/index.js +0 -7
- package/example/node_modules/qs/test/parse.js +0 -574
- package/example/node_modules/qs/test/stringify.js +0 -597
- package/example/node_modules/qs/test/utils.js +0 -34
- package/example/node_modules/readable-stream/.travis.yml +0 -55
- package/example/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- package/example/node_modules/readable-stream/GOVERNANCE.md +0 -136
- package/example/node_modules/readable-stream/LICENSE +0 -47
- package/example/node_modules/readable-stream/README.md +0 -58
- package/example/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
- package/example/node_modules/readable-stream/duplex-browser.js +0 -1
- package/example/node_modules/readable-stream/duplex.js +0 -1
- package/example/node_modules/readable-stream/lib/_stream_duplex.js +0 -131
- package/example/node_modules/readable-stream/lib/_stream_passthrough.js +0 -47
- package/example/node_modules/readable-stream/lib/_stream_readable.js +0 -1019
- package/example/node_modules/readable-stream/lib/_stream_transform.js +0 -214
- package/example/node_modules/readable-stream/lib/_stream_writable.js +0 -687
- package/example/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -79
- package/example/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -74
- package/example/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- package/example/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- package/example/node_modules/readable-stream/package.json +0 -85
- package/example/node_modules/readable-stream/passthrough.js +0 -1
- package/example/node_modules/readable-stream/readable-browser.js +0 -7
- package/example/node_modules/readable-stream/readable.js +0 -19
- package/example/node_modules/readable-stream/transform.js +0 -1
- package/example/node_modules/readable-stream/writable-browser.js +0 -1
- package/example/node_modules/readable-stream/writable.js +0 -8
- package/example/node_modules/request/CHANGELOG.md +0 -709
- package/example/node_modules/request/LICENSE +0 -55
- package/example/node_modules/request/README.md +0 -1097
- package/example/node_modules/request/index.js +0 -155
- package/example/node_modules/request/lib/auth.js +0 -167
- package/example/node_modules/request/lib/cookies.js +0 -38
- package/example/node_modules/request/lib/getProxyFromURI.js +0 -79
- package/example/node_modules/request/lib/har.js +0 -205
- package/example/node_modules/request/lib/hawk.js +0 -89
- package/example/node_modules/request/lib/helpers.js +0 -66
- package/example/node_modules/request/lib/multipart.js +0 -112
- package/example/node_modules/request/lib/oauth.js +0 -148
- package/example/node_modules/request/lib/querystring.js +0 -50
- package/example/node_modules/request/lib/redirect.js +0 -154
- package/example/node_modules/request/lib/tunnel.js +0 -175
- package/example/node_modules/request/package.json +0 -119
- package/example/node_modules/request/request.js +0 -1551
- package/example/node_modules/request-progress/.editorconfig +0 -15
- package/example/node_modules/request-progress/.jshintrc +0 -63
- package/example/node_modules/request-progress/.travis.yml +0 -6
- package/example/node_modules/request-progress/LICENSE +0 -19
- package/example/node_modules/request-progress/README.md +0 -75
- package/example/node_modules/request-progress/foo.js +0 -16
- package/example/node_modules/request-progress/index.js +0 -125
- package/example/node_modules/request-progress/package.json +0 -75
- package/example/node_modules/request-progress/test/test.js +0 -354
- package/example/node_modules/safe-buffer/LICENSE +0 -21
- package/example/node_modules/safe-buffer/README.md +0 -584
- package/example/node_modules/safe-buffer/index.d.ts +0 -187
- package/example/node_modules/safe-buffer/index.js +0 -62
- package/example/node_modules/safe-buffer/package.json +0 -69
- package/example/node_modules/safer-buffer/LICENSE +0 -21
- package/example/node_modules/safer-buffer/Porting-Buffer.md +0 -268
- package/example/node_modules/safer-buffer/Readme.md +0 -156
- package/example/node_modules/safer-buffer/dangerous.js +0 -58
- package/example/node_modules/safer-buffer/package.json +0 -66
- package/example/node_modules/safer-buffer/safer.js +0 -77
- package/example/node_modules/safer-buffer/tests.js +0 -406
- package/example/node_modules/source-map/CHANGELOG.md +0 -301
- package/example/node_modules/source-map/LICENSE +0 -28
- package/example/node_modules/source-map/README.md +0 -742
- package/example/node_modules/source-map/dist/source-map.debug.js +0 -3234
- package/example/node_modules/source-map/dist/source-map.js +0 -3233
- package/example/node_modules/source-map/dist/source-map.min.js +0 -2
- package/example/node_modules/source-map/dist/source-map.min.js.map +0 -1
- package/example/node_modules/source-map/lib/array-set.js +0 -121
- package/example/node_modules/source-map/lib/base64-vlq.js +0 -140
- package/example/node_modules/source-map/lib/base64.js +0 -67
- package/example/node_modules/source-map/lib/binary-search.js +0 -111
- package/example/node_modules/source-map/lib/mapping-list.js +0 -79
- package/example/node_modules/source-map/lib/quick-sort.js +0 -114
- package/example/node_modules/source-map/lib/source-map-consumer.js +0 -1145
- package/example/node_modules/source-map/lib/source-map-generator.js +0 -425
- package/example/node_modules/source-map/lib/source-node.js +0 -413
- package/example/node_modules/source-map/lib/util.js +0 -488
- package/example/node_modules/source-map/package.json +0 -216
- package/example/node_modules/source-map/source-map.d.ts +0 -98
- package/example/node_modules/source-map/source-map.js +0 -8
- package/example/node_modules/sshpk/.travis.yml +0 -11
- package/example/node_modules/sshpk/LICENSE +0 -18
- package/example/node_modules/sshpk/README.md +0 -804
- package/example/node_modules/sshpk/bin/sshpk-conv +0 -243
- package/example/node_modules/sshpk/bin/sshpk-sign +0 -191
- package/example/node_modules/sshpk/bin/sshpk-verify +0 -167
- package/example/node_modules/sshpk/lib/algs.js +0 -168
- package/example/node_modules/sshpk/lib/certificate.js +0 -410
- package/example/node_modules/sshpk/lib/dhe.js +0 -397
- package/example/node_modules/sshpk/lib/ed-compat.js +0 -92
- package/example/node_modules/sshpk/lib/errors.js +0 -84
- package/example/node_modules/sshpk/lib/fingerprint.js +0 -220
- package/example/node_modules/sshpk/lib/formats/auto.js +0 -124
- package/example/node_modules/sshpk/lib/formats/dnssec.js +0 -287
- package/example/node_modules/sshpk/lib/formats/openssh-cert.js +0 -352
- package/example/node_modules/sshpk/lib/formats/pem.js +0 -290
- package/example/node_modules/sshpk/lib/formats/pkcs1.js +0 -373
- package/example/node_modules/sshpk/lib/formats/pkcs8.js +0 -631
- package/example/node_modules/sshpk/lib/formats/putty.js +0 -99
- package/example/node_modules/sshpk/lib/formats/rfc4253.js +0 -166
- package/example/node_modules/sshpk/lib/formats/ssh-private.js +0 -262
- package/example/node_modules/sshpk/lib/formats/ssh.js +0 -115
- package/example/node_modules/sshpk/lib/formats/x509-pem.js +0 -88
- package/example/node_modules/sshpk/lib/formats/x509.js +0 -752
- package/example/node_modules/sshpk/lib/identity.js +0 -373
- package/example/node_modules/sshpk/lib/index.js +0 -40
- package/example/node_modules/sshpk/lib/key.js +0 -294
- package/example/node_modules/sshpk/lib/private-key.js +0 -246
- package/example/node_modules/sshpk/lib/signature.js +0 -314
- package/example/node_modules/sshpk/lib/ssh-buffer.js +0 -149
- package/example/node_modules/sshpk/lib/utils.js +0 -404
- package/example/node_modules/sshpk/man/man1/sshpk-conv.1 +0 -135
- package/example/node_modules/sshpk/man/man1/sshpk-sign.1 +0 -81
- package/example/node_modules/sshpk/man/man1/sshpk-verify.1 +0 -68
- package/example/node_modules/sshpk/package.json +0 -100
- package/example/node_modules/string_decoder/.travis.yml +0 -50
- package/example/node_modules/string_decoder/LICENSE +0 -48
- package/example/node_modules/string_decoder/README.md +0 -47
- package/example/node_modules/string_decoder/lib/string_decoder.js +0 -296
- package/example/node_modules/string_decoder/package.json +0 -63
- package/example/node_modules/throttleit/History.md +0 -19
- package/example/node_modules/throttleit/Makefile +0 -18
- package/example/node_modules/throttleit/Readme.md +0 -32
- package/example/node_modules/throttleit/component.json +0 -13
- package/example/node_modules/throttleit/example.js +0 -14
- package/example/node_modules/throttleit/index.js +0 -32
- package/example/node_modules/throttleit/package.json +0 -55
- package/example/node_modules/throttleit/test.js +0 -73
- package/example/node_modules/tough-cookie/LICENSE +0 -12
- package/example/node_modules/tough-cookie/README.md +0 -507
- package/example/node_modules/tough-cookie/lib/cookie.js +0 -1431
- package/example/node_modules/tough-cookie/lib/memstore.js +0 -176
- package/example/node_modules/tough-cookie/lib/pathMatch.js +0 -61
- package/example/node_modules/tough-cookie/lib/permuteDomain.js +0 -56
- package/example/node_modules/tough-cookie/lib/pubsuffix-psl.js +0 -38
- package/example/node_modules/tough-cookie/lib/store.js +0 -71
- package/example/node_modules/tough-cookie/package.json +0 -98
- package/example/node_modules/tunnel-agent/LICENSE +0 -55
- package/example/node_modules/tunnel-agent/README.md +0 -4
- package/example/node_modules/tunnel-agent/index.js +0 -244
- package/example/node_modules/tunnel-agent/package.json +0 -59
- package/example/node_modules/tweetnacl/AUTHORS.md +0 -28
- package/example/node_modules/tweetnacl/CHANGELOG.md +0 -221
- package/example/node_modules/tweetnacl/LICENSE +0 -24
- package/example/node_modules/tweetnacl/PULL_REQUEST_TEMPLATE.md +0 -20
- package/example/node_modules/tweetnacl/README.md +0 -459
- package/example/node_modules/tweetnacl/nacl-fast.js +0 -2388
- package/example/node_modules/tweetnacl/nacl-fast.min.js +0 -2
- package/example/node_modules/tweetnacl/nacl.d.ts +0 -98
- package/example/node_modules/tweetnacl/nacl.js +0 -1175
- package/example/node_modules/tweetnacl/nacl.min.js +0 -1
- package/example/node_modules/tweetnacl/package.json +0 -90
- package/example/node_modules/typedarray/.travis.yml +0 -4
- package/example/node_modules/typedarray/LICENSE +0 -35
- package/example/node_modules/typedarray/example/tarray.js +0 -4
- package/example/node_modules/typedarray/index.js +0 -630
- package/example/node_modules/typedarray/package.json +0 -87
- package/example/node_modules/typedarray/readme.markdown +0 -61
- package/example/node_modules/typedarray/test/server/undef_globals.js +0 -19
- package/example/node_modules/typedarray/test/tarray.js +0 -10
- package/example/node_modules/uglify-js/LICENSE +0 -29
- package/example/node_modules/uglify-js/README.md +0 -1138
- package/example/node_modules/uglify-js/bin/uglifyjs +0 -419
- package/example/node_modules/uglify-js/lib/ast.js +0 -988
- package/example/node_modules/uglify-js/lib/compress.js +0 -6927
- package/example/node_modules/uglify-js/lib/minify.js +0 -245
- package/example/node_modules/uglify-js/lib/mozilla-ast.js +0 -629
- package/example/node_modules/uglify-js/lib/output.js +0 -1510
- package/example/node_modules/uglify-js/lib/parse.js +0 -1645
- package/example/node_modules/uglify-js/lib/propmangle.js +0 -234
- package/example/node_modules/uglify-js/lib/scope.js +0 -594
- package/example/node_modules/uglify-js/lib/sourcemap.js +0 -104
- package/example/node_modules/uglify-js/lib/transform.js +0 -185
- package/example/node_modules/uglify-js/lib/utils.js +0 -277
- package/example/node_modules/uglify-js/package.json +0 -107
- package/example/node_modules/uglify-js/tools/domprops.json +0 -6841
- package/example/node_modules/uglify-js/tools/exit.js +0 -15
- package/example/node_modules/uglify-js/tools/exports.js +0 -6
- package/example/node_modules/uglify-js/tools/node.js +0 -78
- package/example/node_modules/uglify-js/tools/props.html +0 -540
- package/example/node_modules/uri-js/README.md +0 -199
- package/example/node_modules/uri-js/bower.json +0 -47
- package/example/node_modules/uri-js/dist/es5/uri.all.d.ts +0 -59
- package/example/node_modules/uri-js/dist/es5/uri.all.js +0 -1389
- package/example/node_modules/uri-js/dist/es5/uri.all.js.map +0 -1
- package/example/node_modules/uri-js/dist/es5/uri.all.min.d.ts +0 -59
- package/example/node_modules/uri-js/dist/es5/uri.all.min.js +0 -3
- package/example/node_modules/uri-js/dist/es5/uri.all.min.js.map +0 -1
- package/example/node_modules/uri-js/dist/esnext/index.d.ts +0 -1
- package/example/node_modules/uri-js/dist/esnext/index.js +0 -13
- package/example/node_modules/uri-js/dist/esnext/index.js.map +0 -1
- package/example/node_modules/uri-js/dist/esnext/regexps-iri.d.ts +0 -3
- package/example/node_modules/uri-js/dist/esnext/regexps-iri.js +0 -3
- package/example/node_modules/uri-js/dist/esnext/regexps-iri.js.map +0 -1
- package/example/node_modules/uri-js/dist/esnext/regexps-uri.d.ts +0 -4
- package/example/node_modules/uri-js/dist/esnext/regexps-uri.js +0 -42
- package/example/node_modules/uri-js/dist/esnext/regexps-uri.js.map +0 -1
- package/example/node_modules/uri-js/dist/esnext/schemes/http.d.ts +0 -3
- package/example/node_modules/uri-js/dist/esnext/schemes/http.js +0 -27
- package/example/node_modules/uri-js/dist/esnext/schemes/http.js.map +0 -1
- package/example/node_modules/uri-js/dist/esnext/schemes/https.d.ts +0 -3
- package/example/node_modules/uri-js/dist/esnext/schemes/https.js +0 -9
- package/example/node_modules/uri-js/dist/esnext/schemes/https.js.map +0 -1
- package/example/node_modules/uri-js/dist/esnext/schemes/mailto.d.ts +0 -12
- package/example/node_modules/uri-js/dist/esnext/schemes/mailto.js +0 -148
- package/example/node_modules/uri-js/dist/esnext/schemes/mailto.js.map +0 -1
- package/example/node_modules/uri-js/dist/esnext/schemes/urn-uuid.d.ts +0 -7
- package/example/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js +0 -23
- package/example/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js.map +0 -1
- package/example/node_modules/uri-js/dist/esnext/schemes/urn.d.ts +0 -10
- package/example/node_modules/uri-js/dist/esnext/schemes/urn.js +0 -49
- package/example/node_modules/uri-js/dist/esnext/schemes/urn.js.map +0 -1
- package/example/node_modules/uri-js/dist/esnext/uri.d.ts +0 -59
- package/example/node_modules/uri-js/dist/esnext/uri.js +0 -480
- package/example/node_modules/uri-js/dist/esnext/uri.js.map +0 -1
- package/example/node_modules/uri-js/dist/esnext/util.d.ts +0 -6
- package/example/node_modules/uri-js/dist/esnext/util.js +0 -36
- package/example/node_modules/uri-js/dist/esnext/util.js.map +0 -1
- package/example/node_modules/uri-js/package.json +0 -97
- package/example/node_modules/uri-js/rollup.config.js +0 -32
- package/example/node_modules/uri-js/src/index.ts +0 -18
- package/example/node_modules/uri-js/src/punycode.d.ts +0 -24
- package/example/node_modules/uri-js/src/regexps-iri.ts +0 -4
- package/example/node_modules/uri-js/src/regexps-uri.ts +0 -89
- package/example/node_modules/uri-js/src/schemes/http.ts +0 -36
- package/example/node_modules/uri-js/src/schemes/https.ts +0 -11
- package/example/node_modules/uri-js/src/schemes/mailto.ts +0 -182
- package/example/node_modules/uri-js/src/schemes/urn-uuid.ts +0 -36
- package/example/node_modules/uri-js/src/schemes/urn.ts +0 -69
- package/example/node_modules/uri-js/src/uri.ts +0 -556
- package/example/node_modules/uri-js/src/util.ts +0 -40
- package/example/node_modules/uri-js/tests/qunit.css +0 -118
- package/example/node_modules/uri-js/tests/qunit.js +0 -1042
- package/example/node_modules/uri-js/tests/test-es5-min.html +0 -17
- package/example/node_modules/uri-js/tests/test-es5.html +0 -17
- package/example/node_modules/uri-js/tests/tests.js +0 -774
- package/example/node_modules/uri-js/tsconfig.json +0 -20
- package/example/node_modules/uri-js/yarn.lock +0 -1902
- package/example/node_modules/util-deprecate/History.md +0 -16
- package/example/node_modules/util-deprecate/LICENSE +0 -24
- package/example/node_modules/util-deprecate/README.md +0 -53
- package/example/node_modules/util-deprecate/browser.js +0 -67
- package/example/node_modules/util-deprecate/node.js +0 -6
- package/example/node_modules/util-deprecate/package.json +0 -60
- package/example/node_modules/uuid/.eslintrc.json +0 -47
- package/example/node_modules/uuid/AUTHORS +0 -5
- package/example/node_modules/uuid/CHANGELOG.md +0 -110
- package/example/node_modules/uuid/LICENSE.md +0 -21
- package/example/node_modules/uuid/README.md +0 -293
- package/example/node_modules/uuid/README_js.md +0 -280
- package/example/node_modules/uuid/bin/uuid +0 -65
- package/example/node_modules/uuid/index.js +0 -8
- package/example/node_modules/uuid/lib/bytesToUuid.js +0 -24
- package/example/node_modules/uuid/lib/md5-browser.js +0 -216
- package/example/node_modules/uuid/lib/md5.js +0 -25
- package/example/node_modules/uuid/lib/rng-browser.js +0 -34
- package/example/node_modules/uuid/lib/rng.js +0 -8
- package/example/node_modules/uuid/lib/sha1-browser.js +0 -89
- package/example/node_modules/uuid/lib/sha1.js +0 -25
- package/example/node_modules/uuid/lib/v35.js +0 -57
- package/example/node_modules/uuid/package.json +0 -99
- package/example/node_modules/uuid/v1.js +0 -109
- package/example/node_modules/uuid/v3.js +0 -4
- package/example/node_modules/uuid/v4.js +0 -29
- package/example/node_modules/uuid/v5.js +0 -3
- package/example/node_modules/verror/CHANGES.md +0 -28
- package/example/node_modules/verror/CONTRIBUTING.md +0 -19
- package/example/node_modules/verror/LICENSE +0 -19
- package/example/node_modules/verror/README.md +0 -528
- package/example/node_modules/verror/lib/verror.js +0 -451
- package/example/node_modules/verror/package.json +0 -55
- package/example/node_modules/which/CHANGELOG.md +0 -152
- package/example/node_modules/which/LICENSE +0 -15
- package/example/node_modules/which/README.md +0 -51
- package/example/node_modules/which/bin/which +0 -52
- package/example/node_modules/which/package.json +0 -69
- package/example/node_modules/which/which.js +0 -135
- package/example/node_modules/wordwrap/LICENSE +0 -18
- package/example/node_modules/wordwrap/README.markdown +0 -70
- package/example/node_modules/wordwrap/example/center.js +0 -10
- package/example/node_modules/wordwrap/example/meat.js +0 -3
- package/example/node_modules/wordwrap/index.js +0 -76
- package/example/node_modules/wordwrap/package.json +0 -69
- package/example/node_modules/wordwrap/test/break.js +0 -30
- package/example/node_modules/wordwrap/test/idleness.txt +0 -63
- package/example/node_modules/wordwrap/test/wrap.js +0 -31
- package/example/node_modules/yauzl/.travis.yml +0 -8
- package/example/node_modules/yauzl/LICENSE +0 -21
- package/example/node_modules/yauzl/README.md +0 -467
- package/example/node_modules/yauzl/index.js +0 -626
- package/example/node_modules/yauzl/package.json +0 -68
- package/example/output.pdf +0 -0
- package/example/package-lock.json +0 -738
- package/example/package.json +0 -14
- package/example/template.html +0 -19
|
@@ -1,1042 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* QUnit - A JavaScript Unit Testing Framework
|
|
3
|
-
*
|
|
4
|
-
* http://docs.jquery.com/QUnit
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) 2009 John Resig, Jörn Zaefferer
|
|
7
|
-
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
|
8
|
-
* and GPL (GPL-LICENSE.txt) licenses.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
(function(window) {
|
|
12
|
-
|
|
13
|
-
var QUnit = {
|
|
14
|
-
|
|
15
|
-
// Initialize the configuration options
|
|
16
|
-
init: function() {
|
|
17
|
-
config = {
|
|
18
|
-
stats: { all: 0, bad: 0 },
|
|
19
|
-
moduleStats: { all: 0, bad: 0 },
|
|
20
|
-
started: +new Date,
|
|
21
|
-
blocking: false,
|
|
22
|
-
autorun: false,
|
|
23
|
-
assertions: [],
|
|
24
|
-
filters: [],
|
|
25
|
-
queue: []
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
var tests = id("qunit-tests"),
|
|
29
|
-
banner = id("qunit-banner"),
|
|
30
|
-
result = id("qunit-testresult");
|
|
31
|
-
|
|
32
|
-
if ( tests ) {
|
|
33
|
-
tests.innerHTML = "";
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
if ( banner ) {
|
|
37
|
-
banner.className = "";
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
if ( result ) {
|
|
41
|
-
result.parentNode.removeChild( result );
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
|
|
45
|
-
// call on start of module test to prepend name to all tests
|
|
46
|
-
module: function(name, testEnvironment) {
|
|
47
|
-
config.currentModule = name;
|
|
48
|
-
|
|
49
|
-
synchronize(function() {
|
|
50
|
-
if ( config.currentModule ) {
|
|
51
|
-
QUnit.moduleDone( config.currentModule, config.moduleStats.bad, config.moduleStats.all );
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
config.currentModule = name;
|
|
55
|
-
config.moduleTestEnvironment = testEnvironment;
|
|
56
|
-
config.moduleStats = { all: 0, bad: 0 };
|
|
57
|
-
|
|
58
|
-
QUnit.moduleStart( name, testEnvironment );
|
|
59
|
-
});
|
|
60
|
-
},
|
|
61
|
-
|
|
62
|
-
asyncTest: function(testName, expected, callback) {
|
|
63
|
-
if ( arguments.length === 2 ) {
|
|
64
|
-
callback = expected;
|
|
65
|
-
expected = 0;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
QUnit.test(testName, expected, callback, true);
|
|
69
|
-
},
|
|
70
|
-
|
|
71
|
-
test: function(testName, expected, callback, async) {
|
|
72
|
-
var name = testName, testEnvironment, testEnvironmentArg;
|
|
73
|
-
|
|
74
|
-
if ( arguments.length === 2 ) {
|
|
75
|
-
callback = expected;
|
|
76
|
-
expected = null;
|
|
77
|
-
}
|
|
78
|
-
// is 2nd argument a testEnvironment?
|
|
79
|
-
if ( expected && typeof expected === 'object') {
|
|
80
|
-
testEnvironmentArg = expected;
|
|
81
|
-
expected = null;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
if ( config.currentModule ) {
|
|
85
|
-
name = config.currentModule + " module: " + name;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
if ( !validTest(name) ) {
|
|
89
|
-
return;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
synchronize(function() {
|
|
93
|
-
QUnit.testStart( testName );
|
|
94
|
-
|
|
95
|
-
testEnvironment = extend({
|
|
96
|
-
setup: function() {},
|
|
97
|
-
teardown: function() {}
|
|
98
|
-
}, config.moduleTestEnvironment);
|
|
99
|
-
if (testEnvironmentArg) {
|
|
100
|
-
extend(testEnvironment,testEnvironmentArg);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// allow utility functions to access the current test environment
|
|
104
|
-
QUnit.current_testEnvironment = testEnvironment;
|
|
105
|
-
|
|
106
|
-
config.assertions = [];
|
|
107
|
-
config.expected = expected;
|
|
108
|
-
|
|
109
|
-
try {
|
|
110
|
-
if ( !config.pollution ) {
|
|
111
|
-
saveGlobal();
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
testEnvironment.setup.call(testEnvironment);
|
|
115
|
-
} catch(e) {
|
|
116
|
-
QUnit.ok( false, "Setup failed on " + name + ": " + e.message );
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
if ( async ) {
|
|
120
|
-
QUnit.stop();
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
try {
|
|
124
|
-
callback.call(testEnvironment);
|
|
125
|
-
} catch(e) {
|
|
126
|
-
fail("Test " + name + " died, exception and test follows", e, callback);
|
|
127
|
-
QUnit.ok( false, "Died on test #" + (config.assertions.length + 1) + ": " + e.message );
|
|
128
|
-
// else next test will carry the responsibility
|
|
129
|
-
saveGlobal();
|
|
130
|
-
|
|
131
|
-
// Restart the tests if they're blocking
|
|
132
|
-
if ( config.blocking ) {
|
|
133
|
-
start();
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
});
|
|
137
|
-
|
|
138
|
-
synchronize(function() {
|
|
139
|
-
try {
|
|
140
|
-
checkPollution();
|
|
141
|
-
testEnvironment.teardown.call(testEnvironment);
|
|
142
|
-
} catch(e) {
|
|
143
|
-
QUnit.ok( false, "Teardown failed on " + name + ": " + e.message );
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
try {
|
|
147
|
-
QUnit.reset();
|
|
148
|
-
} catch(e) {
|
|
149
|
-
fail("reset() failed, following Test " + name + ", exception and reset fn follows", e, reset);
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
if ( config.expected && config.expected != config.assertions.length ) {
|
|
153
|
-
QUnit.ok( false, "Expected " + config.expected + " assertions, but " + config.assertions.length + " were run" );
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
var good = 0, bad = 0,
|
|
157
|
-
tests = id("qunit-tests");
|
|
158
|
-
|
|
159
|
-
config.stats.all += config.assertions.length;
|
|
160
|
-
config.moduleStats.all += config.assertions.length;
|
|
161
|
-
|
|
162
|
-
if ( tests ) {
|
|
163
|
-
var ol = document.createElement("ol");
|
|
164
|
-
ol.style.display = "none";
|
|
165
|
-
|
|
166
|
-
for ( var i = 0; i < config.assertions.length; i++ ) {
|
|
167
|
-
var assertion = config.assertions[i];
|
|
168
|
-
|
|
169
|
-
var li = document.createElement("li");
|
|
170
|
-
li.className = assertion.result ? "pass" : "fail";
|
|
171
|
-
li.appendChild(document.createTextNode(assertion.message || "(no message)"));
|
|
172
|
-
ol.appendChild( li );
|
|
173
|
-
|
|
174
|
-
if ( assertion.result ) {
|
|
175
|
-
good++;
|
|
176
|
-
} else {
|
|
177
|
-
bad++;
|
|
178
|
-
config.stats.bad++;
|
|
179
|
-
config.moduleStats.bad++;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
var b = document.createElement("strong");
|
|
184
|
-
b.innerHTML = name + " <b style='color:black;'>(<b class='fail'>" + bad + "</b>, <b class='pass'>" + good + "</b>, " + config.assertions.length + ")</b>";
|
|
185
|
-
|
|
186
|
-
addEvent(b, "click", function() {
|
|
187
|
-
var next = b.nextSibling, display = next.style.display;
|
|
188
|
-
next.style.display = display === "none" ? "block" : "none";
|
|
189
|
-
});
|
|
190
|
-
|
|
191
|
-
addEvent(b, "dblclick", function(e) {
|
|
192
|
-
var target = e && e.target ? e.target : window.event.srcElement;
|
|
193
|
-
if ( target.nodeName.toLowerCase() === "strong" ) {
|
|
194
|
-
var text = "", node = target.firstChild;
|
|
195
|
-
|
|
196
|
-
while ( node.nodeType === 3 ) {
|
|
197
|
-
text += node.nodeValue;
|
|
198
|
-
node = node.nextSibling;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
text = text.replace(/(^\s*|\s*$)/g, "");
|
|
202
|
-
|
|
203
|
-
if ( window.location ) {
|
|
204
|
-
window.location.href = window.location.href.match(/^(.+?)(\?.*)?$/)[1] + "?" + encodeURIComponent(text);
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
});
|
|
208
|
-
|
|
209
|
-
var li = document.createElement("li");
|
|
210
|
-
li.className = bad ? "fail" : "pass";
|
|
211
|
-
li.appendChild( b );
|
|
212
|
-
li.appendChild( ol );
|
|
213
|
-
tests.appendChild( li );
|
|
214
|
-
|
|
215
|
-
if ( bad ) {
|
|
216
|
-
var toolbar = id("qunit-testrunner-toolbar");
|
|
217
|
-
if ( toolbar ) {
|
|
218
|
-
toolbar.style.display = "block";
|
|
219
|
-
id("qunit-filter-pass").disabled = null;
|
|
220
|
-
id("qunit-filter-missing").disabled = null;
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
} else {
|
|
225
|
-
for ( var i = 0; i < config.assertions.length; i++ ) {
|
|
226
|
-
if ( !config.assertions[i].result ) {
|
|
227
|
-
bad++;
|
|
228
|
-
config.stats.bad++;
|
|
229
|
-
config.moduleStats.bad++;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
QUnit.testDone( testName, bad, config.assertions.length );
|
|
235
|
-
|
|
236
|
-
if ( !window.setTimeout && !config.queue.length ) {
|
|
237
|
-
done();
|
|
238
|
-
}
|
|
239
|
-
});
|
|
240
|
-
|
|
241
|
-
if ( window.setTimeout && !config.doneTimer ) {
|
|
242
|
-
config.doneTimer = window.setTimeout(function(){
|
|
243
|
-
if ( !config.queue.length ) {
|
|
244
|
-
done();
|
|
245
|
-
} else {
|
|
246
|
-
synchronize( done );
|
|
247
|
-
}
|
|
248
|
-
}, 13);
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
|
|
252
|
-
/**
|
|
253
|
-
* Specify the number of expected assertions to gurantee that failed test (no assertions are run at all) don't slip through.
|
|
254
|
-
*/
|
|
255
|
-
expect: function(asserts) {
|
|
256
|
-
config.expected = asserts;
|
|
257
|
-
},
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* Asserts true.
|
|
261
|
-
* @example ok( "asdfasdf".length > 5, "There must be at least 5 chars" );
|
|
262
|
-
*/
|
|
263
|
-
ok: function(a, msg) {
|
|
264
|
-
QUnit.log(a, msg);
|
|
265
|
-
|
|
266
|
-
config.assertions.push({
|
|
267
|
-
result: !!a,
|
|
268
|
-
message: msg
|
|
269
|
-
});
|
|
270
|
-
},
|
|
271
|
-
|
|
272
|
-
/**
|
|
273
|
-
* Checks that the first two arguments are equal, with an optional message.
|
|
274
|
-
* Prints out both actual and expected values.
|
|
275
|
-
*
|
|
276
|
-
* Prefered to ok( actual == expected, message )
|
|
277
|
-
*
|
|
278
|
-
* @example equal( format("Received {0} bytes.", 2), "Received 2 bytes." );
|
|
279
|
-
*
|
|
280
|
-
* @param Object actual
|
|
281
|
-
* @param Object expected
|
|
282
|
-
* @param String message (optional)
|
|
283
|
-
*/
|
|
284
|
-
equal: function(actual, expected, message) {
|
|
285
|
-
push(expected == actual, actual, expected, message);
|
|
286
|
-
},
|
|
287
|
-
|
|
288
|
-
notEqual: function(actual, expected, message) {
|
|
289
|
-
push(expected != actual, actual, expected, message);
|
|
290
|
-
},
|
|
291
|
-
|
|
292
|
-
deepEqual: function(a, b, message) {
|
|
293
|
-
push(QUnit.equiv(a, b), a, b, message);
|
|
294
|
-
},
|
|
295
|
-
|
|
296
|
-
notDeepEqual: function(a, b, message) {
|
|
297
|
-
push(!QUnit.equiv(a, b), a, b, message);
|
|
298
|
-
},
|
|
299
|
-
|
|
300
|
-
strictEqual: function(actual, expected, message) {
|
|
301
|
-
push(expected === actual, actual, expected, message);
|
|
302
|
-
},
|
|
303
|
-
|
|
304
|
-
notStrictEqual: function(actual, expected, message) {
|
|
305
|
-
push(expected !== actual, actual, expected, message);
|
|
306
|
-
},
|
|
307
|
-
|
|
308
|
-
start: function() {
|
|
309
|
-
// A slight delay, to avoid any current callbacks
|
|
310
|
-
if ( window.setTimeout ) {
|
|
311
|
-
window.setTimeout(function() {
|
|
312
|
-
if ( config.timeout ) {
|
|
313
|
-
clearTimeout(config.timeout);
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
config.blocking = false;
|
|
317
|
-
process();
|
|
318
|
-
}, 13);
|
|
319
|
-
} else {
|
|
320
|
-
config.blocking = false;
|
|
321
|
-
process();
|
|
322
|
-
}
|
|
323
|
-
},
|
|
324
|
-
|
|
325
|
-
stop: function(timeout) {
|
|
326
|
-
config.blocking = true;
|
|
327
|
-
|
|
328
|
-
if ( timeout && window.setTimeout ) {
|
|
329
|
-
config.timeout = window.setTimeout(function() {
|
|
330
|
-
QUnit.ok( false, "Test timed out" );
|
|
331
|
-
QUnit.start();
|
|
332
|
-
}, timeout);
|
|
333
|
-
}
|
|
334
|
-
},
|
|
335
|
-
|
|
336
|
-
/**
|
|
337
|
-
* Resets the test setup. Useful for tests that modify the DOM.
|
|
338
|
-
*/
|
|
339
|
-
reset: function() {
|
|
340
|
-
if ( window.jQuery ) {
|
|
341
|
-
jQuery("#main").html( config.fixture );
|
|
342
|
-
jQuery.event.global = {};
|
|
343
|
-
jQuery.ajaxSettings = extend({}, config.ajaxSettings);
|
|
344
|
-
}
|
|
345
|
-
},
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
* Trigger an event on an element.
|
|
349
|
-
*
|
|
350
|
-
* @example triggerEvent( document.body, "click" );
|
|
351
|
-
*
|
|
352
|
-
* @param DOMElement elem
|
|
353
|
-
* @param String type
|
|
354
|
-
*/
|
|
355
|
-
triggerEvent: function( elem, type, event ) {
|
|
356
|
-
if ( document.createEvent ) {
|
|
357
|
-
event = document.createEvent("MouseEvents");
|
|
358
|
-
event.initMouseEvent(type, true, true, elem.ownerDocument.defaultView,
|
|
359
|
-
0, 0, 0, 0, 0, false, false, false, false, 0, null);
|
|
360
|
-
elem.dispatchEvent( event );
|
|
361
|
-
|
|
362
|
-
} else if ( elem.fireEvent ) {
|
|
363
|
-
elem.fireEvent("on"+type);
|
|
364
|
-
}
|
|
365
|
-
},
|
|
366
|
-
|
|
367
|
-
// Safe object type checking
|
|
368
|
-
is: function( type, obj ) {
|
|
369
|
-
return Object.prototype.toString.call( obj ) === "[object "+ type +"]";
|
|
370
|
-
},
|
|
371
|
-
|
|
372
|
-
// Logging callbacks
|
|
373
|
-
done: function(failures, total) {},
|
|
374
|
-
log: function(result, message) {},
|
|
375
|
-
testStart: function(name) {},
|
|
376
|
-
testDone: function(name, failures, total) {},
|
|
377
|
-
moduleStart: function(name, testEnvironment) {},
|
|
378
|
-
moduleDone: function(name, failures, total) {}
|
|
379
|
-
};
|
|
380
|
-
|
|
381
|
-
// Backwards compatibility, deprecated
|
|
382
|
-
QUnit.equals = QUnit.equal;
|
|
383
|
-
QUnit.same = QUnit.deepEqual;
|
|
384
|
-
|
|
385
|
-
// Maintain internal state
|
|
386
|
-
var config = {
|
|
387
|
-
// The queue of tests to run
|
|
388
|
-
queue: [],
|
|
389
|
-
|
|
390
|
-
// block until document ready
|
|
391
|
-
blocking: true
|
|
392
|
-
};
|
|
393
|
-
|
|
394
|
-
// Load paramaters
|
|
395
|
-
(function() {
|
|
396
|
-
var location = window.location || { search: "", protocol: "file:" },
|
|
397
|
-
GETParams = location.search.slice(1).split('&');
|
|
398
|
-
|
|
399
|
-
for ( var i = 0; i < GETParams.length; i++ ) {
|
|
400
|
-
GETParams[i] = decodeURIComponent( GETParams[i] );
|
|
401
|
-
if ( GETParams[i] === "noglobals" ) {
|
|
402
|
-
GETParams.splice( i, 1 );
|
|
403
|
-
i--;
|
|
404
|
-
config.noglobals = true;
|
|
405
|
-
} else if ( GETParams[i].search('=') > -1 ) {
|
|
406
|
-
GETParams.splice( i, 1 );
|
|
407
|
-
i--;
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
// restrict modules/tests by get parameters
|
|
412
|
-
config.filters = GETParams;
|
|
413
|
-
|
|
414
|
-
// Figure out if we're running the tests from a server or not
|
|
415
|
-
QUnit.isLocal = !!(location.protocol === 'file:');
|
|
416
|
-
})();
|
|
417
|
-
|
|
418
|
-
// Expose the API as global variables, unless an 'exports'
|
|
419
|
-
// object exists, in that case we assume we're in CommonJS
|
|
420
|
-
if ( typeof exports === "undefined" || typeof require === "undefined" ) {
|
|
421
|
-
extend(window, QUnit);
|
|
422
|
-
window.QUnit = QUnit;
|
|
423
|
-
} else {
|
|
424
|
-
extend(exports, QUnit);
|
|
425
|
-
exports.QUnit = QUnit;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
if ( typeof document === "undefined" || document.readyState === "complete" ) {
|
|
429
|
-
config.autorun = true;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
addEvent(window, "load", function() {
|
|
433
|
-
// Initialize the config, saving the execution queue
|
|
434
|
-
var oldconfig = extend({}, config);
|
|
435
|
-
QUnit.init();
|
|
436
|
-
extend(config, oldconfig);
|
|
437
|
-
|
|
438
|
-
config.blocking = false;
|
|
439
|
-
|
|
440
|
-
var userAgent = id("qunit-userAgent");
|
|
441
|
-
if ( userAgent ) {
|
|
442
|
-
userAgent.innerHTML = navigator.userAgent;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
var toolbar = id("qunit-testrunner-toolbar");
|
|
446
|
-
if ( toolbar ) {
|
|
447
|
-
toolbar.style.display = "none";
|
|
448
|
-
|
|
449
|
-
var filter = document.createElement("input");
|
|
450
|
-
filter.type = "checkbox";
|
|
451
|
-
filter.id = "qunit-filter-pass";
|
|
452
|
-
filter.disabled = true;
|
|
453
|
-
addEvent( filter, "click", function() {
|
|
454
|
-
var li = document.getElementsByTagName("li");
|
|
455
|
-
for ( var i = 0; i < li.length; i++ ) {
|
|
456
|
-
if ( li[i].className.indexOf("pass") > -1 ) {
|
|
457
|
-
li[i].style.display = filter.checked ? "none" : "";
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
});
|
|
461
|
-
toolbar.appendChild( filter );
|
|
462
|
-
|
|
463
|
-
var label = document.createElement("label");
|
|
464
|
-
label.setAttribute("for", "qunit-filter-pass");
|
|
465
|
-
label.innerHTML = "Hide passed tests";
|
|
466
|
-
toolbar.appendChild( label );
|
|
467
|
-
|
|
468
|
-
var missing = document.createElement("input");
|
|
469
|
-
missing.type = "checkbox";
|
|
470
|
-
missing.id = "qunit-filter-missing";
|
|
471
|
-
missing.disabled = true;
|
|
472
|
-
addEvent( missing, "click", function() {
|
|
473
|
-
var li = document.getElementsByTagName("li");
|
|
474
|
-
for ( var i = 0; i < li.length; i++ ) {
|
|
475
|
-
if ( li[i].className.indexOf("fail") > -1 && li[i].innerHTML.indexOf('missing test - untested code is broken code') > - 1 ) {
|
|
476
|
-
li[i].parentNode.parentNode.style.display = missing.checked ? "none" : "block";
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
});
|
|
480
|
-
toolbar.appendChild( missing );
|
|
481
|
-
|
|
482
|
-
label = document.createElement("label");
|
|
483
|
-
label.setAttribute("for", "qunit-filter-missing");
|
|
484
|
-
label.innerHTML = "Hide missing tests (untested code is broken code)";
|
|
485
|
-
toolbar.appendChild( label );
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
var main = id('main');
|
|
489
|
-
if ( main ) {
|
|
490
|
-
config.fixture = main.innerHTML;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
if ( window.jQuery ) {
|
|
494
|
-
config.ajaxSettings = window.jQuery.ajaxSettings;
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
QUnit.start();
|
|
498
|
-
});
|
|
499
|
-
|
|
500
|
-
function done() {
|
|
501
|
-
if ( config.doneTimer && window.clearTimeout ) {
|
|
502
|
-
window.clearTimeout( config.doneTimer );
|
|
503
|
-
config.doneTimer = null;
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
if ( config.queue.length ) {
|
|
507
|
-
config.doneTimer = window.setTimeout(function(){
|
|
508
|
-
if ( !config.queue.length ) {
|
|
509
|
-
done();
|
|
510
|
-
} else {
|
|
511
|
-
synchronize( done );
|
|
512
|
-
}
|
|
513
|
-
}, 13);
|
|
514
|
-
|
|
515
|
-
return;
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
config.autorun = true;
|
|
519
|
-
|
|
520
|
-
// Log the last module results
|
|
521
|
-
if ( config.currentModule ) {
|
|
522
|
-
QUnit.moduleDone( config.currentModule, config.moduleStats.bad, config.moduleStats.all );
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
var banner = id("qunit-banner"),
|
|
526
|
-
tests = id("qunit-tests"),
|
|
527
|
-
html = ['Tests completed in ',
|
|
528
|
-
+new Date - config.started, ' milliseconds.<br/>',
|
|
529
|
-
'<span class="passed">', config.stats.all - config.stats.bad, '</span> tests of <span class="total">', config.stats.all, '</span> passed, <span class="failed">', config.stats.bad,'</span> failed.'].join('');
|
|
530
|
-
|
|
531
|
-
if ( banner ) {
|
|
532
|
-
banner.className = (config.stats.bad ? "qunit-fail" : "qunit-pass");
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
if ( tests ) {
|
|
536
|
-
var result = id("qunit-testresult");
|
|
537
|
-
|
|
538
|
-
if ( !result ) {
|
|
539
|
-
result = document.createElement("p");
|
|
540
|
-
result.id = "qunit-testresult";
|
|
541
|
-
result.className = "result";
|
|
542
|
-
tests.parentNode.insertBefore( result, tests.nextSibling );
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
result.innerHTML = html;
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
QUnit.done( config.stats.bad, config.stats.all );
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
function validTest( name ) {
|
|
552
|
-
var i = config.filters.length,
|
|
553
|
-
run = false;
|
|
554
|
-
|
|
555
|
-
if ( !i ) {
|
|
556
|
-
return true;
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
while ( i-- ) {
|
|
560
|
-
var filter = config.filters[i],
|
|
561
|
-
not = filter.charAt(0) == '!';
|
|
562
|
-
|
|
563
|
-
if ( not ) {
|
|
564
|
-
filter = filter.slice(1);
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
if ( name.indexOf(filter) !== -1 ) {
|
|
568
|
-
return !not;
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
if ( not ) {
|
|
572
|
-
run = true;
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
return run;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
function push(result, actual, expected, message) {
|
|
580
|
-
message = message || (result ? "okay" : "failed");
|
|
581
|
-
QUnit.ok( result, result ? message + ": " + expected : message + ", expected: " + QUnit.jsDump.parse(expected) + " result: " + QUnit.jsDump.parse(actual) );
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
function synchronize( callback ) {
|
|
585
|
-
config.queue.push( callback );
|
|
586
|
-
|
|
587
|
-
if ( config.autorun && !config.blocking ) {
|
|
588
|
-
process();
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
function process() {
|
|
593
|
-
while ( config.queue.length && !config.blocking ) {
|
|
594
|
-
config.queue.shift()();
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
function saveGlobal() {
|
|
599
|
-
config.pollution = [];
|
|
600
|
-
|
|
601
|
-
if ( config.noglobals ) {
|
|
602
|
-
for ( var key in window ) {
|
|
603
|
-
config.pollution.push( key );
|
|
604
|
-
}
|
|
605
|
-
}
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
function checkPollution( name ) {
|
|
609
|
-
var old = config.pollution;
|
|
610
|
-
saveGlobal();
|
|
611
|
-
|
|
612
|
-
var newGlobals = diff( old, config.pollution );
|
|
613
|
-
if ( newGlobals.length > 0 ) {
|
|
614
|
-
ok( false, "Introduced global variable(s): " + newGlobals.join(", ") );
|
|
615
|
-
config.expected++;
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
var deletedGlobals = diff( config.pollution, old );
|
|
619
|
-
if ( deletedGlobals.length > 0 ) {
|
|
620
|
-
ok( false, "Deleted global variable(s): " + deletedGlobals.join(", ") );
|
|
621
|
-
config.expected++;
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
// returns a new Array with the elements that are in a but not in b
|
|
626
|
-
function diff( a, b ) {
|
|
627
|
-
var result = a.slice();
|
|
628
|
-
for ( var i = 0; i < result.length; i++ ) {
|
|
629
|
-
for ( var j = 0; j < b.length; j++ ) {
|
|
630
|
-
if ( result[i] === b[j] ) {
|
|
631
|
-
result.splice(i, 1);
|
|
632
|
-
i--;
|
|
633
|
-
break;
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
return result;
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
function fail(message, exception, callback) {
|
|
641
|
-
if ( typeof console !== "undefined" && console.error && console.warn ) {
|
|
642
|
-
console.error(message);
|
|
643
|
-
console.error(exception);
|
|
644
|
-
console.warn(callback.toString());
|
|
645
|
-
|
|
646
|
-
} else if ( window.opera && opera.postError ) {
|
|
647
|
-
opera.postError(message, exception, callback.toString);
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
function extend(a, b) {
|
|
652
|
-
for ( var prop in b ) {
|
|
653
|
-
a[prop] = b[prop];
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
return a;
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
function addEvent(elem, type, fn) {
|
|
660
|
-
if ( elem.addEventListener ) {
|
|
661
|
-
elem.addEventListener( type, fn, false );
|
|
662
|
-
} else if ( elem.attachEvent ) {
|
|
663
|
-
elem.attachEvent( "on" + type, fn );
|
|
664
|
-
} else {
|
|
665
|
-
fn();
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
function id(name) {
|
|
670
|
-
return !!(typeof document !== "undefined" && document && document.getElementById) &&
|
|
671
|
-
document.getElementById( name );
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
// Test for equality any JavaScript type.
|
|
675
|
-
// Discussions and reference: http://philrathe.com/articles/equiv
|
|
676
|
-
// Test suites: http://philrathe.com/tests/equiv
|
|
677
|
-
// Author: Philippe Rathé <prathe@gmail.com>
|
|
678
|
-
QUnit.equiv = function () {
|
|
679
|
-
|
|
680
|
-
var innerEquiv; // the real equiv function
|
|
681
|
-
var callers = []; // stack to decide between skip/abort functions
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
// Determine what is o.
|
|
685
|
-
function hoozit(o) {
|
|
686
|
-
if (QUnit.is("String", o)) {
|
|
687
|
-
return "string";
|
|
688
|
-
|
|
689
|
-
} else if (QUnit.is("Boolean", o)) {
|
|
690
|
-
return "boolean";
|
|
691
|
-
|
|
692
|
-
} else if (QUnit.is("Number", o)) {
|
|
693
|
-
|
|
694
|
-
if (isNaN(o)) {
|
|
695
|
-
return "nan";
|
|
696
|
-
} else {
|
|
697
|
-
return "number";
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
} else if (typeof o === "undefined") {
|
|
701
|
-
return "undefined";
|
|
702
|
-
|
|
703
|
-
// consider: typeof null === object
|
|
704
|
-
} else if (o === null) {
|
|
705
|
-
return "null";
|
|
706
|
-
|
|
707
|
-
// consider: typeof [] === object
|
|
708
|
-
} else if (QUnit.is( "Array", o)) {
|
|
709
|
-
return "array";
|
|
710
|
-
|
|
711
|
-
// consider: typeof new Date() === object
|
|
712
|
-
} else if (QUnit.is( "Date", o)) {
|
|
713
|
-
return "date";
|
|
714
|
-
|
|
715
|
-
// consider: /./ instanceof Object;
|
|
716
|
-
// /./ instanceof RegExp;
|
|
717
|
-
// typeof /./ === "function"; // => false in IE and Opera,
|
|
718
|
-
// true in FF and Safari
|
|
719
|
-
} else if (QUnit.is( "RegExp", o)) {
|
|
720
|
-
return "regexp";
|
|
721
|
-
|
|
722
|
-
} else if (typeof o === "object") {
|
|
723
|
-
return "object";
|
|
724
|
-
|
|
725
|
-
} else if (QUnit.is( "Function", o)) {
|
|
726
|
-
return "function";
|
|
727
|
-
} else {
|
|
728
|
-
return undefined;
|
|
729
|
-
}
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
// Call the o related callback with the given arguments.
|
|
733
|
-
function bindCallbacks(o, callbacks, args) {
|
|
734
|
-
var prop = hoozit(o);
|
|
735
|
-
if (prop) {
|
|
736
|
-
if (hoozit(callbacks[prop]) === "function") {
|
|
737
|
-
return callbacks[prop].apply(callbacks, args);
|
|
738
|
-
} else {
|
|
739
|
-
return callbacks[prop]; // or undefined
|
|
740
|
-
}
|
|
741
|
-
}
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
var callbacks = function () {
|
|
745
|
-
|
|
746
|
-
// for string, boolean, number and null
|
|
747
|
-
function useStrictEquality(b, a) {
|
|
748
|
-
if (b instanceof a.constructor || a instanceof b.constructor) {
|
|
749
|
-
// to catch short annotaion VS 'new' annotation of a declaration
|
|
750
|
-
// e.g. var i = 1;
|
|
751
|
-
// var j = new Number(1);
|
|
752
|
-
return a == b;
|
|
753
|
-
} else {
|
|
754
|
-
return a === b;
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
return {
|
|
759
|
-
"string": useStrictEquality,
|
|
760
|
-
"boolean": useStrictEquality,
|
|
761
|
-
"number": useStrictEquality,
|
|
762
|
-
"null": useStrictEquality,
|
|
763
|
-
"undefined": useStrictEquality,
|
|
764
|
-
|
|
765
|
-
"nan": function (b) {
|
|
766
|
-
return isNaN(b);
|
|
767
|
-
},
|
|
768
|
-
|
|
769
|
-
"date": function (b, a) {
|
|
770
|
-
return hoozit(b) === "date" && a.valueOf() === b.valueOf();
|
|
771
|
-
},
|
|
772
|
-
|
|
773
|
-
"regexp": function (b, a) {
|
|
774
|
-
return hoozit(b) === "regexp" &&
|
|
775
|
-
a.source === b.source && // the regex itself
|
|
776
|
-
a.global === b.global && // and its modifers (gmi) ...
|
|
777
|
-
a.ignoreCase === b.ignoreCase &&
|
|
778
|
-
a.multiline === b.multiline;
|
|
779
|
-
},
|
|
780
|
-
|
|
781
|
-
// - skip when the property is a method of an instance (OOP)
|
|
782
|
-
// - abort otherwise,
|
|
783
|
-
// initial === would have catch identical references anyway
|
|
784
|
-
"function": function () {
|
|
785
|
-
var caller = callers[callers.length - 1];
|
|
786
|
-
return caller !== Object &&
|
|
787
|
-
typeof caller !== "undefined";
|
|
788
|
-
},
|
|
789
|
-
|
|
790
|
-
"array": function (b, a) {
|
|
791
|
-
var i;
|
|
792
|
-
var len;
|
|
793
|
-
|
|
794
|
-
// b could be an object literal here
|
|
795
|
-
if ( ! (hoozit(b) === "array")) {
|
|
796
|
-
return false;
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
len = a.length;
|
|
800
|
-
if (len !== b.length) { // safe and faster
|
|
801
|
-
return false;
|
|
802
|
-
}
|
|
803
|
-
for (i = 0; i < len; i++) {
|
|
804
|
-
if ( ! innerEquiv(a[i], b[i])) {
|
|
805
|
-
return false;
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
return true;
|
|
809
|
-
},
|
|
810
|
-
|
|
811
|
-
"object": function (b, a) {
|
|
812
|
-
var i;
|
|
813
|
-
var eq = true; // unless we can proove it
|
|
814
|
-
var aProperties = [], bProperties = []; // collection of strings
|
|
815
|
-
|
|
816
|
-
// comparing constructors is more strict than using instanceof
|
|
817
|
-
if ( a.constructor !== b.constructor) {
|
|
818
|
-
return false;
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
// stack constructor before traversing properties
|
|
822
|
-
callers.push(a.constructor);
|
|
823
|
-
|
|
824
|
-
for (i in a) { // be strict: don't ensures hasOwnProperty and go deep
|
|
825
|
-
|
|
826
|
-
aProperties.push(i); // collect a's properties
|
|
827
|
-
|
|
828
|
-
if ( ! innerEquiv(a[i], b[i])) {
|
|
829
|
-
eq = false;
|
|
830
|
-
}
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
callers.pop(); // unstack, we are done
|
|
834
|
-
|
|
835
|
-
for (i in b) {
|
|
836
|
-
bProperties.push(i); // collect b's properties
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
// Ensures identical properties name
|
|
840
|
-
return eq && innerEquiv(aProperties.sort(), bProperties.sort());
|
|
841
|
-
}
|
|
842
|
-
};
|
|
843
|
-
}();
|
|
844
|
-
|
|
845
|
-
innerEquiv = function () { // can take multiple arguments
|
|
846
|
-
var args = Array.prototype.slice.apply(arguments);
|
|
847
|
-
if (args.length < 2) {
|
|
848
|
-
return true; // end transition
|
|
849
|
-
}
|
|
850
|
-
|
|
851
|
-
return (function (a, b) {
|
|
852
|
-
if (a === b) {
|
|
853
|
-
return true; // catch the most you can
|
|
854
|
-
} else if (a === null || b === null || typeof a === "undefined" || typeof b === "undefined" || hoozit(a) !== hoozit(b)) {
|
|
855
|
-
return false; // don't lose time with error prone cases
|
|
856
|
-
} else {
|
|
857
|
-
return bindCallbacks(a, callbacks, [b, a]);
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
// apply transition with (1..n) arguments
|
|
861
|
-
})(args[0], args[1]) && arguments.callee.apply(this, args.splice(1, args.length -1));
|
|
862
|
-
};
|
|
863
|
-
|
|
864
|
-
return innerEquiv;
|
|
865
|
-
|
|
866
|
-
}();
|
|
867
|
-
|
|
868
|
-
/**
|
|
869
|
-
* jsDump
|
|
870
|
-
* Copyright (c) 2008 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
|
|
871
|
-
* Licensed under BSD (http://www.opensource.org/licenses/bsd-license.php)
|
|
872
|
-
* Date: 5/15/2008
|
|
873
|
-
* @projectDescription Advanced and extensible data dumping for Javascript.
|
|
874
|
-
* @version 1.0.0
|
|
875
|
-
* @author Ariel Flesler
|
|
876
|
-
* @link {http://flesler.blogspot.com/2008/05/jsdump-pretty-dump-of-any-javascript.html}
|
|
877
|
-
*/
|
|
878
|
-
QUnit.jsDump = (function() {
|
|
879
|
-
function quote( str ) {
|
|
880
|
-
return '"' + str.toString().replace(/"/g, '\\"') + '"';
|
|
881
|
-
};
|
|
882
|
-
function literal( o ) {
|
|
883
|
-
return o + '';
|
|
884
|
-
};
|
|
885
|
-
function join( pre, arr, post ) {
|
|
886
|
-
var s = jsDump.separator(),
|
|
887
|
-
base = jsDump.indent(),
|
|
888
|
-
inner = jsDump.indent(1);
|
|
889
|
-
if ( arr.join )
|
|
890
|
-
arr = arr.join( ',' + s + inner );
|
|
891
|
-
if ( !arr )
|
|
892
|
-
return pre + post;
|
|
893
|
-
return [ pre, inner + arr, base + post ].join(s);
|
|
894
|
-
};
|
|
895
|
-
function array( arr ) {
|
|
896
|
-
var i = arr.length, ret = Array(i);
|
|
897
|
-
this.up();
|
|
898
|
-
while ( i-- )
|
|
899
|
-
ret[i] = this.parse( arr[i] );
|
|
900
|
-
this.down();
|
|
901
|
-
return join( '[', ret, ']' );
|
|
902
|
-
};
|
|
903
|
-
|
|
904
|
-
var reName = /^function (\w+)/;
|
|
905
|
-
|
|
906
|
-
var jsDump = {
|
|
907
|
-
parse:function( obj, type ) { //type is used mostly internally, you can fix a (custom)type in advance
|
|
908
|
-
var parser = this.parsers[ type || this.typeOf(obj) ];
|
|
909
|
-
type = typeof parser;
|
|
910
|
-
|
|
911
|
-
return type == 'function' ? parser.call( this, obj ) :
|
|
912
|
-
type == 'string' ? parser :
|
|
913
|
-
this.parsers.error;
|
|
914
|
-
},
|
|
915
|
-
typeOf:function( obj ) {
|
|
916
|
-
var type;
|
|
917
|
-
if ( obj === null ) {
|
|
918
|
-
type = "null";
|
|
919
|
-
} else if (typeof obj === "undefined") {
|
|
920
|
-
type = "undefined";
|
|
921
|
-
} else if (QUnit.is("RegExp", obj)) {
|
|
922
|
-
type = "regexp";
|
|
923
|
-
} else if (QUnit.is("Date", obj)) {
|
|
924
|
-
type = "date";
|
|
925
|
-
} else if (QUnit.is("Function", obj)) {
|
|
926
|
-
type = "function";
|
|
927
|
-
} else if (QUnit.is("Array", obj)) {
|
|
928
|
-
type = "array";
|
|
929
|
-
} else if (QUnit.is("Window", obj) || QUnit.is("global", obj)) {
|
|
930
|
-
type = "window";
|
|
931
|
-
} else if (QUnit.is("HTMLDocument", obj)) {
|
|
932
|
-
type = "document";
|
|
933
|
-
} else if (QUnit.is("HTMLCollection", obj) || QUnit.is("NodeList", obj)) {
|
|
934
|
-
type = "nodelist";
|
|
935
|
-
} else if (/^\[object HTML/.test(Object.prototype.toString.call( obj ))) {
|
|
936
|
-
type = "node";
|
|
937
|
-
} else {
|
|
938
|
-
type = typeof obj;
|
|
939
|
-
}
|
|
940
|
-
return type;
|
|
941
|
-
},
|
|
942
|
-
separator:function() {
|
|
943
|
-
return this.multiline ? this.HTML ? '<br />' : '\n' : this.HTML ? ' ' : ' ';
|
|
944
|
-
},
|
|
945
|
-
indent:function( extra ) {// extra can be a number, shortcut for increasing-calling-decreasing
|
|
946
|
-
if ( !this.multiline )
|
|
947
|
-
return '';
|
|
948
|
-
var chr = this.indentChar;
|
|
949
|
-
if ( this.HTML )
|
|
950
|
-
chr = chr.replace(/\t/g,' ').replace(/ /g,' ');
|
|
951
|
-
return Array( this._depth_ + (extra||0) ).join(chr);
|
|
952
|
-
},
|
|
953
|
-
up:function( a ) {
|
|
954
|
-
this._depth_ += a || 1;
|
|
955
|
-
},
|
|
956
|
-
down:function( a ) {
|
|
957
|
-
this._depth_ -= a || 1;
|
|
958
|
-
},
|
|
959
|
-
setParser:function( name, parser ) {
|
|
960
|
-
this.parsers[name] = parser;
|
|
961
|
-
},
|
|
962
|
-
// The next 3 are exposed so you can use them
|
|
963
|
-
quote:quote,
|
|
964
|
-
literal:literal,
|
|
965
|
-
join:join,
|
|
966
|
-
//
|
|
967
|
-
_depth_: 1,
|
|
968
|
-
// This is the list of parsers, to modify them, use jsDump.setParser
|
|
969
|
-
parsers:{
|
|
970
|
-
window: '[Window]',
|
|
971
|
-
document: '[Document]',
|
|
972
|
-
error:'[ERROR]', //when no parser is found, shouldn't happen
|
|
973
|
-
unknown: '[Unknown]',
|
|
974
|
-
'null':'null',
|
|
975
|
-
undefined:'undefined',
|
|
976
|
-
'function':function( fn ) {
|
|
977
|
-
var ret = 'function',
|
|
978
|
-
name = 'name' in fn ? fn.name : (reName.exec(fn)||[])[1];//functions never have name in IE
|
|
979
|
-
if ( name )
|
|
980
|
-
ret += ' ' + name;
|
|
981
|
-
ret += '(';
|
|
982
|
-
|
|
983
|
-
ret = [ ret, this.parse( fn, 'functionArgs' ), '){'].join('');
|
|
984
|
-
return join( ret, this.parse(fn,'functionCode'), '}' );
|
|
985
|
-
},
|
|
986
|
-
array: array,
|
|
987
|
-
nodelist: array,
|
|
988
|
-
arguments: array,
|
|
989
|
-
object:function( map ) {
|
|
990
|
-
var ret = [ ];
|
|
991
|
-
this.up();
|
|
992
|
-
for ( var key in map )
|
|
993
|
-
ret.push( this.parse(key,'key') + ': ' + this.parse(map[key]) );
|
|
994
|
-
this.down();
|
|
995
|
-
return join( '{', ret, '}' );
|
|
996
|
-
},
|
|
997
|
-
node:function( node ) {
|
|
998
|
-
var open = this.HTML ? '<' : '<',
|
|
999
|
-
close = this.HTML ? '>' : '>';
|
|
1000
|
-
|
|
1001
|
-
var tag = node.nodeName.toLowerCase(),
|
|
1002
|
-
ret = open + tag;
|
|
1003
|
-
|
|
1004
|
-
for ( var a in this.DOMAttrs ) {
|
|
1005
|
-
var val = node[this.DOMAttrs[a]];
|
|
1006
|
-
if ( val )
|
|
1007
|
-
ret += ' ' + a + '=' + this.parse( val, 'attribute' );
|
|
1008
|
-
}
|
|
1009
|
-
return ret + close + open + '/' + tag + close;
|
|
1010
|
-
},
|
|
1011
|
-
functionArgs:function( fn ) {//function calls it internally, it's the arguments part of the function
|
|
1012
|
-
var l = fn.length;
|
|
1013
|
-
if ( !l ) return '';
|
|
1014
|
-
|
|
1015
|
-
var args = Array(l);
|
|
1016
|
-
while ( l-- )
|
|
1017
|
-
args[l] = String.fromCharCode(97+l);//97 is 'a'
|
|
1018
|
-
return ' ' + args.join(', ') + ' ';
|
|
1019
|
-
},
|
|
1020
|
-
key:quote, //object calls it internally, the key part of an item in a map
|
|
1021
|
-
functionCode:'[code]', //function calls it internally, it's the content of the function
|
|
1022
|
-
attribute:quote, //node calls it internally, it's an html attribute value
|
|
1023
|
-
string:quote,
|
|
1024
|
-
date:quote,
|
|
1025
|
-
regexp:literal, //regex
|
|
1026
|
-
number:literal,
|
|
1027
|
-
'boolean':literal
|
|
1028
|
-
},
|
|
1029
|
-
DOMAttrs:{//attributes to dump from nodes, name=>realName
|
|
1030
|
-
id:'id',
|
|
1031
|
-
name:'name',
|
|
1032
|
-
'class':'className'
|
|
1033
|
-
},
|
|
1034
|
-
HTML:true,//if true, entities are escaped ( <, >, \t, space and \n )
|
|
1035
|
-
indentChar:' ',//indentation unit
|
|
1036
|
-
multiline:true //if true, items in a collection, are separated by a \n, else just a space.
|
|
1037
|
-
};
|
|
1038
|
-
|
|
1039
|
-
return jsDump;
|
|
1040
|
-
})();
|
|
1041
|
-
|
|
1042
|
-
})(this);
|