@natlibfi/melinda-commons 14.0.1-alpha.2 → 14.0.2-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.
|
@@ -20,7 +20,7 @@ jobs:
|
|
|
20
20
|
|
|
21
21
|
steps:
|
|
22
22
|
- name: Checkout the code
|
|
23
|
-
uses: actions/checkout@
|
|
23
|
+
uses: actions/checkout@v6
|
|
24
24
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
25
25
|
uses: actions/setup-node@v6
|
|
26
26
|
with:
|
|
@@ -39,7 +39,7 @@ jobs:
|
|
|
39
39
|
container: node:22
|
|
40
40
|
|
|
41
41
|
steps:
|
|
42
|
-
- uses: actions/checkout@
|
|
42
|
+
- uses: actions/checkout@v6
|
|
43
43
|
- uses: mikaelvesavuori/license-compliance-action@v1
|
|
44
44
|
with:
|
|
45
45
|
exclude_pattern: /^@natlibfi/
|
|
@@ -51,7 +51,7 @@ jobs:
|
|
|
51
51
|
|
|
52
52
|
steps:
|
|
53
53
|
- name: Checkout the code
|
|
54
|
-
uses: actions/checkout@
|
|
54
|
+
uses: actions/checkout@v6
|
|
55
55
|
- name: nodejsscan scan
|
|
56
56
|
id: njsscan
|
|
57
57
|
uses: ajinabraham/njsscan-action@master
|
|
@@ -65,7 +65,7 @@ jobs:
|
|
|
65
65
|
if: contains(github.ref, 'refs/tags/')
|
|
66
66
|
|
|
67
67
|
steps:
|
|
68
|
-
- uses: actions/checkout@
|
|
68
|
+
- uses: actions/checkout@v6
|
|
69
69
|
# Setup .npmrc file to publish to npm
|
|
70
70
|
- uses: actions/setup-node@v6
|
|
71
71
|
with:
|
package/README.md
CHANGED
|
@@ -5,6 +5,6 @@ Shared modules for Melinda's software
|
|
|
5
5
|
|
|
6
6
|
## License and copyright
|
|
7
7
|
|
|
8
|
-
Copyright (c) 2018-
|
|
8
|
+
Copyright (c) 2018-2026 **University Of Helsinki (The National Library Of Finland)**
|
|
9
9
|
|
|
10
10
|
This project's source code is licensed under the terms of **MIT** or any later version.
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"url": "https://github.com/NatLibFi/melinda-commons-js"
|
|
14
14
|
},
|
|
15
15
|
"license": "MIT",
|
|
16
|
-
"version": "14.0.
|
|
16
|
+
"version": "14.0.2-alpha.1",
|
|
17
17
|
"main": "./dist/index.js",
|
|
18
18
|
"type": "module",
|
|
19
19
|
"engines": {
|
|
@@ -27,23 +27,23 @@
|
|
|
27
27
|
"build": "esbuild src/**/*.js --sourcemap --platform=node --main-fields=main --outdir=dist --allow-overwrite --analyze",
|
|
28
28
|
"lint": "eslint ./src",
|
|
29
29
|
"lint:dev": "eslint --fix ./src",
|
|
30
|
-
"test:base": "node --test --experimental-test-coverage --test-reporter=spec './src
|
|
30
|
+
"test:base": "node --test --experimental-test-coverage --test-reporter=spec './src/**/*.test.js'",
|
|
31
31
|
"test": "npm run lint && npm run test:base",
|
|
32
|
-
"watch:test": "cross-env DEBUG=@natlibfi/* NODE_ENV=test node --watch --test --experimental-test-coverage --test-reporter=spec './src
|
|
32
|
+
"watch:test": "cross-env DEBUG=@natlibfi/* NODE_ENV=test node --watch --test --experimental-test-coverage --test-reporter=spec './src/**/*.test.js'",
|
|
33
33
|
"dev": "npm run watch:test",
|
|
34
34
|
"dev:debug": "cross-env LOG_LEVEL=debug DEBUG=@natlibfi/* NODE_ENV=test npm run watch:test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@natlibfi/marc-record": "^10.0.
|
|
38
|
-
"@natlibfi/marc-record-serializers": "^11.0.
|
|
39
|
-
"@natlibfi/sru-client": "^7.0.
|
|
37
|
+
"@natlibfi/marc-record": "^10.0.1",
|
|
38
|
+
"@natlibfi/marc-record-serializers": "^11.0.1",
|
|
39
|
+
"@natlibfi/sru-client": "^7.0.1",
|
|
40
40
|
"debug": "^4.4.3"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@natlibfi/fixugen-http-client": "^4.0.
|
|
43
|
+
"@natlibfi/fixugen-http-client": "^4.0.1",
|
|
44
44
|
"@natlibfi/fixura": "^4.0.0",
|
|
45
45
|
"cross-env": "^10.1.0",
|
|
46
|
-
"esbuild": "^0.27.
|
|
47
|
-
"eslint": "^9.39.
|
|
46
|
+
"esbuild": "^0.27.2",
|
|
47
|
+
"eslint": "^9.39.2"
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"leader": "01864cam a2200529zi 4500",
|
|
3
|
-
"fields": [
|
|
4
|
-
{
|
|
5
|
-
"tag": "001",
|
|
6
|
-
"value": "000001234"
|
|
7
|
-
},
|
|
8
|
-
{
|
|
9
|
-
"tag": "245",
|
|
10
|
-
"ind1": " ",
|
|
11
|
-
"ind2": " ",
|
|
12
|
-
"subfields": [
|
|
13
|
-
{
|
|
14
|
-
"code": "a",
|
|
15
|
-
"value": "foobar"
|
|
16
|
-
}
|
|
17
|
-
]
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"tag": "STA",
|
|
21
|
-
"subfields": [
|
|
22
|
-
{
|
|
23
|
-
"code": "a",
|
|
24
|
-
"value": "DELETED"
|
|
25
|
-
}
|
|
26
|
-
]
|
|
27
|
-
}
|
|
28
|
-
]
|
|
29
|
-
}
|