зеркало из
1
0
Форкнуть 0

Merge pull request #162 from amarzavery/upmsrest

EPH: Bumping minimum version of @azure/event-hubs to "1.0.4".
This commit is contained in:
Amar Zavery 2018-09-26 20:59:54 -07:00 коммит произвёл GitHub
Родитель 1c10d0391f 04464c6370
Коммит 02c762be07
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 152 добавлений и 114 удалений

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

@ -1,3 +1,6 @@
## 2018-09-25 1.0.4
- Bumping minimum version of @azure/event-hubs to "1.0.4".
## 2018-09-25 1.0.3
- Ensures that amqp:link-stolen errors are not notified to the customer, since they are expected errors that
happen during lease stealing or expiration as a part of load balancing.

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

@ -28,5 +28,5 @@ export const leaseIdMismatchWithBlobOperation = "leaseidmismatchwithbloboperatio
export const userAgentPrefix = "/js-event-processor-host";
export const packageInfo = {
name: "@azure/event-processor-host",
version: "1.0.2"
version: "1.0.4"
};

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

@ -1,18 +1,17 @@
{
"name": "@azure/event-processor-host",
"version": "1.0.3",
"version": "1.0.4",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@azure/event-hubs": {
"version": "1.0.3",
"version": "1.0.4",
"requires": {
"async-lock": "^1.1.3",
"debug": "^3.1.0",
"is-buffer": "2.0.2",
"jssha": "^2.3.1",
"ms-rest": "^2.3.6",
"ms-rest-azure": "^2.5.7",
"ms-rest-azure": "^2.5.9",
"rhea": "^0.3.1",
"tslib": "^1.9.3",
"uuid": "^3.3.2"
@ -112,7 +111,7 @@
"bundled": true
},
"@types/chai": {
"version": "4.1.4",
"version": "4.1.5",
"bundled": true
},
"@types/chai-as-promised": {
@ -138,11 +137,11 @@
"bundled": true
},
"@types/node": {
"version": "8.10.21",
"version": "8.10.30",
"bundled": true
},
"@types/uuid": {
"version": "3.4.3",
"version": "3.4.4",
"bundled": true,
"requires": {
"@types/node": "*"
@ -196,8 +195,11 @@
"bundled": true
},
"asn1": {
"version": "0.2.3",
"bundled": true
"version": "0.2.4",
"bundled": true,
"requires": {
"safer-buffer": "~2.1.0"
}
},
"assert-plus": {
"version": "1.0.0",
@ -227,7 +229,7 @@
"bundled": true
},
"aws4": {
"version": "1.7.0",
"version": "1.8.0",
"bundled": true
},
"babel-code-frame": {
@ -301,15 +303,15 @@
"bundled": true
},
"chai": {
"version": "4.1.2",
"version": "4.2.0",
"bundled": true,
"requires": {
"assertion-error": "^1.0.1",
"check-error": "^1.0.1",
"deep-eql": "^3.0.0",
"assertion-error": "^1.1.0",
"check-error": "^1.0.2",
"deep-eql": "^3.0.1",
"get-func-name": "^2.0.0",
"pathval": "^1.0.0",
"type-detect": "^4.0.0"
"pathval": "^1.1.0",
"type-detect": "^4.0.5"
}
},
"chai-as-promised": {
@ -337,18 +339,18 @@
"bundled": true
},
"color-convert": {
"version": "1.9.2",
"version": "1.9.3",
"bundled": true,
"requires": {
"color-name": "1.1.1"
"color-name": "1.1.3"
}
},
"color-name": {
"version": "1.1.1",
"version": "1.1.3",
"bundled": true
},
"combined-stream": {
"version": "1.0.6",
"version": "1.0.7",
"bundled": true,
"requires": {
"delayed-stream": "~1.0.0"
@ -378,10 +380,10 @@
"bundled": true
},
"debug": {
"version": "3.1.0",
"version": "3.2.5",
"bundled": true,
"requires": {
"ms": "2.0.0"
"ms": "^2.1.1"
}
},
"deep-eql": {
@ -408,11 +410,12 @@
"bundled": true
},
"ecc-jsbn": {
"version": "0.1.1",
"version": "0.1.2",
"bundled": true,
"optional": true,
"requires": {
"jsbn": "~0.1.0"
"jsbn": "~0.1.0",
"safer-buffer": "^2.1.0"
}
},
"ecdsa-sig-formatter": {
@ -435,7 +438,7 @@
"bundled": true
},
"extend": {
"version": "3.0.1",
"version": "3.0.2",
"bundled": true
},
"extsprintf": {
@ -461,6 +464,15 @@
"asynckit": "^0.4.0",
"combined-stream": "1.0.6",
"mime-types": "^2.1.12"
},
"dependencies": {
"combined-stream": {
"version": "1.0.6",
"bundled": true,
"requires": {
"delayed-stream": "~1.0.0"
}
}
}
},
"fs.realpath": {
@ -503,10 +515,10 @@
"bundled": true
},
"har-validator": {
"version": "5.0.3",
"version": "5.1.0",
"bundled": true,
"requires": {
"ajv": "^5.1.0",
"ajv": "^5.3.0",
"har-schema": "^2.0.0"
}
},
@ -574,7 +586,7 @@
"bundled": true
},
"istanbul-lib-instrument": {
"version": "2.3.1",
"version": "2.3.2",
"bundled": true,
"requires": {
"@babel/generator": "7.0.0-beta.51",
@ -651,7 +663,7 @@
}
},
"lodash": {
"version": "4.17.10",
"version": "4.17.11",
"bundled": true
},
"loose-envify": {
@ -662,18 +674,18 @@
}
},
"make-error": {
"version": "1.3.4",
"version": "1.3.5",
"bundled": true
},
"mime-db": {
"version": "1.33.0",
"version": "1.36.0",
"bundled": true
},
"mime-types": {
"version": "2.1.18",
"version": "2.1.20",
"bundled": true,
"requires": {
"mime-db": "~1.33.0"
"mime-db": "~1.36.0"
}
},
"minimatch": {
@ -709,6 +721,19 @@
"minimatch": "3.0.4",
"mkdirp": "0.5.1",
"supports-color": "5.4.0"
},
"dependencies": {
"debug": {
"version": "3.1.0",
"bundled": true,
"requires": {
"ms": "2.0.0"
}
},
"ms": {
"version": "2.0.0",
"bundled": true
}
}
},
"moment": {
@ -716,18 +741,18 @@
"bundled": true
},
"ms": {
"version": "2.0.0",
"version": "2.1.1",
"bundled": true
},
"ms-rest": {
"version": "2.3.6",
"version": "2.3.7",
"bundled": true,
"requires": {
"duplexer": "^0.1.1",
"is-buffer": "^1.1.6",
"is-stream": "^1.1.0",
"moment": "^2.21.0",
"request": "^2.87.0",
"request": "^2.88.0",
"through": "^2.3.8",
"tunnel": "0.0.5",
"uuid": "^3.2.1"
@ -740,13 +765,14 @@
}
},
"ms-rest-azure": {
"version": "2.5.7",
"version": "2.5.9",
"bundled": true,
"requires": {
"adal-node": "^0.1.28",
"async": "2.6.0",
"moment": "^2.22.2",
"ms-rest": "^2.3.2",
"request": "^2.88.0",
"uuid": "^3.2.1"
}
},
@ -2546,7 +2572,7 @@
}
},
"oauth-sign": {
"version": "0.8.2",
"version": "0.9.0",
"bundled": true
},
"once": {
@ -2561,7 +2587,7 @@
"bundled": true
},
"path-parse": {
"version": "1.0.5",
"version": "1.0.6",
"bundled": true
},
"pathval": {
@ -2572,6 +2598,10 @@
"version": "2.1.0",
"bundled": true
},
"psl": {
"version": "1.1.29",
"bundled": true
},
"punycode": {
"version": "1.4.1",
"bundled": true
@ -2581,29 +2611,29 @@
"bundled": true
},
"request": {
"version": "2.87.0",
"version": "2.88.0",
"bundled": true,
"requires": {
"aws-sign2": "~0.7.0",
"aws4": "^1.6.0",
"aws4": "^1.8.0",
"caseless": "~0.12.0",
"combined-stream": "~1.0.5",
"extend": "~3.0.1",
"combined-stream": "~1.0.6",
"extend": "~3.0.2",
"forever-agent": "~0.6.1",
"form-data": "~2.3.1",
"har-validator": "~5.0.3",
"form-data": "~2.3.2",
"har-validator": "~5.1.0",
"http-signature": "~1.2.0",
"is-typedarray": "~1.0.0",
"isstream": "~0.1.2",
"json-stringify-safe": "~5.0.1",
"mime-types": "~2.1.17",
"oauth-sign": "~0.8.2",
"mime-types": "~2.1.19",
"oauth-sign": "~0.9.0",
"performance-now": "^2.1.0",
"qs": "~6.5.1",
"safe-buffer": "^5.1.1",
"tough-cookie": "~2.3.3",
"qs": "~6.5.2",
"safe-buffer": "^5.1.2",
"tough-cookie": "~2.4.3",
"tunnel-agent": "^0.6.0",
"uuid": "^3.1.0"
"uuid": "^3.3.2"
}
},
"resolve": {
@ -2614,10 +2644,10 @@
}
},
"rhea": {
"version": "0.3.1",
"version": "0.3.2",
"bundled": true,
"requires": {
"debug": ">=0.8.0"
"debug": "0.8.0 - 3.5.0"
}
},
"safe-buffer": {
@ -2629,7 +2659,7 @@
"bundled": true
},
"semver": {
"version": "5.5.0",
"version": "5.5.1",
"bundled": true
},
"source-map": {
@ -2637,7 +2667,7 @@
"bundled": true
},
"source-map-support": {
"version": "0.5.6",
"version": "0.5.9",
"bundled": true,
"requires": {
"buffer-from": "^1.0.0",
@ -2692,9 +2722,10 @@
"bundled": true
},
"tough-cookie": {
"version": "2.3.4",
"version": "2.4.3",
"bundled": true,
"requires": {
"psl": "^1.1.24",
"punycode": "^1.4.1"
}
},
@ -2745,7 +2776,7 @@
}
},
"tsutils": {
"version": "2.28.0",
"version": "2.29.0",
"bundled": true,
"requires": {
"tslib": "^1.8.1"
@ -2772,7 +2803,7 @@
"bundled": true
},
"typescript": {
"version": "3.0.1",
"version": "3.0.3",
"bundled": true
},
"underscore": {
@ -2817,9 +2848,9 @@
"dev": true
},
"@types/chai": {
"version": "4.1.4",
"resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.1.4.tgz",
"integrity": "sha512-h6+VEw2Vr3ORiFCyyJmcho2zALnUq9cvdB/IO8Xs9itrJVCenC7o26A6+m7D0ihTTr65eS259H5/Ghl/VjYs6g==",
"version": "4.1.5",
"resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.1.5.tgz",
"integrity": "sha512-nyzJ08qQMY4umgXD6SzbLflQucEnoAf2H5iUxPX5t0euDgXDV+bFTJlEmEepM35/2l07jYHdAfP6YEndeTWM0w==",
"dev": true
},
"@types/chai-as-promised": {
@ -2853,9 +2884,9 @@
"dev": true
},
"@types/node": {
"version": "8.10.29",
"resolved": "https://registry.npmjs.org/@types/node/-/node-8.10.29.tgz",
"integrity": "sha512-zbteaWZ2mdduacm0byELwtRyhYE40aK+pAanQk415gr1eRuu67x7QGOLmn8jz5zI8LDK7d0WI/oT6r5Trz4rzQ=="
"version": "8.10.30",
"resolved": "https://registry.npmjs.org/@types/node/-/node-8.10.30.tgz",
"integrity": "sha512-Le8HGMI5gjFSBqcCuKP/wfHC19oURzkU2D+ERIescUoJd+CmNEMYBib9LQ4zj1HHEZOJQWhw2ZTnbD8weASh/Q=="
},
"@types/uuid": {
"version": "3.4.4",
@ -2983,18 +3014,6 @@
"validator": "~9.4.1",
"xml2js": "0.2.8",
"xmlbuilder": "0.4.3"
},
"dependencies": {
"extend": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/extend/-/extend-1.2.1.tgz",
"integrity": "sha1-oPX9bPyDpf5J72mNYOyKYk3UV2w="
},
"underscore": {
"version": "1.8.3",
"resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz",
"integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI="
}
}
},
"babel-code-frame": {
@ -3088,17 +3107,17 @@
"integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw="
},
"chai": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chai/-/chai-4.1.2.tgz",
"integrity": "sha1-D2RYS6ZC8PKs4oBiefTwbKI61zw=",
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/chai/-/chai-4.2.0.tgz",
"integrity": "sha512-XQU3bhBukrOsQCuwZndwGcCVQHyZi53fQ6Ys1Fym7E4olpIqqZZhhoFJoaKVvV17lWQoXYwgWN2nF5crA8J2jw==",
"dev": true,
"requires": {
"assertion-error": "^1.0.1",
"check-error": "^1.0.1",
"deep-eql": "^3.0.0",
"assertion-error": "^1.1.0",
"check-error": "^1.0.2",
"deep-eql": "^3.0.1",
"get-func-name": "^2.0.0",
"pathval": "^1.0.0",
"type-detect": "^4.0.0"
"pathval": "^1.1.0",
"type-detect": "^4.0.5"
}
},
"chai-as-promised": {
@ -3159,9 +3178,9 @@
"dev": true
},
"combined-stream": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.6.tgz",
"integrity": "sha1-cj599ugBrFYTETp+RFqbactjKBg=",
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz",
"integrity": "sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==",
"requires": {
"delayed-stream": "~1.0.0"
}
@ -3226,7 +3245,7 @@
},
"dotenv": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-5.0.1.tgz",
"resolved": "http://registry.npmjs.org/dotenv/-/dotenv-5.0.1.tgz",
"integrity": "sha512-4As8uPrjfwb7VXC+WnLCbXK7y+Ueb2B3zgNCePYfhxS1PYeaO1YTeplffTEcbfLhvFNGLAz90VvJs9yomG7bow==",
"dev": true
},
@ -3272,9 +3291,9 @@
"dev": true
},
"extend": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
"integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/extend/-/extend-1.2.1.tgz",
"integrity": "sha1-oPX9bPyDpf5J72mNYOyKYk3UV2w="
},
"extsprintf": {
"version": "1.3.0",
@ -3304,6 +3323,16 @@
"asynckit": "^0.4.0",
"combined-stream": "1.0.6",
"mime-types": "^2.1.12"
},
"dependencies": {
"combined-stream": {
"version": "1.0.6",
"resolved": "http://registry.npmjs.org/combined-stream/-/combined-stream-1.0.6.tgz",
"integrity": "sha1-cj599ugBrFYTETp+RFqbactjKBg=",
"requires": {
"delayed-stream": "~1.0.0"
}
}
}
},
"fs.realpath": {
@ -3415,6 +3444,11 @@
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
},
"is-buffer": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="
},
"is-stream": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
@ -3619,36 +3653,30 @@
"integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg=="
},
"ms-rest": {
"version": "2.3.6",
"resolved": "https://registry.npmjs.org/ms-rest/-/ms-rest-2.3.6.tgz",
"integrity": "sha512-M+Lx9P7Wy4TeAk7jqPLwGS1QS1gvxF6Xo+OHv5j1g3Kcb44T/GTUuSjxTKarF6aKyeacZH1ZD++Nt7pcql7dDA==",
"version": "2.3.7",
"resolved": "https://registry.npmjs.org/ms-rest/-/ms-rest-2.3.7.tgz",
"integrity": "sha512-zZwuckC/Uv8F1Jr1bW+U1tsDTErWhtH6W4mpxvRrta4YrKwkFeLMt53RsaDOWTqMFsVpjNuCfznV1uxeGUF3/g==",
"requires": {
"duplexer": "^0.1.1",
"is-buffer": "^1.1.6",
"is-stream": "^1.1.0",
"moment": "^2.21.0",
"request": "^2.87.0",
"request": "^2.88.0",
"through": "^2.3.8",
"tunnel": "0.0.5",
"uuid": "^3.2.1"
},
"dependencies": {
"is-buffer": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="
}
}
},
"ms-rest-azure": {
"version": "2.5.7",
"resolved": "https://registry.npmjs.org/ms-rest-azure/-/ms-rest-azure-2.5.7.tgz",
"integrity": "sha512-e4lgB0z29Dx4ufu/c+PmEAYY1WXq98GYUBkE+iRx7WsxsN04lrM3B1vj8y+B8rKt7clPUE0niqB9VovVL8zvag==",
"version": "2.5.9",
"resolved": "https://registry.npmjs.org/ms-rest-azure/-/ms-rest-azure-2.5.9.tgz",
"integrity": "sha512-qonobzWLS7Jl6qwgTuA/SfyCtnv7olvCRKrcF8nzXSj68ds4Oj3K64ntzgQajroKa0hKVMcPUFbTk1IYMGvu8w==",
"requires": {
"adal-node": "^0.1.28",
"async": "2.6.0",
"moment": "^2.22.2",
"ms-rest": "^2.3.2",
"request": "^2.88.0",
"uuid": "^3.2.1"
}
},
@ -3752,6 +3780,13 @@
"tough-cookie": "~2.4.3",
"tunnel-agent": "^0.6.0",
"uuid": "^3.3.2"
},
"dependencies": {
"extend": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
"integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
}
}
},
"resolve": {
@ -3949,9 +3984,9 @@
"dev": true
},
"underscore": {
"version": "1.9.1",
"resolved": "https://registry.npmjs.org/underscore/-/underscore-1.9.1.tgz",
"integrity": "sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg=="
"version": "1.8.3",
"resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz",
"integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI="
},
"util-deprecate": {
"version": "1.0.2",

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

@ -1,13 +1,13 @@
{
"name": "@azure/event-processor-host",
"version": "1.0.3",
"version": "1.0.4",
"description": "Azure Event Processor Host (Event Hubs) SDK for JS.",
"author": "Microsoft Corporation",
"license": "MIT",
"main": "./dist/lib/index.js",
"types": "./typings/lib/index.d.ts",
"dependencies": {
"@azure/event-hubs": "^1.0.3",
"@azure/event-hubs": "^1.0.4",
"azure-storage": "^2.10.1",
"async-lock": "^1.1.3",
"debug": "^3.1.0",
@ -38,7 +38,7 @@
"tsc": "tsc",
"build": "npm run tslint && npm run tsc",
"test": "npm run build",
"unit": "mocha -r ts-node/register -t 50000 ./tests/**/*.spec.ts --abort-on-uncaught-exception",
"unit": "mocha -r ts-node/register -t 50000 ./tests/**/*.spec.ts --exit",
"prepare": "npm run build"
},
"homepage": "https://github.com/Azure/azure-event-hubs-node/tree/master/processor",

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

@ -43,7 +43,7 @@ describe("EPH", function () {
}
);
const context = host["_context"];
const ua = "/js-event-processor-host=1.0.2";
const ua = "/js-event-processor-host=1.0.4";
context.userAgent.should.equal(ua);
const ehc: EventHubClient = context.getEventHubClient();
const properties = ehc["_context"].connection.options.properties;
@ -65,7 +65,7 @@ describe("EPH", function () {
}
);
const context = host["_context"];
const ua = "/js-event-processor-host=1.0.2";
const ua = "/js-event-processor-host=1.0.4";
context.userAgent.should.equal(`${ua},${customua}`);
const ehc: EventHubClient = context.getEventHubClient();
const properties = ehc["_context"].connection.options.properties;