diff --git a/package-lock.json b/package-lock.json index ce39174b..cba9b538 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2591,9 +2591,9 @@ } }, "node_modules/@babel/register": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.24.6.tgz", - "integrity": "sha512-WSuFCc2wCqMeXkz/i3yfAAsxwWflEgbVkZzivgAmXl/MxrXeoYFZOOPllbC8R8WTF7u61wSRQtDVZ1879cdu6w==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.25.9.tgz", + "integrity": "sha512-8D43jXtGsYmEeDvm4MWHYUpWf8iiXgWYx3fW7E7Wb7Oe6FWqJPl5K6TuFW0dOwNZzEE5rjlaSJYH9JjrUKJszA==", "dependencies": { "clone-deep": "^4.0.1", "find-cache-dir": "^2.0.0", @@ -2615,9 +2615,9 @@ "dev": true }, "node_modules/@babel/runtime": { - "version": "7.25.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.25.6.tgz", - "integrity": "sha512-VBj9MYyDb9tuLq7yzqjgzt6Q+IBQLrGZfdjOekyEirZPHxXWoTSGUTMrpsfi58Up73d13NfYLv8HT9vmznjzhQ==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.0.tgz", + "integrity": "sha512-FDSOghenHTiToteC/QRlv2q3DhPZ/oOXTBoirfWNx1Cx3TMVcGWQtMMmQcSvb/JjpNeGzx8Pq/b4fKEJuWm1sw==", "dependencies": { "regenerator-runtime": "^0.14.0" }, @@ -3126,11 +3126,11 @@ "integrity": "sha512-cP9NZzvKxFJPwKUN/Xbf1MMMzo7DX4Gm7vL3WzpKAxwpl7LaHWoqTFTyxeQjbkyou4Y1kW5vlP9k/GX458fQVA==" }, "node_modules/@natlibfi/marc-record": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/@natlibfi/marc-record/-/marc-record-9.0.1.tgz", - "integrity": "sha512-FF8VuDiyqGhB+us0nisjVpkEQVZMKWtGxYvFY9weu0OX2mylbkioyNJLJk5UjzBLaYb9wKq280U+Irs+efDlag==", + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/@natlibfi/marc-record/-/marc-record-9.1.1.tgz", + "integrity": "sha512-dDV5vEuK4mohQMJN862ugJafqD/HD6KwGiFRGLv2QvPsRUdsetoTB+C0lwvEeYRyAun+h4ZObFSPMLEhpD+npA==", "dependencies": { - "debug": "^4.3.6", + "debug": "^4.3.7", "jsonschema": "^1.4.1" }, "engines": { @@ -3138,12 +3138,12 @@ } }, "node_modules/@natlibfi/marc-record-serializers": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/@natlibfi/marc-record-serializers/-/marc-record-serializers-10.1.2.tgz", - "integrity": "sha512-pWQrUM1lGE3Fyiw5GVKy6ehDmdr31DsnnoKOFSHIKp38385k/if6ouUQ0UkNrncGg8Ys8VWeqRM2BJvCIBRGVA==", + "version": "10.1.3", + "resolved": "https://registry.npmjs.org/@natlibfi/marc-record-serializers/-/marc-record-serializers-10.1.3.tgz", + "integrity": "sha512-dDBWpRpKHCldl+v94/xB0/gfVxED09wQ6/Bt9jbB9F9OQgnjHpFRxkBUmENbf2g1PN8giYv5DAYKqTeFPoakpg==", "dependencies": { - "@natlibfi/marc-record": "^8.0.0", - "@xmldom/xmldom": "^0.8.10", + "@natlibfi/marc-record": "^9.1.1", + "@xmldom/xmldom": "^0.9.5", "stream-json": "^1.8.0", "xml2js": "^0.6.2", "yargs": "^17.7.2" @@ -3155,47 +3155,35 @@ "node": ">=18" } }, - "node_modules/@natlibfi/marc-record-serializers/node_modules/@natlibfi/marc-record": { - "version": "8.1.3", - "resolved": "https://registry.npmjs.org/@natlibfi/marc-record/-/marc-record-8.1.3.tgz", - "integrity": "sha512-u2MU4n1Z6WblH3vSEKTUoBO/hUaD36ff/dWpzFukF6k0/wTzwbBKlonAP+xhPtak9f7UNv2mPQOSZ7XSbZwiYw==", - "dependencies": { - "debug": "^4.3.4", - "jsonschema": "^1.4.1" - }, - "engines": { - "node": ">=14" - } - }, "node_modules/@natlibfi/marc-record-validate": { - "version": "8.0.10", - "resolved": "https://registry.npmjs.org/@natlibfi/marc-record-validate/-/marc-record-validate-8.0.10.tgz", - "integrity": "sha512-1a2s2AEtBp8NKYrVnYjprQptVCve43jsbcLA5GPjZXygaPptUyfhnEzeTre3vEyZsZElGWTgSnSq6mwWcBV3iw==", + "version": "8.0.11", + "resolved": "https://registry.npmjs.org/@natlibfi/marc-record-validate/-/marc-record-validate-8.0.11.tgz", + "integrity": "sha512-2XPhaNg4flGJCRAtBToWR4S5t3YmeAn1JML5VUecUazy1jQSLuvjCFBRd7OjAGnSW+WKC7DaGnbNHj1f08lUBg==", "dependencies": { - "@babel/runtime": "^7.25.0", - "@natlibfi/marc-record": "^9.0.1" + "@babel/runtime": "^7.25.7", + "@natlibfi/marc-record": "^9.0.2" }, "engines": { "node": ">=18" } }, "node_modules/@natlibfi/marc-record-validators-melinda": { - "version": "11.3.6", - "resolved": "https://registry.npmjs.org/@natlibfi/marc-record-validators-melinda/-/marc-record-validators-melinda-11.3.6.tgz", - "integrity": "sha512-YvrcU1A14XPGkiRgbF9y94xyQJlY+pAVlX4ypGJJ8tpj3XvplM1WzmC6PocYWrLmWlVdDKE/rnNYAP08IuSVSw==", + "version": "11.4.2", + "resolved": "https://registry.npmjs.org/@natlibfi/marc-record-validators-melinda/-/marc-record-validators-melinda-11.4.2.tgz", + "integrity": "sha512-jAIagWQXSyhS31WU3oboiph3+2VPfFed5oB607u43UACsU6g3iq4q0d27kmZENRxqWRidfZ9d+nbRg6bZP59+w==", "dependencies": { - "@babel/register": "^7.24.6", + "@babel/register": "^7.25.9", "@natlibfi/issn-verify": "^1.0.4", - "@natlibfi/marc-record": "^9.0.1", - "@natlibfi/marc-record-validate": "^8.0.10", + "@natlibfi/marc-record": "^9.1.1", + "@natlibfi/marc-record-validate": "^8.0.11", + "@natlibfi/sfs-4900": "^1.1.0", "cld3-asm": "^3.1.1", "clone": "^2.1.2", "debug": "^4.3.7", - "isbn3": "^1.2.0", + "isbn3": "^1.2.3", "iso9_1995": "^0.0.2", "langs": "^2.0.0", "node-fetch": "^2.7.0", - "sfs4900": "^0.0.1", "xml2js": "^0.6.2", "xregexp": "^5.1.1" }, @@ -3207,37 +3195,38 @@ } }, "node_modules/@natlibfi/melinda-backend-commons": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/@natlibfi/melinda-backend-commons/-/melinda-backend-commons-2.3.1.tgz", - "integrity": "sha512-nrNSVofOoksYz/eU23y9nRFLyIma5VbT/egzY4/ww6jaYQlfCIK/N2H0Utpxep5SBHNwn0xzhOyEE1KqjXJgGg==", + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@natlibfi/melinda-backend-commons/-/melinda-backend-commons-2.3.5.tgz", + "integrity": "sha512-ukETDwTkc68/Lui0VOAj8i7XlQMiU7QMu9JZ9pwBhPz0cQiEeCrgtuiFVpUHKE+v6KAaezmEL5NvFDvKDMoV6g==", "dependencies": { "base64-url": "^2.3.3", - "debug": "^4.3.6", + "debug": "^4.3.7", "express-winston": "^4.2.0", "html-to-text": "^9.0.5", "moment": "^2.30.1", - "nodemailer": "^6.9.14", + "nodemailer": "^6.9.15", "pretty-print-ms": "^1.0.5", - "winston": "^3.14.2", + "winston": "^3.15.0", "yargs": "^17.7.2" }, "bin": { "gen-encryption-key": "dist/gen-encryption-key.js", - "gen-jwt-token": "dist/gen-jwt-token.js" + "gen-jwt-token": "dist/gen-jwt-token.js", + "mailer": "dist/mailerCli.js" }, "engines": { "node": ">=18" } }, "node_modules/@natlibfi/melinda-commons": { - "version": "13.0.17", - "resolved": "https://registry.npmjs.org/@natlibfi/melinda-commons/-/melinda-commons-13.0.17.tgz", - "integrity": "sha512-Jh2MfrSK/gEmnHkE8e96XvNHCGM1wEFKIKrfkhKNEqlWhTQssvsjLRkq9XABStebf99Jannji82dFXML4+BecA==", + "version": "13.0.18", + "resolved": "https://registry.npmjs.org/@natlibfi/melinda-commons/-/melinda-commons-13.0.18.tgz", + "integrity": "sha512-Eoj23IBDkomg+7pvKm9+T4ON24aFeunbD8zZ6GdxFOXft8euu754MkYROP26FssmLZlIPeYKWy+9GZT9RoS1HQ==", "dependencies": { - "@natlibfi/marc-record": "^9.0.1", + "@natlibfi/marc-record": "^9.0.2", "@natlibfi/marc-record-serializers": "^10.1.2", - "@natlibfi/sru-client": "^6.0.14", - "debug": "^4.3.6", + "@natlibfi/sru-client": "^6.0.15", + "debug": "^4.3.7", "deep-eql": "^5.0.2", "http-status": "^1.7.4", "moment": "^2.30.1", @@ -3247,13 +3236,21 @@ "node": ">=18" } }, + "node_modules/@natlibfi/sfs-4900": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@natlibfi/sfs-4900/-/sfs-4900-1.1.0.tgz", + "integrity": "sha512-bMhDa8QDDnoxsApmAeqF9ndSVgji3ZMkThie5x5N4QndsBOtq7FHdAcXY5jzeorn9zYGYLOJ9DmN5atQEuWVOA==", + "engines": { + "node": ">=18" + } + }, "node_modules/@natlibfi/sru-client": { - "version": "6.0.14", - "resolved": "https://registry.npmjs.org/@natlibfi/sru-client/-/sru-client-6.0.14.tgz", - "integrity": "sha512-MbJFOmUOJ9v5Xl45pyYEFhR8Drk5rPEV6quNEaMVrScTEL7jTdxgU/KbXLmMOZ9ttqHmkt91Cm4H3JarmoMEqg==", + "version": "6.0.16", + "resolved": "https://registry.npmjs.org/@natlibfi/sru-client/-/sru-client-6.0.16.tgz", + "integrity": "sha512-vS/sdiP25kDlnStgU97NeVzyq0fuMV7NuFmJ73HrsOqdq8/n/6h8ABNBmwqn33/BKn4LD3ShglEGweePPGfhug==", "dependencies": { - "debug": "^4.3.6", - "http-status": "^1.7.4", + "debug": "^4.3.7", + "http-status": "^1.8.1", "node-fetch": "^2.7.0", "xml2js": "^0.6.2" }, @@ -4314,11 +4311,11 @@ "dev": true }, "node_modules/@xmldom/xmldom": { - "version": "0.8.10", - "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.10.tgz", - "integrity": "sha512-2WALfTl4xo2SkGCYRt6rDTFfk9R1czmBvUQy12gK2KuRKIpWEhcbbzy8EZXtz/jkRqHX8bFEc6FC1HjX4TUWYw==", + "version": "0.9.5", + "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.9.5.tgz", + "integrity": "sha512-6g1EwSs8cr8JhP1iBxzyVAWM6BIDvx9Y3FZRIQiMDzgG43Pxi8YkWOZ0nQj2NHgNzgXDZbJewFx/n+YAvMZrfg==", "engines": { - "node": ">=10.0.0" + "node": ">=14.6" } }, "node_modules/acorn": { @@ -6426,9 +6423,9 @@ } }, "node_modules/http-status": { - "version": "1.7.4", - "resolved": "https://registry.npmjs.org/http-status/-/http-status-1.7.4.tgz", - "integrity": "sha512-c2qSwNtTlHVYAhMj9JpGdyo0No/+DiKXCJ9pHtZ2Yf3QmPnBIytKSRT7BuyIiQ7icXLynavGmxUqkOjSrAuMuA==", + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/http-status/-/http-status-1.8.1.tgz", + "integrity": "sha512-YQF7j8Qf/Rlby0IbRPiWfNZt6aeUv3K0Pi0x3crbMZN+7F8dPn5k4b3n897vpM1Vk8Mg2fhOYc9fktKEQWMy/Q==", "engines": { "node": ">= 0.4.0" } @@ -6863,9 +6860,9 @@ "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==" }, "node_modules/isbn3": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/isbn3/-/isbn3-1.2.0.tgz", - "integrity": "sha512-ackTSv/bE4MxrMIoqwl9FihRFHKdoM+E3hxYeRoYozoaCFuhxjtlS/27kkdUD75bG+CwO6Z1pYxxVYY+66rqAA==", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/isbn3/-/isbn3-1.2.3.tgz", + "integrity": "sha512-3X3N1G7ThWYFdrnoMAuy/aRdA9Pk7jksa8LQMAhPm1TXrWji2MiggsDbuT6QBmpF/j5dAdbO0CGA67Ks/YSr+A==", "bin": { "isbn": "bin/isbn", "isbn-audit": "bin/isbn-audit", @@ -7304,9 +7301,9 @@ } }, "node_modules/logform": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/logform/-/logform-2.6.1.tgz", - "integrity": "sha512-CdaO738xRapbKIMVn2m4F6KTj4j7ooJ8POVnebSgKo3KBz5axNXRAL7ZdRjIV6NOr2Uf4vjtRkxrFETOioCqSA==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.7.0.tgz", + "integrity": "sha512-TFYA4jnP7PVbmlBIfhlSe+WKxs9dklXMTEGcBCIvLhE/Tn3H6Gk1norupVW7m5Cnd4bLcr08AytbyV/xj7f/kQ==", "dependencies": { "@colors/colors": "1.6.0", "@types/triple-beam": "^1.3.2", @@ -8853,11 +8850,6 @@ "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==", "dev": true }, - "node_modules/sfs4900": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/sfs4900/-/sfs4900-0.0.1.tgz", - "integrity": "sha512-rChiTUL4C2oMdi/0f1uZEnY7zbEEX9BYOAPZSQMOhMzJapKz/sxQ89K4ZHF0f6cWC7KmZP28USgtcdvINilr6w==" - }, "node_modules/shallow-clone": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", @@ -9530,32 +9522,32 @@ "dev": true }, "node_modules/winston": { - "version": "3.14.2", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.14.2.tgz", - "integrity": "sha512-CO8cdpBB2yqzEf8v895L+GNKYJiEq8eKlHU38af3snQBQ+sdAIUepjMSguOIJC7ICbzm0ZI+Af2If4vIJrtmOg==", + "version": "3.17.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.17.0.tgz", + "integrity": "sha512-DLiFIXYC5fMPxaRg832S6F5mJYvePtmO5G9v9IgUFPhXm9/GkXarH/TUrBAVzhTCzAj9anE/+GjrgXp/54nOgw==", "dependencies": { "@colors/colors": "^1.6.0", "@dabh/diagnostics": "^2.0.2", "async": "^3.2.3", "is-stream": "^2.0.0", - "logform": "^2.6.0", + "logform": "^2.7.0", "one-time": "^1.0.0", "readable-stream": "^3.4.0", "safe-stable-stringify": "^2.3.1", "stack-trace": "0.0.x", "triple-beam": "^1.3.0", - "winston-transport": "^4.7.0" + "winston-transport": "^4.9.0" }, "engines": { "node": ">= 12.0.0" } }, "node_modules/winston-transport": { - "version": "4.7.1", - "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.7.1.tgz", - "integrity": "sha512-wQCXXVgfv/wUPOfb2x0ruxzwkcZfxcktz6JIMUaPLmcNhO4bZTwA/WtDWK74xV3F2dKu8YadrFv0qhwYjVEwhA==", + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.9.0.tgz", + "integrity": "sha512-8drMJ4rkgaPo1Me4zD/3WLfI/zPdA9o2IipKODunnGDcuqbHwjsbB79ylv04LCGGzU0xQ6vTznOMpQGaLhhm6A==", "dependencies": { - "logform": "^2.6.1", + "logform": "^2.7.0", "readable-stream": "^3.6.2", "triple-beam": "^1.3.0" },