@codefresh-io/eventbus 2.0.0-test.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/Store.js +2 -0
- package/package.json +4 -3
- package/yarn.lock +19 -31
package/lib/Store.js
CHANGED
|
@@ -22,6 +22,7 @@ class Store extends EventEmitter {
|
|
|
22
22
|
this.user = options.user;
|
|
23
23
|
this.password = options.password;
|
|
24
24
|
this.port = options.port;
|
|
25
|
+
this.ssl = options.ssl;
|
|
25
26
|
this.readyPromise = new Promise((resolve, reject) => {
|
|
26
27
|
this.readyDeferred = {
|
|
27
28
|
resolve: () => {
|
|
@@ -50,6 +51,7 @@ class Store extends EventEmitter {
|
|
|
50
51
|
port: this.port,
|
|
51
52
|
max: 10,
|
|
52
53
|
idleTimeoutMillis: 30000, // how long a client is allowed to remain idle before being closed
|
|
54
|
+
ssl: this.ssl,
|
|
53
55
|
};
|
|
54
56
|
this.pool = new pg.Pool(config);
|
|
55
57
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codefresh-io/eventbus",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"cf-errors": "^0.1.16",
|
|
23
23
|
"debug": "2.6.9",
|
|
24
24
|
"lodash": "^4.17.21",
|
|
25
|
-
"pg": "8.11.1",
|
|
25
|
+
"pg": "^8.11.1",
|
|
26
26
|
"pg-cursor": "^1.2.0",
|
|
27
27
|
"uuid": "^3.0.1"
|
|
28
28
|
},
|
|
@@ -47,5 +47,6 @@
|
|
|
47
47
|
"run-sequence": "^1.1.0",
|
|
48
48
|
"sinon": "^1.15.4",
|
|
49
49
|
"sinon-chai": "^2.8.0"
|
|
50
|
-
}
|
|
50
|
+
},
|
|
51
|
+
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
51
52
|
}
|
package/yarn.lock
CHANGED
|
@@ -330,11 +330,6 @@ buffer-shims@^1.0.0:
|
|
|
330
330
|
version "1.0.0"
|
|
331
331
|
resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51"
|
|
332
332
|
|
|
333
|
-
buffer-writer@2.0.0:
|
|
334
|
-
version "2.0.0"
|
|
335
|
-
resolved "https://registry.yarnpkg.com/buffer-writer/-/buffer-writer-2.0.0.tgz#ce7eb81a38f7829db09c873f2fbb792c0c98ec04"
|
|
336
|
-
integrity sha512-a7ZpuTZU1TRtnwyCNW3I5dc0wWNC3VR9S++Ewyk2HHZdrO3CQJqSpd+95Us590V6AL7JqUAH2IwZ/398PmNFgw==
|
|
337
|
-
|
|
338
333
|
camelcase@^1.0.2:
|
|
339
334
|
version "1.2.1"
|
|
340
335
|
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-1.2.1.tgz#9bb5304d2e0b56698b2c758b08a3eaa9daa58a39"
|
|
@@ -2231,11 +2226,6 @@ package-json@^1.0.0:
|
|
|
2231
2226
|
got "^3.2.0"
|
|
2232
2227
|
registry-url "^3.0.0"
|
|
2233
2228
|
|
|
2234
|
-
packet-reader@1.0.0:
|
|
2235
|
-
version "1.0.0"
|
|
2236
|
-
resolved "https://registry.yarnpkg.com/packet-reader/-/packet-reader-1.0.0.tgz#9238e5480dedabacfe1fe3f2771063f164157d74"
|
|
2237
|
-
integrity sha512-HAKu/fG3HpHFO0AA8WE8q2g+gBJaZ9MG7fcKk+IJPLTGAD6Psw4443l+9DGRbOIh3/aXr7Phy0TjilYivJo5XQ==
|
|
2238
|
-
|
|
2239
2229
|
parse-filepath@^1.0.1:
|
|
2240
2230
|
version "1.0.1"
|
|
2241
2231
|
resolved "https://registry.yarnpkg.com/parse-filepath/-/parse-filepath-1.0.1.tgz#159d6155d43904d16c10ef698911da1e91969b73"
|
|
@@ -2282,10 +2272,10 @@ pg-cloudflare@^1.1.1:
|
|
|
2282
2272
|
resolved "https://registry.yarnpkg.com/pg-cloudflare/-/pg-cloudflare-1.1.1.tgz#e6d5833015b170e23ae819e8c5d7eaedb472ca98"
|
|
2283
2273
|
integrity sha512-xWPagP/4B6BgFO+EKz3JONXv3YDgvkbVrGw2mTo3D6tVDQRh1e7cqVGvyR3BE+eQgAvx1XhW/iEASj4/jCWl3Q==
|
|
2284
2274
|
|
|
2285
|
-
pg-connection-string@^2.
|
|
2286
|
-
version "2.
|
|
2287
|
-
resolved "https://registry.yarnpkg.com/pg-connection-string/-/pg-connection-string-2.
|
|
2288
|
-
integrity sha512-
|
|
2275
|
+
pg-connection-string@^2.7.0:
|
|
2276
|
+
version "2.7.0"
|
|
2277
|
+
resolved "https://registry.yarnpkg.com/pg-connection-string/-/pg-connection-string-2.7.0.tgz#f1d3489e427c62ece022dba98d5262efcb168b37"
|
|
2278
|
+
integrity sha512-PI2W9mv53rXJQEOb8xNR8lH7Hr+EKa6oJa38zsK0S/ky2er16ios1wLKhZyxzD7jUReiWokc9WK5nxSnC7W1TA==
|
|
2289
2279
|
|
|
2290
2280
|
pg-cursor@^1.2.0:
|
|
2291
2281
|
version "1.2.0"
|
|
@@ -2296,15 +2286,15 @@ pg-int8@1.0.1:
|
|
|
2296
2286
|
resolved "https://registry.yarnpkg.com/pg-int8/-/pg-int8-1.0.1.tgz#943bd463bf5b71b4170115f80f8efc9a0c0eb78c"
|
|
2297
2287
|
integrity sha512-WCtabS6t3c8SkpDBUlb1kjOs7l66xsGdKpIPZsg4wR+B3+u9UAum2odSsF9tnvxg80h4ZxLWMy4pRjOsFIqQpw==
|
|
2298
2288
|
|
|
2299
|
-
pg-pool@^3.
|
|
2300
|
-
version "3.
|
|
2301
|
-
resolved "https://registry.yarnpkg.com/pg-pool/-/pg-pool-3.
|
|
2302
|
-
integrity sha512-
|
|
2289
|
+
pg-pool@^3.8.0:
|
|
2290
|
+
version "3.8.0"
|
|
2291
|
+
resolved "https://registry.yarnpkg.com/pg-pool/-/pg-pool-3.8.0.tgz#e6bce7fc4506a8d6106551363fc5283e5445b776"
|
|
2292
|
+
integrity sha512-VBw3jiVm6ZOdLBTIcXLNdSotb6Iy3uOCwDGFAksZCXmi10nyRvnP2v3jl4d+IsLYRyXf6o9hIm/ZtUzlByNUdw==
|
|
2303
2293
|
|
|
2304
|
-
pg-protocol@^1.
|
|
2305
|
-
version "1.
|
|
2306
|
-
resolved "https://registry.yarnpkg.com/pg-protocol/-/pg-protocol-1.
|
|
2307
|
-
integrity sha512-
|
|
2294
|
+
pg-protocol@^1.8.0:
|
|
2295
|
+
version "1.8.0"
|
|
2296
|
+
resolved "https://registry.yarnpkg.com/pg-protocol/-/pg-protocol-1.8.0.tgz#c707101dd07813868035a44571488e4b98639d48"
|
|
2297
|
+
integrity sha512-jvuYlEkL03NRvOoyoRktBK7+qU5kOvlAwvmrH8sr3wbLrOdVWsRxQfz8mMy9sZFsqJ1hEWNfdWKI4SAmoL+j7g==
|
|
2308
2298
|
|
|
2309
2299
|
pg-types@^2.1.0:
|
|
2310
2300
|
version "2.2.0"
|
|
@@ -2317,16 +2307,14 @@ pg-types@^2.1.0:
|
|
|
2317
2307
|
postgres-date "~1.0.4"
|
|
2318
2308
|
postgres-interval "^1.1.0"
|
|
2319
2309
|
|
|
2320
|
-
pg
|
|
2321
|
-
version "8.
|
|
2322
|
-
resolved "https://registry.yarnpkg.com/pg/-/pg-8.
|
|
2323
|
-
integrity sha512-
|
|
2310
|
+
pg@^8.11.1:
|
|
2311
|
+
version "8.14.1"
|
|
2312
|
+
resolved "https://registry.yarnpkg.com/pg/-/pg-8.14.1.tgz#2e3d1f287b64797cdfc8d1ba000f61a7ff8d66ed"
|
|
2313
|
+
integrity sha512-0TdbqfjwIun9Fm/r89oB7RFQ0bLgduAhiIqIXOsyKoiC/L54DbuAAzIEN/9Op0f1Po9X7iCPXGoa/Ah+2aI8Xw==
|
|
2324
2314
|
dependencies:
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
pg-
|
|
2328
|
-
pg-pool "^3.6.1"
|
|
2329
|
-
pg-protocol "^1.6.0"
|
|
2315
|
+
pg-connection-string "^2.7.0"
|
|
2316
|
+
pg-pool "^3.8.0"
|
|
2317
|
+
pg-protocol "^1.8.0"
|
|
2330
2318
|
pg-types "^2.1.0"
|
|
2331
2319
|
pgpass "1.x"
|
|
2332
2320
|
optionalDependencies:
|