Open platform to collect and prioritize feedback
update js and go deps (#287)
Guilherme Oenning5f68866913bd
diff --git a/Gopkg.lock b/Gopkg.lockindex 53a067f1c..0a2889377 100644--- a/Gopkg.lock+++ b/Gopkg.lock@@ -42,10 +42,10 @@version = "v1.1.1"[[projects]]+ branch = "master"name = "github.com/julienschmidt/httprouter"packages = ["."]- revision = "8c199fb6259ffc1af525cc3ad52ee60ba8359669"- version = "v1.1"+ revision = "d1898390779332322e6b5ca5011da4bf249bb056"[[projects]]branch = "master"@@ -54,7 +54,7 @@".","oid"]- revision = "23da1db4f16d9658a86ae9b717c245fc078f10f1"+ revision = "88edab0803230a3898347e77b474f8c1820a1f20"[[projects]]name = "github.com/mattes/migrate"@@ -166,6 +166,6 @@[solve-meta]analyzer-name = "dep"analyzer-version = 1- inputs-digest = "d0c83951eaaa140852324af4098edb7c9f4255d608ae7d3d5d35cbf5075d6470"+ inputs-digest = "0417bf0aaacf11facc05a78cfc1c2607ce5aa876290f69bacd2fe7a7802bddf4"solver-name = "gps-cdcl"solver-version = 1diff --git a/Gopkg.toml b/Gopkg.tomlindex 40e7f88af..fb378bd5e 100644--- a/Gopkg.toml+++ b/Gopkg.toml@@ -51,4 +51,8 @@[[constraint]]branch = "master"- name = "github.com/goenning/letteravatar"\ No newline at end of file+ name = "github.com/goenning/letteravatar"++[[constraint]]+ branch = "master"+ name = "github.com/julienschmidt/httprouter"\ No newline at end of filediff --git a/app/pkg/web/engine.go b/app/pkg/web/engine.goindex 0f4127bc7..a35ab05c3 100644--- a/app/pkg/web/engine.go+++ b/app/pkg/web/engine.go@@ -16,6 +16,15 @@ import ("github.com/julienschmidt/httprouter")+type notFoundHandler struct {+ router *Engine+}++func (h *notFoundHandler) ServeHTTP(res http.ResponseWriter, req *http.Request) {+ ctx := h.router.NewContext(res, req, nil)+ ctx.NotFound()+}+//HandlerFunc represents an HTTP handlertype HandlerFunc func(Context) error@@ -44,10 +53,7 @@ func New(settings *models.SystemSettings) *Engine {worker: worker.New(),}- router.mux.NotFound = func(res http.ResponseWriter, req *http.Request) {- ctx := router.NewContext(res, req, nil)- ctx.NotFound()- }+ router.mux.NotFound = ¬FoundHandler{router}return router}diff --git a/package-lock.json b/package-lock.jsonindex 4162de4e4..3a38f503e 100644--- a/package-lock.json+++ b/package-lock.json@@ -5,9 +5,9 @@"requires": true,"dependencies": {"@types/jquery": {- "version": "3.2.17",- "resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-3.2.17.tgz",- "integrity": "sha512-lt8i2ZqymxxN1JnWSOTPU7Xc3ze32lhASkVdsMd6/SZnb/jtBsmFEoYCBSa0tzGDSyO7ZB+4r4aihj+KTlDs5w==",+ "version": "3.3.0",+ "resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-3.3.0.tgz",+ "integrity": "sha512-szaKV2OQgwxYTGTY6qd9eeBfGGCaP7n2OGit4JdbOcfGgc9VWjfhMhnu5AVNhIAu8WWDIB36q9dfPVba1fGeIQ==","dev": true},"@types/markdown-it": {@@ -17,43 +17,40 @@"dev": true},"@types/mocha": {- "version": "2.2.45",- "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-2.2.45.tgz",- "integrity": "sha512-tE1SYtNG3I3atRVPELSGN2FJJJtPg3O/G0tycYSyzeDqdAbdLPRH089LhpWYA5M/iHeWHkVZq/b0OVKngcK0Eg==",- "dev": true,- "requires": {- "@types/node": "8.5.2"- }+ "version": "2.2.48",+ "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-2.2.48.tgz",+ "integrity": "sha512-nlK/iyETgafGli8Zh9zJVCTicvU3iajSkRwOh3Hhiva598CMqNJ4NcVCGMTGKpGpTYj/9R8RLzS9NAykSSCqGw==",+ "dev": true},"@types/node": {- "version": "8.5.2",- "resolved": "https://registry.npmjs.org/@types/node/-/node-8.5.2.tgz",- "integrity": "sha512-KA4GKOpgXnrqEH2eCVhiv2CsxgXGQJgV1X0vsGlh+WCnxbeAE1GT44ZsTU1IN5dEeV/gDupKa7gWo08V5IxWVQ==",+ "version": "9.4.6",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-9.4.6.tgz",+ "integrity": "sha512-CTUtLb6WqCCgp6P59QintjHWqzf4VL1uPA27bipLAPxFqrtK1gEYllePzTICGqQ8rYsCbpnsNypXjjDzGAAjEQ==","dev": true},"@types/react": {- "version": "16.0.34",- "resolved": "https://registry.npmjs.org/@types/react/-/react-16.0.34.tgz",- "integrity": "sha512-Ee66fX2qMsDnDq7sPnDtq1bGoo479j6Fo1BlSnne+L5rp6ndzBUgz72+MRNuN56zg9uuteRCkJAMdDJEX2Uqig==",+ "version": "16.0.38",+ "resolved": "https://registry.npmjs.org/@types/react/-/react-16.0.38.tgz",+ "integrity": "sha512-t0XJHNrlzLiVAKCWxS9zzAadoQO8zGFpHsrvNVk7QmrDXnm3cPFy2wFcHGNbKjntBiXznL6qQkh+a1Wxu21+dA==","dev": true},"@types/react-dom": {- "version": "16.0.3",- "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-16.0.3.tgz",- "integrity": "sha512-xAvZiGhQlEhjStoKktoai8CelXVFBaSN6JX4vy1UQioRba3c2vum1TGzR0thHoEauZtIwzWg8mos0AHu2ne4jw==",+ "version": "16.0.4",+ "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-16.0.4.tgz",+ "integrity": "sha512-sbz9kOF/1aFlJ+322BLrOhc/ek3G3ADlRtGOjEOhO7c8Z2IVnI4haDGAD/LFwv35e0so+JLe6ovAZ6O0El9n2Q==","dev": true,"requires": {- "@types/node": "8.5.2",- "@types/react": "16.0.34"+ "@types/node": "9.4.6",+ "@types/react": "16.0.38"}},"@types/react-textarea-autosize": {- "version": "4.3.1",- "resolved": "https://registry.npmjs.org/@types/react-textarea-autosize/-/react-textarea-autosize-4.3.1.tgz",- "integrity": "sha512-50W9dx8TlA1Z2ZemtXXCu5docRHRTvdzIMwMAA1PSzeoivPmPguh3PHQ9ibEkK4WczPecrZblvyZCrA2t5KKnA==",+ "version": "4.3.2",+ "resolved": "https://registry.npmjs.org/@types/react-textarea-autosize/-/react-textarea-autosize-4.3.2.tgz",+ "integrity": "sha512-m+5BtdiZc4hEBToupdv5JzP+tLQJq1ZGM0ZFUKjGvf9dUl6dhRR3mkilfpy+2wEU5sIljnlorfdGDu6rD7xllA==","dev": true,"requires": {- "@types/react": "16.0.34"+ "@types/react": "16.0.38"}},"@types/selenium-webdriver": {@@ -69,9 +66,9 @@"dev": true},"acorn": {- "version": "5.3.0",- "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.3.0.tgz",- "integrity": "sha512-Yej+zOJ1Dm/IMZzzj78OntP/r3zHEaKcyNoU2lAaxPtrseM6rF0xwqoz5Q5ysAiED9hTjI2hgtvLXitlCN1/Ug==",+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.5.0.tgz",+ "integrity": "sha512-arn53F07VXmls4o4pUhSzBa4fvaagPRe7AVZ8l7NHxFWUie2DsuFSBMMNAkgzRlOhEhzAnxeKyaWVzOH4xqp/g==","dev": true},"acorn-dynamic-import": {@@ -104,9 +101,9 @@}},"ajv-keywords": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-2.1.1.tgz",- "integrity": "sha1-YXmX/F9gV2iUxDX5QNgZ4TW4B2I=",+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.1.0.tgz",+ "integrity": "sha1-rCsnk5xUPpXSwG5/f1wnvkqlQ74=","dev": true},"align-text": {@@ -152,6 +149,73 @@"requires": {"micromatch": "2.3.11","normalize-path": "2.1.1"+ },+ "dependencies": {+ "arr-diff": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz",+ "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=",+ "dev": true,+ "requires": {+ "arr-flatten": "1.1.0"+ }+ },+ "array-unique": {+ "version": "0.2.1",+ "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz",+ "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=",+ "dev": true+ },+ "braces": {+ "version": "1.8.5",+ "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz",+ "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=",+ "dev": true,+ "requires": {+ "expand-range": "1.8.2",+ "preserve": "0.2.0",+ "repeat-element": "1.1.2"+ }+ },+ "expand-brackets": {+ "version": "0.1.5",+ "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz",+ "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=",+ "dev": true,+ "requires": {+ "is-posix-bracket": "0.1.1"+ }+ },+ "extglob": {+ "version": "0.3.2",+ "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz",+ "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=",+ "dev": true,+ "requires": {+ "is-extglob": "1.0.0"+ }+ },+ "micromatch": {+ "version": "2.3.11",+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz",+ "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=",+ "dev": true,+ "requires": {+ "arr-diff": "2.0.0",+ "array-unique": "0.2.1",+ "braces": "1.8.5",+ "expand-brackets": "0.1.5",+ "extglob": "0.3.2",+ "filename-regex": "2.0.1",+ "is-extglob": "1.0.0",+ "is-glob": "2.0.1",+ "kind-of": "3.2.2",+ "normalize-path": "2.1.1",+ "object.omit": "2.0.1",+ "parse-glob": "3.0.4",+ "regex-cache": "0.4.4"+ }+ }}},"aproba": {@@ -171,21 +235,18 @@}},"argparse": {- "version": "1.0.9",- "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.9.tgz",- "integrity": "sha1-c9g7wmP4bpf4zE9rrhsOkKfSLIY=",+ "version": "1.0.10",+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",+ "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==","requires": {"sprintf-js": "1.0.3"}},"arr-diff": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz",- "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=",- "dev": true,- "requires": {- "arr-flatten": "1.1.0"- }+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz",+ "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=",+ "dev": true},"arr-flatten": {"version": "1.1.0",@@ -193,6 +254,12 @@"integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==","dev": true},+ "arr-union": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz",+ "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=",+ "dev": true+ },"array-find-index": {"version": "1.0.2","resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz",@@ -215,9 +282,9 @@"dev": true},"array-unique": {- "version": "0.2.1",- "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz",- "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=",+ "version": "0.3.2",+ "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz",+ "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=","dev": true},"asap": {@@ -232,9 +299,9 @@"dev": true},"asn1.js": {- "version": "4.9.2",- "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.9.2.tgz",- "integrity": "sha512-b/OsSjvWEo8Pi8H0zsDd2P6Uqo2TK2pH8gNLSJtNLM2Db0v2QaAZ0pBQJXVjAn4gBuugeVDr7s63ZogpUIwWDg==",+ "version": "4.10.1",+ "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.10.1.tgz",+ "integrity": "sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw==","dev": true,"requires": {"bn.js": "4.11.8",@@ -257,6 +324,12 @@"integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=","dev": true},+ "assign-symbols": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz",+ "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=",+ "dev": true+ },"async": {"version": "2.6.0","resolved": "https://registry.npmjs.org/async/-/async-2.6.0.tgz",@@ -284,6 +357,12 @@"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=","dev": true},+ "atob": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/atob/-/atob-2.0.3.tgz",+ "integrity": "sha1-GcenYEc3dEaPILLS0DNyrX1Mv10=",+ "dev": true+ },"autoprefixer": {"version": "6.7.7","resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-6.7.7.tgz",@@ -291,7 +370,7 @@"dev": true,"requires": {"browserslist": "1.7.7",- "caniuse-db": "1.0.30000784",+ "caniuse-db": "1.0.30000810","normalize-range": "0.1.2","num2fraction": "1.2.2","postcss": "5.2.18",@@ -327,10 +406,36 @@"integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=","dev": true},+ "base": {+ "version": "0.11.2",+ "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz",+ "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==",+ "dev": true,+ "requires": {+ "cache-base": "1.0.1",+ "class-utils": "0.3.6",+ "component-emitter": "1.2.1",+ "define-property": "1.0.0",+ "isobject": "3.0.1",+ "mixin-deep": "1.3.1",+ "pascalcase": "0.1.1"+ },+ "dependencies": {+ "define-property": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",+ "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",+ "dev": true,+ "requires": {+ "is-descriptor": "1.0.2"+ }+ }+ }+ },"base64-js": {- "version": "1.2.1",- "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.2.1.tgz",- "integrity": "sha512-dwVUVIXsBZXwTuwnXI9RK8sBmgq09NDHzyR9SAph9eqk76gKK2JSQmZARC2zRC81JC2QTtxD0ARU5qTS25gIGw==",+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.2.3.tgz",+ "integrity": "sha512-MsAhsUW1GxCdgYSO6tAfZrNapmUKk7mWx/k5mFY/A1gBtkaCaNapTg+FExCw1r9yeaZhqx/xPg43xgTFH6KL5w==","dev": true},"bcrypt-pbkdf": {@@ -390,14 +495,49 @@}},"braces": {- "version": "1.8.5",- "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz",- "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=",+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.1.tgz",+ "integrity": "sha512-SO5lYHA3vO6gz66erVvedSCkp7AKWdv6VcQ2N4ysXfPxdAlxAMMAdwegGGcv1Bqwm7naF1hNdk5d6AAIEHV2nQ==","dev": true,"requires": {- "expand-range": "1.8.2",- "preserve": "0.2.0",- "repeat-element": "1.1.2"+ "arr-flatten": "1.1.0",+ "array-unique": "0.3.2",+ "define-property": "1.0.0",+ "extend-shallow": "2.0.1",+ "fill-range": "4.0.0",+ "isobject": "3.0.1",+ "kind-of": "6.0.2",+ "repeat-element": "1.1.2",+ "snapdragon": "0.8.1",+ "snapdragon-node": "2.1.1",+ "split-string": "3.1.0",+ "to-regex": "3.0.2"+ },+ "dependencies": {+ "define-property": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",+ "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",+ "dev": true,+ "requires": {+ "is-descriptor": "1.0.2"+ }+ },+ "extend-shallow": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",+ "dev": true,+ "requires": {+ "is-extendable": "0.1.1"+ }+ },+ "kind-of": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz",+ "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==",+ "dev": true+ }}},"brorand": {@@ -455,7 +595,7 @@"dev": true,"requires": {"bn.js": "4.11.8",- "randombytes": "2.0.5"+ "randombytes": "2.0.6"}},"browserify-sign": {@@ -488,8 +628,8 @@"integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=","dev": true,"requires": {- "caniuse-db": "1.0.30000784",- "electron-to-chromium": "1.3.30"+ "caniuse-db": "1.0.30000810",+ "electron-to-chromium": "1.3.34"}},"buffer": {@@ -498,7 +638,7 @@"integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=","dev": true,"requires": {- "base64-js": "1.2.1",+ "base64-js": "1.2.3","ieee754": "1.1.8","isarray": "1.0.0"}@@ -521,6 +661,23 @@"integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=","dev": true},+ "cache-base": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz",+ "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==",+ "dev": true,+ "requires": {+ "collection-visit": "1.0.0",+ "component-emitter": "1.2.1",+ "get-value": "2.0.6",+ "has-value": "1.0.0",+ "isobject": "3.0.1",+ "set-value": "2.0.0",+ "to-object-path": "0.3.0",+ "union-value": "1.0.0",+ "unset-value": "1.0.0"+ }+ },"camelcase": {"version": "2.1.1","resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz",@@ -544,15 +701,15 @@"dev": true,"requires": {"browserslist": "1.7.7",- "caniuse-db": "1.0.30000784",+ "caniuse-db": "1.0.30000810","lodash.memoize": "4.1.2","lodash.uniq": "4.5.0"}},"caniuse-db": {- "version": "1.0.30000784",- "resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000784.tgz",- "integrity": "sha1-G+lQEtlInHcZB0+BruV9vf/mNhs=",+ "version": "1.0.30000810",+ "resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000810.tgz",+ "integrity": "sha1-vSWDDEHvq2Qzmi44H0lnc0PIRQk=","dev": true},"caseless": {@@ -610,9 +767,9 @@}},"chromedriver": {- "version": "2.34.0",- "resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-2.34.0.tgz",- "integrity": "sha512-fnumeP3JaPU6F3n8dMo4ZUJHWQSTdLwpwALt5CNzmH4QQkWAoa74IuET/QlfZzOHRi+BoVI6wrg6EwzQI+KaFQ==",+ "version": "2.35.0",+ "resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-2.35.0.tgz",+ "integrity": "sha512-zqvC/HKybRxiM68GzByvUaXxTmNCmpETvLQIM92IEdrQxPnONKt3ZdTsiwxmGrL2ZIDbr9OEHJljmhZZMEsFPw==","dev": true,"requires": {"del": "3.0.0",@@ -641,6 +798,86 @@"chalk": "1.1.3"}},+ "class-utils": {+ "version": "0.3.6",+ "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz",+ "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==",+ "dev": true,+ "requires": {+ "arr-union": "3.1.0",+ "define-property": "0.2.5",+ "isobject": "3.0.1",+ "static-extend": "0.1.2"+ },+ "dependencies": {+ "define-property": {+ "version": "0.2.5",+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",+ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",+ "dev": true,+ "requires": {+ "is-descriptor": "0.1.6"+ }+ },+ "is-accessor-descriptor": {+ "version": "0.1.6",+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz",+ "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=",+ "dev": true,+ "requires": {+ "kind-of": "3.2.2"+ },+ "dependencies": {+ "kind-of": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",+ "dev": true,+ "requires": {+ "is-buffer": "1.1.6"+ }+ }+ }+ },+ "is-data-descriptor": {+ "version": "0.1.4",+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz",+ "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=",+ "dev": true,+ "requires": {+ "kind-of": "3.2.2"+ },+ "dependencies": {+ "kind-of": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",+ "dev": true,+ "requires": {+ "is-buffer": "1.1.6"+ }+ }+ }+ },+ "is-descriptor": {+ "version": "0.1.6",+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz",+ "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==",+ "dev": true,+ "requires": {+ "is-accessor-descriptor": "0.1.6",+ "is-data-descriptor": "0.1.4",+ "kind-of": "5.1.0"+ }+ },+ "kind-of": {+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz",+ "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==",+ "dev": true+ }+ }+ },"cliui": {"version": "3.2.0","resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz",@@ -691,6 +928,16 @@"integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=","dev": true},+ "collection-visit": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz",+ "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=",+ "dev": true,+ "requires": {+ "map-visit": "1.0.0",+ "object-visit": "1.0.1"+ }+ },"color": {"version": "0.11.4","resolved": "https://registry.npmjs.org/color/-/color-0.11.4.tgz",@@ -758,6 +1005,12 @@"integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==","dev": true},+ "component-emitter": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz",+ "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=",+ "dev": true+ },"concat-map": {"version": "0.0.1","resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",@@ -796,6 +1049,12 @@"integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=","dev": true},+ "copy-descriptor": {+ "version": "0.1.1",+ "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz",+ "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=",+ "dev": true+ },"core-js": {"version": "1.2.7","resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz",@@ -826,7 +1085,7 @@"cipher-base": "1.0.4","inherits": "2.0.3","ripemd160": "2.0.1",- "sha.js": "2.4.9"+ "sha.js": "2.4.10"}},"create-hmac": {@@ -840,7 +1099,7 @@"inherits": "2.0.3","ripemd160": "2.0.1","safe-buffer": "5.1.1",- "sha.js": "2.4.9"+ "sha.js": "2.4.10"}},"cross-spawn": {@@ -888,8 +1147,8 @@"inherits": "2.0.3","pbkdf2": "3.0.14","public-encrypt": "4.0.0",- "randombytes": "2.0.5",- "randomfill": "1.0.3"+ "randombytes": "2.0.6",+ "randomfill": "1.0.4"}},"css-color-names": {@@ -899,9 +1158,9 @@"dev": true},"css-loader": {- "version": "0.28.7",- "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-0.28.7.tgz",- "integrity": "sha512-GxMpax8a/VgcfRrVy0gXD6yLd5ePYbXX/5zGgTVYp4wXtJklS8Z2VaUArJgc//f6/Dzil7BaJObdSv8eKKCPgg==",+ "version": "0.28.10",+ "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-0.28.10.tgz",+ "integrity": "sha512-X1IJteKnW9Llmrd+lJ0f7QZHh9Arf+11S7iRcoT2+riig3BK0QaCaOtubAulMK6Itbo08W6d3l8sW21r+Jhp5Q==","dev": true,"requires": {"babel-code-frame": "6.26.0",@@ -912,7 +1171,7 @@"lodash.camelcase": "4.3.0","object-assign": "4.1.1","postcss": "5.2.18",- "postcss-modules-extract-imports": "1.1.0",+ "postcss-modules-extract-imports": "1.2.0","postcss-modules-local-by-default": "1.2.0","postcss-modules-scope": "1.1.0","postcss-modules-values": "1.3.0",@@ -1002,7 +1261,7 @@"integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=","dev": true,"requires": {- "es5-ext": "0.10.37"+ "es5-ext": "0.10.39"}},"dashdash": {@@ -1035,6 +1294,22 @@"integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=","dev": true},+ "decode-uri-component": {+ "version": "0.2.0",+ "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz",+ "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=",+ "dev": true+ },+ "define-property": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz",+ "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==",+ "dev": true,+ "requires": {+ "is-descriptor": "1.0.2",+ "isobject": "3.0.1"+ }+ },"defined": {"version": "1.0.0","resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz",@@ -1091,19 +1366,19 @@"requires": {"bn.js": "4.11.8","miller-rabin": "4.0.1",- "randombytes": "2.0.5"+ "randombytes": "2.0.6"}},"domain-browser": {- "version": "1.1.7",- "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.1.7.tgz",- "integrity": "sha1-hnqksJP6oF8d4IwG9NeyH9+GmLw=",+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz",+ "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==","dev": true},"dotenv": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-4.0.0.tgz",- "integrity": "sha1-hk7xN5rO1Vzm+V3r7NzhefegzR0=",+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-5.0.1.tgz",+ "integrity": "sha512-4As8uPrjfwb7VXC+WnLCbXK7y+Ueb2B3zgNCePYfhxS1PYeaO1YTeplffTEcbfLhvFNGLAz90VvJs9yomG7bow==","dev": true},"ecc-jsbn": {@@ -1116,20 +1391,11 @@"jsbn": "0.1.1"}},- "electron-releases": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/electron-releases/-/electron-releases-2.1.0.tgz",- "integrity": "sha512-cyKFD1bTE/UgULXfaueIN1k5EPFzs+FRc/rvCY5tIynefAPqopQEgjr0EzY+U3Dqrk/G4m9tXSPuZ77v6dL/Rw==",- "dev": true- },"electron-to-chromium": {- "version": "1.3.30",- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.30.tgz",- "integrity": "sha512-zx1Prv7kYLfc4OA60FhxGbSo4qrEjgSzpo1/37i7l9ltXPYOoQBtjQxY9KmsgfHnBxHlBGXwLlsbt/gub1w5lw==",- "dev": true,- "requires": {- "electron-releases": "2.1.0"- }+ "version": "1.3.34",+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.34.tgz",+ "integrity": "sha1-2TSY9AORuwwWpgPYJBuZUUBBV+0=",+ "dev": true},"elliptic": {"version": "6.4.0",@@ -1178,9 +1444,9 @@"integrity": "sha1-blwtClYhtdra7O+AuQ7ftc13cvA="},"errno": {- "version": "0.1.6",- "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.6.tgz",- "integrity": "sha512-IsORQDpaaSwcDP4ZZnHxgE85werpo34VYn1Ud3mq+eUsF593faR8oCZNXrROVkpFu2TsbrNhHin0aUrTsQ9vNw==",+ "version": "0.1.7",+ "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz",+ "integrity": "sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg==","dev": true,"requires": {"prr": "1.0.1"@@ -1196,9 +1462,9 @@}},"es5-ext": {- "version": "0.10.37",- "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.37.tgz",- "integrity": "sha1-DudB0Ui4AGm6J9AgOTdWryV978M=",+ "version": "0.10.39",+ "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.39.tgz",+ "integrity": "sha512-AlaXZhPHl0po/uxMx1tyrlt1O86M6D5iVaDH8UgLfgek4kXTX6vzsRfJQWC2Ku+aG8pkw1XWzh9eTkwfVrsD5g==","dev": true,"requires": {"es6-iterator": "2.0.3",@@ -1212,7 +1478,7 @@"dev": true,"requires": {"d": "1.0.0",- "es5-ext": "0.10.37",+ "es5-ext": "0.10.39","es6-symbol": "3.1.1"}},@@ -1223,7 +1489,7 @@"dev": true,"requires": {"d": "1.0.0",- "es5-ext": "0.10.37",+ "es5-ext": "0.10.39","es6-iterator": "2.0.3","es6-set": "0.1.5","es6-symbol": "3.1.1",@@ -1243,7 +1509,7 @@"dev": true,"requires": {"d": "1.0.0",- "es5-ext": "0.10.37",+ "es5-ext": "0.10.39","es6-iterator": "2.0.3","es6-symbol": "3.1.1","event-emitter": "0.3.5"@@ -1256,7 +1522,7 @@"dev": true,"requires": {"d": "1.0.0",- "es5-ext": "0.10.37"+ "es5-ext": "0.10.39"}},"es6-weak-map": {@@ -1266,7 +1532,7 @@"dev": true,"requires": {"d": "1.0.0",- "es5-ext": "0.10.37",+ "es5-ext": "0.10.39","es6-iterator": "2.0.3","es6-symbol": "3.1.1"}@@ -1285,7 +1551,7 @@"requires": {"es6-map": "0.1.5","es6-weak-map": "2.0.2",- "esrecurse": "4.2.0",+ "esrecurse": "4.2.1","estraverse": "4.2.0"}},@@ -1296,13 +1562,12 @@"dev": true},"esrecurse": {- "version": "4.2.0",- "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.0.tgz",- "integrity": "sha1-+pVo2Y04I/mkHZHpAtyrnqblsWM=",+ "version": "4.2.1",+ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz",+ "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==","dev": true,"requires": {- "estraverse": "4.2.0",- "object-assign": "4.1.1"+ "estraverse": "4.2.0"}},"estraverse": {@@ -1324,7 +1589,7 @@"dev": true,"requires": {"d": "1.0.0",- "es5-ext": "0.10.37"+ "es5-ext": "0.10.39"}},"events": {@@ -1372,12 +1637,95 @@}},"expand-brackets": {- "version": "0.1.5",- "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz",- "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=",+ "version": "2.1.4",+ "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz",+ "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=","dev": true,"requires": {- "is-posix-bracket": "0.1.1"+ "debug": "2.6.9",+ "define-property": "0.2.5",+ "extend-shallow": "2.0.1",+ "posix-character-classes": "0.1.1",+ "regex-not": "1.0.2",+ "snapdragon": "0.8.1",+ "to-regex": "3.0.2"+ },+ "dependencies": {+ "define-property": {+ "version": "0.2.5",+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",+ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",+ "dev": true,+ "requires": {+ "is-descriptor": "0.1.6"+ }+ },+ "extend-shallow": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",+ "dev": true,+ "requires": {+ "is-extendable": "0.1.1"+ }+ },+ "is-accessor-descriptor": {+ "version": "0.1.6",+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz",+ "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=",+ "dev": true,+ "requires": {+ "kind-of": "3.2.2"+ },+ "dependencies": {+ "kind-of": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",+ "dev": true,+ "requires": {+ "is-buffer": "1.1.6"+ }+ }+ }+ },+ "is-data-descriptor": {+ "version": "0.1.4",+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz",+ "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=",+ "dev": true,+ "requires": {+ "kind-of": "3.2.2"+ },+ "dependencies": {+ "kind-of": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",+ "dev": true,+ "requires": {+ "is-buffer": "1.1.6"+ }+ }+ }+ },+ "is-descriptor": {+ "version": "0.1.6",+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz",+ "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==",+ "dev": true,+ "requires": {+ "is-accessor-descriptor": "0.1.6",+ "is-data-descriptor": "0.1.4",+ "kind-of": "5.1.0"+ }+ },+ "kind-of": {+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz",+ "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==",+ "dev": true+ }}},"expand-range": {@@ -1387,6 +1735,39 @@"dev": true,"requires": {"fill-range": "2.2.3"+ },+ "dependencies": {+ "fill-range": {+ "version": "2.2.3",+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.3.tgz",+ "integrity": "sha1-ULd9/X5Gm8dJJHCWNpn+eoSFpyM=",+ "dev": true,+ "requires": {+ "is-number": "2.1.0",+ "isobject": "2.1.0",+ "randomatic": "1.1.7",+ "repeat-element": "1.1.2",+ "repeat-string": "1.6.1"+ }+ },+ "is-number": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz",+ "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=",+ "dev": true,+ "requires": {+ "kind-of": "3.2.2"+ }+ },+ "isobject": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz",+ "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=",+ "dev": true,+ "requires": {+ "isarray": "1.0.0"+ }+ }}},"extend": {@@ -1395,17 +1776,65 @@"integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=","dev": true},- "extglob": {- "version": "0.3.2",- "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz",- "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=",+ "extend-shallow": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz",+ "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=","dev": true,"requires": {- "is-extglob": "1.0.0"- }- },- "extract-text-webpack-plugin": {- "version": "3.0.2",+ "assign-symbols": "1.0.0",+ "is-extendable": "1.0.1"+ },+ "dependencies": {+ "is-extendable": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz",+ "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==",+ "dev": true,+ "requires": {+ "is-plain-object": "2.0.4"+ }+ }+ }+ },+ "extglob": {+ "version": "2.0.4",+ "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz",+ "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==",+ "dev": true,+ "requires": {+ "array-unique": "0.3.2",+ "define-property": "1.0.0",+ "expand-brackets": "2.1.4",+ "extend-shallow": "2.0.1",+ "fragment-cache": "0.2.1",+ "regex-not": "1.0.2",+ "snapdragon": "0.8.1",+ "to-regex": "3.0.2"+ },+ "dependencies": {+ "define-property": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",+ "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",+ "dev": true,+ "requires": {+ "is-descriptor": "1.0.2"+ }+ },+ "extend-shallow": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",+ "dev": true,+ "requires": {+ "is-extendable": "0.1.1"+ }+ }+ }+ },+ "extract-text-webpack-plugin": {+ "version": "3.0.2","resolved": "https://registry.npmjs.org/extract-text-webpack-plugin/-/extract-text-webpack-plugin-3.0.2.tgz","integrity": "sha512-bt/LZ4m5Rqt/Crl2HiKuAl/oqg0psx1tsTLkvWbJen1CtD+fftkZhMaQ9HOtY2gWsl2Wq+sABmMVi9z3DhKWQQ==","dev": true,@@ -1487,13 +1916,36 @@}},"file-loader": {- "version": "1.1.6",- "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-1.1.6.tgz",- "integrity": "sha512-873ztuL+/hfvXbLDJ262PGO6XjERnybJu2gW1/5j8HUfxSiFJI9Hj/DhZ50ZGRUxBvuNiazb/cM2rh9pqrxP6Q==",+ "version": "1.1.10",+ "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-1.1.10.tgz",+ "integrity": "sha512-dNnT4yJgUPtGDg0+m03kQ0b/PZi3Y12EnqYuRPNCsbYkBZc6j+fwVWy40jWzZjn5kIzQ4BLIxzJimbwAYlnPGw==","dev": true,"requires": {"loader-utils": "1.1.0",- "schema-utils": "0.3.0"+ "schema-utils": "0.4.5"+ },+ "dependencies": {+ "ajv": {+ "version": "6.2.0",+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.2.0.tgz",+ "integrity": "sha1-r6wpW7qgFSRJ5SJ0LkVHwa6TKNI=",+ "dev": true,+ "requires": {+ "fast-deep-equal": "1.0.0",+ "fast-json-stable-stringify": "2.0.0",+ "json-schema-traverse": "0.3.1"+ }+ },+ "schema-utils": {+ "version": "0.4.5",+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.4.5.tgz",+ "integrity": "sha512-yYrjb9TX2k/J1Y5UNy3KYdZq10xhYcF8nMpAW6o3hy6Q8WSIEf9lJHG/ePnOBfziPM3fvQwfOwa13U/Fh8qTfA==",+ "dev": true,+ "requires": {+ "ajv": "6.2.0",+ "ajv-keywords": "3.1.0"+ }+ }}},"filename-regex": {@@ -1503,25 +1955,24 @@"dev": true},"fill-range": {- "version": "2.2.3",- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.3.tgz",- "integrity": "sha1-ULd9/X5Gm8dJJHCWNpn+eoSFpyM=",+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",+ "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=","dev": true,"requires": {- "is-number": "2.1.0",- "isobject": "2.1.0",- "randomatic": "1.1.7",- "repeat-element": "1.1.2",- "repeat-string": "1.6.1"+ "extend-shallow": "2.0.1",+ "is-number": "3.0.0",+ "repeat-string": "1.6.1",+ "to-regex-range": "2.1.1"},"dependencies": {- "isobject": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz",- "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=",+ "extend-shallow": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=","dev": true,"requires": {- "isarray": "1.0.0"+ "is-extendable": "0.1.1"}}}@@ -1574,6 +2025,15 @@"mime-types": "2.1.17"}},+ "fragment-cache": {+ "version": "0.2.1",+ "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz",+ "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=",+ "dev": true,+ "requires": {+ "map-cache": "0.2.2"+ }+ },"fs.realpath": {"version": "1.0.0","resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",@@ -2560,6 +3020,12 @@"integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=","dev": true},+ "get-value": {+ "version": "2.0.6",+ "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz",+ "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=",+ "dev": true+ },"getpass": {"version": "0.1.7","resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",@@ -2692,6 +3158,38 @@"integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=","dev": true},+ "has-value": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz",+ "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=",+ "dev": true,+ "requires": {+ "get-value": "2.0.6",+ "has-values": "1.0.0",+ "isobject": "3.0.1"+ }+ },+ "has-values": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz",+ "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=",+ "dev": true,+ "requires": {+ "is-number": "3.0.0",+ "kind-of": "4.0.0"+ },+ "dependencies": {+ "kind-of": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz",+ "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=",+ "dev": true,+ "requires": {+ "is-buffer": "1.1.6"+ }+ }+ }+ },"hash-base": {"version": "2.0.2","resolved": "https://registry.npmjs.org/hash-base/-/hash-base-2.0.2.tgz",@@ -2792,7 +3290,7 @@"integrity": "sha1-g/Cg7DeL8yRheLbCrZE28TWxyWI=","dev": true,"requires": {- "postcss": "6.0.15"+ "postcss": "6.0.19"},"dependencies": {"ansi-styles": {@@ -2805,42 +3303,31 @@}},"chalk": {- "version": "2.3.0",- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.0.tgz",- "integrity": "sha512-Az5zJR2CBujap2rqXGaJKaPHyJ0IrUimvYNX+ncCy8PJP4ltOGTrHUIo097ZaL2zMeKYpiCdqDvS6zdrTFok3Q==",+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.1.tgz",+ "integrity": "sha512-QUU4ofkDoMIVO7hcx1iPTISs88wsO8jA92RQIm4JAwZvFGGAV2hSAA1NX7oVj2Ej2Q6NDTcRDjPTFrMCRZoJ6g==","dev": true,"requires": {"ansi-styles": "3.2.0","escape-string-regexp": "1.0.5",- "supports-color": "4.5.0"- },- "dependencies": {- "supports-color": {- "version": "4.5.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz",- "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=",- "dev": true,- "requires": {- "has-flag": "2.0.0"- }- }+ "supports-color": "5.2.0"}},"has-flag": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz",- "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=",+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},"postcss": {- "version": "6.0.15",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.15.tgz",- "integrity": "sha512-v/SpyMzLbtkmh45zUdaqLAaqXqzPdSrw8p4cQVO0/w6YiYfpj4k+Wkzhn68qk9br+H+0qfddhdPEVnbmBPfXVQ==",+ "version": "6.0.19",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.19.tgz",+ "integrity": "sha512-f13HRz0HtVwVaEuW6J6cOUCBLFtymhgyLPV7t4QEk2UD3twRI9IluDcQNdzQdBpiixkXj2OmzejhhTbSbDxNTg==","dev": true,"requires": {- "chalk": "2.3.0",+ "chalk": "2.3.1","source-map": "0.6.1",- "supports-color": "5.1.0"+ "supports-color": "5.2.0"}},"source-map": {@@ -2850,12 +3337,12 @@"dev": true},"supports-color": {- "version": "5.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.1.0.tgz",- "integrity": "sha512-Ry0AwkoKjDpVKK4sV4h6o3UJmNRbjYm2uXhwfj3J56lMVdvnUNqzQVRztOOMGQ++w1K/TjNDFvpJk0F/LoeBCQ==",+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.2.0.tgz",+ "integrity": "sha512-F39vS48la4YvTZUPVeTqsjsFNrvcMwrV3RLZINsmHo+7djCvuUzSIeXOnZ5hmjef4bajL1dNccN+tg5XAliO5Q==","dev": true,"requires": {- "has-flag": "2.0.0"+ "has-flag": "3.0.0"}}}@@ -2933,6 +3420,23 @@"integrity": "sha1-UFMN+4T8yap9vnhS6Do3uTufKqY=","dev": true},+ "is-accessor-descriptor": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",+ "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",+ "dev": true,+ "requires": {+ "kind-of": "6.0.2"+ },+ "dependencies": {+ "kind-of": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz",+ "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==",+ "dev": true+ }+ }+ },"is-arrayish": {"version": "0.2.1","resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",@@ -2963,6 +3467,42 @@"builtin-modules": "1.1.1"}},+ "is-data-descriptor": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",+ "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",+ "dev": true,+ "requires": {+ "kind-of": "6.0.2"+ },+ "dependencies": {+ "kind-of": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz",+ "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==",+ "dev": true+ }+ }+ },+ "is-descriptor": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",+ "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",+ "dev": true,+ "requires": {+ "is-accessor-descriptor": "1.0.0",+ "is-data-descriptor": "1.0.0",+ "kind-of": "6.0.2"+ },+ "dependencies": {+ "kind-of": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz",+ "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==",+ "dev": true+ }+ }+ },"is-dotfile": {"version": "1.0.3","resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz",@@ -3030,14 +3570,31 @@}},"is-number": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz",- "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=",+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",+ "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=","dev": true,"requires": {"kind-of": "3.2.2"}},+ "is-odd": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/is-odd/-/is-odd-2.0.0.tgz",+ "integrity": "sha512-OTiixgpZAT1M4NHgS5IguFp/Vz2VI3U7Goh4/HA1adtwyLtSBrxYlcSYkhpAE07s4fKEcjrFxyvtQBND4vFQyQ==",+ "dev": true,+ "requires": {+ "is-number": "4.0.0"+ },+ "dependencies": {+ "is-number": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz",+ "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==",+ "dev": true+ }+ }+ },"is-path-cwd": {"version": "1.0.0","resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz",@@ -3121,6 +3678,12 @@"integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=","dev": true},+ "is-windows": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz",+ "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==",+ "dev": true+ },"isarray": {"version": "1.0.0","resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",@@ -3155,9 +3718,9 @@"dev": true},"jquery": {- "version": "3.2.1",- "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.2.1.tgz",- "integrity": "sha1-XE2d5lKvbNCncBVKYxu6ErAVx4c="+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.3.1.tgz",+ "integrity": "sha512-Ubldcmxp5np52/ENotGxlLe6aGMvmF4R8S6tZjsP6Knsaxd/xp3Zrh50cG93lR6nPXyUFwzN3ZSOQI0wRJNdGg=="},"js-base64": {"version": "2.4.0",@@ -3176,7 +3739,7 @@"integrity": "sha1-XJZ93YN6m/3KXy3oQlOr6KHAO4A=","dev": true,"requires": {- "argparse": "1.0.9",+ "argparse": "1.0.10","esprima": "2.7.3"}},@@ -3326,7 +3889,7 @@"resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-2.0.3.tgz","integrity": "sha1-2UpGSPmxwXnWT6lykSaL22zpQ08=","requires": {- "uc.micro": "1.0.3"+ "uc.micro": "1.0.5"}},"load-json-file": {@@ -3473,22 +4036,37 @@"integrity": "sha1-WQTcU3w57G2+/q6QIycTX6hRHxI=","dev": true},+ "map-cache": {+ "version": "0.2.2",+ "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz",+ "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=",+ "dev": true+ },"map-obj": {"version": "1.0.1","resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz","integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=","dev": true},+ "map-visit": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz",+ "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=",+ "dev": true,+ "requires": {+ "object-visit": "1.0.1"+ }+ },"markdown-it": {- "version": "8.4.0",- "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-8.4.0.tgz",- "integrity": "sha512-tNuOCCfunY5v5uhcO2AUMArvKAyKMygX8tfup/JrgnsDqcCATQsAExBq7o5Ml9iMmO82bk6jYNLj6khcrl0JGA==",+ "version": "8.4.1",+ "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-8.4.1.tgz",+ "integrity": "sha512-CzzqSSNkFRUf9vlWvhK1awpJreMRqdCrBvZ8DIoDWTOkESMIF741UPAhuAmbyWmdiFPA6WARNhnu2M6Nrhwa+A==","requires": {- "argparse": "1.0.9",+ "argparse": "1.0.10","entities": "1.1.1","linkify-it": "2.0.3","mdurl": "1.0.1",- "uc.micro": "1.0.3"+ "uc.micro": "1.0.5"}},"math-expression-evaluator": {@@ -3530,7 +4108,7 @@"integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=","dev": true,"requires": {- "mimic-fn": "1.1.0"+ "mimic-fn": "1.2.0"}},"memory-fs": {@@ -3539,7 +4117,7 @@"integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=","dev": true,"requires": {- "errno": "0.1.6",+ "errno": "0.1.7","readable-stream": "2.3.3"}},@@ -3570,24 +4148,32 @@}},"micromatch": {- "version": "2.3.11",- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz",- "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=",- "dev": true,- "requires": {- "arr-diff": "2.0.0",- "array-unique": "0.2.1",- "braces": "1.8.5",- "expand-brackets": "0.1.5",- "extglob": "0.3.2",- "filename-regex": "2.0.1",- "is-extglob": "1.0.0",- "is-glob": "2.0.1",- "kind-of": "3.2.2",- "normalize-path": "2.1.1",- "object.omit": "2.0.1",- "parse-glob": "3.0.4",- "regex-cache": "0.4.4"+ "version": "3.1.9",+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.9.tgz",+ "integrity": "sha512-SlIz6sv5UPaAVVFRKodKjCg48EbNoIhgetzfK/Cy0v5U52Z6zB136M8tp0UC9jM53LYbmIRihJszvvqpKkfm9g==",+ "dev": true,+ "requires": {+ "arr-diff": "4.0.0",+ "array-unique": "0.3.2",+ "braces": "2.3.1",+ "define-property": "2.0.2",+ "extend-shallow": "3.0.2",+ "extglob": "2.0.4",+ "fragment-cache": "0.2.1",+ "kind-of": "6.0.2",+ "nanomatch": "1.2.9",+ "object.pick": "1.3.0",+ "regex-not": "1.0.2",+ "snapdragon": "0.8.1",+ "to-regex": "3.0.2"+ },+ "dependencies": {+ "kind-of": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz",+ "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==",+ "dev": true+ }}},"miller-rabin": {@@ -3616,9 +4202,9 @@}},"mimic-fn": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.1.0.tgz",- "integrity": "sha1-5md4PZLonb00KBi1IwudYqZyrRg=",+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz",+ "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==","dev": true},"minimalistic-assert": {@@ -3648,6 +4234,27 @@"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=","dev": true},+ "mixin-deep": {+ "version": "1.3.1",+ "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.1.tgz",+ "integrity": "sha512-8ZItLHeEgaqEvd5lYBXfm4EZSFCX29Jb9K+lAHhDKzReKBQKj3R+7NOF6tjqYi9t4oI8VUfaWITJQm86wnXGNQ==",+ "dev": true,+ "requires": {+ "for-in": "1.0.2",+ "is-extendable": "1.0.1"+ },+ "dependencies": {+ "is-extendable": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz",+ "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==",+ "dev": true,+ "requires": {+ "is-plain-object": "2.0.4"+ }+ }+ }+ },"mixin-object": {"version": "2.0.1","resolved": "https://registry.npmjs.org/mixin-object/-/mixin-object-2.0.1.tgz",@@ -3676,9 +4283,9 @@}},"mocha": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/mocha/-/mocha-4.1.0.tgz",- "integrity": "sha512-0RVnjg1HJsXY2YFDoTNzcc1NKhYuXKRrBAG2gDygmJJA136Cs2QlRliZG1mA0ap7cuaT30mw16luAeln+4RiNA==",+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/mocha/-/mocha-5.0.1.tgz",+ "integrity": "sha512-SpwyojlnE/WRBNGtvJSNfllfm5PqEDFxcWluSIgLeSBJtXG4DmoX2NNAeEA7rP5kK+79VgtVq8nG6HskaL1ykg==","dev": true,"requires": {"browser-stdout": "1.3.0",@@ -3731,6 +4338,34 @@"integrity": "sha1-7XFfP+neArV6XmJS2QqWZ14fCFo=","dev": true},+ "nanomatch": {+ "version": "1.2.9",+ "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.9.tgz",+ "integrity": "sha512-n8R9bS8yQ6eSXaV6jHUpKzD8gLsin02w1HSFiegwrs9E098Ylhw5jdyKPaYqvHknHaSCKTPp7C8dGCQ0q9koXA==",+ "dev": true,+ "requires": {+ "arr-diff": "4.0.0",+ "array-unique": "0.3.2",+ "define-property": "2.0.2",+ "extend-shallow": "3.0.2",+ "fragment-cache": "0.2.1",+ "is-odd": "2.0.0",+ "is-windows": "1.0.2",+ "kind-of": "6.0.2",+ "object.pick": "1.3.0",+ "regex-not": "1.0.2",+ "snapdragon": "0.8.1",+ "to-regex": "3.0.2"+ },+ "dependencies": {+ "kind-of": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz",+ "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==",+ "dev": true+ }+ }+ },"node-fetch": {"version": "1.7.3","resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz",@@ -3781,7 +4416,7 @@"console-browserify": "1.1.0","constants-browserify": "1.0.0","crypto-browserify": "3.12.0",- "domain-browser": "1.1.7",+ "domain-browser": "1.2.0","events": "1.1.1","https-browserify": "1.0.0","os-browserify": "0.3.0",@@ -3791,9 +4426,9 @@"querystring-es3": "0.2.1","readable-stream": "2.3.3","stream-browserify": "2.0.1",- "stream-http": "2.7.2",+ "stream-http": "2.8.0","string_decoder": "1.0.3",- "timers-browserify": "2.0.4",+ "timers-browserify": "2.0.6","tty-browserify": "0.0.0","url": "0.11.0","util": "0.10.3",@@ -4058,6 +4693,74 @@"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz","integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM="},+ "object-copy": {+ "version": "0.1.0",+ "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz",+ "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=",+ "dev": true,+ "requires": {+ "copy-descriptor": "0.1.1",+ "define-property": "0.2.5",+ "kind-of": "3.2.2"+ },+ "dependencies": {+ "define-property": {+ "version": "0.2.5",+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",+ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",+ "dev": true,+ "requires": {+ "is-descriptor": "0.1.6"+ }+ },+ "is-accessor-descriptor": {+ "version": "0.1.6",+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz",+ "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=",+ "dev": true,+ "requires": {+ "kind-of": "3.2.2"+ }+ },+ "is-data-descriptor": {+ "version": "0.1.4",+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz",+ "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=",+ "dev": true,+ "requires": {+ "kind-of": "3.2.2"+ }+ },+ "is-descriptor": {+ "version": "0.1.6",+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz",+ "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==",+ "dev": true,+ "requires": {+ "is-accessor-descriptor": "0.1.6",+ "is-data-descriptor": "0.1.4",+ "kind-of": "5.1.0"+ },+ "dependencies": {+ "kind-of": {+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz",+ "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==",+ "dev": true+ }+ }+ }+ }+ },+ "object-visit": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz",+ "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=",+ "dev": true,+ "requires": {+ "isobject": "3.0.1"+ }+ },"object.omit": {"version": "2.0.1","resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz",@@ -4079,6 +4782,15 @@}}},+ "object.pick": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz",+ "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=",+ "dev": true,+ "requires": {+ "isobject": "3.0.1"+ }+ },"once": {"version": "1.4.0","resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",@@ -4132,10 +4844,13 @@"dev": true},"p-limit": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.1.0.tgz",- "integrity": "sha1-sH/y2aXYi+yAYDWJWiurZqJ5iLw=",- "dev": true+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.2.0.tgz",+ "integrity": "sha512-Y/OtIaXtUPr4/YpMv1pCL5L5ed0rumAaAeBSj12F+bSlMdys7i8oQF/GUJmfpTS/QoaRrS/k6pma29haJpsMng==",+ "dev": true,+ "requires": {+ "p-try": "1.0.0"+ }},"p-locate": {"version": "2.0.0",@@ -4143,7 +4858,7 @@"integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=","dev": true,"requires": {- "p-limit": "1.1.0"+ "p-limit": "1.2.0"}},"p-map": {@@ -4152,6 +4867,12 @@"integrity": "sha512-r6zKACMNhjPJMTl8KcFH4li//gkrXWfbD6feV8l6doRHlzljFWGJ2AP6iKaCJXyZmAUMOPtvbW7EXkbWO/pLEA==","dev": true},+ "p-try": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz",+ "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=",+ "dev": true+ },"pako": {"version": "1.0.6","resolved": "https://registry.npmjs.org/pako/-/pako-1.0.6.tgz",@@ -4164,7 +4885,7 @@"integrity": "sha1-N8T5t+06tlx0gXtfJICTf7+XxxI=","dev": true,"requires": {- "asn1.js": "4.9.2",+ "asn1.js": "4.10.1","browserify-aes": "1.1.1","create-hash": "1.1.3","evp_bytestokey": "1.0.3",@@ -4192,6 +4913,12 @@"error-ex": "1.3.1"}},+ "pascalcase": {+ "version": "0.1.1",+ "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz",+ "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=",+ "dev": true+ },"path-browserify": {"version": "0.0.0","resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.0.tgz",@@ -4260,7 +4987,7 @@"create-hmac": "1.1.6","ripemd160": "2.0.1","safe-buffer": "5.1.1",- "sha.js": "2.4.9"+ "sha.js": "2.4.10"}},"pend": {@@ -4296,6 +5023,12 @@"pinkie": "2.0.4"}},+ "posix-character-classes": {+ "version": "0.1.1",+ "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz",+ "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=",+ "dev": true+ },"postcss": {"version": "5.2.18","resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",@@ -4492,12 +5225,12 @@}},"postcss-modules-extract-imports": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.1.0.tgz",- "integrity": "sha1-thTJcgvmgW6u41+zpfqh26agXds=",+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.2.0.tgz",+ "integrity": "sha1-ZhQOzs447wa/DT41XWm/WdFB6oU=","dev": true,"requires": {- "postcss": "6.0.15"+ "postcss": "6.0.19"},"dependencies": {"ansi-styles": {@@ -4510,42 +5243,31 @@}},"chalk": {- "version": "2.3.0",- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.0.tgz",- "integrity": "sha512-Az5zJR2CBujap2rqXGaJKaPHyJ0IrUimvYNX+ncCy8PJP4ltOGTrHUIo097ZaL2zMeKYpiCdqDvS6zdrTFok3Q==",+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.1.tgz",+ "integrity": "sha512-QUU4ofkDoMIVO7hcx1iPTISs88wsO8jA92RQIm4JAwZvFGGAV2hSAA1NX7oVj2Ej2Q6NDTcRDjPTFrMCRZoJ6g==","dev": true,"requires": {"ansi-styles": "3.2.0","escape-string-regexp": "1.0.5",- "supports-color": "4.5.0"- },- "dependencies": {- "supports-color": {- "version": "4.5.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz",- "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=",- "dev": true,- "requires": {- "has-flag": "2.0.0"- }- }+ "supports-color": "5.2.0"}},"has-flag": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz",- "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=",+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},"postcss": {- "version": "6.0.15",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.15.tgz",- "integrity": "sha512-v/SpyMzLbtkmh45zUdaqLAaqXqzPdSrw8p4cQVO0/w6YiYfpj4k+Wkzhn68qk9br+H+0qfddhdPEVnbmBPfXVQ==",+ "version": "6.0.19",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.19.tgz",+ "integrity": "sha512-f13HRz0HtVwVaEuW6J6cOUCBLFtymhgyLPV7t4QEk2UD3twRI9IluDcQNdzQdBpiixkXj2OmzejhhTbSbDxNTg==","dev": true,"requires": {- "chalk": "2.3.0",+ "chalk": "2.3.1","source-map": "0.6.1",- "supports-color": "5.1.0"+ "supports-color": "5.2.0"}},"source-map": {@@ -4555,12 +5277,12 @@"dev": true},"supports-color": {- "version": "5.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.1.0.tgz",- "integrity": "sha512-Ry0AwkoKjDpVKK4sV4h6o3UJmNRbjYm2uXhwfj3J56lMVdvnUNqzQVRztOOMGQ++w1K/TjNDFvpJk0F/LoeBCQ==",+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.2.0.tgz",+ "integrity": "sha512-F39vS48la4YvTZUPVeTqsjsFNrvcMwrV3RLZINsmHo+7djCvuUzSIeXOnZ5hmjef4bajL1dNccN+tg5XAliO5Q==","dev": true,"requires": {- "has-flag": "2.0.0"+ "has-flag": "3.0.0"}}}@@ -4572,7 +5294,7 @@"dev": true,"requires": {"css-selector-tokenizer": "0.7.0",- "postcss": "6.0.15"+ "postcss": "6.0.19"},"dependencies": {"ansi-styles": {@@ -4585,42 +5307,31 @@}},"chalk": {- "version": "2.3.0",- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.0.tgz",- "integrity": "sha512-Az5zJR2CBujap2rqXGaJKaPHyJ0IrUimvYNX+ncCy8PJP4ltOGTrHUIo097ZaL2zMeKYpiCdqDvS6zdrTFok3Q==",+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.1.tgz",+ "integrity": "sha512-QUU4ofkDoMIVO7hcx1iPTISs88wsO8jA92RQIm4JAwZvFGGAV2hSAA1NX7oVj2Ej2Q6NDTcRDjPTFrMCRZoJ6g==","dev": true,"requires": {"ansi-styles": "3.2.0","escape-string-regexp": "1.0.5",- "supports-color": "4.5.0"- },- "dependencies": {- "supports-color": {- "version": "4.5.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz",- "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=",- "dev": true,- "requires": {- "has-flag": "2.0.0"- }- }+ "supports-color": "5.2.0"}},"has-flag": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz",- "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=",+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},"postcss": {- "version": "6.0.15",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.15.tgz",- "integrity": "sha512-v/SpyMzLbtkmh45zUdaqLAaqXqzPdSrw8p4cQVO0/w6YiYfpj4k+Wkzhn68qk9br+H+0qfddhdPEVnbmBPfXVQ==",+ "version": "6.0.19",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.19.tgz",+ "integrity": "sha512-f13HRz0HtVwVaEuW6J6cOUCBLFtymhgyLPV7t4QEk2UD3twRI9IluDcQNdzQdBpiixkXj2OmzejhhTbSbDxNTg==","dev": true,"requires": {- "chalk": "2.3.0",+ "chalk": "2.3.1","source-map": "0.6.1",- "supports-color": "5.1.0"+ "supports-color": "5.2.0"}},"source-map": {@@ -4630,12 +5341,12 @@"dev": true},"supports-color": {- "version": "5.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.1.0.tgz",- "integrity": "sha512-Ry0AwkoKjDpVKK4sV4h6o3UJmNRbjYm2uXhwfj3J56lMVdvnUNqzQVRztOOMGQ++w1K/TjNDFvpJk0F/LoeBCQ==",+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.2.0.tgz",+ "integrity": "sha512-F39vS48la4YvTZUPVeTqsjsFNrvcMwrV3RLZINsmHo+7djCvuUzSIeXOnZ5hmjef4bajL1dNccN+tg5XAliO5Q==","dev": true,"requires": {- "has-flag": "2.0.0"+ "has-flag": "3.0.0"}}}@@ -4647,7 +5358,7 @@"dev": true,"requires": {"css-selector-tokenizer": "0.7.0",- "postcss": "6.0.15"+ "postcss": "6.0.19"},"dependencies": {"ansi-styles": {@@ -4660,42 +5371,31 @@}},"chalk": {- "version": "2.3.0",- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.0.tgz",- "integrity": "sha512-Az5zJR2CBujap2rqXGaJKaPHyJ0IrUimvYNX+ncCy8PJP4ltOGTrHUIo097ZaL2zMeKYpiCdqDvS6zdrTFok3Q==",+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.1.tgz",+ "integrity": "sha512-QUU4ofkDoMIVO7hcx1iPTISs88wsO8jA92RQIm4JAwZvFGGAV2hSAA1NX7oVj2Ej2Q6NDTcRDjPTFrMCRZoJ6g==","dev": true,"requires": {"ansi-styles": "3.2.0","escape-string-regexp": "1.0.5",- "supports-color": "4.5.0"- },- "dependencies": {- "supports-color": {- "version": "4.5.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz",- "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=",- "dev": true,- "requires": {- "has-flag": "2.0.0"- }- }+ "supports-color": "5.2.0"}},"has-flag": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz",- "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=",+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},"postcss": {- "version": "6.0.15",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.15.tgz",- "integrity": "sha512-v/SpyMzLbtkmh45zUdaqLAaqXqzPdSrw8p4cQVO0/w6YiYfpj4k+Wkzhn68qk9br+H+0qfddhdPEVnbmBPfXVQ==",+ "version": "6.0.19",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.19.tgz",+ "integrity": "sha512-f13HRz0HtVwVaEuW6J6cOUCBLFtymhgyLPV7t4QEk2UD3twRI9IluDcQNdzQdBpiixkXj2OmzejhhTbSbDxNTg==","dev": true,"requires": {- "chalk": "2.3.0",+ "chalk": "2.3.1","source-map": "0.6.1",- "supports-color": "5.1.0"+ "supports-color": "5.2.0"}},"source-map": {@@ -4705,12 +5405,12 @@"dev": true},"supports-color": {- "version": "5.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.1.0.tgz",- "integrity": "sha512-Ry0AwkoKjDpVKK4sV4h6o3UJmNRbjYm2uXhwfj3J56lMVdvnUNqzQVRztOOMGQ++w1K/TjNDFvpJk0F/LoeBCQ==",+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.2.0.tgz",+ "integrity": "sha512-F39vS48la4YvTZUPVeTqsjsFNrvcMwrV3RLZINsmHo+7djCvuUzSIeXOnZ5hmjef4bajL1dNccN+tg5XAliO5Q==","dev": true,"requires": {- "has-flag": "2.0.0"+ "has-flag": "3.0.0"}}}@@ -4722,7 +5422,7 @@"dev": true,"requires": {"icss-replace-symbols": "1.1.0",- "postcss": "6.0.15"+ "postcss": "6.0.19"},"dependencies": {"ansi-styles": {@@ -4735,42 +5435,31 @@}},"chalk": {- "version": "2.3.0",- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.0.tgz",- "integrity": "sha512-Az5zJR2CBujap2rqXGaJKaPHyJ0IrUimvYNX+ncCy8PJP4ltOGTrHUIo097ZaL2zMeKYpiCdqDvS6zdrTFok3Q==",+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.1.tgz",+ "integrity": "sha512-QUU4ofkDoMIVO7hcx1iPTISs88wsO8jA92RQIm4JAwZvFGGAV2hSAA1NX7oVj2Ej2Q6NDTcRDjPTFrMCRZoJ6g==","dev": true,"requires": {"ansi-styles": "3.2.0","escape-string-regexp": "1.0.5",- "supports-color": "4.5.0"- },- "dependencies": {- "supports-color": {- "version": "4.5.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz",- "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=",- "dev": true,- "requires": {- "has-flag": "2.0.0"- }- }+ "supports-color": "5.2.0"}},"has-flag": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz",- "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=",+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},"postcss": {- "version": "6.0.15",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.15.tgz",- "integrity": "sha512-v/SpyMzLbtkmh45zUdaqLAaqXqzPdSrw8p4cQVO0/w6YiYfpj4k+Wkzhn68qk9br+H+0qfddhdPEVnbmBPfXVQ==",+ "version": "6.0.19",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.19.tgz",+ "integrity": "sha512-f13HRz0HtVwVaEuW6J6cOUCBLFtymhgyLPV7t4QEk2UD3twRI9IluDcQNdzQdBpiixkXj2OmzejhhTbSbDxNTg==","dev": true,"requires": {- "chalk": "2.3.0",+ "chalk": "2.3.1","source-map": "0.6.1",- "supports-color": "5.1.0"+ "supports-color": "5.2.0"}},"source-map": {@@ -4780,12 +5469,12 @@"dev": true},"supports-color": {- "version": "5.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.1.0.tgz",- "integrity": "sha512-Ry0AwkoKjDpVKK4sV4h6o3UJmNRbjYm2uXhwfj3J56lMVdvnUNqzQVRztOOMGQ++w1K/TjNDFvpJk0F/LoeBCQ==",+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.2.0.tgz",+ "integrity": "sha512-F39vS48la4YvTZUPVeTqsjsFNrvcMwrV3RLZINsmHo+7djCvuUzSIeXOnZ5hmjef4bajL1dNccN+tg5XAliO5Q==","dev": true,"requires": {- "has-flag": "2.0.0"+ "has-flag": "3.0.0"}}}@@ -4966,7 +5655,7 @@"browserify-rsa": "4.0.1","create-hash": "1.1.3","parse-asn1": "5.1.0",- "randombytes": "2.0.5"+ "randombytes": "2.0.6"}},"punycode": {@@ -5019,26 +5708,6 @@"kind-of": "4.0.0"},"dependencies": {- "is-number": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",- "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=",- "dev": true,- "requires": {- "kind-of": "3.2.2"- },- "dependencies": {- "kind-of": {- "version": "3.2.2",- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",- "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",- "dev": true,- "requires": {- "is-buffer": "1.1.6"- }- }- }- },"kind-of": {"version": "4.0.0","resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz",@@ -5051,21 +5720,21 @@}},"randombytes": {- "version": "2.0.5",- "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.0.5.tgz",- "integrity": "sha512-8T7Zn1AhMsQ/HI1SjcCfT/t4ii3eAqco3yOcSzS4mozsOz69lHLsoMXmF9nZgnFanYscnSlUSgs8uZyKzpE6kg==",+ "version": "2.0.6",+ "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.0.6.tgz",+ "integrity": "sha512-CIQ5OFxf4Jou6uOKe9t1AOgqpeU5fd70A8NPdHSGeYXqXsPe6peOwI0cUl88RWZ6sP1vPMV3avd/R6cZ5/sP1A==","dev": true,"requires": {"safe-buffer": "5.1.1"}},"randomfill": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.3.tgz",- "integrity": "sha512-YL6GrhrWoic0Eq8rXVbMptH7dAxCs0J+mh5Y0euNekPPYaxEmdVGim6GdoxoRzKW2yJoU8tueifS7mYxvcFDEQ==",+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz",+ "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==","dev": true,"requires": {- "randombytes": "2.0.5",+ "randombytes": "2.0.6","safe-buffer": "5.1.1"}},@@ -5194,9 +5863,9 @@}},"reflect-metadata": {- "version": "0.1.10",- "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.10.tgz",- "integrity": "sha1-tPg3BEFqytiZiMmxVjXUfgO5NEo=",+ "version": "0.1.12",+ "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.12.tgz",+ "integrity": "sha512-n+IyV+nGz3+0q3/Yf1ra12KpCyi001bi4XFxSjbiWWjfqb52iTTtpGXmCCAOWWIAn9KEuFZKGqBERHmrtScZ3A==","dev": true},"regenerate": {@@ -5214,6 +5883,16 @@"is-equal-shallow": "0.1.3"}},+ "regex-not": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz",+ "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==",+ "dev": true,+ "requires": {+ "extend-shallow": "3.0.2",+ "safe-regex": "1.1.0"+ }+ },"regexpu-core": {"version": "1.0.0","resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-1.0.0.tgz",@@ -5318,6 +5997,18 @@"path-parse": "1.0.5"}},+ "resolve-url": {+ "version": "0.2.1",+ "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz",+ "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=",+ "dev": true+ },+ "ret": {+ "version": "0.1.15",+ "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",+ "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==",+ "dev": true+ },"right-align": {"version": "0.1.3","resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz",@@ -5352,6 +6043,15 @@"integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==","dev": true},+ "safe-regex": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz",+ "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=",+ "dev": true,+ "requires": {+ "ret": "0.1.15"+ }+ },"sass-graph": {"version": "2.2.4","resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.4.tgz",@@ -5426,11 +6126,11 @@}},"semantic-ui-css": {- "version": "2.2.12",- "resolved": "https://registry.npmjs.org/semantic-ui-css/-/semantic-ui-css-2.2.12.tgz",- "integrity": "sha512-RrA3k6hya+kEMDmVLT38SBTDQD8FgdnFi16eMPuQ1N1xUOoBxKzr+HZASb7Zo3xlMvkYqEWvPIp58Wjl6Zcsfg==",+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/semantic-ui-css/-/semantic-ui-css-2.3.0.tgz",+ "integrity": "sha512-f76LAKVyIJGBPJlEP3q2NHrnJVMoiBUw5gLyeWhsXyboK7gKlzAbdK1ytr8/jV++GfmpyC3hFrMCdSNBfFF+ag==","requires": {- "jquery": "3.2.1"+ "jquery": "3.3.1"}},"semver": {@@ -5445,21 +6145,53 @@"integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=","dev": true},+ "set-getter": {+ "version": "0.1.0",+ "resolved": "https://registry.npmjs.org/set-getter/-/set-getter-0.1.0.tgz",+ "integrity": "sha1-12nBgsnVpR9AkUXy+6guXoboA3Y=",+ "dev": true,+ "requires": {+ "to-object-path": "0.3.0"+ }+ },"set-immediate-shim": {"version": "1.0.1","resolved": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz","integrity": "sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=","dev": true},+ "set-value": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.0.tgz",+ "integrity": "sha512-hw0yxk9GT/Hr5yJEYnHNKYXkIA8mVJgd9ditYZCe16ZczcaELYYcfvaXesNACk2O8O0nTiPQcQhGUQj8JLzeeg==",+ "dev": true,+ "requires": {+ "extend-shallow": "2.0.1",+ "is-extendable": "0.1.1",+ "is-plain-object": "2.0.4",+ "split-string": "3.1.0"+ },+ "dependencies": {+ "extend-shallow": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",+ "dev": true,+ "requires": {+ "is-extendable": "0.1.1"+ }+ }+ }+ },"setimmediate": {"version": "1.0.5","resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz","integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU="},"sha.js": {- "version": "2.4.9",- "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.9.tgz",- "integrity": "sha512-G8zektVqbiPHrylgew9Zg1VRB1L/DtXNUVAM6q4QLy8NE3qtHlFXTf8VLL4k1Yl6c7NMjtZUTdXV+X44nFaT6A==",+ "version": "2.4.10",+ "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.10.tgz",+ "integrity": "sha512-vnwmrFDlOExK4Nm16J2KMWHLrp14lBrjxMxBJpu++EnsuBmpiYaM/MEs46Vxxm/4FvdP5yTwuCTO9it5FSjrqA==","dev": true,"requires": {"inherits": "2.0.3",@@ -5510,6 +6242,130 @@"integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=","dev": true},+ "snapdragon": {+ "version": "0.8.1",+ "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.1.tgz",+ "integrity": "sha1-4StUh/re0+PeoKyR6UAL91tAE3A=",+ "dev": true,+ "requires": {+ "base": "0.11.2",+ "debug": "2.6.9",+ "define-property": "0.2.5",+ "extend-shallow": "2.0.1",+ "map-cache": "0.2.2",+ "source-map": "0.5.7",+ "source-map-resolve": "0.5.1",+ "use": "2.0.2"+ },+ "dependencies": {+ "define-property": {+ "version": "0.2.5",+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",+ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",+ "dev": true,+ "requires": {+ "is-descriptor": "0.1.6"+ }+ },+ "extend-shallow": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",+ "dev": true,+ "requires": {+ "is-extendable": "0.1.1"+ }+ },+ "is-accessor-descriptor": {+ "version": "0.1.6",+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz",+ "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=",+ "dev": true,+ "requires": {+ "kind-of": "3.2.2"+ },+ "dependencies": {+ "kind-of": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",+ "dev": true,+ "requires": {+ "is-buffer": "1.1.6"+ }+ }+ }+ },+ "is-data-descriptor": {+ "version": "0.1.4",+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz",+ "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=",+ "dev": true,+ "requires": {+ "kind-of": "3.2.2"+ },+ "dependencies": {+ "kind-of": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",+ "dev": true,+ "requires": {+ "is-buffer": "1.1.6"+ }+ }+ }+ },+ "is-descriptor": {+ "version": "0.1.6",+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz",+ "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==",+ "dev": true,+ "requires": {+ "is-accessor-descriptor": "0.1.6",+ "is-data-descriptor": "0.1.4",+ "kind-of": "5.1.0"+ }+ },+ "kind-of": {+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz",+ "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==",+ "dev": true+ }+ }+ },+ "snapdragon-node": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz",+ "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==",+ "dev": true,+ "requires": {+ "define-property": "1.0.0",+ "isobject": "3.0.1",+ "snapdragon-util": "3.0.1"+ },+ "dependencies": {+ "define-property": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",+ "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",+ "dev": true,+ "requires": {+ "is-descriptor": "1.0.2"+ }+ }+ }+ },+ "snapdragon-util": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz",+ "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==",+ "dev": true,+ "requires": {+ "kind-of": "3.2.2"+ }+ },"sntp": {"version": "2.1.0","resolved": "https://registry.npmjs.org/sntp/-/sntp-2.1.0.tgz",@@ -5540,6 +6396,25 @@"integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=","dev": true},+ "source-map-resolve": {+ "version": "0.5.1",+ "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.1.tgz",+ "integrity": "sha512-0KW2wvzfxm8NCTb30z0LMNyPqWCdDGE2viwzUaucqJdkTRXtZiSY3I+2A6nVAjmdOy0I4gU8DwnVVGsk9jvP2A==",+ "dev": true,+ "requires": {+ "atob": "2.0.3",+ "decode-uri-component": "0.2.0",+ "resolve-url": "0.2.1",+ "source-map-url": "0.4.0",+ "urix": "0.1.0"+ }+ },+ "source-map-url": {+ "version": "0.4.0",+ "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz",+ "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=",+ "dev": true+ },"spdx-correct": {"version": "1.0.2","resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-1.0.2.tgz",@@ -5561,6 +6436,15 @@"integrity": "sha1-yd96NCRZSt5r0RkA1ZZpbcBrrFc=","dev": true},+ "split-string": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz",+ "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==",+ "dev": true,+ "requires": {+ "extend-shallow": "3.0.2"+ }+ },"sprintf-js": {"version": "1.0.3","resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",@@ -5582,6 +6466,84 @@"tweetnacl": "0.14.5"}},+ "static-extend": {+ "version": "0.1.2",+ "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz",+ "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=",+ "dev": true,+ "requires": {+ "define-property": "0.2.5",+ "object-copy": "0.1.0"+ },+ "dependencies": {+ "define-property": {+ "version": "0.2.5",+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",+ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",+ "dev": true,+ "requires": {+ "is-descriptor": "0.1.6"+ }+ },+ "is-accessor-descriptor": {+ "version": "0.1.6",+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz",+ "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=",+ "dev": true,+ "requires": {+ "kind-of": "3.2.2"+ },+ "dependencies": {+ "kind-of": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",+ "dev": true,+ "requires": {+ "is-buffer": "1.1.6"+ }+ }+ }+ },+ "is-data-descriptor": {+ "version": "0.1.4",+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz",+ "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=",+ "dev": true,+ "requires": {+ "kind-of": "3.2.2"+ },+ "dependencies": {+ "kind-of": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",+ "dev": true,+ "requires": {+ "is-buffer": "1.1.6"+ }+ }+ }+ },+ "is-descriptor": {+ "version": "0.1.6",+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz",+ "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==",+ "dev": true,+ "requires": {+ "is-accessor-descriptor": "0.1.6",+ "is-data-descriptor": "0.1.4",+ "kind-of": "5.1.0"+ }+ },+ "kind-of": {+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz",+ "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==",+ "dev": true+ }+ }+ },"stdout-stream": {"version": "1.4.0","resolved": "https://registry.npmjs.org/stdout-stream/-/stdout-stream-1.4.0.tgz",@@ -5602,9 +6564,9 @@}},"stream-http": {- "version": "2.7.2",- "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.7.2.tgz",- "integrity": "sha512-c0yTD2rbQzXtSsFSVhtpvY/vS6u066PcXOX9kBB3mSO76RiUQzL340uJkGBWnlBg4/HZzqiUXtaVA7wcRcJgEw==",+ "version": "2.8.0",+ "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.0.tgz",+ "integrity": "sha512-sZOFxI/5xw058XIRHl4dU3dZ+TTOIGJR78Dvo0oEAejIt4ou27k+3ne1zYmCV+v7UucbxIFQuOgnkTVHh8YPnw==","dev": true,"requires": {"builtin-status-codes": "3.0.0",@@ -5718,9 +6680,9 @@}},"timers-browserify": {- "version": "2.0.4",- "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.4.tgz",- "integrity": "sha512-uZYhyU3EX8O7HQP+J9fTVYwsq90Vr68xPEFo7yrVImIxYvHgukBEgOB/SgGoorWVTzGM/3Z+wUNnboA4M8jWrg==",+ "version": "2.0.6",+ "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.6.tgz",+ "integrity": "sha512-HQ3nbYRAowdVd0ckGFvmJPPCOH/CHleFN/Y0YQCX1DVaB7t+KFvisuyN09fuP8Jtp1CpfSh8O8bMkHbdbPe6Pw==","dev": true,"requires": {"setimmediate": "1.0.5"@@ -5741,6 +6703,37 @@"integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=","dev": true},+ "to-object-path": {+ "version": "0.3.0",+ "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz",+ "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=",+ "dev": true,+ "requires": {+ "kind-of": "3.2.2"+ }+ },+ "to-regex": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz",+ "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==",+ "dev": true,+ "requires": {+ "define-property": "2.0.2",+ "extend-shallow": "3.0.2",+ "regex-not": "1.0.2",+ "safe-regex": "1.1.0"+ }+ },+ "to-regex-range": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz",+ "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=",+ "dev": true,+ "requires": {+ "is-number": "3.0.0",+ "repeat-string": "1.6.1"+ }+ },"tough-cookie": {"version": "2.3.3","resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.3.tgz",@@ -5781,14 +6774,15 @@}},"ts-loader": {- "version": "3.2.0",- "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-3.2.0.tgz",- "integrity": "sha512-4g8BF3gKWBHeM1jAFmMPHofuJlwTUU4iHJ0i3mwXRHwy74RU6VBOgl9kDVMGpapvGcMlVqV5G6v9XmV66Qqd7w==",+ "version": "3.5.0",+ "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-3.5.0.tgz",+ "integrity": "sha512-JTia3kObhTk36wPFgy0RnkZReiusYx7Le9IhcUWRrCTcFcr6Dy1zGsFd3x8DG4gevlbN65knI8W50FfoykXcng==","dev": true,"requires": {- "chalk": "2.3.0",+ "chalk": "2.3.1","enhanced-resolve": "3.4.1","loader-utils": "1.1.0",+ "micromatch": "3.1.9","semver": "5.4.1"},"dependencies": {@@ -5802,56 +6796,57 @@}},"chalk": {- "version": "2.3.0",- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.0.tgz",- "integrity": "sha512-Az5zJR2CBujap2rqXGaJKaPHyJ0IrUimvYNX+ncCy8PJP4ltOGTrHUIo097ZaL2zMeKYpiCdqDvS6zdrTFok3Q==",+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.1.tgz",+ "integrity": "sha512-QUU4ofkDoMIVO7hcx1iPTISs88wsO8jA92RQIm4JAwZvFGGAV2hSAA1NX7oVj2Ej2Q6NDTcRDjPTFrMCRZoJ6g==","dev": true,"requires": {"ansi-styles": "3.2.0","escape-string-regexp": "1.0.5",- "supports-color": "4.5.0"+ "supports-color": "5.2.0"}},"has-flag": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz",- "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=",+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},"supports-color": {- "version": "4.5.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz",- "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=",+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.2.0.tgz",+ "integrity": "sha512-F39vS48la4YvTZUPVeTqsjsFNrvcMwrV3RLZINsmHo+7djCvuUzSIeXOnZ5hmjef4bajL1dNccN+tg5XAliO5Q==","dev": true,"requires": {- "has-flag": "2.0.0"+ "has-flag": "3.0.0"}}}},"tslib": {- "version": "1.8.1",- "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.8.1.tgz",- "integrity": "sha1-aUavLR1lGnsYY7Ux1uWvpBqkTqw=",+ "version": "1.9.0",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.0.tgz",+ "integrity": "sha512-f/qGG2tUkrISBlQZEjEqoZ3B2+npJjIf04H1wuAv9iA8i04Icp+61KRXxFdha22670NJopsZCIjhC3SnjPRKrQ==","dev": true},"tslint": {- "version": "5.8.0",- "resolved": "https://registry.npmjs.org/tslint/-/tslint-5.8.0.tgz",- "integrity": "sha1-H0mtWy53x2w69N3K5VKuTjYS6xM=",+ "version": "5.9.1",+ "resolved": "https://registry.npmjs.org/tslint/-/tslint-5.9.1.tgz",+ "integrity": "sha1-ElX4ej/1frCw4fDmEKi0dIBGya4=","dev": true,"requires": {"babel-code-frame": "6.26.0","builtin-modules": "1.1.1",- "chalk": "2.3.0",- "commander": "2.11.0",+ "chalk": "2.3.1",+ "commander": "2.14.1","diff": "3.3.1","glob": "7.1.2",+ "js-yaml": "3.7.0","minimatch": "3.0.4","resolve": "1.5.0","semver": "5.4.1",- "tslib": "1.8.1",- "tsutils": "2.15.0"+ "tslib": "1.9.0",+ "tsutils": "2.21.2"},"dependencies": {"ansi-styles": {@@ -5864,49 +6859,55 @@}},"chalk": {- "version": "2.3.0",- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.0.tgz",- "integrity": "sha512-Az5zJR2CBujap2rqXGaJKaPHyJ0IrUimvYNX+ncCy8PJP4ltOGTrHUIo097ZaL2zMeKYpiCdqDvS6zdrTFok3Q==",+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.1.tgz",+ "integrity": "sha512-QUU4ofkDoMIVO7hcx1iPTISs88wsO8jA92RQIm4JAwZvFGGAV2hSAA1NX7oVj2Ej2Q6NDTcRDjPTFrMCRZoJ6g==","dev": true,"requires": {"ansi-styles": "3.2.0","escape-string-regexp": "1.0.5",- "supports-color": "4.5.0"+ "supports-color": "5.2.0"}},+ "commander": {+ "version": "2.14.1",+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.14.1.tgz",+ "integrity": "sha512-+YR16o3rK53SmWHU3rEM3tPAh2rwb1yPcQX5irVn7mb0gXbwuCCrnkbV5+PBfETdfg1vui07nM6PCG1zndcjQw==",+ "dev": true+ },"has-flag": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz",- "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=",+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},"supports-color": {- "version": "4.5.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz",- "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=",+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.2.0.tgz",+ "integrity": "sha512-F39vS48la4YvTZUPVeTqsjsFNrvcMwrV3RLZINsmHo+7djCvuUzSIeXOnZ5hmjef4bajL1dNccN+tg5XAliO5Q==","dev": true,"requires": {- "has-flag": "2.0.0"+ "has-flag": "3.0.0"}}}},"tslint-react": {- "version": "3.3.3",- "resolved": "https://registry.npmjs.org/tslint-react/-/tslint-react-3.3.3.tgz",- "integrity": "sha512-Lo/s1V1CzV26KN4r+w+VZgFWAUNNyIUDkEM95NQ61kHZ71ClXLc8tTRPy+KBU/Y+Cr/vXVD21ehzKJMKrXeKvg==",+ "version": "3.5.1",+ "resolved": "https://registry.npmjs.org/tslint-react/-/tslint-react-3.5.1.tgz",+ "integrity": "sha512-ndS/iOOGrasATcf5YU3JxoIwPGVykjrKhzmlVsRdT1xzl/RbNg9n627rtAGbCjkQepyiaQYgxWQT5G/qUpQCaA==","dev": true,"requires": {- "tsutils": "2.15.0"+ "tsutils": "2.21.2"}},"tsutils": {- "version": "2.15.0",- "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.15.0.tgz",- "integrity": "sha512-kKb1mSqRMwF0GHKya5/hZsI2m7Flg4ONZDeYu4e6Gx+kYAu86zsLNCHcUmNWhCRaUcKshNI272hOzuaCQDzJ2g==",+ "version": "2.21.2",+ "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.21.2.tgz",+ "integrity": "sha512-iaIuyjIUeFLdD39MYdzqBuY7Zv6+uGxSwRH4mf+HuzsnznjFz0R2tGrAe0/JvtNh91WrN8UN/DZRFTZNDuVekA==","dev": true,"requires": {- "tslib": "1.8.1"+ "tslib": "1.9.0"}},"tty-browserify": {@@ -5938,9 +6939,9 @@"dev": true},"typescript": {- "version": "2.6.2",- "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.6.2.tgz",- "integrity": "sha1-PFtv1/beCRQmkCfwPAlGdY92c6Q=",+ "version": "2.7.2",+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.7.2.tgz",+ "integrity": "sha512-p5TCYZDAO0m4G344hD+wx/LATebLWZNkkh2asWUFqSsD2OrDNhbAHuSjobrmsUmdzjJjEeZVU9g1h3O6vpstnw==","dev": true},"ua-parser-js": {@@ -5949,9 +6950,9 @@"integrity": "sha512-uRdSdu1oA1rncCQL7sCj8vSyZkgtL7faaw9Tc9rZ3mGgraQ7+Pdx7w5mnOSF3gw9ZNG6oc+KXfkon3bKuROm0g=="},"uc.micro": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.3.tgz",- "integrity": "sha1-ftUNXg+an7ClczeSWfKndFjVAZI="+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.5.tgz",+ "integrity": "sha512-JoLI4g5zv5qNyT09f4YAvEZIIV1oOjqnewYg5D38dkQljIzpPT296dbIGvKro3digYI1bkb7W6EP1y4uDlmzLg=="},"uglify-js": {"version": "2.8.29",@@ -6013,6 +7014,41 @@"webpack-sources": "1.1.0"}},+ "union-value": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz",+ "integrity": "sha1-XHHDTLW61dzr4+oM0IIHulqhrqQ=",+ "dev": true,+ "requires": {+ "arr-union": "3.1.0",+ "get-value": "2.0.6",+ "is-extendable": "0.1.1",+ "set-value": "0.4.3"+ },+ "dependencies": {+ "extend-shallow": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",+ "dev": true,+ "requires": {+ "is-extendable": "0.1.1"+ }+ },+ "set-value": {+ "version": "0.4.3",+ "resolved": "https://registry.npmjs.org/set-value/-/set-value-0.4.3.tgz",+ "integrity": "sha1-fbCPnT0i3H945Trzw79GZuzfzPE=",+ "dev": true,+ "requires": {+ "extend-shallow": "2.0.1",+ "is-extendable": "0.1.1",+ "is-plain-object": "2.0.4",+ "to-object-path": "0.3.0"+ }+ }+ }+ },"uniq": {"version": "1.0.1","resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz",@@ -6034,6 +7070,52 @@"integrity": "sha1-/+3ks2slKQaW5uFl1KWe25mOawI=","dev": true},+ "unset-value": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz",+ "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=",+ "dev": true,+ "requires": {+ "has-value": "0.3.1",+ "isobject": "3.0.1"+ },+ "dependencies": {+ "has-value": {+ "version": "0.3.1",+ "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz",+ "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=",+ "dev": true,+ "requires": {+ "get-value": "2.0.6",+ "has-values": "0.1.4",+ "isobject": "2.1.0"+ },+ "dependencies": {+ "isobject": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz",+ "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=",+ "dev": true,+ "requires": {+ "isarray": "1.0.0"+ }+ }+ }+ },+ "has-values": {+ "version": "0.1.4",+ "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz",+ "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=",+ "dev": true+ }+ }+ },+ "urix": {+ "version": "0.1.0",+ "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz",+ "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=",+ "dev": true+ },"url": {"version": "0.11.0","resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz",@@ -6052,6 +7134,94 @@}}},+ "use": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/use/-/use-2.0.2.tgz",+ "integrity": "sha1-riig1y+TvyJCKhii43mZMRLeyOg=",+ "dev": true,+ "requires": {+ "define-property": "0.2.5",+ "isobject": "3.0.1",+ "lazy-cache": "2.0.2"+ },+ "dependencies": {+ "define-property": {+ "version": "0.2.5",+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",+ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",+ "dev": true,+ "requires": {+ "is-descriptor": "0.1.6"+ }+ },+ "is-accessor-descriptor": {+ "version": "0.1.6",+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz",+ "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=",+ "dev": true,+ "requires": {+ "kind-of": "3.2.2"+ },+ "dependencies": {+ "kind-of": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",+ "dev": true,+ "requires": {+ "is-buffer": "1.1.6"+ }+ }+ }+ },+ "is-data-descriptor": {+ "version": "0.1.4",+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz",+ "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=",+ "dev": true,+ "requires": {+ "kind-of": "3.2.2"+ },+ "dependencies": {+ "kind-of": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",+ "dev": true,+ "requires": {+ "is-buffer": "1.1.6"+ }+ }+ }+ },+ "is-descriptor": {+ "version": "0.1.6",+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz",+ "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==",+ "dev": true,+ "requires": {+ "is-accessor-descriptor": "0.1.6",+ "is-data-descriptor": "0.1.4",+ "kind-of": "5.1.0"+ }+ },+ "kind-of": {+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz",+ "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==",+ "dev": true+ },+ "lazy-cache": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-2.0.2.tgz",+ "integrity": "sha1-uRkKT5EzVGlIQIWfio9whNiCImQ=",+ "dev": true,+ "requires": {+ "set-getter": "0.1.0"+ }+ }+ }+ },"util": {"version": "0.10.3","resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz",@@ -6129,15 +7299,15 @@}},"webpack": {- "version": "3.10.0",- "resolved": "https://registry.npmjs.org/webpack/-/webpack-3.10.0.tgz",- "integrity": "sha512-fxxKXoicjdXNUMY7LIdY89tkJJJ0m1Oo8PQutZ5rLgWbV5QVKI15Cn7+/IHnRTd3vfKfiwBx6SBqlorAuNA8LA==",+ "version": "3.11.0",+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-3.11.0.tgz",+ "integrity": "sha512-3kOFejWqj5ISpJk4Qj/V7w98h9Vl52wak3CLiw/cDOfbVTq7FeoZ0SdoHHY9PYlHr50ZS42OfvzE2vB4nncKQg==","dev": true,"requires": {- "acorn": "5.3.0",+ "acorn": "5.5.0","acorn-dynamic-import": "2.0.2",- "ajv": "5.5.2",- "ajv-keywords": "2.1.1",+ "ajv": "6.2.0",+ "ajv-keywords": "3.1.0","async": "2.6.0","enhanced-resolve": "3.4.1","escope": "3.6.0",@@ -6158,6 +7328,17 @@"yargs": "8.0.2"},"dependencies": {+ "ajv": {+ "version": "6.2.0",+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.2.0.tgz",+ "integrity": "sha1-r6wpW7qgFSRJ5SJ0LkVHwa6TKNI=",+ "dev": true,+ "requires": {+ "fast-deep-equal": "1.0.0",+ "fast-json-stable-stringify": "2.0.0",+ "json-schema-traverse": "0.3.1"+ }+ },"ansi-regex": {"version": "3.0.0","resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",diff --git a/package.json b/package.jsonindex 72ac95d6c..e5151b737 100644--- a/package.json+++ b/package.json@@ -4,36 +4,36 @@"repository": "https://github.com/getfider/fider","private": true,"dependencies": {- "jquery": "^3.2.1",- "markdown-it": "^8.4.0",+ "jquery": "^3.3.1",+ "markdown-it": "^8.4.1","react": "^16.2.0","react-dom": "^16.2.0","react-textarea-autosize": "^5.2.1",- "semantic-ui-css": "^2.2.12"+ "semantic-ui-css": "^2.3.0"},"devDependencies": {- "reflect-metadata": "^0.1.10",- "@types/jquery": "^3.2.16",+ "reflect-metadata": "^0.1.12",+ "@types/jquery": "^3.3.0","@types/markdown-it": "0.0.4",- "@types/mocha": "^2.2.44",- "@types/react": "^16.0.34",- "@types/react-dom": "^16.0.3",- "@types/react-textarea-autosize": "^4.3.1",+ "@types/mocha": "^2.2.48",+ "@types/react": "^16.0.38",+ "@types/react-dom": "^16.0.4",+ "@types/react-textarea-autosize": "^4.3.2","@types/selenium-webdriver": "^3.0.8",- "chromedriver": "^2.33.2",- "css-loader": "^0.28.7",- "dotenv": "^4.0.0",+ "chromedriver": "^2.35.0",+ "css-loader": "^0.28.10",+ "dotenv": "^5.0.1","extract-text-webpack-plugin": "^3.0.2",- "file-loader": "^1.1.5",- "mocha": "^4.0.1",- "node-sass": "^4.7.1",+ "file-loader": "^1.1.10",+ "mocha": "^5.0.1",+ "node-sass": "^4.7.2","sass-loader": "^6.0.6","selenium-webdriver": "^3.6.0",- "ts-loader": "^3.1.1",- "tslint": "^5.8.0",- "tslint-react": "^3.2.0",- "typescript": "^2.6.1",- "webpack": "^3.8.1",+ "ts-loader": "^3.5.0",+ "tslint": "^5.9.1",+ "tslint-react": "^3.5.1",+ "typescript": "^2.7.2",+ "webpack": "^3.11.0","webpack-clean-obsolete-chunks": "^0.3.0"}}diff --git a/public/components/common/Button.tsx b/public/components/common/Button.tsxindex 3f4dc9d18..e64f019cd 100644--- a/public/components/common/Button.tsx+++ b/public/components/common/Button.tsx@@ -25,7 +25,7 @@ export class ButtonClickEvent {}export class Button extends React.Component<ButtonProps, ButtonState> {- private unmounted: boolean;+ private unmounted: boolean = false;public static defaultProps: Partial<ButtonProps> = {size: 'tiny',diff --git a/public/components/common/SignInControl.tsx b/public/components/common/SignInControl.tsxindex 7679cc167..8e5ffa7e4 100644--- a/public/components/common/SignInControl.tsx+++ b/public/components/common/SignInControl.tsx@@ -14,7 +14,7 @@ interface SignInControlProps {}export class SignInControl extends React.Component<SignInControlProps, SignInControlState> {- private form: Form;+ private form!: Form;constructor(props: SignInControlProps) {super(props);diff --git a/public/pages/signup/SignUpPage.tsx b/public/pages/signup/SignUpPage.tsxindex 9decd3a2f..157152b93 100644--- a/public/pages/signup/SignUpPage.tsx+++ b/public/pages/signup/SignUpPage.tsx@@ -33,7 +33,7 @@ interface SignUpPageState {}export class SignUpPage extends React.Component<SignUpPageProps, SignUpPageState> {- private user: OAuthUser;+ private user?: OAuthUser;constructor(props: SignUpPageProps) {super(props);diff --git a/public/pages/site/CompleteSignInProfilePage.tsx b/public/pages/site/CompleteSignInProfilePage.tsxindex 9013b3a6f..a7dc5580b 100644--- a/public/pages/site/CompleteSignInProfilePage.tsx+++ b/public/pages/site/CompleteSignInProfilePage.tsx@@ -9,7 +9,7 @@ interface CompleteSignInProfilePageState {}export class CompleteSignInProfilePage extends React.Component<HomePageProps, CompleteSignInProfilePageState> {- private form: Form;+ private form!: Form;private key: string;constructor(props: HomePageProps) {diff --git a/public/pages/site/ShowIdeaPage/CommentInput.tsx b/public/pages/site/ShowIdeaPage/CommentInput.tsxindex b93b5d78a..0f245cbb4 100644--- a/public/pages/site/ShowIdeaPage/CommentInput.tsx+++ b/public/pages/site/ShowIdeaPage/CommentInput.tsx@@ -17,7 +17,7 @@ interface CommentInputState {}export class CommentInput extends React.Component<CommentInputProps, CommentInputState> {- private input: HTMLTextAreaElement;+ private input!: HTMLTextAreaElement;constructor(props: CommentInputProps) {super(props);diff --git a/public/pages/site/ShowIdeaPage/ResponseForm.tsx b/public/pages/site/ShowIdeaPage/ResponseForm.tsxindex 985ee38f8..a790cd093 100644--- a/public/pages/site/ShowIdeaPage/ResponseForm.tsx+++ b/public/pages/site/ShowIdeaPage/ResponseForm.tsx@@ -18,7 +18,7 @@ interface ResponseFormState {}export class ResponseForm extends React.Component<ResponseFormProps, ResponseFormState> {- private modal: HTMLDivElement;+ private modal!: HTMLDivElement;constructor(props: ResponseFormProps) {super(props);diff --git a/tests/pages/AdminSettingsPage.ts b/tests/pages/AdminSettingsPage.tsindex b10f3ef20..56f58ec39 100644--- a/tests/pages/AdminSettingsPage.ts+++ b/tests/pages/AdminSettingsPage.ts@@ -11,16 +11,16 @@ export class AdminSettingsPage extends Page {}@findBy('#title')- public TitleInput: TextInput;+ public TitleInput!: TextInput;@findBy('#welcome-message')- public WelcomeMessageInput: TextInput;+ public WelcomeMessageInput!: TextInput;@findBy('#invitation')- public InvitationInput: TextInput;+ public InvitationInput!: TextInput;@findBy('button.positive')- public ConfirmButton: Button;+ public ConfirmButton!: Button;public loadCondition() {return elementIsVisible(() => this.TitleInput);diff --git a/tests/pages/FacebookSignInPage.ts b/tests/pages/FacebookSignInPage.tsindex fd5c4daa3..46cb2ab75 100644--- a/tests/pages/FacebookSignInPage.ts+++ b/tests/pages/FacebookSignInPage.ts@@ -8,13 +8,13 @@ export class FacebookSignInPage extends Page {}@findBy('#email')- public Email: TextInput;+ public Email!: TextInput;@findBy('input[type="password"]')- public Password: TextInput;+ public Password!: TextInput;@findBy('#loginbutton')- public Confirm: Button;+ public Confirm!: Button;public loadCondition() {return elementIsPresent(() => this.Email);diff --git a/tests/pages/GoogleSignInPage.ts b/tests/pages/GoogleSignInPage.tsindex f23b7df15..bc5113794 100644--- a/tests/pages/GoogleSignInPage.ts+++ b/tests/pages/GoogleSignInPage.ts@@ -8,19 +8,19 @@ export class GoogleSignInPage extends Page {}@findBy('base[href="https://accounts.google.com/"]')- private Head: WebComponent;+ private Head!: WebComponent;@findBy('#identifierId')- public Email: TextInput;+ public Email!: TextInput;@findBy('#identifierNext')- public ConfirmEmail: Button;+ public ConfirmEmail!: Button;@findBy('input[type="password"]')- public Password: TextInput;+ public Password!: TextInput;@findBy('#passwordNext')- public ConfirmPassword: Button;+ public ConfirmPassword!: Button;public loadCondition() {return elementIsPresent(() => this.Head);diff --git a/tests/pages/HomePage.ts b/tests/pages/HomePage.tsindex 9d3b5cc1f..281ce6b77 100644--- a/tests/pages/HomePage.ts+++ b/tests/pages/HomePage.ts@@ -15,55 +15,55 @@ export class HomePage extends Page {}@findBy('.menu a.header')- public MenuTitle: WebComponent;+ public MenuTitle!: WebComponent;@findBy('.page .welcome-message')- public WelcomeMessage: WebComponent;+ public WelcomeMessage!: WebComponent;@findBy('#new-idea-input')- public IdeaTitle: TextInput;+ public IdeaTitle!: TextInput;@findBy('.ui.form textarea')- public IdeaDescription: TextInput;+ public IdeaDescription!: TextInput;@findBy('.ui.button.primary')- public SubmitIdea: Button;+ public SubmitIdea!: Button;@findBy('.signin')- public UserMenu: WebComponent;+ public UserMenu!: WebComponent;@findBy('.signin .name')- public UserName: WebComponent;+ public UserName!: WebComponent;@findBy('#signin-modal')- public SignInModal: WebComponent;+ public SignInModal!: WebComponent;@findBy('#signin-modal .button.google')- public GoogleSignIn: Button;+ public GoogleSignIn!: Button;@findBy('#signin-modal .button.facebook')- public FacebookSignIn: Button;+ public FacebookSignIn!: Button;@findBy('#email-signin input')- private EmailSignInInput: TextInput;+ private EmailSignInInput!: TextInput;@findBy('#email-signin button')- private EmailSignInButton: TextInput;+ private EmailSignInButton!: TextInput;@findBy('.ui.form .ui.negative.message')- public ErrorBox: WebComponent;+ public ErrorBox!: WebComponent;@findBy('.signout')- private SignOut: Button;+ private SignOut!: Button;@findMultipleBy('.fdr-idea-list > .item')- public IdeaList: IdeaList;+ public IdeaList!: IdeaList;@findBy('#signin-complete-modal input')- private CompleteEmailSignInInput: TextInput;+ private CompleteEmailSignInInput!: TextInput;@findBy('#signin-complete-modal button')- private CompleteEmailSignInButton: Button;+ private CompleteEmailSignInButton!: Button;public loadCondition() {return elementIsVisible(() => this.IdeaTitle);diff --git a/tests/pages/ShowIdeaPage.ts b/tests/pages/ShowIdeaPage.tsindex 6ce6889a7..e2c62fb2f 100644--- a/tests/pages/ShowIdeaPage.ts+++ b/tests/pages/ShowIdeaPage.ts@@ -7,43 +7,43 @@ export class ShowIdeaPage extends Page {}@findBy('.idea-header .header')- public Title: WebComponent;+ public Title!: WebComponent;@findBy('.description')- public Description: WebComponent;+ public Description!: WebComponent;@findBy('.fdr-response .ui.label')- public Status: WebComponent;+ public Status!: WebComponent;@findBy('.fdr-response .content')- public ResponseText: WebComponent;+ public ResponseText!: WebComponent;@findBy('.support-counter .button')- public SupportCounter: WebComponent;+ public SupportCounter!: WebComponent;@findBy('.comment-input textarea')- public CommentInput: TextInput;+ public CommentInput!: TextInput;@findBy('.comment-input button')- public SubmitCommentButton: Button;+ public SubmitCommentButton!: Button;@findMultipleBy('.ui.comments > .comment')- public CommentList: CommentList;+ public CommentList!: CommentList;@findBy('.action-col button.respond')- public RespondButton: Button;+ public RespondButton!: Button;@findBy('.ui.modal.active.fdr-response-form')- public ResponseModal: WebComponent;+ public ResponseModal!: WebComponent;@findBy('.ui.modal.active.fdr-response-form select')- private ResponseModalStatus: DropDownList;+ private ResponseModalStatus!: DropDownList;@findBy('.ui.modal.active.fdr-response-form textarea')- private ResponseModalText: TextInput;+ private ResponseModalText!: TextInput;@findBy('.ui.modal.active.fdr-response-form .actions button.primary')- private ResponseModalSubmitButton: Button;+ private ResponseModalSubmitButton!: Button;public loadCondition() {return elementIsVisible(() => this.Title);diff --git a/tests/pages/SignUpPage.ts b/tests/pages/SignUpPage.tsindex 1db63a041..d3dad09de 100644--- a/tests/pages/SignUpPage.ts+++ b/tests/pages/SignUpPage.ts@@ -11,34 +11,34 @@ export class SignUpPage extends Page {}@findBy('#fdr-signup-page')- private Container: WebComponent;+ private Container!: WebComponent;@findBy('#fdr-signup-page .button.google')- public GoogleSignIn: Button;+ public GoogleSignIn!: Button;@findBy('#fdr-signup-page .button.facebook')- public FacebookSignIn: Button;+ public FacebookSignIn!: Button;@findBy('#fdr-signup-page .form #name')- public UserName: TextInput;+ public UserName!: TextInput;@findBy('#fdr-signup-page .form #email')- public UserEmail: TextInput;+ public UserEmail!: TextInput;@findBy('#fdr-signup-page .form #tenantName')- public TenantName: TextInput;+ public TenantName!: TextInput;@findBy('#fdr-signup-page .form #subdomain')- public Subdomain: TextInput;+ public Subdomain!: TextInput;@findBy('#fdr-signup-page .button.positive')- public Confirm: Button;+ public Confirm!: Button;@findBy('#fdr-signup-page .page .green.basic.label')- private SubdomainOk: WebComponent;+ private SubdomainOk!: WebComponent;@findBy('#submitted-modal')- private SubmitConfirmation: WebComponent;+ private SubmitConfirmation!: WebComponent;public loadCondition() {return elementIsVisible(() => this.Container);diff --git a/vendor/github.com/julienschmidt/httprouter/.travis.yml b/vendor/github.com/julienschmidt/httprouter/.travis.ymlindex a4d6cc532..477807dd4 100644--- a/vendor/github.com/julienschmidt/httprouter/.travis.yml+++ b/vendor/github.com/julienschmidt/httprouter/.travis.yml@@ -1,8 +1,18 @@sudo: falselanguage: gogo:- - 1.1- - 1.2- - 1.3- - 1.4+ - 1.7+ - 1.8+ - 1.9+ - "1.10"- tip+before_install:+ - go get golang.org/x/tools/cmd/cover+ - go get github.com/mattn/goveralls+ - go get github.com/golang/lint/golint+script:+ - go test -v -covermode=count -coverprofile=coverage.out+ - go vet ./...+ - test -z "$(gofmt -d -s . | tee /dev/stderr)"+ - test -z "$(golint ./... | tee /dev/stderr)"+ - $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-cidiff --git a/vendor/github.com/julienschmidt/httprouter/README.md b/vendor/github.com/julienschmidt/httprouter/README.mdindex 9875c7000..eabf4aad3 100644--- a/vendor/github.com/julienschmidt/httprouter/README.md+++ b/vendor/github.com/julienschmidt/httprouter/README.md@@ -1,58 +1,37 @@-# HttpRouter [](https://travis-ci.org/julienschmidt/httprouter) [](http://gocover.io/github.com/julienschmidt/httprouter) [](http://godoc.org/github.com/julienschmidt/httprouter)+# HttpRouter [](https://travis-ci.org/julienschmidt/httprouter) [](https://coveralls.io/github/julienschmidt/httprouter?branch=master) [](http://godoc.org/github.com/julienschmidt/httprouter)-HttpRouter is a lightweight high performance HTTP request router-(also called *multiplexer* or just *mux* for short) for [Go](http://golang.org/).+HttpRouter is a lightweight high performance HTTP request router (also called *multiplexer* or just *mux* for short) for [Go](https://golang.org/).-In contrast to the [default mux](http://golang.org/pkg/net/http/#ServeMux) of Go's net/http package, this router supports-variables in the routing pattern and matches against the request method.-It also scales better.+In contrast to the [default mux](https://golang.org/pkg/net/http/#ServeMux) of Go's `net/http` package, this router supports variables in the routing pattern and matches against the request method. It also scales better.-The router is optimized for high performance and a small memory footprint.-It scales well even with very long paths and a large number of routes.-A compressing dynamic trie (radix tree) structure is used for efficient matching.+The router is optimized for high performance and a small memory footprint. It scales well even with very long paths and a large number of routes. A compressing dynamic trie (radix tree) structure is used for efficient matching.## Features-**Only explicit matches:** With other routers, like [http.ServeMux](http://golang.org/pkg/net/http/#ServeMux),-a requested URL path could match multiple patterns. Therefore they have some-awkward pattern priority rules, like *longest match* or *first registered,-first matched*. By design of this router, a request can only match exactly one-or no route. As a result, there are also no unintended matches, which makes it-great for SEO and improves the user experience.--**Stop caring about trailing slashes:** Choose the URL style you like, the-router automatically redirects the client if a trailing slash is missing or if-there is one extra. Of course it only does so, if the new path has a handler.-If you don't like it, you can [turn off this behavior](http://godoc.org/github.com/julienschmidt/httprouter#Router.RedirectTrailingSlash).--**Path auto-correction:** Besides detecting the missing or additional trailing-slash at no extra cost, the router can also fix wrong cases and remove-superfluous path elements (like `../` or `//`).-Is [CAPTAIN CAPS LOCK](http://www.urbandictionary.com/define.php?term=Captain+Caps+Lock) one of your users?-HttpRouter can help him by making a case-insensitive look-up and redirecting him-to the correct URL.--**Parameters in your routing pattern:** Stop parsing the requested URL path,-just give the path segment a name and the router delivers the dynamic value to-you. Because of the design of the router, path parameters are very cheap.--**Zero Garbage:** The matching and dispatching process generates zero bytes of-garbage. In fact, the only heap allocations that are made, is by building the-slice of the key-value pairs for path parameters. If the request path contains-no parameters, not a single heap allocation is necessary.--**Best Performance:** [Benchmarks speak for themselves](https://github.com/julienschmidt/go-http-routing-benchmark).-See below for technical details of the implementation.--**No more server crashes:** You can set a [Panic handler](http://godoc.org/github.com/julienschmidt/httprouter#Router.PanicHandler) to deal with panics-occurring during handling a HTTP request. The router then recovers and lets the-PanicHandler log what happened and deliver a nice error page.--Of course you can also set **custom [NotFound](http://godoc.org/github.com/julienschmidt/httprouter#Router.NotFound) and [MethodNotAllowed](http://godoc.org/github.com/julienschmidt/httprouter#Router.MethodNotAllowed) handlers** and [**serve static files**](http://godoc.org/github.com/julienschmidt/httprouter#Router.ServeFiles).++**Only explicit matches:** With other routers, like [`http.ServeMux`](https://golang.org/pkg/net/http/#ServeMux), a requested URL path could match multiple patterns. Therefore they have some awkward pattern priority rules, like *longest match* or *first registered, first matched*. By design of this router, a request can only match exactly one or no route. As a result, there are also no unintended matches, which makes it great for SEO and improves the user experience.++**Stop caring about trailing slashes:** Choose the URL style you like, the router automatically redirects the client if a trailing slash is missing or if there is one extra. Of course it only does so, if the new path has a handler. If you don't like it, you can [turn off this behavior](https://godoc.org/github.com/julienschmidt/httprouter#Router.RedirectTrailingSlash).++**Path auto-correction:** Besides detecting the missing or additional trailing slash at no extra cost, the router can also fix wrong cases and remove superfluous path elements (like `../` or `//`). Is [CAPTAIN CAPS LOCK](http://www.urbandictionary.com/define.php?term=Captain+Caps+Lock) one of your users? HttpRouter can help him by making a case-insensitive look-up and redirecting him to the correct URL.++**Parameters in your routing pattern:** Stop parsing the requested URL path, just give the path segment a name and the router delivers the dynamic value to you. Because of the design of the router, path parameters are very cheap.++**Zero Garbage:** The matching and dispatching process generates zero bytes of garbage. The only heap allocations that are made are building the slice of the key-value pairs for path parameters, and building new context and request objects (the latter only in the standard `Handler`/`HandlerFunc` api). In the 3-argument API, if the request path contains no parameters not a single heap allocation is necessary.++**Best Performance:** [Benchmarks speak for themselves](https://github.com/julienschmidt/go-http-routing-benchmark). See below for technical details of the implementation.++**No more server crashes:** You can set a [Panic handler](https://godoc.org/github.com/julienschmidt/httprouter#Router.PanicHandler) to deal with panics occurring during handling a HTTP request. The router then recovers and lets the `PanicHandler` log what happened and deliver a nice error page.++**Perfect for APIs:** The router design encourages to build sensible, hierarchical RESTful APIs. Moreover it has builtin native support for [OPTIONS requests](http://zacstewart.com/2012/04/14/http-options-method.html) and `405 Method Not Allowed` replies.++Of course you can also set **custom [`NotFound`](https://godoc.org/github.com/julienschmidt/httprouter#Router.NotFound) and [`MethodNotAllowed`](https://godoc.org/github.com/julienschmidt/httprouter#Router.MethodNotAllowed) handlers** and [**serve static files**](https://godoc.org/github.com/julienschmidt/httprouter#Router.ServeFiles).## Usage+This is just a quick introduction, view the [GoDoc](http://godoc.org/github.com/julienschmidt/httprouter) for details.Let's start with a trivial example:+```gopackage main@@ -81,12 +60,11 @@ func main() {```### Named parameters-As you can see, `:name` is a *named parameter*.-The values are accessible via `httprouter.Params`, which is just a slice of `httprouter.Param`s.-You can get the value of a parameter either by its index in the slice, or by using the `ByName(name)` method:-`:name` can be retrived by `ByName("name")`.++As you can see, `:name` is a *named parameter*. The values are accessible via `httprouter.Params`, which is just a slice of `httprouter.Param`s. You can get the value of a parameter either by its index in the slice, or by using the `ByName(name)` method: `:name` can be retrived by `ByName("name")`.Named parameters only match a single path segment:+```Pattern: /user/:user@@ -99,9 +77,9 @@ Pattern: /user/:user**Note:** Since this router has only explicit matches, you can not register static routes and parameters for the same path segment. For example you can not register the patterns `/user/new` and `/user/:user` for the same request method at the same time. The routing of different request methods is independent from each other.### Catch-All parameters-The second type are *catch-all* parameters and have the form `*name`.-Like the name suggests, they match everything.-Therefore they must always be at the **end** of the pattern:++The second type are *catch-all* parameters and have the form `*name`. Like the name suggests, they match everything. Therefore they must always be at the **end** of the pattern:+```Pattern: /src/*filepath@@ -111,11 +89,8 @@ Pattern: /src/*filepath```## How does it work?-The router relies on a tree structure which makes heavy use of *common prefixes*,-it is basically a *compact* [*prefix tree*](http://en.wikipedia.org/wiki/Trie)-(or just [*Radix tree*](http://en.wikipedia.org/wiki/Radix_tree)).-Nodes with a common prefix also share a common parent. Here is a short example-what the routing tree for the `GET` request method could look like:++The router relies on a tree structure which makes heavy use of *common prefixes*, it is basically a *compact* [*prefix tree*](https://en.wikipedia.org/wiki/Trie) (or just [*Radix tree*](https://en.wikipedia.org/wiki/Radix_tree)). Nodes with a common prefix also share a common parent. Here is a short example what the routing tree for the `GET` request method could look like:```Priority Path Handle@@ -130,33 +105,15 @@ Priority Path Handle1 | └team\ *<7>1 └contact\ *<8>```-Every `*<num>` represents the memory address of a handler function (a pointer).-If you follow a path trough the tree from the root to the leaf, you get the-complete route path, e.g `\blog\:post\`, where `:post` is just a placeholder-([*parameter*](#named-parameters)) for an actual post name. Unlike hash-maps, a-tree structure also allows us to use dynamic parts like the `:post` parameter,-since we actually match against the routing patterns instead of just comparing-hashes. [As benchmarks show](https://github.com/julienschmidt/go-http-routing-benchmark),-this works very well and efficient.--Since URL paths have a hierarchical structure and make use only of a limited set-of characters (byte values), it is very likely that there are a lot of common-prefixes. This allows us to easily reduce the routing into ever smaller problems.-Moreover the router manages a separate tree for every request method.-For one thing it is more space efficient than holding a method->handle map in-every single node, for another thing is also allows us to greatly reduce the-routing problem before even starting the look-up in the prefix-tree.--For even better scalability, the child nodes on each tree level are ordered by-priority, where the priority is just the number of handles registered in sub-nodes (children, grandchildren, and so on..).-This helps in two ways:--1. Nodes which are part of the most routing paths are evaluated first. This-helps to make as much routes as possible to be reachable as fast as possible.-2. It is some sort of cost compensation. The longest reachable path (highest-cost) can always be evaluated first. The following scheme visualizes the tree-structure. Nodes are evaluated from top to bottom and from left to right.++Every `*<num>` represents the memory address of a handler function (a pointer). If you follow a path trough the tree from the root to the leaf, you get the complete route path, e.g `\blog\:post\`, where `:post` is just a placeholder ([*parameter*](#named-parameters)) for an actual post name. Unlike hash-maps, a tree structure also allows us to use dynamic parts like the `:post` parameter, since we actually match against the routing patterns instead of just comparing hashes. [As benchmarks show](https://github.com/julienschmidt/go-http-routing-benchmark), this works very well and efficient.++Since URL paths have a hierarchical structure and make use only of a limited set of characters (byte values), it is very likely that there are a lot of common prefixes. This allows us to easily reduce the routing into ever smaller problems. Moreover the router manages a separate tree for every request method. For one thing it is more space efficient than holding a method->handle map in every single node, it also allows us to greatly reduce the routing problem before even starting the look-up in the prefix-tree.++For even better scalability, the child nodes on each tree level are ordered by priority, where the priority is just the number of handles registered in sub nodes (children, grandchildren, and so on..). This helps in two ways:++1. Nodes which are part of the most routing paths are evaluated first. This helps to make as much routes as possible to be reachable as fast as possible.+2. It is some sort of cost compensation. The longest reachable path (highest cost) can always be evaluated first. The following scheme visualizes the tree structure. Nodes are evaluated from top to bottom and from left to right.```├------------@@ -168,47 +125,38 @@ structure. Nodes are evaluated from top to bottom and from left to right.└-```+## Why doesn't this work with `http.Handler`?-## Why doesn't this work with http.Handler?-**It does!** The router itself implements the http.Handler interface.-Moreover the router provides convenient [adapters for http.Handler](http://godoc.org/github.com/julienschmidt/httprouter#Router.Handler)s and [http.HandlerFunc](http://godoc.org/github.com/julienschmidt/httprouter#Router.HandlerFunc)s-which allows them to be used as a [httprouter.Handle](http://godoc.org/github.com/julienschmidt/httprouter#Router.Handle) when registering a route.-The only disadvantage is, that no parameter values can be retrieved when a-http.Handler or http.HandlerFunc is used, since there is no efficient way to-pass the values with the existing function parameters.-Therefore [httprouter.Handle](http://godoc.org/github.com/julienschmidt/httprouter#Router.Handle) has a third function parameter.+**It does!** The router itself implements the `http.Handler` interface. Moreover the router provides convenient [adapters for `http.Handler`](https://godoc.org/github.com/julienschmidt/httprouter#Router.Handler)s and [`http.HandlerFunc`](https://godoc.org/github.com/julienschmidt/httprouter#Router.HandlerFunc)s which allows them to be used as a [`httprouter.Handle`](https://godoc.org/github.com/julienschmidt/httprouter#Router.Handle) when registering a route. The only disadvantage is, that no parameter values can be retrieved when a `http.Handler` or `http.HandlerFunc` is used, since there is no efficient way to pass the values with the existing function parameters. Therefore [`httprouter.Handle`](https://godoc.org/github.com/julienschmidt/httprouter#Router.Handle) has a third function parameter.Just try it out for yourself, the usage of HttpRouter is very straightforward. The package is compact and minimalistic, but also probably one of the easiest routers to set up.-## Where can I find Middleware *X*?-This package just provides a very efficient request router with a few extra-features. The router is just a [http.Handler](http://golang.org/pkg/net/http/#Handler),-you can chain any http.Handler compatible middleware before the router,-for example the [Gorilla handlers](http://www.gorillatoolkit.org/pkg/handlers).-Or you could [just write your own](http://justinas.org/writing-http-middleware-in-go/),-it's very easy!++This package just provides a very efficient request router with a few extra features. The router is just a [`http.Handler`](https://golang.org/pkg/net/http/#Handler), you can chain any http.Handler compatible middleware before the router, for example the [Gorilla handlers](http://www.gorillatoolkit.org/pkg/handlers). Or you could [just write your own](https://justinas.org/writing-http-middleware-in-go/), it's very easy!Alternatively, you could try [a web framework based on HttpRouter](#web-frameworks-based-on-httprouter).### Multi-domain / Sub-domains+Here is a quick example: Does your server serve multiple domains / hosts?You want to use sub-domains?Define a router per host!+```go// We need an object that implements the http.Handler interface.// Therefore we need a type for which we implement the ServeHTTP method.// We just use a map here, in which we map host names (with port) to http.Handlerstype HostSwitch map[string]http.Handler-// Implement the ServerHTTP method on our new type+// Implement the ServeHTTP method on our new typefunc (hs HostSwitch) ServeHTTP(w http.ResponseWriter, r *http.Request) {// Check if a http.Handler is registered for the given host.// If yes, use it to handle the request.if handler := hs[r.Host]; handler != nil {handler.ServeHTTP(w, r)} else {- // Handle host names for wich no handler is registered+ // Handle host names for which no handler is registeredhttp.Error(w, "Forbidden", 403) // Or Redirect?}}@@ -230,94 +178,89 @@ func main() {```### Basic Authentication-Another quick example: Basic Authentification (RFC 2617) for handles:++Another quick example: Basic Authentication (RFC 2617) for handles:```gopackage mainimport (- "bytes"- "encoding/base64"- "fmt"- "github.com/julienschmidt/httprouter"- "net/http"- "log"- "strings"+ "fmt"+ "log"+ "net/http"++ "github.com/julienschmidt/httprouter")-func BasicAuth(h httprouter.Handle, user, pass []byte) httprouter.Handle {+func BasicAuth(h httprouter.Handle, requiredUser, requiredPassword string) httprouter.Handle {return func(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {- const basicAuthPrefix string = "Basic "-// Get the Basic Authentication credentials- auth := r.Header.Get("Authorization")- if strings.HasPrefix(auth, basicAuthPrefix) {- // Check credentials- payload, err := base64.StdEncoding.DecodeString(auth[len(basicAuthPrefix):])- if err == nil {- pair := bytes.SplitN(payload, []byte(":"), 2)- if len(pair) == 2 &&- bytes.Equal(pair[0], user) &&- bytes.Equal(pair[1], pass) {-- // Delegate request to the given handle- h(w, r, ps)- return- }- }+ user, password, hasAuth := r.BasicAuth()++ if hasAuth && user == requiredUser && password == requiredPassword {+ // Delegate request to the given handle+ h(w, r, ps)+ } else {+ // Request Basic Authentication otherwise+ w.Header().Set("WWW-Authenticate", "Basic realm=Restricted")+ http.Error(w, http.StatusText(http.StatusUnauthorized), http.StatusUnauthorized)}-- // Request Basic Authentication otherwise- w.Header().Set("WWW-Authenticate", "Basic realm=Restricted")- http.Error(w, http.StatusText(http.StatusUnauthorized), http.StatusUnauthorized)}}func Index(w http.ResponseWriter, r *http.Request, _ httprouter.Params) {- fmt.Fprint(w, "Not protected!\n")+ fmt.Fprint(w, "Not protected!\n")}func Protected(w http.ResponseWriter, r *http.Request, _ httprouter.Params) {- fmt.Fprint(w, "Protected!\n")+ fmt.Fprint(w, "Protected!\n")}func main() {- user := []byte("gordon")- pass := []byte("secret!")-- router := httprouter.New()- router.GET("/", Index)- router.GET("/protected/", BasicAuth(Protected, user, pass))+ user := "gordon"+ pass := "secret!"- log.Fatal(http.ListenAndServe(":8080", router))+ router := httprouter.New()+ router.GET("/", Index)+ router.GET("/protected/", BasicAuth(Protected, user, pass))++ log.Fatal(http.ListenAndServe(":8080", router))}```## Chaining with the NotFound handler-**NOTE: It might be required to set [Router.HandleMethodNotAllowed](http://godoc.org/github.com/julienschmidt/httprouter#Router.HandleMethodNotAllowed) to `false` to avoid problems.**+**NOTE: It might be required to set [`Router.HandleMethodNotAllowed`](https://godoc.org/github.com/julienschmidt/httprouter#Router.HandleMethodNotAllowed) to `false` to avoid problems.**-You can use another [http.HandlerFunc](http://golang.org/pkg/net/http/#HandlerFunc), for example another router, to handle requests which could not be matched by this router by using the [Router.NotFound](http://godoc.org/github.com/julienschmidt/httprouter#Router.NotFound) handler. This allows chaining.+You can use another [`http.Handler`](https://golang.org/pkg/net/http/#Handler), for example another router, to handle requests which could not be matched by this router by using the [`Router.NotFound`](https://godoc.org/github.com/julienschmidt/httprouter#Router.NotFound) handler. This allows chaining.### Static files-The `NotFound` handler can for example be used to serve static files from the root path `/` (like an index.html file along with other assets):++The `NotFound` handler can for example be used to serve static files from the root path `/` (like an `index.html` file along with other assets):+```go// Serve static files from the ./public directory-router.NotFound = http.FileServer(http.Dir("public")).ServeHTTP+router.NotFound = http.FileServer(http.Dir("public"))```But this approach sidesteps the strict core rules of this router to avoid routing problems. A cleaner approach is to use a distinct sub-path for serving files, like `/static/*filepath` or `/files/*filepath`.## Web Frameworks based on HttpRouter+If the HttpRouter is a bit too minimalistic for you, you might try one of the following more high-level 3rd-party web frameworks building upon the HttpRouter package:+* [Ace](https://github.com/plimble/ace): Blazing fast Go Web Framework-* [api2go](https://github.com/univedo/api2go): A JSON API Implementation for Go+* [api2go](https://github.com/manyminds/api2go): A JSON API Implementation for Go* [Gin](https://github.com/gin-gonic/gin): Features a martini-like API with much better performance* [Goat](https://github.com/bahlo/goat): A minimalistic REST API server in Go+* [goMiddlewareChain](https://github.com/TobiEiss/goMiddlewareChain): An express.js-like-middleware-chain* [Hikaru](https://github.com/najeira/hikaru): Supports standalone and Google AppEngine* [Hitch](https://github.com/nbio/hitch): Hitch ties httprouter, [httpcontext](https://github.com/nbio/httpcontext), and middleware up in a bow+* [httpway](https://github.com/corneldamian/httpway): Simple middleware extension with context for httprouter and a server with gracefully shutdown support* [kami](https://github.com/guregu/kami): A tiny web framework using x/net/context* [Medeina](https://github.com/imdario/medeina): Inspired by Ruby's Roda and Cuba* [Neko](https://github.com/rocwong/neko): A lightweight web application framework for Golang+* [River](https://github.com/abiosoft/river): River is a simple and lightweight REST server* [Roxanna](https://github.com/iamthemuffinman/Roxanna): An amalgamation of httprouter, better logging, and hot reload* [siesta](https://github.com/VividCortex/siesta): Composable HTTP handlers with contexts+* [xmux](https://github.com/rs/xmux): xmux is a httprouter fork on top of xhandler (net/context aware)diff --git a/vendor/github.com/julienschmidt/httprouter/params_go17.go b/vendor/github.com/julienschmidt/httprouter/params_go17.gonew file mode 100644index 000000000..abb4209d4--- /dev/null+++ b/vendor/github.com/julienschmidt/httprouter/params_go17.go@@ -0,0 +1,38 @@+// +build go1.7++package httprouter++import (+ "context"+ "net/http"+)++type paramsKey struct{}++// ParamsKey is the request context key under which URL params are stored.+//+// This is only present from go 1.7.+var ParamsKey = paramsKey{}++// Handler is an adapter which allows the usage of an http.Handler as a+// request handle. With go 1.7+, the Params will be available in the+// request context under ParamsKey.+func (r *Router) Handler(method, path string, handler http.Handler) {+ r.Handle(method, path,+ func(w http.ResponseWriter, req *http.Request, p Params) {+ ctx := req.Context()+ ctx = context.WithValue(ctx, ParamsKey, p)+ req = req.WithContext(ctx)+ handler.ServeHTTP(w, req)+ },+ )+}++// ParamsFromContext pulls the URL parameters from a request context,+// or returns nil if none are present.+//+// This is only present from go 1.7.+func ParamsFromContext(ctx context.Context) Params {+ p, _ := ctx.Value(ParamsKey).(Params)+ return p+}diff --git a/vendor/github.com/julienschmidt/httprouter/params_legacy.go b/vendor/github.com/julienschmidt/httprouter/params_legacy.gonew file mode 100644index 000000000..0278a4416--- /dev/null+++ b/vendor/github.com/julienschmidt/httprouter/params_legacy.go@@ -0,0 +1,16 @@+// +build !go1.7++package httprouter++import "net/http"++// Handler is an adapter which allows the usage of an http.Handler as a+// request handle. With go 1.7+, the Params will be available in the+// request context under ParamsKey.+func (r *Router) Handler(method, path string, handler http.Handler) {+ r.Handle(method, path,+ func(w http.ResponseWriter, req *http.Request, _ Params) {+ handler.ServeHTTP(w, req)+ },+ )+}diff --git a/vendor/github.com/julienschmidt/httprouter/router.go b/vendor/github.com/julienschmidt/httprouter/router.goindex 155b871c8..bfd4db04d 100644--- a/vendor/github.com/julienschmidt/httprouter/router.go+++ b/vendor/github.com/julienschmidt/httprouter/router.go@@ -55,7 +55,7 @@//// Catch-all parameters match anything until the path end, including the// directory index (the '/' before the catch-all). Since they match anything-// until the end, catch-all paramerters must always be the final path element.+// until the end, catch-all parameters must always be the final path element.// Path: /files/*filepath//// Requests:@@ -138,14 +138,20 @@ type Router struct {// handler.HandleMethodNotAllowed bool- // Configurable http.HandlerFunc which is called when no matching route is+ // If enabled, the router automatically replies to OPTIONS requests.+ // Custom OPTIONS handlers take priority over automatic replies.+ HandleOPTIONS bool++ // Configurable http.Handler which is called when no matching route is// found. If it is not set, http.NotFound is used.- NotFound http.HandlerFunc+ NotFound http.Handler- // Configurable http.HandlerFunc which is called when a request+ // Configurable http.Handler which is called when a request// cannot be routed and HandleMethodNotAllowed is true.// If it is not set, http.Error with http.StatusMethodNotAllowed is used.- MethodNotAllowed http.HandlerFunc+ // The "Allow" header with allowed request methods is set before the handler+ // is called.+ MethodNotAllowed http.Handler// Function to handle panics recovered from http handlers.// It should be used to generate a error page and return the http error code@@ -165,6 +171,7 @@ func New() *Router {RedirectTrailingSlash: true,RedirectFixedPath: true,HandleMethodNotAllowed: true,+ HandleOPTIONS: true,}}@@ -229,16 +236,6 @@ func (r *Router) Handle(method, path string, handle Handle) {root.addRoute(path, handle)}-// Handler is an adapter which allows the usage of an http.Handler as a-// request handle.-func (r *Router) Handler(method, path string, handler http.Handler) {- r.Handle(method, path,- func(w http.ResponseWriter, req *http.Request, _ Params) {- handler.ServeHTTP(w, req)- },- )-}-// HandlerFunc is an adapter which allows the usage of an http.HandlerFunc as a// request handle.func (r *Router) HandlerFunc(method, path string, handler http.HandlerFunc) {@@ -286,15 +283,53 @@ func (r *Router) Lookup(method, path string) (Handle, Params, bool) {return nil, nil, false}+func (r *Router) allowed(path, reqMethod string) (allow string) {+ if path == "*" { // server-wide+ for method := range r.trees {+ if method == "OPTIONS" {+ continue+ }++ // add request method to list of allowed methods+ if len(allow) == 0 {+ allow = method+ } else {+ allow += ", " + method+ }+ }+ } else { // specific path+ for method := range r.trees {+ // Skip the requested method - we already tried this one+ if method == reqMethod || method == "OPTIONS" {+ continue+ }++ handle, _, _ := r.trees[method].getValue(path)+ if handle != nil {+ // add request method to list of allowed methods+ if len(allow) == 0 {+ allow = method+ } else {+ allow += ", " + method+ }+ }+ }+ }+ if len(allow) > 0 {+ allow += ", OPTIONS"+ }+ return+}+// ServeHTTP makes the router implement the http.Handler interface.func (r *Router) ServeHTTP(w http.ResponseWriter, req *http.Request) {if r.PanicHandler != nil {defer r.recv(w, req)}- if root := r.trees[req.Method]; root != nil {- path := req.URL.Path+ path := req.URL.Path+ if root := r.trees[req.Method]; root != nil {if handle, ps, tsr := root.getValue(path); handle != nil {handle(w, req, ps)return@@ -331,18 +366,21 @@ func (r *Router) ServeHTTP(w http.ResponseWriter, req *http.Request) {}}- // Handle 405- if r.HandleMethodNotAllowed {- for method := range r.trees {- // Skip the requested method - we already tried this one- if method == req.Method {- continue+ if req.Method == "OPTIONS" {+ // Handle OPTIONS requests+ if r.HandleOPTIONS {+ if allow := r.allowed(path, req.Method); len(allow) > 0 {+ w.Header().Set("Allow", allow)+ return}-- handle, _, _ := r.trees[method].getValue(req.URL.Path)- if handle != nil {+ }+ } else {+ // Handle 405+ if r.HandleMethodNotAllowed {+ if allow := r.allowed(path, req.Method); len(allow) > 0 {+ w.Header().Set("Allow", allow)if r.MethodNotAllowed != nil {- r.MethodNotAllowed(w, req)+ r.MethodNotAllowed.ServeHTTP(w, req)} else {http.Error(w,http.StatusText(http.StatusMethodNotAllowed),@@ -356,7 +394,7 @@ func (r *Router) ServeHTTP(w http.ResponseWriter, req *http.Request) {// Handle 404if r.NotFound != nil {- r.NotFound(w, req)+ r.NotFound.ServeHTTP(w, req)} else {http.NotFound(w, req)}diff --git a/vendor/github.com/julienschmidt/httprouter/router_test.go b/vendor/github.com/julienschmidt/httprouter/router_test.goindex 9dc62965c..b774a4eae 100644--- a/vendor/github.com/julienschmidt/httprouter/router_test.go+++ b/vendor/github.com/julienschmidt/httprouter/router_test.go@@ -68,11 +68,11 @@ func TestRouter(t *testing.T) {}type handlerStruct struct {- handeled *bool+ handled *bool}func (h handlerStruct) ServeHTTP(w http.ResponseWriter, r *http.Request) {- *h.handeled = true+ *h.handled = true}func TestRouterAPI(t *testing.T) {@@ -174,26 +174,175 @@ func TestRouterRoot(t *testing.T) {}}+func TestRouterChaining(t *testing.T) {+ router1 := New()+ router2 := New()+ router1.NotFound = router2++ fooHit := false+ router1.POST("/foo", func(w http.ResponseWriter, req *http.Request, _ Params) {+ fooHit = true+ w.WriteHeader(http.StatusOK)+ })++ barHit := false+ router2.POST("/bar", func(w http.ResponseWriter, req *http.Request, _ Params) {+ barHit = true+ w.WriteHeader(http.StatusOK)+ })++ r, _ := http.NewRequest("POST", "/foo", nil)+ w := httptest.NewRecorder()+ router1.ServeHTTP(w, r)+ if !(w.Code == http.StatusOK && fooHit) {+ t.Errorf("Regular routing failed with router chaining.")+ t.FailNow()+ }++ r, _ = http.NewRequest("POST", "/bar", nil)+ w = httptest.NewRecorder()+ router1.ServeHTTP(w, r)+ if !(w.Code == http.StatusOK && barHit) {+ t.Errorf("Chained routing failed with router chaining.")+ t.FailNow()+ }++ r, _ = http.NewRequest("POST", "/qax", nil)+ w = httptest.NewRecorder()+ router1.ServeHTTP(w, r)+ if !(w.Code == http.StatusNotFound) {+ t.Errorf("NotFound behavior failed with router chaining.")+ t.FailNow()+ }+}++func TestRouterOPTIONS(t *testing.T) {+ handlerFunc := func(_ http.ResponseWriter, _ *http.Request, _ Params) {}++ router := New()+ router.POST("/path", handlerFunc)++ // test not allowed+ // * (server)+ r, _ := http.NewRequest("OPTIONS", "*", nil)+ w := httptest.NewRecorder()+ router.ServeHTTP(w, r)+ if !(w.Code == http.StatusOK) {+ t.Errorf("OPTIONS handling failed: Code=%d, Header=%v", w.Code, w.Header())+ } else if allow := w.Header().Get("Allow"); allow != "POST, OPTIONS" {+ t.Error("unexpected Allow header value: " + allow)+ }++ // path+ r, _ = http.NewRequest("OPTIONS", "/path", nil)+ w = httptest.NewRecorder()+ router.ServeHTTP(w, r)+ if !(w.Code == http.StatusOK) {+ t.Errorf("OPTIONS handling failed: Code=%d, Header=%v", w.Code, w.Header())+ } else if allow := w.Header().Get("Allow"); allow != "POST, OPTIONS" {+ t.Error("unexpected Allow header value: " + allow)+ }++ r, _ = http.NewRequest("OPTIONS", "/doesnotexist", nil)+ w = httptest.NewRecorder()+ router.ServeHTTP(w, r)+ if !(w.Code == http.StatusNotFound) {+ t.Errorf("OPTIONS handling failed: Code=%d, Header=%v", w.Code, w.Header())+ }++ // add another method+ router.GET("/path", handlerFunc)++ // test again+ // * (server)+ r, _ = http.NewRequest("OPTIONS", "*", nil)+ w = httptest.NewRecorder()+ router.ServeHTTP(w, r)+ if !(w.Code == http.StatusOK) {+ t.Errorf("OPTIONS handling failed: Code=%d, Header=%v", w.Code, w.Header())+ } else if allow := w.Header().Get("Allow"); allow != "POST, GET, OPTIONS" && allow != "GET, POST, OPTIONS" {+ t.Error("unexpected Allow header value: " + allow)+ }++ // path+ r, _ = http.NewRequest("OPTIONS", "/path", nil)+ w = httptest.NewRecorder()+ router.ServeHTTP(w, r)+ if !(w.Code == http.StatusOK) {+ t.Errorf("OPTIONS handling failed: Code=%d, Header=%v", w.Code, w.Header())+ } else if allow := w.Header().Get("Allow"); allow != "POST, GET, OPTIONS" && allow != "GET, POST, OPTIONS" {+ t.Error("unexpected Allow header value: " + allow)+ }++ // custom handler+ var custom bool+ router.OPTIONS("/path", func(w http.ResponseWriter, r *http.Request, _ Params) {+ custom = true+ })++ // test again+ // * (server)+ r, _ = http.NewRequest("OPTIONS", "*", nil)+ w = httptest.NewRecorder()+ router.ServeHTTP(w, r)+ if !(w.Code == http.StatusOK) {+ t.Errorf("OPTIONS handling failed: Code=%d, Header=%v", w.Code, w.Header())+ } else if allow := w.Header().Get("Allow"); allow != "POST, GET, OPTIONS" && allow != "GET, POST, OPTIONS" {+ t.Error("unexpected Allow header value: " + allow)+ }+ if custom {+ t.Error("custom handler called on *")+ }++ // path+ r, _ = http.NewRequest("OPTIONS", "/path", nil)+ w = httptest.NewRecorder()+ router.ServeHTTP(w, r)+ if !(w.Code == http.StatusOK) {+ t.Errorf("OPTIONS handling failed: Code=%d, Header=%v", w.Code, w.Header())+ }+ if !custom {+ t.Error("custom handler not called")+ }+}+func TestRouterNotAllowed(t *testing.T) {handlerFunc := func(_ http.ResponseWriter, _ *http.Request, _ Params) {}router := New()router.POST("/path", handlerFunc)- // Test not allowed+ // test not allowedr, _ := http.NewRequest("GET", "/path", nil)w := httptest.NewRecorder()router.ServeHTTP(w, r)if !(w.Code == http.StatusMethodNotAllowed) {t.Errorf("NotAllowed handling failed: Code=%d, Header=%v", w.Code, w.Header())+ } else if allow := w.Header().Get("Allow"); allow != "POST, OPTIONS" {+ t.Error("unexpected Allow header value: " + allow)+ }++ // add another method+ router.DELETE("/path", handlerFunc)+ router.OPTIONS("/path", handlerFunc) // must be ignored++ // test again+ r, _ = http.NewRequest("GET", "/path", nil)+ w = httptest.NewRecorder()+ router.ServeHTTP(w, r)+ if !(w.Code == http.StatusMethodNotAllowed) {+ t.Errorf("NotAllowed handling failed: Code=%d, Header=%v", w.Code, w.Header())+ } else if allow := w.Header().Get("Allow"); allow != "POST, DELETE, OPTIONS" && allow != "DELETE, POST, OPTIONS" {+ t.Error("unexpected Allow header value: " + allow)}+ // test custom handlerw = httptest.NewRecorder()responseText := "custom method"- router.MethodNotAllowed = func(w http.ResponseWriter, req *http.Request) {+ router.MethodNotAllowed = http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {w.WriteHeader(http.StatusTeapot)w.Write([]byte(responseText))- }+ })router.ServeHTTP(w, r)if got := w.Body.String(); !(got == responseText) {t.Errorf("unexpected response got %q want %q", got, responseText)@@ -201,6 +350,9 @@ func TestRouterNotAllowed(t *testing.T) {if w.Code != http.StatusTeapot {t.Errorf("unexpected response code %d want %d", w.Code, http.StatusTeapot)}+ if allow := w.Header().Get("Allow"); allow != "POST, DELETE, OPTIONS" && allow != "DELETE, POST, OPTIONS" {+ t.Error("unexpected Allow header value: " + allow)+ }}func TestRouterNotFound(t *testing.T) {@@ -212,35 +364,35 @@ func TestRouterNotFound(t *testing.T) {router.GET("/", handlerFunc)testRoutes := []struct {- route string- code int- header string+ route string+ code int+ location string}{- {"/path/", 301, "map[Location:[/path]]"}, // TSR -/- {"/dir", 301, "map[Location:[/dir/]]"}, // TSR +/- {"", 301, "map[Location:[/]]"}, // TSR +/- {"/PATH", 301, "map[Location:[/path]]"}, // Fixed Case- {"/DIR/", 301, "map[Location:[/dir/]]"}, // Fixed Case- {"/PATH/", 301, "map[Location:[/path]]"}, // Fixed Case -/- {"/DIR", 301, "map[Location:[/dir/]]"}, // Fixed Case +/- {"/../path", 301, "map[Location:[/path]]"}, // CleanPath- {"/nope", 404, ""}, // NotFound+ {"/path/", 301, "/path"}, // TSR -/+ {"/dir", 301, "/dir/"}, // TSR +/+ {"", 301, "/"}, // TSR +/+ {"/PATH", 301, "/path"}, // Fixed Case+ {"/DIR/", 301, "/dir/"}, // Fixed Case+ {"/PATH/", 301, "/path"}, // Fixed Case -/+ {"/DIR", 301, "/dir/"}, // Fixed Case +/+ {"/../path", 301, "/path"}, // CleanPath+ {"/nope", 404, ""}, // NotFound}for _, tr := range testRoutes {r, _ := http.NewRequest("GET", tr.route, nil)w := httptest.NewRecorder()router.ServeHTTP(w, r)- if !(w.Code == tr.code && (w.Code == 404 || fmt.Sprint(w.Header()) == tr.header)) {- t.Errorf("NotFound handling route %s failed: Code=%d, Header=%v", tr.route, w.Code, w.Header())+ if !(w.Code == tr.code && (w.Code == 404 || fmt.Sprint(w.Header().Get("Location")) == tr.location)) {+ t.Errorf("NotFound handling route %s failed: Code=%d, Header=%v", tr.route, w.Code, w.Header().Get("Location"))}}// Test custom not found handlervar notFound bool- router.NotFound = func(rw http.ResponseWriter, r *http.Request) {+ router.NotFound = http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) {rw.WriteHeader(404)notFound = true- }+ })r, _ := http.NewRequest("GET", "/nope", nil)w := httptest.NewRecorder()router.ServeHTTP(w, r)diff --git a/vendor/github.com/julienschmidt/httprouter/tree.go b/vendor/github.com/julienschmidt/httprouter/tree.goindex a15bc2cbc..a8fa98b04 100644--- a/vendor/github.com/julienschmidt/httprouter/tree.go+++ b/vendor/github.com/julienschmidt/httprouter/tree.go@@ -7,6 +7,7 @@ package httprouterimport ("strings""unicode"+ "unicode/utf8")func min(a, b int) int {@@ -33,9 +34,10 @@ func countParams(path string) uint8 {type nodeType uint8const (- static nodeType = 0- param nodeType = 1- catchAll nodeType = 2+ static nodeType = iota // default+ root+ param+ catchAll)type node struct {@@ -58,9 +60,7 @@ func (n *node) incrementChildPrio(pos int) int {newPos := posfor newPos > 0 && n.children[newPos-1].priority < prio {// swap node positions- tmpN := n.children[newPos-1]- n.children[newPos-1] = n.children[newPos]- n.children[newPos] = tmpN+ n.children[newPos-1], n.children[newPos] = n.children[newPos], n.children[newPos-1]newPos--}@@ -105,6 +105,7 @@ func (n *node) addRoute(path string, handle Handle) {child := node{path: n.path[i:],wildChild: n.wildChild,+ nType: static,indices: n.indices,children: n.children,handle: n.handle,@@ -141,16 +142,25 @@ func (n *node) addRoute(path string, handle Handle) {numParams--// Check if the wildcard matches- if len(path) >= len(n.path) && n.path == path[:len(n.path)] {- // check for longer wildcard, e.g. :name and :names- if len(n.path) >= len(path) || path[len(n.path)] == '/' {- continue walk+ if len(path) >= len(n.path) && n.path == path[:len(n.path)] &&+ // Check for longer wildcard, e.g. :name and :names+ (len(n.path) >= len(path) || path[len(n.path)] == '/') {+ continue walk+ } else {+ // Wildcard conflict+ var pathSeg string+ if n.nType == catchAll {+ pathSeg = path+ } else {+ pathSeg = strings.SplitN(path, "/", 2)[0]}+ prefix := fullPath[:strings.Index(fullPath, pathSeg)] + n.path+ panic("'" + pathSeg ++ "' in new path '" + fullPath ++ "' conflicts with existing wildcard '" + n.path ++ "' in existing prefix '" + prefix ++ "'")}-- panic("path segment '" + path +- "' conflicts with existing wildcard '" + n.path +- "' in path '" + fullPath + "'")}c := path[0]@@ -187,7 +197,7 @@ func (n *node) addRoute(path string, handle Handle) {} else if i == len(path) { // Make node a (in-path) leafif n.handle != nil {- panic("a handle is already registered for path ''" + fullPath + "'")+ panic("a handle is already registered for path '" + fullPath + "'")}n.handle = handle}@@ -195,6 +205,7 @@ func (n *node) addRoute(path string, handle Handle) {}} else { // Empty treen.insertChild(numParams, path, fullPath, handle)+ n.nType = root}}@@ -317,7 +328,7 @@ func (n *node) insertChild(numParams uint8, path, fullPath string, handle Handle// made if a handle exists with an extra (without the) trailing slash for the// given path.func (n *node) getValue(path string) (handle Handle, p Params, tsr bool) {-walk: // Outer loop for walking the tree+walk: // outer loop for walking the treefor {if len(path) > len(n.path) {if path[:len(n.path)] == n.path {@@ -411,6 +422,11 @@ walk: // Outer loop for walking the treereturn}+ if path == "/" && n.wildChild && n.nType != root {+ tsr = true+ return+ }+// No handle found. Check if a handle for this path + a// trailing slash exists for trailing slash recommendationfor i := 0; i < len(n.indices); i++ {@@ -439,34 +455,117 @@ walk: // Outer loop for walking the tree// It returns the case-corrected path and a bool indicating whether the lookup// was successful.func (n *node) findCaseInsensitivePath(path string, fixTrailingSlash bool) (ciPath []byte, found bool) {- ciPath = make([]byte, 0, len(path)+1) // preallocate enough memory+ return n.findCaseInsensitivePathRec(+ path,+ strings.ToLower(path),+ make([]byte, 0, len(path)+1), // preallocate enough memory for new path+ [4]byte{}, // empty rune buffer+ fixTrailingSlash,+ )+}- // Outer loop for walking the tree- for len(path) >= len(n.path) && strings.ToLower(path[:len(n.path)]) == strings.ToLower(n.path) {- path = path[len(n.path):]+// shift bytes in array by n bytes left+func shiftNRuneBytes(rb [4]byte, n int) [4]byte {+ switch n {+ case 0:+ return rb+ case 1:+ return [4]byte{rb[1], rb[2], rb[3], 0}+ case 2:+ return [4]byte{rb[2], rb[3]}+ case 3:+ return [4]byte{rb[3]}+ default:+ return [4]byte{}+ }+}++// recursive case-insensitive lookup function used by n.findCaseInsensitivePath+func (n *node) findCaseInsensitivePathRec(path, loPath string, ciPath []byte, rb [4]byte, fixTrailingSlash bool) ([]byte, bool) {+ loNPath := strings.ToLower(n.path)++walk: // outer loop for walking the tree+ for len(loPath) >= len(loNPath) && (len(loNPath) == 0 || loPath[1:len(loNPath)] == loNPath[1:]) {+ // add common path to resultciPath = append(ciPath, n.path...)- if len(path) > 0 {+ if path = path[len(n.path):]; len(path) > 0 {+ loOld := loPath+ loPath = loPath[len(loNPath):]+// If this node does not have a wildcard (param or catchAll) child,// we can just look up the next child node and continue to walk down// the treeif !n.wildChild {- r := unicode.ToLower(rune(path[0]))- for i, index := range n.indices {- // must use recursive approach since both index and- // ToLower(index) could exist. We must check both.- if r == unicode.ToLower(index) {- out, found := n.children[i].findCaseInsensitivePath(path, fixTrailingSlash)- if found {- return append(ciPath, out...), true+ // skip rune bytes already processed+ rb = shiftNRuneBytes(rb, len(loNPath))++ if rb[0] != 0 {+ // old rune not finished+ for i := 0; i < len(n.indices); i++ {+ if n.indices[i] == rb[0] {+ // continue with child node+ n = n.children[i]+ loNPath = strings.ToLower(n.path)+ continue walk+ }+ }+ } else {+ // process a new rune+ var rv rune++ // find rune start+ // runes are up to 4 byte long,+ // -4 would definitely be another rune+ var off int+ for max := min(len(loNPath), 3); off < max; off++ {+ if i := len(loNPath) - off; utf8.RuneStart(loOld[i]) {+ // read rune from cached lowercase path+ rv, _ = utf8.DecodeRuneInString(loOld[i:])+ break+ }+ }++ // calculate lowercase bytes of current rune+ utf8.EncodeRune(rb[:], rv)+ // skipp already processed bytes+ rb = shiftNRuneBytes(rb, off)++ for i := 0; i < len(n.indices); i++ {+ // lowercase matches+ if n.indices[i] == rb[0] {+ // must use a recursive approach since both the+ // uppercase byte and the lowercase byte might exist+ // as an index+ if out, found := n.children[i].findCaseInsensitivePathRec(+ path, loPath, ciPath, rb, fixTrailingSlash,+ ); found {+ return out, true+ }+ break+ }+ }++ // same for uppercase rune, if it differs+ if up := unicode.ToUpper(rv); up != rv {+ utf8.EncodeRune(rb[:], up)+ rb = shiftNRuneBytes(rb, off)++ for i := 0; i < len(n.indices); i++ {+ // uppercase matches+ if n.indices[i] == rb[0] {+ // continue with child node+ n = n.children[i]+ loNPath = strings.ToLower(n.path)+ continue walk+ }}}}// Nothing found. We can recommend to redirect to the same URL// without a trailing slash if a leaf exists for that path- found = (fixTrailingSlash && path == "/" && n.handle != nil)- return+ return ciPath, (fixTrailingSlash && path == "/" && n.handle != nil)}n = n.children[0]@@ -484,8 +583,11 @@ func (n *node) findCaseInsensitivePath(path string, fixTrailingSlash bool) (ciPa// we need to go deeper!if k < len(path) {if len(n.children) > 0 {- path = path[k:]+ // continue with child noden = n.children[0]+ loNPath = strings.ToLower(n.path)+ loPath = loPath[k:]+ path = path[k:]continue}@@ -493,7 +595,7 @@ func (n *node) findCaseInsensitivePath(path string, fixTrailingSlash bool) (ciPaif fixTrailingSlash && len(path) == k+1 {return ciPath, true}- return+ return ciPath, false}if n.handle != nil {@@ -506,7 +608,7 @@ func (n *node) findCaseInsensitivePath(path string, fixTrailingSlash bool) (ciPareturn append(ciPath, '/'), true}}- return+ return ciPath, falsecase catchAll:return append(ciPath, path...), true@@ -531,11 +633,11 @@ func (n *node) findCaseInsensitivePath(path string, fixTrailingSlash bool) (ciPa(n.nType == catchAll && n.children[0].handle != nil) {return append(ciPath, '/'), true}- return+ return ciPath, false}}}- return+ return ciPath, false}}@@ -545,11 +647,10 @@ func (n *node) findCaseInsensitivePath(path string, fixTrailingSlash bool) (ciPaif path == "/" {return ciPath, true}- if len(path)+1 == len(n.path) && n.path[len(path)] == '/' &&- strings.ToLower(path) == strings.ToLower(n.path[:len(path)]) &&- n.handle != nil {+ if len(loPath)+1 == len(loNPath) && loNPath[len(loPath)] == '/' &&+ loPath[1:] == loNPath[1:len(loPath)] && n.handle != nil {return append(ciPath, n.path...), true}}- return+ return ciPath, false}diff --git a/vendor/github.com/julienschmidt/httprouter/tree_test.go b/vendor/github.com/julienschmidt/httprouter/tree_test.goindex 64f26d1a3..e89d94529 100644--- a/vendor/github.com/julienschmidt/httprouter/tree_test.go+++ b/vendor/github.com/julienschmidt/httprouter/tree_test.go@@ -8,6 +8,7 @@ import ("fmt""net/http""reflect"+ "regexp""strings""testing")@@ -22,7 +23,7 @@ func printChildren(n *node, prefix string) {}}-// Used as a workaround since we can't compare functions or their adresses+// Used as a workaround since we can't compare functions or their addressesvar fakeHandlerValue stringfunc fakeHandler(val string) Handle {@@ -89,7 +90,7 @@ func checkMaxParams(t *testing.T, n *node) uint8 {maxParams = params}}- if n.nType != static && !n.wildChild {+ if n.nType > root && !n.wildChild {maxParams++}@@ -394,6 +395,9 @@ func TestTreeTrailingSlashRedirect(t *testing.T) {"/1/:id/2","/aa","/a/",+ "/admin",+ "/admin/:category",+ "/admin/:category/:page","/doc","/doc/go_faq.html","/doc/go1.html",@@ -423,6 +427,9 @@ func TestTreeTrailingSlashRedirect(t *testing.T) {"/0/go/","/1/go","/a",+ "/admin/",+ "/admin/config/",+ "/admin/config/permissions/","/doc/",}for _, route := range tsrRoutes {@@ -452,6 +459,24 @@ func TestTreeTrailingSlashRedirect(t *testing.T) {}}+func TestTreeRootTrailingSlashRedirect(t *testing.T) {+ tree := &node{}++ recv := catchPanic(func() {+ tree.addRoute("/:test", fakeHandler("/:test"))+ })+ if recv != nil {+ t.Fatalf("panic inserting test route: %v", recv)+ }++ handler, _, tsr := tree.getValue("/")+ if handler != nil {+ t.Fatalf("non-nil handler")+ } else if tsr {+ t.Errorf("expected no TSR recommendation")+ }+}+func TestTreeFindCaseInsensitivePath(t *testing.T) {tree := &node{}@@ -478,6 +503,16 @@ func TestTreeFindCaseInsensitivePath(t *testing.T) {"/doc/go/away","/no/a","/no/b",+ "/Π",+ "/u/apfêl/",+ "/u/äpfêl/",+ "/u/öpfêl",+ "/v/Äpfêl/",+ "/v/Öpfêl",+ "/w/♬", // 3 byte+ "/w/♭/", // 3 byte, last byte differs+ "/w/𠜎", // 4 byte+ "/w/𠜏/", // 4 byte}for _, route := range routes {@@ -556,6 +591,20 @@ func TestTreeFindCaseInsensitivePath(t *testing.T) {{"/DOC/", "/doc", true, true},{"/NO", "", false, true},{"/DOC/GO", "", false, true},+ {"/π", "/Π", true, false},+ {"/π/", "/Π", true, true},+ {"/u/ÄPFÊL/", "/u/äpfêl/", true, false},+ {"/u/ÄPFÊL", "/u/äpfêl/", true, true},+ {"/u/ÖPFÊL/", "/u/öpfêl", true, true},+ {"/u/ÖPFÊL", "/u/öpfêl", true, false},+ {"/v/äpfêL/", "/v/Äpfêl/", true, false},+ {"/v/äpfêL", "/v/Äpfêl/", true, true},+ {"/v/öpfêL/", "/v/Öpfêl", true, true},+ {"/v/öpfêL", "/v/Öpfêl", true, false},+ {"/w/♬/", "/w/♬", true, true},+ {"/w/♭", "/w/♭/", true, true},+ {"/w/𠜎/", "/w/𠜎", true, true},+ {"/w/𠜏", "/w/𠜏/", true, true},}// With fixTrailingSlash = truefor _, test := range tests {@@ -609,3 +658,42 @@ func TestTreeInvalidNodeType(t *testing.T) {t.Fatalf("Expected panic '"+panicMsg+"', got '%v'", recv)}}++func TestTreeWildcardConflictEx(t *testing.T) {+ conflicts := [...]struct {+ route string+ segPath string+ existPath string+ existSegPath string+ }{+ {"/who/are/foo", "/foo", `/who/are/\*you`, `/\*you`},+ {"/who/are/foo/", "/foo/", `/who/are/\*you`, `/\*you`},+ {"/who/are/foo/bar", "/foo/bar", `/who/are/\*you`, `/\*you`},+ {"/conxxx", "xxx", `/con:tact`, `:tact`},+ {"/conooo/xxx", "ooo", `/con:tact`, `:tact`},+ }++ for _, conflict := range conflicts {+ // I have to re-create a 'tree', because the 'tree' will be+ // in an inconsistent state when the loop recovers from the+ // panic which threw by 'addRoute' function.+ tree := &node{}+ routes := [...]string{+ "/con:tact",+ "/who/are/*you",+ "/who/foo/hello",+ }++ for _, route := range routes {+ tree.addRoute(route, fakeHandler(route))+ }++ recv := catchPanic(func() {+ tree.addRoute(conflict.route, fakeHandler(conflict.route))+ })++ if !regexp.MustCompile(fmt.Sprintf("'%s' in new path .* conflicts with existing wildcard '%s' in existing prefix '%s'", conflict.segPath, conflict.existSegPath, conflict.existPath)).MatchString(fmt.Sprint(recv)) {+ t.Fatalf("invalid wildcard conflict error (%v)", recv)+ }+ }+}diff --git a/vendor/github.com/lib/pq/.travis.sh b/vendor/github.com/lib/pq/.travis.shindex ebf447030..ead01df73 100755--- a/vendor/github.com/lib/pq/.travis.sh+++ b/vendor/github.com/lib/pq/.travis.sh@@ -70,4 +70,29 @@ postgresql_uninstall() {sudo rm -rf /var/lib/postgresql}+megacheck_install() {+ # Megacheck is Go 1.6+, so skip if Go 1.5.+ if [[ "$(go version)" =~ "go1.5" ]]+ then+ echo "megacheck not supported, skipping installation"+ return 0+ fi+ # Lock megacheck version at $MEGACHECK_VERSION to prevent spontaneous+ # new error messages in old code.+ go get -d honnef.co/go/tools/...+ git -C $GOPATH/src/honnef.co/go/tools/ checkout $MEGACHECK_VERSION+ go install honnef.co/go/tools/cmd/megacheck+ megacheck --version+}++golint_install() {+ # Golint is Go 1.6+, so skip if Go 1.5.+ if [[ "$(go version)" =~ "go1.5" ]]+ then+ echo "golint not supported, skipping installation"+ return 0+ fi+ go get github.com/golang/lint/golint+}+$1diff --git a/vendor/github.com/lib/pq/.travis.yml b/vendor/github.com/lib/pq/.travis.ymlindex 452515c66..79c59a81d 100644--- a/vendor/github.com/lib/pq/.travis.yml+++ b/vendor/github.com/lib/pq/.travis.yml@@ -1,7 +1,6 @@language: gogo:- - 1.5.x- 1.6.x- 1.7.x- 1.8.x@@ -16,7 +15,9 @@ env:- PQGOSSLTESTS=1- PQSSLCERTTEST_PATH=$PWD/certs- PGHOST=127.0.0.1+ - MEGACHECK_VERSION=2017.2.1matrix:+ - PGVERSION=10- PGVERSION=9.6- PGVERSION=9.5- PGVERSION=9.4@@ -31,6 +32,8 @@ before_install:- ./.travis.sh postgresql_install- ./.travis.sh postgresql_configure- ./.travis.sh client_configure+ - ./.travis.sh megacheck_install+ - ./.travis.sh golint_install- go get golang.org/x/tools/cmd/goimportsbefore_script:@@ -42,5 +45,13 @@ script:- >goimports -d -e $(find -name '*.go') | awk '{ print } END { exit NR == 0 ? 0 : 1 }'- go vet ./...+ # For compatibility with Go 1.5, launch only if megacheck is present.+ - >+ which megacheck > /dev/null && megacheck -go 1.5 ./...+ || echo 'megacheck is not supported, skipping check'+ # For compatibility with Go 1.5, launch only if golint is present.+ - >+ which golint > /dev/null && golint ./...+ || echo 'golint is not supported, skipping check'- PQTEST_BINARY_PARAMETERS=no go test -race -v ./...- PQTEST_BINARY_PARAMETERS=yes go test -race -v ./...diff --git a/vendor/github.com/lib/pq/README.md b/vendor/github.com/lib/pq/README.mdindex 7670fc87a..781c89eea 100644--- a/vendor/github.com/lib/pq/README.md+++ b/vendor/github.com/lib/pq/README.md@@ -1,5 +1,6 @@# pq - A pure Go postgres driver for Go's database/sql package+[](https://godoc.org/github.com/lib/pq)[](https://travis-ci.org/lib/pq)## Installdiff --git a/vendor/github.com/lib/pq/array_test.go b/vendor/github.com/lib/pq/array_test.goindex 10b843184..f724bcd88 100644--- a/vendor/github.com/lib/pq/array_test.go+++ b/vendor/github.com/lib/pq/array_test.go@@ -89,9 +89,7 @@ func TestParseArrayError(t *testing.T) {}func TestArrayScanner(t *testing.T) {- var s sql.Scanner-- s = Array(&[]bool{})+ var s sql.Scanner = Array(&[]bool{})if _, ok := s.(*BoolArray); !ok {t.Errorf("Expected *BoolArray, got %T", s)}@@ -126,9 +124,7 @@ func TestArrayScanner(t *testing.T) {}func TestArrayValuer(t *testing.T) {- var v driver.Valuer-- v = Array([]bool{})+ var v driver.Valuer = Array([]bool{})if _, ok := v.(*BoolArray); !ok {t.Errorf("Expected *BoolArray, got %T", v)}@@ -1193,9 +1189,7 @@ func TestGenericArrayValue(t *testing.T) {}func TestGenericArrayValueErrors(t *testing.T) {- var v []interface{}-- v = []interface{}{func() {}}+ v := []interface{}{func() {}}if _, err := (GenericArray{v}).Value(); err == nil {t.Errorf("Expected error for %q, got nil", v)}diff --git a/vendor/github.com/lib/pq/conn.go b/vendor/github.com/lib/pq/conn.goindex 338a0bc18..de6e5c17c 100644--- a/vendor/github.com/lib/pq/conn.go+++ b/vendor/github.com/lib/pq/conn.go@@ -35,8 +35,12 @@ var (errNoLastInsertID = errors.New("no LastInsertId available after the empty statement"))+// Driver is the Postgres database driver.type Driver struct{}+// Open opens a new connection to the database. name is a connection string.+// Most users should only use it through database/sql package from the standard+// library.func (d *Driver) Open(name string) (driver.Conn, error) {return Open(name)}@@ -78,6 +82,8 @@ func (s transactionStatus) String() string {panic("not reached")}+// Dialer is the dialer interface. It can be used to obtain more control over+// how pq creates network connections.type Dialer interface {Dial(network, address string) (net.Conn, error)DialTimeout(network, address string, timeout time.Duration) (net.Conn, error)@@ -149,11 +155,7 @@ func (cn *conn) handleDriverSettings(o values) (err error) {if err != nil {return err}- err = boolSetting("binary_parameters", &cn.binaryParameters)- if err != nil {- return err- }- return nil+ return boolSetting("binary_parameters", &cn.binaryParameters)}func (cn *conn) handlePgpass(o values) {@@ -165,11 +167,16 @@ func (cn *conn) handlePgpass(o values) {if filename == "" {// XXX this code doesn't work on Windows where the default filename is// XXX %APPDATA%\postgresql\pgpass.conf- user, err := user.Current()- if err != nil {- return+ // Prefer $HOME over user.Current due to glibc bug: golang.org/issue/13470+ userHome := os.Getenv("HOME")+ if userHome == "" {+ user, err := user.Current()+ if err != nil {+ return+ }+ userHome = user.HomeDir}- filename = filepath.Join(user.HomeDir, ".pgpass")+ filename = filepath.Join(userHome, ".pgpass")}fileinfo, err := os.Stat(filename)if err != nil {@@ -237,10 +244,14 @@ func (cn *conn) writeBuf(b byte) *writeBuf {}}+// Open opens a new connection to the database. name is a connection string.+// Most users should only use it through database/sql package from the standard+// library.func Open(name string) (_ driver.Conn, err error) {return DialOpen(defaultDialer{}, name)}+// DialOpen opens a new connection to the database using a dialer.func DialOpen(d Dialer, name string) (_ driver.Conn, err error) {// Handle any panics during connection initialization. Note that we// specifically do *not* want to use errRecover(), as that would turn any@@ -328,6 +339,15 @@ func DialOpen(d Dialer, name string) (_ driver.Conn, err error) {if err != nil {return nil, err}++ // cn.ssl and cn.startup panic on error. Make sure we don't leak cn.c.+ panicking := true+ defer func() {+ if panicking {+ cn.c.Close()+ }+ }()+cn.ssl(o)cn.buf = bufio.NewReader(cn.c)cn.startup(o)@@ -336,6 +356,7 @@ func DialOpen(d Dialer, name string) (_ driver.Conn, err error) {if timeout, ok := o["connect_timeout"]; ok && timeout != "0" {err = cn.c.SetDeadline(time.Time{})}+ panicking = falsereturn cn, err}@@ -1431,7 +1452,8 @@ func (rs *rows) NextResultSet() error {//// tblname := "my_table"// data := "my_data"-// err = db.Exec(fmt.Sprintf("INSERT INTO %s VALUES ($1)", pq.QuoteIdentifier(tblname)), data)+// quoted := pq.QuoteIdentifier(tblname)+// err := db.Exec(fmt.Sprintf("INSERT INTO %s VALUES ($1)", quoted), data)//// Any double quotes in name will be escaped. The quoted identifier will be// case sensitive when used in a query. If the input string contains a zerodiff --git a/vendor/github.com/lib/pq/conn_test.go b/vendor/github.com/lib/pq/conn_test.goindex d3c01f343..7c0f30eb7 100644--- a/vendor/github.com/lib/pq/conn_test.go+++ b/vendor/github.com/lib/pq/conn_test.go@@ -28,7 +28,7 @@ func forceBinaryParameters() bool {}}-func openTestConnConninfo(conninfo string) (*sql.DB, error) {+func testConninfo(conninfo string) string {defaultTo := func(envvar string, value string) {if os.Getenv(envvar) == "" {os.Setenv(envvar, value)@@ -43,8 +43,11 @@ func openTestConnConninfo(conninfo string) (*sql.DB, error) {!strings.HasPrefix(conninfo, "postgresql://") {conninfo = conninfo + " binary_parameters=yes"}+ return conninfo+}- return sql.Open("postgres", conninfo)+func openTestConnConninfo(conninfo string) (*sql.DB, error) {+ return sql.Open("postgres", testConninfo(conninfo))}func openTestConn(t Fatalistic) *sql.DB {@@ -637,6 +640,57 @@ func TestErrorDuringStartup(t *testing.T) {}}+type testConn struct {+ closed bool+ net.Conn+}++func (c *testConn) Close() error {+ c.closed = true+ return c.Conn.Close()+}++type testDialer struct {+ conns []*testConn+}++func (d *testDialer) Dial(ntw, addr string) (net.Conn, error) {+ c, err := net.Dial(ntw, addr)+ if err != nil {+ return nil, err+ }+ tc := &testConn{Conn: c}+ d.conns = append(d.conns, tc)+ return tc, nil+}++func (d *testDialer) DialTimeout(ntw, addr string, timeout time.Duration) (net.Conn, error) {+ c, err := net.DialTimeout(ntw, addr, timeout)+ if err != nil {+ return nil, err+ }+ tc := &testConn{Conn: c}+ d.conns = append(d.conns, tc)+ return tc, nil+}++func TestErrorDuringStartupClosesConn(t *testing.T) {+ // Don't use the normal connection setup, this is intended to+ // blow up in the startup packet from a non-existent user.+ var d testDialer+ c, err := DialOpen(&d, testConninfo("user=thisuserreallydoesntexist"))+ if err == nil {+ c.Close()+ t.Fatal("expected dial error")+ }+ if len(d.conns) != 1 {+ t.Fatalf("got len(d.conns) = %d, want = %d", len(d.conns), 1)+ }+ if !d.conns[0].closed {+ t.Error("connection leaked")+ }+}+func TestBadConn(t *testing.T) {var err error@@ -935,12 +989,14 @@ func TestParseErrorInExtendedQuery(t *testing.T) {db := openTestConn(t)defer db.Close()- rows, err := db.Query("PARSE_ERROR $1", 1)- if err == nil {- t.Fatal("expected error")+ _, err := db.Query("PARSE_ERROR $1", 1)+ pqErr, _ := err.(*Error)+ // Expecting a syntax error.+ if err == nil || pqErr == nil || pqErr.Code != "42601" {+ t.Fatalf("expected syntax error, got %s", err)}- rows, err = db.Query("SELECT 1")+ rows, err := db.Query("SELECT 1")if err != nil {t.Fatal(err)}@@ -1205,16 +1261,11 @@ func TestParseComplete(t *testing.T) {tpc("SELECT foo", "", 0, true) // invalid row count}-func TestExecerInterface(t *testing.T) {- // Gin up a straw man private struct just for the type check- cn := &conn{c: nil}- var cni interface{} = cn-- _, ok := cni.(driver.Execer)- if !ok {- t.Fatal("Driver doesn't implement Execer")- }-}+// Test interface conformance.+var (+ _ driver.Execer = (*conn)(nil)+ _ driver.Queryer = (*conn)(nil)+)func TestNullAfterNonNull(t *testing.T) {db := openTestConn(t)@@ -1392,36 +1443,29 @@ func TestParseOpts(t *testing.T) {}func TestRuntimeParameters(t *testing.T) {- type RuntimeTestResult int- const (- ResultUnknown RuntimeTestResult = iota- ResultSuccess- ResultError // other error- )-tests := []struct {- conninfo string- param string- expected string- expectedOutcome RuntimeTestResult+ conninfo string+ param string+ expected string+ success bool}{// invalid parameter- {"DOESNOTEXIST=foo", "", "", ResultError},+ {"DOESNOTEXIST=foo", "", "", false},// we can only work with a specific value for these two- {"client_encoding=SQL_ASCII", "", "", ResultError},- {"datestyle='ISO, YDM'", "", "", ResultError},+ {"client_encoding=SQL_ASCII", "", "", false},+ {"datestyle='ISO, YDM'", "", "", false},// "options" should work exactly as it does in libpq- {"options='-c search_path=pqgotest'", "search_path", "pqgotest", ResultSuccess},+ {"options='-c search_path=pqgotest'", "search_path", "pqgotest", true},// pq should override client_encoding in this case- {"options='-c client_encoding=SQL_ASCII'", "client_encoding", "UTF8", ResultSuccess},+ {"options='-c client_encoding=SQL_ASCII'", "client_encoding", "UTF8", true},// allow client_encoding to be set explicitly- {"client_encoding=UTF8", "client_encoding", "UTF8", ResultSuccess},+ {"client_encoding=UTF8", "client_encoding", "UTF8", true},// test a runtime parameter not supported by libpq- {"work_mem='139kB'", "work_mem", "139kB", ResultSuccess},+ {"work_mem='139kB'", "work_mem", "139kB", true},// test fallback_application_name- {"application_name=foo fallback_application_name=bar", "application_name", "foo", ResultSuccess},- {"application_name='' fallback_application_name=bar", "application_name", "", ResultSuccess},- {"fallback_application_name=bar", "application_name", "bar", ResultSuccess},+ {"application_name=foo fallback_application_name=bar", "application_name", "foo", true},+ {"application_name='' fallback_application_name=bar", "application_name", "", true},+ {"fallback_application_name=bar", "application_name", "bar", true},}for _, test := range tests {@@ -1436,23 +1480,23 @@ func TestRuntimeParameters(t *testing.T) {continue}- tryGetParameterValue := func() (value string, outcome RuntimeTestResult) {+ tryGetParameterValue := func() (value string, success bool) {defer db.Close()row := db.QueryRow("SELECT current_setting($1)", test.param)err = row.Scan(&value)if err != nil {- return "", ResultError+ return "", false}- return value, ResultSuccess+ return value, true}- value, outcome := tryGetParameterValue()- if outcome != test.expectedOutcome && outcome == ResultError {+ value, success := tryGetParameterValue()+ if success != test.success && !test.success {t.Fatalf("%v: unexpected error: %v", test.conninfo, err)}- if outcome != test.expectedOutcome {+ if success != test.success {t.Fatalf("unexpected outcome %v (was expecting %v) for conninfo \"%s\"",- outcome, test.expectedOutcome, test.conninfo)+ success, test.success, test.conninfo)}if value != test.expected {t.Fatalf("bad value for %s: got %s, want %s with conninfo \"%s\"",diff --git a/vendor/github.com/lib/pq/copy_test.go b/vendor/github.com/lib/pq/copy_test.goindex 86745b38f..c1a3cd7fa 100644--- a/vendor/github.com/lib/pq/copy_test.go+++ b/vendor/github.com/lib/pq/copy_test.go@@ -9,8 +9,7 @@ import ()func TestCopyInStmt(t *testing.T) {- var stmt string- stmt = CopyIn("table name")+ stmt := CopyIn("table name")if stmt != `COPY "table name" () FROM STDIN` {t.Fatal(stmt)}@@ -27,8 +26,7 @@ func TestCopyInStmt(t *testing.T) {}func TestCopyInSchemaStmt(t *testing.T) {- var stmt string- stmt = CopyInSchema("schema name", "table name")+ stmt := CopyInSchema("schema name", "table name")if stmt != `COPY "schema name"."table name" () FROM STDIN` {t.Fatal(stmt)}@@ -226,7 +224,7 @@ func TestCopyInTypes(t *testing.T) {if text != "Héllö\n ☃!\r\t\\" {t.Fatal("unexpected result", text)}- if bytes.Compare(blob, []byte{0, 255, 9, 10, 13}) != 0 {+ if !bytes.Equal(blob, []byte{0, 255, 9, 10, 13}) {t.Fatal("unexpected result", blob)}if nothing.Valid {diff --git a/vendor/github.com/lib/pq/doc.go b/vendor/github.com/lib/pq/doc.goindex 6d252ecee..a1b029713 100644--- a/vendor/github.com/lib/pq/doc.go+++ b/vendor/github.com/lib/pq/doc.go@@ -11,7 +11,8 @@ using this package directly. For example:)func main() {- db, err := sql.Open("postgres", "user=pqgotest dbname=pqgotest sslmode=verify-full")+ connStr := "user=pqgotest dbname=pqgotest sslmode=verify-full"+ db, err := sql.Open("postgres", connStr)if err != nil {log.Fatal(err)}@@ -23,7 +24,8 @@ using this package directly. For example:You can also connect to a database using a URL. For example:- db, err := sql.Open("postgres", "postgres://pqgotest:password@localhost/pqgotest?sslmode=verify-full")+ connStr := "postgres://pqgotest:password@localhost/pqgotest?sslmode=verify-full"+ db, err := sql.Open("postgres", connStr)Connection String Parameters@@ -43,21 +45,28 @@ supported:* dbname - The name of the database to connect to* user - The user to sign in as* password - The user's password- * host - The host to connect to. Values that start with / are for unix domain sockets. (default is localhost)+ * host - The host to connect to. Values that start with / are for unix+ domain sockets. (default is localhost)* port - The port to bind to. (default is 5432)- * sslmode - Whether or not to use SSL (default is require, this is not the default for libpq)+ * sslmode - Whether or not to use SSL (default is require, this is not+ the default for libpq)* fallback_application_name - An application_name to fall back to if one isn't provided.- * connect_timeout - Maximum wait for connection, in seconds. Zero or not specified means wait indefinitely.+ * connect_timeout - Maximum wait for connection, in seconds. Zero or+ not specified means wait indefinitely.* sslcert - Cert file location. The file must contain PEM encoded data.* sslkey - Key file location. The file must contain PEM encoded data.- * sslrootcert - The location of the root certificate file. The file must contain PEM encoded data.+ * sslrootcert - The location of the root certificate file. The file+ must contain PEM encoded data.Valid values for sslmode are:* disable - No SSL* require - Always SSL (skip verification)- * verify-ca - Always SSL (verify that the certificate presented by the server was signed by a trusted CA)- * verify-full - Always SSL (verify that the certification presented by the server was signed by a trusted CA and the server host name matches the one in the certificate)+ * verify-ca - Always SSL (verify that the certificate presented by the+ server was signed by a trusted CA)+ * verify-full - Always SSL (verify that the certification presented by+ the server was signed by a trusted CA and the server host name+ matches the one in the certificate)See http://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-CONNSTRINGfor more information about connection string parameters.@@ -68,7 +77,7 @@ Use single quotes for values that contain whitespace:A backslash will escape the next character in values:- "user=space\ man password='it\'s valid'+ "user=space\ man password='it\'s valid'"Note that the connection parameter client_encoding (which sets thetext encoding for the connection) may be set but must be "UTF8",@@ -129,7 +138,8 @@ This package returns the following types for values from the PostgreSQL backend:- integer types smallint, integer, and bigint are returned as int64- floating-point types real and double precision are returned as float64- character types char, varchar, and text are returned as string- - temporal types date, time, timetz, timestamp, and timestamptz are returned as time.Time+ - temporal types date, time, timetz, timestamp, and timestamptz are+ returned as time.Time- the boolean type is returned as bool- the bytea type is returned as []byte@@ -229,7 +239,7 @@ for more information). Note that the channel name will be truncated to 63bytes by the PostgreSQL server.You can find a complete, working example of Listener usage at-http://godoc.org/github.com/lib/pq/listen_example.+http://godoc.org/github.com/lib/pq/example/listen.*/package pqdiff --git a/vendor/github.com/lib/pq/encode.go b/vendor/github.com/lib/pq/encode.goindex 88a322cda..3b0d365f2 100644--- a/vendor/github.com/lib/pq/encode.go+++ b/vendor/github.com/lib/pq/encode.go@@ -367,8 +367,15 @@ func ParseTimestamp(currentLocation *time.Location, str string) (time.Time, errotimeSep := daySep + 3day := p.mustAtoi(str, daySep+1, timeSep)+ minLen := monSep + len("01-01") + 1++ isBC := strings.HasSuffix(str, " BC")+ if isBC {+ minLen += 3+ }+var hour, minute, second int- if len(str) > monSep+len("01-01")+1 {+ if len(str) > minLen {p.expect(str, ' ', timeSep)minSep := timeSep + 3p.expect(str, ':', minSep)@@ -424,7 +431,8 @@ func ParseTimestamp(currentLocation *time.Location, str string) (time.Time, errotzOff = tzSign * ((tzHours * 60 * 60) + (tzMin * 60) + tzSec)}var isoYear int- if remainderIdx+3 <= len(str) && str[remainderIdx:remainderIdx+3] == " BC" {++ if isBC {isoYear = 1 - yearremainderIdx += 3} else {diff --git a/vendor/github.com/lib/pq/encode_test.go b/vendor/github.com/lib/pq/encode_test.goindex 3a0f7286e..634a05c66 100644--- a/vendor/github.com/lib/pq/encode_test.go+++ b/vendor/github.com/lib/pq/encode_test.go@@ -37,6 +37,8 @@ var timeTests = []struct {}{{"22001-02-03", time.Date(22001, time.February, 3, 0, 0, 0, 0, time.FixedZone("", 0))},{"2001-02-03", time.Date(2001, time.February, 3, 0, 0, 0, 0, time.FixedZone("", 0))},+ {"0001-12-31 BC", time.Date(0, time.December, 31, 0, 0, 0, 0, time.FixedZone("", 0))},+ {"2001-02-03 BC", time.Date(-2000, time.February, 3, 0, 0, 0, 0, time.FixedZone("", 0))},{"2001-02-03 04:05:06", time.Date(2001, time.February, 3, 4, 5, 6, 0, time.FixedZone("", 0))},{"2001-02-03 04:05:06.000001", time.Date(2001, time.February, 3, 4, 5, 6, 1000, time.FixedZone("", 0))},{"2001-02-03 04:05:06.00001", time.Date(2001, time.February, 3, 4, 5, 6, 10000, time.FixedZone("", 0))},@@ -86,15 +88,22 @@ func TestParseTs(t *testing.T) {}var timeErrorTests = []string{+ "BC",+ " BC","2001","2001-2-03","2001-02-3","2001-02-03 ",+ "2001-02-03 B","2001-02-03 04","2001-02-03 04:","2001-02-03 04:05",+ "2001-02-03 04:05 B",+ "2001-02-03 04:05 BC","2001-02-03 04:05:","2001-02-03 04:05:6",+ "2001-02-03 04:05:06 B",+ "2001-02-03 04:05:06BC","2001-02-03 04:05:06.123 B",}@@ -258,9 +267,7 @@ func TestTimestampWithOutTimezone(t *testing.T) {t.Fatalf("Could not run query: %v", err)}- n := r.Next()-- if n != true {+ if !r.Next() {t.Fatal("Expected at least one row")}@@ -280,8 +287,7 @@ func TestTimestampWithOutTimezone(t *testing.T) {expected, result)}- n = r.Next()- if n != false {+ if r.Next() {t.Fatal("Expected only one row")}}@@ -722,8 +728,7 @@ func TestAppendEscapedText(t *testing.T) {}func TestAppendEscapedTextExistingBuffer(t *testing.T) {- var buf []byte- buf = []byte("123\t")+ buf := []byte("123\t")if esc := appendEscapedText(buf, "hallo\tescape"); string(esc) != "123\thallo\\tescape" {t.Fatal(string(esc))}diff --git a/vendor/github.com/lib/pq/error.go b/vendor/github.com/lib/pq/error.goindex b4bb44cee..6928d9670 100644--- a/vendor/github.com/lib/pq/error.go+++ b/vendor/github.com/lib/pq/error.go@@ -153,6 +153,7 @@ var errorCodeNames = map[ErrorCode]string{"22004": "null_value_not_allowed","22002": "null_value_no_indicator_parameter","22003": "numeric_value_out_of_range",+ "2200H": "sequence_generator_limit_exceeded","22026": "string_data_length_mismatch","22001": "string_data_right_truncation","22011": "substring_error",diff --git a/vendor/github.com/lib/pq/listen_example/doc.go b/vendor/github.com/lib/pq/example/listen/doc.gosimilarity index 90%rename from vendor/github.com/lib/pq/listen_example/doc.gorename to vendor/github.com/lib/pq/example/listen/doc.goindex 80f0a9b97..91e2ddbad 100644--- a/vendor/github.com/lib/pq/listen_example/doc.go+++ b/vendor/github.com/lib/pq/example/listen/doc.go@@ -1,6 +1,6 @@/*-Below you will find a self-contained Go program which uses the LISTEN / NOTIFY+Package listen is a self-contained Go program which uses the LISTEN / NOTIFYmechanism to avoid polling the database while waiting for more work to arrive.//@@ -77,7 +77,9 @@ mechanism to avoid polling the database while waiting for more work to arrive.}}- listener := pq.NewListener(conninfo, 10 * time.Second, time.Minute, reportProblem)+ minReconn := 10 * time.Second+ maxReconn := time.Minute+ listener := pq.NewListener(conninfo, minReconn, maxReconn, reportProblem)err = listener.Listen("getwork")if err != nil {panic(err)@@ -93,4 +95,4 @@ mechanism to avoid polling the database while waiting for more work to arrive.*/-package listen_example+package listendiff --git a/vendor/github.com/lib/pq/hstore/hstore.go b/vendor/github.com/lib/pq/hstore/hstore.goindex 72d5abf51..f1470db14 100644--- a/vendor/github.com/lib/pq/hstore/hstore.go+++ b/vendor/github.com/lib/pq/hstore/hstore.go@@ -6,7 +6,7 @@ import ("strings")-// A wrapper for transferring Hstore values back and forth easily.+// Hstore is a wrapper for transferring Hstore values back and forth easily.type Hstore struct {Map map[string]sql.NullString}diff --git a/vendor/github.com/lib/pq/notify.go b/vendor/github.com/lib/pq/notify.goindex 09f94244b..304e081fe 100644--- a/vendor/github.com/lib/pq/notify.go+++ b/vendor/github.com/lib/pq/notify.go@@ -60,7 +60,7 @@ type ListenerConn struct {replyChan chan message}-// Creates a new ListenerConn. Use NewListener instead.+// NewListenerConn creates a new ListenerConn. Use NewListener instead.func NewListenerConn(name string, notificationChan chan<- *Notification) (*ListenerConn, error) {return newDialListenerConn(defaultDialer{}, name, notificationChan)}@@ -214,17 +214,17 @@ func (l *ListenerConn) listenerConnMain() {// this ListenerConn is done}-// Send a LISTEN query to the server. See ExecSimpleQuery.+// Listen sends a LISTEN query to the server. See ExecSimpleQuery.func (l *ListenerConn) Listen(channel string) (bool, error) {return l.ExecSimpleQuery("LISTEN " + QuoteIdentifier(channel))}-// Send an UNLISTEN query to the server. See ExecSimpleQuery.+// Unlisten sends an UNLISTEN query to the server. See ExecSimpleQuery.func (l *ListenerConn) Unlisten(channel string) (bool, error) {return l.ExecSimpleQuery("UNLISTEN " + QuoteIdentifier(channel))}-// Send `UNLISTEN *` to the server. See ExecSimpleQuery.+// UnlistenAll sends an `UNLISTEN *` query to the server. See ExecSimpleQuery.func (l *ListenerConn) UnlistenAll() (bool, error) {return l.ExecSimpleQuery("UNLISTEN *")}@@ -267,8 +267,8 @@ func (l *ListenerConn) sendSimpleQuery(q string) (err error) {return nil}-// Execute a "simple query" (i.e. one with no bindable parameters) on the-// connection. The possible return values are:+// ExecSimpleQuery executes a "simple query" (i.e. one with no bindable+// parameters) on the connection. The possible return values are:// 1) "executed" is true; the query was executed to completion on the// database server. If the query failed, err will be set to the error// returned by the database, otherwise err will be nil.@@ -333,6 +333,7 @@ func (l *ListenerConn) ExecSimpleQuery(q string) (executed bool, err error) {}}+// Close closes the connection.func (l *ListenerConn) Close() error {l.connectionLock.Lock()if l.err != nil {@@ -346,7 +347,7 @@ func (l *ListenerConn) Close() error {return l.cn.c.Close()}-// Err() returns the reason the connection was closed. It is not safe to call+// Err returns the reason the connection was closed. It is not safe to call// this function until l.Notify has been closed.func (l *ListenerConn) Err() error {return l.err@@ -354,32 +355,43 @@ func (l *ListenerConn) Err() error {var errListenerClosed = errors.New("pq: Listener has been closed")+// ErrChannelAlreadyOpen is returned from Listen when a channel is already+// open.var ErrChannelAlreadyOpen = errors.New("pq: channel is already open")++// ErrChannelNotOpen is returned from Unlisten when a channel is not open.var ErrChannelNotOpen = errors.New("pq: channel is not open")+// ListenerEventType is an enumeration of listener event types.type ListenerEventType intconst (- // Emitted only when the database connection has been initially- // initialized. err will always be nil.+ // ListenerEventConnected is emitted only when the database connection+ // has been initially initialized. The err argument of the callback+ // will always be nil.ListenerEventConnected ListenerEventType = iota- // Emitted after a database connection has been lost, either because of an- // error or because Close has been called. err will be set to the reason- // the database connection was lost.+ // ListenerEventDisconnected is emitted after a database connection has+ // been lost, either because of an error or because Close has been+ // called. The err argument will be set to the reason the database+ // connection was lost.ListenerEventDisconnected- // Emitted after a database connection has been re-established after- // connection loss. err will always be nil. After this event has been- // emitted, a nil pq.Notification is sent on the Listener.Notify channel.+ // ListenerEventReconnected is emitted after a database connection has+ // been re-established after connection loss. The err argument of the+ // callback will always be nil. After this event has been emitted, a+ // nil pq.Notification is sent on the Listener.Notify channel.ListenerEventReconnected- // Emitted after a connection to the database was attempted, but failed.- // err will be set to an error describing why the connection attempt did- // not succeed.+ // ListenerEventConnectionAttemptFailed is emitted after a connection+ // to the database was attempted, but failed. The err argument will be+ // set to an error describing why the connection attempt did not+ // succeed.ListenerEventConnectionAttemptFailed)+// EventCallbackType is the event callback type. See also ListenerEventType+// constants' documentation.type EventCallbackType func(event ListenerEventType, err error)// Listener provides an interface for listening to notifications from a@@ -454,9 +466,9 @@ func NewDialListener(d Dialer,return l}-// Returns the notification channel for this listener. This is the same-// channel as Notify, and will not be recreated during the life time of the-// Listener.+// NotificationChannel returns the notification channel for this listener.+// This is the same channel as Notify, and will not be recreated during the+// life time of the Listener.func (l *Listener) NotificationChannel() <-chan *Notification {return l.Notify}@@ -625,7 +637,7 @@ func (l *Listener) disconnectCleanup() error {// after the connection has been established.func (l *Listener) resync(cn *ListenerConn, notificationChan <-chan *Notification) error {doneChan := make(chan error)- go func() {+ go func(notificationChan <-chan *Notification) {for channel := range l.channels {// If we got a response, return that error to our caller as it's// going to be more descriptive than cn.Err().@@ -639,14 +651,14 @@ func (l *Listener) resync(cn *ListenerConn, notificationChan <-chan *Notificatio// close and then return the error message from the connection, as// per ListenerConn's interface.if err != nil {- for _ = range notificationChan {+ for range notificationChan {}doneChan <- cn.Err()return}}doneChan <- nil- }()+ }(notificationChan)// Ignore notifications while synchronization is going on to avoid// deadlocks. We have to send a nil notification over Notify anyway asdiff --git a/vendor/github.com/lib/pq/notify_test.go b/vendor/github.com/lib/pq/notify_test.goindex 82a77e1eb..075666ddb 100644--- a/vendor/github.com/lib/pq/notify_test.go+++ b/vendor/github.com/lib/pq/notify_test.go@@ -123,6 +123,9 @@ func TestConnUnlisten(t *testing.T) {}_, err = db.Exec("NOTIFY notify_test")+ if err != nil {+ t.Fatal(err)+ }err = expectNotification(t, channel, "notify_test", "")if err != nil {@@ -159,6 +162,9 @@ func TestConnUnlistenAll(t *testing.T) {}_, err = db.Exec("NOTIFY notify_test")+ if err != nil {+ t.Fatal(err)+ }err = expectNotification(t, channel, "notify_test", "")if err != nil {