Update key dependencies

This commit is contained in:
Jake Howard 2018-03-15 21:23:59 +00:00
parent c35760d95e
commit 28b1c4f51c
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 282 additions and 309 deletions

543
package-lock.json generated
View file

@ -10,8 +10,8 @@
"integrity": "sha512-BdN2PXxOFnTXFcyONPW6t0fHjz2fvRZHVMFpaS0wYr+Y8fWEaNOs4V8LEu/fpzQlMx+ahdndgTaGTwPC+J/EeA==", "integrity": "sha512-BdN2PXxOFnTXFcyONPW6t0fHjz2fvRZHVMFpaS0wYr+Y8fWEaNOs4V8LEu/fpzQlMx+ahdndgTaGTwPC+J/EeA==",
"dev": true, "dev": true,
"requires": { "requires": {
"@types/express": "4.11.0", "@types/express": "4.11.1",
"@types/node": "9.4.0" "@types/node": "9.4.7"
} }
}, },
"@types/chai": { "@types/chai": {
@ -26,19 +26,19 @@
"integrity": "sha512-SrHPmzvC5AL6cCrq0fDCU2AX9sOK/Azik2mdkbLhGpxOlzS7rTALjtdk/WzvKY3pQqEz3byvz1nnX/AmMk6X0Q==", "integrity": "sha512-SrHPmzvC5AL6cCrq0fDCU2AX9sOK/Azik2mdkbLhGpxOlzS7rTALjtdk/WzvKY3pQqEz3byvz1nnX/AmMk6X0Q==",
"dev": true, "dev": true,
"requires": { "requires": {
"@types/express": "4.11.0" "@types/express": "4.11.1"
} }
}, },
"@types/events": { "@types/events": {
"version": "1.1.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/@types/events/-/events-1.1.0.tgz", "resolved": "https://registry.npmjs.org/@types/events/-/events-1.2.0.tgz",
"integrity": "sha512-y3bR98mzYOo0pAZuiLari+cQyiKk3UXRuT45h1RjhfeCzqkjaVsfZJNaxdgtk7/3tzOm1ozLTqEqMP3VbI48jw==", "integrity": "sha512-KEIlhXnIutzKwRbQkGWb/I4HFqBuUykAdHgDED6xqwXJfONCjF5VoE0cXEiurh3XauygxzeDzgtXUqvLkxFzzA==",
"dev": true "dev": true
}, },
"@types/express": { "@types/express": {
"version": "4.11.0", "version": "4.11.1",
"resolved": "https://registry.npmjs.org/@types/express/-/express-4.11.0.tgz", "resolved": "https://registry.npmjs.org/@types/express/-/express-4.11.1.tgz",
"integrity": "sha512-N1Wdp3v4KmdO3W/CM7KXrDwM4xcVZjlHF2dAOs7sNrTUX8PY3G4n9NkaHlfjGFEfgFeHmRRjywoBd4VkujDs9w==", "integrity": "sha512-ttWle8cnPA5rAelauSWeWJimtY2RsUf2aspYZs7xPHiWgOlPn6nnUfBMtrkcnjFJuIHJF4gNOdVvpLK2Zmvh6g==",
"dev": true, "dev": true,
"requires": { "requires": {
"@types/body-parser": "1.16.8", "@types/body-parser": "1.16.8",
@ -52,8 +52,8 @@
"integrity": "sha512-EehCl3tpuqiM8RUb+0255M8PhhSwTtLfmO7zBBdv0ay/VTd/zmrqDfQdZFsa5z/PVMbH2yCMZPXsnrImpATyIw==", "integrity": "sha512-EehCl3tpuqiM8RUb+0255M8PhhSwTtLfmO7zBBdv0ay/VTd/zmrqDfQdZFsa5z/PVMbH2yCMZPXsnrImpATyIw==",
"dev": true, "dev": true,
"requires": { "requires": {
"@types/events": "1.1.0", "@types/events": "1.2.0",
"@types/node": "9.4.0" "@types/node": "9.4.7"
} }
}, },
"@types/helmet": { "@types/helmet": {
@ -62,7 +62,7 @@
"integrity": "sha512-E45vdnx+7+HIN5jsywhzfd+hUI/2yBFr6RT7tsMVrwp+uTvyVANBf4dyVUNW/+ZqAvcx23t2YtGTndQJR3tXIA==", "integrity": "sha512-E45vdnx+7+HIN5jsywhzfd+hUI/2yBFr6RT7tsMVrwp+uTvyVANBf4dyVUNW/+ZqAvcx23t2YtGTndQJR3tXIA==",
"dev": true, "dev": true,
"requires": { "requires": {
"@types/express": "4.11.0" "@types/express": "4.11.1"
} }
}, },
"@types/mime": { "@types/mime": {
@ -72,9 +72,9 @@
"dev": true "dev": true
}, },
"@types/mocha": { "@types/mocha": {
"version": "2.2.47", "version": "2.2.48",
"resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-2.2.47.tgz", "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-2.2.48.tgz",
"integrity": "sha512-v/lko8AvmTt1K8p+ebdhdiHJE7zpPBYsDKjJSNCl8GwPGkKe5xND7s6M36LKye/USbWSPA7gYCDL0+DZ5h0L6Q==", "integrity": "sha512-nlK/iyETgafGli8Zh9zJVCTicvU3iajSkRwOh3Hhiva598CMqNJ4NcVCGMTGKpGpTYj/9R8RLzS9NAykSSCqGw==",
"dev": true "dev": true
}, },
"@types/morgan": { "@types/morgan": {
@ -83,13 +83,13 @@
"integrity": "sha512-E9qFi0seOkdlQnCTPv54brNfGWeFdRaEhI5tSue4pdx/V+xfxvMETsxXhOEcj1cYL+0n/jcTEmj/jD2gjzCwMg==", "integrity": "sha512-E9qFi0seOkdlQnCTPv54brNfGWeFdRaEhI5tSue4pdx/V+xfxvMETsxXhOEcj1cYL+0n/jcTEmj/jD2gjzCwMg==",
"dev": true, "dev": true,
"requires": { "requires": {
"@types/express": "4.11.0" "@types/express": "4.11.1"
} }
}, },
"@types/node": { "@types/node": {
"version": "9.4.0", "version": "9.4.7",
"resolved": "https://registry.npmjs.org/@types/node/-/node-9.4.0.tgz", "resolved": "http://registry.npmjs.org/@types/node/-/node-9.4.7.tgz",
"integrity": "sha512-zkYho6/4wZyX6o9UQ8rd0ReEaiEYNNCqYFIAACe2Tf9DrYlgzWW27OigYHnnztnnZQwVRpwWmZKegFmDpinIsA==", "integrity": "sha512-4Ba90mWNx8ddbafuyGGwjkZMigi+AWfYLSDCpovwsE63ia8w93r3oJ8PIAQc3y8U+XHcnMOHPIzNe3o438Ywcw==",
"dev": true "dev": true
}, },
"@types/serve-index": { "@types/serve-index": {
@ -98,7 +98,7 @@
"integrity": "sha512-oHSCX4wzPLWTUjj8LQNilJVL890kAQGpeE/gVbMzx2+/iE+Xb5khB2xQUFd8+K7lKz7DFB+e+e8OqiBISnVfJg==", "integrity": "sha512-oHSCX4wzPLWTUjj8LQNilJVL890kAQGpeE/gVbMzx2+/iE+Xb5khB2xQUFd8+K7lKz7DFB+e+e8OqiBISnVfJg==",
"dev": true, "dev": true,
"requires": { "requires": {
"@types/express": "4.11.0" "@types/express": "4.11.1"
} }
}, },
"@types/serve-static": { "@types/serve-static": {
@ -225,6 +225,38 @@
"resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz",
"integrity": "sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY=" "integrity": "sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY="
}, },
"body-parser": {
"version": "1.18.2",
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.18.2.tgz",
"integrity": "sha1-h2eKGdhLR9hZuDGZvVm84iKxBFQ=",
"requires": {
"bytes": "3.0.0",
"content-type": "1.0.4",
"debug": "2.6.9",
"depd": "1.1.2",
"http-errors": "1.6.2",
"iconv-lite": "0.4.19",
"on-finished": "2.3.0",
"qs": "6.5.1",
"raw-body": "2.3.2",
"type-is": "1.6.16"
},
"dependencies": {
"debug": {
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"requires": {
"ms": "2.0.0"
}
},
"ms": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
}
}
},
"brace-expansion": { "brace-expansion": {
"version": "1.1.8", "version": "1.1.8",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz",
@ -242,9 +274,9 @@
"dev": true "dev": true
}, },
"bytes": { "bytes": {
"version": "2.3.0", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/bytes/-/bytes-2.3.0.tgz", "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz",
"integrity": "sha1-1baAoWW2IBc5rLYRVCqrwtjOsHA=" "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg="
}, },
"camelize": { "camelize": {
"version": "1.0.0", "version": "1.0.0",
@ -252,17 +284,17 @@
"integrity": "sha1-FkpUg+Yw+kMh5a8HAg5TGDGyYJs=" "integrity": "sha1-FkpUg+Yw+kMh5a8HAg5TGDGyYJs="
}, },
"chai": { "chai": {
"version": "4.0.2", "version": "4.1.2",
"resolved": "https://registry.npmjs.org/chai/-/chai-4.0.2.tgz", "resolved": "https://registry.npmjs.org/chai/-/chai-4.1.2.tgz",
"integrity": "sha1-L3MnxN5vOF3XeHmZ4qsCaXoyuDs=", "integrity": "sha1-D2RYS6ZC8PKs4oBiefTwbKI61zw=",
"dev": true, "dev": true,
"requires": { "requires": {
"assertion-error": "1.1.0", "assertion-error": "1.1.0",
"check-error": "1.0.2", "check-error": "1.0.2",
"deep-eql": "2.0.2", "deep-eql": "3.0.1",
"get-func-name": "2.0.0", "get-func-name": "2.0.0",
"pathval": "1.1.0", "pathval": "1.1.0",
"type-detect": "4.0.7" "type-detect": "4.0.8"
} }
}, },
"chai-as-promised": { "chai-as-promised": {
@ -320,65 +352,42 @@
"dev": true "dev": true
}, },
"compressible": { "compressible": {
"version": "2.0.12", "version": "2.0.13",
"resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.12.tgz", "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.13.tgz",
"integrity": "sha1-xZpcmdt2dn6YdlAOJx72OzSTvWY=", "integrity": "sha1-DRAgq5JLL9tNYnmHXH1tq6a6p6k=",
"requires": { "requires": {
"mime-db": "1.30.0" "mime-db": "1.33.0"
},
"dependencies": {
"mime-db": {
"version": "1.33.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz",
"integrity": "sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ=="
}
} }
}, },
"compression": { "compression": {
"version": "1.6.2", "version": "1.7.2",
"resolved": "https://registry.npmjs.org/compression/-/compression-1.6.2.tgz", "resolved": "http://registry.npmjs.org/compression/-/compression-1.7.2.tgz",
"integrity": "sha1-zOsSHsydCcUtetDDNQ6pPd1AK8M=", "integrity": "sha1-qv+81qr4VLROuygDU9WtFlH1mmk=",
"requires": { "requires": {
"accepts": "1.3.4", "accepts": "1.3.4",
"bytes": "2.3.0", "bytes": "3.0.0",
"compressible": "2.0.12", "compressible": "2.0.13",
"debug": "2.2.0", "debug": "2.6.9",
"on-headers": "1.0.1", "on-headers": "1.0.1",
"safe-buffer": "5.1.1",
"vary": "1.1.2" "vary": "1.1.2"
}
},
"concat-map": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
"dev": true
},
"connect": {
"version": "3.6.2",
"resolved": "https://registry.npmjs.org/connect/-/connect-3.6.2.tgz",
"integrity": "sha1-aU6NIGgb/kkCgsiriGvpjwn0L+c=",
"requires": {
"debug": "2.6.7",
"finalhandler": "1.0.3",
"parseurl": "1.3.2",
"utils-merge": "1.0.0"
}, },
"dependencies": { "dependencies": {
"debug": { "debug": {
"version": "2.6.7", "version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.7.tgz", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-krrR9tBbu2u6Isyoi80OyJTChh4=", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"requires": { "requires": {
"ms": "2.0.0" "ms": "2.0.0"
} }
}, },
"finalhandler": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.0.3.tgz",
"integrity": "sha1-70fneVDpmXgOhgIqVg4yF+DQzIk=",
"requires": {
"debug": "2.6.7",
"encodeurl": "1.0.2",
"escape-html": "1.0.3",
"on-finished": "2.3.0",
"parseurl": "1.3.2",
"statuses": "1.3.1",
"unpipe": "1.0.0"
}
},
"ms": { "ms": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
@ -386,14 +395,20 @@
} }
} }
}, },
"concat-map": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
"dev": true
},
"connect-static-file": { "connect-static-file": {
"version": "1.2.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/connect-static-file/-/connect-static-file-1.2.0.tgz", "resolved": "https://registry.npmjs.org/connect-static-file/-/connect-static-file-2.0.0.tgz",
"integrity": "sha1-rXws5COs8ICLFaGK0yaANQmON0c=", "integrity": "sha512-5T375Jo/uradjCNDN07uyMNepcADZzPIUoxg+Th/eVbVoWbc+ULhwaK7Ssluby2YwDZqBh4JqHXrP23LagB4Vw==",
"requires": { "requires": {
"accepts": "1.3.4", "accepts": "1.3.4",
"mime": "1.6.0", "mime": "1.6.0",
"send": "0.15.6" "send": "0.16.2"
} }
}, },
"console-log-level": { "console-log-level": {
@ -407,12 +422,9 @@
"integrity": "sha1-DPaLud318r55YcOoUXjLhdunjLQ=" "integrity": "sha1-DPaLud318r55YcOoUXjLhdunjLQ="
}, },
"content-security-policy-builder": { "content-security-policy-builder": {
"version": "1.1.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/content-security-policy-builder/-/content-security-policy-builder-1.1.0.tgz", "resolved": "https://registry.npmjs.org/content-security-policy-builder/-/content-security-policy-builder-2.0.0.tgz",
"integrity": "sha1-2R8bB2I2wRmFDH3umSS/VeBXcrM=", "integrity": "sha512-j+Nhmj1yfZAikJLImCvPJFE29x/UuBi+/MWqggGGc515JKaZrjuei2RhULJmy0MsstW3E3htl002bwmBNMKr7w=="
"requires": {
"dashify": "0.2.2"
}
}, },
"content-type": { "content-type": {
"version": "1.0.4", "version": "1.0.4",
@ -445,11 +457,6 @@
"resolved": "https://registry.npmjs.org/dasherize/-/dasherize-2.0.0.tgz", "resolved": "https://registry.npmjs.org/dasherize/-/dasherize-2.0.0.tgz",
"integrity": "sha1-bYCcnNDPe7iVLYD8hPoT1H3bEwg=" "integrity": "sha1-bYCcnNDPe7iVLYD8hPoT1H3bEwg="
}, },
"dashify": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/dashify/-/dashify-0.2.2.tgz",
"integrity": "sha1-agdBWgHJH69KMuONnfunH2HLIP4="
},
"debug": { "debug": {
"version": "2.2.0", "version": "2.2.0",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz", "resolved": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz",
@ -459,20 +466,12 @@
} }
}, },
"deep-eql": { "deep-eql": {
"version": "2.0.2", "version": "3.0.1",
"resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-2.0.2.tgz", "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz",
"integrity": "sha1-sbrAblbwp2d3aG1Qyf63XC7XZ5o=", "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==",
"dev": true, "dev": true,
"requires": { "requires": {
"type-detect": "3.0.0" "type-detect": "4.0.8"
},
"dependencies": {
"type-detect": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/type-detect/-/type-detect-3.0.0.tgz",
"integrity": "sha1-RtDMhVOrt7E6NSsNbeov1Y8tm1U=",
"dev": true
}
} }
}, },
"delayed-stream": { "delayed-stream": {
@ -522,15 +521,6 @@
"resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
"integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k="
}, },
"encoding": {
"version": "0.1.12",
"resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz",
"integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=",
"dev": true,
"requires": {
"iconv-lite": "0.4.19"
}
},
"end-of-stream": { "end-of-stream": {
"version": "1.4.1", "version": "1.4.1",
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz",
@ -572,89 +562,98 @@
"integrity": "sha1-UnNWeN4YUwiQ2Ne5XwrGNkCVgJQ=" "integrity": "sha1-UnNWeN4YUwiQ2Ne5XwrGNkCVgJQ="
}, },
"express": { "express": {
"version": "4.15.3", "version": "4.16.3",
"resolved": "https://registry.npmjs.org/express/-/express-4.15.3.tgz", "resolved": "https://registry.npmjs.org/express/-/express-4.16.3.tgz",
"integrity": "sha1-urZdDwOqgMNYQIly/HAPkWlEtmI=", "integrity": "sha1-avilAjUNsyRuzEvs9rWjTSL37VM=",
"requires": { "requires": {
"accepts": "1.3.4", "accepts": "1.3.5",
"array-flatten": "1.1.1", "array-flatten": "1.1.1",
"body-parser": "1.18.2",
"content-disposition": "0.5.2", "content-disposition": "0.5.2",
"content-type": "1.0.4", "content-type": "1.0.4",
"cookie": "0.3.1", "cookie": "0.3.1",
"cookie-signature": "1.0.6", "cookie-signature": "1.0.6",
"debug": "2.6.7", "debug": "2.6.9",
"depd": "1.1.2", "depd": "1.1.2",
"encodeurl": "1.0.2", "encodeurl": "1.0.2",
"escape-html": "1.0.3", "escape-html": "1.0.3",
"etag": "1.8.1", "etag": "1.8.1",
"finalhandler": "1.0.6", "finalhandler": "1.1.1",
"fresh": "0.5.0", "fresh": "0.5.2",
"merge-descriptors": "1.0.1", "merge-descriptors": "1.0.1",
"methods": "1.1.2", "methods": "1.1.2",
"on-finished": "2.3.0", "on-finished": "2.3.0",
"parseurl": "1.3.2", "parseurl": "1.3.2",
"path-to-regexp": "0.1.7", "path-to-regexp": "0.1.7",
"proxy-addr": "1.1.5", "proxy-addr": "2.0.3",
"qs": "6.4.0", "qs": "6.5.1",
"range-parser": "1.2.0", "range-parser": "1.2.0",
"send": "0.15.3", "safe-buffer": "5.1.1",
"serve-static": "1.12.3", "send": "0.16.2",
"setprototypeof": "1.0.3", "serve-static": "1.13.2",
"statuses": "1.3.1", "setprototypeof": "1.1.0",
"type-is": "1.6.15", "statuses": "1.4.0",
"utils-merge": "1.0.0", "type-is": "1.6.16",
"utils-merge": "1.0.1",
"vary": "1.1.2" "vary": "1.1.2"
}, },
"dependencies": { "dependencies": {
"accepts": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.5.tgz",
"integrity": "sha1-63d99gEXI6OxTopywIBcjoZ0a9I=",
"requires": {
"mime-types": "2.1.18",
"negotiator": "0.6.1"
}
},
"debug": { "debug": {
"version": "2.6.7", "version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.7.tgz", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-krrR9tBbu2u6Isyoi80OyJTChh4=", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"requires": { "requires": {
"ms": "2.0.0" "ms": "2.0.0"
} }
}, },
"fresh": { "mime-db": {
"version": "0.5.0", "version": "1.33.0",
"resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.0.tgz", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz",
"integrity": "sha1-9HTKXmqSRtb9jglTz6m5yAWvp44=" "integrity": "sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ=="
}, },
"mime": { "mime-types": {
"version": "1.3.4", "version": "2.1.18",
"resolved": "https://registry.npmjs.org/mime/-/mime-1.3.4.tgz", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.18.tgz",
"integrity": "sha1-EV+eO2s9rylZmDyzjxSaLUDrXVM=" "integrity": "sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==",
"requires": {
"mime-db": "1.33.0"
}
}, },
"ms": { "ms": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
}, },
"send": { "setprototypeof": {
"version": "0.15.3", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/send/-/send-0.15.3.tgz", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz",
"integrity": "sha1-UBP5+ZAj31DRvZiSwZ4979HVMwk=", "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ=="
"requires": { },
"debug": "2.6.7", "statuses": {
"depd": "1.1.2", "version": "1.4.0",
"destroy": "1.0.4", "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz",
"encodeurl": "1.0.2", "integrity": "sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew=="
"escape-html": "1.0.3", },
"etag": "1.8.1", "utils-merge": {
"fresh": "0.5.0", "version": "1.0.1",
"http-errors": "1.6.2", "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
"mime": "1.3.4", "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM="
"ms": "2.0.0",
"on-finished": "2.3.0",
"range-parser": "1.2.0",
"statuses": "1.3.1"
}
} }
} }
}, },
"express-basic-auth": { "express-basic-auth": {
"version": "1.0.1", "version": "1.1.4",
"resolved": "https://registry.npmjs.org/express-basic-auth/-/express-basic-auth-1.0.1.tgz", "resolved": "https://registry.npmjs.org/express-basic-auth/-/express-basic-auth-1.1.4.tgz",
"integrity": "sha1-crl4UPHu1iWuz2aOK8WO3MrwilI=", "integrity": "sha512-stNYRMPULJu/Tk3aFSdkyFMHDPDukens2L5FrTHJab+k/gvBdjB885W3gAZtHNrUaSmbAO8dQ9Omcot9qtbAag==",
"requires": { "requires": {
"basic-auth": "1.1.0" "basic-auth": "1.1.0"
} }
@ -679,16 +678,16 @@
"integrity": "sha512-QJYT/i0QYoiZBQ71ivxdyTqkwKkQ0oxACXHYxH2zYHJEgzi2LsbjgvtzTbLi1SZcF190Db2YP7I7eTsU2egOlw==" "integrity": "sha512-QJYT/i0QYoiZBQ71ivxdyTqkwKkQ0oxACXHYxH2zYHJEgzi2LsbjgvtzTbLi1SZcF190Db2YP7I7eTsU2egOlw=="
}, },
"finalhandler": { "finalhandler": {
"version": "1.0.6", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.0.6.tgz", "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz",
"integrity": "sha1-AHrqM9Gk0+QgF/YkhIrVjSEvgU8=", "integrity": "sha512-Y1GUDo39ez4aHAw7MysnUD5JzYX+WaIj8I57kO3aEPT1fFRL4sr7mjei97FgnwhAyyzRYmQZaTHb2+9uZ1dPtg==",
"requires": { "requires": {
"debug": "2.6.9", "debug": "2.6.9",
"encodeurl": "1.0.2", "encodeurl": "1.0.2",
"escape-html": "1.0.3", "escape-html": "1.0.3",
"on-finished": "2.3.0", "on-finished": "2.3.0",
"parseurl": "1.3.2", "parseurl": "1.3.2",
"statuses": "1.3.1", "statuses": "1.4.0",
"unpipe": "1.0.0" "unpipe": "1.0.0"
}, },
"dependencies": { "dependencies": {
@ -704,6 +703,11 @@
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
},
"statuses": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz",
"integrity": "sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew=="
} }
} }
}, },
@ -798,35 +802,34 @@
"integrity": "sha1-EPIJmg18BaQPK+r1wdOc8vfavzY=" "integrity": "sha1-EPIJmg18BaQPK+r1wdOc8vfavzY="
}, },
"helmet": { "helmet": {
"version": "3.6.1", "version": "3.12.0",
"resolved": "https://registry.npmjs.org/helmet/-/helmet-3.6.1.tgz", "resolved": "https://registry.npmjs.org/helmet/-/helmet-3.12.0.tgz",
"integrity": "sha1-kfOqf6TJRnFZX7Vo39jChImjiL4=", "integrity": "sha512-CgkctpvreQLL6X3EL2Igs/92+75ZFIsrob9/Rdwf2hQCBGH/DxLk4xFPxAAl6jYnnus/YXfFEVXHEJf8TJTwlA==",
"requires": { "requires": {
"connect": "3.6.2",
"dns-prefetch-control": "0.1.0", "dns-prefetch-control": "0.1.0",
"dont-sniff-mimetype": "1.0.0", "dont-sniff-mimetype": "1.0.0",
"expect-ct": "0.1.0", "expect-ct": "0.1.0",
"frameguard": "3.0.0", "frameguard": "3.0.0",
"helmet-csp": "2.4.0", "helmet-csp": "2.7.0",
"hide-powered-by": "1.0.0", "hide-powered-by": "1.0.0",
"hpkp": "2.0.0", "hpkp": "2.0.0",
"hsts": "2.0.0", "hsts": "2.1.0",
"ienoopen": "1.0.0", "ienoopen": "1.0.0",
"nocache": "2.0.0", "nocache": "2.0.0",
"referrer-policy": "1.1.0", "referrer-policy": "1.1.0",
"x-xss-protection": "1.0.0" "x-xss-protection": "1.1.0"
} }
}, },
"helmet-csp": { "helmet-csp": {
"version": "2.4.0", "version": "2.7.0",
"resolved": "https://registry.npmjs.org/helmet-csp/-/helmet-csp-2.4.0.tgz", "resolved": "https://registry.npmjs.org/helmet-csp/-/helmet-csp-2.7.0.tgz",
"integrity": "sha1-flOhVxZ6BkWq3XF30SrmxgXBhC4=", "integrity": "sha512-IGIAkWnxjRbgMXFA2/kmDqSIrIaSfZ6vhMHlSHw7jm7Gm9nVVXqwJ2B1YEpYrJsLrqY+w2Bbimk7snux9+sZAw==",
"requires": { "requires": {
"camelize": "1.0.0", "camelize": "1.0.0",
"content-security-policy-builder": "1.1.0", "content-security-policy-builder": "2.0.0",
"dasherize": "2.0.0", "dasherize": "2.0.0",
"lodash.reduce": "4.6.0", "lodash.reduce": "4.6.0",
"platform": "1.3.3" "platform": "1.3.5"
} }
}, },
"hide-powered-by": { "hide-powered-by": {
@ -840,12 +843,9 @@
"integrity": "sha1-EOFCJk52IVpdMMROxD3mTe5tFnI=" "integrity": "sha1-EOFCJk52IVpdMMROxD3mTe5tFnI="
}, },
"hsts": { "hsts": {
"version": "2.0.0", "version": "2.1.0",
"resolved": "https://registry.npmjs.org/hsts/-/hsts-2.0.0.tgz", "resolved": "https://registry.npmjs.org/hsts/-/hsts-2.1.0.tgz",
"integrity": "sha1-pSI0xgcN7PIUsra3C7FE0H5Hdsc=", "integrity": "sha512-zXhh/DqgrTXJ7erTN6Fh5k/xjMhDGXCqdYN3wvxUvGUQvnxcFfUd8E+6vLg/nk3ss1TYMb+DhRl25fYABioTvA=="
"requires": {
"core-util-is": "1.0.2"
}
}, },
"http-errors": { "http-errors": {
"version": "1.6.2", "version": "1.6.2",
@ -868,8 +868,7 @@
"iconv-lite": { "iconv-lite": {
"version": "0.4.19", "version": "0.4.19",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz",
"integrity": "sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ==", "integrity": "sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ=="
"dev": true
}, },
"ienoopen": { "ienoopen": {
"version": "1.0.0", "version": "1.0.0",
@ -936,12 +935,6 @@
"resolved": "https://registry.npmjs.org/is-secret/-/is-secret-1.1.1.tgz", "resolved": "https://registry.npmjs.org/is-secret/-/is-secret-1.1.1.tgz",
"integrity": "sha1-KYig6bOU41YM1IBAbWHKz9dPH/k=" "integrity": "sha1-KYig6bOU41YM1IBAbWHKz9dPH/k="
}, },
"is-stream": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
"integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=",
"dev": true
},
"isarray": { "isarray": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
@ -1207,14 +1200,10 @@
"integrity": "sha1-ICtIAhoMTL3i34DeFaF0Q8i0OYA=" "integrity": "sha1-ICtIAhoMTL3i34DeFaF0Q8i0OYA="
}, },
"node-fetch": { "node-fetch": {
"version": "1.7.1", "version": "2.1.1",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.1.tgz", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.1.1.tgz",
"integrity": "sha512-j8XsFGCLw79vWXkZtMSmmLaOk9z5SQ9bV/tkbZVCqvgwzrjAGq66igobLofHtF63NvMTp2WjytpsNTGKa+XRIQ==", "integrity": "sha1-NpynC4L1DIZJYQSmx3bSdPTkotQ=",
"dev": true, "dev": true
"requires": {
"encoding": "0.1.12",
"is-stream": "1.1.0"
}
}, },
"normalize-bool": { "normalize-bool": {
"version": "1.0.0", "version": "1.0.0",
@ -1343,9 +1332,9 @@
"dev": true "dev": true
}, },
"platform": { "platform": {
"version": "1.3.3", "version": "1.3.5",
"resolved": "https://registry.npmjs.org/platform/-/platform-1.3.3.tgz", "resolved": "https://registry.npmjs.org/platform/-/platform-1.3.5.tgz",
"integrity": "sha1-ZGx3ARiZhwtqCQPnXpl+jlHadGE=" "integrity": "sha512-TuvHS8AOIZNAlE77WUDiR4rySV/VMptyMfcfeoMgs4P8apaZM3JrnbzBiixKUv+XR6i+BXrQh8WAnjaSPFO65Q=="
}, },
"process-nextick-args": { "process-nextick-args": {
"version": "1.0.7", "version": "1.0.7",
@ -1354,12 +1343,19 @@
"dev": true "dev": true
}, },
"proxy-addr": { "proxy-addr": {
"version": "1.1.5", "version": "2.0.3",
"resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-1.1.5.tgz", "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.3.tgz",
"integrity": "sha1-ccDuOxAt4/IC87ZPYI0XP8uhqRg=", "integrity": "sha512-jQTChiCJteusULxjBp8+jftSQE5Obdl3k4cnmLA6WXtK6XFuWRnvVL7aCiBqaLPM8c4ph0S4tKna8XvmIwEnXQ==",
"requires": { "requires": {
"forwarded": "0.1.2", "forwarded": "0.1.2",
"ipaddr.js": "1.4.0" "ipaddr.js": "1.6.0"
},
"dependencies": {
"ipaddr.js": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.6.0.tgz",
"integrity": "sha1-4/o1e3c9phnybpXwSdBVxyeW+Gs="
}
} }
}, },
"pseudomap": { "pseudomap": {
@ -1368,15 +1364,26 @@
"integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=" "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM="
}, },
"qs": { "qs": {
"version": "6.4.0", "version": "6.5.1",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.4.0.tgz", "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.1.tgz",
"integrity": "sha1-E+JtKK1rD/qpExLNO/cI7TUecjM=" "integrity": "sha512-eRzhrN1WSINYCDCbrz796z37LOe3m5tmW7RQf6oBntukAG1nmovJvhnwHHRMAfeoItc1m2Hk02WER2aQ/iqs+A=="
}, },
"range-parser": { "range-parser": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz", "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz",
"integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=" "integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4="
}, },
"raw-body": {
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.2.tgz",
"integrity": "sha1-vNYMd9Prk83gBQKVw/N5OJvIj4k=",
"requires": {
"bytes": "3.0.0",
"http-errors": "1.6.2",
"iconv-lite": "0.4.19",
"unpipe": "1.0.0"
}
},
"readable-stream": { "readable-stream": {
"version": "2.3.3", "version": "2.3.3",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.3.tgz", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.3.tgz",
@ -1434,9 +1441,9 @@
"integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==" "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA=="
}, },
"send": { "send": {
"version": "0.15.6", "version": "0.16.2",
"resolved": "https://registry.npmjs.org/send/-/send-0.15.6.tgz", "resolved": "https://registry.npmjs.org/send/-/send-0.16.2.tgz",
"integrity": "sha1-IPI6nJJbdiq4JwX+L52yUqzkfjQ=", "integrity": "sha512-E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw==",
"requires": { "requires": {
"debug": "2.6.9", "debug": "2.6.9",
"depd": "1.1.2", "depd": "1.1.2",
@ -1446,11 +1453,11 @@
"etag": "1.8.1", "etag": "1.8.1",
"fresh": "0.5.2", "fresh": "0.5.2",
"http-errors": "1.6.2", "http-errors": "1.6.2",
"mime": "1.3.4", "mime": "1.4.1",
"ms": "2.0.0", "ms": "2.0.0",
"on-finished": "2.3.0", "on-finished": "2.3.0",
"range-parser": "1.2.0", "range-parser": "1.2.0",
"statuses": "1.3.1" "statuses": "1.4.0"
}, },
"dependencies": { "dependencies": {
"debug": { "debug": {
@ -1462,25 +1469,30 @@
} }
}, },
"mime": { "mime": {
"version": "1.3.4", "version": "1.4.1",
"resolved": "https://registry.npmjs.org/mime/-/mime-1.3.4.tgz", "resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz",
"integrity": "sha1-EV+eO2s9rylZmDyzjxSaLUDrXVM=" "integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ=="
}, },
"ms": { "ms": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
},
"statuses": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz",
"integrity": "sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew=="
} }
} }
}, },
"serve-index": { "serve-index": {
"version": "1.9.0", "version": "1.9.1",
"resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.0.tgz", "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz",
"integrity": "sha1-0rKA/FYNYW7oG0i/D6gqvtJIXOc=", "integrity": "sha1-03aNabHn2C5c4FD/9bRTvqEqkjk=",
"requires": { "requires": {
"accepts": "1.3.4", "accepts": "1.3.4",
"batch": "0.6.1", "batch": "0.6.1",
"debug": "2.6.8", "debug": "2.6.9",
"escape-html": "1.0.3", "escape-html": "1.0.3",
"http-errors": "1.6.2", "http-errors": "1.6.2",
"mime-types": "2.1.17", "mime-types": "2.1.17",
@ -1488,9 +1500,9 @@
}, },
"dependencies": { "dependencies": {
"debug": { "debug": {
"version": "2.6.8", "version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.8.tgz", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-5zFTHKLt4n0YgiJCfaF4IdaP9Pw=", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"requires": { "requires": {
"ms": "2.0.0" "ms": "2.0.0"
} }
@ -1503,59 +1515,14 @@
} }
}, },
"serve-static": { "serve-static": {
"version": "1.12.3", "version": "1.13.2",
"resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.12.3.tgz", "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.2.tgz",
"integrity": "sha1-n0uhni8wMMVH+K+ZEHg47DjVseI=", "integrity": "sha512-p/tdJrO4U387R9oMjb1oj7qSMaMfmOyd4j9hOFoxZe2baQszgHcSWjuya/CiT5kgZZKRudHNOA0pYXOl8rQ5nw==",
"requires": { "requires": {
"encodeurl": "1.0.2", "encodeurl": "1.0.2",
"escape-html": "1.0.3", "escape-html": "1.0.3",
"parseurl": "1.3.2", "parseurl": "1.3.2",
"send": "0.15.3" "send": "0.16.2"
},
"dependencies": {
"debug": {
"version": "2.6.7",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.7.tgz",
"integrity": "sha1-krrR9tBbu2u6Isyoi80OyJTChh4=",
"requires": {
"ms": "2.0.0"
}
},
"fresh": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.0.tgz",
"integrity": "sha1-9HTKXmqSRtb9jglTz6m5yAWvp44="
},
"mime": {
"version": "1.3.4",
"resolved": "https://registry.npmjs.org/mime/-/mime-1.3.4.tgz",
"integrity": "sha1-EV+eO2s9rylZmDyzjxSaLUDrXVM="
},
"ms": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
},
"send": {
"version": "0.15.3",
"resolved": "https://registry.npmjs.org/send/-/send-0.15.3.tgz",
"integrity": "sha1-UBP5+ZAj31DRvZiSwZ4979HVMwk=",
"requires": {
"debug": "2.6.7",
"depd": "1.1.2",
"destroy": "1.0.4",
"encodeurl": "1.0.2",
"escape-html": "1.0.3",
"etag": "1.8.1",
"fresh": "0.5.0",
"http-errors": "1.6.2",
"mime": "1.3.4",
"ms": "2.0.0",
"on-finished": "2.3.0",
"range-parser": "1.2.0",
"statuses": "1.3.1"
}
}
} }
}, },
"setprototypeof": { "setprototypeof": {
@ -1807,18 +1774,33 @@
} }
}, },
"type-detect": { "type-detect": {
"version": "4.0.7", "version": "4.0.8",
"resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.7.tgz", "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz",
"integrity": "sha512-4Rh17pAMVdMWzktddFhISRnUnFIStObtUMNGzDwlA6w/77bmGv3aBbRdCmQR6IjzfkTo9otnW+2K/cDRhKSxDA==", "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==",
"dev": true "dev": true
}, },
"type-is": { "type-is": {
"version": "1.6.15", "version": "1.6.16",
"resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.15.tgz", "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.16.tgz",
"integrity": "sha1-yrEPtJCeRByChC6v4a1kbIGARBA=", "integrity": "sha512-HRkVv/5qY2G6I8iab9cI7v1bOIdhm94dVjQCPFElW9W+3GeDOSHmy2EBYe4VTApuzolPcmgFTN3ftVJRKR2J9Q==",
"requires": { "requires": {
"media-typer": "0.3.0", "media-typer": "0.3.0",
"mime-types": "2.1.17" "mime-types": "2.1.18"
},
"dependencies": {
"mime-db": {
"version": "1.33.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz",
"integrity": "sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ=="
},
"mime-types": {
"version": "2.1.18",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.18.tgz",
"integrity": "sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==",
"requires": {
"mime-db": "1.33.0"
}
}
} }
}, },
"typescript": { "typescript": {
@ -1858,11 +1840,6 @@
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
"dev": true "dev": true
}, },
"utils-merge": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.0.tgz",
"integrity": "sha1-ApT7kiu5N1FTVBxPcJYjHyh8ivg="
},
"uuid": { "uuid": {
"version": "3.2.1", "version": "3.2.1",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz",
@ -1888,9 +1865,9 @@
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
}, },
"x-xss-protection": { "x-xss-protection": {
"version": "1.0.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/x-xss-protection/-/x-xss-protection-1.0.0.tgz", "resolved": "https://registry.npmjs.org/x-xss-protection/-/x-xss-protection-1.1.0.tgz",
"integrity": "sha1-iYr7k4abJGYc+cUvnujbjtB2Tdk=" "integrity": "sha512-rx3GzJlgEeZ08MIcDsU2vY2B1QEriUKJTSiNHHUIem6eg9pzVOr2TL3Y4Pd6TMAM5D5azGjcxqI62piITBDHVg=="
}, },
"yallist": { "yallist": {
"version": "2.1.2", "version": "2.1.2",

View file

@ -27,30 +27,30 @@
}, },
"homepage": "https://github.com/RealOrangeOne/tstatic#readme", "homepage": "https://github.com/RealOrangeOne/tstatic#readme",
"dependencies": { "dependencies": {
"compression": "1.6.2", "compression": "1.7.2",
"connect-static-file": "1.2.0", "connect-static-file": "2.0.0",
"docopt": "0.6.2", "docopt": "0.6.2",
"express": "4.15.3", "express": "4.16.3",
"express-basic-auth": "1.0.1", "express-basic-auth": "1.1.4",
"express-ip-access-control": "1.0.5", "express-ip-access-control": "1.0.5",
"helmet": "3.6.1", "helmet": "3.12.0",
"morgan": "1.9.0", "morgan": "1.9.0",
"opbeat": "4.14.0", "opbeat": "4.14.0",
"open": "0.0.5", "open": "0.0.5",
"serve-index": "1.9.0" "serve-index": "1.9.1"
}, },
"devDependencies": { "devDependencies": {
"@types/chai": "4.1.2", "@types/chai": "4.1.2",
"@types/compression": "0.0.35", "@types/compression": "0.0.35",
"@types/express": "4.11.0", "@types/express": "4.11.1",
"@types/helmet": "0.0.37", "@types/helmet": "0.0.37",
"@types/mocha": "2.2.47", "@types/mocha": "2.2.48",
"@types/morgan": "1.7.35", "@types/morgan": "1.7.35",
"@types/serve-index": "1.7.29", "@types/serve-index": "1.7.29",
"chai": "4.0.2", "chai": "4.1.2",
"chai-as-promised": "7.1.1", "chai-as-promised": "7.1.1",
"mocha": "3.4.2", "mocha": "3.4.2",
"node-fetch": "1.7.1", "node-fetch": "2.1.1",
"supertest": "3.0.0", "supertest": "3.0.0",
"ts-node": "3.2.0", "ts-node": "3.2.0",
"tslint": "5.5.0", "tslint": "5.5.0",

View file

@ -4,7 +4,6 @@ import * as AccessControl from 'express-ip-access-control';
import * as compression from 'compression'; import * as compression from 'compression';
import * as helmet from 'helmet'; import * as helmet from 'helmet';
import * as opbeat from 'opbeat'; import * as opbeat from 'opbeat';
import * as expectCt from 'expect-ct';
import * as referrerPolicy from 'referrer-policy'; import * as referrerPolicy from 'referrer-policy';
import * as morgan from 'morgan'; import * as morgan from 'morgan';
@ -17,22 +16,19 @@ import { Options } from './types';
export default function createServer(opts : Options) : express.Application { export default function createServer(opts : Options) : express.Application {
const app = express(); const app = express();
app.use(helmet()); app.use(helmet({
app.use(helmet.ieNoOpen()); hsts: {
app.use(helmet.noCache()); maxAge: 5184000,
app.use(referrerPolicy({ policy: 'same-origin' })); setIf: () => !opts.allowHttp,
app.use(expectCt({ includeSubdomains: false
enforce: false, },
maxAge: 1000 noCache: true,
expectCt: {
enforce: false,
maxAge: 1000
}
})); }));
app.use(referrerPolicy({ policy: 'same-origin' }));
if (!opts.allowHttp) {
app.use(helmet.hsts({
maxAge: 5184000,
setIf: () => true,
includeSubdomains: false
}));
}
if (process.env.NODE_ENV !== 'test') { if (process.env.NODE_ENV !== 'test') {
app.use(morgan('combined')); app.use(morgan('combined'));