This commit is contained in:
repeek 2017-10-10 15:45:07 -07:00
Родитель e14eb547b9
Коммит e61703664e
4 изменённых файлов: 1063 добавлений и 1451 удалений

Просмотреть файл

@ -1,24 +1,24 @@
{
"ListenPort": 8084,
"ListenPortSSL": 4433,
"SSLKeyLocation": "sslkeypath",
"SSLCertLocation": "sslcertpath",
"CacheLifetime": 60,
"InjectJavascript": "window.Math.random = function() {return 0;}",
"QueryParamsToIgnore": "ignoredParam",
"UrlReplacements": [
{
"regex": "/[0-9a-fA-F]{8}",
"replacement": "/00000000"
},
{
"regex": "/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}",
"replacement": ""
}
],
"AzureStorageAccessKey": "",
"AzureStorageAccountName": "",
"AzureStorageContainerName": "",
"HarFilePath": "D:\\Temp\\harfiles",
"LoggingLevel": "info"
"ListenPort":8084,
"ListenPortSSL": 4433,
"SSLKeyLocation": "sslkeypath",
"SSLCertLocation": "sslcertpath",
"CacheLifetime":60,
"InjectJavascript":"window.Math.random = function() {return 0;}",
"QueryParamsToIgnore":"",
"UrlReplacements": [
{
"regex": "/[0-9a-fA-F]{8}",
"replacement": "/00000000"
},
{
"regex": "/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}",
"replacement": ""
}
],
"AzureStorageAccountName":"",
"AzureStorageAccessKey":"",
"AzureStorageContainerName":"",
"HarFilePath":"D:\\Temp\\harfiles\\",
"LoggingLevel":"info"
}

513
package-lock.json сгенерированный
Просмотреть файл

