@medplum/agent 5.0.9 → 5.0.10
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/dist/cjs/index.cjs +34 -11
- package/package.json +7 -7
package/dist/cjs/index.cjs
CHANGED
|
@@ -54337,7 +54337,7 @@ var require_package = __commonJS({
|
|
|
54337
54337
|
module2.exports = {
|
|
54338
54338
|
name: "winston",
|
|
54339
54339
|
description: "A logger for just about everything.",
|
|
54340
|
-
version: "3.
|
|
54340
|
+
version: "3.19.0",
|
|
54341
54341
|
author: "Charlie Robbins <charlie.robbins@gmail.com>",
|
|
54342
54342
|
maintainers: [
|
|
54343
54343
|
"David Hyde <dabh@alumni.stanford.edu>"
|
|
@@ -54383,9 +54383,8 @@ var require_package = __commonJS({
|
|
|
54383
54383
|
"cross-spawn-async": "^2.2.5",
|
|
54384
54384
|
eslint: "^8.57.0",
|
|
54385
54385
|
hock: "^1.4.1",
|
|
54386
|
-
|
|
54387
|
-
|
|
54388
|
-
rimraf: "5.0.1",
|
|
54386
|
+
jest: "^29.7.0",
|
|
54387
|
+
rimraf: "5.0.10",
|
|
54389
54388
|
split2: "^4.1.0",
|
|
54390
54389
|
"std-mocks": "^2.0.0",
|
|
54391
54390
|
through2: "^4.0.2",
|
|
@@ -54396,11 +54395,12 @@ var require_package = __commonJS({
|
|
|
54396
54395
|
types: "./index.d.ts",
|
|
54397
54396
|
scripts: {
|
|
54398
54397
|
lint: "eslint lib/*.js lib/winston/*.js lib/winston/**/*.js --resolve-plugins-relative-to ./node_modules/@dabh/eslint-config-populist",
|
|
54399
|
-
test: "
|
|
54400
|
-
"test:
|
|
54401
|
-
"test:
|
|
54402
|
-
"test:
|
|
54403
|
-
build: "
|
|
54398
|
+
test: "jest",
|
|
54399
|
+
"test:unit": "jest -c test/jest.config.unit.js",
|
|
54400
|
+
"test:integration": "jest -c test/jest.config.integration.js",
|
|
54401
|
+
"test:typescript": "npx --package typescript tsc --project test",
|
|
54402
|
+
build: "babel lib -d dist",
|
|
54403
|
+
prebuild: "rimraf dist",
|
|
54404
54404
|
prepublishOnly: "npm run build"
|
|
54405
54405
|
},
|
|
54406
54406
|
engines: {
|
|
@@ -59996,6 +59996,28 @@ var require_file = __commonJS({
|
|
|
59996
59996
|
}
|
|
59997
59997
|
}
|
|
59998
59998
|
}
|
|
59999
|
+
/**
|
|
60000
|
+
* Called by Node.js Writable stream before emitting 'finish'.
|
|
60001
|
+
* Ensures all buffered data is flushed to the underlying file stream
|
|
60002
|
+
* before the transport signals completion.
|
|
60003
|
+
* @param {Function} callback - Callback to signal completion.
|
|
60004
|
+
* @private
|
|
60005
|
+
*/
|
|
60006
|
+
_final(callback) {
|
|
60007
|
+
if (this._opening) {
|
|
60008
|
+
this.once("open", () => this._final(callback));
|
|
60009
|
+
return;
|
|
60010
|
+
}
|
|
60011
|
+
this._stream.end();
|
|
60012
|
+
if (!this._dest) {
|
|
60013
|
+
return callback();
|
|
60014
|
+
}
|
|
60015
|
+
if (this._dest.writableFinished) {
|
|
60016
|
+
return callback();
|
|
60017
|
+
}
|
|
60018
|
+
this._dest.once("finish", callback);
|
|
60019
|
+
this._dest.once("error", callback);
|
|
60020
|
+
}
|
|
59999
60021
|
/**
|
|
60000
60022
|
* Core logging method exposed to Winston. Metadata is optional.
|
|
60001
60023
|
* @param {Object} info - TODO: add param description.
|
|
@@ -61669,6 +61691,7 @@ var require_logger = __commonJS({
|
|
|
61669
61691
|
if (info instanceof Error) {
|
|
61670
61692
|
infoClone.stack = info.stack;
|
|
61671
61693
|
infoClone.message = info.message;
|
|
61694
|
+
infoClone.cause = info.cause;
|
|
61672
61695
|
}
|
|
61673
61696
|
logger.write(infoClone);
|
|
61674
61697
|
}
|
|
@@ -68851,7 +68874,7 @@ async function Vi(r6) {
|
|
|
68851
68874
|
return crypto.subtle.digest("SHA-256", new TextEncoder().encode(r6));
|
|
68852
68875
|
}
|
|
68853
68876
|
function oe() {
|
|
68854
|
-
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replaceAll(/[xy]/g, (r6) => {
|
|
68877
|
+
return typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUUID() : "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replaceAll(/[xy]/g, (r6) => {
|
|
68855
68878
|
let e = Math.trunc(Math.random() * 16);
|
|
68856
68879
|
return (r6 === "x" ? e : e & 3 | 8).toString(16);
|
|
68857
68880
|
});
|
|
@@ -69528,7 +69551,7 @@ var zt = class {
|
|
|
69528
69551
|
return this.masterSubEmitter || (this.masterSubEmitter = new it(...Array.from(this.criteriaEntries.keys()))), this.masterSubEmitter;
|
|
69529
69552
|
}
|
|
69530
69553
|
};
|
|
69531
|
-
var an = "5.0.
|
|
69554
|
+
var an = "5.0.10-1efb88d";
|
|
69532
69555
|
var La = w.FHIR_JSON + ", */*; q=0.1";
|
|
69533
69556
|
var Fa = "https://api.medplum.com/";
|
|
69534
69557
|
var Na = 1e3;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medplum/agent",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.10",
|
|
4
4
|
"description": "Medplum Agent",
|
|
5
5
|
"homepage": "https://www.medplum.com/",
|
|
6
6
|
"bugs": {
|
|
@@ -26,18 +26,18 @@
|
|
|
26
26
|
"test": "jest --runInBand"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@medplum/core": "5.0.
|
|
30
|
-
"@medplum/hl7": "5.0.
|
|
29
|
+
"@medplum/core": "5.0.10",
|
|
30
|
+
"@medplum/hl7": "5.0.10",
|
|
31
31
|
"dcmjs-dimse": "0.3.1",
|
|
32
|
-
"iconv-lite": "0.7.
|
|
32
|
+
"iconv-lite": "0.7.1",
|
|
33
33
|
"semver": "7.7.3",
|
|
34
|
-
"winston": "3.
|
|
34
|
+
"winston": "3.19.0",
|
|
35
35
|
"winston-daily-rotate-file": "5.0.0",
|
|
36
36
|
"ws": "8.18.3"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@medplum/fhirtypes": "5.0.
|
|
40
|
-
"@medplum/mock": "5.0.
|
|
39
|
+
"@medplum/fhirtypes": "5.0.10",
|
|
40
|
+
"@medplum/mock": "5.0.10",
|
|
41
41
|
"@types/async-eventemitter": "0.2.4",
|
|
42
42
|
"@types/ws": "8.18.1",
|
|
43
43
|
"mock-socket": "9.3.1",
|