select_all-rails 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +6 -0
- data/README.md +8 -7
- data/lib/select_all/rails/version.rb +1 -1
- data/node_modules/.bin/acorn +71 -0
- data/node_modules/.bin/escodegen +77 -0
- data/node_modules/.bin/esgenerate +64 -0
- data/node_modules/.bin/esparse +126 -0
- data/node_modules/.bin/esvalidate +199 -0
- data/node_modules/.bin/har-validator +56 -0
- data/node_modules/.bin/sshpk-conv +201 -0
- data/node_modules/.bin/sshpk-sign +191 -0
- data/node_modules/.bin/sshpk-verify +166 -0
- data/node_modules/.bin/uuid +26 -0
- data/node_modules/abab/CHANGELOG.md +11 -0
- data/node_modules/abab/README.md +52 -0
- data/node_modules/abab/index.js +9 -0
- data/node_modules/abab/lib/atob.js +109 -0
- data/node_modules/abab/lib/btoa.js +65 -0
- data/node_modules/abab/package.json +106 -0
- data/node_modules/acorn-globals/LICENSE +19 -0
- data/node_modules/acorn-globals/README.md +76 -0
- data/node_modules/acorn-globals/index.js +180 -0
- data/node_modules/acorn-globals/package.json +100 -0
- data/node_modules/acorn/.editorconfig +7 -0
- data/node_modules/acorn/.gitattributes +1 -0
- data/node_modules/acorn/.npmignore +3 -0
- data/node_modules/acorn/.tern-project +6 -0
- data/node_modules/acorn/.travis.yml +6 -0
- data/node_modules/acorn/AUTHORS +43 -0
- data/node_modules/acorn/LICENSE +19 -0
- data/node_modules/acorn/README.md +396 -0
- data/node_modules/acorn/bin/acorn +71 -0
- data/node_modules/acorn/bin/build-acorn.js +82 -0
- data/node_modules/acorn/bin/generate-identifier-regex.js +47 -0
- data/node_modules/acorn/bin/update_authors.sh +6 -0
- data/node_modules/acorn/dist/.keep +0 -0
- data/node_modules/acorn/dist/acorn.js +3340 -0
- data/node_modules/acorn/dist/acorn_loose.js +1300 -0
- data/node_modules/acorn/dist/walk.js +377 -0
- data/node_modules/acorn/package.json +222 -0
- data/node_modules/acorn/src/bin/acorn.js +59 -0
- data/node_modules/acorn/src/expression.js +707 -0
- data/node_modules/acorn/src/identifier.js +90 -0
- data/node_modules/acorn/src/index.js +67 -0
- data/node_modules/acorn/src/location.js +24 -0
- data/node_modules/acorn/src/locutil.js +42 -0
- data/node_modules/acorn/src/loose/acorn_loose.js +0 -0
- data/node_modules/acorn/src/loose/expression.js +501 -0
- data/node_modules/acorn/src/loose/index.js +50 -0
- data/node_modules/acorn/src/loose/parseutil.js +1 -0
- data/node_modules/acorn/src/loose/state.js +160 -0
- data/node_modules/acorn/src/loose/statement.js +420 -0
- data/node_modules/acorn/src/loose/tokenize.js +108 -0
- data/node_modules/acorn/src/lval.js +215 -0
- data/node_modules/acorn/src/node.js +50 -0
- data/node_modules/acorn/src/options.js +121 -0
- data/node_modules/acorn/src/parseutil.js +102 -0
- data/node_modules/acorn/src/state.js +104 -0
- data/node_modules/acorn/src/statement.js +626 -0
- data/node_modules/acorn/src/tokencontext.js +109 -0
- data/node_modules/acorn/src/tokenize.js +682 -0
- data/node_modules/acorn/src/tokentype.js +147 -0
- data/node_modules/acorn/src/util.js +9 -0
- data/node_modules/acorn/src/walk/index.js +340 -0
- data/node_modules/acorn/src/whitespace.js +12 -0
- data/node_modules/amdefine/LICENSE +58 -0
- data/node_modules/amdefine/README.md +171 -0
- data/node_modules/amdefine/amdefine.js +301 -0
- data/node_modules/amdefine/intercept.js +36 -0
- data/node_modules/amdefine/package.json +86 -0
- data/node_modules/ansi-regex/index.js +4 -0
- data/node_modules/ansi-regex/license +21 -0
- data/node_modules/ansi-regex/package.json +121 -0
- data/node_modules/ansi-regex/readme.md +31 -0
- data/node_modules/ansi-styles/index.js +65 -0
- data/node_modules/ansi-styles/license +21 -0
- data/node_modules/ansi-styles/package.json +114 -0
- data/node_modules/ansi-styles/readme.md +86 -0
- data/node_modules/array-equal/.npmignore +1 -0
- data/node_modules/array-equal/LICENSE +22 -0
- data/node_modules/array-equal/README.md +11 -0
- data/node_modules/array-equal/component.json +10 -0
- data/node_modules/array-equal/index.js +9 -0
- data/node_modules/array-equal/package.json +75 -0
- data/node_modules/asn1/.npmignore +2 -0
- data/node_modules/asn1/.travis.yml +4 -0
- data/node_modules/asn1/LICENSE +19 -0
- data/node_modules/asn1/README.md +50 -0
- data/node_modules/asn1/lib/ber/errors.js +13 -0
- data/node_modules/asn1/lib/ber/index.js +27 -0
- data/node_modules/asn1/lib/ber/reader.js +261 -0
- data/node_modules/asn1/lib/ber/types.js +36 -0
- data/node_modules/asn1/lib/ber/writer.js +316 -0
- data/node_modules/asn1/lib/index.js +20 -0
- data/node_modules/asn1/package.json +98 -0
- data/node_modules/asn1/tst/ber/reader.test.js +208 -0
- data/node_modules/asn1/tst/ber/writer.test.js +370 -0
- data/node_modules/assert-plus/AUTHORS +6 -0
- data/node_modules/assert-plus/CHANGES.md +8 -0
- data/node_modules/assert-plus/README.md +155 -0
- data/node_modules/assert-plus/assert.js +206 -0
- data/node_modules/assert-plus/package.json +115 -0
- data/node_modules/assertion-error/.npmignore +11 -0
- data/node_modules/assertion-error/History.md +19 -0
- data/node_modules/assertion-error/README.md +41 -0
- data/node_modules/assertion-error/index.js +116 -0
- data/node_modules/assertion-error/package.json +95 -0
- data/node_modules/asynckit/LICENSE +21 -0
- data/node_modules/asynckit/README.md +233 -0
- data/node_modules/asynckit/bench.js +76 -0
- data/node_modules/asynckit/index.js +6 -0
- data/node_modules/asynckit/lib/abort.js +29 -0
- data/node_modules/asynckit/lib/async.js +34 -0
- data/node_modules/asynckit/lib/defer.js +26 -0
- data/node_modules/asynckit/lib/iterate.js +75 -0
- data/node_modules/asynckit/lib/readable_asynckit.js +91 -0
- data/node_modules/asynckit/lib/readable_parallel.js +25 -0
- data/node_modules/asynckit/lib/readable_serial.js +25 -0
- data/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
- data/node_modules/asynckit/lib/state.js +37 -0
- data/node_modules/asynckit/lib/streamify.js +141 -0
- data/node_modules/asynckit/lib/terminator.js +29 -0
- data/node_modules/asynckit/package.json +126 -0
- data/node_modules/asynckit/parallel.js +43 -0
- data/node_modules/asynckit/serial.js +17 -0
- data/node_modules/asynckit/serialOrdered.js +75 -0
- data/node_modules/asynckit/stream.js +21 -0
- data/node_modules/aws-sign2/LICENSE +55 -0
- data/node_modules/aws-sign2/README.md +4 -0
- data/node_modules/aws-sign2/index.js +212 -0
- data/node_modules/aws-sign2/package.json +81 -0
- data/node_modules/aws4/.npmignore +4 -0
- data/node_modules/aws4/.tern-port +1 -0
- data/node_modules/aws4/.travis.yml +5 -0
- data/node_modules/aws4/LICENSE +19 -0
- data/node_modules/aws4/README.md +523 -0
- data/node_modules/aws4/aws4.js +323 -0
- data/node_modules/aws4/lru.js +96 -0
- data/node_modules/aws4/package.json +140 -0
- data/node_modules/bcrypt-pbkdf/README.md +39 -0
- data/node_modules/bcrypt-pbkdf/index.js +559 -0
- data/node_modules/bcrypt-pbkdf/package.json +72 -0
- data/node_modules/boom/.npmignore +18 -0
- data/node_modules/boom/.travis.yml +8 -0
- data/node_modules/boom/CONTRIBUTING.md +1 -0
- data/node_modules/boom/LICENSE +28 -0
- data/node_modules/boom/README.md +652 -0
- data/node_modules/boom/images/boom.png +0 -0
- data/node_modules/boom/lib/index.js +318 -0
- data/node_modules/boom/package.json +98 -0
- data/node_modules/boom/test/index.js +654 -0
- data/node_modules/caseless/LICENSE +28 -0
- data/node_modules/caseless/README.md +45 -0
- data/node_modules/caseless/index.js +66 -0
- data/node_modules/caseless/package.json +96 -0
- data/node_modules/caseless/test.js +40 -0
- data/node_modules/chai/.npmignore +14 -0
- data/node_modules/chai/CODE_OF_CONDUCT.md +58 -0
- data/node_modules/chai/CONTRIBUTING.md +214 -0
- data/node_modules/chai/History.md +1059 -0
- data/node_modules/chai/README.md +83 -0
- data/node_modules/chai/ReleaseNotes.md +737 -0
- data/node_modules/chai/bower.json +26 -0
- data/node_modules/chai/chai.js +6142 -0
- data/node_modules/chai/index.js +1 -0
- data/node_modules/chai/karma.conf.js +28 -0
- data/node_modules/chai/karma.sauce.js +41 -0
- data/node_modules/chai/lib/chai.js +93 -0
- data/node_modules/chai/lib/chai/assertion.js +131 -0
- data/node_modules/chai/lib/chai/config.js +55 -0
- data/node_modules/chai/lib/chai/core/assertions.js +1860 -0
- data/node_modules/chai/lib/chai/interface/assert.js +1645 -0
- data/node_modules/chai/lib/chai/interface/expect.js +34 -0
- data/node_modules/chai/lib/chai/interface/should.js +201 -0
- data/node_modules/chai/lib/chai/utils/addChainableMethod.js +112 -0
- data/node_modules/chai/lib/chai/utils/addMethod.js +44 -0
- data/node_modules/chai/lib/chai/utils/addProperty.js +48 -0
- data/node_modules/chai/lib/chai/utils/expectTypes.js +42 -0
- data/node_modules/chai/lib/chai/utils/flag.js +33 -0
- data/node_modules/chai/lib/chai/utils/getActual.js +20 -0
- data/node_modules/chai/lib/chai/utils/getEnumerableProperties.js +26 -0
- data/node_modules/chai/lib/chai/utils/getMessage.js +51 -0
- data/node_modules/chai/lib/chai/utils/getName.js +22 -0
- data/node_modules/chai/lib/chai/utils/getPathInfo.js +111 -0
- data/node_modules/chai/lib/chai/utils/getPathValue.js +43 -0
- data/node_modules/chai/lib/chai/utils/getProperties.js +36 -0
- data/node_modules/chai/lib/chai/utils/hasProperty.js +64 -0
- data/node_modules/chai/lib/chai/utils/index.js +130 -0
- data/node_modules/chai/lib/chai/utils/inspect.js +335 -0
- data/node_modules/chai/lib/chai/utils/objDisplay.js +50 -0
- data/node_modules/chai/lib/chai/utils/overwriteChainableMethod.js +54 -0
- data/node_modules/chai/lib/chai/utils/overwriteMethod.js +52 -0
- data/node_modules/chai/lib/chai/utils/overwriteProperty.js +55 -0
- data/node_modules/chai/lib/chai/utils/test.js +28 -0
- data/node_modules/chai/lib/chai/utils/transferFlags.js +45 -0
- data/node_modules/chai/package.json +128 -0
- data/node_modules/chai/sauce.browsers.js +128 -0
- data/node_modules/chalk/index.js +116 -0
- data/node_modules/chalk/license +21 -0
- data/node_modules/chalk/package.json +140 -0
- data/node_modules/chalk/readme.md +213 -0
- data/node_modules/combined-stream/License +19 -0
- data/node_modules/combined-stream/Readme.md +138 -0
- data/node_modules/combined-stream/lib/combined_stream.js +188 -0
- data/node_modules/combined-stream/package.json +101 -0
- data/node_modules/commander/History.md +261 -0
- data/node_modules/commander/LICENSE +22 -0
- data/node_modules/commander/Readme.md +351 -0
- data/node_modules/commander/index.js +1110 -0
- data/node_modules/commander/package.json +104 -0
- data/node_modules/content-type-parser/LICENSE.txt +19 -0
- data/node_modules/content-type-parser/README.md +60 -0
- data/node_modules/content-type-parser/lib/content-type-parser.js +103 -0
- data/node_modules/content-type-parser/package.json +96 -0
- data/node_modules/cryptiles/.npmignore +18 -0
- data/node_modules/cryptiles/.travis.yml +8 -0
- data/node_modules/cryptiles/LICENSE +28 -0
- data/node_modules/cryptiles/README.md +16 -0
- data/node_modules/cryptiles/lib/index.js +68 -0
- data/node_modules/cryptiles/package.json +94 -0
- data/node_modules/cryptiles/test/index.js +102 -0
- data/node_modules/cssom/LICENSE.txt +20 -0
- data/node_modules/cssom/README.mdown +69 -0
- data/node_modules/cssom/lib/CSSDocumentRule.js +39 -0
- data/node_modules/cssom/lib/CSSFontFaceRule.js +36 -0
- data/node_modules/cssom/lib/CSSImportRule.js +132 -0
- data/node_modules/cssom/lib/CSSKeyframeRule.js +37 -0
- data/node_modules/cssom/lib/CSSKeyframesRule.js +39 -0
- data/node_modules/cssom/lib/CSSMediaRule.js +41 -0
- data/node_modules/cssom/lib/CSSRule.js +43 -0
- data/node_modules/cssom/lib/CSSStyleDeclaration.js +148 -0
- data/node_modules/cssom/lib/CSSStyleRule.js +190 -0
- data/node_modules/cssom/lib/CSSStyleSheet.js +88 -0
- data/node_modules/cssom/lib/CSSValue.js +43 -0
- data/node_modules/cssom/lib/CSSValueExpression.js +344 -0
- data/node_modules/cssom/lib/MatcherList.js +62 -0
- data/node_modules/cssom/lib/MediaList.js +61 -0
- data/node_modules/cssom/lib/StyleSheet.js +17 -0
- data/node_modules/cssom/lib/clone.js +76 -0
- data/node_modules/cssom/lib/index.js +19 -0
- data/node_modules/cssom/lib/parse.js +381 -0
- data/node_modules/cssom/package.json +96 -0
- data/node_modules/cssstyle/.npmignore +1 -0
- data/node_modules/cssstyle/MIT-LICENSE.txt +20 -0
- data/node_modules/cssstyle/README.md +27 -0
- data/node_modules/cssstyle/lib/CSSStyleDeclaration.js +233 -0
- data/node_modules/cssstyle/lib/parsers.js +670 -0
- data/node_modules/cssstyle/lib/properties.js +5858 -0
- data/node_modules/cssstyle/lib/properties/alignmentBaseline.js +12 -0
- data/node_modules/cssstyle/lib/properties/azimuth.js +65 -0
- data/node_modules/cssstyle/lib/properties/background.js +24 -0
- data/node_modules/cssstyle/lib/properties/backgroundAttachment.js +22 -0
- data/node_modules/cssstyle/lib/properties/backgroundClip.js +12 -0
- data/node_modules/cssstyle/lib/properties/backgroundColor.js +33 -0
- data/node_modules/cssstyle/lib/properties/backgroundImage.js +29 -0
- data/node_modules/cssstyle/lib/properties/backgroundOrigin.js +12 -0
- data/node_modules/cssstyle/lib/properties/backgroundPosition.js +56 -0
- data/node_modules/cssstyle/lib/properties/backgroundPositionX.js +12 -0
- data/node_modules/cssstyle/lib/properties/backgroundPositionY.js +12 -0
- data/node_modules/cssstyle/lib/properties/backgroundRepeat.js +25 -0
- data/node_modules/cssstyle/lib/properties/backgroundRepeatX.js +12 -0
- data/node_modules/cssstyle/lib/properties/backgroundRepeatY.js +12 -0
- data/node_modules/cssstyle/lib/properties/backgroundSize.js +12 -0
- data/node_modules/cssstyle/lib/properties/baselineShift.js +12 -0
- data/node_modules/cssstyle/lib/properties/border.js +49 -0
- data/node_modules/cssstyle/lib/properties/borderBottom.js +23 -0
- data/node_modules/cssstyle/lib/properties/borderBottomColor.js +16 -0
- data/node_modules/cssstyle/lib/properties/borderBottomLeftRadius.js +12 -0
- data/node_modules/cssstyle/lib/properties/borderBottomRightRadius.js +12 -0
- data/node_modules/cssstyle/lib/properties/borderBottomStyle.js +21 -0
- data/node_modules/cssstyle/lib/properties/borderBottomWidth.js +16 -0
- data/node_modules/cssstyle/lib/properties/borderCollapse.js +25 -0
- data/node_modules/cssstyle/lib/properties/borderColor.js +28 -0
- data/node_modules/cssstyle/lib/properties/borderImage.js +12 -0
- data/node_modules/cssstyle/lib/properties/borderImageOutset.js +12 -0
- data/node_modules/cssstyle/lib/properties/borderImageRepeat.js +12 -0
- data/node_modules/cssstyle/lib/properties/borderImageSlice.js +12 -0
- data/node_modules/cssstyle/lib/properties/borderImageSource.js +12 -0
- data/node_modules/cssstyle/lib/properties/borderImageWidth.js +12 -0
- data/node_modules/cssstyle/lib/properties/borderLeft.js +23 -0
- data/node_modules/cssstyle/lib/properties/borderLeftColor.js +16 -0
- data/node_modules/cssstyle/lib/properties/borderLeftStyle.js +21 -0
- data/node_modules/cssstyle/lib/properties/borderLeftWidth.js +16 -0
- data/node_modules/cssstyle/lib/properties/borderRadius.js +12 -0
- data/node_modules/cssstyle/lib/properties/borderRight.js +23 -0
- data/node_modules/cssstyle/lib/properties/borderRightColor.js +16 -0
- data/node_modules/cssstyle/lib/properties/borderRightStyle.js +21 -0
- data/node_modules/cssstyle/lib/properties/borderRightWidth.js +16 -0
- data/node_modules/cssstyle/lib/properties/borderSpacing.js +42 -0
- data/node_modules/cssstyle/lib/properties/borderStyle.js +27 -0
- data/node_modules/cssstyle/lib/properties/borderTop.js +22 -0
- data/node_modules/cssstyle/lib/properties/borderTopColor.js +16 -0
- data/node_modules/cssstyle/lib/properties/borderTopLeftRadius.js +12 -0
- data/node_modules/cssstyle/lib/properties/borderTopRightRadius.js +12 -0
- data/node_modules/cssstyle/lib/properties/borderTopStyle.js +21 -0
- data/node_modules/cssstyle/lib/properties/borderTopWidth.js +17 -0
- data/node_modules/cssstyle/lib/properties/borderWidth.js +47 -0
- data/node_modules/cssstyle/lib/properties/bottom.js +14 -0
- data/node_modules/cssstyle/lib/properties/boxShadow.js +12 -0
- data/node_modules/cssstyle/lib/properties/boxSizing.js +12 -0
- data/node_modules/cssstyle/lib/properties/captionSide.js +12 -0
- data/node_modules/cssstyle/lib/properties/clear.js +16 -0
- data/node_modules/cssstyle/lib/properties/clip.js +49 -0
- data/node_modules/cssstyle/lib/properties/color.js +14 -0
- data/node_modules/cssstyle/lib/properties/colorInterpolation.js +12 -0
- data/node_modules/cssstyle/lib/properties/colorInterpolationFilters.js +12 -0
- data/node_modules/cssstyle/lib/properties/colorProfile.js +12 -0
- data/node_modules/cssstyle/lib/properties/colorRendering.js +12 -0
- data/node_modules/cssstyle/lib/properties/content.js +12 -0
- data/node_modules/cssstyle/lib/properties/counterIncrement.js +12 -0
- data/node_modules/cssstyle/lib/properties/counterReset.js +12 -0
- data/node_modules/cssstyle/lib/properties/cssFloat.js +12 -0
- data/node_modules/cssstyle/lib/properties/cue.js +12 -0
- data/node_modules/cssstyle/lib/properties/cueAfter.js +12 -0
- data/node_modules/cssstyle/lib/properties/cueBefore.js +12 -0
- data/node_modules/cssstyle/lib/properties/cursor.js +12 -0
- data/node_modules/cssstyle/lib/properties/direction.js +12 -0
- data/node_modules/cssstyle/lib/properties/display.js +12 -0
- data/node_modules/cssstyle/lib/properties/dominantBaseline.js +12 -0
- data/node_modules/cssstyle/lib/properties/elevation.js +12 -0
- data/node_modules/cssstyle/lib/properties/emptyCells.js +12 -0
- data/node_modules/cssstyle/lib/properties/enableBackground.js +12 -0
- data/node_modules/cssstyle/lib/properties/fill.js +12 -0
- data/node_modules/cssstyle/lib/properties/fillOpacity.js +12 -0
- data/node_modules/cssstyle/lib/properties/fillRule.js +12 -0
- data/node_modules/cssstyle/lib/properties/filter.js +12 -0
- data/node_modules/cssstyle/lib/properties/floodColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/floodOpacity.js +12 -0
- data/node_modules/cssstyle/lib/properties/font.js +40 -0
- data/node_modules/cssstyle/lib/properties/fontFamily.js +33 -0
- data/node_modules/cssstyle/lib/properties/fontSize.js +25 -0
- data/node_modules/cssstyle/lib/properties/fontSizeAdjust.js +12 -0
- data/node_modules/cssstyle/lib/properties/fontStretch.js +12 -0
- data/node_modules/cssstyle/lib/properties/fontStyle.js +18 -0
- data/node_modules/cssstyle/lib/properties/fontVariant.js +18 -0
- data/node_modules/cssstyle/lib/properties/fontWeight.js +18 -0
- data/node_modules/cssstyle/lib/properties/glyphOrientationHorizontal.js +12 -0
- data/node_modules/cssstyle/lib/properties/glyphOrientationVertical.js +12 -0
- data/node_modules/cssstyle/lib/properties/height.js +24 -0
- data/node_modules/cssstyle/lib/properties/imageRendering.js +12 -0
- data/node_modules/cssstyle/lib/properties/kerning.js +12 -0
- data/node_modules/cssstyle/lib/properties/left.js +14 -0
- data/node_modules/cssstyle/lib/properties/letterSpacing.js +12 -0
- data/node_modules/cssstyle/lib/properties/lightingColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/lineHeight.js +21 -0
- data/node_modules/cssstyle/lib/properties/listStyle.js +12 -0
- data/node_modules/cssstyle/lib/properties/listStyleImage.js +12 -0
- data/node_modules/cssstyle/lib/properties/listStylePosition.js +12 -0
- data/node_modules/cssstyle/lib/properties/listStyleType.js +12 -0
- data/node_modules/cssstyle/lib/properties/margin.js +59 -0
- data/node_modules/cssstyle/lib/properties/marginBottom.js +13 -0
- data/node_modules/cssstyle/lib/properties/marginLeft.js +13 -0
- data/node_modules/cssstyle/lib/properties/marginRight.js +13 -0
- data/node_modules/cssstyle/lib/properties/marginTop.js +13 -0
- data/node_modules/cssstyle/lib/properties/marker.js +12 -0
- data/node_modules/cssstyle/lib/properties/markerEnd.js +12 -0
- data/node_modules/cssstyle/lib/properties/markerMid.js +12 -0
- data/node_modules/cssstyle/lib/properties/markerOffset.js +12 -0
- data/node_modules/cssstyle/lib/properties/markerStart.js +12 -0
- data/node_modules/cssstyle/lib/properties/marks.js +12 -0
- data/node_modules/cssstyle/lib/properties/mask.js +12 -0
- data/node_modules/cssstyle/lib/properties/maxHeight.js +12 -0
- data/node_modules/cssstyle/lib/properties/maxWidth.js +12 -0
- data/node_modules/cssstyle/lib/properties/minHeight.js +12 -0
- data/node_modules/cssstyle/lib/properties/minWidth.js +12 -0
- data/node_modules/cssstyle/lib/properties/opacity.js +14 -0
- data/node_modules/cssstyle/lib/properties/orphans.js +12 -0
- data/node_modules/cssstyle/lib/properties/outline.js +12 -0
- data/node_modules/cssstyle/lib/properties/outlineColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/outlineOffset.js +12 -0
- data/node_modules/cssstyle/lib/properties/outlineStyle.js +12 -0
- data/node_modules/cssstyle/lib/properties/outlineWidth.js +12 -0
- data/node_modules/cssstyle/lib/properties/overflow.js +12 -0
- data/node_modules/cssstyle/lib/properties/overflowX.js +12 -0
- data/node_modules/cssstyle/lib/properties/overflowY.js +12 -0
- data/node_modules/cssstyle/lib/properties/padding.js +52 -0
- data/node_modules/cssstyle/lib/properties/paddingBottom.js +13 -0
- data/node_modules/cssstyle/lib/properties/paddingLeft.js +13 -0
- data/node_modules/cssstyle/lib/properties/paddingRight.js +13 -0
- data/node_modules/cssstyle/lib/properties/paddingTop.js +13 -0
- data/node_modules/cssstyle/lib/properties/page.js +12 -0
- data/node_modules/cssstyle/lib/properties/pageBreakAfter.js +12 -0
- data/node_modules/cssstyle/lib/properties/pageBreakBefore.js +12 -0
- data/node_modules/cssstyle/lib/properties/pageBreakInside.js +12 -0
- data/node_modules/cssstyle/lib/properties/pause.js +12 -0
- data/node_modules/cssstyle/lib/properties/pauseAfter.js +12 -0
- data/node_modules/cssstyle/lib/properties/pauseBefore.js +12 -0
- data/node_modules/cssstyle/lib/properties/pitch.js +12 -0
- data/node_modules/cssstyle/lib/properties/pitchRange.js +12 -0
- data/node_modules/cssstyle/lib/properties/playDuring.js +12 -0
- data/node_modules/cssstyle/lib/properties/pointerEvents.js +12 -0
- data/node_modules/cssstyle/lib/properties/position.js +12 -0
- data/node_modules/cssstyle/lib/properties/quotes.js +12 -0
- data/node_modules/cssstyle/lib/properties/resize.js +12 -0
- data/node_modules/cssstyle/lib/properties/richness.js +12 -0
- data/node_modules/cssstyle/lib/properties/right.js +14 -0
- data/node_modules/cssstyle/lib/properties/shapeRendering.js +12 -0
- data/node_modules/cssstyle/lib/properties/size.js +12 -0
- data/node_modules/cssstyle/lib/properties/speak.js +12 -0
- data/node_modules/cssstyle/lib/properties/speakHeader.js +12 -0
- data/node_modules/cssstyle/lib/properties/speakNumeral.js +12 -0
- data/node_modules/cssstyle/lib/properties/speakPunctuation.js +12 -0
- data/node_modules/cssstyle/lib/properties/speechRate.js +12 -0
- data/node_modules/cssstyle/lib/properties/src.js +12 -0
- data/node_modules/cssstyle/lib/properties/stopColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/stopOpacity.js +12 -0
- data/node_modules/cssstyle/lib/properties/stress.js +12 -0
- data/node_modules/cssstyle/lib/properties/stroke.js +12 -0
- data/node_modules/cssstyle/lib/properties/strokeDasharray.js +12 -0
- data/node_modules/cssstyle/lib/properties/strokeDashoffset.js +12 -0
- data/node_modules/cssstyle/lib/properties/strokeLinecap.js +12 -0
- data/node_modules/cssstyle/lib/properties/strokeLinejoin.js +12 -0
- data/node_modules/cssstyle/lib/properties/strokeMiterlimit.js +12 -0
- data/node_modules/cssstyle/lib/properties/strokeOpacity.js +12 -0
- data/node_modules/cssstyle/lib/properties/strokeWidth.js +12 -0
- data/node_modules/cssstyle/lib/properties/tableLayout.js +12 -0
- data/node_modules/cssstyle/lib/properties/textAlign.js +12 -0
- data/node_modules/cssstyle/lib/properties/textAnchor.js +12 -0
- data/node_modules/cssstyle/lib/properties/textDecoration.js +12 -0
- data/node_modules/cssstyle/lib/properties/textIndent.js +12 -0
- data/node_modules/cssstyle/lib/properties/textLineThrough.js +12 -0
- data/node_modules/cssstyle/lib/properties/textLineThroughColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/textLineThroughMode.js +12 -0
- data/node_modules/cssstyle/lib/properties/textLineThroughStyle.js +12 -0
- data/node_modules/cssstyle/lib/properties/textLineThroughWidth.js +12 -0
- data/node_modules/cssstyle/lib/properties/textOverflow.js +12 -0
- data/node_modules/cssstyle/lib/properties/textOverline.js +12 -0
- data/node_modules/cssstyle/lib/properties/textOverlineColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/textOverlineMode.js +12 -0
- data/node_modules/cssstyle/lib/properties/textOverlineStyle.js +12 -0
- data/node_modules/cssstyle/lib/properties/textOverlineWidth.js +12 -0
- data/node_modules/cssstyle/lib/properties/textRendering.js +12 -0
- data/node_modules/cssstyle/lib/properties/textShadow.js +12 -0
- data/node_modules/cssstyle/lib/properties/textTransform.js +12 -0
- data/node_modules/cssstyle/lib/properties/textUnderline.js +12 -0
- data/node_modules/cssstyle/lib/properties/textUnderlineColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/textUnderlineMode.js +12 -0
- data/node_modules/cssstyle/lib/properties/textUnderlineStyle.js +12 -0
- data/node_modules/cssstyle/lib/properties/textUnderlineWidth.js +12 -0
- data/node_modules/cssstyle/lib/properties/top.js +14 -0
- data/node_modules/cssstyle/lib/properties/unicodeBidi.js +12 -0
- data/node_modules/cssstyle/lib/properties/unicodeRange.js +12 -0
- data/node_modules/cssstyle/lib/properties/vectorEffect.js +12 -0
- data/node_modules/cssstyle/lib/properties/verticalAlign.js +12 -0
- data/node_modules/cssstyle/lib/properties/visibility.js +12 -0
- data/node_modules/cssstyle/lib/properties/voiceFamily.js +12 -0
- data/node_modules/cssstyle/lib/properties/volume.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitAnimation.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitAnimationDelay.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitAnimationDirection.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitAnimationDuration.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitAnimationFillMode.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitAnimationIterationCount.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitAnimationName.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitAnimationPlayState.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitAnimationTimingFunction.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitAppearance.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitAspectRatio.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBackfaceVisibility.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBackgroundClip.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBackgroundComposite.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBackgroundOrigin.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBackgroundSize.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderAfter.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderAfterColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderAfterStyle.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderAfterWidth.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderBefore.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderBeforeColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderBeforeStyle.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderBeforeWidth.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderEnd.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderEndColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderEndStyle.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderEndWidth.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderFit.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderHorizontalSpacing.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderImage.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderRadius.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderStart.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderStartColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderStartStyle.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderStartWidth.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderVerticalSpacing.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBoxAlign.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBoxDirection.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBoxFlex.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBoxFlexGroup.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBoxLines.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBoxOrdinalGroup.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBoxOrient.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBoxPack.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBoxReflect.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitBoxShadow.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitColorCorrection.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitColumnAxis.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitColumnBreakAfter.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitColumnBreakBefore.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitColumnBreakInside.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitColumnCount.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitColumnGap.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitColumnRule.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitColumnRuleColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitColumnRuleStyle.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitColumnRuleWidth.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitColumnSpan.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitColumnWidth.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitColumns.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitFilter.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitFlexAlign.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitFlexDirection.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitFlexFlow.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitFlexItemAlign.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitFlexLinePack.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitFlexOrder.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitFlexPack.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitFlexWrap.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitFlowFrom.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitFlowInto.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitFontFeatureSettings.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitFontKerning.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitFontSizeDelta.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitFontSmoothing.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitFontVariantLigatures.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitHighlight.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitHyphenateCharacter.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitHyphenateLimitAfter.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitHyphenateLimitBefore.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitHyphenateLimitLines.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitHyphens.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitLineAlign.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitLineBoxContain.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitLineBreak.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitLineClamp.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitLineGrid.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitLineSnap.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitLocale.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitLogicalHeight.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitLogicalWidth.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMarginAfter.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMarginAfterCollapse.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMarginBefore.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMarginBeforeCollapse.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMarginBottomCollapse.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMarginCollapse.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMarginEnd.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMarginStart.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMarginTopCollapse.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMarquee.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMarqueeDirection.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMarqueeIncrement.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMarqueeRepetition.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMarqueeSpeed.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMarqueeStyle.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMask.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMaskAttachment.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMaskBoxImage.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMaskBoxImageOutset.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMaskBoxImageRepeat.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMaskBoxImageSlice.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMaskBoxImageSource.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMaskBoxImageWidth.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMaskClip.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMaskComposite.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMaskImage.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMaskOrigin.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMaskPosition.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMaskPositionX.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMaskPositionY.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMaskRepeat.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMaskRepeatX.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMaskRepeatY.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMaskSize.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMatchNearestMailBlockquoteColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitMaxLogicalHeight.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMaxLogicalWidth.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMinLogicalHeight.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitMinLogicalWidth.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitNbspMode.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitOverflowScrolling.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitPaddingAfter.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitPaddingBefore.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitPaddingEnd.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitPaddingStart.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitPerspective.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitPerspectiveOrigin.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitPerspectiveOriginX.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitPerspectiveOriginY.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitPrintColorAdjust.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitRegionBreakAfter.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitRegionBreakBefore.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitRegionBreakInside.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitRegionOverflow.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitRtlOrdering.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitSvgShadow.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitTapHighlightColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitTextCombine.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitTextDecorationsInEffect.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitTextEmphasis.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitTextEmphasisColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitTextEmphasisPosition.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitTextEmphasisStyle.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitTextFillColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitTextOrientation.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitTextSecurity.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitTextSizeAdjust.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitTextStroke.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitTextStrokeColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitTextStrokeWidth.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitTransform.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitTransformOrigin.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitTransformOriginX.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitTransformOriginY.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitTransformOriginZ.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitTransformStyle.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitTransition.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitTransitionDelay.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitTransitionDuration.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitTransitionProperty.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitTransitionTimingFunction.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitUserDrag.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitUserModify.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitUserSelect.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitWrap.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitWrapFlow.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitWrapMargin.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitWrapPadding.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitWrapShapeInside.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitWrapShapeOutside.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitWrapThrough.js +12 -0
- data/node_modules/cssstyle/lib/properties/webkitWritingMode.js +12 -0
- data/node_modules/cssstyle/lib/properties/whiteSpace.js +12 -0
- data/node_modules/cssstyle/lib/properties/widows.js +12 -0
- data/node_modules/cssstyle/lib/properties/width.js +24 -0
- data/node_modules/cssstyle/lib/properties/wordBreak.js +12 -0
- data/node_modules/cssstyle/lib/properties/wordSpacing.js +12 -0
- data/node_modules/cssstyle/lib/properties/wordWrap.js +12 -0
- data/node_modules/cssstyle/lib/properties/writingMode.js +12 -0
- data/node_modules/cssstyle/lib/properties/zIndex.js +12 -0
- data/node_modules/cssstyle/lib/properties/zoom.js +12 -0
- data/node_modules/cssstyle/package.json +109 -0
- data/node_modules/cssstyle/scripts/generate_properties.js +302 -0
- data/node_modules/cssstyle/scripts/run_tests.sh +4 -0
- data/node_modules/cssstyle/tests/tests.js +405 -0
- data/node_modules/dashdash/CHANGES.md +364 -0
- data/node_modules/dashdash/LICENSE.txt +24 -0
- data/node_modules/dashdash/README.md +574 -0
- data/node_modules/dashdash/etc/dashdash.bash_completion.in +389 -0
- data/node_modules/dashdash/lib/dashdash.js +1055 -0
- data/node_modules/dashdash/node_modules/assert-plus/AUTHORS +6 -0
- data/node_modules/dashdash/node_modules/assert-plus/CHANGES.md +14 -0
- data/node_modules/dashdash/node_modules/assert-plus/README.md +162 -0
- data/node_modules/dashdash/node_modules/assert-plus/assert.js +211 -0
- data/node_modules/dashdash/node_modules/assert-plus/package.json +115 -0
- data/node_modules/dashdash/package.json +125 -0
- data/node_modules/deep-eql/.npmignore +11 -0
- data/node_modules/deep-eql/History.md +28 -0
- data/node_modules/deep-eql/README.md +52 -0
- data/node_modules/deep-eql/index.js +1 -0
- data/node_modules/deep-eql/karma.conf.js +20 -0
- data/node_modules/deep-eql/lib/eql.js +257 -0
- data/node_modules/deep-eql/node_modules/type-detect/.npmignore +11 -0
- data/node_modules/deep-eql/node_modules/type-detect/History.md +18 -0
- data/node_modules/deep-eql/node_modules/type-detect/README.md +193 -0
- data/node_modules/deep-eql/node_modules/type-detect/index.js +1 -0
- data/node_modules/deep-eql/node_modules/type-detect/lib/type.js +142 -0
- data/node_modules/deep-eql/node_modules/type-detect/package.json +91 -0
- data/node_modules/deep-eql/package.json +98 -0
- data/node_modules/deep-is/.npmignore +1 -0
- data/node_modules/deep-is/.travis.yml +6 -0
- data/node_modules/deep-is/LICENSE +22 -0
- data/node_modules/deep-is/README.markdown +70 -0
- data/node_modules/deep-is/example/cmp.js +11 -0
- data/node_modules/deep-is/index.js +102 -0
- data/node_modules/deep-is/package.json +120 -0
- data/node_modules/deep-is/test/NaN.js +16 -0
- data/node_modules/deep-is/test/cmp.js +23 -0
- data/node_modules/deep-is/test/neg-vs-pos-0.js +15 -0
- data/node_modules/delayed-stream/.npmignore +1 -0
- data/node_modules/delayed-stream/License +19 -0
- data/node_modules/delayed-stream/Makefile +7 -0
- data/node_modules/delayed-stream/Readme.md +141 -0
- data/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
- data/node_modules/delayed-stream/package.json +97 -0
- data/node_modules/ecc-jsbn/.npmignore +15 -0
- data/node_modules/ecc-jsbn/LICENSE +21 -0
- data/node_modules/ecc-jsbn/README.md +8 -0
- data/node_modules/ecc-jsbn/index.js +57 -0
- data/node_modules/ecc-jsbn/lib/LICENSE-jsbn +40 -0
- data/node_modules/ecc-jsbn/lib/ec.js +561 -0
- data/node_modules/ecc-jsbn/lib/sec.js +170 -0
- data/node_modules/ecc-jsbn/package.json +90 -0
- data/node_modules/ecc-jsbn/test.js +14 -0
- data/node_modules/escape-string-regexp/index.js +11 -0
- data/node_modules/escape-string-regexp/license +21 -0
- data/node_modules/escape-string-regexp/package.json +109 -0
- data/node_modules/escape-string-regexp/readme.md +27 -0
- data/node_modules/escodegen/LICENSE.BSD +19 -0
- data/node_modules/escodegen/LICENSE.source-map +27 -0
- data/node_modules/escodegen/README.md +116 -0
- data/node_modules/escodegen/bin/escodegen.js +77 -0
- data/node_modules/escodegen/bin/esgenerate.js +64 -0
- data/node_modules/escodegen/escodegen.js +2607 -0
- data/node_modules/escodegen/package.json +122 -0
- data/node_modules/esprima/ChangeLog +174 -0
- data/node_modules/esprima/LICENSE.BSD +21 -0
- data/node_modules/esprima/README.md +27 -0
- data/node_modules/esprima/bin/esparse.js +126 -0
- data/node_modules/esprima/bin/esvalidate.js +199 -0
- data/node_modules/esprima/esprima.js +5740 -0
- data/node_modules/esprima/package.json +153 -0
- data/node_modules/estraverse/.editorconfig +10 -0
- data/node_modules/estraverse/.jshintrc +16 -0
- data/node_modules/estraverse/LICENSE.BSD +19 -0
- data/node_modules/estraverse/README.md +124 -0
- data/node_modules/estraverse/estraverse.js +845 -0
- data/node_modules/estraverse/gulpfile.js +70 -0
- data/node_modules/estraverse/package.json +95 -0
- data/node_modules/esutils/LICENSE.BSD +19 -0
- data/node_modules/esutils/README.md +169 -0
- data/node_modules/esutils/lib/ast.js +144 -0
- data/node_modules/esutils/lib/code.js +135 -0
- data/node_modules/esutils/lib/keyword.js +165 -0
- data/node_modules/esutils/lib/utils.js +33 -0
- data/node_modules/esutils/package.json +105 -0
- data/node_modules/extend/.eslintrc +192 -0
- data/node_modules/extend/.jscs.json +104 -0
- data/node_modules/extend/.npmignore +1 -0
- data/node_modules/extend/.travis.yml +44 -0
- data/node_modules/extend/CHANGELOG.md +69 -0
- data/node_modules/extend/LICENSE +23 -0
- data/node_modules/extend/README.md +62 -0
- data/node_modules/extend/component.json +32 -0
- data/node_modules/extend/index.js +86 -0
- data/node_modules/extend/package.json +106 -0
- data/node_modules/extsprintf/.gitmodules +6 -0
- data/node_modules/extsprintf/LICENSE +19 -0
- data/node_modules/extsprintf/Makefile +23 -0
- data/node_modules/extsprintf/Makefile.deps +39 -0
- data/node_modules/extsprintf/Makefile.targ +285 -0
- data/node_modules/extsprintf/README.md +39 -0
- data/node_modules/extsprintf/examples/simple.js +2 -0
- data/node_modules/extsprintf/jsl.node.conf +137 -0
- data/node_modules/extsprintf/lib/extsprintf.js +166 -0
- data/node_modules/extsprintf/package.json +74 -0
- data/node_modules/fast-levenshtein/LICENSE.md +25 -0
- data/node_modules/fast-levenshtein/README.md +104 -0
- data/node_modules/fast-levenshtein/levenshtein.js +102 -0
- data/node_modules/fast-levenshtein/package.json +108 -0
- data/node_modules/forever-agent/LICENSE +55 -0
- data/node_modules/forever-agent/README.md +4 -0
- data/node_modules/forever-agent/index.js +138 -0
- data/node_modules/forever-agent/package.json +88 -0
- data/node_modules/form-data/License +19 -0
- data/node_modules/form-data/README.md +217 -0
- data/node_modules/form-data/lib/browser.js +2 -0
- data/node_modules/form-data/lib/form_data.js +440 -0
- data/node_modules/form-data/lib/populate.js +10 -0
- data/node_modules/form-data/package.json +145 -0
- data/node_modules/generate-function/.npmignore +1 -0
- data/node_modules/generate-function/.travis.yml +3 -0
- data/node_modules/generate-function/README.md +72 -0
- data/node_modules/generate-function/example.js +27 -0
- data/node_modules/generate-function/index.js +61 -0
- data/node_modules/generate-function/package.json +87 -0
- data/node_modules/generate-function/test.js +33 -0
- data/node_modules/generate-object-property/.npmignore +1 -0
- data/node_modules/generate-object-property/.travis.yml +3 -0
- data/node_modules/generate-object-property/LICENSE +21 -0
- data/node_modules/generate-object-property/README.md +19 -0
- data/node_modules/generate-object-property/index.js +12 -0
- data/node_modules/generate-object-property/package.json +84 -0
- data/node_modules/generate-object-property/test.js +12 -0
- data/node_modules/getpass/.npmignore +8 -0
- data/node_modules/getpass/.travis.yml +9 -0
- data/node_modules/getpass/LICENSE +18 -0
- data/node_modules/getpass/README.md +32 -0
- data/node_modules/getpass/lib/index.js +123 -0
- data/node_modules/getpass/node_modules/assert-plus/AUTHORS +6 -0
- data/node_modules/getpass/node_modules/assert-plus/CHANGES.md +14 -0
- data/node_modules/getpass/node_modules/assert-plus/README.md +162 -0
- data/node_modules/getpass/node_modules/assert-plus/assert.js +211 -0
- data/node_modules/getpass/node_modules/assert-plus/package.json +115 -0
- data/node_modules/getpass/package.json +90 -0
- data/node_modules/graceful-readlink/.npmignore +3 -0
- data/node_modules/graceful-readlink/.travis.yml +5 -0
- data/node_modules/graceful-readlink/LICENSE +22 -0
- data/node_modules/graceful-readlink/README.md +17 -0
- data/node_modules/graceful-readlink/index.js +12 -0
- data/node_modules/graceful-readlink/package.json +83 -0
- data/node_modules/har-validator/LICENSE +13 -0
- data/node_modules/har-validator/README.md +309 -0
- data/node_modules/har-validator/bin/har-validator +56 -0
- data/node_modules/har-validator/lib/async.js +14 -0
- data/node_modules/har-validator/lib/error.js +10 -0
- data/node_modules/har-validator/lib/index.js +22 -0
- data/node_modules/har-validator/lib/runner.js +29 -0
- data/node_modules/har-validator/lib/schemas/cache.json +13 -0
- data/node_modules/har-validator/lib/schemas/cacheEntry.json +31 -0
- data/node_modules/har-validator/lib/schemas/content.json +27 -0
- data/node_modules/har-validator/lib/schemas/cookie.json +34 -0
- data/node_modules/har-validator/lib/schemas/creator.json +18 -0
- data/node_modules/har-validator/lib/schemas/entry.json +51 -0
- data/node_modules/har-validator/lib/schemas/har.json +11 -0
- data/node_modules/har-validator/lib/schemas/index.js +49 -0
- data/node_modules/har-validator/lib/schemas/log.json +34 -0
- data/node_modules/har-validator/lib/schemas/page.json +30 -0
- data/node_modules/har-validator/lib/schemas/pageTimings.json +16 -0
- data/node_modules/har-validator/lib/schemas/postData.json +41 -0
- data/node_modules/har-validator/lib/schemas/record.json +18 -0
- data/node_modules/har-validator/lib/schemas/request.json +55 -0
- data/node_modules/har-validator/lib/schemas/response.json +52 -0
- data/node_modules/har-validator/lib/schemas/timings.json +40 -0
- data/node_modules/har-validator/package.json +120 -0
- data/node_modules/has-ansi/index.js +4 -0
- data/node_modules/has-ansi/license +21 -0
- data/node_modules/has-ansi/package.json +118 -0
- data/node_modules/has-ansi/readme.md +36 -0
- data/node_modules/hawk/.npmignore +20 -0
- data/node_modules/hawk/.travis.yml +5 -0
- data/node_modules/hawk/LICENSE +28 -0
- data/node_modules/hawk/README.md +634 -0
- data/node_modules/hawk/bower.json +24 -0
- data/node_modules/hawk/component.json +19 -0
- data/node_modules/hawk/dist/client.js +343 -0
- data/node_modules/hawk/example/usage.js +78 -0
- data/node_modules/hawk/images/hawk.png +0 -0
- data/node_modules/hawk/images/logo.png +0 -0
- data/node_modules/hawk/lib/browser.js +637 -0
- data/node_modules/hawk/lib/client.js +369 -0
- data/node_modules/hawk/lib/crypto.js +126 -0
- data/node_modules/hawk/lib/index.js +15 -0
- data/node_modules/hawk/lib/server.js +548 -0
- data/node_modules/hawk/lib/utils.js +184 -0
- data/node_modules/hawk/package.json +101 -0
- data/node_modules/hawk/test/browser.js +1492 -0
- data/node_modules/hawk/test/client.js +440 -0
- data/node_modules/hawk/test/crypto.js +70 -0
- data/node_modules/hawk/test/index.js +378 -0
- data/node_modules/hawk/test/readme.js +95 -0
- data/node_modules/hawk/test/server.js +1329 -0
- data/node_modules/hawk/test/uri.js +838 -0
- data/node_modules/hawk/test/utils.js +149 -0
- data/node_modules/hoek/.npmignore +18 -0
- data/node_modules/hoek/.travis.yml +7 -0
- data/node_modules/hoek/CONTRIBUTING.md +1 -0
- data/node_modules/hoek/LICENSE +31 -0
- data/node_modules/hoek/README.md +584 -0
- data/node_modules/hoek/images/hoek.png +0 -0
- data/node_modules/hoek/lib/escape.js +132 -0
- data/node_modules/hoek/lib/index.js +993 -0
- data/node_modules/hoek/package.json +96 -0
- data/node_modules/hoek/test/escaper.js +88 -0
- data/node_modules/hoek/test/index.js +2513 -0
- data/node_modules/hoek/test/modules/ignore.txt +0 -0
- data/node_modules/hoek/test/modules/test1.js +1 -0
- data/node_modules/hoek/test/modules/test2.js +1 -0
- data/node_modules/hoek/test/modules/test3.js +1 -0
- data/node_modules/html-encoding-sniffer/LICENSE.txt +19 -0
- data/node_modules/html-encoding-sniffer/README.md +38 -0
- data/node_modules/html-encoding-sniffer/lib/html-encoding-sniffer.js +302 -0
- data/node_modules/html-encoding-sniffer/package.json +98 -0
- data/node_modules/http-signature/.dir-locals.el +6 -0
- data/node_modules/http-signature/.npmignore +7 -0
- data/node_modules/http-signature/CHANGES.md +46 -0
- data/node_modules/http-signature/LICENSE +18 -0
- data/node_modules/http-signature/README.md +79 -0
- data/node_modules/http-signature/http_signing.md +363 -0
- data/node_modules/http-signature/lib/index.js +29 -0
- data/node_modules/http-signature/lib/parser.js +318 -0
- data/node_modules/http-signature/lib/signer.js +399 -0
- data/node_modules/http-signature/lib/utils.js +112 -0
- data/node_modules/http-signature/lib/verify.js +88 -0
- data/node_modules/http-signature/package.json +116 -0
- data/node_modules/iconv-lite/.npmignore +6 -0
- data/node_modules/iconv-lite/.travis.yml +22 -0
- data/node_modules/iconv-lite/Changelog.md +108 -0
- data/node_modules/iconv-lite/LICENSE +21 -0
- data/node_modules/iconv-lite/README.md +159 -0
- data/node_modules/iconv-lite/encodings/dbcs-codec.js +554 -0
- data/node_modules/iconv-lite/encodings/dbcs-data.js +176 -0
- data/node_modules/iconv-lite/encodings/index.js +22 -0
- data/node_modules/iconv-lite/encodings/internal.js +187 -0
- data/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
- data/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- data/node_modules/iconv-lite/encodings/sbcs-data.js +169 -0
- data/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- data/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- data/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- data/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- data/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- data/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- data/node_modules/iconv-lite/encodings/tables/gbk-added.json +55 -0
- data/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- data/node_modules/iconv-lite/encodings/utf16.js +176 -0
- data/node_modules/iconv-lite/encodings/utf7.js +289 -0
- data/node_modules/iconv-lite/lib/bom-handling.js +52 -0
- data/node_modules/iconv-lite/lib/extend-node.js +214 -0
- data/node_modules/iconv-lite/lib/index.d.ts +31 -0
- data/node_modules/iconv-lite/lib/index.js +141 -0
- data/node_modules/iconv-lite/lib/streams.js +120 -0
- data/node_modules/iconv-lite/package.json +158 -0
- data/node_modules/is-my-json-valid/.npmignore +2 -0
- data/node_modules/is-my-json-valid/.travis.yml +3 -0
- data/node_modules/is-my-json-valid/LICENSE +21 -0
- data/node_modules/is-my-json-valid/README.md +173 -0
- data/node_modules/is-my-json-valid/example.js +18 -0
- data/node_modules/is-my-json-valid/formats.js +14 -0
- data/node_modules/is-my-json-valid/index.js +594 -0
- data/node_modules/is-my-json-valid/package.json +116 -0
- data/node_modules/is-my-json-valid/require.js +12 -0
- data/node_modules/is-my-json-valid/test/fixtures/cosmic.js +84 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/additionalItems.json +82 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/additionalProperties.json +88 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/allOf.json +112 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/anyOf.json +68 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/bignum.json +107 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/default.json +49 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/definitions.json +32 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/dependencies.json +113 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/enum.json +72 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/format.json +143 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/items.json +46 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/maxItems.json +28 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/maxLength.json +28 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/maxProperties.json +28 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/maximum.json +42 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/minItems.json +28 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/minLength.json +28 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/minProperties.json +28 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/minimum.json +42 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/multipleOf.json +96 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/not.json +96 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndFormat.json +18 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndObject.json +18 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/oneOf.json +68 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/pattern.json +23 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/patternProperties.json +110 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/properties.json +92 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/ref.json +128 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/refRemote.json +74 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/required.json +39 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/type.json +330 -0
- data/node_modules/is-my-json-valid/test/json-schema-draft4/uniqueItems.json +79 -0
- data/node_modules/is-my-json-valid/test/json-schema.js +23 -0
- data/node_modules/is-my-json-valid/test/misc.js +471 -0
- data/node_modules/is-property/.npmignore +17 -0
- data/node_modules/is-property/LICENSE +22 -0
- data/node_modules/is-property/README.md +28 -0
- data/node_modules/is-property/is-property.js +5 -0
- data/node_modules/is-property/package.json +92 -0
- data/node_modules/is-typedarray/LICENSE.md +18 -0
- data/node_modules/is-typedarray/README.md +16 -0
- data/node_modules/is-typedarray/index.js +41 -0
- data/node_modules/is-typedarray/package.json +90 -0
- data/node_modules/is-typedarray/test.js +34 -0
- data/node_modules/isstream/.jshintrc +59 -0
- data/node_modules/isstream/.npmignore +1 -0
- data/node_modules/isstream/.travis.yml +12 -0
- data/node_modules/isstream/LICENSE.md +11 -0
- data/node_modules/isstream/README.md +66 -0
- data/node_modules/isstream/isstream.js +27 -0
- data/node_modules/isstream/package.json +93 -0
- data/node_modules/isstream/test.js +168 -0
- data/node_modules/jodid25519/.npmignore +11 -0
- data/node_modules/jodid25519/.travis.yml +7 -0
- data/node_modules/jodid25519/AUTHORS.md +3 -0
- data/node_modules/jodid25519/LICENSE +23 -0
- data/node_modules/jodid25519/README.md +51 -0
- data/node_modules/jodid25519/almond.0 +42 -0
- data/node_modules/jodid25519/almond.1 +13 -0
- data/node_modules/jodid25519/index.js +35 -0
- data/node_modules/jodid25519/jsdoc.json +19 -0
- data/node_modules/jodid25519/lib/core.js +481 -0
- data/node_modules/jodid25519/lib/curve255.js +221 -0
- data/node_modules/jodid25519/lib/dh.js +111 -0
- data/node_modules/jodid25519/lib/eddsa.js +573 -0
- data/node_modules/jodid25519/lib/utils.js +198 -0
- data/node_modules/jodid25519/package.json +104 -0
- data/node_modules/jquery/AUTHORS.txt +295 -0
- data/node_modules/jquery/LICENSE.txt +36 -0
- data/node_modules/jquery/README.md +65 -0
- data/node_modules/jquery/bower.json +14 -0
- data/node_modules/jquery/dist/core.js +482 -0
- data/node_modules/jquery/dist/jquery.js +10220 -0
- data/node_modules/jquery/dist/jquery.min.js +4 -0
- data/node_modules/jquery/dist/jquery.min.map +1 -0
- data/node_modules/jquery/dist/jquery.slim.js +8107 -0
- data/node_modules/jquery/dist/jquery.slim.min.js +4 -0
- data/node_modules/jquery/dist/jquery.slim.min.map +1 -0
- data/node_modules/jquery/external/sizzle/LICENSE.txt +36 -0
- data/node_modules/jquery/external/sizzle/dist/sizzle.js +2272 -0
- data/node_modules/jquery/external/sizzle/dist/sizzle.min.js +3 -0
- data/node_modules/jquery/external/sizzle/dist/sizzle.min.map +1 -0
- data/node_modules/jquery/package.json +169 -0
- data/node_modules/jquery/src/.eslintrc.json +18 -0
- data/node_modules/jquery/src/ajax.js +855 -0
- data/node_modules/jquery/src/ajax/jsonp.js +102 -0
- data/node_modules/jquery/src/ajax/load.js +76 -0
- data/node_modules/jquery/src/ajax/parseXML.js +30 -0
- data/node_modules/jquery/src/ajax/script.js +77 -0
- data/node_modules/jquery/src/ajax/var/location.js +5 -0
- data/node_modules/jquery/src/ajax/var/nonce.js +7 -0
- data/node_modules/jquery/src/ajax/var/rquery.js +5 -0
- data/node_modules/jquery/src/ajax/xhr.js +169 -0
- data/node_modules/jquery/src/attributes.js +13 -0
- data/node_modules/jquery/src/attributes/attr.js +140 -0
- data/node_modules/jquery/src/attributes/classes.js +174 -0
- data/node_modules/jquery/src/attributes/prop.js +143 -0
- data/node_modules/jquery/src/attributes/support.js +33 -0
- data/node_modules/jquery/src/attributes/val.js +188 -0
- data/node_modules/jquery/src/callbacks.js +234 -0
- data/node_modules/jquery/src/core.js +482 -0
- data/node_modules/jquery/src/core/DOMEval.js +16 -0
- data/node_modules/jquery/src/core/access.js +70 -0
- data/node_modules/jquery/src/core/init.js +127 -0
- data/node_modules/jquery/src/core/parseHTML.js +65 -0
- data/node_modules/jquery/src/core/ready-no-deferred.js +105 -0
- data/node_modules/jquery/src/core/ready.js +95 -0
- data/node_modules/jquery/src/core/readyException.js +13 -0
- data/node_modules/jquery/src/core/stripAndCollapse.js +14 -0
- data/node_modules/jquery/src/core/support.js +20 -0
- data/node_modules/jquery/src/core/var/rsingleTag.js +6 -0
- data/node_modules/jquery/src/css.js +426 -0
- data/node_modules/jquery/src/css/addGetHookIf.js +26 -0
- data/node_modules/jquery/src/css/adjustCSS.js +71 -0
- data/node_modules/jquery/src/css/curCSS.js +59 -0
- data/node_modules/jquery/src/css/hiddenVisibleSelectors.js +15 -0
- data/node_modules/jquery/src/css/showHide.js +105 -0
- data/node_modules/jquery/src/css/support.js +89 -0
- data/node_modules/jquery/src/css/var/cssExpand.js +5 -0
- data/node_modules/jquery/src/css/var/getStyles.js +17 -0
- data/node_modules/jquery/src/css/var/isHiddenWithinTree.js +34 -0
- data/node_modules/jquery/src/css/var/rmargin.js +5 -0
- data/node_modules/jquery/src/css/var/rnumnonpx.js +7 -0
- data/node_modules/jquery/src/css/var/swap.js +26 -0
- data/node_modules/jquery/src/data.js +179 -0
- data/node_modules/jquery/src/data/Data.js +161 -0
- data/node_modules/jquery/src/data/var/acceptData.js +19 -0
- data/node_modules/jquery/src/data/var/dataPriv.js +7 -0
- data/node_modules/jquery/src/data/var/dataUser.js +7 -0
- data/node_modules/jquery/src/deferred.js +389 -0
- data/node_modules/jquery/src/deferred/exceptionHook.js +21 -0
- data/node_modules/jquery/src/deprecated.js +30 -0
- data/node_modules/jquery/src/dimensions.js +56 -0
- data/node_modules/jquery/src/effects.js +693 -0
- data/node_modules/jquery/src/effects/Tween.js +123 -0
- data/node_modules/jquery/src/effects/animatedSelector.js +15 -0
- data/node_modules/jquery/src/event.js +745 -0
- data/node_modules/jquery/src/event/ajax.js +22 -0
- data/node_modules/jquery/src/event/alias.js +29 -0
- data/node_modules/jquery/src/event/focusin.js +55 -0
- data/node_modules/jquery/src/event/support.js +11 -0
- data/node_modules/jquery/src/event/trigger.js +185 -0
- data/node_modules/jquery/src/exports/amd.js +26 -0
- data/node_modules/jquery/src/exports/global.js +34 -0
- data/node_modules/jquery/src/jquery.js +41 -0
- data/node_modules/jquery/src/manipulation.js +486 -0
- data/node_modules/jquery/src/manipulation/_evalUrl.js +23 -0
- data/node_modules/jquery/src/manipulation/buildFragment.js +104 -0
- data/node_modules/jquery/src/manipulation/getAll.js +31 -0
- data/node_modules/jquery/src/manipulation/setGlobalEval.js +22 -0
- data/node_modules/jquery/src/manipulation/support.js +35 -0
- data/node_modules/jquery/src/manipulation/var/rcheckableType.js +5 -0
- data/node_modules/jquery/src/manipulation/var/rscriptType.js +5 -0
- data/node_modules/jquery/src/manipulation/var/rtagName.js +5 -0
- data/node_modules/jquery/src/manipulation/wrapMap.js +29 -0
- data/node_modules/jquery/src/offset.js +232 -0
- data/node_modules/jquery/src/queue.js +145 -0
- data/node_modules/jquery/src/queue/delay.js +24 -0
- data/node_modules/jquery/src/selector-native.js +237 -0
- data/node_modules/jquery/src/selector-sizzle.js +19 -0
- data/node_modules/jquery/src/selector.js +3 -0
- data/node_modules/jquery/src/serialize.js +130 -0
- data/node_modules/jquery/src/traversing.js +178 -0
- data/node_modules/jquery/src/traversing/findFilter.js +106 -0
- data/node_modules/jquery/src/traversing/var/dir.js +22 -0
- data/node_modules/jquery/src/traversing/var/rneedsContext.js +8 -0
- data/node_modules/jquery/src/traversing/var/siblings.js +17 -0
- data/node_modules/jquery/src/var/ObjectFunctionString.js +7 -0
- data/node_modules/jquery/src/var/arr.js +5 -0
- data/node_modules/jquery/src/var/class2type.js +6 -0
- data/node_modules/jquery/src/var/concat.js +7 -0
- data/node_modules/jquery/src/var/document.js +5 -0
- data/node_modules/jquery/src/var/documentElement.js +7 -0
- data/node_modules/jquery/src/var/fnToString.js +7 -0
- data/node_modules/jquery/src/var/getProto.js +5 -0
- data/node_modules/jquery/src/var/hasOwn.js +7 -0
- data/node_modules/jquery/src/var/indexOf.js +7 -0
- data/node_modules/jquery/src/var/pnum.js +5 -0
- data/node_modules/jquery/src/var/push.js +7 -0
- data/node_modules/jquery/src/var/rcssNum.js +9 -0
- data/node_modules/jquery/src/var/rnothtmlwhite.js +8 -0
- data/node_modules/jquery/src/var/slice.js +7 -0
- data/node_modules/jquery/src/var/support.js +6 -0
- data/node_modules/jquery/src/var/toString.js +7 -0
- data/node_modules/jquery/src/wrap.js +77 -0
- data/node_modules/jsbn/.npmignore +2 -0
- data/node_modules/jsbn/LICENSE +40 -0
- data/node_modules/jsbn/README.md +175 -0
- data/node_modules/jsbn/example.html +12 -0
- data/node_modules/jsbn/example.js +3 -0
- data/node_modules/jsbn/index.js +1358 -0
- data/node_modules/jsbn/package.json +87 -0
- data/node_modules/jsdom-global/.npmignore +1 -0
- data/node_modules/jsdom-global/.travis.yml +6 -0
- data/node_modules/jsdom-global/HISTORY.md +85 -0
- data/node_modules/jsdom-global/README.md +137 -0
- data/node_modules/jsdom-global/browser.js +10 -0
- data/node_modules/jsdom-global/index.js +46 -0
- data/node_modules/jsdom-global/keys.js +187 -0
- data/node_modules/jsdom-global/package.json +95 -0
- data/node_modules/jsdom-global/register.js +1 -0
- data/node_modules/jsdom-global/test.js +22 -0
- data/node_modules/jsdom/Changelog.md +1254 -0
- data/node_modules/jsdom/LICENSE.txt +22 -0
- data/node_modules/jsdom/README.md +592 -0
- data/node_modules/jsdom/lib/jsdom.js +456 -0
- data/node_modules/jsdom/lib/jsdom/browser/Window.js +502 -0
- data/node_modules/jsdom/lib/jsdom/browser/default-stylesheet.js +1129 -0
- data/node_modules/jsdom/lib/jsdom/browser/documentAdapter.js +73 -0
- data/node_modules/jsdom/lib/jsdom/browser/documentfeatures.js +47 -0
- data/node_modules/jsdom/lib/jsdom/browser/domtohtml.js +19 -0
- data/node_modules/jsdom/lib/jsdom/browser/htmltodom.js +323 -0
- data/node_modules/jsdom/lib/jsdom/browser/not-implemented.js +13 -0
- data/node_modules/jsdom/lib/jsdom/browser/resource-loader.js +275 -0
- data/node_modules/jsdom/lib/jsdom/level2/style.js +69 -0
- data/node_modules/jsdom/lib/jsdom/level3/xpath.js +1874 -0
- data/node_modules/jsdom/lib/jsdom/living/attributes.js +468 -0
- data/node_modules/jsdom/lib/jsdom/living/attributes/Attr-impl.js +87 -0
- data/node_modules/jsdom/lib/jsdom/living/blob-symbols.js +6 -0
- data/node_modules/jsdom/lib/jsdom/living/blob.js +73 -0
- data/node_modules/jsdom/lib/jsdom/living/dom-token-list.js +222 -0
- data/node_modules/jsdom/lib/jsdom/living/domparsing/DOMParser-impl.js +61 -0
- data/node_modules/jsdom/lib/jsdom/living/events/CustomEvent-impl.js +18 -0
- data/node_modules/jsdom/lib/jsdom/living/events/ErrorEvent-impl.js +11 -0
- data/node_modules/jsdom/lib/jsdom/living/events/Event-impl.js +77 -0
- data/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js +303 -0
- data/node_modules/jsdom/lib/jsdom/living/events/FocusEvent-impl.js +4 -0
- data/node_modules/jsdom/lib/jsdom/living/events/HashChangeEvent-impl.js +11 -0
- data/node_modules/jsdom/lib/jsdom/living/events/KeyboardEvent-impl.js +21 -0
- data/node_modules/jsdom/lib/jsdom/living/events/MessageEvent-impl.js +22 -0
- data/node_modules/jsdom/lib/jsdom/living/events/MouseEvent-impl.js +28 -0
- data/node_modules/jsdom/lib/jsdom/living/events/PopStateEvent-impl.js +4 -0
- data/node_modules/jsdom/lib/jsdom/living/events/ProgressEvent-impl.js +11 -0
- data/node_modules/jsdom/lib/jsdom/living/events/TouchEvent-impl.js +11 -0
- data/node_modules/jsdom/lib/jsdom/living/events/UIEvent-impl.js +19 -0
- data/node_modules/jsdom/lib/jsdom/living/file-reader.js +133 -0
- data/node_modules/jsdom/lib/jsdom/living/file-symbols.js +4 -0
- data/node_modules/jsdom/lib/jsdom/living/file.js +22 -0
- data/node_modules/jsdom/lib/jsdom/living/filelist-symbols.js +3 -0
- data/node_modules/jsdom/lib/jsdom/living/filelist.js +21 -0
- data/node_modules/jsdom/lib/jsdom/living/form-data-symbols.js +3 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/.gitkeep +0 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/AddEventListenerOptions.js +34 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Attr.js +169 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CharacterData.js +189 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ChildNode.js +92 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Comment.js +92 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CustomEvent.js +122 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CustomEventInit.js +34 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/DOMImplementation.js +143 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/DOMParser.js +97 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Document.js +712 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/DocumentFragment.js +91 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/DocumentType.js +110 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Element.js +552 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ElementCSSInlineStyle.js +88 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ElementContentEditable.js +77 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ErrorEvent.js +137 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ErrorEventInit.js +56 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Event.js +251 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/EventInit.js +40 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/EventListenerOptions.js +32 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/EventModifierInit.js +146 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js +130 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/FocusEvent.js +104 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/FocusEventInit.js +34 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/FormData.js +179 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/GlobalEventHandlers.js +770 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAnchorElement.js +228 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAppletElement.js +225 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAreaElement.js +167 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAudioElement.js +82 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLBRElement.js +95 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLBaseElement.js +107 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLBodyElement.js +164 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLButtonElement.js +189 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js +181 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDListElement.js +98 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDataElement.js +95 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDataListElement.js +82 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDialogElement.js +98 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDirectoryElement.js +98 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDivElement.js +95 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js +205 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLEmbedElement.js +159 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFieldSetElement.js +119 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFontElement.js +121 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFormElement.js +211 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFrameElement.js +203 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFrameSetElement.js +112 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHRElement.js +150 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHeadElement.js +82 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHeadingElement.js +95 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHtmlElement.js +95 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHyperlinkElementUtils.js +205 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLIFrameElement.js +278 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLImageElement.js +326 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLInputElement.js +583 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLIElement.js +108 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLabelElement.js +103 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLegendElement.js +103 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLinkElement.js +206 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMapElement.js +103 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMediaElement.js +505 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMenuElement.js +124 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMetaElement.js +134 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMeterElement.js +82 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLModElement.js +108 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOListElement.js +140 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLObjectElement.js +309 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptGroupElement.js +111 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptionElement.js +178 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOutputElement.js +95 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLParagraphElement.js +95 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLParamElement.js +134 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLPreElement.js +95 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLProgressElement.js +82 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLQuoteElement.js +95 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLScriptElement.js +204 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSelectElement.js +260 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSourceElement.js +146 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSpanElement.js +82 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLStyleElement.js +125 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableCaptionElement.js +95 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableCellElement.js +245 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableColElement.js +161 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableDataCellElement.js +95 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableElement.js +357 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableHeaderCellElement.js +121 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableRowElement.js +202 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableSectionElement.js +173 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTemplateElement.js +90 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTextAreaElement.js +415 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTimeElement.js +95 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTitleElement.js +94 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTrackElement.js +193 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLUListElement.js +111 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLUnknownElement.js +82 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLVideoElement.js +138 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HashChangeEvent.js +113 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HashChangeEventInit.js +38 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/History.js +179 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/KeyboardEvent.js +269 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/KeyboardEventInit.js +90 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/LinkStyle.js +85 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Location.js +227 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/MessageEvent.js +164 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/MessageEventInit.js +56 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/MouseEvent.js +234 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/MouseEventInit.js +82 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Navigator.js +96 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/NavigatorConcurrentHardware.js +85 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/NavigatorCookies.js +85 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/NavigatorID.js +149 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/NavigatorLanguage.js +93 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/NavigatorOnLine.js +85 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/NavigatorPlugins.js +88 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Node.js +512 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/NonDocumentTypeChildNode.js +93 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/NonElementParentNode.js +92 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ParentNode.js +139 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/PopStateEvent.js +105 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/PopStateEventInit.js +32 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ProcessingInstruction.js +90 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ProgressEvent.js +122 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ProgressEventInit.js +50 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ScrollIntoViewOptions.js +42 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ScrollOptions.js +32 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Text.js +107 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/TouchEvent.js +138 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/TreeWalker.js +189 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/UIEvent.js +134 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/UIEventInit.js +42 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Window.js +1 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/WindowEventHandlers.js +242 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLDocument.js +82 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/utils.js +40 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/document-base-url.js +53 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/focusing.js +74 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/form-controls.js +43 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/internal-constants.js +13 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/ordered-set-parser.js +5 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/proxied-window-event-handlers.js +11 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js +68 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js +30 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/stylesheets.js +78 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/traversal.js +51 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/validate-names.js +62 -0
- data/node_modules/jsdom/lib/jsdom/living/html-collection.js +109 -0
- data/node_modules/jsdom/lib/jsdom/living/index.js +57 -0
- data/node_modules/jsdom/lib/jsdom/living/named-properties-window.js +139 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/Navigator-impl.js +24 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorConcurrentHardware-impl.js +8 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorCookies-impl.js +7 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorID-impl.js +37 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorLanguage-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorOnLine-impl.js +7 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorPlugins-impl.js +7 -0
- data/node_modules/jsdom/lib/jsdom/living/node-document-position.js +10 -0
- data/node_modules/jsdom/lib/jsdom/living/node-filter.js +47 -0
- data/node_modules/jsdom/lib/jsdom/living/node-iterator.js +232 -0
- data/node_modules/jsdom/lib/jsdom/living/node-list.js +85 -0
- data/node_modules/jsdom/lib/jsdom/living/node-type.js +16 -0
- data/node_modules/jsdom/lib/jsdom/living/node.js +189 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/CharacterData-impl.js +78 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/ChildNode-impl.js +15 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/Comment-impl.js +17 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/DOMImplementation-impl.js +176 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/Document-impl.js +777 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/DocumentFragment-impl.js +21 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/DocumentType-impl.js +26 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js +491 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/ElementCSSInlineStyle-impl.js +7 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/ElementContentEditable-impl.js +7 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/GlobalEventHandlers-impl.js +7 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAnchorElement-impl.js +25 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAppletElement-impl.js +26 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAreaElement-impl.js +18 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAudioElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBRElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBaseElement-impl.js +27 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBodyElement-impl.js +30 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLButtonElement-impl.js +58 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js +134 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDListElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDataElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDataListElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDialogElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDirectoryElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDivElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js +144 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLEmbedElement-impl.js +18 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFieldSetElement-impl.js +14 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFontElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFormElement-impl.js +125 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFrameElement-impl.js +181 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFrameSetElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHRElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHeadElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHeadingElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHtmlElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHyperlinkElementUtils-impl.js +275 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLIFrameElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLImageElement-impl.js +93 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLInputElement-impl.js +396 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLIElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLabelElement-impl.js +72 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLegendElement-impl.js +14 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLinkElement-impl.js +76 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMapElement-impl.js +13 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMediaElement-impl.js +140 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMenuElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMetaElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMeterElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLModElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOListElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLObjectElement-impl.js +35 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptGroupElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptionElement-impl.js +122 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOutputElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLParagraphElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLParamElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLPreElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLProgressElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLQuoteElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLScriptElement-impl.js +139 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSelectElement-impl.js +174 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSourceElement-impl.js +18 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSpanElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLStyleElement-impl.js +33 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableCaptionElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableCellElement-impl.js +56 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableColElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableDataCellElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableElement-impl.js +148 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableHeaderCellElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableRowElement-impl.js +70 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableSectionElement-impl.js +54 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTemplateElement-impl.js +33 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTextAreaElement-impl.js +184 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTimeElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTitleElement-impl.js +18 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTrackElement-impl.js +21 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLUListElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLUnknownElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLVideoElement-impl.js +26 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/LinkStyle-impl.js +16 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/Node-impl.js +475 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/NonDocumentTypeChildNode-impl.js +28 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/NonElementParentNode-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js +91 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/ProcessingInstruction-impl.js +22 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/Text-impl.js +48 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/WindowEventHandlers-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/XMLDocument-impl.js +4 -0
- data/node_modules/jsdom/lib/jsdom/living/post-message.js +36 -0
- data/node_modules/jsdom/lib/jsdom/living/register-elements.js +306 -0
- data/node_modules/jsdom/lib/jsdom/living/traversal/TreeWalker-impl.js +257 -0
- data/node_modules/jsdom/lib/jsdom/living/window/History-impl.js +145 -0
- data/node_modules/jsdom/lib/jsdom/living/window/History.idl +12 -0
- data/node_modules/jsdom/lib/jsdom/living/window/Location-impl.js +235 -0
- data/node_modules/jsdom/lib/jsdom/living/window/navigation.js +103 -0
- data/node_modules/jsdom/lib/jsdom/living/xhr-sync-worker.js +50 -0
- data/node_modules/jsdom/lib/jsdom/living/xhr-utils.js +327 -0
- data/node_modules/jsdom/lib/jsdom/living/xhr/FormData-impl.js +182 -0
- data/node_modules/jsdom/lib/jsdom/living/xmlhttprequest-event-target.js +23 -0
- data/node_modules/jsdom/lib/jsdom/living/xmlhttprequest-symbols.js +4 -0
- data/node_modules/jsdom/lib/jsdom/living/xmlhttprequest-upload.js +17 -0
- data/node_modules/jsdom/lib/jsdom/living/xmlhttprequest.js +1016 -0
- data/node_modules/jsdom/lib/jsdom/named-properties-tracker.js +156 -0
- data/node_modules/jsdom/lib/jsdom/utils.js +242 -0
- data/node_modules/jsdom/lib/jsdom/virtual-console.js +34 -0
- data/node_modules/jsdom/lib/jsdom/vm-shim.js +106 -0
- data/node_modules/jsdom/lib/jsdom/web-idl/DOMException.js +41 -0
- data/node_modules/jsdom/lib/jsdom/web-idl/dom-exception-table.json +134 -0
- data/node_modules/jsdom/node_modules/request/CHANGELOG.md +662 -0
- data/node_modules/jsdom/node_modules/request/LICENSE +55 -0
- data/node_modules/jsdom/node_modules/request/README.md +1098 -0
- data/node_modules/jsdom/node_modules/request/index.js +156 -0
- data/node_modules/jsdom/node_modules/request/lib/auth.js +168 -0
- data/node_modules/jsdom/node_modules/request/lib/cookies.js +39 -0
- data/node_modules/jsdom/node_modules/request/lib/getProxyFromURI.js +79 -0
- data/node_modules/jsdom/node_modules/request/lib/har.js +215 -0
- data/node_modules/jsdom/node_modules/request/lib/helpers.js +65 -0
- data/node_modules/jsdom/node_modules/request/lib/multipart.js +112 -0
- data/node_modules/jsdom/node_modules/request/lib/oauth.js +147 -0
- data/node_modules/jsdom/node_modules/request/lib/querystring.js +51 -0
- data/node_modules/jsdom/node_modules/request/lib/redirect.js +157 -0
- data/node_modules/jsdom/node_modules/request/lib/tunnel.js +176 -0
- data/node_modules/jsdom/node_modules/request/package.json +163 -0
- data/node_modules/jsdom/node_modules/request/request.js +1475 -0
- data/node_modules/jsdom/package.json +184 -0
- data/node_modules/json-schema/README.md +5 -0
- data/node_modules/json-schema/draft-00/hyper-schema +68 -0
- data/node_modules/json-schema/draft-00/json-ref +26 -0
- data/node_modules/json-schema/draft-00/links +33 -0
- data/node_modules/json-schema/draft-00/schema +155 -0
- data/node_modules/json-schema/draft-01/hyper-schema +68 -0
- data/node_modules/json-schema/draft-01/json-ref +26 -0
- data/node_modules/json-schema/draft-01/links +33 -0
- data/node_modules/json-schema/draft-01/schema +155 -0
- data/node_modules/json-schema/draft-02/hyper-schema +68 -0
- data/node_modules/json-schema/draft-02/json-ref +26 -0
- data/node_modules/json-schema/draft-02/links +35 -0
- data/node_modules/json-schema/draft-02/schema +166 -0
- data/node_modules/json-schema/draft-03/examples/address +20 -0
- data/node_modules/json-schema/draft-03/examples/calendar +53 -0
- data/node_modules/json-schema/draft-03/examples/card +105 -0
- data/node_modules/json-schema/draft-03/examples/geo +8 -0
- data/node_modules/json-schema/draft-03/examples/interfaces +23 -0
- data/node_modules/json-schema/draft-03/hyper-schema +60 -0
- data/node_modules/json-schema/draft-03/json-ref +26 -0
- data/node_modules/json-schema/draft-03/links +35 -0
- data/node_modules/json-schema/draft-03/schema +174 -0
- data/node_modules/json-schema/draft-04/hyper-schema +60 -0
- data/node_modules/json-schema/draft-04/links +41 -0
- data/node_modules/json-schema/draft-04/schema +189 -0
- data/node_modules/json-schema/draft-zyp-json-schema-03.xml +1120 -0
- data/node_modules/json-schema/draft-zyp-json-schema-04.xml +1072 -0
- data/node_modules/json-schema/lib/links.js +66 -0
- data/node_modules/json-schema/lib/validate.js +273 -0
- data/node_modules/json-schema/package.json +100 -0
- data/node_modules/json-schema/test/tests.js +95 -0
- data/node_modules/json-stringify-safe/.npmignore +1 -0
- data/node_modules/json-stringify-safe/CHANGELOG.md +14 -0
- data/node_modules/json-stringify-safe/LICENSE +15 -0
- data/node_modules/json-stringify-safe/Makefile +35 -0
- data/node_modules/json-stringify-safe/README.md +52 -0
- data/node_modules/json-stringify-safe/package.json +102 -0
- data/node_modules/json-stringify-safe/stringify.js +27 -0
- data/node_modules/json-stringify-safe/test/mocha.opts +2 -0
- data/node_modules/json-stringify-safe/test/stringify_test.js +246 -0
- data/node_modules/jsonpointer/.travis.yml +7 -0
- data/node_modules/jsonpointer/LICENSE.md +21 -0
- data/node_modules/jsonpointer/README.md +39 -0
- data/node_modules/jsonpointer/benchmark.js +56 -0
- data/node_modules/jsonpointer/jsonpointer.js +93 -0
- data/node_modules/jsonpointer/package.json +109 -0
- data/node_modules/jsonpointer/test.js +131 -0
- data/node_modules/jsprim/CHANGES.md +39 -0
- data/node_modules/jsprim/LICENSE +19 -0
- data/node_modules/jsprim/README.md +237 -0
- data/node_modules/jsprim/lib/jsprim.js +488 -0
- data/node_modules/jsprim/package.json +85 -0
- data/node_modules/levn/LICENSE +22 -0
- data/node_modules/levn/README.md +196 -0
- data/node_modules/levn/lib/cast.js +298 -0
- data/node_modules/levn/lib/coerce.js +285 -0
- data/node_modules/levn/lib/index.js +22 -0
- data/node_modules/levn/lib/parse-string.js +113 -0
- data/node_modules/levn/lib/parse.js +102 -0
- data/node_modules/levn/package.json +108 -0
- data/node_modules/mime-db/HISTORY.md +375 -0
- data/node_modules/mime-db/LICENSE +22 -0
- data/node_modules/mime-db/README.md +82 -0
- data/node_modules/mime-db/db.json +6712 -0
- data/node_modules/mime-db/index.js +11 -0
- data/node_modules/mime-db/package.json +137 -0
- data/node_modules/mime-types/HISTORY.md +210 -0
- data/node_modules/mime-types/LICENSE +23 -0
- data/node_modules/mime-types/README.md +103 -0
- data/node_modules/mime-types/index.js +188 -0
- data/node_modules/mime-types/package.json +127 -0
- data/node_modules/nwmatcher/LICENSE +22 -0
- data/node_modules/nwmatcher/README.md +107 -0
- data/node_modules/nwmatcher/package.json +99 -0
- data/node_modules/nwmatcher/src/modules/nwmatcher-cache.js +187 -0
- data/node_modules/nwmatcher/src/modules/nwmatcher-jquery.js +126 -0
- data/node_modules/nwmatcher/src/modules/nwmatcher-pseudos.js +273 -0
- data/node_modules/nwmatcher/src/modules/nwmatcher-shortcuts.js +35 -0
- data/node_modules/nwmatcher/src/modules/nwmatcher-traversal.js +90 -0
- data/node_modules/nwmatcher/src/modules/nwmatcher-webforms.js +104 -0
- data/node_modules/nwmatcher/src/nwmatcher-base.js +785 -0
- data/node_modules/nwmatcher/src/nwmatcher-noqsa.js +962 -0
- data/node_modules/nwmatcher/src/nwmatcher.js +1780 -0
- data/node_modules/oauth-sign/LICENSE +55 -0
- data/node_modules/oauth-sign/README.md +4 -0
- data/node_modules/oauth-sign/index.js +136 -0
- data/node_modules/oauth-sign/package.json +98 -0
- data/node_modules/optionator/CHANGELOG.md +52 -0
- data/node_modules/optionator/LICENSE +22 -0
- data/node_modules/optionator/README.md +236 -0
- data/node_modules/optionator/lib/help.js +247 -0
- data/node_modules/optionator/lib/index.js +465 -0
- data/node_modules/optionator/lib/util.js +54 -0
- data/node_modules/optionator/package.json +109 -0
- data/node_modules/parse5/CHANGELOG.md +69 -0
- data/node_modules/parse5/LICENSE +19 -0
- data/node_modules/parse5/README.md +247 -0
- data/node_modules/parse5/docs/build/index.md +963 -0
- data/node_modules/parse5/index.js +12 -0
- data/node_modules/parse5/lib/common/doctype.js +134 -0
- data/node_modules/parse5/lib/common/foreign_content.js +257 -0
- data/node_modules/parse5/lib/common/html.js +268 -0
- data/node_modules/parse5/lib/common/unicode.js +48 -0
- data/node_modules/parse5/lib/common/utils.js +13 -0
- data/node_modules/parse5/lib/jsdom/jsdom_parser.js +39 -0
- data/node_modules/parse5/lib/jsdom/parsing_unit.js +53 -0
- data/node_modules/parse5/lib/serialization/serializer.js +178 -0
- data/node_modules/parse5/lib/simple_api/simple_api_parser.js +107 -0
- data/node_modules/parse5/lib/simple_api/tokenizer_proxy.js +122 -0
- data/node_modules/parse5/lib/tokenization/location_info_mixin.js +80 -0
- data/node_modules/parse5/lib/tokenization/named_entity_trie.js +6 -0
- data/node_modules/parse5/lib/tokenization/preprocessor.js +115 -0
- data/node_modules/parse5/lib/tokenization/tokenizer.js +2317 -0
- data/node_modules/parse5/lib/tree_adapters/default.js +200 -0
- data/node_modules/parse5/lib/tree_adapters/htmlparser2.js +317 -0
- data/node_modules/parse5/lib/tree_construction/formatting_element_list.js +167 -0
- data/node_modules/parse5/lib/tree_construction/location_info_mixin.js +197 -0
- data/node_modules/parse5/lib/tree_construction/open_element_stack.js +379 -0
- data/node_modules/parse5/lib/tree_construction/parser.js +2827 -0
- data/node_modules/parse5/package.json +125 -0
- data/node_modules/pinkie-promise/index.js +3 -0
- data/node_modules/pinkie-promise/license +21 -0
- data/node_modules/pinkie-promise/package.json +102 -0
- data/node_modules/pinkie-promise/readme.md +28 -0
- data/node_modules/pinkie/index.js +292 -0
- data/node_modules/pinkie/license +21 -0
- data/node_modules/pinkie/package.json +100 -0
- data/node_modules/pinkie/readme.md +83 -0
- data/node_modules/prelude-ls/CHANGELOG.md +99 -0
- data/node_modules/prelude-ls/LICENSE +22 -0
- data/node_modules/prelude-ls/README.md +15 -0
- data/node_modules/prelude-ls/lib/Func.js +65 -0
- data/node_modules/prelude-ls/lib/List.js +686 -0
- data/node_modules/prelude-ls/lib/Num.js +130 -0
- data/node_modules/prelude-ls/lib/Obj.js +154 -0
- data/node_modules/prelude-ls/lib/Str.js +92 -0
- data/node_modules/prelude-ls/lib/index.js +178 -0
- data/node_modules/prelude-ls/package.json +116 -0
- data/node_modules/punycode/LICENSE-MIT.txt +20 -0
- data/node_modules/punycode/README.md +176 -0
- data/node_modules/punycode/package.json +127 -0
- data/node_modules/punycode/punycode.js +533 -0
- data/node_modules/qs/.eslintignore +1 -0
- data/node_modules/qs/.eslintrc +19 -0
- data/node_modules/qs/CHANGELOG.md +144 -0
- data/node_modules/qs/CONTRIBUTING.md +1 -0
- data/node_modules/qs/LICENSE +28 -0
- data/node_modules/qs/README.md +398 -0
- data/node_modules/qs/dist/qs.js +574 -0
- data/node_modules/qs/lib/formats.js +18 -0
- data/node_modules/qs/lib/index.js +11 -0
- data/node_modules/qs/lib/parse.js +166 -0
- data/node_modules/qs/lib/stringify.js +187 -0
- data/node_modules/qs/lib/utils.js +180 -0
- data/node_modules/qs/package.json +121 -0
- data/node_modules/qs/test/.eslintrc +9 -0
- data/node_modules/qs/test/index.js +7 -0
- data/node_modules/qs/test/parse.js +459 -0
- data/node_modules/qs/test/stringify.js +538 -0
- data/node_modules/qs/test/utils.js +22 -0
- data/node_modules/sax/LICENSE +41 -0
- data/node_modules/sax/LICENSE-W3C.html +188 -0
- data/node_modules/sax/README.md +225 -0
- data/node_modules/sax/lib/sax.js +1576 -0
- data/node_modules/sax/package.json +133 -0
- data/node_modules/sntp/.npmignore +18 -0
- data/node_modules/sntp/.travis.yml +5 -0
- data/node_modules/sntp/LICENSE +28 -0
- data/node_modules/sntp/Makefile +9 -0
- data/node_modules/sntp/README.md +68 -0
- data/node_modules/sntp/examples/offset.js +16 -0
- data/node_modules/sntp/examples/time.js +25 -0
- data/node_modules/sntp/index.js +1 -0
- data/node_modules/sntp/lib/index.js +412 -0
- data/node_modules/sntp/package.json +98 -0
- data/node_modules/sntp/test/index.js +435 -0
- data/node_modules/source-map/.npmignore +2 -0
- data/node_modules/source-map/.travis.yml +4 -0
- data/node_modules/source-map/CHANGELOG.md +201 -0
- data/node_modules/source-map/LICENSE +28 -0
- data/node_modules/source-map/Makefile.dryice.js +166 -0
- data/node_modules/source-map/README.md +479 -0
- data/node_modules/source-map/build/assert-shim.js +56 -0
- data/node_modules/source-map/build/mini-require.js +152 -0
- data/node_modules/source-map/build/prefix-source-map.jsm +20 -0
- data/node_modules/source-map/build/prefix-utils.jsm +18 -0
- data/node_modules/source-map/build/suffix-browser.js +8 -0
- data/node_modules/source-map/build/suffix-source-map.jsm +6 -0
- data/node_modules/source-map/build/suffix-utils.jsm +21 -0
- data/node_modules/source-map/build/test-prefix.js +8 -0
- data/node_modules/source-map/build/test-suffix.js +3 -0
- data/node_modules/source-map/lib/source-map.js +8 -0
- data/node_modules/source-map/lib/source-map/array-set.js +97 -0
- data/node_modules/source-map/lib/source-map/base64-vlq.js +142 -0
- data/node_modules/source-map/lib/source-map/base64.js +42 -0
- data/node_modules/source-map/lib/source-map/basic-source-map-consumer.js +420 -0
- data/node_modules/source-map/lib/source-map/binary-search.js +80 -0
- data/node_modules/source-map/lib/source-map/indexed-source-map-consumer.js +303 -0
- data/node_modules/source-map/lib/source-map/mapping-list.js +86 -0
- data/node_modules/source-map/lib/source-map/source-map-consumer.js +222 -0
- data/node_modules/source-map/lib/source-map/source-map-generator.js +400 -0
- data/node_modules/source-map/lib/source-map/source-node.js +414 -0
- data/node_modules/source-map/lib/source-map/util.js +319 -0
- data/node_modules/source-map/package.json +223 -0
- data/node_modules/source-map/test/run-tests.js +62 -0
- data/node_modules/source-map/test/source-map/test-api.js +26 -0
- data/node_modules/source-map/test/source-map/test-array-set.js +104 -0
- data/node_modules/source-map/test/source-map/test-base64-vlq.js +23 -0
- data/node_modules/source-map/test/source-map/test-base64.js +35 -0
- data/node_modules/source-map/test/source-map/test-binary-search.js +54 -0
- data/node_modules/source-map/test/source-map/test-dog-fooding.js +84 -0
- data/node_modules/source-map/test/source-map/test-source-map-consumer.js +874 -0
- data/node_modules/source-map/test/source-map/test-source-map-generator.js +679 -0
- data/node_modules/source-map/test/source-map/test-source-node.js +612 -0
- data/node_modules/source-map/test/source-map/test-util.js +216 -0
- data/node_modules/source-map/test/source-map/util.js +299 -0
- data/node_modules/sshpk/.npmignore +9 -0
- data/node_modules/sshpk/.travis.yml +11 -0
- data/node_modules/sshpk/LICENSE +18 -0
- data/node_modules/sshpk/README.md +666 -0
- data/node_modules/sshpk/bin/sshpk-conv +201 -0
- data/node_modules/sshpk/bin/sshpk-sign +191 -0
- data/node_modules/sshpk/bin/sshpk-verify +166 -0
- data/node_modules/sshpk/lib/algs.js +168 -0
- data/node_modules/sshpk/lib/certificate.js +291 -0
- data/node_modules/sshpk/lib/dhe.js +311 -0
- data/node_modules/sshpk/lib/ed-compat.js +96 -0
- data/node_modules/sshpk/lib/errors.js +84 -0
- data/node_modules/sshpk/lib/fingerprint.js +161 -0
- data/node_modules/sshpk/lib/formats/auto.js +73 -0
- data/node_modules/sshpk/lib/formats/openssh-cert.js +289 -0
- data/node_modules/sshpk/lib/formats/pem.js +186 -0
- data/node_modules/sshpk/lib/formats/pkcs1.js +320 -0
- data/node_modules/sshpk/lib/formats/pkcs8.js +505 -0
- data/node_modules/sshpk/lib/formats/rfc4253.js +146 -0
- data/node_modules/sshpk/lib/formats/ssh-private.js +261 -0
- data/node_modules/sshpk/lib/formats/ssh.js +114 -0
- data/node_modules/sshpk/lib/formats/x509-pem.js +77 -0
- data/node_modules/sshpk/lib/formats/x509.js +484 -0
- data/node_modules/sshpk/lib/identity.js +255 -0
- data/node_modules/sshpk/lib/index.js +38 -0
- data/node_modules/sshpk/lib/key.js +270 -0
- data/node_modules/sshpk/lib/private-key.js +231 -0
- data/node_modules/sshpk/lib/signature.js +245 -0
- data/node_modules/sshpk/lib/ssh-buffer.js +148 -0
- data/node_modules/sshpk/lib/utils.js +288 -0
- data/node_modules/sshpk/man/man1/sshpk-conv.1 +135 -0
- data/node_modules/sshpk/man/man1/sshpk-sign.1 +81 -0
- data/node_modules/sshpk/man/man1/sshpk-verify.1 +68 -0
- data/node_modules/sshpk/node_modules/assert-plus/AUTHORS +6 -0
- data/node_modules/sshpk/node_modules/assert-plus/CHANGES.md +14 -0
- data/node_modules/sshpk/node_modules/assert-plus/README.md +162 -0
- data/node_modules/sshpk/node_modules/assert-plus/assert.js +211 -0
- data/node_modules/sshpk/node_modules/assert-plus/package.json +115 -0
- data/node_modules/sshpk/package.json +135 -0
- data/node_modules/stringstream/.npmignore +15 -0
- data/node_modules/stringstream/.travis.yml +4 -0
- data/node_modules/stringstream/LICENSE.txt +22 -0
- data/node_modules/stringstream/README.md +38 -0
- data/node_modules/stringstream/example.js +27 -0
- data/node_modules/stringstream/package.json +85 -0
- data/node_modules/stringstream/stringstream.js +102 -0
- data/node_modules/strip-ansi/index.js +6 -0
- data/node_modules/strip-ansi/license +21 -0
- data/node_modules/strip-ansi/package.json +123 -0
- data/node_modules/strip-ansi/readme.md +33 -0
- data/node_modules/supports-color/index.js +50 -0
- data/node_modules/supports-color/license +21 -0
- data/node_modules/supports-color/package.json +113 -0
- data/node_modules/supports-color/readme.md +36 -0
- data/node_modules/symbol-tree/.jscsrc +55 -0
- data/node_modules/symbol-tree/.npmignore +6 -0
- data/node_modules/symbol-tree/LICENSE +21 -0
- data/node_modules/symbol-tree/README.md +68 -0
- data/node_modules/symbol-tree/api.md +441 -0
- data/node_modules/symbol-tree/lib/SymbolTree.js +834 -0
- data/node_modules/symbol-tree/lib/SymbolTreeNode.js +54 -0
- data/node_modules/symbol-tree/lib/TreeIterator.js +69 -0
- data/node_modules/symbol-tree/lib/TreePosition.js +10 -0
- data/node_modules/symbol-tree/package.json +121 -0
- data/node_modules/symbol-tree/test/SymbolTree.js +1189 -0
- data/node_modules/tough-cookie/LICENSE +27 -0
- data/node_modules/tough-cookie/README.md +506 -0
- data/node_modules/tough-cookie/lib/cookie.js +1336 -0
- data/node_modules/tough-cookie/lib/memstore.js +170 -0
- data/node_modules/tough-cookie/lib/pathMatch.js +61 -0
- data/node_modules/tough-cookie/lib/permuteDomain.js +56 -0
- data/node_modules/tough-cookie/lib/pubsuffix.js +98 -0
- data/node_modules/tough-cookie/lib/store.js +71 -0
- data/node_modules/tough-cookie/package.json +136 -0
- data/node_modules/tr46/.npmignore +4 -0
- data/node_modules/tr46/index.js +193 -0
- data/node_modules/tr46/lib/.gitkeep +0 -0
- data/node_modules/tr46/lib/mappingTable.json +1 -0
- data/node_modules/tr46/package.json +91 -0
- data/node_modules/tunnel-agent/LICENSE +55 -0
- data/node_modules/tunnel-agent/README.md +4 -0
- data/node_modules/tunnel-agent/index.js +243 -0
- data/node_modules/tunnel-agent/package.json +100 -0
- data/node_modules/tweetnacl/.npmignore +4 -0
- data/node_modules/tweetnacl/CHANGELOG.md +209 -0
- data/node_modules/tweetnacl/COPYING.txt +9 -0
- data/node_modules/tweetnacl/ISSUE_TEMPLATE.md +3 -0
- data/node_modules/tweetnacl/README.md +477 -0
- data/node_modules/tweetnacl/nacl-fast.js +2388 -0
- data/node_modules/tweetnacl/nacl-fast.min.js +2 -0
- data/node_modules/tweetnacl/nacl.d.ts +98 -0
- data/node_modules/tweetnacl/nacl.js +1175 -0
- data/node_modules/tweetnacl/nacl.min.js +1 -0
- data/node_modules/tweetnacl/package.json +121 -0
- data/node_modules/type-check/LICENSE +22 -0
- data/node_modules/type-check/README.md +210 -0
- data/node_modules/type-check/lib/check.js +126 -0
- data/node_modules/type-check/lib/index.js +16 -0
- data/node_modules/type-check/lib/parse-type.js +196 -0
- data/node_modules/type-check/package.json +102 -0
- data/node_modules/type-detect/.npmignore +11 -0
- data/node_modules/type-detect/History.md +52 -0
- data/node_modules/type-detect/README.md +226 -0
- data/node_modules/type-detect/ReleaseNotes.md +46 -0
- data/node_modules/type-detect/index.js +1 -0
- data/node_modules/type-detect/lib/type.js +134 -0
- data/node_modules/type-detect/package.json +93 -0
- data/node_modules/uuid/.npmignore +8 -0
- data/node_modules/uuid/.travis.yml +5 -0
- data/node_modules/uuid/AUTHORS +5 -0
- data/node_modules/uuid/HISTORY.md +28 -0
- data/node_modules/uuid/LICENSE.md +21 -0
- data/node_modules/uuid/README.md +132 -0
- data/node_modules/uuid/bin/uuid +26 -0
- data/node_modules/uuid/index.js +8 -0
- data/node_modules/uuid/lib/bytesToUuid.js +23 -0
- data/node_modules/uuid/lib/rng-browser.js +33 -0
- data/node_modules/uuid/lib/rng.js +10 -0
- data/node_modules/uuid/package.json +122 -0
- data/node_modules/uuid/test/mocha.opts +3 -0
- data/node_modules/uuid/test/test.js +96 -0
- data/node_modules/uuid/v1.js +103 -0
- data/node_modules/uuid/v4.js +29 -0
- data/node_modules/verror/.gitmodules +0 -0
- data/node_modules/verror/.npmignore +1 -0
- data/node_modules/verror/LICENSE +19 -0
- data/node_modules/verror/Makefile +35 -0
- data/node_modules/verror/Makefile.targ +285 -0
- data/node_modules/verror/README.md +120 -0
- data/node_modules/verror/examples/levels-verror.js +36 -0
- data/node_modules/verror/examples/levels-werror.js +34 -0
- data/node_modules/verror/examples/varargs.js +6 -0
- data/node_modules/verror/examples/verror.js +13 -0
- data/node_modules/verror/examples/werror.js +14 -0
- data/node_modules/verror/jsl.node.conf +139 -0
- data/node_modules/verror/lib/verror.js +157 -0
- data/node_modules/verror/package.json +78 -0
- data/node_modules/verror/tests/tst.inherit.js +100 -0
- data/node_modules/verror/tests/tst.verror.js +156 -0
- data/node_modules/verror/tests/tst.werror.js +179 -0
- data/node_modules/webidl-conversions/LICENSE.md +12 -0
- data/node_modules/webidl-conversions/README.md +53 -0
- data/node_modules/webidl-conversions/lib/index.js +189 -0
- data/node_modules/webidl-conversions/package.json +96 -0
- data/node_modules/whatwg-encoding/LICENSE.txt +19 -0
- data/node_modules/whatwg-encoding/lib/labels-to-names.json +207 -0
- data/node_modules/whatwg-encoding/lib/supported-names.json +37 -0
- data/node_modules/whatwg-encoding/lib/whatwg-encoding.js +47 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/.npmignore +6 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/.travis.yml +20 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/Changelog.md +93 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/LICENSE +21 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/README.md +157 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/dbcs-codec.js +554 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/dbcs-data.js +170 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/index.js +22 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/internal.js +187 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/sbcs-data.js +169 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/tables/gbk-added.json +55 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/utf16.js +174 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/utf7.js +289 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/lib/bom-handling.js +52 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/lib/extend-node.js +214 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/lib/index.js +141 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/lib/streams.js +120 -0
- data/node_modules/whatwg-encoding/node_modules/iconv-lite/package.json +153 -0
- data/node_modules/whatwg-encoding/package.json +101 -0
- data/node_modules/whatwg-url/.eslintignore +3 -0
- data/node_modules/whatwg-url/LICENSE.txt +21 -0
- data/node_modules/whatwg-url/README.md +66 -0
- data/node_modules/whatwg-url/lib/URL-impl.js +216 -0
- data/node_modules/whatwg-url/lib/URL.js +209 -0
- data/node_modules/whatwg-url/lib/public-api.js +11 -0
- data/node_modules/whatwg-url/lib/url-state-machine.js +1173 -0
- data/node_modules/whatwg-url/lib/utils.js +20 -0
- data/node_modules/whatwg-url/package.json +103 -0
- data/node_modules/wordwrap/LICENSE +18 -0
- data/node_modules/wordwrap/README.markdown +70 -0
- data/node_modules/wordwrap/example/center.js +10 -0
- data/node_modules/wordwrap/example/meat.js +3 -0
- data/node_modules/wordwrap/index.js +76 -0
- data/node_modules/wordwrap/package.json +94 -0
- data/node_modules/wordwrap/test/break.js +32 -0
- data/node_modules/wordwrap/test/idleness.txt +63 -0
- data/node_modules/wordwrap/test/wrap.js +33 -0
- data/node_modules/xml-name-validator/LICENSE.txt +19 -0
- data/node_modules/xml-name-validator/README.md +36 -0
- data/node_modules/xml-name-validator/lib/generated-parser.js +504 -0
- data/node_modules/xml-name-validator/lib/grammar.pegjs +35 -0
- data/node_modules/xml-name-validator/lib/xml-name-validator.js +17 -0
- data/node_modules/xml-name-validator/package.json +97 -0
- data/node_modules/xtend/.jshintrc +30 -0
- data/node_modules/xtend/.npmignore +1 -0
- data/node_modules/xtend/LICENCE +19 -0
- data/node_modules/xtend/Makefile +4 -0
- data/node_modules/xtend/README.md +32 -0
- data/node_modules/xtend/immutable.js +19 -0
- data/node_modules/xtend/mutable.js +17 -0
- data/node_modules/xtend/package.json +117 -0
- data/node_modules/xtend/test.js +83 -0
- data/package.json +32 -0
- data/vendor/assets/javascripts/select_all.js +1 -1
- metadata +1870 -2
@@ -0,0 +1,1645 @@
|
|
1
|
+
/*!
|
2
|
+
* chai
|
3
|
+
* Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
|
4
|
+
* MIT Licensed
|
5
|
+
*/
|
6
|
+
|
7
|
+
|
8
|
+
module.exports = function (chai, util) {
|
9
|
+
|
10
|
+
/*!
|
11
|
+
* Chai dependencies.
|
12
|
+
*/
|
13
|
+
|
14
|
+
var Assertion = chai.Assertion
|
15
|
+
, flag = util.flag;
|
16
|
+
|
17
|
+
/*!
|
18
|
+
* Module export.
|
19
|
+
*/
|
20
|
+
|
21
|
+
/**
|
22
|
+
* ### assert(expression, message)
|
23
|
+
*
|
24
|
+
* Write your own test expressions.
|
25
|
+
*
|
26
|
+
* assert('foo' !== 'bar', 'foo is not bar');
|
27
|
+
* assert(Array.isArray([]), 'empty arrays are arrays');
|
28
|
+
*
|
29
|
+
* @param {Mixed} expression to test for truthiness
|
30
|
+
* @param {String} message to display on error
|
31
|
+
* @name assert
|
32
|
+
* @namespace Assert
|
33
|
+
* @api public
|
34
|
+
*/
|
35
|
+
|
36
|
+
var assert = chai.assert = function (express, errmsg) {
|
37
|
+
var test = new Assertion(null, null, chai.assert);
|
38
|
+
test.assert(
|
39
|
+
express
|
40
|
+
, errmsg
|
41
|
+
, '[ negation message unavailable ]'
|
42
|
+
);
|
43
|
+
};
|
44
|
+
|
45
|
+
/**
|
46
|
+
* ### .fail(actual, expected, [message], [operator])
|
47
|
+
*
|
48
|
+
* Throw a failure. Node.js `assert` module-compatible.
|
49
|
+
*
|
50
|
+
* @name fail
|
51
|
+
* @param {Mixed} actual
|
52
|
+
* @param {Mixed} expected
|
53
|
+
* @param {String} message
|
54
|
+
* @param {String} operator
|
55
|
+
* @namespace Assert
|
56
|
+
* @api public
|
57
|
+
*/
|
58
|
+
|
59
|
+
assert.fail = function (actual, expected, message, operator) {
|
60
|
+
message = message || 'assert.fail()';
|
61
|
+
throw new chai.AssertionError(message, {
|
62
|
+
actual: actual
|
63
|
+
, expected: expected
|
64
|
+
, operator: operator
|
65
|
+
}, assert.fail);
|
66
|
+
};
|
67
|
+
|
68
|
+
/**
|
69
|
+
* ### .isOk(object, [message])
|
70
|
+
*
|
71
|
+
* Asserts that `object` is truthy.
|
72
|
+
*
|
73
|
+
* assert.isOk('everything', 'everything is ok');
|
74
|
+
* assert.isOk(false, 'this will fail');
|
75
|
+
*
|
76
|
+
* @name isOk
|
77
|
+
* @alias ok
|
78
|
+
* @param {Mixed} object to test
|
79
|
+
* @param {String} message
|
80
|
+
* @namespace Assert
|
81
|
+
* @api public
|
82
|
+
*/
|
83
|
+
|
84
|
+
assert.isOk = function (val, msg) {
|
85
|
+
new Assertion(val, msg).is.ok;
|
86
|
+
};
|
87
|
+
|
88
|
+
/**
|
89
|
+
* ### .isNotOk(object, [message])
|
90
|
+
*
|
91
|
+
* Asserts that `object` is falsy.
|
92
|
+
*
|
93
|
+
* assert.isNotOk('everything', 'this will fail');
|
94
|
+
* assert.isNotOk(false, 'this will pass');
|
95
|
+
*
|
96
|
+
* @name isNotOk
|
97
|
+
* @alias notOk
|
98
|
+
* @param {Mixed} object to test
|
99
|
+
* @param {String} message
|
100
|
+
* @namespace Assert
|
101
|
+
* @api public
|
102
|
+
*/
|
103
|
+
|
104
|
+
assert.isNotOk = function (val, msg) {
|
105
|
+
new Assertion(val, msg).is.not.ok;
|
106
|
+
};
|
107
|
+
|
108
|
+
/**
|
109
|
+
* ### .equal(actual, expected, [message])
|
110
|
+
*
|
111
|
+
* Asserts non-strict equality (`==`) of `actual` and `expected`.
|
112
|
+
*
|
113
|
+
* assert.equal(3, '3', '== coerces values to strings');
|
114
|
+
*
|
115
|
+
* @name equal
|
116
|
+
* @param {Mixed} actual
|
117
|
+
* @param {Mixed} expected
|
118
|
+
* @param {String} message
|
119
|
+
* @namespace Assert
|
120
|
+
* @api public
|
121
|
+
*/
|
122
|
+
|
123
|
+
assert.equal = function (act, exp, msg) {
|
124
|
+
var test = new Assertion(act, msg, assert.equal);
|
125
|
+
|
126
|
+
test.assert(
|
127
|
+
exp == flag(test, 'object')
|
128
|
+
, 'expected #{this} to equal #{exp}'
|
129
|
+
, 'expected #{this} to not equal #{act}'
|
130
|
+
, exp
|
131
|
+
, act
|
132
|
+
);
|
133
|
+
};
|
134
|
+
|
135
|
+
/**
|
136
|
+
* ### .notEqual(actual, expected, [message])
|
137
|
+
*
|
138
|
+
* Asserts non-strict inequality (`!=`) of `actual` and `expected`.
|
139
|
+
*
|
140
|
+
* assert.notEqual(3, 4, 'these numbers are not equal');
|
141
|
+
*
|
142
|
+
* @name notEqual
|
143
|
+
* @param {Mixed} actual
|
144
|
+
* @param {Mixed} expected
|
145
|
+
* @param {String} message
|
146
|
+
* @namespace Assert
|
147
|
+
* @api public
|
148
|
+
*/
|
149
|
+
|
150
|
+
assert.notEqual = function (act, exp, msg) {
|
151
|
+
var test = new Assertion(act, msg, assert.notEqual);
|
152
|
+
|
153
|
+
test.assert(
|
154
|
+
exp != flag(test, 'object')
|
155
|
+
, 'expected #{this} to not equal #{exp}'
|
156
|
+
, 'expected #{this} to equal #{act}'
|
157
|
+
, exp
|
158
|
+
, act
|
159
|
+
);
|
160
|
+
};
|
161
|
+
|
162
|
+
/**
|
163
|
+
* ### .strictEqual(actual, expected, [message])
|
164
|
+
*
|
165
|
+
* Asserts strict equality (`===`) of `actual` and `expected`.
|
166
|
+
*
|
167
|
+
* assert.strictEqual(true, true, 'these booleans are strictly equal');
|
168
|
+
*
|
169
|
+
* @name strictEqual
|
170
|
+
* @param {Mixed} actual
|
171
|
+
* @param {Mixed} expected
|
172
|
+
* @param {String} message
|
173
|
+
* @namespace Assert
|
174
|
+
* @api public
|
175
|
+
*/
|
176
|
+
|
177
|
+
assert.strictEqual = function (act, exp, msg) {
|
178
|
+
new Assertion(act, msg).to.equal(exp);
|
179
|
+
};
|
180
|
+
|
181
|
+
/**
|
182
|
+
* ### .notStrictEqual(actual, expected, [message])
|
183
|
+
*
|
184
|
+
* Asserts strict inequality (`!==`) of `actual` and `expected`.
|
185
|
+
*
|
186
|
+
* assert.notStrictEqual(3, '3', 'no coercion for strict equality');
|
187
|
+
*
|
188
|
+
* @name notStrictEqual
|
189
|
+
* @param {Mixed} actual
|
190
|
+
* @param {Mixed} expected
|
191
|
+
* @param {String} message
|
192
|
+
* @namespace Assert
|
193
|
+
* @api public
|
194
|
+
*/
|
195
|
+
|
196
|
+
assert.notStrictEqual = function (act, exp, msg) {
|
197
|
+
new Assertion(act, msg).to.not.equal(exp);
|
198
|
+
};
|
199
|
+
|
200
|
+
/**
|
201
|
+
* ### .deepEqual(actual, expected, [message])
|
202
|
+
*
|
203
|
+
* Asserts that `actual` is deeply equal to `expected`.
|
204
|
+
*
|
205
|
+
* assert.deepEqual({ tea: 'green' }, { tea: 'green' });
|
206
|
+
*
|
207
|
+
* @name deepEqual
|
208
|
+
* @param {Mixed} actual
|
209
|
+
* @param {Mixed} expected
|
210
|
+
* @param {String} message
|
211
|
+
* @namespace Assert
|
212
|
+
* @api public
|
213
|
+
*/
|
214
|
+
|
215
|
+
assert.deepEqual = function (act, exp, msg) {
|
216
|
+
new Assertion(act, msg).to.eql(exp);
|
217
|
+
};
|
218
|
+
|
219
|
+
/**
|
220
|
+
* ### .notDeepEqual(actual, expected, [message])
|
221
|
+
*
|
222
|
+
* Assert that `actual` is not deeply equal to `expected`.
|
223
|
+
*
|
224
|
+
* assert.notDeepEqual({ tea: 'green' }, { tea: 'jasmine' });
|
225
|
+
*
|
226
|
+
* @name notDeepEqual
|
227
|
+
* @param {Mixed} actual
|
228
|
+
* @param {Mixed} expected
|
229
|
+
* @param {String} message
|
230
|
+
* @namespace Assert
|
231
|
+
* @api public
|
232
|
+
*/
|
233
|
+
|
234
|
+
assert.notDeepEqual = function (act, exp, msg) {
|
235
|
+
new Assertion(act, msg).to.not.eql(exp);
|
236
|
+
};
|
237
|
+
|
238
|
+
/**
|
239
|
+
* ### .isAbove(valueToCheck, valueToBeAbove, [message])
|
240
|
+
*
|
241
|
+
* Asserts `valueToCheck` is strictly greater than (>) `valueToBeAbove`
|
242
|
+
*
|
243
|
+
* assert.isAbove(5, 2, '5 is strictly greater than 2');
|
244
|
+
*
|
245
|
+
* @name isAbove
|
246
|
+
* @param {Mixed} valueToCheck
|
247
|
+
* @param {Mixed} valueToBeAbove
|
248
|
+
* @param {String} message
|
249
|
+
* @namespace Assert
|
250
|
+
* @api public
|
251
|
+
*/
|
252
|
+
|
253
|
+
assert.isAbove = function (val, abv, msg) {
|
254
|
+
new Assertion(val, msg).to.be.above(abv);
|
255
|
+
};
|
256
|
+
|
257
|
+
/**
|
258
|
+
* ### .isAtLeast(valueToCheck, valueToBeAtLeast, [message])
|
259
|
+
*
|
260
|
+
* Asserts `valueToCheck` is greater than or equal to (>=) `valueToBeAtLeast`
|
261
|
+
*
|
262
|
+
* assert.isAtLeast(5, 2, '5 is greater or equal to 2');
|
263
|
+
* assert.isAtLeast(3, 3, '3 is greater or equal to 3');
|
264
|
+
*
|
265
|
+
* @name isAtLeast
|
266
|
+
* @param {Mixed} valueToCheck
|
267
|
+
* @param {Mixed} valueToBeAtLeast
|
268
|
+
* @param {String} message
|
269
|
+
* @namespace Assert
|
270
|
+
* @api public
|
271
|
+
*/
|
272
|
+
|
273
|
+
assert.isAtLeast = function (val, atlst, msg) {
|
274
|
+
new Assertion(val, msg).to.be.least(atlst);
|
275
|
+
};
|
276
|
+
|
277
|
+
/**
|
278
|
+
* ### .isBelow(valueToCheck, valueToBeBelow, [message])
|
279
|
+
*
|
280
|
+
* Asserts `valueToCheck` is strictly less than (<) `valueToBeBelow`
|
281
|
+
*
|
282
|
+
* assert.isBelow(3, 6, '3 is strictly less than 6');
|
283
|
+
*
|
284
|
+
* @name isBelow
|
285
|
+
* @param {Mixed} valueToCheck
|
286
|
+
* @param {Mixed} valueToBeBelow
|
287
|
+
* @param {String} message
|
288
|
+
* @namespace Assert
|
289
|
+
* @api public
|
290
|
+
*/
|
291
|
+
|
292
|
+
assert.isBelow = function (val, blw, msg) {
|
293
|
+
new Assertion(val, msg).to.be.below(blw);
|
294
|
+
};
|
295
|
+
|
296
|
+
/**
|
297
|
+
* ### .isAtMost(valueToCheck, valueToBeAtMost, [message])
|
298
|
+
*
|
299
|
+
* Asserts `valueToCheck` is less than or equal to (<=) `valueToBeAtMost`
|
300
|
+
*
|
301
|
+
* assert.isAtMost(3, 6, '3 is less than or equal to 6');
|
302
|
+
* assert.isAtMost(4, 4, '4 is less than or equal to 4');
|
303
|
+
*
|
304
|
+
* @name isAtMost
|
305
|
+
* @param {Mixed} valueToCheck
|
306
|
+
* @param {Mixed} valueToBeAtMost
|
307
|
+
* @param {String} message
|
308
|
+
* @namespace Assert
|
309
|
+
* @api public
|
310
|
+
*/
|
311
|
+
|
312
|
+
assert.isAtMost = function (val, atmst, msg) {
|
313
|
+
new Assertion(val, msg).to.be.most(atmst);
|
314
|
+
};
|
315
|
+
|
316
|
+
/**
|
317
|
+
* ### .isTrue(value, [message])
|
318
|
+
*
|
319
|
+
* Asserts that `value` is true.
|
320
|
+
*
|
321
|
+
* var teaServed = true;
|
322
|
+
* assert.isTrue(teaServed, 'the tea has been served');
|
323
|
+
*
|
324
|
+
* @name isTrue
|
325
|
+
* @param {Mixed} value
|
326
|
+
* @param {String} message
|
327
|
+
* @namespace Assert
|
328
|
+
* @api public
|
329
|
+
*/
|
330
|
+
|
331
|
+
assert.isTrue = function (val, msg) {
|
332
|
+
new Assertion(val, msg).is['true'];
|
333
|
+
};
|
334
|
+
|
335
|
+
/**
|
336
|
+
* ### .isNotTrue(value, [message])
|
337
|
+
*
|
338
|
+
* Asserts that `value` is not true.
|
339
|
+
*
|
340
|
+
* var tea = 'tasty chai';
|
341
|
+
* assert.isNotTrue(tea, 'great, time for tea!');
|
342
|
+
*
|
343
|
+
* @name isNotTrue
|
344
|
+
* @param {Mixed} value
|
345
|
+
* @param {String} message
|
346
|
+
* @namespace Assert
|
347
|
+
* @api public
|
348
|
+
*/
|
349
|
+
|
350
|
+
assert.isNotTrue = function (val, msg) {
|
351
|
+
new Assertion(val, msg).to.not.equal(true);
|
352
|
+
};
|
353
|
+
|
354
|
+
/**
|
355
|
+
* ### .isFalse(value, [message])
|
356
|
+
*
|
357
|
+
* Asserts that `value` is false.
|
358
|
+
*
|
359
|
+
* var teaServed = false;
|
360
|
+
* assert.isFalse(teaServed, 'no tea yet? hmm...');
|
361
|
+
*
|
362
|
+
* @name isFalse
|
363
|
+
* @param {Mixed} value
|
364
|
+
* @param {String} message
|
365
|
+
* @namespace Assert
|
366
|
+
* @api public
|
367
|
+
*/
|
368
|
+
|
369
|
+
assert.isFalse = function (val, msg) {
|
370
|
+
new Assertion(val, msg).is['false'];
|
371
|
+
};
|
372
|
+
|
373
|
+
/**
|
374
|
+
* ### .isNotFalse(value, [message])
|
375
|
+
*
|
376
|
+
* Asserts that `value` is not false.
|
377
|
+
*
|
378
|
+
* var tea = 'tasty chai';
|
379
|
+
* assert.isNotFalse(tea, 'great, time for tea!');
|
380
|
+
*
|
381
|
+
* @name isNotFalse
|
382
|
+
* @param {Mixed} value
|
383
|
+
* @param {String} message
|
384
|
+
* @namespace Assert
|
385
|
+
* @api public
|
386
|
+
*/
|
387
|
+
|
388
|
+
assert.isNotFalse = function (val, msg) {
|
389
|
+
new Assertion(val, msg).to.not.equal(false);
|
390
|
+
};
|
391
|
+
|
392
|
+
/**
|
393
|
+
* ### .isNull(value, [message])
|
394
|
+
*
|
395
|
+
* Asserts that `value` is null.
|
396
|
+
*
|
397
|
+
* assert.isNull(err, 'there was no error');
|
398
|
+
*
|
399
|
+
* @name isNull
|
400
|
+
* @param {Mixed} value
|
401
|
+
* @param {String} message
|
402
|
+
* @namespace Assert
|
403
|
+
* @api public
|
404
|
+
*/
|
405
|
+
|
406
|
+
assert.isNull = function (val, msg) {
|
407
|
+
new Assertion(val, msg).to.equal(null);
|
408
|
+
};
|
409
|
+
|
410
|
+
/**
|
411
|
+
* ### .isNotNull(value, [message])
|
412
|
+
*
|
413
|
+
* Asserts that `value` is not null.
|
414
|
+
*
|
415
|
+
* var tea = 'tasty chai';
|
416
|
+
* assert.isNotNull(tea, 'great, time for tea!');
|
417
|
+
*
|
418
|
+
* @name isNotNull
|
419
|
+
* @param {Mixed} value
|
420
|
+
* @param {String} message
|
421
|
+
* @namespace Assert
|
422
|
+
* @api public
|
423
|
+
*/
|
424
|
+
|
425
|
+
assert.isNotNull = function (val, msg) {
|
426
|
+
new Assertion(val, msg).to.not.equal(null);
|
427
|
+
};
|
428
|
+
|
429
|
+
/**
|
430
|
+
* ### .isNaN
|
431
|
+
* Asserts that value is NaN
|
432
|
+
*
|
433
|
+
* assert.isNaN('foo', 'foo is NaN');
|
434
|
+
*
|
435
|
+
* @name isNaN
|
436
|
+
* @param {Mixed} value
|
437
|
+
* @param {String} message
|
438
|
+
* @namespace Assert
|
439
|
+
* @api public
|
440
|
+
*/
|
441
|
+
|
442
|
+
assert.isNaN = function (val, msg) {
|
443
|
+
new Assertion(val, msg).to.be.NaN;
|
444
|
+
};
|
445
|
+
|
446
|
+
/**
|
447
|
+
* ### .isNotNaN
|
448
|
+
* Asserts that value is not NaN
|
449
|
+
*
|
450
|
+
* assert.isNotNaN(4, '4 is not NaN');
|
451
|
+
*
|
452
|
+
* @name isNotNaN
|
453
|
+
* @param {Mixed} value
|
454
|
+
* @param {String} message
|
455
|
+
* @namespace Assert
|
456
|
+
* @api public
|
457
|
+
*/
|
458
|
+
assert.isNotNaN = function (val, msg) {
|
459
|
+
new Assertion(val, msg).not.to.be.NaN;
|
460
|
+
};
|
461
|
+
|
462
|
+
/**
|
463
|
+
* ### .isUndefined(value, [message])
|
464
|
+
*
|
465
|
+
* Asserts that `value` is `undefined`.
|
466
|
+
*
|
467
|
+
* var tea;
|
468
|
+
* assert.isUndefined(tea, 'no tea defined');
|
469
|
+
*
|
470
|
+
* @name isUndefined
|
471
|
+
* @param {Mixed} value
|
472
|
+
* @param {String} message
|
473
|
+
* @namespace Assert
|
474
|
+
* @api public
|
475
|
+
*/
|
476
|
+
|
477
|
+
assert.isUndefined = function (val, msg) {
|
478
|
+
new Assertion(val, msg).to.equal(undefined);
|
479
|
+
};
|
480
|
+
|
481
|
+
/**
|
482
|
+
* ### .isDefined(value, [message])
|
483
|
+
*
|
484
|
+
* Asserts that `value` is not `undefined`.
|
485
|
+
*
|
486
|
+
* var tea = 'cup of chai';
|
487
|
+
* assert.isDefined(tea, 'tea has been defined');
|
488
|
+
*
|
489
|
+
* @name isDefined
|
490
|
+
* @param {Mixed} value
|
491
|
+
* @param {String} message
|
492
|
+
* @namespace Assert
|
493
|
+
* @api public
|
494
|
+
*/
|
495
|
+
|
496
|
+
assert.isDefined = function (val, msg) {
|
497
|
+
new Assertion(val, msg).to.not.equal(undefined);
|
498
|
+
};
|
499
|
+
|
500
|
+
/**
|
501
|
+
* ### .isFunction(value, [message])
|
502
|
+
*
|
503
|
+
* Asserts that `value` is a function.
|
504
|
+
*
|
505
|
+
* function serveTea() { return 'cup of tea'; };
|
506
|
+
* assert.isFunction(serveTea, 'great, we can have tea now');
|
507
|
+
*
|
508
|
+
* @name isFunction
|
509
|
+
* @param {Mixed} value
|
510
|
+
* @param {String} message
|
511
|
+
* @namespace Assert
|
512
|
+
* @api public
|
513
|
+
*/
|
514
|
+
|
515
|
+
assert.isFunction = function (val, msg) {
|
516
|
+
new Assertion(val, msg).to.be.a('function');
|
517
|
+
};
|
518
|
+
|
519
|
+
/**
|
520
|
+
* ### .isNotFunction(value, [message])
|
521
|
+
*
|
522
|
+
* Asserts that `value` is _not_ a function.
|
523
|
+
*
|
524
|
+
* var serveTea = [ 'heat', 'pour', 'sip' ];
|
525
|
+
* assert.isNotFunction(serveTea, 'great, we have listed the steps');
|
526
|
+
*
|
527
|
+
* @name isNotFunction
|
528
|
+
* @param {Mixed} value
|
529
|
+
* @param {String} message
|
530
|
+
* @namespace Assert
|
531
|
+
* @api public
|
532
|
+
*/
|
533
|
+
|
534
|
+
assert.isNotFunction = function (val, msg) {
|
535
|
+
new Assertion(val, msg).to.not.be.a('function');
|
536
|
+
};
|
537
|
+
|
538
|
+
/**
|
539
|
+
* ### .isObject(value, [message])
|
540
|
+
*
|
541
|
+
* Asserts that `value` is an object of type 'Object' (as revealed by `Object.prototype.toString`).
|
542
|
+
* _The assertion does not match subclassed objects._
|
543
|
+
*
|
544
|
+
* var selection = { name: 'Chai', serve: 'with spices' };
|
545
|
+
* assert.isObject(selection, 'tea selection is an object');
|
546
|
+
*
|
547
|
+
* @name isObject
|
548
|
+
* @param {Mixed} value
|
549
|
+
* @param {String} message
|
550
|
+
* @namespace Assert
|
551
|
+
* @api public
|
552
|
+
*/
|
553
|
+
|
554
|
+
assert.isObject = function (val, msg) {
|
555
|
+
new Assertion(val, msg).to.be.a('object');
|
556
|
+
};
|
557
|
+
|
558
|
+
/**
|
559
|
+
* ### .isNotObject(value, [message])
|
560
|
+
*
|
561
|
+
* Asserts that `value` is _not_ an object of type 'Object' (as revealed by `Object.prototype.toString`).
|
562
|
+
*
|
563
|
+
* var selection = 'chai'
|
564
|
+
* assert.isNotObject(selection, 'tea selection is not an object');
|
565
|
+
* assert.isNotObject(null, 'null is not an object');
|
566
|
+
*
|
567
|
+
* @name isNotObject
|
568
|
+
* @param {Mixed} value
|
569
|
+
* @param {String} message
|
570
|
+
* @namespace Assert
|
571
|
+
* @api public
|
572
|
+
*/
|
573
|
+
|
574
|
+
assert.isNotObject = function (val, msg) {
|
575
|
+
new Assertion(val, msg).to.not.be.a('object');
|
576
|
+
};
|
577
|
+
|
578
|
+
/**
|
579
|
+
* ### .isArray(value, [message])
|
580
|
+
*
|
581
|
+
* Asserts that `value` is an array.
|
582
|
+
*
|
583
|
+
* var menu = [ 'green', 'chai', 'oolong' ];
|
584
|
+
* assert.isArray(menu, 'what kind of tea do we want?');
|
585
|
+
*
|
586
|
+
* @name isArray
|
587
|
+
* @param {Mixed} value
|
588
|
+
* @param {String} message
|
589
|
+
* @namespace Assert
|
590
|
+
* @api public
|
591
|
+
*/
|
592
|
+
|
593
|
+
assert.isArray = function (val, msg) {
|
594
|
+
new Assertion(val, msg).to.be.an('array');
|
595
|
+
};
|
596
|
+
|
597
|
+
/**
|
598
|
+
* ### .isNotArray(value, [message])
|
599
|
+
*
|
600
|
+
* Asserts that `value` is _not_ an array.
|
601
|
+
*
|
602
|
+
* var menu = 'green|chai|oolong';
|
603
|
+
* assert.isNotArray(menu, 'what kind of tea do we want?');
|
604
|
+
*
|
605
|
+
* @name isNotArray
|
606
|
+
* @param {Mixed} value
|
607
|
+
* @param {String} message
|
608
|
+
* @namespace Assert
|
609
|
+
* @api public
|
610
|
+
*/
|
611
|
+
|
612
|
+
assert.isNotArray = function (val, msg) {
|
613
|
+
new Assertion(val, msg).to.not.be.an('array');
|
614
|
+
};
|
615
|
+
|
616
|
+
/**
|
617
|
+
* ### .isString(value, [message])
|
618
|
+
*
|
619
|
+
* Asserts that `value` is a string.
|
620
|
+
*
|
621
|
+
* var teaOrder = 'chai';
|
622
|
+
* assert.isString(teaOrder, 'order placed');
|
623
|
+
*
|
624
|
+
* @name isString
|
625
|
+
* @param {Mixed} value
|
626
|
+
* @param {String} message
|
627
|
+
* @namespace Assert
|
628
|
+
* @api public
|
629
|
+
*/
|
630
|
+
|
631
|
+
assert.isString = function (val, msg) {
|
632
|
+
new Assertion(val, msg).to.be.a('string');
|
633
|
+
};
|
634
|
+
|
635
|
+
/**
|
636
|
+
* ### .isNotString(value, [message])
|
637
|
+
*
|
638
|
+
* Asserts that `value` is _not_ a string.
|
639
|
+
*
|
640
|
+
* var teaOrder = 4;
|
641
|
+
* assert.isNotString(teaOrder, 'order placed');
|
642
|
+
*
|
643
|
+
* @name isNotString
|
644
|
+
* @param {Mixed} value
|
645
|
+
* @param {String} message
|
646
|
+
* @namespace Assert
|
647
|
+
* @api public
|
648
|
+
*/
|
649
|
+
|
650
|
+
assert.isNotString = function (val, msg) {
|
651
|
+
new Assertion(val, msg).to.not.be.a('string');
|
652
|
+
};
|
653
|
+
|
654
|
+
/**
|
655
|
+
* ### .isNumber(value, [message])
|
656
|
+
*
|
657
|
+
* Asserts that `value` is a number.
|
658
|
+
*
|
659
|
+
* var cups = 2;
|
660
|
+
* assert.isNumber(cups, 'how many cups');
|
661
|
+
*
|
662
|
+
* @name isNumber
|
663
|
+
* @param {Number} value
|
664
|
+
* @param {String} message
|
665
|
+
* @namespace Assert
|
666
|
+
* @api public
|
667
|
+
*/
|
668
|
+
|
669
|
+
assert.isNumber = function (val, msg) {
|
670
|
+
new Assertion(val, msg).to.be.a('number');
|
671
|
+
};
|
672
|
+
|
673
|
+
/**
|
674
|
+
* ### .isNotNumber(value, [message])
|
675
|
+
*
|
676
|
+
* Asserts that `value` is _not_ a number.
|
677
|
+
*
|
678
|
+
* var cups = '2 cups please';
|
679
|
+
* assert.isNotNumber(cups, 'how many cups');
|
680
|
+
*
|
681
|
+
* @name isNotNumber
|
682
|
+
* @param {Mixed} value
|
683
|
+
* @param {String} message
|
684
|
+
* @namespace Assert
|
685
|
+
* @api public
|
686
|
+
*/
|
687
|
+
|
688
|
+
assert.isNotNumber = function (val, msg) {
|
689
|
+
new Assertion(val, msg).to.not.be.a('number');
|
690
|
+
};
|
691
|
+
|
692
|
+
/**
|
693
|
+
* ### .isBoolean(value, [message])
|
694
|
+
*
|
695
|
+
* Asserts that `value` is a boolean.
|
696
|
+
*
|
697
|
+
* var teaReady = true
|
698
|
+
* , teaServed = false;
|
699
|
+
*
|
700
|
+
* assert.isBoolean(teaReady, 'is the tea ready');
|
701
|
+
* assert.isBoolean(teaServed, 'has tea been served');
|
702
|
+
*
|
703
|
+
* @name isBoolean
|
704
|
+
* @param {Mixed} value
|
705
|
+
* @param {String} message
|
706
|
+
* @namespace Assert
|
707
|
+
* @api public
|
708
|
+
*/
|
709
|
+
|
710
|
+
assert.isBoolean = function (val, msg) {
|
711
|
+
new Assertion(val, msg).to.be.a('boolean');
|
712
|
+
};
|
713
|
+
|
714
|
+
/**
|
715
|
+
* ### .isNotBoolean(value, [message])
|
716
|
+
*
|
717
|
+
* Asserts that `value` is _not_ a boolean.
|
718
|
+
*
|
719
|
+
* var teaReady = 'yep'
|
720
|
+
* , teaServed = 'nope';
|
721
|
+
*
|
722
|
+
* assert.isNotBoolean(teaReady, 'is the tea ready');
|
723
|
+
* assert.isNotBoolean(teaServed, 'has tea been served');
|
724
|
+
*
|
725
|
+
* @name isNotBoolean
|
726
|
+
* @param {Mixed} value
|
727
|
+
* @param {String} message
|
728
|
+
* @namespace Assert
|
729
|
+
* @api public
|
730
|
+
*/
|
731
|
+
|
732
|
+
assert.isNotBoolean = function (val, msg) {
|
733
|
+
new Assertion(val, msg).to.not.be.a('boolean');
|
734
|
+
};
|
735
|
+
|
736
|
+
/**
|
737
|
+
* ### .typeOf(value, name, [message])
|
738
|
+
*
|
739
|
+
* Asserts that `value`'s type is `name`, as determined by
|
740
|
+
* `Object.prototype.toString`.
|
741
|
+
*
|
742
|
+
* assert.typeOf({ tea: 'chai' }, 'object', 'we have an object');
|
743
|
+
* assert.typeOf(['chai', 'jasmine'], 'array', 'we have an array');
|
744
|
+
* assert.typeOf('tea', 'string', 'we have a string');
|
745
|
+
* assert.typeOf(/tea/, 'regexp', 'we have a regular expression');
|
746
|
+
* assert.typeOf(null, 'null', 'we have a null');
|
747
|
+
* assert.typeOf(undefined, 'undefined', 'we have an undefined');
|
748
|
+
*
|
749
|
+
* @name typeOf
|
750
|
+
* @param {Mixed} value
|
751
|
+
* @param {String} name
|
752
|
+
* @param {String} message
|
753
|
+
* @namespace Assert
|
754
|
+
* @api public
|
755
|
+
*/
|
756
|
+
|
757
|
+
assert.typeOf = function (val, type, msg) {
|
758
|
+
new Assertion(val, msg).to.be.a(type);
|
759
|
+
};
|
760
|
+
|
761
|
+
/**
|
762
|
+
* ### .notTypeOf(value, name, [message])
|
763
|
+
*
|
764
|
+
* Asserts that `value`'s type is _not_ `name`, as determined by
|
765
|
+
* `Object.prototype.toString`.
|
766
|
+
*
|
767
|
+
* assert.notTypeOf('tea', 'number', 'strings are not numbers');
|
768
|
+
*
|
769
|
+
* @name notTypeOf
|
770
|
+
* @param {Mixed} value
|
771
|
+
* @param {String} typeof name
|
772
|
+
* @param {String} message
|
773
|
+
* @namespace Assert
|
774
|
+
* @api public
|
775
|
+
*/
|
776
|
+
|
777
|
+
assert.notTypeOf = function (val, type, msg) {
|
778
|
+
new Assertion(val, msg).to.not.be.a(type);
|
779
|
+
};
|
780
|
+
|
781
|
+
/**
|
782
|
+
* ### .instanceOf(object, constructor, [message])
|
783
|
+
*
|
784
|
+
* Asserts that `value` is an instance of `constructor`.
|
785
|
+
*
|
786
|
+
* var Tea = function (name) { this.name = name; }
|
787
|
+
* , chai = new Tea('chai');
|
788
|
+
*
|
789
|
+
* assert.instanceOf(chai, Tea, 'chai is an instance of tea');
|
790
|
+
*
|
791
|
+
* @name instanceOf
|
792
|
+
* @param {Object} object
|
793
|
+
* @param {Constructor} constructor
|
794
|
+
* @param {String} message
|
795
|
+
* @namespace Assert
|
796
|
+
* @api public
|
797
|
+
*/
|
798
|
+
|
799
|
+
assert.instanceOf = function (val, type, msg) {
|
800
|
+
new Assertion(val, msg).to.be.instanceOf(type);
|
801
|
+
};
|
802
|
+
|
803
|
+
/**
|
804
|
+
* ### .notInstanceOf(object, constructor, [message])
|
805
|
+
*
|
806
|
+
* Asserts `value` is not an instance of `constructor`.
|
807
|
+
*
|
808
|
+
* var Tea = function (name) { this.name = name; }
|
809
|
+
* , chai = new String('chai');
|
810
|
+
*
|
811
|
+
* assert.notInstanceOf(chai, Tea, 'chai is not an instance of tea');
|
812
|
+
*
|
813
|
+
* @name notInstanceOf
|
814
|
+
* @param {Object} object
|
815
|
+
* @param {Constructor} constructor
|
816
|
+
* @param {String} message
|
817
|
+
* @namespace Assert
|
818
|
+
* @api public
|
819
|
+
*/
|
820
|
+
|
821
|
+
assert.notInstanceOf = function (val, type, msg) {
|
822
|
+
new Assertion(val, msg).to.not.be.instanceOf(type);
|
823
|
+
};
|
824
|
+
|
825
|
+
/**
|
826
|
+
* ### .include(haystack, needle, [message])
|
827
|
+
*
|
828
|
+
* Asserts that `haystack` includes `needle`. Works
|
829
|
+
* for strings and arrays.
|
830
|
+
*
|
831
|
+
* assert.include('foobar', 'bar', 'foobar contains string "bar"');
|
832
|
+
* assert.include([ 1, 2, 3 ], 3, 'array contains value');
|
833
|
+
*
|
834
|
+
* @name include
|
835
|
+
* @param {Array|String} haystack
|
836
|
+
* @param {Mixed} needle
|
837
|
+
* @param {String} message
|
838
|
+
* @namespace Assert
|
839
|
+
* @api public
|
840
|
+
*/
|
841
|
+
|
842
|
+
assert.include = function (exp, inc, msg) {
|
843
|
+
new Assertion(exp, msg, assert.include).include(inc);
|
844
|
+
};
|
845
|
+
|
846
|
+
/**
|
847
|
+
* ### .notInclude(haystack, needle, [message])
|
848
|
+
*
|
849
|
+
* Asserts that `haystack` does not include `needle`. Works
|
850
|
+
* for strings and arrays.
|
851
|
+
*
|
852
|
+
* assert.notInclude('foobar', 'baz', 'string not include substring');
|
853
|
+
* assert.notInclude([ 1, 2, 3 ], 4, 'array not include contain value');
|
854
|
+
*
|
855
|
+
* @name notInclude
|
856
|
+
* @param {Array|String} haystack
|
857
|
+
* @param {Mixed} needle
|
858
|
+
* @param {String} message
|
859
|
+
* @namespace Assert
|
860
|
+
* @api public
|
861
|
+
*/
|
862
|
+
|
863
|
+
assert.notInclude = function (exp, inc, msg) {
|
864
|
+
new Assertion(exp, msg, assert.notInclude).not.include(inc);
|
865
|
+
};
|
866
|
+
|
867
|
+
/**
|
868
|
+
* ### .match(value, regexp, [message])
|
869
|
+
*
|
870
|
+
* Asserts that `value` matches the regular expression `regexp`.
|
871
|
+
*
|
872
|
+
* assert.match('foobar', /^foo/, 'regexp matches');
|
873
|
+
*
|
874
|
+
* @name match
|
875
|
+
* @param {Mixed} value
|
876
|
+
* @param {RegExp} regexp
|
877
|
+
* @param {String} message
|
878
|
+
* @namespace Assert
|
879
|
+
* @api public
|
880
|
+
*/
|
881
|
+
|
882
|
+
assert.match = function (exp, re, msg) {
|
883
|
+
new Assertion(exp, msg).to.match(re);
|
884
|
+
};
|
885
|
+
|
886
|
+
/**
|
887
|
+
* ### .notMatch(value, regexp, [message])
|
888
|
+
*
|
889
|
+
* Asserts that `value` does not match the regular expression `regexp`.
|
890
|
+
*
|
891
|
+
* assert.notMatch('foobar', /^foo/, 'regexp does not match');
|
892
|
+
*
|
893
|
+
* @name notMatch
|
894
|
+
* @param {Mixed} value
|
895
|
+
* @param {RegExp} regexp
|
896
|
+
* @param {String} message
|
897
|
+
* @namespace Assert
|
898
|
+
* @api public
|
899
|
+
*/
|
900
|
+
|
901
|
+
assert.notMatch = function (exp, re, msg) {
|
902
|
+
new Assertion(exp, msg).to.not.match(re);
|
903
|
+
};
|
904
|
+
|
905
|
+
/**
|
906
|
+
* ### .property(object, property, [message])
|
907
|
+
*
|
908
|
+
* Asserts that `object` has a property named by `property`.
|
909
|
+
*
|
910
|
+
* assert.property({ tea: { green: 'matcha' }}, 'tea');
|
911
|
+
*
|
912
|
+
* @name property
|
913
|
+
* @param {Object} object
|
914
|
+
* @param {String} property
|
915
|
+
* @param {String} message
|
916
|
+
* @namespace Assert
|
917
|
+
* @api public
|
918
|
+
*/
|
919
|
+
|
920
|
+
assert.property = function (obj, prop, msg) {
|
921
|
+
new Assertion(obj, msg).to.have.property(prop);
|
922
|
+
};
|
923
|
+
|
924
|
+
/**
|
925
|
+
* ### .notProperty(object, property, [message])
|
926
|
+
*
|
927
|
+
* Asserts that `object` does _not_ have a property named by `property`.
|
928
|
+
*
|
929
|
+
* assert.notProperty({ tea: { green: 'matcha' }}, 'coffee');
|
930
|
+
*
|
931
|
+
* @name notProperty
|
932
|
+
* @param {Object} object
|
933
|
+
* @param {String} property
|
934
|
+
* @param {String} message
|
935
|
+
* @namespace Assert
|
936
|
+
* @api public
|
937
|
+
*/
|
938
|
+
|
939
|
+
assert.notProperty = function (obj, prop, msg) {
|
940
|
+
new Assertion(obj, msg).to.not.have.property(prop);
|
941
|
+
};
|
942
|
+
|
943
|
+
/**
|
944
|
+
* ### .deepProperty(object, property, [message])
|
945
|
+
*
|
946
|
+
* Asserts that `object` has a property named by `property`, which can be a
|
947
|
+
* string using dot- and bracket-notation for deep reference.
|
948
|
+
*
|
949
|
+
* assert.deepProperty({ tea: { green: 'matcha' }}, 'tea.green');
|
950
|
+
*
|
951
|
+
* @name deepProperty
|
952
|
+
* @param {Object} object
|
953
|
+
* @param {String} property
|
954
|
+
* @param {String} message
|
955
|
+
* @namespace Assert
|
956
|
+
* @api public
|
957
|
+
*/
|
958
|
+
|
959
|
+
assert.deepProperty = function (obj, prop, msg) {
|
960
|
+
new Assertion(obj, msg).to.have.deep.property(prop);
|
961
|
+
};
|
962
|
+
|
963
|
+
/**
|
964
|
+
* ### .notDeepProperty(object, property, [message])
|
965
|
+
*
|
966
|
+
* Asserts that `object` does _not_ have a property named by `property`, which
|
967
|
+
* can be a string using dot- and bracket-notation for deep reference.
|
968
|
+
*
|
969
|
+
* assert.notDeepProperty({ tea: { green: 'matcha' }}, 'tea.oolong');
|
970
|
+
*
|
971
|
+
* @name notDeepProperty
|
972
|
+
* @param {Object} object
|
973
|
+
* @param {String} property
|
974
|
+
* @param {String} message
|
975
|
+
* @namespace Assert
|
976
|
+
* @api public
|
977
|
+
*/
|
978
|
+
|
979
|
+
assert.notDeepProperty = function (obj, prop, msg) {
|
980
|
+
new Assertion(obj, msg).to.not.have.deep.property(prop);
|
981
|
+
};
|
982
|
+
|
983
|
+
/**
|
984
|
+
* ### .propertyVal(object, property, value, [message])
|
985
|
+
*
|
986
|
+
* Asserts that `object` has a property named by `property` with value given
|
987
|
+
* by `value`.
|
988
|
+
*
|
989
|
+
* assert.propertyVal({ tea: 'is good' }, 'tea', 'is good');
|
990
|
+
*
|
991
|
+
* @name propertyVal
|
992
|
+
* @param {Object} object
|
993
|
+
* @param {String} property
|
994
|
+
* @param {Mixed} value
|
995
|
+
* @param {String} message
|
996
|
+
* @namespace Assert
|
997
|
+
* @api public
|
998
|
+
*/
|
999
|
+
|
1000
|
+
assert.propertyVal = function (obj, prop, val, msg) {
|
1001
|
+
new Assertion(obj, msg).to.have.property(prop, val);
|
1002
|
+
};
|
1003
|
+
|
1004
|
+
/**
|
1005
|
+
* ### .propertyNotVal(object, property, value, [message])
|
1006
|
+
*
|
1007
|
+
* Asserts that `object` has a property named by `property`, but with a value
|
1008
|
+
* different from that given by `value`.
|
1009
|
+
*
|
1010
|
+
* assert.propertyNotVal({ tea: 'is good' }, 'tea', 'is bad');
|
1011
|
+
*
|
1012
|
+
* @name propertyNotVal
|
1013
|
+
* @param {Object} object
|
1014
|
+
* @param {String} property
|
1015
|
+
* @param {Mixed} value
|
1016
|
+
* @param {String} message
|
1017
|
+
* @namespace Assert
|
1018
|
+
* @api public
|
1019
|
+
*/
|
1020
|
+
|
1021
|
+
assert.propertyNotVal = function (obj, prop, val, msg) {
|
1022
|
+
new Assertion(obj, msg).to.not.have.property(prop, val);
|
1023
|
+
};
|
1024
|
+
|
1025
|
+
/**
|
1026
|
+
* ### .deepPropertyVal(object, property, value, [message])
|
1027
|
+
*
|
1028
|
+
* Asserts that `object` has a property named by `property` with value given
|
1029
|
+
* by `value`. `property` can use dot- and bracket-notation for deep
|
1030
|
+
* reference.
|
1031
|
+
*
|
1032
|
+
* assert.deepPropertyVal({ tea: { green: 'matcha' }}, 'tea.green', 'matcha');
|
1033
|
+
*
|
1034
|
+
* @name deepPropertyVal
|
1035
|
+
* @param {Object} object
|
1036
|
+
* @param {String} property
|
1037
|
+
* @param {Mixed} value
|
1038
|
+
* @param {String} message
|
1039
|
+
* @namespace Assert
|
1040
|
+
* @api public
|
1041
|
+
*/
|
1042
|
+
|
1043
|
+
assert.deepPropertyVal = function (obj, prop, val, msg) {
|
1044
|
+
new Assertion(obj, msg).to.have.deep.property(prop, val);
|
1045
|
+
};
|
1046
|
+
|
1047
|
+
/**
|
1048
|
+
* ### .deepPropertyNotVal(object, property, value, [message])
|
1049
|
+
*
|
1050
|
+
* Asserts that `object` has a property named by `property`, but with a value
|
1051
|
+
* different from that given by `value`. `property` can use dot- and
|
1052
|
+
* bracket-notation for deep reference.
|
1053
|
+
*
|
1054
|
+
* assert.deepPropertyNotVal({ tea: { green: 'matcha' }}, 'tea.green', 'konacha');
|
1055
|
+
*
|
1056
|
+
* @name deepPropertyNotVal
|
1057
|
+
* @param {Object} object
|
1058
|
+
* @param {String} property
|
1059
|
+
* @param {Mixed} value
|
1060
|
+
* @param {String} message
|
1061
|
+
* @namespace Assert
|
1062
|
+
* @api public
|
1063
|
+
*/
|
1064
|
+
|
1065
|
+
assert.deepPropertyNotVal = function (obj, prop, val, msg) {
|
1066
|
+
new Assertion(obj, msg).to.not.have.deep.property(prop, val);
|
1067
|
+
};
|
1068
|
+
|
1069
|
+
/**
|
1070
|
+
* ### .lengthOf(object, length, [message])
|
1071
|
+
*
|
1072
|
+
* Asserts that `object` has a `length` property with the expected value.
|
1073
|
+
*
|
1074
|
+
* assert.lengthOf([1,2,3], 3, 'array has length of 3');
|
1075
|
+
* assert.lengthOf('foobar', 6, 'string has length of 6');
|
1076
|
+
*
|
1077
|
+
* @name lengthOf
|
1078
|
+
* @param {Mixed} object
|
1079
|
+
* @param {Number} length
|
1080
|
+
* @param {String} message
|
1081
|
+
* @namespace Assert
|
1082
|
+
* @api public
|
1083
|
+
*/
|
1084
|
+
|
1085
|
+
assert.lengthOf = function (exp, len, msg) {
|
1086
|
+
new Assertion(exp, msg).to.have.length(len);
|
1087
|
+
};
|
1088
|
+
|
1089
|
+
/**
|
1090
|
+
* ### .throws(function, [constructor/string/regexp], [string/regexp], [message])
|
1091
|
+
*
|
1092
|
+
* Asserts that `function` will throw an error that is an instance of
|
1093
|
+
* `constructor`, or alternately that it will throw an error with message
|
1094
|
+
* matching `regexp`.
|
1095
|
+
*
|
1096
|
+
* assert.throws(fn, 'function throws a reference error');
|
1097
|
+
* assert.throws(fn, /function throws a reference error/);
|
1098
|
+
* assert.throws(fn, ReferenceError);
|
1099
|
+
* assert.throws(fn, ReferenceError, 'function throws a reference error');
|
1100
|
+
* assert.throws(fn, ReferenceError, /function throws a reference error/);
|
1101
|
+
*
|
1102
|
+
* @name throws
|
1103
|
+
* @alias throw
|
1104
|
+
* @alias Throw
|
1105
|
+
* @param {Function} function
|
1106
|
+
* @param {ErrorConstructor} constructor
|
1107
|
+
* @param {RegExp} regexp
|
1108
|
+
* @param {String} message
|
1109
|
+
* @see https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Error#Error_types
|
1110
|
+
* @namespace Assert
|
1111
|
+
* @api public
|
1112
|
+
*/
|
1113
|
+
|
1114
|
+
assert.throws = function (fn, errt, errs, msg) {
|
1115
|
+
if ('string' === typeof errt || errt instanceof RegExp) {
|
1116
|
+
errs = errt;
|
1117
|
+
errt = null;
|
1118
|
+
}
|
1119
|
+
|
1120
|
+
var assertErr = new Assertion(fn, msg).to.throw(errt, errs);
|
1121
|
+
return flag(assertErr, 'object');
|
1122
|
+
};
|
1123
|
+
|
1124
|
+
/**
|
1125
|
+
* ### .doesNotThrow(function, [constructor/regexp], [message])
|
1126
|
+
*
|
1127
|
+
* Asserts that `function` will _not_ throw an error that is an instance of
|
1128
|
+
* `constructor`, or alternately that it will not throw an error with message
|
1129
|
+
* matching `regexp`.
|
1130
|
+
*
|
1131
|
+
* assert.doesNotThrow(fn, Error, 'function does not throw');
|
1132
|
+
*
|
1133
|
+
* @name doesNotThrow
|
1134
|
+
* @param {Function} function
|
1135
|
+
* @param {ErrorConstructor} constructor
|
1136
|
+
* @param {RegExp} regexp
|
1137
|
+
* @param {String} message
|
1138
|
+
* @see https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Error#Error_types
|
1139
|
+
* @namespace Assert
|
1140
|
+
* @api public
|
1141
|
+
*/
|
1142
|
+
|
1143
|
+
assert.doesNotThrow = function (fn, type, msg) {
|
1144
|
+
if ('string' === typeof type) {
|
1145
|
+
msg = type;
|
1146
|
+
type = null;
|
1147
|
+
}
|
1148
|
+
|
1149
|
+
new Assertion(fn, msg).to.not.Throw(type);
|
1150
|
+
};
|
1151
|
+
|
1152
|
+
/**
|
1153
|
+
* ### .operator(val1, operator, val2, [message])
|
1154
|
+
*
|
1155
|
+
* Compares two values using `operator`.
|
1156
|
+
*
|
1157
|
+
* assert.operator(1, '<', 2, 'everything is ok');
|
1158
|
+
* assert.operator(1, '>', 2, 'this will fail');
|
1159
|
+
*
|
1160
|
+
* @name operator
|
1161
|
+
* @param {Mixed} val1
|
1162
|
+
* @param {String} operator
|
1163
|
+
* @param {Mixed} val2
|
1164
|
+
* @param {String} message
|
1165
|
+
* @namespace Assert
|
1166
|
+
* @api public
|
1167
|
+
*/
|
1168
|
+
|
1169
|
+
assert.operator = function (val, operator, val2, msg) {
|
1170
|
+
var ok;
|
1171
|
+
switch(operator) {
|
1172
|
+
case '==':
|
1173
|
+
ok = val == val2;
|
1174
|
+
break;
|
1175
|
+
case '===':
|
1176
|
+
ok = val === val2;
|
1177
|
+
break;
|
1178
|
+
case '>':
|
1179
|
+
ok = val > val2;
|
1180
|
+
break;
|
1181
|
+
case '>=':
|
1182
|
+
ok = val >= val2;
|
1183
|
+
break;
|
1184
|
+
case '<':
|
1185
|
+
ok = val < val2;
|
1186
|
+
break;
|
1187
|
+
case '<=':
|
1188
|
+
ok = val <= val2;
|
1189
|
+
break;
|
1190
|
+
case '!=':
|
1191
|
+
ok = val != val2;
|
1192
|
+
break;
|
1193
|
+
case '!==':
|
1194
|
+
ok = val !== val2;
|
1195
|
+
break;
|
1196
|
+
default:
|
1197
|
+
throw new Error('Invalid operator "' + operator + '"');
|
1198
|
+
}
|
1199
|
+
var test = new Assertion(ok, msg);
|
1200
|
+
test.assert(
|
1201
|
+
true === flag(test, 'object')
|
1202
|
+
, 'expected ' + util.inspect(val) + ' to be ' + operator + ' ' + util.inspect(val2)
|
1203
|
+
, 'expected ' + util.inspect(val) + ' to not be ' + operator + ' ' + util.inspect(val2) );
|
1204
|
+
};
|
1205
|
+
|
1206
|
+
/**
|
1207
|
+
* ### .closeTo(actual, expected, delta, [message])
|
1208
|
+
*
|
1209
|
+
* Asserts that the target is equal `expected`, to within a +/- `delta` range.
|
1210
|
+
*
|
1211
|
+
* assert.closeTo(1.5, 1, 0.5, 'numbers are close');
|
1212
|
+
*
|
1213
|
+
* @name closeTo
|
1214
|
+
* @param {Number} actual
|
1215
|
+
* @param {Number} expected
|
1216
|
+
* @param {Number} delta
|
1217
|
+
* @param {String} message
|
1218
|
+
* @namespace Assert
|
1219
|
+
* @api public
|
1220
|
+
*/
|
1221
|
+
|
1222
|
+
assert.closeTo = function (act, exp, delta, msg) {
|
1223
|
+
new Assertion(act, msg).to.be.closeTo(exp, delta);
|
1224
|
+
};
|
1225
|
+
|
1226
|
+
/**
|
1227
|
+
* ### .approximately(actual, expected, delta, [message])
|
1228
|
+
*
|
1229
|
+
* Asserts that the target is equal `expected`, to within a +/- `delta` range.
|
1230
|
+
*
|
1231
|
+
* assert.approximately(1.5, 1, 0.5, 'numbers are close');
|
1232
|
+
*
|
1233
|
+
* @name approximately
|
1234
|
+
* @param {Number} actual
|
1235
|
+
* @param {Number} expected
|
1236
|
+
* @param {Number} delta
|
1237
|
+
* @param {String} message
|
1238
|
+
* @namespace Assert
|
1239
|
+
* @api public
|
1240
|
+
*/
|
1241
|
+
|
1242
|
+
assert.approximately = function (act, exp, delta, msg) {
|
1243
|
+
new Assertion(act, msg).to.be.approximately(exp, delta);
|
1244
|
+
};
|
1245
|
+
|
1246
|
+
/**
|
1247
|
+
* ### .sameMembers(set1, set2, [message])
|
1248
|
+
*
|
1249
|
+
* Asserts that `set1` and `set2` have the same members.
|
1250
|
+
* Order is not taken into account.
|
1251
|
+
*
|
1252
|
+
* assert.sameMembers([ 1, 2, 3 ], [ 2, 1, 3 ], 'same members');
|
1253
|
+
*
|
1254
|
+
* @name sameMembers
|
1255
|
+
* @param {Array} set1
|
1256
|
+
* @param {Array} set2
|
1257
|
+
* @param {String} message
|
1258
|
+
* @namespace Assert
|
1259
|
+
* @api public
|
1260
|
+
*/
|
1261
|
+
|
1262
|
+
assert.sameMembers = function (set1, set2, msg) {
|
1263
|
+
new Assertion(set1, msg).to.have.same.members(set2);
|
1264
|
+
}
|
1265
|
+
|
1266
|
+
/**
|
1267
|
+
* ### .sameDeepMembers(set1, set2, [message])
|
1268
|
+
*
|
1269
|
+
* Asserts that `set1` and `set2` have the same members - using a deep equality checking.
|
1270
|
+
* Order is not taken into account.
|
1271
|
+
*
|
1272
|
+
* assert.sameDeepMembers([ {b: 3}, {a: 2}, {c: 5} ], [ {c: 5}, {b: 3}, {a: 2} ], 'same deep members');
|
1273
|
+
*
|
1274
|
+
* @name sameDeepMembers
|
1275
|
+
* @param {Array} set1
|
1276
|
+
* @param {Array} set2
|
1277
|
+
* @param {String} message
|
1278
|
+
* @namespace Assert
|
1279
|
+
* @api public
|
1280
|
+
*/
|
1281
|
+
|
1282
|
+
assert.sameDeepMembers = function (set1, set2, msg) {
|
1283
|
+
new Assertion(set1, msg).to.have.same.deep.members(set2);
|
1284
|
+
}
|
1285
|
+
|
1286
|
+
/**
|
1287
|
+
* ### .includeMembers(superset, subset, [message])
|
1288
|
+
*
|
1289
|
+
* Asserts that `subset` is included in `superset`.
|
1290
|
+
* Order is not taken into account.
|
1291
|
+
*
|
1292
|
+
* assert.includeMembers([ 1, 2, 3 ], [ 2, 1 ], 'include members');
|
1293
|
+
*
|
1294
|
+
* @name includeMembers
|
1295
|
+
* @param {Array} superset
|
1296
|
+
* @param {Array} subset
|
1297
|
+
* @param {String} message
|
1298
|
+
* @namespace Assert
|
1299
|
+
* @api public
|
1300
|
+
*/
|
1301
|
+
|
1302
|
+
assert.includeMembers = function (superset, subset, msg) {
|
1303
|
+
new Assertion(superset, msg).to.include.members(subset);
|
1304
|
+
}
|
1305
|
+
|
1306
|
+
/**
|
1307
|
+
* ### .includeDeepMembers(superset, subset, [message])
|
1308
|
+
*
|
1309
|
+
* Asserts that `subset` is included in `superset` - using deep equality checking.
|
1310
|
+
* Order is not taken into account.
|
1311
|
+
* Duplicates are ignored.
|
1312
|
+
*
|
1313
|
+
* assert.includeDeepMembers([ {a: 1}, {b: 2}, {c: 3} ], [ {b: 2}, {a: 1}, {b: 2} ], 'include deep members');
|
1314
|
+
*
|
1315
|
+
* @name includeDeepMembers
|
1316
|
+
* @param {Array} superset
|
1317
|
+
* @param {Array} subset
|
1318
|
+
* @param {String} message
|
1319
|
+
* @namespace Assert
|
1320
|
+
* @api public
|
1321
|
+
*/
|
1322
|
+
|
1323
|
+
assert.includeDeepMembers = function (superset, subset, msg) {
|
1324
|
+
new Assertion(superset, msg).to.include.deep.members(subset);
|
1325
|
+
}
|
1326
|
+
|
1327
|
+
/**
|
1328
|
+
* ### .oneOf(inList, list, [message])
|
1329
|
+
*
|
1330
|
+
* Asserts that non-object, non-array value `inList` appears in the flat array `list`.
|
1331
|
+
*
|
1332
|
+
* assert.oneOf(1, [ 2, 1 ], 'Not found in list');
|
1333
|
+
*
|
1334
|
+
* @name oneOf
|
1335
|
+
* @param {*} inList
|
1336
|
+
* @param {Array<*>} list
|
1337
|
+
* @param {String} message
|
1338
|
+
* @namespace Assert
|
1339
|
+
* @api public
|
1340
|
+
*/
|
1341
|
+
|
1342
|
+
assert.oneOf = function (inList, list, msg) {
|
1343
|
+
new Assertion(inList, msg).to.be.oneOf(list);
|
1344
|
+
}
|
1345
|
+
|
1346
|
+
/**
|
1347
|
+
* ### .changes(function, object, property)
|
1348
|
+
*
|
1349
|
+
* Asserts that a function changes the value of a property
|
1350
|
+
*
|
1351
|
+
* var obj = { val: 10 };
|
1352
|
+
* var fn = function() { obj.val = 22 };
|
1353
|
+
* assert.changes(fn, obj, 'val');
|
1354
|
+
*
|
1355
|
+
* @name changes
|
1356
|
+
* @param {Function} modifier function
|
1357
|
+
* @param {Object} object
|
1358
|
+
* @param {String} property name
|
1359
|
+
* @param {String} message _optional_
|
1360
|
+
* @namespace Assert
|
1361
|
+
* @api public
|
1362
|
+
*/
|
1363
|
+
|
1364
|
+
assert.changes = function (fn, obj, prop) {
|
1365
|
+
new Assertion(fn).to.change(obj, prop);
|
1366
|
+
}
|
1367
|
+
|
1368
|
+
/**
|
1369
|
+
* ### .doesNotChange(function, object, property)
|
1370
|
+
*
|
1371
|
+
* Asserts that a function does not changes the value of a property
|
1372
|
+
*
|
1373
|
+
* var obj = { val: 10 };
|
1374
|
+
* var fn = function() { console.log('foo'); };
|
1375
|
+
* assert.doesNotChange(fn, obj, 'val');
|
1376
|
+
*
|
1377
|
+
* @name doesNotChange
|
1378
|
+
* @param {Function} modifier function
|
1379
|
+
* @param {Object} object
|
1380
|
+
* @param {String} property name
|
1381
|
+
* @param {String} message _optional_
|
1382
|
+
* @namespace Assert
|
1383
|
+
* @api public
|
1384
|
+
*/
|
1385
|
+
|
1386
|
+
assert.doesNotChange = function (fn, obj, prop) {
|
1387
|
+
new Assertion(fn).to.not.change(obj, prop);
|
1388
|
+
}
|
1389
|
+
|
1390
|
+
/**
|
1391
|
+
* ### .increases(function, object, property)
|
1392
|
+
*
|
1393
|
+
* Asserts that a function increases an object property
|
1394
|
+
*
|
1395
|
+
* var obj = { val: 10 };
|
1396
|
+
* var fn = function() { obj.val = 13 };
|
1397
|
+
* assert.increases(fn, obj, 'val');
|
1398
|
+
*
|
1399
|
+
* @name increases
|
1400
|
+
* @param {Function} modifier function
|
1401
|
+
* @param {Object} object
|
1402
|
+
* @param {String} property name
|
1403
|
+
* @param {String} message _optional_
|
1404
|
+
* @namespace Assert
|
1405
|
+
* @api public
|
1406
|
+
*/
|
1407
|
+
|
1408
|
+
assert.increases = function (fn, obj, prop) {
|
1409
|
+
new Assertion(fn).to.increase(obj, prop);
|
1410
|
+
}
|
1411
|
+
|
1412
|
+
/**
|
1413
|
+
* ### .doesNotIncrease(function, object, property)
|
1414
|
+
*
|
1415
|
+
* Asserts that a function does not increase object property
|
1416
|
+
*
|
1417
|
+
* var obj = { val: 10 };
|
1418
|
+
* var fn = function() { obj.val = 8 };
|
1419
|
+
* assert.doesNotIncrease(fn, obj, 'val');
|
1420
|
+
*
|
1421
|
+
* @name doesNotIncrease
|
1422
|
+
* @param {Function} modifier function
|
1423
|
+
* @param {Object} object
|
1424
|
+
* @param {String} property name
|
1425
|
+
* @param {String} message _optional_
|
1426
|
+
* @namespace Assert
|
1427
|
+
* @api public
|
1428
|
+
*/
|
1429
|
+
|
1430
|
+
assert.doesNotIncrease = function (fn, obj, prop) {
|
1431
|
+
new Assertion(fn).to.not.increase(obj, prop);
|
1432
|
+
}
|
1433
|
+
|
1434
|
+
/**
|
1435
|
+
* ### .decreases(function, object, property)
|
1436
|
+
*
|
1437
|
+
* Asserts that a function decreases an object property
|
1438
|
+
*
|
1439
|
+
* var obj = { val: 10 };
|
1440
|
+
* var fn = function() { obj.val = 5 };
|
1441
|
+
* assert.decreases(fn, obj, 'val');
|
1442
|
+
*
|
1443
|
+
* @name decreases
|
1444
|
+
* @param {Function} modifier function
|
1445
|
+
* @param {Object} object
|
1446
|
+
* @param {String} property name
|
1447
|
+
* @param {String} message _optional_
|
1448
|
+
* @namespace Assert
|
1449
|
+
* @api public
|
1450
|
+
*/
|
1451
|
+
|
1452
|
+
assert.decreases = function (fn, obj, prop) {
|
1453
|
+
new Assertion(fn).to.decrease(obj, prop);
|
1454
|
+
}
|
1455
|
+
|
1456
|
+
/**
|
1457
|
+
* ### .doesNotDecrease(function, object, property)
|
1458
|
+
*
|
1459
|
+
* Asserts that a function does not decreases an object property
|
1460
|
+
*
|
1461
|
+
* var obj = { val: 10 };
|
1462
|
+
* var fn = function() { obj.val = 15 };
|
1463
|
+
* assert.doesNotDecrease(fn, obj, 'val');
|
1464
|
+
*
|
1465
|
+
* @name doesNotDecrease
|
1466
|
+
* @param {Function} modifier function
|
1467
|
+
* @param {Object} object
|
1468
|
+
* @param {String} property name
|
1469
|
+
* @param {String} message _optional_
|
1470
|
+
* @namespace Assert
|
1471
|
+
* @api public
|
1472
|
+
*/
|
1473
|
+
|
1474
|
+
assert.doesNotDecrease = function (fn, obj, prop) {
|
1475
|
+
new Assertion(fn).to.not.decrease(obj, prop);
|
1476
|
+
}
|
1477
|
+
|
1478
|
+
/*!
|
1479
|
+
* ### .ifError(object)
|
1480
|
+
*
|
1481
|
+
* Asserts if value is not a false value, and throws if it is a true value.
|
1482
|
+
* This is added to allow for chai to be a drop-in replacement for Node's
|
1483
|
+
* assert class.
|
1484
|
+
*
|
1485
|
+
* var err = new Error('I am a custom error');
|
1486
|
+
* assert.ifError(err); // Rethrows err!
|
1487
|
+
*
|
1488
|
+
* @name ifError
|
1489
|
+
* @param {Object} object
|
1490
|
+
* @namespace Assert
|
1491
|
+
* @api public
|
1492
|
+
*/
|
1493
|
+
|
1494
|
+
assert.ifError = function (val) {
|
1495
|
+
if (val) {
|
1496
|
+
throw(val);
|
1497
|
+
}
|
1498
|
+
};
|
1499
|
+
|
1500
|
+
/**
|
1501
|
+
* ### .isExtensible(object)
|
1502
|
+
*
|
1503
|
+
* Asserts that `object` is extensible (can have new properties added to it).
|
1504
|
+
*
|
1505
|
+
* assert.isExtensible({});
|
1506
|
+
*
|
1507
|
+
* @name isExtensible
|
1508
|
+
* @alias extensible
|
1509
|
+
* @param {Object} object
|
1510
|
+
* @param {String} message _optional_
|
1511
|
+
* @namespace Assert
|
1512
|
+
* @api public
|
1513
|
+
*/
|
1514
|
+
|
1515
|
+
assert.isExtensible = function (obj, msg) {
|
1516
|
+
new Assertion(obj, msg).to.be.extensible;
|
1517
|
+
};
|
1518
|
+
|
1519
|
+
/**
|
1520
|
+
* ### .isNotExtensible(object)
|
1521
|
+
*
|
1522
|
+
* Asserts that `object` is _not_ extensible.
|
1523
|
+
*
|
1524
|
+
* var nonExtensibleObject = Object.preventExtensions({});
|
1525
|
+
* var sealedObject = Object.seal({});
|
1526
|
+
* var frozenObject = Object.freese({});
|
1527
|
+
*
|
1528
|
+
* assert.isNotExtensible(nonExtensibleObject);
|
1529
|
+
* assert.isNotExtensible(sealedObject);
|
1530
|
+
* assert.isNotExtensible(frozenObject);
|
1531
|
+
*
|
1532
|
+
* @name isNotExtensible
|
1533
|
+
* @alias notExtensible
|
1534
|
+
* @param {Object} object
|
1535
|
+
* @param {String} message _optional_
|
1536
|
+
* @namespace Assert
|
1537
|
+
* @api public
|
1538
|
+
*/
|
1539
|
+
|
1540
|
+
assert.isNotExtensible = function (obj, msg) {
|
1541
|
+
new Assertion(obj, msg).to.not.be.extensible;
|
1542
|
+
};
|
1543
|
+
|
1544
|
+
/**
|
1545
|
+
* ### .isSealed(object)
|
1546
|
+
*
|
1547
|
+
* Asserts that `object` is sealed (cannot have new properties added to it
|
1548
|
+
* and its existing properties cannot be removed).
|
1549
|
+
*
|
1550
|
+
* var sealedObject = Object.seal({});
|
1551
|
+
* var frozenObject = Object.seal({});
|
1552
|
+
*
|
1553
|
+
* assert.isSealed(sealedObject);
|
1554
|
+
* assert.isSealed(frozenObject);
|
1555
|
+
*
|
1556
|
+
* @name isSealed
|
1557
|
+
* @alias sealed
|
1558
|
+
* @param {Object} object
|
1559
|
+
* @param {String} message _optional_
|
1560
|
+
* @namespace Assert
|
1561
|
+
* @api public
|
1562
|
+
*/
|
1563
|
+
|
1564
|
+
assert.isSealed = function (obj, msg) {
|
1565
|
+
new Assertion(obj, msg).to.be.sealed;
|
1566
|
+
};
|
1567
|
+
|
1568
|
+
/**
|
1569
|
+
* ### .isNotSealed(object)
|
1570
|
+
*
|
1571
|
+
* Asserts that `object` is _not_ sealed.
|
1572
|
+
*
|
1573
|
+
* assert.isNotSealed({});
|
1574
|
+
*
|
1575
|
+
* @name isNotSealed
|
1576
|
+
* @alias notSealed
|
1577
|
+
* @param {Object} object
|
1578
|
+
* @param {String} message _optional_
|
1579
|
+
* @namespace Assert
|
1580
|
+
* @api public
|
1581
|
+
*/
|
1582
|
+
|
1583
|
+
assert.isNotSealed = function (obj, msg) {
|
1584
|
+
new Assertion(obj, msg).to.not.be.sealed;
|
1585
|
+
};
|
1586
|
+
|
1587
|
+
/**
|
1588
|
+
* ### .isFrozen(object)
|
1589
|
+
*
|
1590
|
+
* Asserts that `object` is frozen (cannot have new properties added to it
|
1591
|
+
* and its existing properties cannot be modified).
|
1592
|
+
*
|
1593
|
+
* var frozenObject = Object.freeze({});
|
1594
|
+
* assert.frozen(frozenObject);
|
1595
|
+
*
|
1596
|
+
* @name isFrozen
|
1597
|
+
* @alias frozen
|
1598
|
+
* @param {Object} object
|
1599
|
+
* @param {String} message _optional_
|
1600
|
+
* @namespace Assert
|
1601
|
+
* @api public
|
1602
|
+
*/
|
1603
|
+
|
1604
|
+
assert.isFrozen = function (obj, msg) {
|
1605
|
+
new Assertion(obj, msg).to.be.frozen;
|
1606
|
+
};
|
1607
|
+
|
1608
|
+
/**
|
1609
|
+
* ### .isNotFrozen(object)
|
1610
|
+
*
|
1611
|
+
* Asserts that `object` is _not_ frozen.
|
1612
|
+
*
|
1613
|
+
* assert.isNotFrozen({});
|
1614
|
+
*
|
1615
|
+
* @name isNotFrozen
|
1616
|
+
* @alias notFrozen
|
1617
|
+
* @param {Object} object
|
1618
|
+
* @param {String} message _optional_
|
1619
|
+
* @namespace Assert
|
1620
|
+
* @api public
|
1621
|
+
*/
|
1622
|
+
|
1623
|
+
assert.isNotFrozen = function (obj, msg) {
|
1624
|
+
new Assertion(obj, msg).to.not.be.frozen;
|
1625
|
+
};
|
1626
|
+
|
1627
|
+
/*!
|
1628
|
+
* Aliases.
|
1629
|
+
*/
|
1630
|
+
|
1631
|
+
(function alias(name, as){
|
1632
|
+
assert[as] = assert[name];
|
1633
|
+
return alias;
|
1634
|
+
})
|
1635
|
+
('isOk', 'ok')
|
1636
|
+
('isNotOk', 'notOk')
|
1637
|
+
('throws', 'throw')
|
1638
|
+
('throws', 'Throw')
|
1639
|
+
('isExtensible', 'extensible')
|
1640
|
+
('isNotExtensible', 'notExtensible')
|
1641
|
+
('isSealed', 'sealed')
|
1642
|
+
('isNotSealed', 'notSealed')
|
1643
|
+
('isFrozen', 'frozen')
|
1644
|
+
('isNotFrozen', 'notFrozen');
|
1645
|
+
};
|