diff --git a/package-lock.json b/package-lock.json index 366d707..f409d07 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,16 +9,17 @@ "version": "0.0.0", "dependencies": { "codemirror": "^6.0.1", - "mathjs": "^13.0.3" + "mathjs": "^13.1.1", + "upgrade": "^1.1.0" }, "devDependencies": { "vite": "^5.1.4" } }, "node_modules/@babel/runtime": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.25.0.tgz", - "integrity": "sha512-7dRy4DwXwtzBrPbZflqxnvfxLF8kdZXPkhymtDeFoFqE6ldzjQFgYTtYIFARcLEYDrqfBfYcZt1WqFxRoyC9Rw==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.25.6.tgz", + "integrity": "sha512-VBj9MYyDb9tuLq7yzqjgzt6Q+IBQLrGZfdjOekyEirZPHxXWoTSGUTMrpsfi58Up73d13NfYLv8HT9vmznjzhQ==", "license": "MIT", "dependencies": { "regenerator-runtime": "^0.14.0" @@ -876,12 +877,12 @@ "license": "MIT" }, "node_modules/mathjs": { - "version": "13.0.3", - "resolved": "https://registry.npmjs.org/mathjs/-/mathjs-13.0.3.tgz", - "integrity": "sha512-GpP9OW6swA5POZXvgpc/1FYkAr8lKgV04QHS1tIU60klFfplVCYaNzn6qy0vSp0hAQQN7shcx9CeB507dlLujA==", + "version": "13.1.1", + "resolved": "https://registry.npmjs.org/mathjs/-/mathjs-13.1.1.tgz", + "integrity": "sha512-duaSAy7m4F+QtP1Dyv8MX2XuxcqpNDDlGly0SdVTCqpAmwdOFWilDdQKbLdo9RfD6IDNMOdo9tIsEaTXkconlQ==", "license": "Apache-2.0", "dependencies": { - "@babel/runtime": "^7.24.8", + "@babel/runtime": "^7.25.4", "complex.js": "^2.1.1", "decimal.js": "^10.4.3", "escape-latex": "^1.2.0", @@ -1032,6 +1033,12 @@ "node": ">= 18" } }, + "node_modules/upgrade": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/upgrade/-/upgrade-1.1.0.tgz", + "integrity": "sha512-NtkVvqVCqsJo5U3mYRum2Tw6uCltOxfIJ/AfTZeTmw6U39IB5X23xF+kRZ9aiPaORqeiQQ7Q209/ibhOvxzwHA==", + "license": "MIT" + }, "node_modules/vite": { "version": "5.3.4", "resolved": "https://registry.npmjs.org/vite/-/vite-5.3.4.tgz", diff --git a/package.json b/package.json index 1293785..08e7b96 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ }, "dependencies": { "codemirror": "^6.0.1", - "mathjs": "^13.0.3" + "mathjs": "^13.1.1", + "upgrade": "^1.1.0" } } diff --git a/public/mathWorker.js b/public/mathWorker.js index fba355a..52baff1 100644 --- a/public/mathWorker.js +++ b/public/mathWorker.js @@ -1,5 +1,5 @@ importScripts( - "https://cdnjs.cloudflare.com/ajax/libs/mathjs/13.0.3/math.js", + "https://cdnjs.cloudflare.com/ajax/libs/mathjs/13.1.1/math.js", "coolprop.js", "fluidProperties.js", "molecularMass.js"