Skip to content

Commit 547fc55

Browse files
authored
fix esm parsing issue in test with node 22.00 by upgrading mocha, and fix "rxjs" package version consistency issue (#1418)
* fix esm parsing issue in test with node 22.00 by upgrading mocha * chore: fix version consistency issues
1 parent 8cd451b commit 547fc55

File tree

9 files changed

+154
-3591
lines changed

9 files changed

+154
-3591
lines changed

package-lock.json

Lines changed: 145 additions & 3582 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"@types/chai": "^4.2.18",
5151
"@types/chai-as-promised": "^7.1.4",
5252
"@types/chai-spies": "^1.0.4",
53-
"@types/mocha": "^9.0.0",
53+
"@types/mocha": "^10.0.10",
5454
"@types/node": "^18.19.76",
5555
"@types/readable-stream": "^4.0.15",
5656
"@types/sinon": "10.0.2",
@@ -70,7 +70,7 @@
7070
"eslint-plugin-unused-imports": "^3.0.0",
7171
"eslint-plugin-workspaces": "^0.9.0",
7272
"husky": "^7.0.4",
73-
"mocha": "^11.1.0",
73+
"mocha": "^11.7.2",
7474
"prettier": "3.3.3",
7575
"pretty-quick": "^4.0.0",
7676
"sinon": "11.1.1",

packages/binding-coap/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"dns-packet": "^5.2.2",
2020
"multicast-dns": "^7.2.5",
2121
"node-coap-client": "1.0.8",
22-
"rxjs": "5.5.11",
22+
"rxjs": "^5.5.11",
2323
"slugify": "^1.4.5",
2424
"wot-typescript-definitions": "0.8.0-SNAPSHOT.31"
2525
},

packages/binding-file/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"types": "dist/file.d.ts",
1616
"dependencies": {
1717
"@node-wot/core": "0.9.2",
18-
"rxjs": "5.5.11"
18+
"rxjs": "^5.5.11"
1919
},
2020
"scripts": {
2121
"build": "tsc -b",

packages/binding-mbus/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"dependencies": {
1717
"@node-wot/core": "0.9.2",
1818
"node-mbus": "^2.2.4",
19-
"rxjs": "5.5.11"
19+
"rxjs": "^5.5.11"
2020
},
2121
"scripts": {
2222
"build": "tsc -b",

packages/binding-modbus/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"dependencies": {
2020
"@node-wot/core": "0.9.2",
2121
"modbus-serial": "8.0.17",
22-
"rxjs": "5.5.11",
22+
"rxjs": "^5.5.11",
2323
"wot-typescript-definitions": "0.8.0-SNAPSHOT.31"
2424
},
2525
"scripts": {

packages/binding-mqtt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@node-wot/core": "0.9.2",
1818
"aedes": "^0.46.2",
1919
"mqtt": "^5.3.2",
20-
"rxjs": "5.5.11"
20+
"rxjs": "^5.5.11"
2121
},
2222
"scripts": {
2323
"build": "tsc -b",

packages/binding-netconf/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@node-wot/core": "0.9.2",
1818
"case-1.5.3": "npm:case@^1.5.3",
1919
"node-netconf": "^1.1.2",
20-
"rxjs": "5.5.11",
20+
"rxjs": "^5.5.11",
2121
"url-parse": "^1.5.8"
2222
},
2323
"scripts": {

packages/binding-opcua/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"node-opcua-status-code": "2.139.0",
4444
"node-opcua-types": "2.143.0",
4545
"node-opcua-variant": "2.142.0",
46-
"rxjs": "5.5.11",
46+
"rxjs": "^5.5.11",
4747
"url": "^0.11.4"
4848
},
4949
"scripts": {

0 commit comments

Comments
 (0)