@ -2,7 +2,6 @@
"name": "harreplayer",
"version": "1.0.20",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@types/jasmine": {
"version": "2.5.53",
@ -22,11 +21,7 @@
"accepts": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.3.tgz",
"integrity": "sha1-w8p0NJOGSMPg2cHjKN1otiLChMo=",
"requires": {
"mime-types": "2.1.15",
"negotiator": "0.6.1"
}
"integrity": "sha1-w8p0NJOGSMPg2cHjKN1otiLChMo="
},
"ansi-regex": {
"version": "2.1.1",
@ -61,10 +56,7 @@
"async": {
"version": "2.5.0",
"resolved": "https://registry.npmjs.org/async/-/async-2.5.0.tgz",
"integrity": "sha512-e+lJAJeNWuPCNyxZKOBdaJGyLGHugXVQtrAwtuAe2vhxTYxFTKE73p8JuTmdH0qdQZtDvI4dhJwjZc5zsfIsYw==",
"requires": {
"lodash": "4.17.4"
}
"integrity": "sha512-e+lJAJeNWuPCNyxZKOBdaJGyLGHugXVQtrAwtuAe2vhxTYxFTKE73p8JuTmdH0qdQZtDvI4dhJwjZc5zsfIsYw=="
},
"asynckit": {
"version": "0.4.0",
@ -84,20 +76,7 @@
"azure-storage": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/azure-storage/-/azure-storage-2.2.1.tgz",
"integrity": "sha1-26BUs1dco9+vw9Q3qr/I6ELmmDE=",
"requires": {
"browserify-mime": "1.2.9",
"extend": "1.2.1",
"json-edm-parser": "0.1.2",
"md5.js": "1.3.4",
"readable-stream": "2.0.6",
"request": "2.74.0",
"underscore": "1.8.3",
"uuid": "3.1.0",
"validator": "3.35.0",
"xml2js": "0.2.7",
"xmlbuilder": "0.4.3"
}
"integrity": "sha1-26BUs1dco9+vw9Q3qr/I6ELmmDE="
},
"balanced-match": {
"version": "1.0.0",
@ -113,35 +92,22 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz",
"integrity": "sha1-Y7xdy2EzG5K8Bf1SiVPDNGKgb40=",
"optional": true,
"requires": {
"tweetnacl": "0.14.5"
}
"optional": true
},
"bl": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/bl/-/bl-1.1.2.tgz",
"integrity": "sha1-/cqHGplxOqANGeO7ukHER4emU5g=",
"requires": {
"readable-stream": "2.0.6"
}
"integrity": "sha1-/cqHGplxOqANGeO7ukHER4emU5g="
},
"boom": {
"version": "2.10.1",
"resolved": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz",
"integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=",
"requires": {
"hoek": "2.16.3"
}
"integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8="
},
"brace-expansion": {
"version": "1.1.8",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz",
"integrity": "sha1-wHshHHyVLsH479Uad+8NHTmQopI=",
"requires": {
"balanced-match": "1.0.0",
"concat-map": "0.0.1"
}
"integrity": "sha1-wHshHHyVLsH479Uad+8NHTmQopI="
},
"browser-stdout": {
"version": "1.3.0",
@ -161,27 +127,12 @@
"chai": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/chai/-/chai-4.1.0.tgz",
"integrity": "sha1-MxoDkbVcOvh0CunDt0WLwcOAXm0=",
"requires": {
"assertion-error": "1.0.2",
"check-error": "1.0.2",
"deep-eql": "2.0.2",
"get-func-name": "2.0.0",
"pathval": "1.1.0",
"type-detect": "4.0.3"
}
"integrity": "sha1-MxoDkbVcOvh0CunDt0WLwcOAXm0="
},
"chalk": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
"integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
"requires": {
"ansi-styles": "2.2.1",
"escape-string-regexp": "1.0.5",
"has-ansi": "2.0.0",
"strip-ansi": "3.0.1",
"supports-color": "2.0.0"
}
"integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg="
},
"check-error": {
"version": "1.0.2",
@ -196,10 +147,7 @@
"combined-stream": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz",
"integrity": "sha1-k4NwpXtKUd6ix3wV1cX9+JUWQAk=",
"requires": {
"delayed-stream": "1.0.0"
}
"integrity": "sha1-k4NwpXtKUd6ix3wV1cX9+JUWQAk="
},
"commander": {
"version": "2.11.0",
@ -249,10 +197,7 @@
"cryptiles": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz",
"integrity": "sha1-O9/s3GCBR8HGcgL6KR59ylnqo7g=",
"requires": {
"boom": "2.10.1"
}
"integrity": "sha1-O9/s3GCBR8HGcgL6KR59ylnqo7g="
},
"cycle": {
"version": "1.0.3",
@ -263,9 +208,6 @@
"version": "1.14.1",
"resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
"integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=",
"requires": {
"assert-plus": "1.0.0"
},
"dependencies": {
"assert-plus": {
"version": "1.0.0",
@ -277,18 +219,12 @@
"debug": {
"version": "2.6.7",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.7.tgz",
"integrity": "sha1-krrR9tBbu2u6Isyoi80OyJTChh4=",
"requires": {
"ms": "2.0.0"
}
"integrity": "sha1-krrR9tBbu2u6Isyoi80OyJTChh4="
},
"deep-eql": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-2.0.2.tgz",
"integrity": "sha1-sbrAblbwp2d3aG1Qyf63XC7XZ5o=",
"requires": {
"type-detect": "3.0.0"
},
"dependencies": {
"type-detect": {
"version": "3.0.0",
@ -321,10 +257,7 @@
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz",
"integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=",
"optional": true,
"requires": {
"jsbn": "0.1.1"
}
"optional": true
},
"ee-first": {
"version": "1.1.1",
@ -360,36 +293,6 @@
"version": "4.15.3",
"resolved": "https://registry.npmjs.org/express/-/express-4.15.3.tgz",
"integrity": "sha1-urZdDwOqgMNYQIly/HAPkWlEtmI=",
"requires": {
"accepts": "1.3.3",
"array-flatten": "1.1.1",
"content-disposition": "0.5.2",
"content-type": "1.0.2",
"cookie": "0.3.1",
"cookie-signature": "1.0.6",
"debug": "2.6.7",
"depd": "1.1.0",
"encodeurl": "1.0.1",
"escape-html": "1.0.3",
"etag": "1.8.0",
"finalhandler": "1.0.3",
"fresh": "0.5.0",
"merge-descriptors": "1.0.1",
"methods": "1.1.2",
"on-finished": "2.3.0",
"parseurl": "1.3.1",
"path-to-regexp": "0.1.7",
"proxy-addr": "1.1.4",
"qs": "6.4.0",
"range-parser": "1.2.0",
"send": "0.15.3",
"serve-static": "1.12.3",
"setprototypeof": "1.0.3",
"statuses": "1.3.1",
"type-is": "1.6.15",
"utils-merge": "1.0.0",
"vary": "1.1.1"
},
"dependencies": {
"qs": {
"version": "6.4.0",
@ -416,16 +319,7 @@
"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.1",
"escape-html": "1.0.3",
"on-finished": "2.3.0",
"parseurl": "1.3.1",
"statuses": "1.3.1",
"unpipe": "1.0.0"
}
"integrity": "sha1-70fneVDpmXgOhgIqVg4yF+DQzIk="
},
"forever-agent": {
"version": "0.6.1",
@ -435,20 +329,12 @@
"form-data": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-1.0.1.tgz",
"integrity": "sha1-rjFduaSQf6BlUCMEpm13M0de43w=",
"requires": {
"async": "2.5.0",
"combined-stream": "1.0.5",
"mime-types": "2.1.15"
}
"integrity": "sha1-rjFduaSQf6BlUCMEpm13M0de43w="
},
"formatio": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/formatio/-/formatio-1.2.0.tgz",
"integrity": "sha1-87IWfZBoxGmKjVH092CjmlTYGOs=",
"requires": {
"samsam": "1.2.1"
}
"integrity": "sha1-87IWfZBoxGmKjVH092CjmlTYGOs="
},
"formidable": {
"version": "1.1.1",
@ -478,10 +364,7 @@
"generate-object-property": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/generate-object-property/-/generate-object-property-1.2.0.tgz",
"integrity": "sha1-nA4cQDCM6AT0eDYYuTf6iPmdUNA=",
"requires": {
"is-property": "1.0.2"
}
"integrity": "sha1-nA4cQDCM6AT0eDYYuTf6iPmdUNA="
},
"get-func-name": {
"version": "2.0.0",
@ -492,9 +375,6 @@
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",
"integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=",
"requires": {
"assert-plus": "1.0.0"
},
"dependencies": {
"assert-plus": {
"version": "1.0.0",
@ -506,15 +386,12 @@
"glob": {
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.1.tgz",
"integrity": "sha1-gFIR3wT6rxxjo2ADBs31reULLsg=",
"requires": {
"fs.realpath": "1.0.0",
"inflight": "1.0.6",
"inherits": "2.0.3",
"minimatch": "3.0.4",
"once": "1.4.0",
"path-is-absolute": "1.0.1"
}
"integrity": "sha1-gFIR3wT6rxxjo2ADBs31reULLsg="
},
"graceful-readlink": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz",
"integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU="
},
"growl": {
"version": "1.9.2",
@ -524,41 +401,27 @@
"har-validator": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/har-validator/-/har-validator-2.0.6.tgz",
"integrity": "sha1-zcvAgYgmWtEZtqWnyKtw7s+10n0=",
"requires": {
"chalk": "1.1.3",
"commander": "2.11.0",
"is-my-json-valid": "2.16.0",
"pinkie-promise": "2.0.1"
}
"integrity": "sha1-zcvAgYgmWtEZtqWnyKtw7s+10n0="
},
"has-ansi": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",
"integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=",
"requires": {
"ansi-regex": "2.1.1"
}
"integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE="
},
"has-flag": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
"integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo="
},
"hash-base": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.0.4.tgz",
"integrity": "sha1-X8hoaEfs1zSZQDMZprCj8/auSRg=",
"requires": {
"inherits": "2.0.3",
"safe-buffer": "5.1.1"
}
"integrity": "sha1-X8hoaEfs1zSZQDMZprCj8/auSRg="
},
"hawk": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz",
"integrity": "sha1-B4REvXwWQLD+VA0sm3PVlnjo4cQ=",
"requires": {
"boom": "2.10.1",
"cryptiles": "2.0.5",
"hoek": "2.16.3",
"sntp": "1.0.9"
}
"integrity": "sha1-B4REvXwWQLD+VA0sm3PVlnjo4cQ="
},
"hoek": {
"version": "2.16.3",
@ -568,37 +431,17 @@
"http-errors": {
"version": "1.6.1",
"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.1.tgz",
"integrity": "sha1-X4uO2YrKVFZWv1cplzh/kEpyIlc=",
"requires": {
"depd": "1.1.0",
"inherits": "2.0.3",
"setprototypeof": "1.0.3",
"statuses": "1.3.1"
}
"integrity": "sha1-X4uO2YrKVFZWv1cplzh/kEpyIlc="
},
"http-signature": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz",
"integrity": "sha1-33LiZwZs0Kxn+3at+OE0qPvPkb8=",
"requires": {
"assert-plus": "0.2.0",
"jsprim": "1.4.0",
"sshpk": "1.13.1"
}
},
"https": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/https/-/https-1.0.0.tgz",
"integrity": "sha1-PDfHrhqO65ZpBKKtHpdaGUt+06Q="
"integrity": "sha1-33LiZwZs0Kxn+3at+OE0qPvPkb8="
},
"inflight": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
"requires": {
"once": "1.4.0",
"wrappy": "1.0.2"
}
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk="
},
"inherits": {
"version": "2.0.3",
@ -613,13 +456,7 @@
"is-my-json-valid": {
"version": "2.16.0",
"resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.16.0.tgz",
"integrity": "sha1-8Hndm/2uZe4gOKrorLyGqxCeNpM=",
"requires": {
"generate-function": "2.0.0",
"generate-object-property": "1.2.0",
"jsonpointer": "4.0.1",
"xtend": "4.0.1"
}
"integrity": "sha1-8Hndm/2uZe4gOKrorLyGqxCeNpM="
},
"is-property": {
"version": "1.0.2",
@ -650,18 +487,12 @@
"json-edm-parser": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/json-edm-parser/-/json-edm-parser-0.1.2.tgz",
"integrity": "sha1-HmCw/vG8CvZ7wNFG393lSGzWFbQ=",
"requires": {
"jsonparse": "1.2.0"
}
"integrity": "sha1-HmCw/vG8CvZ7wNFG393lSGzWFbQ="
},
"json-parser": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/json-parser/-/json-parser-1.1.5.tgz",
"integrity": "sha1-5i7FJh0aal/CDoEqMgdAxtkAVnc=",
"requires": {
"esprima": "2.7.3"
}
"integrity": "sha1-5i7FJh0aal/CDoEqMgdAxtkAVnc="
},
"json-schema": {
"version": "0.2.3",
@ -692,12 +523,6 @@
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.0.tgz",
"integrity": "sha1-o7h+QCmNjDgFUtjMdiigu5WiKRg=",
"requires": {
"assert-plus": "1.0.0",
"extsprintf": "1.0.2",
"json-schema": "0.2.3",
"verror": "1.3.6"
},
"dependencies": {
"assert-plus": {
"version": "1.0.0",
@ -714,11 +539,7 @@
"lodash._baseassign": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz",
"integrity": "sha1-jDigmVAPIVrQnlnxci/QxSv+Ck4=",
"requires": {
"lodash._basecopy": "3.0.1",
"lodash.keys": "3.1.2"
}
"integrity": "sha1-jDigmVAPIVrQnlnxci/QxSv+Ck4="
},
"lodash._basecopy": {
"version": "3.0.1",
@ -743,12 +564,7 @@
"lodash.create": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/lodash.create/-/lodash.create-3.1.1.tgz",
"integrity": "sha1-1/KEnw29p+BGgruM1yqwIkYd6+c=",
"requires": {
"lodash._baseassign": "3.2.0",
"lodash._basecreate": "3.0.3",
"lodash._isiterateecall": "3.0.9"
}
"integrity": "sha1-1/KEnw29p+BGgruM1yqwIkYd6+c="
},
"lodash.isarguments": {
"version": "3.1.0",
@ -763,12 +579,7 @@
"lodash.keys": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-3.1.2.tgz",
"integrity": "sha1-TbwEcrFWvlCgsoaFXRvQsMZWCYo=",
"requires": {
"lodash._getnative": "3.9.1",
"lodash.isarguments": "3.1.0",
"lodash.isarray": "3.0.4"
}
"integrity": "sha1-TbwEcrFWvlCgsoaFXRvQsMZWCYo="
},
"lolex": {
"version": "1.6.0",
@ -778,11 +589,7 @@
"md5.js": {
"version": "1.3.4",
"resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.4.tgz",
"integrity": "sha1-6b296UogpawYsENA/Fdk1bCdkB0=",
"requires": {
"hash-base": "3.0.4",
"inherits": "2.0.3"
}
"integrity": "sha1-6b296UogpawYsENA/Fdk1bCdkB0="
},
"media-typer": {
"version": "0.3.0",
@ -812,18 +619,12 @@
"mime-types": {
"version": "2.1.15",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.15.tgz",
"integrity": "sha1-pOv1BkCUVpI3uM9wBGd20J/JKu0=",
"requires": {
"mime-db": "1.27.0"
}
"integrity": "sha1-pOv1BkCUVpI3uM9wBGd20J/JKu0="
},
"minimatch": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
"requires": {
"brace-expansion": "1.1.8"
}
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA=="
},
"minimist": {
"version": "0.0.8",
@ -833,51 +634,22 @@
"mkdirp": {
"version": "0.5.1",
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
"integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
"requires": {
"minimist": "0.0.8"
}
"integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM="
},
"mocha": {
"version": "3.4.2",
"resolved": "https://registry.npmjs.org/mocha/-/mocha-3.4.2.tgz",
"integrity": "sha1-0O9NMyEm2/GNDWQMmzgt1IvpdZQ=",
"requires": {
"browser-stdout": "1.3.0",
"commander": "2.9.0",
"debug": "2.6.0",
"diff": "3.2.0",
"escape-string-regexp": "1.0.5",
"glob": "7.1.1",
"growl": "1.9.2",
"json3": "3.3.2",
"lodash.create": "3.1.1",
"mkdirp": "0.5.1",
"supports-color": "3.1.2"
},
"dependencies": {
"commander": {
"version": "2.9.0",
"resolved": "https://registry.npmjs.org/commander/-/commander-2.9.0.tgz",
"integrity": "sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q=",
"requires": {
"graceful-readlink": "1.0.1"
},
"dependencies": {
"graceful-readlink": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz",
"integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU="
}
}
"integrity": "sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q="
},
"debug": {
"version": "2.6.0",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.0.tgz",
"integrity": "sha1-vFlryr52F/Edn6FTYe3tVgi4SZs=",
"requires": {
"ms": "0.7.2"
}
"integrity": "sha1-vFlryr52F/Edn6FTYe3tVgi4SZs="
},
"ms": {
"version": "0.7.2",
@ -887,17 +659,7 @@
"supports-color": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.1.2.tgz",
"integrity": "sha1-cqJiiU2dQIuVbKBf83su2KbiotU=",
"requires": {
"has-flag": "1.0.0"
},
"dependencies": {
"has-flag": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
"integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo="
}
}
"integrity": "sha1-cqJiiU2dQIuVbKBf83su2KbiotU="
}
}
},
@ -934,18 +696,12 @@
"on-finished": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
"integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=",
"requires": {
"ee-first": "1.1.1"
}
"integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc="
},
"once": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
"requires": {
"wrappy": "1.0.2"
}
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E="
},
"parseurl": {
"version": "1.3.1",
@ -975,10 +731,7 @@
"pinkie-promise": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz",
"integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=",
"requires": {
"pinkie": "2.0.4"
}
"integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o="
},
"process-nextick-args": {
"version": "1.0.7",
@ -988,11 +741,7 @@
"proxy-addr": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-1.1.4.tgz",
"integrity": "sha1-J+VF9pYKRKYn2bREZ+NcG2tM4vM=",
"requires": {
"forwarded": "0.1.0",
"ipaddr.js": "1.3.0"
}
"integrity": "sha1-J+VF9pYKRKYn2bREZ+NcG2tM4vM="
},
"punycode": {
"version": "1.4.1",
@ -1007,11 +756,7 @@
"query-string": {
"version": "4.3.4",
"resolved": "https://registry.npmjs.org/query-string/-/query-string-4.3.4.tgz",
"integrity": "sha1-u7aTucqRXCMlFbIosaArYJBD2+s=",
"requires": {
"object-assign": "4.1.1",
"strict-uri-encode": "1.1.0"
}
"integrity": "sha1-u7aTucqRXCMlFbIosaArYJBD2+s="
},
"range-parser": {
"version": "1.2.0",
@ -1021,15 +766,7 @@
"readable-stream": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.6.tgz",
"integrity": "sha1-j5A0HmilPMySh4jaz80Rs265t44=",
"requires": {
"core-util-is": "1.0.2",
"inherits": "2.0.3",
"isarray": "1.0.0",
"process-nextick-args": "1.0.7",
"string_decoder": "0.10.31",
"util-deprecate": "1.0.2"
}
"integrity": "sha1-j5A0HmilPMySh4jaz80Rs265t44="
},
"reflect-metadata": {
"version": "0.1.10",
@ -1040,29 +777,6 @@
"version": "2.74.0",
"resolved": "https://registry.npmjs.org/request/-/request-2.74.0.tgz",
"integrity": "sha1-dpPKdou7DqXIzgjAhKRe+gW4kqs=",
"requires": {
"aws-sign2": "0.6.0",
"aws4": "1.6.0",
"bl": "1.1.2",
"caseless": "0.11.0",
"combined-stream": "1.0.5",
"extend": "3.0.1",
"forever-agent": "0.6.1",
"form-data": "1.0.1",
"har-validator": "2.0.6",
"hawk": "3.1.3",
"http-signature": "1.1.1",
"is-typedarray": "1.0.0",
"isstream": "0.1.2",
"json-stringify-safe": "5.0.1",
"mime-types": "2.1.15",
"node-uuid": "1.4.8",
"oauth-sign": "0.8.2",
"qs": "6.2.3",
"stringstream": "0.0.5",
"tough-cookie": "2.3.2",
"tunnel-agent": "0.4.3"
},
"dependencies": {
"extend": {
"version": "3.0.1",
@ -1094,41 +808,17 @@
"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.0",
"destroy": "1.0.4",
"encodeurl": "1.0.1",
"escape-html": "1.0.3",
"etag": "1.8.0",
"fresh": "0.5.0",
"http-errors": "1.6.1",
"mime": "1.3.4",
"ms": "2.0.0",
"on-finished": "2.3.0",
"range-parser": "1.2.0",
"statuses": "1.3.1"
}
"integrity": "sha1-UBP5+ZAj31DRvZiSwZ4979HVMwk="
},
"serializer.ts": {
"version": "0.0.12",
"resolved": "https://registry.npmjs.org/serializer.ts/-/serializer.ts-0.0.12.tgz",
"integrity": "sha1-wosgzRzAo1nkeQg7ieXmuY8D5Os=",
"requires": {
"reflect-metadata": "0.1.10"
}
"integrity": "sha1-wosgzRzAo1nkeQg7ieXmuY8D5Os="
},
"serve-static": {
"version": "1.12.3",
"resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.12.3.tgz",
"integrity": "sha1-n0uhni8wMMVH+K+ZEHg47DjVseI=",
"requires": {
"encodeurl": "1.0.1",
"escape-html": "1.0.3",
"parseurl": "1.3.1",
"send": "0.15.3"
}
"integrity": "sha1-n0uhni8wMMVH+K+ZEHg47DjVseI="
},
"setprototypeof": {
"version": "1.0.3",
@ -1139,16 +829,6 @@
"version": "2.3.8",
"resolved": "https://registry.npmjs.org/sinon/-/sinon-2.3.8.tgz",
"integrity": "sha1-Md4G/tj7o6Zx5XbdltClhjeW8lw=",
"requires": {
"diff": "3.2.0",
"formatio": "1.2.0",
"lolex": "1.6.0",
"native-promise-only": "0.8.1",
"path-to-regexp": "1.7.0",
"samsam": "1.2.1",
"text-encoding": "0.6.4",
"type-detect": "4.0.3"
},
"dependencies": {
"isarray": {
"version": "0.0.1",
@ -1158,35 +838,19 @@
"path-to-regexp": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.7.0.tgz",
"integrity": "sha1-Wf3g9DW62suhA6hOnTvGTpa5k30=",
"requires": {
"isarray": "0.0.1"
}
"integrity": "sha1-Wf3g9DW62suhA6hOnTvGTpa5k30="
}
}
},
"sntp": {
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz",
"integrity": "sha1-ZUEYTMkK7qbG57NeJlkIJEPGYZg=",
"requires": {
"hoek": "2.16.3"
}
"integrity": "sha1-ZUEYTMkK7qbG57NeJlkIJEPGYZg="
},
"sshpk": {
"version": "1.13.1",
"resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.13.1.tgz",
"integrity": "sha1-US322mKHFEMW3EwY/hzx2UBzm+M=",
"requires": {
"asn1": "0.2.3",
"assert-plus": "1.0.0",
"bcrypt-pbkdf": "1.0.1",
"dashdash": "1.14.1",
"ecc-jsbn": "0.1.1",
"getpass": "0.1.7",
"jsbn": "0.1.1",
"tweetnacl": "0.14.5"
},
"dependencies": {
"assert-plus": {
"version": "1.0.0",
@ -1228,27 +892,12 @@
"strip-ansi": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
"integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
"requires": {
"ansi-regex": "2.1.1"
}
"integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8="
},
"superagent": {
"version": "3.5.2",
"resolved": "https://registry.npmjs.org/superagent/-/superagent-3.5.2.tgz",
"integrity": "sha1-M2GjlxVnUEw1EGOr6q4PqiPb8/g=",
"requires": {
"component-emitter": "1.2.1",
"cookiejar": "2.1.1",
"debug": "2.6.7",
"extend": "3.0.1",
"form-data": "2.2.0",
"formidable": "1.1.1",
"methods": "1.1.2",
"mime": "1.3.4",
"qs": "6.2.3",
"readable-stream": "2.0.6"
},
"dependencies": {
"extend": {
"version": "3.0.1",
@ -1258,23 +907,14 @@
"form-data": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-2.2.0.tgz",
"integrity": "sha1-ml47kpX5gLJiPPZPojixTOvKcHs=",
"requires": {
"asynckit": "0.4.0",
"combined-stream": "1.0.5",
"mime-types": "2.1.15"
}
"integrity": "sha1-ml47kpX5gLJiPPZPojixTOvKcHs="
}
}
},
"supertest": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/supertest/-/supertest-3.0.0.tgz",
"integrity": "sha1-jUu2j9GDDuBwM7HFpamkAhyWUpY=",
"requires": {
"methods": "1.1.2",
"superagent": "3.5.2"
}
"integrity": "sha1-jUu2j9GDDuBwM7HFpamkAhyWUpY="
},
"supports-color": {
"version": "2.0.0",
@ -1289,10 +929,7 @@
"tough-cookie": {
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.2.tgz",
"integrity": "sha1-8IH3bkyFcg5sN6X6ztc3FQ2EByo=",
"requires": {
"punycode": "1.4.1"
}
"integrity": "sha1-8IH3bkyFcg5sN6X6ztc3FQ2EByo="
},
"tunnel-agent": {
"version": "0.4.3",
@ -1313,11 +950,7 @@
"type-is": {
"version": "1.6.15",
"resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.15.tgz",
"integrity": "sha1-yrEPtJCeRByChC6v4a1kbIGARBA=",
"requires": {
"media-typer": "0.3.0",
"mime-types": "2.1.15"
}
"integrity": "sha1-yrEPtJCeRByChC6v4a1kbIGARBA="
},
"typescript": {
"version": "2.4.1",
@ -1363,23 +996,12 @@
"verror": {
"version": "1.3.6",
"resolved": "https://registry.npmjs.org/verror/-/verror-1.3.6.tgz",
"integrity": "sha1-z/XfEpRtKX0rqu+qJoniW+AcAFw=",
"requires": {
"extsprintf": "1.0.2"
}
"integrity": "sha1-z/XfEpRtKX0rqu+qJoniW+AcAFw="
},
"winston": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/winston/-/winston-2.3.1.tgz",
"integrity": "sha1-C0hCDZeMAYBM8CMLZIhhWYIloRk=",
"requires": {
"async": "1.0.0",
"colors": "1.0.3",
"cycle": "1.0.3",
"eyes": "0.1.8",
"isstream": "0.1.2",
"stack-trace": "0.0.10"
},
"dependencies": {
"async": {
"version": "1.0.0",
@ -1396,10 +1018,7 @@
"xml2js": {
"version": "0.2.7",
"resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.2.7.tgz",
"integrity": "sha1-GDhRi7AXQcrgh4urSRXklMMjBq8=",
"requires": {
"sax": "0.5.2"
}
"integrity": "sha1-GDhRi7AXQcrgh4urSRXklMMjBq8="
},
"xmlbuilder": {
"version": "0.4.3",

Просмотреть файл

@ -46,8 +46,6 @@ export function start(listenPort: number, listenPortSSL: number, sslKeyLocation:
responseObj.setHeader('Pragma', 'no-cache');
responseObj.statusCode = 200;
responseObj.end(responseBytes);
Logger.Instance().Log('info', 'response success');
}
function setConfigFromArgs(listenPort: number, listenPortSSL: number, sslKeyLocation: string, sslCertLocation: string, injectJavascript: string, cacheLifetime: number, queryParamsToIgnore: string, azureStorageAccountName: string,
@ -111,10 +109,6 @@ export function start(listenPort: number, listenPortSSL: number, sslKeyLocation:
response.end();
}
else {
Logger.Instance().Log('info', 'request received');
var harFileName: string = getHarFileNameFromHeaders(request);
if (!harFileName) {
var originIPAddress: string = request.ip;
@ -170,7 +164,6 @@ export function start(listenPort: number, listenPortSSL: number, sslKeyLocation:
function sendErrorResponse(response) {
response.statusCode = 404;
response.end();
Logger.Instance().Log('info', 'response error');
}
function getHarFileNameFromUrlParams(url: string): string {