aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2018-07-16 09:02:08 +0200
committerRigel Kent <par@rigelk.eu>2018-07-17 12:03:31 +0200
commitd00e2393d4269c0b4e280753e5f82ac06bd218c6 (patch)
tree93b25f059422413e8d81beddec4d256228f6c687
parenta7dbc7dfc7a84b419a9b55d4a89e9a6e12384ae1 (diff)
downloadPeerTube-d00e2393d4269c0b4e280753e5f82ac06bd218c6.tar.gz
PeerTube-d00e2393d4269c0b4e280753e5f82ac06bd218c6.tar.zst
PeerTube-d00e2393d4269c0b4e280753e5f82ac06bd218c6.zip
selective route permission to use embeds with x-frame-deny
-rw-r--r--package.json1
-rw-r--r--server.ts8
-rw-r--r--server/controllers/client.ts10
-rw-r--r--yarn.lock168
4 files changed, 184 insertions, 3 deletions
diff --git a/package.json b/package.json
index 283cd22d7..f437caf26 100644
--- a/package.json
+++ b/package.json
@@ -96,6 +96,7 @@
96 "express-rate-limit": "^2.11.0", 96 "express-rate-limit": "^2.11.0",
97 "express-validator": "^5.0.0", 97 "express-validator": "^5.0.0",
98 "fluent-ffmpeg": "^2.1.0", 98 "fluent-ffmpeg": "^2.1.0",
99 "helmet": "^3.12.1",
99 "ipaddr.js": "https://github.com/whitequark/ipaddr.js.git#8e69afeb4053ee32447a101845f860848280eca5", 100 "ipaddr.js": "https://github.com/whitequark/ipaddr.js.git#8e69afeb4053ee32447a101845f860848280eca5",
100 "is-cidr": "^2.0.5", 101 "is-cidr": "^2.0.5",
101 "iso-639-3": "^1.0.1", 102 "iso-639-3": "^1.0.1",
diff --git a/server.ts b/server.ts
index a6052faed..26750802c 100644
--- a/server.ts
+++ b/server.ts
@@ -15,6 +15,7 @@ import * as express from 'express'
15import * as morgan from 'morgan' 15import * as morgan from 'morgan'
16import * as cors from 'cors' 16import * as cors from 'cors'
17import * as cookieParser from 'cookie-parser' 17import * as cookieParser from 'cookie-parser'
18import * as helmet from 'helmet'
18 19
19process.title = 'peertube' 20process.title = 'peertube'
20 21
@@ -48,6 +49,13 @@ if (errorMessage !== null) {
48// Trust our proxy (IP forwarding...) 49// Trust our proxy (IP forwarding...)
49app.set('trust proxy', CONFIG.TRUST_PROXY) 50app.set('trust proxy', CONFIG.TRUST_PROXY)
50 51
52// Security middlewares
53app.use(helmet({
54 frameguard: {
55 action: 'deny'
56 }
57}))
58
51// ----------- Database ----------- 59// ----------- Database -----------
52 60
53// Initialize database and models 61// Initialize database and models
diff --git a/server/controllers/client.ts b/server/controllers/client.ts
index bfdf35021..13ca15e9d 100644
--- a/server/controllers/client.ts
+++ b/server/controllers/client.ts
@@ -1,5 +1,6 @@
1import * as Bluebird from 'bluebird' 1import * as Bluebird from 'bluebird'
2import * as express from 'express' 2import * as express from 'express'
3import * as helmet from 'helmet'
3import { join } from 'path' 4import { join } from 'path'
4import * as validator from 'validator' 5import * as validator from 'validator'
5import { escapeHTML, readFileBufferPromise, root } from '../helpers/core-utils' 6import { escapeHTML, readFileBufferPromise, root } from '../helpers/core-utils'
@@ -30,9 +31,12 @@ clientsRouter.use('/videos/watch/:id',
30) 31)
31 32
32clientsRouter.use('' + 33clientsRouter.use('' +
33 '/videos/embed', (req: express.Request, res: express.Response, next: express.NextFunction) => { 34 '/videos/embed',
34 res.sendFile(embedPath) 35 (req: express.Request, res: express.Response, next: express.NextFunction) => {
35}) 36 res.removeHeader('X-Frame-Options')
37 res.sendFile(embedPath)
38 }
39)
36clientsRouter.use('' + 40clientsRouter.use('' +
37 '/videos/test-embed', (req: express.Request, res: express.Response, next: express.NextFunction) => { 41 '/videos/test-embed', (req: express.Request, res: express.Response, next: express.NextFunction) => {
38 res.sendFile(testEmbedPath) 42 res.sendFile(testEmbedPath)
diff --git a/yarn.lock b/yarn.lock
index bb3c6cf0c..4232c4236 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1065,6 +1065,10 @@ camelcase@^4.0.0, camelcase@^4.1.0:
1065 version "4.1.0" 1065 version "4.1.0"
1066 resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" 1066 resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd"
1067 1067
1068camelize@1.0.0:
1069 version "1.0.0"
1070 resolved "https://registry.yarnpkg.com/camelize/-/camelize-1.0.0.tgz#164a5483e630fa4321e5af07020e531831b2609b"
1071
1068capture-stack-trace@^1.0.0: 1072capture-stack-trace@^1.0.0:
1069 version "1.0.0" 1073 version "1.0.0"
1070 resolved "https://registry.yarnpkg.com/capture-stack-trace/-/capture-stack-trace-1.0.0.tgz#4a6fa07399c26bba47f0b2496b4d0fb408c5550d" 1074 resolved "https://registry.yarnpkg.com/capture-stack-trace/-/capture-stack-trace-1.0.0.tgz#4a6fa07399c26bba47f0b2496b4d0fb408c5550d"
@@ -1526,6 +1530,10 @@ content-disposition@0.5.2:
1526 version "0.5.2" 1530 version "0.5.2"
1527 resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.2.tgz#0cf68bb9ddf5f2be7961c3a85178cb85dba78cb4" 1531 resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.2.tgz#0cf68bb9ddf5f2be7961c3a85178cb85dba78cb4"
1528 1532
1533content-security-policy-builder@2.0.0:
1534 version "2.0.0"
1535 resolved "https://registry.yarnpkg.com/content-security-policy-builder/-/content-security-policy-builder-2.0.0.tgz#8749a1d542fcbe82237281ea9f716ce68b394dd2"
1536
1529content-type@~1.0.1, content-type@~1.0.4: 1537content-type@~1.0.1, content-type@~1.0.4:
1530 version "1.0.4" 1538 version "1.0.4"
1531 resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" 1539 resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b"
@@ -1676,6 +1684,10 @@ dashdash@^1.12.0:
1676 dependencies: 1684 dependencies:
1677 assert-plus "^1.0.0" 1685 assert-plus "^1.0.0"
1678 1686
1687dasherize@2.0.0:
1688 version "2.0.0"
1689 resolved "https://registry.yarnpkg.com/dasherize/-/dasherize-2.0.0.tgz#6d809c9cd0cf7bb8952d80fc84fa13d47ddb1308"
1690
1679date-fns@^1.23.0, date-fns@^1.27.2: 1691date-fns@^1.23.0, date-fns@^1.27.2:
1680 version "1.29.0" 1692 version "1.29.0"
1681 resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.29.0.tgz#12e609cdcb935127311d04d33334e2960a2a54e6" 1693 resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.29.0.tgz#12e609cdcb935127311d04d33334e2960a2a54e6"
@@ -1856,6 +1868,10 @@ diff@3.5.0, diff@^3.1.0, diff@^3.2.0:
1856 version "3.5.0" 1868 version "3.5.0"
1857 resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12" 1869 resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12"
1858 1870
1871dns-prefetch-control@0.1.0:
1872 version "0.1.0"
1873 resolved "https://registry.yarnpkg.com/dns-prefetch-control/-/dns-prefetch-control-0.1.0.tgz#60ddb457774e178f1f9415f0cabb0e85b0b300b2"
1874
1859doctrine@0.7.2: 1875doctrine@0.7.2:
1860 version "0.7.2" 1876 version "0.7.2"
1861 resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-0.7.2.tgz#7cb860359ba3be90e040b26b729ce4bfa654c523" 1877 resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-0.7.2.tgz#7cb860359ba3be90e040b26b729ce4bfa654c523"
@@ -1916,6 +1932,10 @@ domutils@1.5:
1916 dom-serializer "0" 1932 dom-serializer "0"
1917 domelementtype "1" 1933 domelementtype "1"
1918 1934
1935dont-sniff-mimetype@1.0.0:
1936 version "1.0.0"
1937 resolved "https://registry.yarnpkg.com/dont-sniff-mimetype/-/dont-sniff-mimetype-1.0.0.tgz#5932890dc9f4e2f19e5eb02a20026e5e5efc8f58"
1938
1919dot-prop@^4.1.0: 1939dot-prop@^4.1.0:
1920 version "4.2.0" 1940 version "4.2.0"
1921 resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-4.2.0.tgz#1f19e0c2e1aa0e32797c49799f2837ac6af69c57" 1941 resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-4.2.0.tgz#1f19e0c2e1aa0e32797c49799f2837ac6af69c57"
@@ -2294,6 +2314,10 @@ expand-template@^1.0.2:
2294 version "1.1.1" 2314 version "1.1.1"
2295 resolved "https://registry.yarnpkg.com/expand-template/-/expand-template-1.1.1.tgz#981f188c0c3a87d2e28f559bc541426ff94f21dd" 2315 resolved "https://registry.yarnpkg.com/expand-template/-/expand-template-1.1.1.tgz#981f188c0c3a87d2e28f559bc541426ff94f21dd"
2296 2316
2317expect-ct@0.1.1:
2318 version "0.1.1"
2319 resolved "https://registry.yarnpkg.com/expect-ct/-/expect-ct-0.1.1.tgz#de84476a2dbcb85000d5903737e9bc8a5ba7b897"
2320
2297express-oauth-server@^2.0.0: 2321express-oauth-server@^2.0.0:
2298 version "2.0.0" 2322 version "2.0.0"
2299 resolved "https://registry.yarnpkg.com/express-oauth-server/-/express-oauth-server-2.0.0.tgz#57b08665c1201532f52c4c02f19709238b99a48d" 2323 resolved "https://registry.yarnpkg.com/express-oauth-server/-/express-oauth-server-2.0.0.tgz#57b08665c1201532f52c4c02f19709238b99a48d"
@@ -2613,6 +2637,10 @@ fragment-cache@^0.2.1:
2613 dependencies: 2637 dependencies:
2614 map-cache "^0.2.2" 2638 map-cache "^0.2.2"
2615 2639
2640frameguard@3.0.0:
2641 version "3.0.0"
2642 resolved "https://registry.yarnpkg.com/frameguard/-/frameguard-3.0.0.tgz#7bcad469ee7b96e91d12ceb3959c78235a9272e9"
2643
2616fresh@0.3.0: 2644fresh@0.3.0:
2617 version "0.3.0" 2645 version "0.3.0"
2618 resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.3.0.tgz#651f838e22424e7566de161d8358caa199f83d4f" 2646 resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.3.0.tgz#651f838e22424e7566de161d8358caa199f83d4f"
@@ -2703,6 +2731,12 @@ gaze@^1.0.0, gaze@^1.1.0:
2703 dependencies: 2731 dependencies:
2704 globule "^1.0.0" 2732 globule "^1.0.0"
2705 2733
2734gaze@~0.5.1:
2735 version "0.5.2"
2736 resolved "https://registry.yarnpkg.com/gaze/-/gaze-0.5.2.tgz#40b709537d24d1d45767db5a908689dfe69ac44f"
2737 dependencies:
2738 globule "~0.1.0"
2739
2706generate-function@^2.0.0: 2740generate-function@^2.0.0:
2707 version "2.0.0" 2741 version "2.0.0"
2708 resolved "https://registry.yarnpkg.com/generate-function/-/generate-function-2.0.0.tgz#6858fe7c0969b7d4e9093337647ac79f60dfbe74" 2742 resolved "https://registry.yarnpkg.com/generate-function/-/generate-function-2.0.0.tgz#6858fe7c0969b7d4e9093337647ac79f60dfbe74"
@@ -2863,6 +2897,14 @@ globule@^1.0.0:
2863 lodash "~4.17.10" 2897 lodash "~4.17.10"
2864 minimatch "~3.0.2" 2898 minimatch "~3.0.2"
2865 2899
2900globule@~0.1.0:
2901 version "0.1.0"
2902 resolved "https://registry.yarnpkg.com/globule/-/globule-0.1.0.tgz#d9c8edde1da79d125a151b79533b978676346ae5"
2903 dependencies:
2904 glob "~3.1.21"
2905 lodash "~1.0.1"
2906 minimatch "~0.2.11"
2907
2866gonzales-pe-sl@^4.2.3: 2908gonzales-pe-sl@^4.2.3:
2867 version "4.2.3" 2909 version "4.2.3"
2868 resolved "https://registry.yarnpkg.com/gonzales-pe-sl/-/gonzales-pe-sl-4.2.3.tgz#6a868bc380645f141feeb042c6f97fcc71b59fe6" 2910 resolved "https://registry.yarnpkg.com/gonzales-pe-sl/-/gonzales-pe-sl-4.2.3.tgz#6a868bc380645f141feeb042c6f97fcc71b59fe6"
@@ -2889,6 +2931,10 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6:
2889 version "4.1.11" 2931 version "4.1.11"
2890 resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" 2932 resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"
2891 2933
2934graceful-fs@~1.2.0:
2935 version "1.2.3"
2936 resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-1.2.3.tgz#15a4806a57547cb2d2dbf27f42e89a8c3451b364"
2937
2892graceful-fs@~2.0.2: 2938graceful-fs@~2.0.2:
2893 version "2.0.3" 2939 version "2.0.3"
2894 resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-2.0.3.tgz#7cd2cdb228a4a3f36e95efa6cc142de7d1a136d0" 2940 resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-2.0.3.tgz#7cd2cdb228a4a3f36e95efa6cc142de7d1a136d0"
@@ -3107,6 +3153,15 @@ har-schema@^2.0.0:
3107 version "2.0.0" 3153 version "2.0.0"
3108 resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" 3154 resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92"
3109 3155
3156har-validator@~2.0.6:
3157 version "2.0.6"
3158 resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-2.0.6.tgz#cdcbc08188265ad119b6a5a7c8ab70eecfb5d27d"
3159 dependencies:
3160 chalk "^1.1.1"
3161 commander "^2.9.0"
3162 is-my-json-valid "^2.12.4"
3163 pinkie-promise "^2.0.0"
3164
3110har-validator@~4.2.1: 3165har-validator@~4.2.1:
3111 version "4.2.1" 3166 version "4.2.1"
3112 resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-4.2.1.tgz#33481d0f1bbff600dd203d75812a6a5fba002e2a" 3167 resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-4.2.1.tgz#33481d0f1bbff600dd203d75812a6a5fba002e2a"
@@ -3121,6 +3176,12 @@ har-validator@~5.0.3:
3121 ajv "^5.1.0" 3176 ajv "^5.1.0"
3122 har-schema "^2.0.0" 3177 har-schema "^2.0.0"
3123 3178
3179has-ansi@^0.1.0:
3180 version "0.1.0"
3181 resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-0.1.0.tgz#84f265aae8c0e6a88a12d7022894b7568894c62e"
3182 dependencies:
3183 ansi-regex "^0.2.0"
3184
3124has-ansi@^2.0.0: 3185has-ansi@^2.0.0:
3125 version "2.0.0" 3186 version "2.0.0"
3126 resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" 3187 resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91"
@@ -3202,12 +3263,43 @@ he@1.1.1:
3202 version "1.1.1" 3263 version "1.1.1"
3203 resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd" 3264 resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd"
3204 3265
3266helmet-csp@2.7.0:
3267 version "2.7.0"
3268 resolved "https://registry.yarnpkg.com/helmet-csp/-/helmet-csp-2.7.0.tgz#7934094617d1feb7bb2dc43bb7d9e8830f774716"
3269 dependencies:
3270 camelize "1.0.0"
3271 content-security-policy-builder "2.0.0"
3272 dasherize "2.0.0"
3273 lodash.reduce "4.6.0"
3274 platform "1.3.5"
3275
3276helmet@^3.12.1:
3277 version "3.12.1"
3278 resolved "https://registry.yarnpkg.com/helmet/-/helmet-3.12.1.tgz#8b05bbd60f3966d70f13dad0de2c1d6c1a8303f1"
3279 dependencies:
3280 dns-prefetch-control "0.1.0"
3281 dont-sniff-mimetype "1.0.0"
3282 expect-ct "0.1.1"
3283 frameguard "3.0.0"
3284 helmet-csp "2.7.0"
3285 hide-powered-by "1.0.0"
3286 hpkp "2.0.0"
3287 hsts "2.1.0"
3288 ienoopen "1.0.0"
3289 nocache "2.0.0"
3290 referrer-policy "1.1.0"
3291 x-xss-protection "1.1.0"
3292
3205hh-mm-ss@^1.2.0: 3293hh-mm-ss@^1.2.0:
3206 version "1.2.0" 3294 version "1.2.0"
3207 resolved "https://registry.yarnpkg.com/hh-mm-ss/-/hh-mm-ss-1.2.0.tgz#6d0f0b8280824a634cb1d1f20e0bc7bc8b689948" 3295 resolved "https://registry.yarnpkg.com/hh-mm-ss/-/hh-mm-ss-1.2.0.tgz#6d0f0b8280824a634cb1d1f20e0bc7bc8b689948"
3208 dependencies: 3296 dependencies:
3209 zero-fill "^2.2.3" 3297 zero-fill "^2.2.3"
3210 3298
3299hide-powered-by@1.0.0:
3300 version "1.0.0"
3301 resolved "https://registry.yarnpkg.com/hide-powered-by/-/hide-powered-by-1.0.0.tgz#4a85ad65881f62857fc70af7174a1184dccce32b"
3302
3211highlight.js@^9.1.0: 3303highlight.js@^9.1.0:
3212 version "9.12.0" 3304 version "9.12.0"
3213 resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.12.0.tgz#e6d9dbe57cbefe60751f02af336195870c90c01e" 3305 resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.12.0.tgz#e6d9dbe57cbefe60751f02af336195870c90c01e"
@@ -3243,6 +3335,16 @@ htmlparser2@~3.5.0:
3243 domutils "1.3" 3335 domutils "1.3"
3244 readable-stream "1.1" 3336 readable-stream "1.1"
3245 3337
3338htmlparser2@~3.8.1:
3339 version "3.8.3"
3340 resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-3.8.3.tgz#996c28b191516a8be86501a7d79757e5c70c1068"
3341 dependencies:
3342 domelementtype "1"
3343 domhandler "2.3"
3344 domutils "1.5"
3345 entities "1.0"
3346 readable-stream "1.1"
3347
3246http-basic@^2.5.1: 3348http-basic@^2.5.1:
3247 version "2.5.1" 3349 version "2.5.1"
3248 resolved "https://registry.yarnpkg.com/http-basic/-/http-basic-2.5.1.tgz#8ce447bdb5b6c577f8a63e3fa78056ec4bb4dbfb" 3350 resolved "https://registry.yarnpkg.com/http-basic/-/http-basic-2.5.1.tgz#8ce447bdb5b6c577f8a63e3fa78056ec4bb4dbfb"
@@ -3333,6 +3435,14 @@ iconv-lite@0.4.23, iconv-lite@^0.4.4, iconv-lite@~0.4.13:
3333 dependencies: 3435 dependencies:
3334 safer-buffer ">= 2.1.2 < 3" 3436 safer-buffer ">= 2.1.2 < 3"
3335 3437
3438iconv-lite@~0.2.11:
3439 version "0.2.11"
3440 resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.2.11.tgz#1ce60a3a57864a292d1321ff4609ca4bb965adc8"
3441
3442ienoopen@1.0.0:
3443 version "1.0.0"
3444 resolved "https://registry.yarnpkg.com/ienoopen/-/ienoopen-1.0.0.tgz#346a428f474aac8f50cf3784ea2d0f16f62bda6b"
3445
3336ignore-by-default@^1.0.1: 3446ignore-by-default@^1.0.1:
3337 version "1.0.1" 3447 version "1.0.1"
3338 resolved "https://registry.yarnpkg.com/ignore-by-default/-/ignore-by-default-1.0.1.tgz#48ca6d72f6c6a3af00a9ad4ae6876be3889e2b09" 3448 resolved "https://registry.yarnpkg.com/ignore-by-default/-/ignore-by-default-1.0.1.tgz#48ca6d72f6c6a3af00a9ad4ae6876be3889e2b09"
@@ -4308,6 +4418,10 @@ lodash.pick@^4.4.0:
4308 version "4.4.0" 4418 version "4.4.0"
4309 resolved "https://registry.yarnpkg.com/lodash.pick/-/lodash.pick-4.4.0.tgz#52f05610fff9ded422611441ed1fc123a03001b3" 4419 resolved "https://registry.yarnpkg.com/lodash.pick/-/lodash.pick-4.4.0.tgz#52f05610fff9ded422611441ed1fc123a03001b3"
4310 4420
4421lodash.reduce@4.6.0:
4422 version "4.6.0"
4423 resolved "https://registry.yarnpkg.com/lodash.reduce/-/lodash.reduce-4.6.0.tgz#f1ab6b839299ad48f784abbf476596f03b914d3b"
4424
4311lodash.restparam@^3.0.0: 4425lodash.restparam@^3.0.0:
4312 version "3.6.1" 4426 version "3.6.1"
4313 resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805" 4427 resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805"
@@ -4820,6 +4934,10 @@ next-tick@1:
4820 version "1.0.0" 4934 version "1.0.0"
4821 resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c" 4935 resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c"
4822 4936
4937nocache@2.0.0:
4938 version "2.0.0"
4939 resolved "https://registry.yarnpkg.com/nocache/-/nocache-2.0.0.tgz#202b48021a0c4cbde2df80de15a17443c8b43980"
4940
4823node-abi@^2.2.0: 4941node-abi@^2.2.0:
4824 version "2.4.3" 4942 version "2.4.3"
4825 resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-2.4.3.tgz#43666b7b17e57863e572409edbb82115ac7af28b" 4943 resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-2.4.3.tgz#43666b7b17e57863e572409edbb82115ac7af28b"
@@ -5670,6 +5788,14 @@ qs@6.5.2, qs@^6.1.0, qs@^6.4.0, qs@^6.5.1, qs@~6.5.1:
5670 version "6.5.2" 5788 version "6.5.2"
5671 resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" 5789 resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36"
5672 5790
5791qs@~0.5.2:
5792 version "0.5.6"
5793 resolved "https://registry.yarnpkg.com/qs/-/qs-0.5.6.tgz#31b1ad058567651c526921506b9a8793911a0384"
5794
5795qs@~6.3.0:
5796 version "6.3.2"
5797 resolved "https://registry.yarnpkg.com/qs/-/qs-6.3.2.tgz#e75bd5f6e268122a2a0e0bda630b2550c166502c"
5798
5673qs@~6.4.0: 5799qs@~6.4.0:
5674 version "6.4.0" 5800 version "6.4.0"
5675 resolved "https://registry.yarnpkg.com/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233" 5801 resolved "https://registry.yarnpkg.com/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233"
@@ -5881,6 +6007,10 @@ redis@^2.8.0:
5881 redis-commands "^1.2.0" 6007 redis-commands "^1.2.0"
5882 redis-parser "^2.6.0" 6008 redis-parser "^2.6.0"
5883 6009
6010referrer-policy@1.1.0:
6011 version "1.1.0"
6012 resolved "https://registry.yarnpkg.com/referrer-policy/-/referrer-policy-1.1.0.tgz#35774eb735bf50fb6c078e83334b472350207d79"
6013
5884reflect-metadata@^0.1.10: 6014reflect-metadata@^0.1.10:
5885 version "0.1.12" 6015 version "0.1.12"
5886 resolved "https://registry.yarnpkg.com/reflect-metadata/-/reflect-metadata-0.1.12.tgz#311bf0c6b63cd782f228a81abe146a2bfa9c56f2" 6016 resolved "https://registry.yarnpkg.com/reflect-metadata/-/reflect-metadata-0.1.12.tgz#311bf0c6b63cd782f228a81abe146a2bfa9c56f2"
@@ -6068,6 +6198,10 @@ rimraf@2, rimraf@2.x.x, rimraf@^2.2.8, rimraf@^2.4.2, rimraf@^2.5.1, rimraf@^2.5
6068 dependencies: 6198 dependencies:
6069 glob "^7.0.5" 6199 glob "^7.0.5"
6070 6200
6201rimraf@~2.2.8:
6202 version "2.2.8"
6203 resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.2.8.tgz#e439be2aaee327321952730f99a8929e4fc50582"
6204
6071run-async@^0.1.0: 6205run-async@^0.1.0:
6072 version "0.1.0" 6206 version "0.1.0"
6073 resolved "https://registry.yarnpkg.com/run-async/-/run-async-0.1.0.tgz#c8ad4a5e110661e402a7d21b530e009f25f8e389" 6207 resolved "https://registry.yarnpkg.com/run-async/-/run-async-0.1.0.tgz#c8ad4a5e110661e402a7d21b530e009f25f8e389"
@@ -6384,6 +6518,10 @@ shimmer@^1.1.0:
6384 version "1.2.0" 6518 version "1.2.0"
6385 resolved "https://registry.yarnpkg.com/shimmer/-/shimmer-1.2.0.tgz#f966f7555789763e74d8841193685a5e78736665" 6519 resolved "https://registry.yarnpkg.com/shimmer/-/shimmer-1.2.0.tgz#f966f7555789763e74d8841193685a5e78736665"
6386 6520
6521sigmund@~1.0.0:
6522 version "1.0.1"
6523 resolved "https://registry.yarnpkg.com/sigmund/-/sigmund-1.0.1.tgz#3ff21f198cad2175f9f3b781853fd94d0d19b590"
6524
6387signal-exit@^3.0.0, signal-exit@^3.0.2: 6525signal-exit@^3.0.0, signal-exit@^3.0.2:
6388 version "3.0.2" 6526 version "3.0.2"
6389 resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" 6527 resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
@@ -6849,6 +6987,12 @@ stringstream@~0.0.4:
6849 version "0.0.6" 6987 version "0.0.6"
6850 resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.6.tgz#7880225b0d4ad10e30927d167a1d6f2fd3b33a72" 6988 resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.6.tgz#7880225b0d4ad10e30927d167a1d6f2fd3b33a72"
6851 6989
6990strip-ansi@^0.3.0:
6991 version "0.3.0"
6992 resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-0.3.0.tgz#25f48ea22ca79187f3174a4db8759347bb126220"
6993 dependencies:
6994 ansi-regex "^0.2.1"
6995
6852strip-ansi@^3.0.0, strip-ansi@^3.0.1: 6996strip-ansi@^3.0.0, strip-ansi@^3.0.1:
6853 version "3.0.1" 6997 version "3.0.1"
6854 resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" 6998 resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf"
@@ -6932,6 +7076,10 @@ supports-color@5.4.0, supports-color@^5.2.0, supports-color@^5.3.0:
6932 dependencies: 7076 dependencies:
6933 has-flag "^3.0.0" 7077 has-flag "^3.0.0"
6934 7078
7079supports-color@^0.2.0:
7080 version "0.2.0"
7081 resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-0.2.0.tgz#d92de2694eb3f67323973d7ae3d8b55b4c22190a"
7082
6935supports-color@^2.0.0: 7083supports-color@^2.0.0:
6936 version "2.0.0" 7084 version "2.0.0"
6937 resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" 7085 resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"
@@ -7273,6 +7421,10 @@ tunnel-agent@^0.6.0:
7273 dependencies: 7421 dependencies:
7274 safe-buffer "^5.0.1" 7422 safe-buffer "^5.0.1"
7275 7423
7424tunnel-agent@~0.4.1:
7425 version "0.4.3"
7426 resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.4.3.tgz#6373db76909fe570e08d73583365ed828a74eeeb"
7427
7276tv4@~1.2.7: 7428tv4@~1.2.7:
7277 version "1.2.7" 7429 version "1.2.7"
7278 resolved "https://registry.yarnpkg.com/tv4/-/tv4-1.2.7.tgz#bd29389afc73ade49ae5f48142b5d544bf68d120" 7430 resolved "https://registry.yarnpkg.com/tv4/-/tv4-1.2.7.tgz#bd29389afc73ade49ae5f48142b5d544bf68d120"
@@ -7357,6 +7509,10 @@ undefsafe@^2.0.2:
7357 dependencies: 7509 dependencies:
7358 debug "^2.2.0" 7510 debug "^2.2.0"
7359 7511
7512underscore.string@~2.2.1:
7513 version "2.2.1"
7514 resolved "https://registry.yarnpkg.com/underscore.string/-/underscore.string-2.2.1.tgz#d7c0fa2af5d5a1a67f4253daee98132e733f0f19"
7515
7360underscore.string@~2.3.3: 7516underscore.string@~2.3.3:
7361 version "2.3.3" 7517 version "2.3.3"
7362 resolved "https://registry.yarnpkg.com/underscore.string/-/underscore.string-2.3.3.tgz#71c08bf6b428b1133f37e78fa3a21c82f7329b0d" 7518 resolved "https://registry.yarnpkg.com/underscore.string/-/underscore.string-2.3.3.tgz#71c08bf6b428b1133f37e78fa3a21c82f7329b0d"
@@ -7372,6 +7528,10 @@ underscore@^1.7.0:
7372 version "1.9.1" 7528 version "1.9.1"
7373 resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.9.1.tgz#06dce34a0e68a7babc29b365b8e74b8925203961" 7529 resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.9.1.tgz#06dce34a0e68a7babc29b365b8e74b8925203961"
7374 7530
7531underscore@~1.7.0:
7532 version "1.7.0"
7533 resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.7.0.tgz#6bbaf0877500d36be34ecaa584e0db9fef035209"
7534
7375union-value@^1.0.0: 7535union-value@^1.0.0:
7376 version "1.0.0" 7536 version "1.0.0"
7377 resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.0.tgz#5c71c34cb5bad5dcebe3ea0cd08207ba5aa1aea4" 7537 resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.0.tgz#5c71c34cb5bad5dcebe3ea0cd08207ba5aa1aea4"
@@ -7646,6 +7806,10 @@ which@1, which@^1.1.1, which@^1.2.10, which@^1.2.4, which@^1.2.9, which@~1.3.0:
7646 dependencies: 7806 dependencies:
7647 isexe "^2.0.0" 7807 isexe "^2.0.0"
7648 7808
7809which@~1.0.5:
7810 version "1.0.9"
7811 resolved "https://registry.yarnpkg.com/which/-/which-1.0.9.tgz#460c1da0f810103d0321a9b633af9e575e64486f"
7812
7649wide-align@^1.1.0: 7813wide-align@^1.1.0:
7650 version "1.1.3" 7814 version "1.1.3"
7651 resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" 7815 resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457"
@@ -7766,6 +7930,10 @@ wtf-8@1.0.0:
7766 version "1.0.0" 7930 version "1.0.0"
7767 resolved "https://registry.yarnpkg.com/wtf-8/-/wtf-8-1.0.0.tgz#392d8ba2d0f1c34d1ee2d630f15d0efb68e1048a" 7931 resolved "https://registry.yarnpkg.com/wtf-8/-/wtf-8-1.0.0.tgz#392d8ba2d0f1c34d1ee2d630f15d0efb68e1048a"
7768 7932
7933x-xss-protection@1.1.0:
7934 version "1.1.0"
7935 resolved "https://registry.yarnpkg.com/x-xss-protection/-/x-xss-protection-1.1.0.tgz#4f1898c332deb1e7f2be1280efb3e2c53d69c1a7"
7936
7769xdg-basedir@^3.0.0: 7937xdg-basedir@^3.0.0:
7770 version "3.0.0" 7938 version "3.0.0"
7771 resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-3.0.0.tgz#496b2cc109eca8dbacfe2dc72b603c17c5870ad4" 7939 resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-3.0.0.tgz#496b2cc109eca8dbacfe2dc72b603c17c5870ad4"