@natlibfi/melinda-rest-api-commons 4.2.4 → 4.2.5-alpha.1
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/.github/workflows/melinda-node-tests.yml +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +19 -19
package/dist/index.js
CHANGED
|
@@ -105,6 +105,5 @@ Object.keys(_constants).forEach(function (key) {
|
|
|
105
105
|
}
|
|
106
106
|
});
|
|
107
107
|
});
|
|
108
|
-
function
|
|
109
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
108
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
110
109
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_mongo","_interopRequireDefault","require","_mongoLog","_amqp","_conversion","_validation","fixes","_interopRequireWildcard","exports","_utils","_constants","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","defineProperty","enumerable","get","
|
|
1
|
+
{"version":3,"file":"index.js","names":["_mongo","_interopRequireDefault","require","_mongoLog","_amqp","_conversion","_validation","fixes","_interopRequireWildcard","exports","_utils","_constants","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","defineProperty","enumerable","get","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","set","getOwnPropertyDescriptor"],"sources":["../src/index.js"],"sourcesContent":["\n\nimport mongoFactory from './mongo';\nimport mongoLogFactory from './mongoLog';\nimport amqpFactory from './amqp';\nimport conversions from './helpers/conversion';\nimport validations from './helpers/validation';\nimport * as fixes from './helpers/fix';\nimport {logError, createImportJobState, createImportJobStateForQuery, createRecordResponseItem, addRecordResponseItem, addRecordResponseItems} from './utils';\n\nexport {mongoFactory, mongoLogFactory, amqpFactory, conversions, validations, fixes, logError, createImportJobState, createImportJobStateForQuery, createRecordResponseItem, addRecordResponseItem, addRecordResponseItems};\nexport * from './constants';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,KAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,WAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,WAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,KAAA,GAAAC,uBAAA,CAAAN,OAAA;AAAuCO,OAAA,CAAAF,KAAA,GAAAA,KAAA;AACvC,IAAAG,MAAA,GAAAR,OAAA;AAGA,IAAAS,UAAA,GAAAT,OAAA;AAAAU,MAAA,CAAAC,IAAA,CAAAF,UAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA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AR,CAAA,EAAAC,CAAA","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"url": "git@github.com:natlibfi/melinda-rest-api-commons.git"
|
|
15
15
|
},
|
|
16
16
|
"license": "MIT",
|
|
17
|
-
"version": "4.2.
|
|
17
|
+
"version": "4.2.5-alpha.1",
|
|
18
18
|
"main": "./dist/index.js",
|
|
19
19
|
"engines": {
|
|
20
20
|
"node": ">=18"
|
|
@@ -36,36 +36,36 @@
|
|
|
36
36
|
"dev:debug": "cross-env LOG_LEVEL=debug DEBUG=@natlibfi/* NODE_ENV=test nodemon"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@natlibfi/marc-record": "^9.1.
|
|
40
|
-
"@natlibfi/marc-record-serializers": "^10.1.
|
|
41
|
-
"@natlibfi/marc-record-validate": "^8.0.
|
|
42
|
-
"@natlibfi/marc-record-validators-melinda": "^11.
|
|
43
|
-
"@natlibfi/melinda-backend-commons": "^2.3.
|
|
44
|
-
"@natlibfi/melinda-commons": "^13.0.
|
|
45
|
-
"amqplib": "^0.10.
|
|
39
|
+
"@natlibfi/marc-record": "^9.1.5",
|
|
40
|
+
"@natlibfi/marc-record-serializers": "^10.1.6",
|
|
41
|
+
"@natlibfi/marc-record-validate": "^8.0.14",
|
|
42
|
+
"@natlibfi/marc-record-validators-melinda": "^11.6.2",
|
|
43
|
+
"@natlibfi/melinda-backend-commons": "^2.3.8",
|
|
44
|
+
"@natlibfi/melinda-commons": "^13.0.20",
|
|
45
|
+
"amqplib": "^0.10.8",
|
|
46
46
|
"debug": "^4.4.0",
|
|
47
47
|
"http-status": "^2.1.0",
|
|
48
48
|
"moment": "^2.30.1",
|
|
49
49
|
"mongo-sanitize": "^1.1.0",
|
|
50
|
-
"mongodb": "^6.
|
|
50
|
+
"mongodb": "^6.16.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@babel/cli": "^7.
|
|
54
|
-
"@babel/core": "^7.
|
|
55
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
56
|
-
"@babel/preset-env": "^7.
|
|
57
|
-
"@babel/register": "^7.
|
|
53
|
+
"@babel/cli": "^7.27.1",
|
|
54
|
+
"@babel/core": "^7.27.1",
|
|
55
|
+
"@babel/plugin-transform-runtime": "^7.27.1",
|
|
56
|
+
"@babel/preset-env": "^7.27.1",
|
|
57
|
+
"@babel/register": "^7.27.1",
|
|
58
58
|
"@natlibfi/eslint-config-melinda-backend": "^3.0.5",
|
|
59
|
-
"@natlibfi/fixugen": "^2.0.
|
|
60
|
-
"@natlibfi/fixura": "^3.0.
|
|
61
|
-
"@natlibfi/fixura-mongo": "^2.0.
|
|
59
|
+
"@natlibfi/fixugen": "^2.0.14",
|
|
60
|
+
"@natlibfi/fixura": "^3.0.13",
|
|
61
|
+
"@natlibfi/fixura-mongo": "^2.0.24",
|
|
62
62
|
"babel-plugin-istanbul": "^7.0.0",
|
|
63
63
|
"babel-plugin-rewire": "^1.2.0",
|
|
64
64
|
"chai": "^4.5.0",
|
|
65
65
|
"cross-env": "^7.0.3",
|
|
66
66
|
"eslint": "^8.57.1",
|
|
67
|
-
"mocha": "^11.
|
|
68
|
-
"nodemon": "^3.1.
|
|
67
|
+
"mocha": "^11.2.2",
|
|
68
|
+
"nodemon": "^3.1.10",
|
|
69
69
|
"nyc": "^17.1.0"
|
|
70
70
|
},
|
|
71
71
|
"overrides": {
|