@natlibfi/oracledb-mock 2.0.1 → 2.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.
|
@@ -23,7 +23,7 @@ jobs:
|
|
|
23
23
|
|
|
24
24
|
steps:
|
|
25
25
|
- name: Checkout the code
|
|
26
|
-
uses: actions/checkout@
|
|
26
|
+
uses: actions/checkout@v6
|
|
27
27
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
28
28
|
uses: actions/setup-node@v6
|
|
29
29
|
with:
|
|
@@ -42,7 +42,7 @@ jobs:
|
|
|
42
42
|
|
|
43
43
|
steps:
|
|
44
44
|
- name: Checkout the code
|
|
45
|
-
uses: actions/checkout@
|
|
45
|
+
uses: actions/checkout@v6
|
|
46
46
|
- name: nodejsscan scan
|
|
47
47
|
id: njsscan
|
|
48
48
|
uses: ajinabraham/njsscan-action@master
|
|
@@ -54,7 +54,7 @@ jobs:
|
|
|
54
54
|
runs-on: ubuntu-latest
|
|
55
55
|
|
|
56
56
|
steps:
|
|
57
|
-
- uses: actions/checkout@
|
|
57
|
+
- uses: actions/checkout@v6
|
|
58
58
|
- uses: mikaelvesavuori/license-compliance-action@v1.0.3
|
|
59
59
|
with:
|
|
60
60
|
exclude_pattern: /^@natlibfi/
|
|
@@ -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:
|
|
@@ -84,7 +84,7 @@ jobs:
|
|
|
84
84
|
if: contains(github.ref, 'refs/tags/')
|
|
85
85
|
|
|
86
86
|
steps:
|
|
87
|
-
- uses: actions/checkout@
|
|
87
|
+
- uses: actions/checkout@v6
|
|
88
88
|
# Setup .npmrc file to publish to npm
|
|
89
89
|
- uses: actions/setup-node@v6
|
|
90
90
|
with:
|
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ async function operate(oracledb) {
|
|
|
24
24
|
const {resultSet} = await connection.execute('SELECT * from foobar');
|
|
25
25
|
const row = await resultSet.getRow();
|
|
26
26
|
// do something with `{foo: 'bar'}`
|
|
27
|
-
return connection.close();
|
|
27
|
+
return connection.close();
|
|
28
28
|
}
|
|
29
29
|
```
|
|
30
30
|
## Mocking queries
|
|
@@ -35,6 +35,6 @@ The `_execute` method initializes the mock with expected queries and their resul
|
|
|
35
35
|
|
|
36
36
|
## License and copyright
|
|
37
37
|
|
|
38
|
-
Copyright (c) 2020,
|
|
38
|
+
Copyright (c) 2020, 2026 **University Of Helsinki (The National Library Of Finland)**
|
|
39
39
|
|
|
40
40
|
This project's source code is licensed under the terms of **GNU Lesser General Public License Version 3** or any later version.
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"url": "https://github.com/NatLibFi/oracledb-mock-js"
|
|
14
14
|
},
|
|
15
15
|
"license": "LGPL-3.0+",
|
|
16
|
-
"version": "2.0.1",
|
|
16
|
+
"version": "2.0.2-alpha.1",
|
|
17
17
|
"type": "module",
|
|
18
18
|
"main": "./dist/index.js",
|
|
19
19
|
"engines": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@natlibfi/fixugen": "^3.0.0",
|
|
39
39
|
"@natlibfi/fixura": "^4.0.0",
|
|
40
40
|
"cross-env": "^10.1.0",
|
|
41
|
-
"esbuild": "^0.27.
|
|
42
|
-
"eslint": "^9.39.
|
|
41
|
+
"esbuild": "^0.27.2",
|
|
42
|
+
"eslint": "^9.39.2"
|
|
43
43
|
}
|
|
44
44
|
}
|