@natlibfi/melinda-rest-api-commons 5.0.7 → 6.0.0-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.
@@ -15,14 +15,14 @@ jobs:
15
15
 
16
16
  strategy:
17
17
  matrix:
18
- node-version: [22.x, 24.x]
18
+ node-version: [24.x, 26.x]
19
19
  # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
20
20
 
21
21
  steps:
22
22
  - name: Checkout the code
23
- uses: actions/checkout@v6
23
+ uses: actions/checkout@v7
24
24
  - name: Use Node.js ${{ matrix.node-version }}
25
- uses: actions/setup-node@v6
25
+ uses: actions/setup-node@v7
26
26
  with:
27
27
  node-version: ${{ matrix.node-version }}
28
28
  cache: 'npm'
@@ -37,10 +37,10 @@ jobs:
37
37
  license-scan:
38
38
  name: License compliance check
39
39
  runs-on: ubuntu-latest
40
- container: node:22
40
+ container: node:24
41
41
 
42
42
  steps:
43
- - uses: actions/checkout@v6
43
+ - uses: actions/checkout@v7
44
44
  - uses: mikaelvesavuori/license-compliance-action@v1
45
45
  with:
46
46
  exclude_pattern: /^@natlibfi/
@@ -48,11 +48,11 @@ jobs:
48
48
  njsscan:
49
49
  name: Njsscan check
50
50
  runs-on: ubuntu-latest
51
- container: node:22
51
+ container: node:24
52
52
 
53
53
  steps:
54
54
  - name: Checkout the code
55
- uses: actions/checkout@v6
55
+ uses: actions/checkout@v7
56
56
  - name: nodejsscan scan
57
57
  id: njsscan
58
58
  uses: ajinabraham/njsscan-action@master
@@ -61,20 +61,12 @@ jobs:
61
61
 
62
62
  publish:
63
63
  runs-on: ubuntu-latest
64
- container: node:22
64
+ container: node:24
65
65
  needs: [build-node-versions, njsscan]
66
66
  if: contains(github.ref, 'refs/tags/')
67
67
 
68
68
  steps:
69
- - uses: actions/checkout@v6
70
- # Setup .npmrc file to publish to npm
71
- - name: Prepare node for publish
72
- uses: actions/setup-node@v6
73
- with:
74
- node-version: '22.x'
75
- registry-url: 'https://registry.npmjs.org'
76
- - name: Update npm
77
- run: npm install -g npm@latest
69
+ - uses: actions/checkout@v7
78
70
  - name: Clean install
79
71
  run: npm ci
80
72
  # Publish stable release with --tag latest
package/package.json CHANGED
@@ -13,11 +13,11 @@
13
13
  "url": "https://github.com/NatLibFi/melinda-rest-api-commons"
14
14
  },
15
15
  "license": "MIT",
16
- "version": "5.0.7",
16
+ "version": "6.0.0-alpha.1",
17
17
  "main": "./dist/index.js",
18
18
  "type": "module",
19
19
  "engines": {
20
- "node": ">=22"
20
+ "node": ">=24"
21
21
  },
22
22
  "publishConfig": {
23
23
  "access": "public"
@@ -38,10 +38,10 @@
38
38
  "dependencies": {
39
39
  "@natlibfi/marc-record": "^10.0.2",
40
40
  "@natlibfi/marc-record-serializers": "^11.0.3",
41
- "@natlibfi/marc-record-validate": "^9.0.0",
42
- "@natlibfi/marc-record-validators-melinda": "^12.0.15",
43
- "@natlibfi/melinda-backend-commons": "^3.0.5",
44
- "@natlibfi/melinda-commons": "^14.0.2",
41
+ "@natlibfi/marc-record-validate": "^9.0.1",
42
+ "@natlibfi/marc-record-validators-melinda": "^13.0.0",
43
+ "@natlibfi/melinda-backend-commons": "^3.0.6",
44
+ "@natlibfi/melinda-commons": "^15.0.1",
45
45
  "amqplib": "^0.10.9",
46
46
  "debug": "^4.4.3",
47
47
  "http-status": "^2.1.0",
@@ -54,8 +54,8 @@
54
54
  "@natlibfi/fixura": "^4.0.1",
55
55
  "@natlibfi/fixura-mongo": "^3.0.3",
56
56
  "cross-env": "^10.1.0",
57
- "esbuild": "^0.27.7",
58
- "eslint": "^9.39.4"
57
+ "esbuild": "^0.28.1",
58
+ "eslint": "^10.8.0"
59
59
  },
60
60
  "overrides": {
61
61
  "nanoid": "^3.3.8"