diff --git a/package-lock.json b/package-lock.json index ee6c3d71..d5f897bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,20 +1,22 @@ { "name": "node-red-contrib-modbus", - "version": "5.21.0", + "version": "5.21.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "node-red-contrib-modbus", - "version": "5.21.0", + "version": "5.21.2", "hasInstallScript": true, "license": "BSD-3-Clause", "dependencies": { - "@xstate/fsm": "~1.6.4", + "@xstate/fsm": "~2.0.0", "bson": "~4.6.1", "debug": "~4.3.2", "jsmodbus": "~4.0.6", + "line-by-line": "~0.1.6", "modbus-serial": "~8.0.5", + "source-map-support": "~0.5.20", "vm2": "~3.9.5" }, "devDependencies": { @@ -60,9 +62,7 @@ }, "optionalDependencies": { "@serialport/list": "^9.0.0", - "line-by-line": "~0.1.6", - "serialport": "^9.0.0", - "source-map-support": "~0.5.20" + "serialport": "^9.0.0" } }, "node_modules/@ampproject/remapping": { @@ -2370,8 +2370,9 @@ "license": "ISC" }, "node_modules/@xstate/fsm": { - "version": "1.6.4", - "license": "MIT" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@xstate/fsm/-/fsm-2.0.0.tgz", + "integrity": "sha512-p/zcvBMoU2ap5byMefLkR+AM+Eh99CU/SDEQeccgKlmFNOMDwphaRGqdk+emvel/SaGZ7Rf9sDvzAplLzLdEVQ==" }, "node_modules/abbrev": { "version": "1.1.1", @@ -3324,7 +3325,6 @@ }, "node_modules/buffer-from": { "version": "1.1.2", - "devOptional": true, "license": "MIT" }, "node_modules/busboy": { @@ -9180,7 +9180,6 @@ }, "node_modules/line-by-line": { "version": "0.1.6", - "optional": true, "engines": { "node": ">=4.0.0" } @@ -13188,7 +13187,6 @@ }, "node_modules/source-map": { "version": "0.6.1", - "devOptional": true, "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" @@ -13209,7 +13207,6 @@ "node_modules/source-map-support": { "version": "0.5.21", "license": "MIT", - "optional": true, "dependencies": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" @@ -16530,7 +16527,9 @@ "dev": true }, "@xstate/fsm": { - "version": "1.6.4" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@xstate/fsm/-/fsm-2.0.0.tgz", + "integrity": "sha512-p/zcvBMoU2ap5byMefLkR+AM+Eh99CU/SDEQeccgKlmFNOMDwphaRGqdk+emvel/SaGZ7Rf9sDvzAplLzLdEVQ==" }, "abbrev": { "version": "1.1.1", @@ -17162,8 +17161,7 @@ "dev": true }, "buffer-from": { - "version": "1.1.2", - "devOptional": true + "version": "1.1.2" }, "busboy": { "version": "0.2.14", @@ -21200,8 +21198,7 @@ } }, "line-by-line": { - "version": "0.1.6", - "optional": true + "version": "0.1.6" }, "lines-and-columns": { "version": "1.2.4", @@ -23918,8 +23915,7 @@ } }, "source-map": { - "version": "0.6.1", - "devOptional": true + "version": "0.6.1" }, "source-map-resolve": { "version": "0.5.3", @@ -23934,7 +23930,6 @@ }, "source-map-support": { "version": "0.5.21", - "optional": true, "requires": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" diff --git a/package.json b/package.json index 4f6262e8..172d7d75 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": false, "description": "The all in one Modbus TCP and Serial contribution package for Node-RED.", "dependencies": { - "@xstate/fsm": "~1.6.4", + "@xstate/fsm": "~2.0.0", "bson": "~4.6.1", "debug": "~4.3.2", "jsmodbus": "~4.0.6", diff --git a/yarn.lock b/yarn.lock index 6853f07a..7410d845 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1265,10 +1265,10 @@ resolved "https://registry.yarnpkg.com/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz#aa58042711d6e3275dd37dc597e5d31e8c290a44" integrity sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q== -"@xstate/fsm@~1.6.4": - version "1.6.4" - resolved "https://registry.yarnpkg.com/@xstate/fsm/-/fsm-1.6.4.tgz#9c7b3fadc8982e35e8c34b72e4ac06dee4e98a5c" - integrity sha512-JvoozDB1ndz+byxXsQYW150gAJQIAKZt8MfU2a4dqGhhxfvHBKNj5e1rqb+adVCLtB+F/McyUBe4jRauFhTCTQ== +"@xstate/fsm@~2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@xstate/fsm/-/fsm-2.0.0.tgz#221db16b606df3f4675f5be6058b633ec4b8b44a" + integrity sha512-p/zcvBMoU2ap5byMefLkR+AM+Eh99CU/SDEQeccgKlmFNOMDwphaRGqdk+emvel/SaGZ7Rf9sDvzAplLzLdEVQ== JSONStream@^1.0.4: version "1.3.5"