diff --git a/dfx_extension/extension.json b/dfx_extension/extension.json index 90f0579b4a..1a6552c9c0 100644 --- a/dfx_extension/extension.json +++ b/dfx_extension/extension.json @@ -1,6 +1,6 @@ { "name": "azle", - "version": "0.23.0", + "version": "0.24.1-rc.1", "homepage": "https://github.com/dfinity/dfx-extensions", "authors": "", "summary": "", diff --git a/examples/basic_bitcoin/package-lock.json b/examples/basic_bitcoin/package-lock.json index b7701181d1..134e70efad 100644 --- a/examples/basic_bitcoin/package-lock.json +++ b/examples/basic_bitcoin/package-lock.json @@ -7,7 +7,7 @@ "name": "basic_bitcoin", "hasInstallScript": true, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "bitcoinjs-lib": "^6.1.5", "express": "^4.18.2" }, @@ -23,7 +23,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2173,7 +2174,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2276,10 +2278,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2293,13 +2296,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2307,10 +2311,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3578,9 +3583,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3591,6 +3596,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3598,7 +3604,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3608,6 +3614,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3619,6 +3626,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3629,12 +3637,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -5132,6 +5142,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -7095,6 +7114,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -7163,15 +7187,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/examples/basic_bitcoin/package.json b/examples/basic_bitcoin/package.json index 29e5d32035..70d286f735 100644 --- a/examples/basic_bitcoin/package.json +++ b/examples/basic_bitcoin/package.json @@ -6,7 +6,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "bitcoinjs-lib": "^6.1.5", "express": "^4.18.2" }, diff --git a/examples/bitcoin_psbt/package-lock.json b/examples/bitcoin_psbt/package-lock.json index 5c386b9834..68cc96da3f 100644 --- a/examples/bitcoin_psbt/package-lock.json +++ b/examples/bitcoin_psbt/package-lock.json @@ -7,7 +7,7 @@ "hasInstallScript": true, "dependencies": { "@bitcoin-js/tiny-secp256k1-asmjs": "^2.2.3", - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "basic_bitcoin": "file:../basic_bitcoin", "bitcoinjs-lib": "^6.1.5", "express": "^4.18.2", @@ -25,7 +25,7 @@ "../basic_bitcoin": { "hasInstallScript": true, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "bitcoinjs-lib": "^6.1.5", "express": "^4.18.2" }, @@ -41,7 +41,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2197,7 +2198,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2300,10 +2302,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2317,13 +2320,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2331,10 +2335,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3606,9 +3611,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3619,6 +3624,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3626,7 +3632,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3636,6 +3642,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3647,6 +3654,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3657,12 +3665,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -5160,6 +5170,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -7142,6 +7161,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -7210,15 +7234,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/examples/bitcoin_psbt/package.json b/examples/bitcoin_psbt/package.json index 3183852a27..c6c2e148da 100644 --- a/examples/bitcoin_psbt/package.json +++ b/examples/bitcoin_psbt/package.json @@ -17,7 +17,7 @@ }, "dependencies": { "@bitcoin-js/tiny-secp256k1-asmjs": "^2.2.3", - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "basic_bitcoin": "file:../basic_bitcoin", "bitcoinjs-lib": "^6.1.5", "express": "^4.18.2", diff --git a/examples/ckbtc/package-lock.json b/examples/ckbtc/package-lock.json index 5784cb60a8..ee134f7013 100644 --- a/examples/ckbtc/package-lock.json +++ b/examples/ckbtc/package-lock.json @@ -6,7 +6,7 @@ "": { "hasInstallScript": true, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -39,7 +39,7 @@ "dev": true, "hasInstallScript": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -53,7 +53,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2115,7 +2116,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2213,10 +2215,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2230,13 +2233,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2244,10 +2248,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3340,9 +3345,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3353,6 +3358,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3360,7 +3366,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3370,6 +3376,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3381,6 +3388,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3391,12 +3399,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4703,6 +4713,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6389,6 +6408,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/webcrypto-core": { "version": "1.7.7", "resolved": "https://registry.npmjs.org/webcrypto-core/-/webcrypto-core-1.7.7.tgz", @@ -6471,15 +6495,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/examples/ckbtc/package.json b/examples/ckbtc/package.json index 760ce696b2..60f17ed229 100644 --- a/examples/ckbtc/package.json +++ b/examples/ckbtc/package.json @@ -23,7 +23,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/examples/hello_world/package-lock.json b/examples/hello_world/package-lock.json index 1bfd8eceff..36fd2617ee 100644 --- a/examples/hello_world/package-lock.json +++ b/examples/hello_world/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "jest": "^29.7.0", @@ -17,7 +17,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1694,7 +1695,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -1797,10 +1799,11 @@ "dev": true }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -1814,13 +1817,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -1828,10 +1832,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/brace-expansion": { @@ -2921,9 +2926,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -2934,6 +2939,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -2941,7 +2947,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -2951,6 +2957,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -2962,6 +2969,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -2972,12 +2980,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4334,6 +4344,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6001,6 +6020,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6069,15 +6093,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/examples/hello_world/package.json b/examples/hello_world/package.json index 25f32bb0a1..f4bf9e9bc7 100644 --- a/examples/hello_world/package.json +++ b/examples/hello_world/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "jest": "^29.7.0", diff --git a/examples/hello_world_http_server/package-lock.json b/examples/hello_world_http_server/package-lock.json index e6fd69288c..0a42f6f65f 100644 --- a/examples/hello_world_http_server/package-lock.json +++ b/examples/hello_world_http_server/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2", "lit": "^3.1.2" }, @@ -21,7 +21,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2342,7 +2343,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2445,10 +2447,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2462,13 +2465,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2476,10 +2480,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@esbuild/android-arm": { @@ -4018,9 +4023,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -4031,6 +4036,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -4038,7 +4044,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -4048,6 +4054,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -4059,6 +4066,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -4069,12 +4077,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -5558,6 +5568,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -7694,6 +7713,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -7762,15 +7786,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -9565,9 +9590,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -9581,13 +9606,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -9595,7 +9621,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@esbuild/android-arm": { @@ -10666,9 +10693,9 @@ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -10676,7 +10703,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -11819,6 +11846,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -13224,6 +13256,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -13270,9 +13307,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/examples/hello_world_http_server/package.json b/examples/hello_world_http_server/package.json index 84e973878a..ef29aead5f 100644 --- a/examples/hello_world_http_server/package.json +++ b/examples/hello_world_http_server/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2", "lit": "^3.1.2" }, diff --git a/package-lock.json b/package-lock.json index 91f4d08258..a703843410 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "azle", - "version": "0.23.0", + "version": "0.24.1-rc.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "azle", - "version": "0.23.0", + "version": "0.24.1-rc.1", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 0f6fd70e16..7705d58678 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "azle", - "version": "0.23.0", + "version": "0.24.1-rc.1", "description": "TypeScript and JavaScript CDK for the Internet Computer", "scripts": { "typecheck": "tsc --noEmit", diff --git a/tests/end_to_end/candid_rpc/class_syntax/async_await/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/async_await/package-lock.json index d0572f3ae0..e65277cd88 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/async_await/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/async_await/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -50,7 +50,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2054,7 +2055,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2156,10 +2158,11 @@ "link": true }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2173,13 +2176,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2187,10 +2191,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3279,9 +3284,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3292,6 +3297,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3299,7 +3305,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3309,6 +3315,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3320,6 +3327,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3330,12 +3338,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4645,6 +4655,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6325,6 +6344,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6393,15 +6417,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/async_await/package.json b/tests/end_to_end/candid_rpc/class_syntax/async_await/package.json index 823118717e..60c13a18b3 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/async_await/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/async_await/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/audio_recorder/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/audio_recorder/package-lock.json index 3bd9687c3b..9aac9dcc35 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/audio_recorder/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/audio_recorder/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.3", @@ -31,9 +31,10 @@ } }, "../../functional_syntax/audio_recorder": { + "name": "audio_recorder_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.3", @@ -46,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2012,7 +2014,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2114,10 +2117,11 @@ "link": true }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2131,13 +2135,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2145,10 +2150,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3237,9 +3243,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3250,6 +3256,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3257,7 +3264,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3267,6 +3274,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3278,6 +3286,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3288,7 +3297,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4598,6 +4608,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6254,6 +6273,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6322,15 +6346,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7833,7 +7858,7 @@ "version": "file:../../functional_syntax/audio_recorder", "requires": { "@dfinity/agent": "^0.19.3", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "ts-jest": "^29.1.4", "tsx": "^4.15.7", @@ -7841,9 +7866,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7857,13 +7882,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7871,7 +7897,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8709,9 +8736,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8719,7 +8746,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9730,6 +9757,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10820,6 +10852,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10866,9 +10903,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/audio_recorder/package.json b/tests/end_to_end/candid_rpc/class_syntax/audio_recorder/package.json index 2f2400b100..db5cb1b728 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/audio_recorder/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/audio_recorder/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.3", diff --git a/tests/end_to_end/candid_rpc/class_syntax/bitcoin/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/bitcoin/package-lock.json index 3177c6e006..867e9afda7 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/bitcoin/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/bitcoin/package-lock.json @@ -6,7 +6,7 @@ "": { "hasInstallScript": true, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -33,10 +33,11 @@ } }, "../../functional_syntax/bitcoin": { + "name": "bitcoin_end_to_end_test_functional_syntax", "dev": true, "hasInstallScript": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -49,7 +50,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1999,7 +2001,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2097,10 +2100,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2114,13 +2118,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2128,10 +2133,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3209,9 +3215,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3222,6 +3228,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3229,7 +3236,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3239,6 +3246,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3250,6 +3258,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3260,7 +3269,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4567,6 +4577,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6238,6 +6257,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6306,15 +6330,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7804,9 +7829,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7820,13 +7845,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7834,7 +7860,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8038,7 +8065,7 @@ "version": "file:../../functional_syntax/bitcoin", "requires": { "@dfinity/agent": "0.11.1", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "ts-jest": "^29.1.4", "tsx": "^4.15.7", @@ -8675,9 +8702,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8685,7 +8712,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9696,6 +9723,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10792,6 +10824,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10838,9 +10875,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/bitcoin/package.json b/tests/end_to_end/candid_rpc/class_syntax/bitcoin/package.json index f7a096eaf6..a7556aa471 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/bitcoin/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/bitcoin/package.json @@ -8,7 +8,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/class_syntax/blob_array/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/blob_array/package-lock.json index 8c4292bf79..d2949653b5 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/blob_array/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/blob_array/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -46,7 +46,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2063,7 +2064,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2161,10 +2163,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2178,13 +2181,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2192,10 +2196,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3273,9 +3278,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3286,6 +3291,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3293,7 +3299,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3303,6 +3309,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3314,6 +3321,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3324,7 +3332,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4631,6 +4640,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6312,6 +6330,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6380,15 +6403,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7953,9 +7977,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7969,13 +7993,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7983,7 +8008,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8824,9 +8850,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8834,7 +8860,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9845,6 +9871,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10953,6 +10984,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10999,9 +11035,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/blob_array/package.json b/tests/end_to_end/candid_rpc/class_syntax/blob_array/package.json index f7b506e2dc..4d290d4e31 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/blob_array/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/blob_array/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/bytes/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/bytes/package-lock.json index e581004680..2b5924857d 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/bytes/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/bytes/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -30,9 +30,10 @@ } }, "../../functional_syntax/bytes": { + "name": "bytes_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -45,7 +46,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2048,7 +2050,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2146,10 +2149,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2163,13 +2167,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2177,10 +2182,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3258,9 +3264,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3271,6 +3277,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3278,7 +3285,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3288,6 +3295,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3299,6 +3307,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3309,7 +3318,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4616,6 +4626,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6311,6 +6330,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6379,15 +6403,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7941,9 +7966,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7957,13 +7982,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7971,7 +7997,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8342,7 +8369,7 @@ "version": "file:../../functional_syntax/bytes", "requires": { "@dfinity/agent": "^0.19.2", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "ts-jest": "^29.1.4", "tsx": "^4.15.7", @@ -8812,9 +8839,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8822,7 +8849,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9833,6 +9860,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10954,6 +10986,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -11000,9 +11037,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/bytes/package.json b/tests/end_to_end/candid_rpc/class_syntax/bytes/package.json index 463ce6578a..5155b40131 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/bytes/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/bytes/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/call_raw/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/call_raw/package-lock.json index 4497b68e97..a2d66384c9 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/call_raw/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/call_raw/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -31,9 +31,10 @@ } }, "../../functional_syntax/call_raw": { + "name": "call_raw_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -46,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2049,7 +2051,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2147,10 +2150,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2164,13 +2168,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2178,10 +2183,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3259,9 +3265,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3272,6 +3278,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3279,7 +3286,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3289,6 +3296,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3300,6 +3308,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3310,7 +3319,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4617,6 +4627,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6312,6 +6331,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6380,15 +6404,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7942,9 +7967,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7958,13 +7983,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7972,7 +7998,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8343,7 +8370,7 @@ "version": "file:../../functional_syntax/call_raw", "requires": { "@dfinity/agent": "^0.19.2", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "ts-jest": "^29.1.4", "tsx": "^4.15.7", @@ -8813,9 +8840,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8823,7 +8850,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9834,6 +9861,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10955,6 +10987,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -11001,9 +11038,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/call_raw/package.json b/tests/end_to_end/candid_rpc/class_syntax/call_raw/package.json index a9979f690f..95a71a4a89 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/call_raw/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/call_raw/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/candid_encoding/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/candid_encoding/package-lock.json index 7ee0e21df0..93491d63dd 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/candid_encoding/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/candid_encoding/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -30,9 +30,10 @@ } }, "../../functional_syntax/candid_encoding": { + "name": "candid_encoding_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -45,7 +46,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2048,7 +2050,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2146,10 +2149,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2163,13 +2167,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2177,10 +2182,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3258,9 +3264,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3271,6 +3277,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3278,7 +3285,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3288,6 +3295,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3299,6 +3307,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3309,7 +3318,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4616,6 +4626,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6311,6 +6330,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6379,15 +6403,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7941,9 +7966,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7957,13 +7982,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7971,7 +7997,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8354,7 +8381,7 @@ "version": "file:../../functional_syntax/candid_encoding", "requires": { "@dfinity/agent": "^0.19.2", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "ts-jest": "^29.1.4", "tsx": "^4.15.7", @@ -8812,9 +8839,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8822,7 +8849,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9833,6 +9860,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10954,6 +10986,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -11000,9 +11037,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/candid_encoding/package.json b/tests/end_to_end/candid_rpc/class_syntax/candid_encoding/package.json index 68cea2e6f9..7691c8b2d2 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/candid_encoding/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/candid_encoding/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/candid_keywords/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/candid_keywords/package-lock.json index c39145912a..bd4e24b96c 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/candid_keywords/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/candid_keywords/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.19.2", @@ -30,9 +30,10 @@ } }, "../../functional_syntax/candid_keywords": { + "name": "candid_keywords_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "0.19.2", @@ -45,7 +46,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2048,7 +2050,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2146,10 +2149,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2163,13 +2167,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2177,10 +2182,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3258,9 +3264,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3271,6 +3277,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3278,7 +3285,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3288,6 +3295,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3299,6 +3307,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3309,7 +3318,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4616,6 +4626,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6311,6 +6330,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6379,15 +6403,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7942,9 +7967,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7958,13 +7983,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7972,7 +7998,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8355,7 +8382,7 @@ "version": "file:../../functional_syntax/candid_keywords", "requires": { "@dfinity/agent": "0.19.2", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "ts-jest": "^29.1.4", "tsx": "^4.15.7", @@ -8813,9 +8840,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8823,7 +8850,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9834,6 +9861,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10955,6 +10987,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -11001,9 +11038,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/candid_keywords/package.json b/tests/end_to_end/candid_rpc/class_syntax/candid_keywords/package.json index 039f0b9310..2463b0702d 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/candid_keywords/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/candid_keywords/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/canister/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/canister/package-lock.json index f9546efe8c..e87ccb2595 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/canister/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/canister/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.21.4", @@ -47,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1981,7 +1982,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2079,10 +2081,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2096,13 +2099,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2110,10 +2114,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3191,9 +3196,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3204,6 +3209,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3211,7 +3217,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3221,6 +3227,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3232,6 +3239,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3242,7 +3250,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4549,6 +4558,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6220,6 +6238,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6288,15 +6311,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7782,9 +7806,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7798,13 +7822,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7812,7 +7837,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8655,9 +8681,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8665,7 +8691,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9676,6 +9702,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10772,6 +10803,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10818,9 +10854,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/canister/package.json b/tests/end_to_end/candid_rpc/class_syntax/canister/package.json index 95329b5df4..ef10610535 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/canister/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/canister/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.21.4", diff --git a/tests/end_to_end/candid_rpc/class_syntax/complex_init/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/complex_init/package-lock.json index cf58bc122d..f8cd87265f 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/complex_init/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/complex_init/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -34,7 +34,7 @@ "name": "complex_init_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -47,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2050,7 +2051,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2148,10 +2150,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2165,13 +2168,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2179,10 +2183,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3275,9 +3280,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3288,6 +3293,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3295,7 +3301,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3305,6 +3311,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3316,6 +3323,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3326,7 +3334,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4633,6 +4642,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6313,6 +6331,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6381,15 +6404,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7943,9 +7967,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7959,13 +7983,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7973,7 +7998,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8470,7 +8496,7 @@ "version": "file:../../functional_syntax/complex_init", "requires": { "@dfinity/agent": "^0.19.2", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "ts-jest": "^29.1.4", "tsx": "^4.15.7", @@ -8822,9 +8848,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8832,7 +8858,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9843,6 +9869,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10958,6 +10989,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -11004,9 +11040,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/complex_init/package.json b/tests/end_to_end/candid_rpc/class_syntax/complex_init/package.json index e593324f0d..da34ab474e 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/complex_init/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/complex_init/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/complex_types/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/complex_types/package-lock.json index 799425447a..6e07f830fd 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/complex_types/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/complex_types/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -31,9 +31,10 @@ } }, "../../functional_syntax/complex_types": { + "name": "complex_types_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -46,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1996,7 +1998,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2094,10 +2097,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2111,13 +2115,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2125,10 +2130,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3206,9 +3212,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3219,6 +3225,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3226,7 +3233,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3236,6 +3243,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3247,6 +3255,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3257,7 +3266,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4564,6 +4574,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6235,6 +6254,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6303,15 +6327,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7801,9 +7826,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7817,13 +7842,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7831,7 +7857,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8328,7 +8355,7 @@ "version": "file:../../functional_syntax/complex_types", "requires": { "@dfinity/agent": "0.11.1", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "ts-jest": "^29.1.4", "tsx": "^4.15.7", @@ -8672,9 +8699,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8682,7 +8709,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9693,6 +9720,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10789,6 +10821,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10835,9 +10872,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/complex_types/package.json b/tests/end_to_end/candid_rpc/class_syntax/complex_types/package.json index 243d4b72d4..d6f32662fa 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/complex_types/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/complex_types/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/class_syntax/composite_queries/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/composite_queries/package-lock.json index 8c0f7580c0..10f79687e4 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/composite_queries/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/composite_queries/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -47,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2050,7 +2051,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2148,10 +2150,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2165,13 +2168,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2179,10 +2183,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3275,9 +3280,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3288,6 +3293,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3295,7 +3301,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3305,6 +3311,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3316,6 +3323,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3326,7 +3334,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4633,6 +4642,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6313,6 +6331,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6381,15 +6404,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7943,9 +7967,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7959,13 +7983,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7973,7 +7998,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8822,9 +8848,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8832,7 +8858,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9843,6 +9869,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10958,6 +10989,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -11004,9 +11040,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/composite_queries/package.json b/tests/end_to_end/candid_rpc/class_syntax/composite_queries/package.json index 2ed08125a9..8c636d3953 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/composite_queries/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/composite_queries/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/counter/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/counter/package-lock.json index 8fd7b5ff28..e6dd99a9fa 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/counter/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/counter/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -46,7 +46,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2049,7 +2050,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2147,10 +2149,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2164,13 +2167,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2178,10 +2182,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3259,9 +3264,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3272,6 +3277,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3279,7 +3285,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3289,6 +3295,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3300,6 +3307,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3310,7 +3318,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4617,6 +4626,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6312,6 +6330,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6380,15 +6403,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7942,9 +7966,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7958,13 +7982,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7972,7 +7997,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8813,9 +8839,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8823,7 +8849,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9834,6 +9860,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10955,6 +10986,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -11001,9 +11037,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/counter/package.json b/tests/end_to_end/candid_rpc/class_syntax/counter/package.json index 3e2767a0db..0660451e9f 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/counter/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/counter/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/cross_canister_calls/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/cross_canister_calls/package-lock.json index 4f7151eac1..42b6188bce 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/cross_canister_calls/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/cross_canister_calls/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -47,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2050,7 +2051,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2148,10 +2150,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2165,13 +2168,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2179,10 +2183,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3260,9 +3265,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3273,6 +3278,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3280,7 +3286,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3290,6 +3296,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3301,6 +3308,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3311,7 +3319,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4618,6 +4627,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6313,6 +6331,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6381,15 +6404,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7943,9 +7967,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7959,13 +7983,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7973,7 +7998,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8814,9 +8840,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8824,7 +8850,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9835,6 +9861,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10956,6 +10987,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -11002,9 +11038,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/cross_canister_calls/package.json b/tests/end_to_end/candid_rpc/class_syntax/cross_canister_calls/package.json index 5f3fa7a50b..05537501e1 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/cross_canister_calls/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/cross_canister_calls/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/cycles/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/cycles/package-lock.json index 287c27e844..8657d67a65 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/cycles/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/cycles/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -47,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2044,7 +2045,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2141,10 +2143,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2158,13 +2161,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2172,10 +2176,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3251,9 +3256,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3264,6 +3269,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3271,7 +3277,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3281,6 +3287,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3292,6 +3299,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3302,7 +3310,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4608,6 +4617,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6302,6 +6320,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6370,15 +6393,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7917,9 +7941,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7933,13 +7957,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7947,7 +7972,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8784,9 +8810,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8794,7 +8820,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9803,6 +9829,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10922,6 +10953,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10968,9 +11004,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/cycles/package.json b/tests/end_to_end/candid_rpc/class_syntax/cycles/package.json index 38df65ecf1..fa8b0b171c 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/cycles/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/cycles/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/date/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/date/package-lock.json index fd8e9e7e98..ce3b1469d3 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/date/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/date/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -31,9 +31,10 @@ } }, "../../functional_syntax/date": { + "name": "date_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -46,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2049,7 +2051,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2147,10 +2150,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2164,13 +2168,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2178,10 +2183,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3259,9 +3265,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3272,6 +3278,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3279,7 +3286,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3289,6 +3296,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3300,6 +3308,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3310,7 +3319,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4617,6 +4627,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6312,6 +6331,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6380,15 +6404,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7942,9 +7967,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7958,13 +7983,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7972,7 +7998,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8618,7 +8645,7 @@ "version": "file:../../functional_syntax/date", "requires": { "@dfinity/agent": "^0.19.2", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "ts-jest": "^29.1.4", "tsx": "^4.15.7", @@ -8813,9 +8840,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8823,7 +8850,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9834,6 +9861,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10955,6 +10987,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -11001,9 +11038,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/date/package.json b/tests/end_to_end/candid_rpc/class_syntax/date/package.json index a5ed20166d..89b5447292 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/date/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/date/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/ethereum_json_rpc/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/ethereum_json_rpc/package-lock.json index 83cef34247..c2ffc95c15 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/ethereum_json_rpc/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/ethereum_json_rpc/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -47,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2050,7 +2051,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2148,10 +2150,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2165,13 +2168,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2179,10 +2183,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3275,9 +3280,9 @@ "link": true }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3288,6 +3293,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3295,7 +3301,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3305,6 +3311,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3316,6 +3323,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3326,7 +3334,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4633,6 +4642,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6313,6 +6331,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6381,15 +6404,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7943,9 +7967,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7959,13 +7983,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7973,7 +7998,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8822,9 +8848,9 @@ } }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8832,7 +8858,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9843,6 +9869,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10958,6 +10989,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -11004,9 +11040,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/ethereum_json_rpc/package.json b/tests/end_to_end/candid_rpc/class_syntax/ethereum_json_rpc/package.json index f67024ec19..94d9b4e0ca 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/ethereum_json_rpc/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/ethereum_json_rpc/package.json @@ -4,7 +4,7 @@ "test": "ETHEREUM_URL=https://rpc.ankr.com/eth jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/func_types/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/func_types/package-lock.json index 5193a330d1..37f69914b4 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/func_types/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/func_types/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -47,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1997,7 +1998,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2095,10 +2097,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2112,13 +2115,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2126,10 +2130,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3218,9 +3223,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3231,6 +3236,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3238,7 +3244,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3248,6 +3254,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3259,6 +3266,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3269,7 +3277,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4580,6 +4589,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6236,6 +6254,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6304,15 +6327,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7802,9 +7826,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7818,13 +7842,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7832,7 +7857,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8670,9 +8696,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8680,7 +8706,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9702,6 +9728,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10792,6 +10823,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10838,9 +10874,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/func_types/package.json b/tests/end_to_end/candid_rpc/class_syntax/func_types/package.json index 6881e5cd2f..5cb372614b 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/func_types/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/func_types/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/class_syntax/heartbeat/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/heartbeat/package-lock.json index 3ee418d116..31dac1b1b9 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/heartbeat/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/heartbeat/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -56,9 +56,10 @@ } }, "../../functional_syntax/heartbeat": { + "name": "heartbeat_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -71,7 +72,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2074,7 +2076,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2172,10 +2175,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2189,13 +2193,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2203,10 +2208,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3280,9 +3286,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3293,6 +3299,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3300,7 +3307,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3310,6 +3317,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3321,6 +3329,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3331,7 +3340,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4645,6 +4655,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6340,6 +6359,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6408,15 +6432,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7970,9 +7995,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7986,13 +8011,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -8000,7 +8026,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8830,9 +8857,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8840,7 +8867,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9137,7 +9164,7 @@ "version": "file:../../functional_syntax/heartbeat", "requires": { "@dfinity/agent": "^0.19.2", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "ts-jest": "^29.1.4", "tsx": "^4.15.7", @@ -9862,6 +9889,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10983,6 +11015,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -11029,9 +11066,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/heartbeat/package.json b/tests/end_to_end/candid_rpc/class_syntax/heartbeat/package.json index 4db362463b..9e94be97a7 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/heartbeat/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/heartbeat/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/ic_api/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/ic_api/package-lock.json index 16e9de0110..ef9d4b0594 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/ic_api/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/ic_api/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -47,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2065,7 +2066,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2163,10 +2165,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2180,13 +2183,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2194,10 +2198,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3271,9 +3276,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3284,6 +3289,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3291,7 +3297,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3301,6 +3307,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3312,6 +3319,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3322,12 +3330,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4638,6 +4648,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6319,6 +6338,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6387,15 +6411,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/ic_api/package.json b/tests/end_to_end/candid_rpc/class_syntax/ic_api/package.json index a982fd242a..83a6b7c355 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/ic_api/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/ic_api/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/icrc/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/icrc/package-lock.json index 0dd3385bde..85fe1870ae 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/icrc/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/icrc/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.14.1", @@ -47,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2223,7 +2224,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2319,10 +2321,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2336,13 +2339,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2350,10 +2354,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3438,9 +3443,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3451,6 +3456,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3458,7 +3464,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3468,6 +3474,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3479,6 +3486,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3489,12 +3497,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4805,6 +4815,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6469,6 +6488,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6537,15 +6561,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/icrc/package.json b/tests/end_to_end/candid_rpc/class_syntax/icrc/package.json index a238e84160..4bb5e35683 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/icrc/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/icrc/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.14.1", diff --git a/tests/end_to_end/candid_rpc/class_syntax/imports/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/imports/package-lock.json index c1d5b0ce78..08b270268a 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/imports/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/imports/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "jssha": "^3.3.1" }, "devDependencies": { @@ -49,7 +49,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2052,7 +2053,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2150,10 +2152,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2167,13 +2170,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2181,10 +2185,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3258,9 +3263,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3271,6 +3276,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3278,7 +3284,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3288,6 +3294,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3299,6 +3306,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3309,7 +3317,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -6323,6 +6332,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6391,15 +6405,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7953,9 +7968,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7969,13 +7984,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7983,7 +7999,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8813,9 +8830,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8823,7 +8840,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -10972,6 +10989,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -11018,9 +11040,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/imports/package.json b/tests/end_to_end/candid_rpc/class_syntax/imports/package.json index 8ce91e71f1..d1c852529e 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/imports/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/imports/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "jssha": "^3.3.1" }, "devDependencies": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/init/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/init/package-lock.json index 80fe60b9f8..703e5c4b42 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/init/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/init/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^1.4.0", @@ -56,9 +56,10 @@ } }, "../../functional_syntax/init": { + "name": "init_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^1.4.0", @@ -71,7 +72,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1990,7 +1992,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2088,10 +2091,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2105,13 +2109,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2119,10 +2124,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/brace-expansion": { @@ -3176,9 +3182,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3189,6 +3195,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3196,7 +3203,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3206,6 +3213,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3217,6 +3225,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3227,7 +3236,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4538,6 +4548,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6194,6 +6213,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6262,15 +6286,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7733,9 +7758,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7749,13 +7774,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7763,7 +7789,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "brace-expansion": { @@ -8572,9 +8599,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8582,7 +8609,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -8961,7 +8988,7 @@ "version": "file:../../functional_syntax/init", "requires": { "@dfinity/agent": "^1.4.0", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "ts-jest": "^29.1.5", "tsx": "^4.15.7", @@ -9604,6 +9631,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10694,6 +10726,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10740,9 +10777,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/init/package.json b/tests/end_to_end/candid_rpc/class_syntax/init/package.json index 5747bb8763..cfdbfd310c 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/init/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/init/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^1.4.0", diff --git a/tests/end_to_end/candid_rpc/class_syntax/inspect_message/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/inspect_message/package-lock.json index 3d9fd0b687..5f8c854885 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/inspect_message/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/inspect_message/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -56,9 +56,10 @@ } }, "../../functional_syntax/inspect_message": { + "name": "inspect_message_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -71,7 +72,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2074,7 +2076,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2172,10 +2175,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2189,13 +2193,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2203,10 +2208,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3280,9 +3286,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3293,6 +3299,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3300,7 +3307,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3310,6 +3317,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3321,6 +3329,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3331,7 +3340,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4645,6 +4655,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6340,6 +6359,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6408,15 +6432,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7970,9 +7995,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7986,13 +8011,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -8000,7 +8026,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8830,9 +8857,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8840,7 +8867,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9219,7 +9246,7 @@ "version": "file:../../functional_syntax/inspect_message", "requires": { "@dfinity/agent": "^0.19.2", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "ts-jest": "^29.1.5", "tsx": "^4.15.7", @@ -9862,6 +9889,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10983,6 +11015,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -11029,9 +11066,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/inspect_message/package.json b/tests/end_to_end/candid_rpc/class_syntax/inspect_message/package.json index 6e7f69ab1f..490fcb8e97 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/inspect_message/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/inspect_message/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/key_value_store/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/key_value_store/package-lock.json index be93e51ce3..2f69e9dd98 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/key_value_store/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/key_value_store/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -31,9 +31,10 @@ } }, "../../functional_syntax/key_value_store": { + "name": "key_value_store_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -46,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2049,7 +2051,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2147,10 +2150,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2164,13 +2168,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2178,10 +2183,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3255,9 +3261,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3268,6 +3274,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3275,7 +3282,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3285,6 +3292,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3296,6 +3304,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3306,7 +3315,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4616,6 +4626,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/key_value_store_end_to_end_test_functional_syntax": { "resolved": "../../functional_syntax/key_value_store", "link": true @@ -6315,6 +6334,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6383,15 +6407,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7945,9 +7970,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7961,13 +7986,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7975,7 +8001,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8805,9 +8832,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8815,7 +8842,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9826,11 +9853,16 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "key_value_store_end_to_end_test_functional_syntax": { "version": "file:../../functional_syntax/key_value_store", "requires": { "@dfinity/agent": "^0.19.2", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "ts-jest": "^29.1.5", "tsx": "^4.15.7", @@ -10958,6 +10990,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -11004,9 +11041,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/key_value_store/package.json b/tests/end_to_end/candid_rpc/class_syntax/key_value_store/package.json index 0d4d1a6e7a..89aadc6150 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/key_value_store/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/key_value_store/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/ledger_canister/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/ledger_canister/package-lock.json index 4f332223e6..220522f3b5 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/ledger_canister/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/ledger_canister/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -47,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2050,7 +2051,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2148,10 +2150,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2165,13 +2168,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2179,10 +2183,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3256,9 +3261,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3269,6 +3274,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3276,7 +3282,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3286,6 +3292,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3297,6 +3304,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3307,7 +3315,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4617,6 +4626,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6316,6 +6334,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6384,15 +6407,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7946,9 +7970,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7962,13 +7986,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7976,7 +8001,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8806,9 +8832,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8816,7 +8842,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9827,6 +9853,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10959,6 +10990,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -11005,9 +11041,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/ledger_canister/package.json b/tests/end_to_end/candid_rpc/class_syntax/ledger_canister/package.json index f8af6e1eb2..78591210bb 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/ledger_canister/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/ledger_canister/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/list_of_lists/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/list_of_lists/package-lock.json index 6fe3b9fd65..6d27666bb4 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/list_of_lists/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/list_of_lists/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -36,7 +36,7 @@ "name": "list_of_lists_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -50,7 +50,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2053,7 +2054,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2151,10 +2153,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2168,13 +2171,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2182,10 +2186,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3274,9 +3279,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3287,6 +3292,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3294,7 +3300,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3304,6 +3310,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3315,6 +3322,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3325,7 +3333,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4644,6 +4653,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6328,6 +6346,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6396,15 +6419,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7958,9 +7982,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7974,13 +7998,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7988,7 +8013,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8826,9 +8852,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8836,7 +8862,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9853,6 +9879,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -9880,7 +9911,7 @@ "version": "file:../../functional_syntax/list_of_lists", "requires": { "@dfinity/agent": "^0.19.2", - "azle": "0.22.0", + "azle": "0.23.0", "fast-equals": "^5.0.1", "jest": "^29.7.0", "ts-jest": "^29.1.5", @@ -10980,6 +11011,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -11026,9 +11062,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/list_of_lists/package.json b/tests/end_to_end/candid_rpc/class_syntax/list_of_lists/package.json index de637f1f1b..e519b863b5 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/list_of_lists/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/list_of_lists/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/management_canister/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/management_canister/package-lock.json index d03e86a332..8a15330aca 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/management_canister/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/management_canister/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -31,9 +31,10 @@ } }, "../../functional_syntax/management_canister": { + "name": "management_canister_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -46,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2049,7 +2051,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2147,10 +2150,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2164,13 +2168,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2178,10 +2183,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3270,9 +3276,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3283,6 +3289,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3290,7 +3297,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3300,6 +3307,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3311,6 +3319,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3321,7 +3330,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4628,6 +4638,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6312,6 +6331,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6380,15 +6404,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7942,9 +7967,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7958,13 +7983,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7972,7 +7998,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8810,9 +8837,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8820,7 +8847,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9831,6 +9858,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -9914,7 +9946,7 @@ "version": "file:../../functional_syntax/management_canister", "requires": { "@dfinity/agent": "^0.19.2", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "ts-jest": "^29.1.5", "tsx": "^4.15.7", @@ -10957,6 +10989,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -11003,9 +11040,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/management_canister/package.json b/tests/end_to_end/candid_rpc/class_syntax/management_canister/package.json index 8a728e7ded..55df4e31d5 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/management_canister/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/management_canister/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/manual_reply/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/manual_reply/package-lock.json index 6ccbcd103c..6fe88f71d8 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/manual_reply/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/manual_reply/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -31,9 +31,10 @@ } }, "../../functional_syntax/manual_reply": { + "name": "manual_reply_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -46,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2049,7 +2051,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2147,10 +2150,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2164,13 +2168,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2178,10 +2183,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3270,9 +3276,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3283,6 +3289,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3290,7 +3297,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3300,6 +3307,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3311,6 +3319,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3321,7 +3330,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4631,6 +4641,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6315,6 +6334,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6383,15 +6407,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7945,9 +7970,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7961,13 +7986,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7975,7 +8001,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8813,9 +8840,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8823,7 +8850,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9834,6 +9861,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -9917,7 +9949,7 @@ "version": "file:../../functional_syntax/manual_reply", "requires": { "@dfinity/agent": "^0.19.2", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "ts-jest": "^29.1.5", "tsx": "^4.15.7", @@ -10960,6 +10992,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -11006,9 +11043,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/manual_reply/package.json b/tests/end_to_end/candid_rpc/class_syntax/manual_reply/package.json index 4c877817f3..bb69161cdc 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/manual_reply/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/manual_reply/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/calc/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/calc/package-lock.json index 847630c5ae..870b9ae5d0 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/calc/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/calc/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -20,9 +20,10 @@ "extraneous": true }, "../../../functional_syntax/motoko_examples/calc": { + "name": "calc_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -35,7 +36,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2053,7 +2055,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2151,10 +2154,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2168,13 +2172,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2182,10 +2187,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3263,9 +3269,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3276,6 +3282,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3283,7 +3290,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3293,6 +3300,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3304,6 +3312,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3314,12 +3323,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4626,6 +4637,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6307,6 +6327,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6375,15 +6400,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/calc/package.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/calc/package.json index f882b64dbe..46e10c3ce2 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/calc/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/calc/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/counter/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/counter/package-lock.json index 56f635b18e..e397246495 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/counter/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/counter/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -20,9 +20,10 @@ "extraneous": true }, "../../../functional_syntax/motoko_examples/counter": { + "name": "counter_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -35,7 +36,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2053,7 +2055,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2151,10 +2154,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2168,13 +2172,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2182,10 +2187,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3263,9 +3269,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3276,6 +3282,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3283,7 +3290,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3293,6 +3300,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3304,6 +3312,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3314,12 +3323,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4626,6 +4637,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6307,6 +6327,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6375,15 +6400,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/counter/package.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/counter/package.json index 1fe8371e1b..c7de4e50d1 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/counter/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/counter/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/echo/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/echo/package-lock.json index e25aea10f8..d4a72b8ce0 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/echo/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/echo/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -20,9 +20,10 @@ "extraneous": true }, "../../../functional_syntax/motoko_examples/echo": { + "name": "echo_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -35,7 +36,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2053,7 +2055,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2151,10 +2154,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2168,13 +2172,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2182,10 +2187,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3263,9 +3269,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3276,6 +3282,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3283,7 +3290,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3293,6 +3300,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3304,6 +3312,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3314,12 +3323,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4626,6 +4637,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6307,6 +6327,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6375,15 +6400,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/echo/package.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/echo/package.json index 3fd9996bba..4fca4e90c7 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/echo/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/echo/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/factorial/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/factorial/package-lock.json index 6ad9ca21a7..7f7c0c29d2 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/factorial/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/factorial/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -36,9 +36,10 @@ "extraneous": true }, "../../../functional_syntax/motoko_examples/factorial": { + "name": "factorial_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -51,7 +52,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2069,7 +2071,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2167,10 +2170,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2184,13 +2188,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2198,10 +2203,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3275,9 +3281,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3288,6 +3294,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3295,7 +3302,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3305,6 +3312,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3316,6 +3324,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3326,12 +3335,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4642,6 +4653,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6323,6 +6343,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6391,15 +6416,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/factorial/package.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/factorial/package.json index 17539ff53f..87b3e255b5 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/factorial/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/factorial/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello-world/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello-world/package-lock.json index 4c5417a652..5a9c288a6e 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello-world/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello-world/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -20,9 +20,10 @@ "extraneous": true }, "../../../functional_syntax/motoko_examples/hello-world": { + "name": "hello-world_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -35,7 +36,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2053,7 +2055,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2151,10 +2154,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2168,13 +2172,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2182,10 +2187,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3259,9 +3265,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3272,6 +3278,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3279,7 +3286,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3289,6 +3296,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3300,6 +3308,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3310,12 +3319,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4626,6 +4637,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6307,6 +6327,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6375,15 +6400,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello-world/package.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello-world/package.json index 2e7c1edb07..f6ee16bb58 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello-world/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello-world/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello/package-lock.json index 88eddeda22..a7aa72f7c5 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello/package-lock.json @@ -7,7 +7,7 @@ "": { "version": "0.1.0", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.0", @@ -40,7 +40,7 @@ "version": "0.1.0", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.0", @@ -67,7 +67,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2585,7 +2586,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ajv": { "version": "8.12.0", @@ -2770,10 +2772,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2787,13 +2790,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2801,10 +2805,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -4462,9 +4467,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -4475,6 +4480,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -4482,7 +4488,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -4492,6 +4498,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -4503,6 +4510,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -4513,32 +4521,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" - }, - "node_modules/ethers/node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/eventemitter3": { "version": "4.0.7", @@ -6685,6 +6675,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", @@ -9377,6 +9376,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/watchpack": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz", @@ -9769,10 +9773,10 @@ } }, "node_modules/ws": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", - "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", - "dev": true, + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello/package.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello/package.json index 2161574997..3afddd3790 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello/package.json @@ -17,7 +17,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.0", diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/http_counter/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/http_counter/package-lock.json index c404c625a9..7e5452b3a4 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/http_counter/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/http_counter/package-lock.json @@ -7,7 +7,7 @@ "": { "version": "0.1.0", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.0", @@ -52,7 +52,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2069,7 +2070,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2167,10 +2169,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2184,13 +2187,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2198,10 +2202,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3290,9 +3295,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3303,6 +3308,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3310,7 +3316,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3320,6 +3326,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3331,6 +3338,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3341,7 +3349,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4652,6 +4661,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6318,6 +6336,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6386,15 +6409,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7959,9 +7983,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7975,13 +7999,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7989,7 +8014,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8827,9 +8853,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8837,7 +8863,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9859,6 +9885,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10961,6 +10992,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -11007,9 +11043,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/http_counter/package.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/http_counter/package.json index 9620cd4c86..1ce9080495 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/http_counter/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/http_counter/package.json @@ -12,7 +12,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.0", diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/minimal-counter-dapp/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/minimal-counter-dapp/package-lock.json index 3387b85b06..d997de8fb7 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/minimal-counter-dapp/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/minimal-counter-dapp/package-lock.json @@ -7,7 +7,7 @@ "": { "version": "0.1.0", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.0", @@ -34,11 +34,10 @@ "extraneous": true }, "../../../functional_syntax/motoko_examples/minimal-counter-dapp": { - "name": "minimal-counter-dapp", "version": "0.1.0", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.0", @@ -63,7 +62,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2501,7 +2501,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ajv": { "version": "6.12.6", @@ -2705,10 +2706,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2722,13 +2724,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2736,10 +2739,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -4341,9 +4345,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -4354,6 +4358,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -4361,7 +4366,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -4371,6 +4376,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -4382,6 +4388,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -4392,32 +4399,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" - }, - "node_modules/ethers/node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/eventemitter3": { "version": "4.0.7", @@ -6449,6 +6438,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", @@ -9021,6 +9019,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/watchpack": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz", @@ -9470,10 +9473,10 @@ } }, "node_modules/ws": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", - "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", - "dev": true, + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/minimal-counter-dapp/package.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/minimal-counter-dapp/package.json index ed819a39e6..5746e1da89 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/minimal-counter-dapp/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/minimal-counter-dapp/package.json @@ -17,7 +17,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.0", diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/persistent-storage/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/persistent-storage/package-lock.json index 4c797f800f..a9840a5c15 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/persistent-storage/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/persistent-storage/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -36,7 +36,7 @@ "name": "persistent-storage_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -49,7 +49,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2052,7 +2053,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2150,10 +2152,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2167,13 +2170,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2181,10 +2185,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3273,9 +3278,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3286,6 +3291,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3293,7 +3299,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3303,6 +3309,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3314,6 +3321,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3324,7 +3332,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4631,6 +4640,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6315,6 +6333,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6383,15 +6406,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7945,9 +7969,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7961,13 +7985,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7975,7 +8000,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8813,9 +8839,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8823,7 +8849,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9834,6 +9860,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10185,7 +10216,7 @@ "version": "file:../../../functional_syntax/motoko_examples/persistent-storage", "requires": { "@dfinity/agent": "^0.19.2", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "ts-jest": "^29.1.4", "tsx": "^4.15.7", @@ -10960,6 +10991,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -11006,9 +11042,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/persistent-storage/package.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/persistent-storage/package.json index d9cbe2d192..1b998845cd 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/persistent-storage/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/persistent-storage/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/phone-book/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/phone-book/package-lock.json index b04b2b5a38..b3bcc4e73c 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/phone-book/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/phone-book/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "react": "^17.0.2", "react-dom": "^17.0.2" }, @@ -39,9 +39,10 @@ "extraneous": true }, "../../../functional_syntax/motoko_examples/phone-book": { + "name": "phone-book_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0", + "azle": "0.23.0", "react": "^17.0.2", "react-dom": "^17.0.2" }, @@ -73,7 +74,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2624,7 +2626,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ajv": { "version": "8.12.0", @@ -2809,10 +2812,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2826,13 +2830,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2840,10 +2845,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -4548,9 +4554,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -4561,6 +4567,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -4568,7 +4575,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -4578,6 +4585,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -4589,6 +4597,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -4599,32 +4608,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" - }, - "node_modules/ethers/node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/eventemitter3": { "version": "4.0.7", @@ -6754,6 +6745,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", @@ -9656,6 +9656,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/watchpack": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz", @@ -10048,10 +10053,10 @@ } }, "node_modules/ws": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", - "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", - "dev": true, + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/phone-book/package.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/phone-book/package.json index be8d42634e..89a47cd2c9 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/phone-book/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/phone-book/package.json @@ -40,7 +40,7 @@ "last 2 edge version" ], "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "react": "^17.0.2", "react-dom": "^17.0.2" } diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/quicksort/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/quicksort/package-lock.json index a55e422fe1..96e52c549d 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/quicksort/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/quicksort/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -20,9 +20,10 @@ "extraneous": true }, "../../../functional_syntax/motoko_examples/quicksort": { + "name": "quicksort_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -35,7 +36,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2053,7 +2055,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2151,10 +2154,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2168,13 +2172,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2182,10 +2187,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3259,9 +3265,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3272,6 +3278,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3279,7 +3286,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3289,6 +3296,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3300,6 +3308,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3310,12 +3319,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4622,6 +4633,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6307,6 +6327,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6375,15 +6400,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/quicksort/package.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/quicksort/package.json index 447a919cb4..8c67aa3f52 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/quicksort/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/quicksort/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/simple-to-do/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/simple-to-do/package-lock.json index acd13f5f8f..2fbafaf3fc 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/simple-to-do/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/simple-to-do/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -20,9 +20,10 @@ "extraneous": true }, "../../../functional_syntax/motoko_examples/simple-to-do": { + "name": "simple-to-do_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -35,7 +36,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2053,7 +2055,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2151,10 +2154,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2168,13 +2172,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2182,10 +2187,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3259,9 +3265,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3272,6 +3278,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3279,7 +3286,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3289,6 +3296,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3300,6 +3308,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3310,12 +3319,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4622,6 +4633,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6307,6 +6327,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6375,15 +6400,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/simple-to-do/package.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/simple-to-do/package.json index ba95ec993a..6c1e6d313c 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/simple-to-do/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/simple-to-do/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/superheroes/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/superheroes/package-lock.json index edc3bc8eea..16eadc24bd 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/superheroes/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/superheroes/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "react": "^17.0.2", "react-dom": "^17.0.2" }, @@ -74,7 +74,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2625,7 +2626,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ajv": { "version": "8.12.0", @@ -2810,10 +2812,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2827,13 +2830,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2841,10 +2845,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -4549,9 +4554,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -4562,6 +4567,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -4569,7 +4575,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -4579,6 +4585,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -4590,6 +4597,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -4600,32 +4608,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" - }, - "node_modules/ethers/node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/eventemitter3": { "version": "4.0.7", @@ -6755,6 +6745,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", @@ -9657,6 +9656,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/watchpack": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz", @@ -10049,10 +10053,10 @@ } }, "node_modules/ws": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", - "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", - "dev": true, + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/superheroes/package.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/superheroes/package.json index e346c03a78..d2e5e5cddc 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/superheroes/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/superheroes/package.json @@ -40,7 +40,7 @@ "last 2 edge version" ], "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "react": "^17.0.2", "react-dom": "^17.0.2" } diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/threshold_ecdsa/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/threshold_ecdsa/package-lock.json index 226bf9168e..ed68782ff3 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/threshold_ecdsa/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/threshold_ecdsa/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "encode-utf8": "2.0.0" }, "devDependencies": { @@ -35,9 +35,10 @@ "extraneous": true }, "../../../functional_syntax/motoko_examples/threshold_ecdsa": { + "name": "threshold_ecdsa_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0", + "azle": "0.23.0", "encode-utf8": "2.0.0" }, "devDependencies": { @@ -51,7 +52,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2069,7 +2071,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2167,10 +2170,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2184,13 +2188,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2198,10 +2203,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3283,9 +3289,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3296,6 +3302,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3303,7 +3310,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3313,6 +3320,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3324,6 +3332,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3334,12 +3343,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4646,6 +4657,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6331,6 +6351,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6399,15 +6424,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/threshold_ecdsa/package.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/threshold_ecdsa/package.json index 557d243375..5a32ad8263 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/threshold_ecdsa/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/threshold_ecdsa/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "encode-utf8": "2.0.0" }, "devDependencies": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/whoami/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/whoami/package-lock.json index 87f306720c..7e53a4d036 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/whoami/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/whoami/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -35,9 +35,10 @@ "extraneous": true }, "../../../functional_syntax/motoko_examples/whoami": { + "name": "whoami_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -51,7 +52,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2127,7 +2129,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2225,10 +2228,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2242,13 +2246,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2256,10 +2261,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3333,9 +3339,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3346,6 +3352,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3353,7 +3360,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3363,6 +3370,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3374,6 +3382,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3384,12 +3393,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4696,6 +4707,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6383,6 +6403,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/webcrypto-core": { "version": "1.7.7", "resolved": "https://registry.npmjs.org/webcrypto-core/-/webcrypto-core-1.7.7.tgz", @@ -6469,15 +6494,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/whoami/package.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/whoami/package.json index 7abaea0f4e..e757882804 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/whoami/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/whoami/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/notify_raw/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/notify_raw/package-lock.json index 64a161bfdc..89a6c2771b 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/notify_raw/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/notify_raw/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -47,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1997,7 +1998,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2095,10 +2097,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2112,13 +2115,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2126,10 +2130,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3203,9 +3208,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3216,6 +3221,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3223,7 +3229,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3233,6 +3239,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3244,6 +3251,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3254,7 +3262,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4564,6 +4573,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6239,6 +6257,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6307,15 +6330,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7805,9 +7829,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7821,13 +7845,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7835,7 +7860,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8665,9 +8691,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8675,7 +8701,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9686,6 +9712,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10793,6 +10824,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10839,9 +10875,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/notify_raw/package.json b/tests/end_to_end/candid_rpc/class_syntax/notify_raw/package.json index 30970fd747..dedf0397c1 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/notify_raw/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/notify_raw/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/class_syntax/null_example/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/null_example/package-lock.json index 5ba17b3fb4..b21e8ec4c8 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/null_example/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/null_example/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -31,9 +31,10 @@ } }, "../../functional_syntax/null_example": { + "name": "null_example_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -46,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1996,7 +1998,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2094,10 +2097,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2111,13 +2115,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2125,10 +2130,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3217,9 +3223,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3230,6 +3236,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3237,7 +3244,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3247,6 +3254,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3258,6 +3266,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3268,7 +3277,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4578,6 +4588,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6238,6 +6257,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6306,15 +6330,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7804,9 +7829,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7820,13 +7845,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7834,7 +7860,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8672,9 +8699,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8682,7 +8709,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9693,6 +9720,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -9906,7 +9938,7 @@ "version": "file:../../functional_syntax/null_example", "requires": { "@dfinity/agent": "0.11.1", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "ts-jest": "^29.1.5", "tsx": "^4.15.7", @@ -10794,6 +10826,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10840,9 +10877,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/null_example/package.json b/tests/end_to_end/candid_rpc/class_syntax/null_example/package.json index e4f1f18fbf..f371d6eb9e 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/null_example/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/null_example/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/class_syntax/optional_types/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/optional_types/package-lock.json index c0aed99681..4883b3843e 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/optional_types/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/optional_types/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -35,9 +35,10 @@ } }, "../../functional_syntax/optional_types": { + "name": "optional_types_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -52,7 +53,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2012,7 +2014,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2116,10 +2119,11 @@ "dev": true }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2133,13 +2137,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2147,10 +2152,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3245,9 +3251,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3258,6 +3264,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3265,7 +3272,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3275,6 +3282,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3286,6 +3294,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3296,7 +3305,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4620,6 +4630,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6342,6 +6361,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", @@ -6426,15 +6450,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7940,9 +7965,9 @@ "dev": true }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7956,13 +7981,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7970,7 +7996,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8815,9 +8842,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8825,7 +8852,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9847,6 +9874,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10103,7 +10135,7 @@ "requires": { "@dfinity/agent": "0.11.1", "@types/node-fetch": "2.6.1", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "node-fetch": "2.6.7", "ts-jest": "^29.1.5", @@ -10986,6 +11018,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", @@ -11048,9 +11085,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/optional_types/package.json b/tests/end_to_end/candid_rpc/class_syntax/optional_types/package.json index a9d6d3b530..0e206a04cb 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/optional_types/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/optional_types/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/class_syntax/outgoing_http_requests/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/outgoing_http_requests/package-lock.json index 985cfa05cf..cacfdaba20 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/outgoing_http_requests/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/outgoing_http_requests/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -53,7 +53,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1992,7 +1993,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2089,10 +2091,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2106,13 +2109,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2120,10 +2124,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3193,9 +3198,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3206,6 +3211,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3213,7 +3219,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3223,6 +3229,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3234,6 +3241,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3244,7 +3252,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4549,6 +4558,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6222,6 +6240,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6290,15 +6313,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7763,9 +7787,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7779,13 +7803,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7793,7 +7818,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8611,9 +8637,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8621,7 +8647,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9622,6 +9648,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10721,6 +10752,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10767,9 +10803,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/outgoing_http_requests/package.json b/tests/end_to_end/candid_rpc/class_syntax/outgoing_http_requests/package.json index 2982fe9b14..97112ff81b 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/outgoing_http_requests/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/outgoing_http_requests/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/class_syntax/pre_and_post_upgrade/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/pre_and_post_upgrade/package-lock.json index 40561b810a..22b89e5724 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/pre_and_post_upgrade/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/pre_and_post_upgrade/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -56,9 +56,10 @@ } }, "../../functional_syntax/pre_and_post_upgrade": { + "name": "pre_and_post_upgrade_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -71,7 +72,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2074,7 +2076,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2172,10 +2175,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2189,13 +2193,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2203,10 +2208,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3295,9 +3301,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3308,6 +3314,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3315,7 +3322,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3325,6 +3332,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3336,6 +3344,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3346,7 +3355,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4656,6 +4666,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6340,6 +6359,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6408,15 +6432,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7970,9 +7995,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7986,13 +8011,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -8000,7 +8026,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8838,9 +8865,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8848,7 +8875,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9859,6 +9886,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10236,7 +10268,7 @@ "version": "file:../../functional_syntax/pre_and_post_upgrade", "requires": { "@dfinity/agent": "^0.19.2", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "ts-jest": "^29.1.5", "tsx": "^4.15.7", @@ -10985,6 +11017,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -11031,9 +11068,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/pre_and_post_upgrade/package.json b/tests/end_to_end/candid_rpc/class_syntax/pre_and_post_upgrade/package.json index 850a111bd0..f1f57be40b 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/pre_and_post_upgrade/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/pre_and_post_upgrade/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/primitive_types/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/primitive_types/package-lock.json index fd66383929..1cb324e94c 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/primitive_types/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/primitive_types/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -34,7 +34,7 @@ "name": "primitive_types_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -47,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2065,7 +2066,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2163,10 +2165,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2180,13 +2183,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2194,10 +2198,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3286,9 +3291,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3299,6 +3304,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3306,7 +3312,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3316,6 +3322,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3327,6 +3334,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3337,12 +3345,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4652,6 +4662,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6322,6 +6341,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6390,15 +6414,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/primitive_types/package.json b/tests/end_to_end/candid_rpc/class_syntax/primitive_types/package.json index 216c5e3f4b..649aa0f582 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/primitive_types/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/primitive_types/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/principal/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/principal/package-lock.json index ce90447302..5ae8e35320 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/principal/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/principal/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -47,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2065,7 +2066,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2163,10 +2165,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2180,13 +2183,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2194,10 +2198,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3271,9 +3276,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3284,6 +3289,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3291,7 +3297,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3301,6 +3307,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3312,6 +3319,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3322,12 +3330,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4637,6 +4647,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6322,6 +6341,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6390,15 +6414,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/principal/package.json b/tests/end_to_end/candid_rpc/class_syntax/principal/package.json index 5e568e3de0..e226619dc1 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/principal/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/principal/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/query/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/query/package-lock.json index f82a49ad54..9708ec97a6 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/query/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/query/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.19.2", @@ -46,7 +46,7 @@ "name": "query_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "0.19.2", @@ -59,7 +59,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2062,7 +2063,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2160,10 +2162,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2177,13 +2180,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2191,10 +2195,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3283,9 +3288,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3296,6 +3301,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3303,7 +3309,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3313,6 +3319,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3324,6 +3331,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3334,7 +3342,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4641,6 +4650,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6325,6 +6343,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6393,15 +6416,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7956,9 +7980,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7972,13 +7996,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7986,7 +8011,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8824,9 +8850,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8834,7 +8860,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9845,6 +9871,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10295,7 +10326,7 @@ "version": "file:../../functional_syntax/query", "requires": { "@dfinity/agent": "0.19.2", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "ts-jest": "^29.1.4", "tsx": "^4.15.7", @@ -10971,6 +11002,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -11017,9 +11053,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/query/package.json b/tests/end_to_end/candid_rpc/class_syntax/query/package.json index 3a6f5b3743..e95fce390d 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/query/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/query/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/randomness/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/randomness/package-lock.json index 8cb2342c45..83c501de93 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/randomness/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/randomness/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -31,9 +31,10 @@ } }, "../../functional_syntax/randomness": { + "name": "randomness_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -46,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1996,7 +1998,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2094,10 +2097,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2111,13 +2115,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2125,10 +2130,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3202,9 +3208,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3215,6 +3221,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3222,7 +3229,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3232,6 +3239,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3243,6 +3251,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3253,7 +3262,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4563,6 +4573,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6238,6 +6257,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6306,15 +6330,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7804,9 +7829,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7820,13 +7845,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7834,7 +7860,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8664,9 +8691,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8674,7 +8701,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9685,6 +9712,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10152,7 +10184,7 @@ "version": "file:../../functional_syntax/randomness", "requires": { "@dfinity/agent": "0.11.1", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "ts-jest": "^29.1.5", "tsx": "^4.15.7", @@ -10792,6 +10824,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10838,9 +10875,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/randomness/package.json b/tests/end_to_end/candid_rpc/class_syntax/randomness/package.json index 8a12687777..b7766934dd 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/randomness/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/randomness/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/class_syntax/recursion/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/recursion/package-lock.json index c9bab31bd6..f11b0998cb 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/recursion/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/recursion/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -47,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1997,7 +1998,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2095,10 +2097,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2112,13 +2115,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2126,10 +2130,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3203,9 +3208,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3216,6 +3221,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3223,7 +3229,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3233,6 +3239,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3244,6 +3251,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3254,7 +3262,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4564,6 +4573,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6239,6 +6257,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6307,15 +6330,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7805,9 +7829,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7821,13 +7845,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7835,7 +7860,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8665,9 +8691,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8675,7 +8701,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9686,6 +9712,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10793,6 +10824,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10839,9 +10875,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/recursion/package.json b/tests/end_to_end/candid_rpc/class_syntax/recursion/package.json index c59ef3fa12..376aa690da 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/recursion/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/recursion/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/class_syntax/rejections/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/rejections/package-lock.json index 46f32a5710..15ec1389f2 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/rejections/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/rejections/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -47,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1997,7 +1998,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2095,10 +2097,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2112,13 +2115,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2126,10 +2130,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3203,9 +3208,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3216,6 +3221,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3223,7 +3229,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3233,6 +3239,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3244,6 +3251,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3254,7 +3262,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4564,6 +4573,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6239,6 +6257,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6307,15 +6330,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7805,9 +7829,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7821,13 +7845,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7835,7 +7860,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8665,9 +8691,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8675,7 +8701,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9686,6 +9712,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10793,6 +10824,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10839,9 +10875,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/rejections/package.json b/tests/end_to_end/candid_rpc/class_syntax/rejections/package.json index c5b5bc88d6..7791557bda 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/rejections/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/rejections/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/class_syntax/simple_erc20/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/simple_erc20/package-lock.json index 76d9130ad9..216a754887 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/simple_erc20/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/simple_erc20/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -47,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1997,7 +1998,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2095,10 +2097,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2112,13 +2115,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2126,10 +2130,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3203,9 +3208,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3216,6 +3221,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3223,7 +3229,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3233,6 +3239,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3244,6 +3251,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3254,7 +3262,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4564,6 +4573,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6239,6 +6257,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6307,15 +6330,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7805,9 +7829,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7821,13 +7845,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7835,7 +7860,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8665,9 +8691,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8675,7 +8701,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9686,6 +9712,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10793,6 +10824,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10839,9 +10875,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/simple_erc20/package.json b/tests/end_to_end/candid_rpc/class_syntax/simple_erc20/package.json index 3b3854b900..2141fd0dfb 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/simple_erc20/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/simple_erc20/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/class_syntax/simple_user_accounts/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/simple_user_accounts/package-lock.json index e4496d48a3..64794baf12 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/simple_user_accounts/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/simple_user_accounts/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "text-encoding": "^0.7.0" }, "devDependencies": { @@ -33,9 +33,10 @@ } }, "../../functional_syntax/simple_user_accounts": { + "name": "simple_user_accounts_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0", + "azle": "0.23.0", "text-encoding": "^0.7.0" }, "devDependencies": { @@ -49,7 +50,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1999,7 +2001,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2097,10 +2100,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2114,13 +2118,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2128,10 +2133,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3220,9 +3226,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3233,6 +3239,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3240,7 +3247,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3250,6 +3257,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3261,6 +3269,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3271,7 +3280,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4581,6 +4591,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6241,6 +6260,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6309,15 +6333,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7807,9 +7832,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7823,13 +7848,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7837,7 +7863,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8675,9 +8702,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8685,7 +8712,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9696,6 +9723,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10303,7 +10335,7 @@ "version": "file:../../functional_syntax/simple_user_accounts", "requires": { "@dfinity/agent": "0.11.1", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "text-encoding": "^0.7.0", "ts-jest": "^29.1.5", @@ -10798,6 +10830,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10844,9 +10881,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/simple_user_accounts/package.json b/tests/end_to_end/candid_rpc/class_syntax/simple_user_accounts/package.json index 16b4a2072b..b06314fd97 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/simple_user_accounts/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/simple_user_accounts/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "text-encoding": "^0.7.0" }, "devDependencies": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/stable_b_tree_map_instruction_threshold/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/stable_b_tree_map_instruction_threshold/package-lock.json index 2e8cc99559..bdf2525d27 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/stable_b_tree_map_instruction_threshold/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/stable_b_tree_map_instruction_threshold/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "uuid": "^9.0.1" }, "devDependencies": { @@ -50,7 +50,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2068,7 +2069,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2166,10 +2168,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2183,13 +2186,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2197,10 +2201,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3274,9 +3279,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3287,6 +3292,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3294,7 +3300,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3304,6 +3310,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3315,6 +3322,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3325,12 +3333,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4640,6 +4650,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6325,6 +6344,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6393,15 +6417,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/stable_b_tree_map_instruction_threshold/package.json b/tests/end_to_end/candid_rpc/class_syntax/stable_b_tree_map_instruction_threshold/package.json index 428ea68d36..213716bdb6 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/stable_b_tree_map_instruction_threshold/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/stable_b_tree_map_instruction_threshold/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "uuid": "^9.0.1" }, "devDependencies": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/stable_structures/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/stable_structures/package-lock.json index e3dd7abb81..60863615c5 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/stable_structures/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/stable_structures/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -31,9 +31,10 @@ } }, "../../functional_syntax/stable_structures": { + "name": "stable_structures_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -46,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2049,7 +2051,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2147,10 +2150,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2164,13 +2168,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2178,10 +2183,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3270,9 +3276,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3283,6 +3289,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3290,7 +3297,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3300,6 +3307,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3311,6 +3319,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3321,7 +3330,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4631,6 +4641,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6315,6 +6334,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6383,15 +6407,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7945,9 +7970,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7961,13 +7986,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7975,7 +8001,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8813,9 +8840,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8823,7 +8850,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9834,6 +9861,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10480,7 +10512,7 @@ "version": "file:../../functional_syntax/stable_structures", "requires": { "@dfinity/agent": "^0.19.2", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "ts-jest": "^29.1.5", "tsx": "^4.15.7", @@ -10960,6 +10992,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -11006,9 +11043,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/stable_structures/package.json b/tests/end_to_end/candid_rpc/class_syntax/stable_structures/package.json index 915fdc0ecd..f458d4356e 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/stable_structures/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/stable_structures/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/timers/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/timers/package-lock.json index 66b04b70b5..af79665fa6 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/timers/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/timers/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -31,9 +31,10 @@ } }, "../../functional_syntax/timers": { + "name": "timers_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -46,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2064,7 +2066,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2162,10 +2165,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2179,13 +2183,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2193,10 +2198,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3270,9 +3276,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3283,6 +3289,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3290,7 +3297,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3300,6 +3307,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3311,6 +3319,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3321,12 +3330,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4636,6 +4647,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6321,6 +6341,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6389,15 +6414,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/timers/package.json b/tests/end_to_end/candid_rpc/class_syntax/timers/package.json index 6fc239c4e0..a574659e8c 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/timers/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/timers/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/class_syntax/tuple_types/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/tuple_types/package-lock.json index e9ce46c4ed..60eeddbe93 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/tuple_types/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/tuple_types/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -31,9 +31,10 @@ } }, "../../functional_syntax/tuple_types": { + "name": "tuple_types_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -46,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1996,7 +1998,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2094,10 +2097,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2111,13 +2115,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2125,10 +2130,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3202,9 +3208,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3215,6 +3221,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3222,7 +3229,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3232,6 +3239,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3243,6 +3251,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3253,7 +3262,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4563,6 +4573,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6238,6 +6257,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6306,15 +6330,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7804,9 +7829,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7820,13 +7845,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7834,7 +7860,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8664,9 +8691,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8674,7 +8701,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9685,6 +9712,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10705,7 +10737,7 @@ "version": "file:../../functional_syntax/tuple_types", "requires": { "@dfinity/agent": "0.11.1", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "ts-jest": "^29.1.5", "tsx": "^4.15.7", @@ -10792,6 +10824,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10838,9 +10875,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/tuple_types/package.json b/tests/end_to_end/candid_rpc/class_syntax/tuple_types/package.json index 463cb15f30..4f712f29fc 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/tuple_types/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/tuple_types/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/class_syntax/update/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/update/package-lock.json index f89cec940e..d0224b9755 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/update/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/update/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -31,9 +31,10 @@ } }, "../../functional_syntax/update": { + "name": "update_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.22.0" + "azle": "0.23.0" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -46,7 +47,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1996,7 +1998,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2094,10 +2097,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2111,13 +2115,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2125,10 +2130,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3202,9 +3208,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3215,6 +3221,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3222,7 +3229,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3232,6 +3239,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3243,6 +3251,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3253,7 +3262,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4563,6 +4573,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6238,6 +6257,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6306,15 +6330,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7804,9 +7829,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7820,13 +7845,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7834,7 +7860,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8664,9 +8691,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8674,7 +8701,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9685,6 +9712,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10732,7 +10764,7 @@ "version": "file:../../functional_syntax/update", "requires": { "@dfinity/agent": "0.11.1", - "azle": "0.22.0", + "azle": "0.23.0", "jest": "^29.7.0", "ts-jest": "^29.1.5", "tsx": "^4.15.7", @@ -10792,6 +10824,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10838,9 +10875,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/update/package.json b/tests/end_to_end/candid_rpc/class_syntax/update/package.json index f8bfd29845..66d4763e4b 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/update/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/update/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/class_syntax/vanilla_js/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/vanilla_js/package-lock.json index b12e39d1f1..bc82035b21 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/vanilla_js/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/vanilla_js/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "jssha": "^3.3.1" }, "devDependencies": { @@ -50,7 +50,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1709,7 +1710,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -1805,10 +1807,11 @@ "dev": true }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -1822,13 +1825,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -1836,10 +1840,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -2924,9 +2929,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -2937,6 +2942,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -2944,7 +2950,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -2954,6 +2960,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -2965,6 +2972,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -2975,12 +2983,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -5954,6 +5964,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6022,15 +6037,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/vanilla_js/package.json b/tests/end_to_end/candid_rpc/class_syntax/vanilla_js/package.json index 2ea847a0fb..7f48f0b2f9 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/vanilla_js/package.json +++ b/tests/end_to_end/candid_rpc/class_syntax/vanilla_js/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "jssha": "^3.3.1" }, "devDependencies": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/async_await/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/async_await/package-lock.json index 34b262480c..14ed6862d9 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/async_await/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/async_await/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "async_await_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2023,7 +2024,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2121,10 +2123,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2138,13 +2141,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2152,10 +2156,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3244,9 +3249,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3257,6 +3262,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3264,7 +3270,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3274,6 +3280,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3285,6 +3292,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3295,12 +3303,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4607,6 +4617,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6287,6 +6306,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6355,15 +6379,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/async_await/package.json b/tests/end_to_end/candid_rpc/functional_syntax/async_await/package.json index f9d2ebccaa..d8877a8dc0 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/async_await/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/async_await/package.json @@ -6,7 +6,7 @@ "test": "AZLE_TEST_FETCH=false npm run tests && AZLE_TEST_FETCH=true npm run tests" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/audio_recorder/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/audio_recorder/package-lock.json index 34c7b8ae70..d9599b7fcd 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/audio_recorder/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/audio_recorder/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "audio_recorder_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.3", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1985,7 +1986,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2083,10 +2085,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2100,13 +2103,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2114,10 +2118,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3206,9 +3211,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3219,6 +3224,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3226,7 +3232,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3236,6 +3242,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3247,6 +3254,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3257,7 +3265,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4564,6 +4573,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6220,6 +6238,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6288,15 +6311,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7796,9 +7820,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7812,13 +7836,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7826,7 +7851,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8664,9 +8690,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8674,7 +8700,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9685,6 +9711,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10775,6 +10806,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10821,9 +10857,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/audio_recorder/package.json b/tests/end_to_end/candid_rpc/functional_syntax/audio_recorder/package.json index 726ddc69ab..3f3830902a 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/audio_recorder/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/audio_recorder/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.3", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/bitcoin/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/bitcoin/package-lock.json index 98066c000c..d682e804f2 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/bitcoin/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/bitcoin/package-lock.json @@ -7,7 +7,7 @@ "name": "bitcoin_end_to_end_test_functional_syntax", "hasInstallScript": true, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -20,7 +20,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1970,7 +1971,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2068,10 +2070,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2085,13 +2088,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2099,10 +2103,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3176,9 +3181,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3189,6 +3194,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3196,7 +3202,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3206,6 +3212,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3217,6 +3224,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3227,7 +3235,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4534,6 +4543,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6205,6 +6223,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6273,15 +6296,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7771,9 +7795,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7787,13 +7811,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7801,7 +7826,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8631,9 +8657,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8641,7 +8667,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9652,6 +9678,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10748,6 +10779,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10794,9 +10830,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/bitcoin/package.json b/tests/end_to_end/candid_rpc/functional_syntax/bitcoin/package.json index f14c2ccf1f..9a36198c3f 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/bitcoin/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/bitcoin/package.json @@ -9,7 +9,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/blob_array/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/blob_array/package-lock.json index 72acc45603..f9ff8fbfec 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/blob_array/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/blob_array/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "blob_array_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2036,7 +2037,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2134,10 +2136,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2151,13 +2154,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2165,10 +2169,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3242,9 +3247,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3255,6 +3260,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3262,7 +3268,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3272,6 +3278,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3283,6 +3290,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3293,7 +3301,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4600,6 +4609,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6281,6 +6299,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6349,15 +6372,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7922,9 +7946,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7938,13 +7962,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7952,7 +7977,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8782,9 +8808,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8792,7 +8818,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9803,6 +9829,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10911,6 +10942,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10957,9 +10993,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/blob_array/package.json b/tests/end_to_end/candid_rpc/functional_syntax/blob_array/package.json index 370ab38f09..558f3f4053 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/blob_array/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/blob_array/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/bytes/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/bytes/package-lock.json index 55d77a1c47..fc83b64383 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/bytes/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/bytes/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "bytes_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2022,7 +2023,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2120,10 +2122,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2137,13 +2140,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2151,10 +2155,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3228,9 +3233,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3241,6 +3246,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3248,7 +3254,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3258,6 +3264,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3269,6 +3276,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3279,7 +3287,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4586,6 +4595,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6281,6 +6299,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6349,15 +6372,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7911,9 +7935,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7927,13 +7951,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7941,7 +7966,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8771,9 +8797,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8781,7 +8807,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9792,6 +9818,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10913,6 +10944,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10959,9 +10995,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/bytes/package.json b/tests/end_to_end/candid_rpc/functional_syntax/bytes/package.json index f201231228..062a43b430 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/bytes/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/bytes/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/call_raw/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/call_raw/package-lock.json index 32391addaa..555db457d8 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/call_raw/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/call_raw/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "call_raw_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2022,7 +2023,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2120,10 +2122,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2137,13 +2140,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2151,10 +2155,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3228,9 +3233,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3241,6 +3246,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3248,7 +3254,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3258,6 +3264,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3269,6 +3276,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3279,7 +3287,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4586,6 +4595,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6281,6 +6299,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6349,15 +6372,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7911,9 +7935,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7927,13 +7951,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7941,7 +7966,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8771,9 +8797,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8781,7 +8807,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9792,6 +9818,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10913,6 +10944,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10959,9 +10995,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/call_raw/package.json b/tests/end_to_end/candid_rpc/functional_syntax/call_raw/package.json index 943c43841f..3e3f14d374 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/call_raw/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/call_raw/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/candid_encoding/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/candid_encoding/package-lock.json index 091c5ff2bb..9c0af563f4 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/candid_encoding/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/candid_encoding/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "candid_encoding_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2022,7 +2023,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2120,10 +2122,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2137,13 +2140,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2151,10 +2155,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3228,9 +3233,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3241,6 +3246,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3248,7 +3254,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3258,6 +3264,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3269,6 +3276,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3279,7 +3287,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4586,6 +4595,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6281,6 +6299,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6349,15 +6372,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7911,9 +7935,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7927,13 +7951,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7941,7 +7966,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8771,9 +8797,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8781,7 +8807,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9792,6 +9818,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10913,6 +10944,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10959,9 +10995,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/candid_encoding/package.json b/tests/end_to_end/candid_rpc/functional_syntax/candid_encoding/package.json index 748200b3b1..db767b9c06 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/candid_encoding/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/candid_encoding/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/candid_keywords/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/candid_keywords/package-lock.json index 1688030d31..0636f82b2b 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/candid_keywords/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/candid_keywords/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "candid_keywords_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2022,7 +2023,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2120,10 +2122,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2137,13 +2140,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2151,10 +2155,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3228,9 +3233,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3241,6 +3246,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3248,7 +3254,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3258,6 +3264,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3269,6 +3276,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3279,7 +3287,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4586,6 +4595,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6281,6 +6299,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6349,15 +6372,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7912,9 +7936,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7928,13 +7952,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7942,7 +7967,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8772,9 +8798,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8782,7 +8808,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9793,6 +9819,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10914,6 +10945,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10960,9 +10996,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/candid_keywords/package.json b/tests/end_to_end/candid_rpc/functional_syntax/candid_keywords/package.json index e0041b5bb1..96db718d11 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/candid_keywords/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/candid_keywords/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/canister/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/canister/package-lock.json index e2861166e2..364831581f 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/canister/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/canister/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "canister_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.21.4", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1953,7 +1954,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2051,10 +2053,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2068,13 +2071,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2082,10 +2086,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3159,9 +3164,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3172,6 +3177,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3179,7 +3185,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3189,6 +3195,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3200,6 +3207,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3210,7 +3218,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4517,6 +4526,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6188,6 +6206,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6256,15 +6279,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7750,9 +7774,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7766,13 +7790,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7780,7 +7805,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8612,9 +8638,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8622,7 +8648,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9633,6 +9659,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10729,6 +10760,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10775,9 +10811,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/canister/package.json b/tests/end_to_end/candid_rpc/functional_syntax/canister/package.json index fb7c39b9ef..5bc0575bcb 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/canister/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/canister/package.json @@ -6,7 +6,7 @@ "test": "AZLE_TEST_FETCH=false npm run tests && AZLE_TEST_FETCH=true npm run tests" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.21.4", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/ckbtc/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/ckbtc/package-lock.json index 5e8ec7ba38..9a1c3ac89c 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/ckbtc/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/ckbtc/package-lock.json @@ -7,7 +7,7 @@ "name": "ckbtc_end_to_end_test_functional_syntax", "hasInstallScript": true, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -21,7 +21,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2083,7 +2084,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2181,10 +2183,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2198,13 +2201,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2212,10 +2216,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3304,9 +3309,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3317,6 +3322,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3324,7 +3330,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3334,6 +3340,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3345,6 +3352,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3355,12 +3363,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4667,6 +4677,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6353,6 +6372,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/webcrypto-core": { "version": "1.7.7", "resolved": "https://registry.npmjs.org/webcrypto-core/-/webcrypto-core-1.7.7.tgz", @@ -6435,15 +6459,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/ckbtc/package.json b/tests/end_to_end/candid_rpc/functional_syntax/ckbtc/package.json index 86586faa24..c3966ba743 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/ckbtc/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/ckbtc/package.json @@ -25,7 +25,7 @@ "test": "AZLE_TEST_FETCH=false npm run tests && AZLE_TEST_FETCH=true npm run tests" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/complex_init/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/complex_init/package-lock.json index 1b26ea3443..72eabb693b 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/complex_init/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/complex_init/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "complex_init_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2022,7 +2023,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2120,10 +2122,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2137,13 +2140,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2151,10 +2155,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3243,9 +3248,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3256,6 +3261,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3263,7 +3269,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3273,6 +3279,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3284,6 +3291,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3294,7 +3302,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4601,6 +4610,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6281,6 +6299,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6349,15 +6372,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7911,9 +7935,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7927,13 +7951,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7941,7 +7966,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8779,9 +8805,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8789,7 +8815,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9800,6 +9826,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10915,6 +10946,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10961,9 +10997,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/complex_init/package.json b/tests/end_to_end/candid_rpc/functional_syntax/complex_init/package.json index fc20086fd9..68a8bbd364 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/complex_init/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/complex_init/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/complex_types/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/complex_types/package-lock.json index c803dc8b53..45f0fb7300 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/complex_types/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/complex_types/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "complex_types_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1969,7 +1970,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2067,10 +2069,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2084,13 +2087,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2098,10 +2102,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3175,9 +3180,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3188,6 +3193,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3195,7 +3201,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3205,6 +3211,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3216,6 +3223,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3226,7 +3234,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4533,6 +4542,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6204,6 +6222,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6272,15 +6295,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7770,9 +7794,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7786,13 +7810,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7800,7 +7825,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8630,9 +8656,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8640,7 +8666,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9651,6 +9677,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10747,6 +10778,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10793,9 +10829,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/complex_types/package.json b/tests/end_to_end/candid_rpc/functional_syntax/complex_types/package.json index 4a5e1ad383..83b98a2e8f 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/complex_types/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/complex_types/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/composite_queries/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/composite_queries/package-lock.json index 9ba7ac55e1..059c65c238 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/composite_queries/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/composite_queries/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "composite_queries_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2022,7 +2023,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2120,10 +2122,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2137,13 +2140,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2151,10 +2155,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3243,9 +3248,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3256,6 +3261,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3263,7 +3269,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3273,6 +3279,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3284,6 +3291,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3294,7 +3302,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4601,6 +4610,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6281,6 +6299,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6349,15 +6372,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7911,9 +7935,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7927,13 +7951,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7941,7 +7966,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8779,9 +8805,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8789,7 +8815,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9800,6 +9826,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10915,6 +10946,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10961,9 +10997,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/composite_queries/package.json b/tests/end_to_end/candid_rpc/functional_syntax/composite_queries/package.json index 2033c058c9..068f9152ab 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/composite_queries/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/composite_queries/package.json @@ -6,7 +6,7 @@ "test": "AZLE_TEST_FETCH=false npm run tests && AZLE_TEST_FETCH=true npm run tests" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/counter/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/counter/package-lock.json index 0e0f353e73..778eff18a9 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/counter/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/counter/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "counter_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2022,7 +2023,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2120,10 +2122,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2137,13 +2140,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2151,10 +2155,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3228,9 +3233,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3241,6 +3246,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3248,7 +3254,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3258,6 +3264,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3269,6 +3276,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3279,7 +3287,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4586,6 +4595,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6281,6 +6299,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6349,15 +6372,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7911,9 +7935,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7927,13 +7951,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7941,7 +7966,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8771,9 +8797,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8781,7 +8807,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9792,6 +9818,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10913,6 +10944,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10959,9 +10995,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/counter/package.json b/tests/end_to_end/candid_rpc/functional_syntax/counter/package.json index 45e4310663..85749c5bb3 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/counter/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/counter/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/cross_canister_calls/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/cross_canister_calls/package-lock.json index f6c53a2258..4ec37bbe86 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/cross_canister_calls/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/cross_canister_calls/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "cross_canister_calls_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2022,7 +2023,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2120,10 +2122,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2137,13 +2140,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2151,10 +2155,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3243,9 +3248,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3256,6 +3261,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3263,7 +3269,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3273,6 +3279,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3284,6 +3291,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3294,7 +3302,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4601,6 +4610,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6281,6 +6299,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6349,15 +6372,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7911,9 +7935,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7927,13 +7951,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7941,7 +7966,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8779,9 +8805,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8789,7 +8815,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9800,6 +9826,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10915,6 +10946,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10961,9 +10997,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/cross_canister_calls/package.json b/tests/end_to_end/candid_rpc/functional_syntax/cross_canister_calls/package.json index 5856937b1c..9093804441 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/cross_canister_calls/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/cross_canister_calls/package.json @@ -6,7 +6,7 @@ "test": "AZLE_TEST_FETCH=false npm run tests && AZLE_TEST_FETCH=true npm run tests" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/cycles/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/cycles/package-lock.json index 38c2c95c5d..42a0392865 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/cycles/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/cycles/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "cycles_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2016,7 +2017,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2113,10 +2115,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2130,13 +2133,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2144,10 +2148,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3219,9 +3224,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3232,6 +3237,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3239,7 +3245,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3249,6 +3255,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3260,6 +3267,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3270,7 +3278,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4576,6 +4585,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6270,6 +6288,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6338,15 +6361,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7885,9 +7909,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7901,13 +7925,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7915,7 +7940,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8741,9 +8767,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8751,7 +8777,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9760,6 +9786,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10879,6 +10910,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10925,9 +10961,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/cycles/package.json b/tests/end_to_end/candid_rpc/functional_syntax/cycles/package.json index e40dd81599..143ae60dde 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/cycles/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/cycles/package.json @@ -6,7 +6,7 @@ "test": "AZLE_TEST_FETCH=false npm run tests && AZLE_TEST_FETCH=true npm run tests" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/date/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/date/package-lock.json index b58fc42142..c429db536e 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/date/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/date/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "date_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2022,7 +2023,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2120,10 +2122,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2137,13 +2140,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2151,10 +2155,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3228,9 +3233,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3241,6 +3246,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3248,7 +3254,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3258,6 +3264,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3269,6 +3276,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3279,7 +3287,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4586,6 +4595,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6281,6 +6299,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6349,15 +6372,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7911,9 +7935,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7927,13 +7951,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7941,7 +7966,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8771,9 +8797,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8781,7 +8807,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9792,6 +9818,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10913,6 +10944,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10959,9 +10995,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/date/package.json b/tests/end_to_end/candid_rpc/functional_syntax/date/package.json index 2263cd3158..22aed9b017 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/date/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/date/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/ethereum_json_rpc/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/ethereum_json_rpc/package-lock.json index 1e6494fa6b..34337bb566 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/ethereum_json_rpc/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/ethereum_json_rpc/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "ethereum_json_rpc_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2022,7 +2023,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2120,10 +2122,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2137,13 +2140,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2151,10 +2155,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3243,9 +3248,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3256,6 +3261,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3263,7 +3269,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3273,6 +3279,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3284,6 +3291,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3294,7 +3302,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4601,6 +4610,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6281,6 +6299,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6349,15 +6372,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7911,9 +7935,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7927,13 +7951,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7941,7 +7966,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8779,9 +8805,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8789,7 +8815,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9800,6 +9826,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10915,6 +10946,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10961,9 +10997,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/ethereum_json_rpc/package.json b/tests/end_to_end/candid_rpc/functional_syntax/ethereum_json_rpc/package.json index 6426282137..342e835e2d 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/ethereum_json_rpc/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/ethereum_json_rpc/package.json @@ -6,7 +6,7 @@ "test": "ETHEREUM_URL=https://rpc.ankr.com/eth AZLE_TEST_FETCH=false npm run tests && ETHEREUM_URL=https://rpc.ankr.com/eth AZLE_TEST_FETCH=true npm run tests" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/func_types/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/func_types/package-lock.json index 9c5f45002b..9cb1eecb32 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/func_types/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/func_types/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "func_types_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1969,7 +1970,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2067,10 +2069,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2084,13 +2087,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2098,10 +2102,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3190,9 +3195,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3203,6 +3208,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3210,7 +3216,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3220,6 +3226,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3231,6 +3238,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3241,7 +3249,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4548,6 +4557,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6204,6 +6222,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6272,15 +6295,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7770,9 +7794,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7786,13 +7810,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7800,7 +7825,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8638,9 +8664,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8648,7 +8674,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9659,6 +9685,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10749,6 +10780,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10795,9 +10831,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/func_types/package.json b/tests/end_to_end/candid_rpc/functional_syntax/func_types/package.json index cde2b17d71..54cf26ee55 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/func_types/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/func_types/package.json @@ -6,7 +6,7 @@ "test": "AZLE_TEST_FETCH=false npm run tests && AZLE_TEST_FETCH=true npm run tests" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/heartbeat/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/heartbeat/package-lock.json index f2fadad799..46d7b820db 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/heartbeat/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/heartbeat/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "heartbeat_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -44,7 +44,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2047,7 +2048,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2145,10 +2147,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2162,13 +2165,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2176,10 +2180,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3253,9 +3258,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3266,6 +3271,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3273,7 +3279,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3283,6 +3289,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3294,6 +3301,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3304,7 +3312,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4611,6 +4620,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6306,6 +6324,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6374,15 +6397,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7936,9 +7960,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7952,13 +7976,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7966,7 +7991,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8796,9 +8822,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8806,7 +8832,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9817,6 +9843,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10938,6 +10969,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10984,9 +11020,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/heartbeat/package.json b/tests/end_to_end/candid_rpc/functional_syntax/heartbeat/package.json index dcb26cdcac..f87afcf49c 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/heartbeat/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/heartbeat/package.json @@ -6,7 +6,7 @@ "test": "AZLE_TEST_FETCH=false npm run tests && AZLE_TEST_FETCH=true npm run tests" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/ic_api/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/ic_api/package-lock.json index f405bd2455..69add1d01c 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/ic_api/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/ic_api/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "ic_api_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2037,7 +2038,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2135,10 +2137,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2152,13 +2155,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2166,10 +2170,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3243,9 +3248,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3256,6 +3261,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3263,7 +3269,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3273,6 +3279,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3284,6 +3291,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3294,12 +3302,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4606,6 +4616,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6287,6 +6306,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6355,15 +6379,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/ic_api/package.json b/tests/end_to_end/candid_rpc/functional_syntax/ic_api/package.json index 7bf01b1102..ec449b930d 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/ic_api/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/ic_api/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/icrc/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/icrc/package-lock.json index 4f6640b484..fa78a5331a 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/icrc/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/icrc/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "icrc_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.14.1", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2195,7 +2196,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2291,10 +2293,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2308,13 +2311,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2322,10 +2326,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3410,9 +3415,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3423,6 +3428,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3430,7 +3436,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3440,6 +3446,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3451,6 +3458,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3461,12 +3469,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4773,6 +4783,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6437,6 +6456,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6505,15 +6529,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/icrc/package.json b/tests/end_to_end/candid_rpc/functional_syntax/icrc/package.json index d38a7d74b1..1a729e6ae1 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/icrc/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/icrc/package.json @@ -6,7 +6,7 @@ "test": "AZLE_TEST_FETCH=false npm run tests && AZLE_TEST_FETCH=true npm run tests" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.14.1", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/imports/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/imports/package-lock.json index e95840d391..c80dd4bd71 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/imports/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/imports/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "imports_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "js-sha256": "0.9.0" }, "devDependencies": { @@ -20,7 +20,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2023,7 +2024,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2121,10 +2123,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2138,13 +2141,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2152,10 +2156,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3229,9 +3234,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3242,6 +3247,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3249,7 +3255,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3259,6 +3265,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3270,6 +3277,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3280,7 +3288,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4587,6 +4596,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6282,6 +6300,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6350,15 +6373,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7912,9 +7936,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7928,13 +7952,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7942,7 +7967,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8772,9 +8798,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8782,7 +8808,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9793,6 +9819,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10914,6 +10945,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10960,9 +10996,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/imports/package.json b/tests/end_to_end/candid_rpc/functional_syntax/imports/package.json index 4d6f75f4ac..b2c945f07e 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/imports/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/imports/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "js-sha256": "0.9.0" }, "devDependencies": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/init/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/init/package-lock.json index 01ad06c4e8..dfa3d22cc9 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/init/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/init/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "init_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^1.4.0", @@ -44,7 +44,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1963,7 +1964,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2061,10 +2063,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2078,13 +2081,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2092,10 +2096,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/brace-expansion": { @@ -3149,9 +3154,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3162,6 +3167,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3169,7 +3175,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3179,6 +3185,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3190,6 +3197,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3200,7 +3208,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4507,6 +4516,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6163,6 +6181,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6231,15 +6254,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7702,9 +7726,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7718,13 +7742,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7732,7 +7757,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "brace-expansion": { @@ -8541,9 +8567,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8551,7 +8577,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9562,6 +9588,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10652,6 +10683,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10698,9 +10734,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/init/package.json b/tests/end_to_end/candid_rpc/functional_syntax/init/package.json index 4207d79252..1a2dab627f 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/init/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/init/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^1.4.0", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/inspect_message/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/inspect_message/package-lock.json index 65bdceaeba..de68d49f4e 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/inspect_message/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/inspect_message/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "inspect_message_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -44,7 +44,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2047,7 +2048,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2145,10 +2147,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2162,13 +2165,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2176,10 +2180,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3268,9 +3273,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3281,6 +3286,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3288,7 +3294,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3298,6 +3304,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3309,6 +3316,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3319,7 +3327,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4626,6 +4635,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6306,6 +6324,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6374,15 +6397,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7936,9 +7960,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7952,13 +7976,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7966,7 +7991,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8804,9 +8830,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8814,7 +8840,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9825,6 +9851,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10940,6 +10971,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10986,9 +11022,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/inspect_message/package.json b/tests/end_to_end/candid_rpc/functional_syntax/inspect_message/package.json index 44a4ccdce6..afcccde89e 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/inspect_message/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/inspect_message/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/key_value_store/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/key_value_store/package-lock.json index 8c422ec290..bf630a7446 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/key_value_store/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/key_value_store/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "key_value_store_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2022,7 +2023,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2120,10 +2122,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2137,13 +2140,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2151,10 +2155,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3228,9 +3233,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3241,6 +3246,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3248,7 +3254,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3258,6 +3264,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3269,6 +3276,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3279,7 +3287,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4589,6 +4598,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6284,6 +6302,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6352,15 +6375,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7914,9 +7938,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7930,13 +7954,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7944,7 +7969,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8774,9 +8800,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8784,7 +8810,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9795,6 +9821,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10916,6 +10947,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10962,9 +10998,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/key_value_store/package.json b/tests/end_to_end/candid_rpc/functional_syntax/key_value_store/package.json index 2dc66eaec6..a7d4d67e88 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/key_value_store/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/key_value_store/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/ledger_canister/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/ledger_canister/package-lock.json index dc59779018..7a10801500 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/ledger_canister/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/ledger_canister/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "ledger_canister_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2022,7 +2023,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2120,10 +2122,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2137,13 +2140,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2151,10 +2155,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3228,9 +3233,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3241,6 +3246,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3248,7 +3254,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3258,6 +3264,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3269,6 +3276,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3279,7 +3287,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4589,6 +4598,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6284,6 +6302,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6352,15 +6375,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7914,9 +7938,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7930,13 +7954,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7944,7 +7969,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8774,9 +8800,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8784,7 +8810,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9795,6 +9821,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10916,6 +10947,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10962,9 +10998,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/ledger_canister/package.json b/tests/end_to_end/candid_rpc/functional_syntax/ledger_canister/package.json index 4e5e67961d..f3106db8fd 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/ledger_canister/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/ledger_canister/package.json @@ -6,7 +6,7 @@ "test": "AZLE_TEST_FETCH=false npm run tests && AZLE_TEST_FETCH=true npm run tests" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/list_of_lists/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/list_of_lists/package-lock.json index c6b6e0a21c..2bd995502d 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/list_of_lists/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/list_of_lists/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "list_of_lists_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -20,7 +20,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2023,7 +2024,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2121,10 +2123,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2138,13 +2141,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2152,10 +2156,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3244,9 +3249,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3257,6 +3262,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3264,7 +3270,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3274,6 +3280,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3285,6 +3292,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3295,7 +3303,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4614,6 +4623,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6294,6 +6312,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6362,15 +6385,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7924,9 +7948,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7940,13 +7964,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7954,7 +7979,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8792,9 +8818,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8802,7 +8828,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9819,6 +9845,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10934,6 +10965,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10980,9 +11016,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/list_of_lists/package.json b/tests/end_to_end/candid_rpc/functional_syntax/list_of_lists/package.json index acbfc7e33b..2bd37d352e 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/list_of_lists/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/list_of_lists/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/management_canister/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/management_canister/package-lock.json index ec1154e615..240615af0a 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/management_canister/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/management_canister/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "management_canister_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2022,7 +2023,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2120,10 +2122,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2137,13 +2140,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2151,10 +2155,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3243,9 +3248,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3256,6 +3261,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3263,7 +3269,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3273,6 +3279,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3284,6 +3291,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3294,7 +3302,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4601,6 +4610,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6281,6 +6299,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6349,15 +6372,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7911,9 +7935,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7927,13 +7951,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7941,7 +7966,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8779,9 +8805,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8789,7 +8815,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9800,6 +9826,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10915,6 +10946,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10961,9 +10997,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/management_canister/package.json b/tests/end_to_end/candid_rpc/functional_syntax/management_canister/package.json index f70cf9cda3..e5f45eb7fe 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/management_canister/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/management_canister/package.json @@ -6,7 +6,7 @@ "test": "AZLE_TEST_FETCH=false npm run tests && AZLE_TEST_FETCH=true npm run tests" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/manual_reply/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/manual_reply/package-lock.json index 806fda28c9..20c72d1791 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/manual_reply/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/manual_reply/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "manual_reply_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2022,7 +2023,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2120,10 +2122,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2137,13 +2140,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2151,10 +2155,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3243,9 +3248,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3256,6 +3261,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3263,7 +3269,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3273,6 +3279,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3284,6 +3291,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3294,7 +3302,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4604,6 +4613,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6284,6 +6302,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6352,15 +6375,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7914,9 +7938,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7930,13 +7954,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7944,7 +7969,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8782,9 +8808,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8792,7 +8818,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9803,6 +9829,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10918,6 +10949,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10964,9 +11000,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/manual_reply/package.json b/tests/end_to_end/candid_rpc/functional_syntax/manual_reply/package.json index 19a29c9549..10d999b0e0 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/manual_reply/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/manual_reply/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/calc/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/calc/package-lock.json index 97a8fb86cc..e3d11fc417 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/calc/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/calc/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "calc_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2037,7 +2038,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2135,10 +2137,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2152,13 +2155,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2166,10 +2170,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3243,9 +3248,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3256,6 +3261,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3263,7 +3269,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3273,6 +3279,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3284,6 +3291,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3294,12 +3302,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4606,6 +4616,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6287,6 +6306,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6355,15 +6379,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/calc/package.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/calc/package.json index a0ebfca994..0dfd25e59d 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/calc/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/calc/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/counter/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/counter/package-lock.json index ed2218697b..40d5735be0 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/counter/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/counter/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "counter_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2037,7 +2038,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2135,10 +2137,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2152,13 +2155,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2166,10 +2170,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3243,9 +3248,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3256,6 +3261,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3263,7 +3269,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3273,6 +3279,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3284,6 +3291,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3294,12 +3302,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4606,6 +4616,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6287,6 +6306,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6355,15 +6379,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/counter/package.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/counter/package.json index 45e4310663..85749c5bb3 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/counter/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/counter/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/echo/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/echo/package-lock.json index 46509ebaa5..cb5b9ba23c 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/echo/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/echo/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "echo_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2037,7 +2038,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2135,10 +2137,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2152,13 +2155,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2166,10 +2170,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3243,9 +3248,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3256,6 +3261,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3263,7 +3269,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3273,6 +3279,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3284,6 +3291,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3294,12 +3302,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4606,6 +4616,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6287,6 +6306,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6355,15 +6379,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/echo/package.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/echo/package.json index 3f5551fa96..133cc8bb5f 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/echo/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/echo/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/factorial/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/factorial/package-lock.json index 5538d02322..aa1e6b9f4b 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/factorial/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/factorial/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "factorial_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2037,7 +2038,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2135,10 +2137,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2152,13 +2155,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2166,10 +2170,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3243,9 +3248,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3256,6 +3261,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3263,7 +3269,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3273,6 +3279,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3284,6 +3291,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3294,12 +3302,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4606,6 +4616,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6287,6 +6306,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6355,15 +6379,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/factorial/package.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/factorial/package.json index 3c8db5d032..35f7cf51c5 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/factorial/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/factorial/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello-world/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello-world/package-lock.json index ee0df13a7b..bb6b58933d 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello-world/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello-world/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "hello-world_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2037,7 +2038,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2135,10 +2137,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2152,13 +2155,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2166,10 +2170,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3243,9 +3248,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3256,6 +3261,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3263,7 +3269,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3273,6 +3279,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3284,6 +3291,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3294,12 +3302,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4606,6 +4616,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6287,6 +6306,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6355,15 +6379,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello-world/package.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello-world/package.json index bfcd39055e..0a93749225 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello-world/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello-world/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello/package-lock.json index 9786d4cec9..3f0ccca4bf 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello/package-lock.json @@ -8,7 +8,7 @@ "name": "hello_assets", "version": "0.1.0", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.0", @@ -35,7 +35,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2553,7 +2554,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ajv": { "version": "8.12.0", @@ -2738,10 +2740,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2755,13 +2758,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2769,10 +2773,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -4430,9 +4435,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -4443,6 +4448,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -4450,7 +4456,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -4460,6 +4466,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -4471,6 +4478,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -4481,32 +4489,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" - }, - "node_modules/ethers/node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/eventemitter3": { "version": "4.0.7", @@ -6649,6 +6639,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", @@ -9341,6 +9340,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/watchpack": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz", @@ -9733,10 +9737,10 @@ } }, "node_modules/ws": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", - "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", - "dev": true, + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello/package.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello/package.json index 6e14687d89..e2da7f6572 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello/package.json @@ -18,7 +18,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.0", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/http_counter/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/http_counter/package-lock.json index 3fa9780a5f..bb0f28ba37 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/http_counter/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/http_counter/package-lock.json @@ -8,7 +8,7 @@ "name": "http_counter", "version": "0.1.0", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.0", @@ -21,7 +21,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2038,7 +2039,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2136,10 +2138,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2153,13 +2156,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2167,10 +2171,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3259,9 +3264,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3272,6 +3277,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3279,7 +3285,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3289,6 +3295,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3300,6 +3307,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3310,7 +3318,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4617,6 +4626,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6283,6 +6301,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6351,15 +6374,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7924,9 +7948,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7940,13 +7964,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7954,7 +7979,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8792,9 +8818,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8802,7 +8828,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9813,6 +9839,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10915,6 +10946,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10961,9 +10997,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/http_counter/package.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/http_counter/package.json index 32cabd9e32..d661f7cddc 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/http_counter/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/http_counter/package.json @@ -13,7 +13,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.0", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/minimal-counter-dapp/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/minimal-counter-dapp/package-lock.json index c1f0e27dfd..cfe33a5417 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/minimal-counter-dapp/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/minimal-counter-dapp/package-lock.json @@ -8,7 +8,7 @@ "name": "minimal-counter-dapp", "version": "0.1.0", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.0", @@ -33,7 +33,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2471,7 +2472,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ajv": { "version": "6.12.6", @@ -2675,10 +2677,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2692,13 +2695,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2706,10 +2710,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -4311,9 +4316,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -4324,6 +4329,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -4331,7 +4337,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -4341,6 +4347,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -4352,6 +4359,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -4362,32 +4370,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" - }, - "node_modules/ethers/node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/eventemitter3": { "version": "4.0.7", @@ -6419,6 +6409,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", @@ -8987,6 +8986,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/watchpack": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz", @@ -9436,10 +9440,10 @@ } }, "node_modules/ws": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", - "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", - "dev": true, + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/minimal-counter-dapp/package.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/minimal-counter-dapp/package.json index f2ffd85609..0f97846f61 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/minimal-counter-dapp/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/minimal-counter-dapp/package.json @@ -18,7 +18,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.0", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/persistent-storage/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/persistent-storage/package-lock.json index 4c547cc37d..9654d56067 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/persistent-storage/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/persistent-storage/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "persistent-storage_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2022,7 +2023,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2120,10 +2122,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2137,13 +2140,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2151,10 +2155,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3243,9 +3248,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3256,6 +3261,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3263,7 +3269,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3273,6 +3279,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3284,6 +3291,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3294,7 +3302,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4601,6 +4610,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6281,6 +6299,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6349,15 +6372,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7911,9 +7935,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7927,13 +7951,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7941,7 +7966,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8779,9 +8805,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8789,7 +8815,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9800,6 +9826,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10915,6 +10946,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10961,9 +10997,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/persistent-storage/package.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/persistent-storage/package.json index a875f62e2d..6f62877524 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/persistent-storage/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/persistent-storage/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/phone-book/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/phone-book/package-lock.json index 338c34bf61..a3cfca63aa 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/phone-book/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/phone-book/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "phone-book_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "react": "^17.0.2", "react-dom": "^17.0.2" }, @@ -38,7 +38,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2589,7 +2590,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ajv": { "version": "8.12.0", @@ -2774,10 +2776,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2791,13 +2794,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2805,10 +2809,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -4513,9 +4518,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -4526,6 +4531,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -4533,7 +4539,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -4543,6 +4549,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -4554,6 +4561,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -4564,32 +4572,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" - }, - "node_modules/ethers/node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/eventemitter3": { "version": "4.0.7", @@ -6719,6 +6709,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", @@ -9617,6 +9616,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/watchpack": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz", @@ -10009,10 +10013,10 @@ } }, "node_modules/ws": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", - "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", - "dev": true, + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/phone-book/package.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/phone-book/package.json index 5a2dccfc34..d7ca0c22f8 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/phone-book/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/phone-book/package.json @@ -40,7 +40,7 @@ "last 2 edge version" ], "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "react": "^17.0.2", "react-dom": "^17.0.2" } diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/quicksort/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/quicksort/package-lock.json index f83a85cbf7..4b32907c44 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/quicksort/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/quicksort/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "quicksort_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2037,7 +2038,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2135,10 +2137,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2152,13 +2155,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2166,10 +2170,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3243,9 +3248,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3256,6 +3261,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3263,7 +3269,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3273,6 +3279,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3284,6 +3291,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3294,12 +3302,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4606,6 +4616,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6287,6 +6306,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6355,15 +6379,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/quicksort/package.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/quicksort/package.json index 3c8f0126d4..22471da305 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/quicksort/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/quicksort/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/simple-to-do/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/simple-to-do/package-lock.json index 6c5d6d5b52..fe2984347d 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/simple-to-do/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/simple-to-do/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "simple-to-do_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2037,7 +2038,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2135,10 +2137,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2152,13 +2155,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2166,10 +2170,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3243,9 +3248,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3256,6 +3261,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3263,7 +3269,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3273,6 +3279,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3284,6 +3291,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3294,12 +3302,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4606,6 +4616,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6287,6 +6306,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6355,15 +6379,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/simple-to-do/package.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/simple-to-do/package.json index a0ab4f7161..dcba002626 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/simple-to-do/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/simple-to-do/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/superheroes/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/superheroes/package-lock.json index 682edc916a..7a7f5bcfc9 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/superheroes/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/superheroes/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "superheroes_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "react": "^17.0.2", "react-dom": "^17.0.2" }, @@ -38,7 +38,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2589,7 +2590,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ajv": { "version": "8.12.0", @@ -2774,10 +2776,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2791,13 +2794,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2805,10 +2809,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -4513,9 +4518,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -4526,6 +4531,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -4533,7 +4539,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -4543,6 +4549,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -4554,6 +4561,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -4564,32 +4572,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" - }, - "node_modules/ethers/node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/eventemitter3": { "version": "4.0.7", @@ -6719,6 +6709,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", @@ -9617,6 +9616,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/watchpack": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz", @@ -10009,10 +10013,10 @@ } }, "node_modules/ws": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", - "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", - "dev": true, + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/superheroes/package.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/superheroes/package.json index da6b9b32aa..04fc7c3afa 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/superheroes/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/superheroes/package.json @@ -40,7 +40,7 @@ "last 2 edge version" ], "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "react": "^17.0.2", "react-dom": "^17.0.2" } diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/threshold_ecdsa/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/threshold_ecdsa/package-lock.json index ef63c745ee..9a66909f4b 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/threshold_ecdsa/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/threshold_ecdsa/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "threshold_ecdsa_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "encode-utf8": "2.0.0" }, "devDependencies": { @@ -20,7 +20,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2038,7 +2039,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2136,10 +2138,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2153,13 +2156,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2167,10 +2171,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3252,9 +3257,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3265,6 +3270,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3272,7 +3278,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3282,6 +3288,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3293,6 +3300,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3303,12 +3311,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4615,6 +4625,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6296,6 +6315,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6364,15 +6388,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/threshold_ecdsa/package.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/threshold_ecdsa/package.json index b91137a364..d0f88f4d65 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/threshold_ecdsa/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/threshold_ecdsa/package.json @@ -6,7 +6,7 @@ "test": "AZLE_TEST_FETCH=false npm run tests && AZLE_TEST_FETCH=true npm run tests" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "encode-utf8": "2.0.0" }, "devDependencies": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/whoami/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/whoami/package-lock.json index 92a3894553..c6b95c8024 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/whoami/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/whoami/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "whoami_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -20,7 +20,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2096,7 +2097,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2194,10 +2196,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2211,13 +2214,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2225,10 +2229,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3302,9 +3307,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3315,6 +3320,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3322,7 +3328,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3332,6 +3338,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3343,6 +3350,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3353,12 +3361,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4665,6 +4675,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6352,6 +6371,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/webcrypto-core": { "version": "1.7.7", "resolved": "https://registry.npmjs.org/webcrypto-core/-/webcrypto-core-1.7.7.tgz", @@ -6434,15 +6458,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/whoami/package.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/whoami/package.json index a163c8d4c5..804d7ac4f1 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/whoami/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/whoami/package.json @@ -6,7 +6,7 @@ "test": "AZLE_TEST_FETCH=false npm run tests && AZLE_TEST_FETCH=true npm run tests" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/notify_raw/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/notify_raw/package-lock.json index d2ada8b8d2..f9140f2b25 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/notify_raw/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/notify_raw/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "notify_raw_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1969,7 +1970,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2067,10 +2069,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2084,13 +2087,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2098,10 +2102,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3175,9 +3180,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3188,6 +3193,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3195,7 +3201,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3205,6 +3211,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3216,6 +3223,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3226,7 +3234,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4536,6 +4545,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6207,6 +6225,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6275,15 +6298,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7773,9 +7797,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7789,13 +7813,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7803,7 +7828,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8633,9 +8659,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8643,7 +8669,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9654,6 +9680,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10750,6 +10781,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10796,9 +10832,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/notify_raw/package.json b/tests/end_to_end/candid_rpc/functional_syntax/notify_raw/package.json index c15bfc2f1d..483eeaacdf 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/notify_raw/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/notify_raw/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/null_example/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/null_example/package-lock.json index 57a33213ed..dea5dbbf04 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/null_example/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/null_example/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "null_example_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1969,7 +1970,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2067,10 +2069,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2084,13 +2087,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2098,10 +2102,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3190,9 +3195,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3203,6 +3208,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3210,7 +3216,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3220,6 +3226,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3231,6 +3238,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3241,7 +3249,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4551,6 +4560,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6207,6 +6225,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6275,15 +6298,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7773,9 +7797,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7789,13 +7813,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7803,7 +7828,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8641,9 +8667,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8651,7 +8677,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9662,6 +9688,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10752,6 +10783,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10798,9 +10834,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/null_example/package.json b/tests/end_to_end/candid_rpc/functional_syntax/null_example/package.json index d2cd5d4bf3..c9df9464d3 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/null_example/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/null_example/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/optional_types/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/optional_types/package-lock.json index b537adb9f9..8172af212e 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/optional_types/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/optional_types/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "optional_types_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -21,7 +21,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1981,7 +1982,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2085,10 +2087,11 @@ "dev": true }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2102,13 +2105,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2116,10 +2120,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3214,9 +3219,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3227,6 +3232,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3234,7 +3240,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3244,6 +3250,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3255,6 +3262,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3265,7 +3273,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4589,6 +4598,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6307,6 +6325,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", @@ -6391,15 +6414,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7905,9 +7929,9 @@ "dev": true }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7921,13 +7945,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7935,7 +7960,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8780,9 +8806,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8790,7 +8816,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9812,6 +9838,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10938,6 +10969,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", @@ -11000,9 +11036,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/optional_types/package.json b/tests/end_to_end/candid_rpc/functional_syntax/optional_types/package.json index 31b71e1596..dceee2a2cc 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/optional_types/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/optional_types/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/outgoing_http_requests/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/outgoing_http_requests/package-lock.json index 36144ca9d6..7413f20f4f 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/outgoing_http_requests/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/outgoing_http_requests/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "outgoing_http_requests_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -21,7 +21,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1960,7 +1961,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2057,10 +2059,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2074,13 +2077,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2088,10 +2092,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3161,9 +3166,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3174,6 +3179,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3181,7 +3187,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3191,6 +3197,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3202,6 +3209,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3212,7 +3220,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4517,6 +4526,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6186,6 +6204,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6254,15 +6277,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7727,9 +7751,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7743,13 +7767,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7757,7 +7782,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8575,9 +8601,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8585,7 +8611,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9586,6 +9612,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10672,6 +10703,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10718,9 +10754,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/outgoing_http_requests/package.json b/tests/end_to_end/candid_rpc/functional_syntax/outgoing_http_requests/package.json index fb7f91748c..8222fd3ffa 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/outgoing_http_requests/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/outgoing_http_requests/package.json @@ -6,7 +6,7 @@ "test": "AZLE_TEST_FETCH=false npm run tests && AZLE_TEST_FETCH=true npm run tests" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/pre_and_post_upgrade/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/pre_and_post_upgrade/package-lock.json index 0e032337c3..f9a8b0f0b9 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/pre_and_post_upgrade/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/pre_and_post_upgrade/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "pre_and_post_upgrade_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -44,7 +44,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2047,7 +2048,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2145,10 +2147,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2162,13 +2165,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2176,10 +2180,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3268,9 +3273,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3281,6 +3286,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3288,7 +3294,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3298,6 +3304,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3309,6 +3316,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3319,7 +3327,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4629,6 +4638,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6309,6 +6327,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6377,15 +6400,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7939,9 +7963,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7955,13 +7979,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7969,7 +7994,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8807,9 +8833,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8817,7 +8843,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9828,6 +9854,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10943,6 +10974,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10989,9 +11025,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/pre_and_post_upgrade/package.json b/tests/end_to_end/candid_rpc/functional_syntax/pre_and_post_upgrade/package.json index 559fede634..03d71ce21d 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/pre_and_post_upgrade/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/pre_and_post_upgrade/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/primitive_types/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/primitive_types/package-lock.json index 8f645fdb0b..e74ebf005a 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/primitive_types/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/primitive_types/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "primitive_types_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2037,7 +2038,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2135,10 +2137,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2152,13 +2155,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2166,10 +2170,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3258,9 +3263,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3271,6 +3276,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3278,7 +3284,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3288,6 +3294,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3299,6 +3306,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3309,12 +3317,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4624,6 +4634,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6290,6 +6309,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6358,15 +6382,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/primitive_types/package.json b/tests/end_to_end/candid_rpc/functional_syntax/primitive_types/package.json index 3ebe29f126..0a5c2443b5 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/primitive_types/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/primitive_types/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/principal/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/principal/package-lock.json index 80f01d09c3..1802984048 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/principal/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/principal/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "principal_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2037,7 +2038,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2135,10 +2137,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2152,13 +2155,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2166,10 +2170,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3258,9 +3263,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3271,6 +3276,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3278,7 +3284,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3288,6 +3294,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3299,6 +3306,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3309,12 +3317,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4624,6 +4634,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6290,6 +6309,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6358,15 +6382,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/principal/package.json b/tests/end_to_end/candid_rpc/functional_syntax/principal/package.json index f05f00e0c1..f21c24dbd6 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/principal/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/principal/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/query/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/query/package-lock.json index eab164dfd9..68aa8c465f 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/query/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/query/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "query_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2022,7 +2023,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2120,10 +2122,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2137,13 +2140,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2151,10 +2155,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3243,9 +3248,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3256,6 +3261,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3263,7 +3269,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3273,6 +3279,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3284,6 +3291,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3294,7 +3302,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4601,6 +4610,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6281,6 +6299,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6349,15 +6372,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7912,9 +7936,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7928,13 +7952,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7942,7 +7967,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8780,9 +8806,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8790,7 +8816,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9801,6 +9827,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10916,6 +10947,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10962,9 +10998,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/query/package.json b/tests/end_to_end/candid_rpc/functional_syntax/query/package.json index 95a6e96c7a..18aa384788 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/query/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/query/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/randomness/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/randomness/package-lock.json index c8da0fb708..a4ee26854c 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/randomness/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/randomness/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "randomness_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1969,7 +1970,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2067,10 +2069,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2084,13 +2087,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2098,10 +2102,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3175,9 +3180,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3188,6 +3193,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3195,7 +3201,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3205,6 +3211,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3216,6 +3223,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3226,7 +3234,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4536,6 +4545,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6207,6 +6225,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6275,15 +6298,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7773,9 +7797,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7789,13 +7813,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7803,7 +7828,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8633,9 +8659,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8643,7 +8669,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9654,6 +9680,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10750,6 +10781,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10796,9 +10832,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/randomness/package.json b/tests/end_to_end/candid_rpc/functional_syntax/randomness/package.json index d1f3d3e2d5..3b8753e608 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/randomness/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/randomness/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/recursion/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/recursion/package-lock.json index ba50f4aff1..4245dff1dd 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/recursion/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/recursion/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "recursion_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1969,7 +1970,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2067,10 +2069,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2084,13 +2087,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2098,10 +2102,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3175,9 +3180,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3188,6 +3193,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3195,7 +3201,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3205,6 +3211,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3216,6 +3223,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3226,7 +3234,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4536,6 +4545,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6207,6 +6225,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6275,15 +6298,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7773,9 +7797,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7789,13 +7813,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7803,7 +7828,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8633,9 +8659,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8643,7 +8669,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9654,6 +9680,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10750,6 +10781,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10796,9 +10832,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/recursion/package.json b/tests/end_to_end/candid_rpc/functional_syntax/recursion/package.json index cd094a6e2e..df1128fc00 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/recursion/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/recursion/package.json @@ -6,7 +6,7 @@ "test": "AZLE_TEST_FETCH=false npm run tests && AZLE_TEST_FETCH=true npm run tests" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/rejections/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/rejections/package-lock.json index 54e767bacc..83c53851ef 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/rejections/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/rejections/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "rejections_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1969,7 +1970,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2067,10 +2069,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2084,13 +2087,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2098,10 +2102,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3175,9 +3180,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3188,6 +3193,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3195,7 +3201,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3205,6 +3211,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3216,6 +3223,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3226,7 +3234,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4536,6 +4545,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6207,6 +6225,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6275,15 +6298,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7773,9 +7797,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7789,13 +7813,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7803,7 +7828,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8633,9 +8659,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8643,7 +8669,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9654,6 +9680,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10750,6 +10781,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10796,9 +10832,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/rejections/package.json b/tests/end_to_end/candid_rpc/functional_syntax/rejections/package.json index 8193a69152..45b0eeccb1 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/rejections/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/rejections/package.json @@ -6,7 +6,7 @@ "test": "AZLE_TEST_FETCH=false npm run tests && AZLE_TEST_FETCH=true npm run tests" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/robust_imports/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/robust_imports/package-lock.json index 92654e2295..09d67cc8dc 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/robust_imports/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/robust_imports/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "robust_imports_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.18.1", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1971,7 +1972,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2069,10 +2071,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2086,13 +2089,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2100,10 +2104,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3192,9 +3197,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3205,6 +3210,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3212,7 +3218,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3222,6 +3228,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3233,6 +3240,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3243,7 +3251,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4553,6 +4562,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6209,6 +6227,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6277,15 +6300,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7777,9 +7801,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7793,13 +7817,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7807,7 +7832,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8645,9 +8671,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8655,7 +8681,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9666,6 +9692,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10756,6 +10787,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10802,9 +10838,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/robust_imports/package.json b/tests/end_to_end/candid_rpc/functional_syntax/robust_imports/package.json index 8ed5ad19db..561a115fa5 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/robust_imports/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/robust_imports/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.18.1", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/simple_erc20/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/simple_erc20/package-lock.json index 68e098833b..25c6c48c3a 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/simple_erc20/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/simple_erc20/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "simple_erc20_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1969,7 +1970,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2067,10 +2069,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2084,13 +2087,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2098,10 +2102,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3190,9 +3195,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3203,6 +3208,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3210,7 +3216,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3220,6 +3226,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3231,6 +3238,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3241,7 +3249,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4551,6 +4560,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6207,6 +6225,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6275,15 +6298,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7773,9 +7797,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7789,13 +7813,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7803,7 +7828,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8641,9 +8667,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8651,7 +8677,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9662,6 +9688,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10752,6 +10783,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10798,9 +10834,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/simple_erc20/package.json b/tests/end_to_end/candid_rpc/functional_syntax/simple_erc20/package.json index d0bc47fb29..232a446b11 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/simple_erc20/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/simple_erc20/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/simple_user_accounts/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/simple_user_accounts/package-lock.json index 753760ea10..aea099a0a3 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/simple_user_accounts/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/simple_user_accounts/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "simple_user_accounts_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "text-encoding": "^0.7.0" }, "devDependencies": { @@ -20,7 +20,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1970,7 +1971,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2068,10 +2070,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2085,13 +2088,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2099,10 +2103,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3191,9 +3196,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3204,6 +3209,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3211,7 +3217,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3221,6 +3227,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3232,6 +3239,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3242,7 +3250,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4552,6 +4561,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6208,6 +6226,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6276,15 +6299,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7774,9 +7798,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7790,13 +7814,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7804,7 +7829,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8642,9 +8668,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8652,7 +8678,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9663,6 +9689,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10753,6 +10784,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10799,9 +10835,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/simple_user_accounts/package.json b/tests/end_to_end/candid_rpc/functional_syntax/simple_user_accounts/package.json index 6b3f0112ba..eba3da1a5b 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/simple_user_accounts/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/simple_user_accounts/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "text-encoding": "^0.7.0" }, "devDependencies": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/stable_b_tree_map_instruction_threshold/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/stable_b_tree_map_instruction_threshold/package-lock.json index 29786f27f8..13e3e23e8a 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/stable_b_tree_map_instruction_threshold/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/stable_b_tree_map_instruction_threshold/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "stable_b_tree_map_instruction_threshold_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "uuid": "^9.0.1" }, "devDependencies": { @@ -20,7 +20,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2038,7 +2039,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2136,10 +2138,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2153,13 +2156,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2167,10 +2171,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3244,9 +3249,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3257,6 +3262,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3264,7 +3270,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3274,6 +3280,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3285,6 +3292,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3295,12 +3303,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4610,6 +4620,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6291,6 +6310,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6359,15 +6383,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/stable_b_tree_map_instruction_threshold/package.json b/tests/end_to_end/candid_rpc/functional_syntax/stable_b_tree_map_instruction_threshold/package.json index 721098cd65..59c600a8b4 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/stable_b_tree_map_instruction_threshold/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/stable_b_tree_map_instruction_threshold/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "uuid": "^9.0.1" }, "devDependencies": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/stable_structures/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/stable_structures/package-lock.json index 8bdd246458..7680521049 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/stable_structures/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/stable_structures/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "stable_structures_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2022,7 +2023,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2120,10 +2122,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2137,13 +2140,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2151,10 +2155,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3243,9 +3248,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3256,6 +3261,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3263,7 +3269,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3273,6 +3279,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3284,6 +3291,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3294,7 +3302,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4604,6 +4613,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6284,6 +6302,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6352,15 +6375,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7914,9 +7938,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7930,13 +7954,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7944,7 +7969,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8782,9 +8808,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8792,7 +8818,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9803,6 +9829,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10918,6 +10949,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10964,9 +11000,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/stable_structures/package.json b/tests/end_to_end/candid_rpc/functional_syntax/stable_structures/package.json index 64cdda1fd3..384ca2d970 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/stable_structures/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/stable_structures/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/timers/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/timers/package-lock.json index 6aecc2ca9b..46acf9f2f8 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/timers/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/timers/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "timers_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2037,7 +2038,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2135,10 +2137,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2152,13 +2155,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2166,10 +2170,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3243,9 +3248,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3256,6 +3261,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3263,7 +3269,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3273,6 +3279,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3284,6 +3291,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3294,12 +3302,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4609,6 +4619,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6290,6 +6309,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6358,15 +6382,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/timers/package.json b/tests/end_to_end/candid_rpc/functional_syntax/timers/package.json index 65d662ceea..5f970cc039 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/timers/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/timers/package.json @@ -6,7 +6,7 @@ "test": "AZLE_TEST_FETCH=false npm run tests && AZLE_TEST_FETCH=true npm run tests" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/tuple_types/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/tuple_types/package-lock.json index aaecbb30e9..f7fbc66230 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/tuple_types/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/tuple_types/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "tuple_types_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1969,7 +1970,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2067,10 +2069,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2084,13 +2087,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2098,10 +2102,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3175,9 +3180,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3188,6 +3193,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3195,7 +3201,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3205,6 +3211,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3216,6 +3223,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3226,7 +3234,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4536,6 +4545,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6207,6 +6225,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6275,15 +6298,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7773,9 +7797,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7789,13 +7813,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7803,7 +7828,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8633,9 +8659,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8643,7 +8669,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9654,6 +9680,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10750,6 +10781,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10796,9 +10832,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/tuple_types/package.json b/tests/end_to_end/candid_rpc/functional_syntax/tuple_types/package.json index 77578c7df3..d05b86acf3 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/tuple_types/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/tuple_types/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/update/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/update/package-lock.json index 54b3076303..aaac0c0938 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/update/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/update/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "update_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1969,7 +1970,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2067,10 +2069,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2084,13 +2087,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2098,10 +2102,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3175,9 +3180,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3188,6 +3193,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3195,7 +3201,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3205,6 +3211,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3216,6 +3223,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3226,7 +3234,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4536,6 +4545,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6207,6 +6225,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6275,15 +6298,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7773,9 +7797,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -7789,13 +7813,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -7803,7 +7828,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@dfinity/agent": { @@ -8633,9 +8659,9 @@ "dev": true }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -8643,7 +8669,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -9654,6 +9680,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10750,6 +10781,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -10796,9 +10832,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/update/package.json b/tests/end_to_end/candid_rpc/functional_syntax/update/package.json index 09212b175e..0b757179ed 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/update/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/update/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", diff --git a/tests/end_to_end/candid_rpc/functional_syntax/vanilla_js/package-lock.json b/tests/end_to_end/candid_rpc/functional_syntax/vanilla_js/package-lock.json index 2a5c31ea01..fff834d2c7 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/vanilla_js/package-lock.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/vanilla_js/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "vanilla_js_end_to_end_test_functional_syntax", "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "js-sha256": "0.9.0" }, "devDependencies": { @@ -20,7 +20,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2038,7 +2039,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2136,10 +2138,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2153,13 +2156,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2167,10 +2171,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3259,9 +3264,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3272,6 +3277,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3279,7 +3285,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3289,6 +3295,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3300,6 +3307,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3310,12 +3318,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4625,6 +4635,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6291,6 +6310,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6359,15 +6383,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/vanilla_js/package.json b/tests/end_to_end/candid_rpc/functional_syntax/vanilla_js/package.json index 766aaf45bf..4043115fd7 100644 --- a/tests/end_to_end/candid_rpc/functional_syntax/vanilla_js/package.json +++ b/tests/end_to_end/candid_rpc/functional_syntax/vanilla_js/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "js-sha256": "0.9.0" }, "devDependencies": { diff --git a/tests/end_to_end/http_server/apollo_server/package-lock.json b/tests/end_to_end/http_server/apollo_server/package-lock.json index 768d0ed85e..98cf01ef5d 100644 --- a/tests/end_to_end/http_server/apollo_server/package-lock.json +++ b/tests/end_to_end/http_server/apollo_server/package-lock.json @@ -6,7 +6,7 @@ "": { "dependencies": { "@apollo/server": "^4.10.0", - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2", "graphql": "^16.8.1" }, @@ -21,7 +21,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2466,7 +2467,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2582,10 +2584,11 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2599,13 +2602,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2613,10 +2617,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/brace-expansion": { @@ -3819,9 +3824,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3832,6 +3837,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3839,7 +3845,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3849,6 +3855,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3860,6 +3867,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3870,7 +3878,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -5375,6 +5384,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -7409,6 +7427,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", @@ -7499,15 +7522,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -9442,9 +9466,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -9458,13 +9482,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -9472,7 +9497,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "brace-expansion": { @@ -10403,9 +10429,9 @@ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -10413,7 +10439,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -11566,6 +11592,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -12923,6 +12954,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", @@ -12988,9 +13024,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/http_server/apollo_server/package.json b/tests/end_to_end/http_server/apollo_server/package.json index a610a0e817..aedbeea833 100644 --- a/tests/end_to_end/http_server/apollo_server/package.json +++ b/tests/end_to_end/http_server/apollo_server/package.json @@ -5,7 +5,7 @@ }, "dependencies": { "@apollo/server": "^4.10.0", - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2", "graphql": "^16.8.1" }, diff --git a/tests/end_to_end/http_server/audio_and_video/package-lock.json b/tests/end_to_end/http_server/audio_and_video/package-lock.json index 55f5ecc45b..31a7c05de2 100644 --- a/tests/end_to_end/http_server/audio_and_video/package-lock.json +++ b/tests/end_to_end/http_server/audio_and_video/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2", "range-parser": "^1.2.1" }, @@ -21,7 +21,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2324,7 +2325,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2427,10 +2429,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2444,13 +2447,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2458,10 +2462,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@esbuild/android-arm": { @@ -4000,9 +4005,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -4013,6 +4018,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -4020,7 +4026,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -4030,6 +4036,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -4041,6 +4048,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -4051,12 +4059,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -5540,6 +5550,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -7648,6 +7667,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -7716,15 +7740,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -9501,9 +9526,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -9517,13 +9542,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -9531,7 +9557,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@esbuild/android-arm": { @@ -10602,9 +10629,9 @@ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -10612,7 +10639,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -11755,6 +11782,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -13132,6 +13164,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -13178,9 +13215,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/http_server/audio_and_video/package.json b/tests/end_to_end/http_server/audio_and_video/package.json index 223355bfd1..7d71c58efd 100644 --- a/tests/end_to_end/http_server/audio_and_video/package.json +++ b/tests/end_to_end/http_server/audio_and_video/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2", "range-parser": "^1.2.1" }, diff --git a/tests/end_to_end/http_server/autoreload/package-lock.json b/tests/end_to_end/http_server/autoreload/package-lock.json index fa59f6f486..1290177d83 100644 --- a/tests/end_to_end/http_server/autoreload/package-lock.json +++ b/tests/end_to_end/http_server/autoreload/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2" }, "devDependencies": { @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2121,7 +2122,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2224,10 +2226,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2241,13 +2244,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2255,10 +2259,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/brace-expansion": { @@ -3430,9 +3435,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3443,6 +3448,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3450,7 +3456,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3460,6 +3466,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3471,6 +3478,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3481,7 +3489,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4965,6 +4974,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6925,6 +6943,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6993,15 +7016,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -8655,9 +8679,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -8671,13 +8695,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -8685,7 +8710,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "brace-expansion": { @@ -9594,9 +9620,9 @@ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -9604,7 +9630,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -10742,6 +10768,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -12055,6 +12086,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -12101,9 +12137,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/http_server/autoreload/package.json b/tests/end_to_end/http_server/autoreload/package.json index 8fc6720980..79eb9456bb 100644 --- a/tests/end_to_end/http_server/autoreload/package.json +++ b/tests/end_to_end/http_server/autoreload/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2" }, "devDependencies": { diff --git a/tests/end_to_end/http_server/bitcoinjs_lib/package-lock.json b/tests/end_to_end/http_server/bitcoinjs_lib/package-lock.json index 5ae76c9cd4..6c87a74763 100644 --- a/tests/end_to_end/http_server/bitcoinjs_lib/package-lock.json +++ b/tests/end_to_end/http_server/bitcoinjs_lib/package-lock.json @@ -6,7 +6,7 @@ "": { "dependencies": { "@bitcoin-js/tiny-secp256k1-asmjs": "^2.2.3", - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "bitcoinjs-lib": "^6.1.5", "bitcoinjs-message": "^2.2.0", "bitcore_lib_example": "file:../bitcore_lib", @@ -56,7 +56,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2180,7 +2181,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2283,10 +2285,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2300,13 +2303,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2314,10 +2318,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/brace-expansion": { @@ -3637,9 +3642,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3650,6 +3655,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3657,7 +3663,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3667,6 +3673,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3677,7 +3684,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -5180,6 +5188,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -7172,6 +7189,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -7274,15 +7296,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -8951,9 +8974,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -8967,13 +8990,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -8981,7 +9005,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "brace-expansion": { @@ -10022,9 +10047,9 @@ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -10032,7 +10057,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -11180,6 +11205,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -12530,6 +12560,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -12612,9 +12647,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/http_server/bitcoinjs_lib/package.json b/tests/end_to_end/http_server/bitcoinjs_lib/package.json index 2a99f1de1f..ce9a9cdf6a 100644 --- a/tests/end_to_end/http_server/bitcoinjs_lib/package.json +++ b/tests/end_to_end/http_server/bitcoinjs_lib/package.json @@ -5,7 +5,7 @@ }, "dependencies": { "@bitcoin-js/tiny-secp256k1-asmjs": "^2.2.3", - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "bitcoinjs-lib": "^6.1.5", "bitcoinjs-message": "^2.2.0", "bitcore_lib_example": "file:../bitcore_lib", diff --git a/tests/end_to_end/http_server/bitcore_lib/package-lock.json b/tests/end_to_end/http_server/bitcore_lib/package-lock.json index a456a154ae..560965be42 100644 --- a/tests/end_to_end/http_server/bitcore_lib/package-lock.json +++ b/tests/end_to_end/http_server/bitcore_lib/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "bitcore_lib_example", "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "bitcore-lib": "^10.0.23", "express": "^4.18.2" }, @@ -22,7 +22,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2133,7 +2134,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2236,10 +2238,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2253,13 +2256,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2267,10 +2271,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/brace-expansion": { @@ -3540,9 +3545,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3553,6 +3558,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3560,7 +3566,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3570,6 +3576,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3581,6 +3588,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3591,7 +3599,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -5059,6 +5068,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -7009,6 +7027,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -7077,15 +7100,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -8748,9 +8772,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -8764,13 +8788,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -8778,7 +8803,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "brace-expansion": { @@ -9776,9 +9802,9 @@ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -9786,7 +9812,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -10908,6 +10934,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -12220,6 +12251,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -12266,9 +12302,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/http_server/bitcore_lib/package.json b/tests/end_to_end/http_server/bitcore_lib/package.json index eef5fca1cb..4fda030c42 100644 --- a/tests/end_to_end/http_server/bitcore_lib/package.json +++ b/tests/end_to_end/http_server/bitcore_lib/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "bitcore-lib": "^10.0.23", "express": "^4.18.2" }, diff --git a/tests/end_to_end/http_server/ethers/package-lock.json b/tests/end_to_end/http_server/ethers/package-lock.json index 482b5c1cb6..d1b7005c78 100644 --- a/tests/end_to_end/http_server/ethers/package-lock.json +++ b/tests/end_to_end/http_server/ethers/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "ethers": "^6.13.2", "express": "^4.18.2" }, @@ -2269,10 +2269,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2286,13 +2287,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2300,10 +2302,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/brace-expansion": { @@ -2337,33 +2340,6 @@ "ieee754": "^1.2.1" } }, - "node_modules/azle/node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/ethers-io/" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@adraffy/ens-normalize": "1.10.1", - "@noble/curves": "1.2.0", - "@noble/hashes": "1.3.2", - "@types/node": "18.15.13", - "aes-js": "4.0.0-beta.5", - "tslib": "2.4.0", - "ws": "8.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, "node_modules/azle/node_modules/glob": { "version": "10.4.5", "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", @@ -2397,26 +2373,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/azle/node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, "node_modules/babel-jest": { "version": "29.7.0", "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz", @@ -5030,6 +4986,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6995,6 +6960,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -8753,9 +8723,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -8769,13 +8739,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -8783,7 +8754,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "brace-expansion": { @@ -8803,20 +8775,6 @@ "ieee754": "^1.2.1" } }, - "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", - "requires": { - "@adraffy/ens-normalize": "1.10.1", - "@noble/curves": "1.2.0", - "@noble/hashes": "1.3.2", - "@types/node": "18.15.13", - "aes-js": "4.0.0-beta.5", - "tslib": "2.4.0", - "ws": "8.5.0" - } - }, "glob": { "version": "10.4.5", "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", @@ -8837,12 +8795,6 @@ "requires": { "brace-expansion": "^2.0.1" } - }, - "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", - "requires": {} } } }, @@ -10840,6 +10792,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -12160,6 +12117,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", diff --git a/tests/end_to_end/http_server/ethers/package.json b/tests/end_to_end/http_server/ethers/package.json index c4a67d91ff..1eea6e0eec 100644 --- a/tests/end_to_end/http_server/ethers/package.json +++ b/tests/end_to_end/http_server/ethers/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "ethers": "^6.13.2", "express": "^4.18.2" }, diff --git a/tests/end_to_end/http_server/ethers_base/package-lock.json b/tests/end_to_end/http_server/ethers_base/package-lock.json index 55a6b430e1..6e3f153d33 100644 --- a/tests/end_to_end/http_server/ethers_base/package-lock.json +++ b/tests/end_to_end/http_server/ethers_base/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "ethers": "^6.13.2", "express": "^4.18.2" }, @@ -2225,10 +2225,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2242,13 +2243,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2256,32 +2258,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" - } - }, - "node_modules/azle/node_modules/@noble/curves": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", - "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", - "dependencies": { - "@noble/hashes": "1.3.2" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/azle/node_modules/@noble/hashes": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", - "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", - "engines": { - "node": ">= 16" - }, - "funding": { - "url": "https://paulmillr.com/funding/" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/brace-expansion": { @@ -2315,33 +2296,6 @@ "ieee754": "^1.2.1" } }, - "node_modules/azle/node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/ethers-io/" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@adraffy/ens-normalize": "1.10.1", - "@noble/curves": "1.2.0", - "@noble/hashes": "1.3.2", - "@types/node": "18.15.13", - "aes-js": "4.0.0-beta.5", - "tslib": "2.4.0", - "ws": "8.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, "node_modules/azle/node_modules/glob": { "version": "10.4.5", "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", @@ -2375,26 +2329,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/azle/node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, "node_modules/babel-jest": { "version": "29.7.0", "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz", @@ -5045,6 +4979,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6995,6 +6938,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -8725,9 +8673,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -8741,13 +8689,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -8755,22 +8704,10 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { - "@noble/curves": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", - "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", - "requires": { - "@noble/hashes": "1.3.2" - } - }, - "@noble/hashes": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", - "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==" - }, "brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", @@ -8788,20 +8725,6 @@ "ieee754": "^1.2.1" } }, - "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", - "requires": { - "@adraffy/ens-normalize": "1.10.1", - "@noble/curves": "1.2.0", - "@noble/hashes": "1.3.2", - "@types/node": "18.15.13", - "aes-js": "4.0.0-beta.5", - "tslib": "2.4.0", - "ws": "8.5.0" - } - }, "glob": { "version": "10.4.5", "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", @@ -8822,12 +8745,6 @@ "requires": { "brace-expansion": "^2.0.1" } - }, - "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", - "requires": {} } } }, @@ -10848,6 +10765,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -12162,6 +12084,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", diff --git a/tests/end_to_end/http_server/ethers_base/package.json b/tests/end_to_end/http_server/ethers_base/package.json index c4a67d91ff..1eea6e0eec 100644 --- a/tests/end_to_end/http_server/ethers_base/package.json +++ b/tests/end_to_end/http_server/ethers_base/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "ethers": "^6.13.2", "express": "^4.18.2" }, diff --git a/tests/end_to_end/http_server/express/package-lock.json b/tests/end_to_end/http_server/express/package-lock.json index 6c7de355bf..658e8ea180 100644 --- a/tests/end_to_end/http_server/express/package-lock.json +++ b/tests/end_to_end/http_server/express/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2", "lit": "^3.1.1" }, @@ -21,7 +21,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2348,7 +2349,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2451,10 +2453,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2468,13 +2471,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2482,10 +2486,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@esbuild/android-arm": { @@ -4024,9 +4029,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -4037,6 +4042,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -4044,7 +4050,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -4054,6 +4060,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -4065,6 +4072,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -4075,12 +4083,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -5574,6 +5584,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -7738,6 +7757,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -7806,15 +7830,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -9615,9 +9640,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -9631,13 +9656,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -9645,7 +9671,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@esbuild/android-arm": { @@ -10716,9 +10743,9 @@ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -10726,7 +10753,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -11881,6 +11908,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -13310,6 +13342,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -13356,9 +13393,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/http_server/express/package.json b/tests/end_to_end/http_server/express/package.json index c756a2c0f6..1ab30d5ec1 100644 --- a/tests/end_to_end/http_server/express/package.json +++ b/tests/end_to_end/http_server/express/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2", "lit": "^3.1.1" }, diff --git a/tests/end_to_end/http_server/fetch_ic/package-lock.json b/tests/end_to_end/http_server/fetch_ic/package-lock.json index 1ab6596226..bb6a145fce 100644 --- a/tests/end_to_end/http_server/fetch_ic/package-lock.json +++ b/tests/end_to_end/http_server/fetch_ic/package-lock.json @@ -6,7 +6,7 @@ "": { "dependencies": { "@dfinity/auth-client": "^1.0.1", - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2", "lit": "^3.1.2" }, @@ -23,7 +23,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2867,7 +2868,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/agent-base": { "version": "7.1.0", @@ -3012,10 +3014,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -3029,13 +3032,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -3043,10 +3047,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@esbuild/aix-ppc64": { @@ -4941,9 +4946,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -4954,6 +4959,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -4961,7 +4967,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -4971,6 +4977,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -4982,6 +4989,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -4992,23 +5000,26 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/ethers/node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7709,6 +7720,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10232,6 +10252,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/webcrypto-core": { "version": "1.7.8", "resolved": "https://registry.npmjs.org/webcrypto-core/-/webcrypto-core-1.7.8.tgz", @@ -12624,9 +12649,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -12640,13 +12665,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -12654,7 +12680,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@esbuild/aix-ppc64": { @@ -13990,9 +14017,9 @@ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -14000,7 +14027,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -14027,9 +14054,9 @@ "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} } } @@ -16036,6 +16063,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -17746,6 +17778,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "webcrypto-core": { "version": "1.7.8", "resolved": "https://registry.npmjs.org/webcrypto-core/-/webcrypto-core-1.7.8.tgz", diff --git a/tests/end_to_end/http_server/fetch_ic/package.json b/tests/end_to_end/http_server/fetch_ic/package.json index fb468f4a5c..403500e0ef 100644 --- a/tests/end_to_end/http_server/fetch_ic/package.json +++ b/tests/end_to_end/http_server/fetch_ic/package.json @@ -6,7 +6,7 @@ }, "dependencies": { "@dfinity/auth-client": "^1.0.1", - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2", "lit": "^3.1.2" }, diff --git a/tests/end_to_end/http_server/file_protocol/package-lock.json b/tests/end_to_end/http_server/file_protocol/package-lock.json index c7f6bd8e9f..b5bfa0014a 100644 --- a/tests/end_to_end/http_server/file_protocol/package-lock.json +++ b/tests/end_to_end/http_server/file_protocol/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2" }, "devDependencies": { @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2121,7 +2122,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2224,10 +2226,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2241,13 +2244,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2255,10 +2259,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/brace-expansion": { @@ -3430,9 +3435,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3443,6 +3448,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3450,7 +3456,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3460,6 +3466,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3471,6 +3478,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3481,7 +3489,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4965,6 +4974,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6925,6 +6943,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6993,15 +7016,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -8655,9 +8679,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -8671,13 +8695,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -8685,7 +8710,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "brace-expansion": { @@ -9594,9 +9620,9 @@ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -9604,7 +9630,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -10742,6 +10768,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -12055,6 +12086,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -12101,9 +12137,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/http_server/file_protocol/package.json b/tests/end_to_end/http_server/file_protocol/package.json index 8fc6720980..79eb9456bb 100644 --- a/tests/end_to_end/http_server/file_protocol/package.json +++ b/tests/end_to_end/http_server/file_protocol/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2" }, "devDependencies": { diff --git a/tests/end_to_end/http_server/fs/package-lock.json b/tests/end_to_end/http_server/fs/package-lock.json index c97bd390da..6d04b374a7 100644 --- a/tests/end_to_end/http_server/fs/package-lock.json +++ b/tests/end_to_end/http_server/fs/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2" }, "devDependencies": { @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2121,7 +2122,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2224,10 +2226,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2241,13 +2244,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2255,10 +2259,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/brace-expansion": { @@ -3430,9 +3435,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3443,6 +3448,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3450,7 +3456,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3460,6 +3466,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3471,6 +3478,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3481,7 +3489,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4965,6 +4974,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6925,6 +6943,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6993,15 +7016,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -8655,9 +8679,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -8671,13 +8695,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -8685,7 +8710,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "brace-expansion": { @@ -9594,9 +9620,9 @@ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -9604,7 +9630,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -10742,6 +10768,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -12055,6 +12086,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -12101,9 +12137,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/http_server/fs/package.json b/tests/end_to_end/http_server/fs/package.json index 8fc6720980..79eb9456bb 100644 --- a/tests/end_to_end/http_server/fs/package.json +++ b/tests/end_to_end/http_server/fs/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2" }, "devDependencies": { diff --git a/tests/end_to_end/http_server/http_outcall_fetch/package-lock.json b/tests/end_to_end/http_server/http_outcall_fetch/package-lock.json index d4a9620fa2..1544b47111 100644 --- a/tests/end_to_end/http_server/http_outcall_fetch/package-lock.json +++ b/tests/end_to_end/http_server/http_outcall_fetch/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2" }, "devDependencies": { @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2121,7 +2122,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2224,10 +2226,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2241,13 +2244,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2255,10 +2259,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/brace-expansion": { @@ -3430,9 +3435,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3443,6 +3448,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3450,7 +3456,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3460,6 +3466,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3471,6 +3478,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3481,7 +3489,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4965,6 +4974,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6925,6 +6943,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6993,15 +7016,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -8655,9 +8679,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -8671,13 +8695,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -8685,7 +8710,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "brace-expansion": { @@ -9594,9 +9620,9 @@ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -9604,7 +9630,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -10742,6 +10768,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -12055,6 +12086,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -12101,9 +12137,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/http_server/http_outcall_fetch/package.json b/tests/end_to_end/http_server/http_outcall_fetch/package.json index 8fc6720980..79eb9456bb 100644 --- a/tests/end_to_end/http_server/http_outcall_fetch/package.json +++ b/tests/end_to_end/http_server/http_outcall_fetch/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2" }, "devDependencies": { diff --git a/tests/end_to_end/http_server/hybrid_canister/package-lock.json b/tests/end_to_end/http_server/hybrid_canister/package-lock.json index 1b9364dac6..cc95eee27b 100644 --- a/tests/end_to_end/http_server/hybrid_canister/package-lock.json +++ b/tests/end_to_end/http_server/hybrid_canister/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2" }, "devDependencies": { @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2121,7 +2122,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2224,10 +2226,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2241,13 +2244,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2255,10 +2259,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/brace-expansion": { @@ -3430,9 +3435,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3443,6 +3448,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3450,7 +3456,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3460,6 +3466,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3471,6 +3478,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3481,7 +3489,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4965,6 +4974,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6925,6 +6943,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6993,15 +7016,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -8655,9 +8679,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -8671,13 +8695,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -8685,7 +8710,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "brace-expansion": { @@ -9594,9 +9620,9 @@ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -9604,7 +9630,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -10742,6 +10768,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -12055,6 +12086,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -12101,9 +12137,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/http_server/hybrid_canister/package.json b/tests/end_to_end/http_server/hybrid_canister/package.json index 8fc6720980..79eb9456bb 100644 --- a/tests/end_to_end/http_server/hybrid_canister/package.json +++ b/tests/end_to_end/http_server/hybrid_canister/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2" }, "devDependencies": { diff --git a/tests/end_to_end/http_server/ic_evm_rpc/package-lock.json b/tests/end_to_end/http_server/ic_evm_rpc/package-lock.json index c6caaa33db..d156bf0aef 100644 --- a/tests/end_to_end/http_server/ic_evm_rpc/package-lock.json +++ b/tests/end_to_end/http_server/ic_evm_rpc/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "ethers": "^6.13.2", "express": "^4.18.2" }, @@ -2225,10 +2225,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2242,13 +2243,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2256,32 +2258,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" - } - }, - "node_modules/azle/node_modules/@noble/curves": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", - "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", - "dependencies": { - "@noble/hashes": "1.3.2" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/azle/node_modules/@noble/hashes": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", - "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", - "engines": { - "node": ">= 16" - }, - "funding": { - "url": "https://paulmillr.com/funding/" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/brace-expansion": { @@ -2315,33 +2296,6 @@ "ieee754": "^1.2.1" } }, - "node_modules/azle/node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/ethers-io/" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@adraffy/ens-normalize": "1.10.1", - "@noble/curves": "1.2.0", - "@noble/hashes": "1.3.2", - "@types/node": "18.15.13", - "aes-js": "4.0.0-beta.5", - "tslib": "2.4.0", - "ws": "8.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, "node_modules/azle/node_modules/glob": { "version": "10.4.5", "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", @@ -2375,26 +2329,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/azle/node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, "node_modules/babel-jest": { "version": "29.7.0", "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz", @@ -5030,6 +4964,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6995,6 +6938,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -8725,9 +8673,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -8741,13 +8689,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -8755,22 +8704,10 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { - "@noble/curves": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", - "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", - "requires": { - "@noble/hashes": "1.3.2" - } - }, - "@noble/hashes": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", - "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==" - }, "brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", @@ -8788,20 +8725,6 @@ "ieee754": "^1.2.1" } }, - "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", - "requires": { - "@adraffy/ens-normalize": "1.10.1", - "@noble/curves": "1.2.0", - "@noble/hashes": "1.3.2", - "@types/node": "18.15.13", - "aes-js": "4.0.0-beta.5", - "tslib": "2.4.0", - "ws": "8.5.0" - } - }, "glob": { "version": "10.4.5", "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", @@ -8822,12 +8745,6 @@ "requires": { "brace-expansion": "^2.0.1" } - }, - "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", - "requires": {} } } }, @@ -10840,6 +10757,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -12160,6 +12082,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", diff --git a/tests/end_to_end/http_server/ic_evm_rpc/package.json b/tests/end_to_end/http_server/ic_evm_rpc/package.json index 3d5bc3fc74..88dd060282 100644 --- a/tests/end_to_end/http_server/ic_evm_rpc/package.json +++ b/tests/end_to_end/http_server/ic_evm_rpc/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "ethers": "^6.13.2", "express": "^4.18.2" }, diff --git a/tests/end_to_end/http_server/internet_identity/package-lock.json b/tests/end_to_end/http_server/internet_identity/package-lock.json index 891fba476d..5b0a13a03a 100644 --- a/tests/end_to_end/http_server/internet_identity/package-lock.json +++ b/tests/end_to_end/http_server/internet_identity/package-lock.json @@ -6,7 +6,7 @@ "": { "dependencies": { "@dfinity/auth-client": "^1.0.1", - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2", "lit": "^3.1.2" }, @@ -23,7 +23,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2867,7 +2868,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/agent-base": { "version": "7.1.0", @@ -3012,10 +3014,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -3029,13 +3032,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -3043,10 +3047,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@esbuild/android-arm": { @@ -4926,9 +4931,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -4939,6 +4944,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -4946,7 +4952,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -4956,6 +4962,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -4967,6 +4974,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -4977,23 +4985,26 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/ethers/node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7694,6 +7705,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -10232,6 +10252,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/webcrypto-core": { "version": "1.7.8", "resolved": "https://registry.npmjs.org/webcrypto-core/-/webcrypto-core-1.7.8.tgz", @@ -12624,9 +12649,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -12640,13 +12665,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -12654,7 +12680,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "@esbuild/android-arm": { @@ -13984,9 +14011,9 @@ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -13994,7 +14021,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -14021,9 +14048,9 @@ "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} } } @@ -16030,6 +16057,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -17746,6 +17778,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "webcrypto-core": { "version": "1.7.8", "resolved": "https://registry.npmjs.org/webcrypto-core/-/webcrypto-core-1.7.8.tgz", diff --git a/tests/end_to_end/http_server/internet_identity/package.json b/tests/end_to_end/http_server/internet_identity/package.json index acbeea24b1..d93f873667 100644 --- a/tests/end_to_end/http_server/internet_identity/package.json +++ b/tests/end_to_end/http_server/internet_identity/package.json @@ -6,7 +6,7 @@ }, "dependencies": { "@dfinity/auth-client": "^1.0.1", - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2", "lit": "^3.1.2" }, diff --git a/tests/end_to_end/http_server/large_files/package-lock.json b/tests/end_to_end/http_server/large_files/package-lock.json index 890d30fd7a..fd43437516 100644 --- a/tests/end_to_end/http_server/large_files/package-lock.json +++ b/tests/end_to_end/http_server/large_files/package-lock.json @@ -6,7 +6,7 @@ "": { "hasInstallScript": true, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2", "mime-type": "^4.0.0", "uuid": "^10.0.0" @@ -22,7 +22,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2124,7 +2125,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2227,10 +2229,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2244,13 +2247,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2258,10 +2262,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/brace-expansion": { @@ -3445,9 +3450,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3458,6 +3463,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3465,7 +3471,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3475,6 +3481,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3486,6 +3493,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3496,7 +3504,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4985,6 +4994,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6984,6 +7002,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -7052,15 +7075,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -8722,9 +8746,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -8738,13 +8762,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -8752,7 +8777,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "brace-expansion": { @@ -9666,9 +9692,9 @@ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -9676,7 +9702,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -10819,6 +10845,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -12167,6 +12198,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -12213,9 +12249,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "xtend": { diff --git a/tests/end_to_end/http_server/large_files/package.json b/tests/end_to_end/http_server/large_files/package.json index 5bf6eb6ae3..321c29a8c6 100644 --- a/tests/end_to_end/http_server/large_files/package.json +++ b/tests/end_to_end/http_server/large_files/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2", "mime-type": "^4.0.0", "uuid": "^10.0.0" diff --git a/tests/end_to_end/http_server/nest/package-lock.json b/tests/end_to_end/http_server/nest/package-lock.json index a2898e60cb..a62bcb6fcb 100644 --- a/tests/end_to_end/http_server/nest/package-lock.json +++ b/tests/end_to_end/http_server/nest/package-lock.json @@ -8,7 +8,7 @@ "@nestjs/common": "^10.3.8", "@nestjs/core": "^10.3.8", "@nestjs/platform-express": "^10.3.8", - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "rxjs": "^7.8.1" }, "devDependencies": { @@ -22,7 +22,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2003,7 +2004,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2110,10 +2112,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2127,13 +2130,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2141,10 +2145,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/brace-expansion": { @@ -3396,9 +3401,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3409,6 +3414,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3416,7 +3422,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3426,6 +3432,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3437,6 +3444,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3447,12 +3455,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4969,6 +4979,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -7016,6 +7035,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", @@ -7098,15 +7122,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/end_to_end/http_server/nest/package.json b/tests/end_to_end/http_server/nest/package.json index 65debb7300..e737828fc2 100644 --- a/tests/end_to_end/http_server/nest/package.json +++ b/tests/end_to_end/http_server/nest/package.json @@ -7,7 +7,7 @@ "@nestjs/common": "^10.3.8", "@nestjs/core": "^10.3.8", "@nestjs/platform-express": "^10.3.8", - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "rxjs": "^7.8.1" }, "devDependencies": { diff --git a/tests/end_to_end/http_server/new/package-lock.json b/tests/end_to_end/http_server/new/package-lock.json index dda66868da..7a24a8106d 100644 --- a/tests/end_to_end/http_server/new/package-lock.json +++ b/tests/end_to_end/http_server/new/package-lock.json @@ -1,10 +1,9 @@ { - "name": "new_end_to_end_test_functional_syntax", + "name": "new", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "new_end_to_end_test_functional_syntax", "devDependencies": { "@dfinity/agent": "^0.19.2", "jest": "^29.7.0", diff --git a/tests/end_to_end/http_server/open_value_sharing/package-lock.json b/tests/end_to_end/http_server/open_value_sharing/package-lock.json index 8d60daae5f..840503fa43 100644 --- a/tests/end_to_end/http_server/open_value_sharing/package-lock.json +++ b/tests/end_to_end/http_server/open_value_sharing/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2" }, "devDependencies": { @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2121,7 +2122,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2224,10 +2226,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2241,13 +2244,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2255,10 +2259,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/brace-expansion": { @@ -3445,9 +3450,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3458,6 +3463,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3465,7 +3471,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3475,6 +3481,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3486,6 +3493,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3496,7 +3504,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4983,6 +4992,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6928,6 +6946,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6996,15 +7019,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -8658,9 +8682,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -8674,13 +8698,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -8688,7 +8713,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "brace-expansion": { @@ -9605,9 +9631,9 @@ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -9615,7 +9641,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -10753,6 +10779,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -12060,6 +12091,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -12106,9 +12142,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/http_server/open_value_sharing/package.json b/tests/end_to_end/http_server/open_value_sharing/package.json index 4f7b0a9f77..f3a22b8dc4 100644 --- a/tests/end_to_end/http_server/open_value_sharing/package.json +++ b/tests/end_to_end/http_server/open_value_sharing/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2" }, "devDependencies": { diff --git a/tests/end_to_end/http_server/sqlite/package-lock.json b/tests/end_to_end/http_server/sqlite/package-lock.json index d91de6c32b..102406cd3e 100644 --- a/tests/end_to_end/http_server/sqlite/package-lock.json +++ b/tests/end_to_end/http_server/sqlite/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "sqlite_example", "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2", "sql.js": "1.8.0" }, @@ -22,7 +22,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2140,7 +2141,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2243,10 +2245,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2260,13 +2263,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2274,10 +2278,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/brace-expansion": { @@ -3464,9 +3469,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3477,6 +3482,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3484,7 +3490,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3494,6 +3500,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3505,6 +3512,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3515,7 +3523,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -5002,6 +5011,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6952,6 +6970,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -7020,15 +7043,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -8698,9 +8722,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -8714,13 +8738,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -8728,7 +8753,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "brace-expansion": { @@ -9645,9 +9671,9 @@ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -9655,7 +9681,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -10793,6 +10819,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -12105,6 +12136,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -12151,9 +12187,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/http_server/sqlite/package.json b/tests/end_to_end/http_server/sqlite/package.json index c00d4b7abf..4bb30d34b5 100644 --- a/tests/end_to_end/http_server/sqlite/package.json +++ b/tests/end_to_end/http_server/sqlite/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2", "sql.js": "1.8.0" }, diff --git a/tests/end_to_end/http_server/sqlite_drizzle/package-lock.json b/tests/end_to_end/http_server/sqlite_drizzle/package-lock.json index c6ab943d88..db3f53b23e 100644 --- a/tests/end_to_end/http_server/sqlite_drizzle/package-lock.json +++ b/tests/end_to_end/http_server/sqlite_drizzle/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "drizzle-orm": "^0.30.9", "express": "^4.18.2", "sql.js": "1.8.0", @@ -23,7 +23,7 @@ "../sqlite": { "name": "sqlite_example", "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2", "sql.js": "1.8.0" }, @@ -39,7 +39,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2157,7 +2158,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2260,10 +2262,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2277,13 +2280,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2291,10 +2295,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/brace-expansion": { @@ -3575,9 +3580,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3588,6 +3593,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3595,7 +3601,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3605,6 +3611,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3616,6 +3623,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3626,7 +3634,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -5113,6 +5122,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -7082,6 +7100,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -7150,15 +7173,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -8828,9 +8852,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -8844,13 +8868,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -8858,7 +8883,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "brace-expansion": { @@ -9773,9 +9799,9 @@ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -9783,7 +9809,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -10921,6 +10947,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -11731,7 +11762,7 @@ "requires": { "@types/express": "^4.17.21", "@types/sql.js": "^1.4.9", - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2", "jest": "^29.7.0", "sql.js": "1.8.0", @@ -12253,6 +12284,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -12299,9 +12335,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/http_server/sqlite_drizzle/package.json b/tests/end_to_end/http_server/sqlite_drizzle/package.json index 5b02e94eeb..62a7052c43 100644 --- a/tests/end_to_end/http_server/sqlite_drizzle/package.json +++ b/tests/end_to_end/http_server/sqlite_drizzle/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "drizzle-orm": "^0.30.9", "express": "^4.18.2", "sql.js": "1.8.0", diff --git a/tests/end_to_end/http_server/sqlite_typeorm/package-lock.json b/tests/end_to_end/http_server/sqlite_typeorm/package-lock.json index e6ed6a6845..ada0012998 100644 --- a/tests/end_to_end/http_server/sqlite_typeorm/package-lock.json +++ b/tests/end_to_end/http_server/sqlite_typeorm/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2", "sql.js": "1.8.0", "sqlite_example": "file:../sqlite", @@ -23,7 +23,7 @@ "../sqlite": { "name": "sqlite_example", "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2", "sql.js": "1.8.0" }, @@ -39,7 +39,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2176,7 +2177,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2294,10 +2296,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2311,13 +2314,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2325,10 +2329,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/buffer": { @@ -3629,9 +3634,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3642,6 +3647,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3649,7 +3655,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3659,6 +3665,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3670,6 +3677,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3680,7 +3688,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -5252,6 +5261,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -7534,6 +7552,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -7655,15 +7678,16 @@ "dev": true }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -9404,9 +9428,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -9420,13 +9444,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -9434,7 +9459,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "buffer": { @@ -10439,9 +10465,9 @@ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -10449,7 +10475,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -11660,6 +11686,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -12496,7 +12527,7 @@ "requires": { "@types/express": "^4.17.21", "@types/sql.js": "^1.4.9", - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2", "jest": "^29.7.0", "sql.js": "1.8.0", @@ -13155,6 +13186,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -13245,9 +13281,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/http_server/sqlite_typeorm/package.json b/tests/end_to_end/http_server/sqlite_typeorm/package.json index 33d4f3afd8..236ec0fbc2 100644 --- a/tests/end_to_end/http_server/sqlite_typeorm/package.json +++ b/tests/end_to_end/http_server/sqlite_typeorm/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2", "sql.js": "1.8.0", "sqlite_example": "file:../sqlite", diff --git a/tests/end_to_end/http_server/tfjs/package-lock.json b/tests/end_to_end/http_server/tfjs/package-lock.json index 22ae8d06a0..76cf50656f 100644 --- a/tests/end_to_end/http_server/tfjs/package-lock.json +++ b/tests/end_to_end/http_server/tfjs/package-lock.json @@ -6,7 +6,7 @@ "": { "dependencies": { "@tensorflow/tfjs": "^4.17.0", - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2" }, "devDependencies": { @@ -20,7 +20,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2256,7 +2257,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2363,10 +2365,11 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2380,13 +2383,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2394,10 +2398,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/brace-expansion": { @@ -3592,9 +3597,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3605,6 +3610,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3612,7 +3618,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3622,6 +3628,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3633,6 +3640,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3643,7 +3651,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -5182,6 +5191,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -7187,6 +7205,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", @@ -7268,15 +7291,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -9041,9 +9065,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -9057,13 +9081,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -9071,7 +9096,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "brace-expansion": { @@ -9995,9 +10021,9 @@ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -10005,7 +10031,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -11185,6 +11211,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -12529,6 +12560,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", @@ -12588,9 +12624,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/http_server/tfjs/package.json b/tests/end_to_end/http_server/tfjs/package.json index 84676d8dde..64a600d00f 100644 --- a/tests/end_to_end/http_server/tfjs/package.json +++ b/tests/end_to_end/http_server/tfjs/package.json @@ -5,7 +5,7 @@ }, "dependencies": { "@tensorflow/tfjs": "^4.17.0", - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2" }, "devDependencies": { diff --git a/tests/end_to_end/http_server/web_assembly/package-lock.json b/tests/end_to_end/http_server/web_assembly/package-lock.json index d56e846f8f..12b5d32a62 100644 --- a/tests/end_to_end/http_server/web_assembly/package-lock.json +++ b/tests/end_to_end/http_server/web_assembly/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2", "watr": "^2.2.5" }, @@ -20,7 +20,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -2122,7 +2123,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -2225,10 +2227,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -2242,13 +2245,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -2256,10 +2260,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/brace-expansion": { @@ -3431,9 +3436,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3444,6 +3449,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3451,7 +3457,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3461,6 +3467,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3472,6 +3479,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3482,7 +3490,8 @@ "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4969,6 +4978,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6929,6 +6947,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/watr": { "version": "2.2.5", "resolved": "https://registry.npmjs.org/watr/-/watr-2.2.5.tgz", @@ -7002,15 +7025,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -8664,9 +8688,9 @@ } }, "azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -8680,13 +8704,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -8694,7 +8719,8 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "dependencies": { "brace-expansion": { @@ -9603,9 +9629,9 @@ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" }, "ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -9613,7 +9639,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@noble/curves": { @@ -10751,6 +10777,11 @@ "universalify": "^2.0.0" } }, + "jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -12064,6 +12095,11 @@ "makeerror": "1.0.12" } }, + "wasmedge_quickjs": { + "version": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==", + "from": "wasmedge_quickjs@github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" + }, "watr": { "version": "2.2.5", "resolved": "https://registry.npmjs.org/watr/-/watr-2.2.5.tgz", @@ -12115,9 +12151,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { diff --git a/tests/end_to_end/http_server/web_assembly/package.json b/tests/end_to_end/http_server/web_assembly/package.json index b1cd9b2c61..08898ebfd9 100644 --- a/tests/end_to_end/http_server/web_assembly/package.json +++ b/tests/end_to_end/http_server/web_assembly/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.23.0", + "azle": "0.24.1-rc.1", "express": "^4.18.2", "watr": "^2.2.5" }, diff --git a/tests/property/candid_rpc/class_api/blob/package-lock.json b/tests/property/candid_rpc/class_api/blob/package-lock.json index 58ea54ee36..938d11bfd8 100644 --- a/tests/property/candid_rpc/class_api/blob/package-lock.json +++ b/tests/property/candid_rpc/class_api/blob/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/blob/package.json b/tests/property/candid_rpc/class_api/blob/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/blob/package.json +++ b/tests/property/candid_rpc/class_api/blob/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/bool/package-lock.json b/tests/property/candid_rpc/class_api/bool/package-lock.json index 71da544e38..09168292ba 100644 --- a/tests/property/candid_rpc/class_api/bool/package-lock.json +++ b/tests/property/candid_rpc/class_api/bool/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/bool/package.json b/tests/property/candid_rpc/class_api/bool/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/bool/package.json +++ b/tests/property/candid_rpc/class_api/bool/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/canister_methods/http_request/package-lock.json b/tests/property/candid_rpc/class_api/canister_methods/http_request/package-lock.json index b03a71fd9d..a722e38cf2 100644 --- a/tests/property/candid_rpc/class_api/canister_methods/http_request/package-lock.json +++ b/tests/property/candid_rpc/class_api/canister_methods/http_request/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/canister_methods/http_request/package.json b/tests/property/candid_rpc/class_api/canister_methods/http_request/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/canister_methods/http_request/package.json +++ b/tests/property/candid_rpc/class_api/canister_methods/http_request/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/canister_methods/http_request_update/package-lock.json b/tests/property/candid_rpc/class_api/canister_methods/http_request_update/package-lock.json index 513075efe8..6866ced827 100644 --- a/tests/property/candid_rpc/class_api/canister_methods/http_request_update/package-lock.json +++ b/tests/property/candid_rpc/class_api/canister_methods/http_request_update/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/canister_methods/http_request_update/package.json b/tests/property/candid_rpc/class_api/canister_methods/http_request_update/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/canister_methods/http_request_update/package.json +++ b/tests/property/candid_rpc/class_api/canister_methods/http_request_update/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/canister_methods/init/package-lock.json b/tests/property/candid_rpc/class_api/canister_methods/init/package-lock.json index 5f87c5e7cf..5fb56e7705 100644 --- a/tests/property/candid_rpc/class_api/canister_methods/init/package-lock.json +++ b/tests/property/candid_rpc/class_api/canister_methods/init/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/canister_methods/init/package.json b/tests/property/candid_rpc/class_api/canister_methods/init/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/canister_methods/init/package.json +++ b/tests/property/candid_rpc/class_api/canister_methods/init/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/canister_methods/inspect_message/package-lock.json b/tests/property/candid_rpc/class_api/canister_methods/inspect_message/package-lock.json index d9155a5295..7acc244917 100644 --- a/tests/property/candid_rpc/class_api/canister_methods/inspect_message/package-lock.json +++ b/tests/property/candid_rpc/class_api/canister_methods/inspect_message/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.3.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -547,10 +555,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -564,13 +573,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -578,10 +588,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1171,9 +1182,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1184,6 +1195,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1191,7 +1203,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1201,6 +1213,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1212,6 +1225,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1219,15 +1233,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1573,6 +1583,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2527,6 +2546,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2626,15 +2650,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/canister_methods/inspect_message/package.json b/tests/property/candid_rpc/class_api/canister_methods/inspect_message/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/canister_methods/inspect_message/package.json +++ b/tests/property/candid_rpc/class_api/canister_methods/inspect_message/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/canister_methods/post_upgrade/package-lock.json b/tests/property/candid_rpc/class_api/canister_methods/post_upgrade/package-lock.json index dfc2e7dae8..1ed870f977 100644 --- a/tests/property/candid_rpc/class_api/canister_methods/post_upgrade/package-lock.json +++ b/tests/property/candid_rpc/class_api/canister_methods/post_upgrade/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/canister_methods/post_upgrade/package.json b/tests/property/candid_rpc/class_api/canister_methods/post_upgrade/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/canister_methods/post_upgrade/package.json +++ b/tests/property/candid_rpc/class_api/canister_methods/post_upgrade/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/canister_methods/pre_upgrade/package-lock.json b/tests/property/candid_rpc/class_api/canister_methods/pre_upgrade/package-lock.json index 1436366f57..c8c64fa9da 100644 --- a/tests/property/candid_rpc/class_api/canister_methods/pre_upgrade/package-lock.json +++ b/tests/property/candid_rpc/class_api/canister_methods/pre_upgrade/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1151,9 +1162,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1164,6 +1175,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1171,7 +1183,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1181,6 +1193,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1192,6 +1205,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1199,15 +1213,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1554,6 +1564,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/canister_methods/pre_upgrade/package.json b/tests/property/candid_rpc/class_api/canister_methods/pre_upgrade/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/canister_methods/pre_upgrade/package.json +++ b/tests/property/candid_rpc/class_api/canister_methods/pre_upgrade/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/canister_methods/query/package-lock.json b/tests/property/candid_rpc/class_api/canister_methods/query/package-lock.json index 4348b984b4..1e1537d0ed 100644 --- a/tests/property/candid_rpc/class_api/canister_methods/query/package-lock.json +++ b/tests/property/candid_rpc/class_api/canister_methods/query/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/canister_methods/query/package.json b/tests/property/candid_rpc/class_api/canister_methods/query/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/canister_methods/query/package.json +++ b/tests/property/candid_rpc/class_api/canister_methods/query/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/canister_methods/update/package-lock.json b/tests/property/candid_rpc/class_api/canister_methods/update/package-lock.json index 82ef6ddd52..9e9158426f 100644 --- a/tests/property/candid_rpc/class_api/canister_methods/update/package-lock.json +++ b/tests/property/candid_rpc/class_api/canister_methods/update/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/canister_methods/update/package.json b/tests/property/candid_rpc/class_api/canister_methods/update/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/canister_methods/update/package.json +++ b/tests/property/candid_rpc/class_api/canister_methods/update/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/float32/package-lock.json b/tests/property/candid_rpc/class_api/float32/package-lock.json index 828025c0c9..1bd45eeb01 100644 --- a/tests/property/candid_rpc/class_api/float32/package-lock.json +++ b/tests/property/candid_rpc/class_api/float32/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/float32/package.json b/tests/property/candid_rpc/class_api/float32/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/float32/package.json +++ b/tests/property/candid_rpc/class_api/float32/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/float64/package-lock.json b/tests/property/candid_rpc/class_api/float64/package-lock.json index 1ac0d1ca70..9bccc4fc6b 100644 --- a/tests/property/candid_rpc/class_api/float64/package-lock.json +++ b/tests/property/candid_rpc/class_api/float64/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/float64/package.json b/tests/property/candid_rpc/class_api/float64/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/float64/package.json +++ b/tests/property/candid_rpc/class_api/float64/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/func/package-lock.json b/tests/property/candid_rpc/class_api/func/package-lock.json index 9af7ce7d35..7c2feef53b 100644 --- a/tests/property/candid_rpc/class_api/func/package-lock.json +++ b/tests/property/candid_rpc/class_api/func/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/func/package.json b/tests/property/candid_rpc/class_api/func/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/func/package.json +++ b/tests/property/candid_rpc/class_api/func/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/int/package-lock.json b/tests/property/candid_rpc/class_api/int/package-lock.json index 4eee301732..1cda89bf3c 100644 --- a/tests/property/candid_rpc/class_api/int/package-lock.json +++ b/tests/property/candid_rpc/class_api/int/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/int/package.json b/tests/property/candid_rpc/class_api/int/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/int/package.json +++ b/tests/property/candid_rpc/class_api/int/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/int16/package-lock.json b/tests/property/candid_rpc/class_api/int16/package-lock.json index 65dd2a077c..6d9c8c9efc 100644 --- a/tests/property/candid_rpc/class_api/int16/package-lock.json +++ b/tests/property/candid_rpc/class_api/int16/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/int16/package.json b/tests/property/candid_rpc/class_api/int16/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/int16/package.json +++ b/tests/property/candid_rpc/class_api/int16/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/int32/package-lock.json b/tests/property/candid_rpc/class_api/int32/package-lock.json index e0005e3d2d..f26402bc68 100644 --- a/tests/property/candid_rpc/class_api/int32/package-lock.json +++ b/tests/property/candid_rpc/class_api/int32/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/int32/package.json b/tests/property/candid_rpc/class_api/int32/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/int32/package.json +++ b/tests/property/candid_rpc/class_api/int32/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/int64/package-lock.json b/tests/property/candid_rpc/class_api/int64/package-lock.json index 5cf311e20d..fcc565290d 100644 --- a/tests/property/candid_rpc/class_api/int64/package-lock.json +++ b/tests/property/candid_rpc/class_api/int64/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/int64/package.json b/tests/property/candid_rpc/class_api/int64/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/int64/package.json +++ b/tests/property/candid_rpc/class_api/int64/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/int8/package-lock.json b/tests/property/candid_rpc/class_api/int8/package-lock.json index 5dd62fbf6a..444e2d431e 100644 --- a/tests/property/candid_rpc/class_api/int8/package-lock.json +++ b/tests/property/candid_rpc/class_api/int8/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/int8/package.json b/tests/property/candid_rpc/class_api/int8/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/int8/package.json +++ b/tests/property/candid_rpc/class_api/int8/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/nat/package-lock.json b/tests/property/candid_rpc/class_api/nat/package-lock.json index 329bb37182..5e25662b21 100644 --- a/tests/property/candid_rpc/class_api/nat/package-lock.json +++ b/tests/property/candid_rpc/class_api/nat/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/nat/package.json b/tests/property/candid_rpc/class_api/nat/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/nat/package.json +++ b/tests/property/candid_rpc/class_api/nat/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/nat16/package-lock.json b/tests/property/candid_rpc/class_api/nat16/package-lock.json index 13528b64b2..fc9e9151bb 100644 --- a/tests/property/candid_rpc/class_api/nat16/package-lock.json +++ b/tests/property/candid_rpc/class_api/nat16/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/nat16/package.json b/tests/property/candid_rpc/class_api/nat16/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/nat16/package.json +++ b/tests/property/candid_rpc/class_api/nat16/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/nat32/package-lock.json b/tests/property/candid_rpc/class_api/nat32/package-lock.json index 51060296aa..514ad9b5d5 100644 --- a/tests/property/candid_rpc/class_api/nat32/package-lock.json +++ b/tests/property/candid_rpc/class_api/nat32/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/nat32/package.json b/tests/property/candid_rpc/class_api/nat32/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/nat32/package.json +++ b/tests/property/candid_rpc/class_api/nat32/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/nat64/package-lock.json b/tests/property/candid_rpc/class_api/nat64/package-lock.json index e70f277e33..e958db0d82 100644 --- a/tests/property/candid_rpc/class_api/nat64/package-lock.json +++ b/tests/property/candid_rpc/class_api/nat64/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/nat64/package.json b/tests/property/candid_rpc/class_api/nat64/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/nat64/package.json +++ b/tests/property/candid_rpc/class_api/nat64/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/nat8/package-lock.json b/tests/property/candid_rpc/class_api/nat8/package-lock.json index c8030a12bc..443fb43e4a 100644 --- a/tests/property/candid_rpc/class_api/nat8/package-lock.json +++ b/tests/property/candid_rpc/class_api/nat8/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/nat8/package.json b/tests/property/candid_rpc/class_api/nat8/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/nat8/package.json +++ b/tests/property/candid_rpc/class_api/nat8/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/null/package-lock.json b/tests/property/candid_rpc/class_api/null/package-lock.json index 93dd234cd9..fe2b06c5b6 100644 --- a/tests/property/candid_rpc/class_api/null/package-lock.json +++ b/tests/property/candid_rpc/class_api/null/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/null/package.json b/tests/property/candid_rpc/class_api/null/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/null/package.json +++ b/tests/property/candid_rpc/class_api/null/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/opt/package-lock.json b/tests/property/candid_rpc/class_api/opt/package-lock.json index 5a1daeece4..cd095cc393 100644 --- a/tests/property/candid_rpc/class_api/opt/package-lock.json +++ b/tests/property/candid_rpc/class_api/opt/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/opt/package.json b/tests/property/candid_rpc/class_api/opt/package.json index aa803b7d7c..a23e075982 100644 --- a/tests/property/candid_rpc/class_api/opt/package.json +++ b/tests/property/candid_rpc/class_api/opt/package.json @@ -3,6 +3,6 @@ "test": "NODE_OPTIONS=\"--max-old-space-size=32768\" tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/principal/package-lock.json b/tests/property/candid_rpc/class_api/principal/package-lock.json index 6c5b64e340..b6c40f3ef2 100644 --- a/tests/property/candid_rpc/class_api/principal/package-lock.json +++ b/tests/property/candid_rpc/class_api/principal/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/principal/package.json b/tests/property/candid_rpc/class_api/principal/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/principal/package.json +++ b/tests/property/candid_rpc/class_api/principal/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/record/package-lock.json b/tests/property/candid_rpc/class_api/record/package-lock.json index 0991b869e6..38170d131f 100644 --- a/tests/property/candid_rpc/class_api/record/package-lock.json +++ b/tests/property/candid_rpc/class_api/record/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/record/package.json b/tests/property/candid_rpc/class_api/record/package.json index aa803b7d7c..a23e075982 100644 --- a/tests/property/candid_rpc/class_api/record/package.json +++ b/tests/property/candid_rpc/class_api/record/package.json @@ -3,6 +3,6 @@ "test": "NODE_OPTIONS=\"--max-old-space-size=32768\" tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/recursive/package-lock.json b/tests/property/candid_rpc/class_api/recursive/package-lock.json index f3a4dbb114..f7ca802aba 100644 --- a/tests/property/candid_rpc/class_api/recursive/package-lock.json +++ b/tests/property/candid_rpc/class_api/recursive/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/recursive/package.json b/tests/property/candid_rpc/class_api/recursive/package.json index aa803b7d7c..a23e075982 100644 --- a/tests/property/candid_rpc/class_api/recursive/package.json +++ b/tests/property/candid_rpc/class_api/recursive/package.json @@ -3,6 +3,6 @@ "test": "NODE_OPTIONS=\"--max-old-space-size=32768\" tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/service/package-lock.json b/tests/property/candid_rpc/class_api/service/package-lock.json index e7969f8856..221798c481 100644 --- a/tests/property/candid_rpc/class_api/service/package-lock.json +++ b/tests/property/candid_rpc/class_api/service/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.7", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.7.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/service/package.json b/tests/property/candid_rpc/class_api/service/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/service/package.json +++ b/tests/property/candid_rpc/class_api/service/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/stable_b_tree_map/package-lock.json b/tests/property/candid_rpc/class_api/stable_b_tree_map/package-lock.json index 4ff1078213..b5874bdec6 100644 --- a/tests/property/candid_rpc/class_api/stable_b_tree_map/package-lock.json +++ b/tests/property/candid_rpc/class_api/stable_b_tree_map/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1151,9 +1162,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1164,6 +1175,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1171,7 +1183,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1181,6 +1193,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1192,6 +1205,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1199,15 +1213,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1554,6 +1564,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/stable_b_tree_map/package.json b/tests/property/candid_rpc/class_api/stable_b_tree_map/package.json index aa803b7d7c..a23e075982 100644 --- a/tests/property/candid_rpc/class_api/stable_b_tree_map/package.json +++ b/tests/property/candid_rpc/class_api/stable_b_tree_map/package.json @@ -3,6 +3,6 @@ "test": "NODE_OPTIONS=\"--max-old-space-size=32768\" tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/text/package-lock.json b/tests/property/candid_rpc/class_api/text/package-lock.json index 25e3703bac..d52bf04965 100644 --- a/tests/property/candid_rpc/class_api/text/package-lock.json +++ b/tests/property/candid_rpc/class_api/text/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/text/package.json b/tests/property/candid_rpc/class_api/text/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/class_api/text/package.json +++ b/tests/property/candid_rpc/class_api/text/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/tuple/package-lock.json b/tests/property/candid_rpc/class_api/tuple/package-lock.json index 4c6fe784a0..9f3c622396 100644 --- a/tests/property/candid_rpc/class_api/tuple/package-lock.json +++ b/tests/property/candid_rpc/class_api/tuple/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/tuple/package.json b/tests/property/candid_rpc/class_api/tuple/package.json index aa803b7d7c..a23e075982 100644 --- a/tests/property/candid_rpc/class_api/tuple/package.json +++ b/tests/property/candid_rpc/class_api/tuple/package.json @@ -3,6 +3,6 @@ "test": "NODE_OPTIONS=\"--max-old-space-size=32768\" tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/variant/package-lock.json b/tests/property/candid_rpc/class_api/variant/package-lock.json index 5d617f470b..1fb69b5915 100644 --- a/tests/property/candid_rpc/class_api/variant/package-lock.json +++ b/tests/property/candid_rpc/class_api/variant/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/variant/package.json b/tests/property/candid_rpc/class_api/variant/package.json index aa803b7d7c..a23e075982 100644 --- a/tests/property/candid_rpc/class_api/variant/package.json +++ b/tests/property/candid_rpc/class_api/variant/package.json @@ -3,6 +3,6 @@ "test": "NODE_OPTIONS=\"--max-old-space-size=32768\" tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/class_api/vec/package-lock.json b/tests/property/candid_rpc/class_api/vec/package-lock.json index c92ad80ed6..dcea66f797 100644 --- a/tests/property/candid_rpc/class_api/vec/package-lock.json +++ b/tests/property/candid_rpc/class_api/vec/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/class_api/vec/package.json b/tests/property/candid_rpc/class_api/vec/package.json index aa803b7d7c..a23e075982 100644 --- a/tests/property/candid_rpc/class_api/vec/package.json +++ b/tests/property/candid_rpc/class_api/vec/package.json @@ -3,6 +3,6 @@ "test": "NODE_OPTIONS=\"--max-old-space-size=32768\" tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/blob/package-lock.json b/tests/property/candid_rpc/functional_api/blob/package-lock.json index 58ea54ee36..938d11bfd8 100644 --- a/tests/property/candid_rpc/functional_api/blob/package-lock.json +++ b/tests/property/candid_rpc/functional_api/blob/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/blob/package.json b/tests/property/candid_rpc/functional_api/blob/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/blob/package.json +++ b/tests/property/candid_rpc/functional_api/blob/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/bool/package-lock.json b/tests/property/candid_rpc/functional_api/bool/package-lock.json index 71da544e38..09168292ba 100644 --- a/tests/property/candid_rpc/functional_api/bool/package-lock.json +++ b/tests/property/candid_rpc/functional_api/bool/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/bool/package.json b/tests/property/candid_rpc/functional_api/bool/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/bool/package.json +++ b/tests/property/candid_rpc/functional_api/bool/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/canister_methods/http_request/package-lock.json b/tests/property/candid_rpc/functional_api/canister_methods/http_request/package-lock.json index b03a71fd9d..a722e38cf2 100644 --- a/tests/property/candid_rpc/functional_api/canister_methods/http_request/package-lock.json +++ b/tests/property/candid_rpc/functional_api/canister_methods/http_request/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/canister_methods/http_request/package.json b/tests/property/candid_rpc/functional_api/canister_methods/http_request/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/canister_methods/http_request/package.json +++ b/tests/property/candid_rpc/functional_api/canister_methods/http_request/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/canister_methods/http_request_update/package-lock.json b/tests/property/candid_rpc/functional_api/canister_methods/http_request_update/package-lock.json index 513075efe8..6866ced827 100644 --- a/tests/property/candid_rpc/functional_api/canister_methods/http_request_update/package-lock.json +++ b/tests/property/candid_rpc/functional_api/canister_methods/http_request_update/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/canister_methods/http_request_update/package.json b/tests/property/candid_rpc/functional_api/canister_methods/http_request_update/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/canister_methods/http_request_update/package.json +++ b/tests/property/candid_rpc/functional_api/canister_methods/http_request_update/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/canister_methods/init/package-lock.json b/tests/property/candid_rpc/functional_api/canister_methods/init/package-lock.json index 5f87c5e7cf..5fb56e7705 100644 --- a/tests/property/candid_rpc/functional_api/canister_methods/init/package-lock.json +++ b/tests/property/candid_rpc/functional_api/canister_methods/init/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/canister_methods/init/package.json b/tests/property/candid_rpc/functional_api/canister_methods/init/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/canister_methods/init/package.json +++ b/tests/property/candid_rpc/functional_api/canister_methods/init/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/canister_methods/inspect_message/package-lock.json b/tests/property/candid_rpc/functional_api/canister_methods/inspect_message/package-lock.json index d9155a5295..7acc244917 100644 --- a/tests/property/candid_rpc/functional_api/canister_methods/inspect_message/package-lock.json +++ b/tests/property/candid_rpc/functional_api/canister_methods/inspect_message/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.3.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -547,10 +555,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -564,13 +573,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -578,10 +588,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1171,9 +1182,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1184,6 +1195,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1191,7 +1203,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1201,6 +1213,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1212,6 +1225,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1219,15 +1233,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1573,6 +1583,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2527,6 +2546,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2626,15 +2650,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/canister_methods/inspect_message/package.json b/tests/property/candid_rpc/functional_api/canister_methods/inspect_message/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/canister_methods/inspect_message/package.json +++ b/tests/property/candid_rpc/functional_api/canister_methods/inspect_message/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/canister_methods/post_upgrade/package-lock.json b/tests/property/candid_rpc/functional_api/canister_methods/post_upgrade/package-lock.json index dfc2e7dae8..1ed870f977 100644 --- a/tests/property/candid_rpc/functional_api/canister_methods/post_upgrade/package-lock.json +++ b/tests/property/candid_rpc/functional_api/canister_methods/post_upgrade/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/canister_methods/post_upgrade/package.json b/tests/property/candid_rpc/functional_api/canister_methods/post_upgrade/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/canister_methods/post_upgrade/package.json +++ b/tests/property/candid_rpc/functional_api/canister_methods/post_upgrade/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/canister_methods/pre_upgrade/package-lock.json b/tests/property/candid_rpc/functional_api/canister_methods/pre_upgrade/package-lock.json index 1436366f57..c8c64fa9da 100644 --- a/tests/property/candid_rpc/functional_api/canister_methods/pre_upgrade/package-lock.json +++ b/tests/property/candid_rpc/functional_api/canister_methods/pre_upgrade/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1151,9 +1162,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1164,6 +1175,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1171,7 +1183,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1181,6 +1193,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1192,6 +1205,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1199,15 +1213,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1554,6 +1564,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/canister_methods/pre_upgrade/package.json b/tests/property/candid_rpc/functional_api/canister_methods/pre_upgrade/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/canister_methods/pre_upgrade/package.json +++ b/tests/property/candid_rpc/functional_api/canister_methods/pre_upgrade/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/canister_methods/query/package-lock.json b/tests/property/candid_rpc/functional_api/canister_methods/query/package-lock.json index 4348b984b4..1e1537d0ed 100644 --- a/tests/property/candid_rpc/functional_api/canister_methods/query/package-lock.json +++ b/tests/property/candid_rpc/functional_api/canister_methods/query/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/canister_methods/query/package.json b/tests/property/candid_rpc/functional_api/canister_methods/query/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/canister_methods/query/package.json +++ b/tests/property/candid_rpc/functional_api/canister_methods/query/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/canister_methods/update/package-lock.json b/tests/property/candid_rpc/functional_api/canister_methods/update/package-lock.json index 82ef6ddd52..9e9158426f 100644 --- a/tests/property/candid_rpc/functional_api/canister_methods/update/package-lock.json +++ b/tests/property/candid_rpc/functional_api/canister_methods/update/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/canister_methods/update/package.json b/tests/property/candid_rpc/functional_api/canister_methods/update/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/canister_methods/update/package.json +++ b/tests/property/candid_rpc/functional_api/canister_methods/update/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/float32/package-lock.json b/tests/property/candid_rpc/functional_api/float32/package-lock.json index 828025c0c9..1bd45eeb01 100644 --- a/tests/property/candid_rpc/functional_api/float32/package-lock.json +++ b/tests/property/candid_rpc/functional_api/float32/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/float32/package.json b/tests/property/candid_rpc/functional_api/float32/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/float32/package.json +++ b/tests/property/candid_rpc/functional_api/float32/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/float64/package-lock.json b/tests/property/candid_rpc/functional_api/float64/package-lock.json index 1ac0d1ca70..9bccc4fc6b 100644 --- a/tests/property/candid_rpc/functional_api/float64/package-lock.json +++ b/tests/property/candid_rpc/functional_api/float64/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/float64/package.json b/tests/property/candid_rpc/functional_api/float64/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/float64/package.json +++ b/tests/property/candid_rpc/functional_api/float64/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/func/package-lock.json b/tests/property/candid_rpc/functional_api/func/package-lock.json index 9af7ce7d35..7c2feef53b 100644 --- a/tests/property/candid_rpc/functional_api/func/package-lock.json +++ b/tests/property/candid_rpc/functional_api/func/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/func/package.json b/tests/property/candid_rpc/functional_api/func/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/func/package.json +++ b/tests/property/candid_rpc/functional_api/func/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/int/package-lock.json b/tests/property/candid_rpc/functional_api/int/package-lock.json index 4eee301732..1cda89bf3c 100644 --- a/tests/property/candid_rpc/functional_api/int/package-lock.json +++ b/tests/property/candid_rpc/functional_api/int/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/int/package.json b/tests/property/candid_rpc/functional_api/int/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/int/package.json +++ b/tests/property/candid_rpc/functional_api/int/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/int16/package-lock.json b/tests/property/candid_rpc/functional_api/int16/package-lock.json index 65dd2a077c..6d9c8c9efc 100644 --- a/tests/property/candid_rpc/functional_api/int16/package-lock.json +++ b/tests/property/candid_rpc/functional_api/int16/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/int16/package.json b/tests/property/candid_rpc/functional_api/int16/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/int16/package.json +++ b/tests/property/candid_rpc/functional_api/int16/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/int32/package-lock.json b/tests/property/candid_rpc/functional_api/int32/package-lock.json index e0005e3d2d..f26402bc68 100644 --- a/tests/property/candid_rpc/functional_api/int32/package-lock.json +++ b/tests/property/candid_rpc/functional_api/int32/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/int32/package.json b/tests/property/candid_rpc/functional_api/int32/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/int32/package.json +++ b/tests/property/candid_rpc/functional_api/int32/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/int64/package-lock.json b/tests/property/candid_rpc/functional_api/int64/package-lock.json index 5cf311e20d..fcc565290d 100644 --- a/tests/property/candid_rpc/functional_api/int64/package-lock.json +++ b/tests/property/candid_rpc/functional_api/int64/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/int64/package.json b/tests/property/candid_rpc/functional_api/int64/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/int64/package.json +++ b/tests/property/candid_rpc/functional_api/int64/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/int8/package-lock.json b/tests/property/candid_rpc/functional_api/int8/package-lock.json index 5dd62fbf6a..444e2d431e 100644 --- a/tests/property/candid_rpc/functional_api/int8/package-lock.json +++ b/tests/property/candid_rpc/functional_api/int8/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/int8/package.json b/tests/property/candid_rpc/functional_api/int8/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/int8/package.json +++ b/tests/property/candid_rpc/functional_api/int8/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/nat/package-lock.json b/tests/property/candid_rpc/functional_api/nat/package-lock.json index 329bb37182..5e25662b21 100644 --- a/tests/property/candid_rpc/functional_api/nat/package-lock.json +++ b/tests/property/candid_rpc/functional_api/nat/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/nat/package.json b/tests/property/candid_rpc/functional_api/nat/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/nat/package.json +++ b/tests/property/candid_rpc/functional_api/nat/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/nat16/package-lock.json b/tests/property/candid_rpc/functional_api/nat16/package-lock.json index 13528b64b2..fc9e9151bb 100644 --- a/tests/property/candid_rpc/functional_api/nat16/package-lock.json +++ b/tests/property/candid_rpc/functional_api/nat16/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/nat16/package.json b/tests/property/candid_rpc/functional_api/nat16/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/nat16/package.json +++ b/tests/property/candid_rpc/functional_api/nat16/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/nat32/package-lock.json b/tests/property/candid_rpc/functional_api/nat32/package-lock.json index 51060296aa..514ad9b5d5 100644 --- a/tests/property/candid_rpc/functional_api/nat32/package-lock.json +++ b/tests/property/candid_rpc/functional_api/nat32/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/nat32/package.json b/tests/property/candid_rpc/functional_api/nat32/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/nat32/package.json +++ b/tests/property/candid_rpc/functional_api/nat32/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/nat64/package-lock.json b/tests/property/candid_rpc/functional_api/nat64/package-lock.json index e70f277e33..e958db0d82 100644 --- a/tests/property/candid_rpc/functional_api/nat64/package-lock.json +++ b/tests/property/candid_rpc/functional_api/nat64/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/nat64/package.json b/tests/property/candid_rpc/functional_api/nat64/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/nat64/package.json +++ b/tests/property/candid_rpc/functional_api/nat64/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/nat8/package-lock.json b/tests/property/candid_rpc/functional_api/nat8/package-lock.json index c8030a12bc..443fb43e4a 100644 --- a/tests/property/candid_rpc/functional_api/nat8/package-lock.json +++ b/tests/property/candid_rpc/functional_api/nat8/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/nat8/package.json b/tests/property/candid_rpc/functional_api/nat8/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/nat8/package.json +++ b/tests/property/candid_rpc/functional_api/nat8/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/null/package-lock.json b/tests/property/candid_rpc/functional_api/null/package-lock.json index 93dd234cd9..fe2b06c5b6 100644 --- a/tests/property/candid_rpc/functional_api/null/package-lock.json +++ b/tests/property/candid_rpc/functional_api/null/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/null/package.json b/tests/property/candid_rpc/functional_api/null/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/null/package.json +++ b/tests/property/candid_rpc/functional_api/null/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/opt/package-lock.json b/tests/property/candid_rpc/functional_api/opt/package-lock.json index 5a1daeece4..cd095cc393 100644 --- a/tests/property/candid_rpc/functional_api/opt/package-lock.json +++ b/tests/property/candid_rpc/functional_api/opt/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/opt/package.json b/tests/property/candid_rpc/functional_api/opt/package.json index aa803b7d7c..a23e075982 100644 --- a/tests/property/candid_rpc/functional_api/opt/package.json +++ b/tests/property/candid_rpc/functional_api/opt/package.json @@ -3,6 +3,6 @@ "test": "NODE_OPTIONS=\"--max-old-space-size=32768\" tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/principal/package-lock.json b/tests/property/candid_rpc/functional_api/principal/package-lock.json index 6c5b64e340..b6c40f3ef2 100644 --- a/tests/property/candid_rpc/functional_api/principal/package-lock.json +++ b/tests/property/candid_rpc/functional_api/principal/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/principal/package.json b/tests/property/candid_rpc/functional_api/principal/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/principal/package.json +++ b/tests/property/candid_rpc/functional_api/principal/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/record/package-lock.json b/tests/property/candid_rpc/functional_api/record/package-lock.json index 0991b869e6..38170d131f 100644 --- a/tests/property/candid_rpc/functional_api/record/package-lock.json +++ b/tests/property/candid_rpc/functional_api/record/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/record/package.json b/tests/property/candid_rpc/functional_api/record/package.json index aa803b7d7c..a23e075982 100644 --- a/tests/property/candid_rpc/functional_api/record/package.json +++ b/tests/property/candid_rpc/functional_api/record/package.json @@ -3,6 +3,6 @@ "test": "NODE_OPTIONS=\"--max-old-space-size=32768\" tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/recursive/package-lock.json b/tests/property/candid_rpc/functional_api/recursive/package-lock.json index f3a4dbb114..f7ca802aba 100644 --- a/tests/property/candid_rpc/functional_api/recursive/package-lock.json +++ b/tests/property/candid_rpc/functional_api/recursive/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/recursive/package.json b/tests/property/candid_rpc/functional_api/recursive/package.json index aa803b7d7c..a23e075982 100644 --- a/tests/property/candid_rpc/functional_api/recursive/package.json +++ b/tests/property/candid_rpc/functional_api/recursive/package.json @@ -3,6 +3,6 @@ "test": "NODE_OPTIONS=\"--max-old-space-size=32768\" tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/service/package-lock.json b/tests/property/candid_rpc/functional_api/service/package-lock.json index e7969f8856..221798c481 100644 --- a/tests/property/candid_rpc/functional_api/service/package-lock.json +++ b/tests/property/candid_rpc/functional_api/service/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.7", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.7.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/service/package.json b/tests/property/candid_rpc/functional_api/service/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/service/package.json +++ b/tests/property/candid_rpc/functional_api/service/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/stable_b_tree_map/package-lock.json b/tests/property/candid_rpc/functional_api/stable_b_tree_map/package-lock.json index 4ff1078213..b5874bdec6 100644 --- a/tests/property/candid_rpc/functional_api/stable_b_tree_map/package-lock.json +++ b/tests/property/candid_rpc/functional_api/stable_b_tree_map/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1151,9 +1162,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1164,6 +1175,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1171,7 +1183,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1181,6 +1193,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1192,6 +1205,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1199,15 +1213,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1554,6 +1564,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/stable_b_tree_map/package.json b/tests/property/candid_rpc/functional_api/stable_b_tree_map/package.json index aa803b7d7c..a23e075982 100644 --- a/tests/property/candid_rpc/functional_api/stable_b_tree_map/package.json +++ b/tests/property/candid_rpc/functional_api/stable_b_tree_map/package.json @@ -3,6 +3,6 @@ "test": "NODE_OPTIONS=\"--max-old-space-size=32768\" tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/text/package-lock.json b/tests/property/candid_rpc/functional_api/text/package-lock.json index 25e3703bac..d52bf04965 100644 --- a/tests/property/candid_rpc/functional_api/text/package-lock.json +++ b/tests/property/candid_rpc/functional_api/text/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/text/package.json b/tests/property/candid_rpc/functional_api/text/package.json index 944a1b616f..012ee2ae0a 100644 --- a/tests/property/candid_rpc/functional_api/text/package.json +++ b/tests/property/candid_rpc/functional_api/text/package.json @@ -3,6 +3,6 @@ "test": "tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/tuple/package-lock.json b/tests/property/candid_rpc/functional_api/tuple/package-lock.json index 4c6fe784a0..9f3c622396 100644 --- a/tests/property/candid_rpc/functional_api/tuple/package-lock.json +++ b/tests/property/candid_rpc/functional_api/tuple/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/tuple/package.json b/tests/property/candid_rpc/functional_api/tuple/package.json index aa803b7d7c..a23e075982 100644 --- a/tests/property/candid_rpc/functional_api/tuple/package.json +++ b/tests/property/candid_rpc/functional_api/tuple/package.json @@ -3,6 +3,6 @@ "test": "NODE_OPTIONS=\"--max-old-space-size=32768\" tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/variant/package-lock.json b/tests/property/candid_rpc/functional_api/variant/package-lock.json index 5d617f470b..1fb69b5915 100644 --- a/tests/property/candid_rpc/functional_api/variant/package-lock.json +++ b/tests/property/candid_rpc/functional_api/variant/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/variant/package.json b/tests/property/candid_rpc/functional_api/variant/package.json index aa803b7d7c..a23e075982 100644 --- a/tests/property/candid_rpc/functional_api/variant/package.json +++ b/tests/property/candid_rpc/functional_api/variant/package.json @@ -3,6 +3,6 @@ "test": "NODE_OPTIONS=\"--max-old-space-size=32768\" tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/candid_rpc/functional_api/vec/package-lock.json b/tests/property/candid_rpc/functional_api/vec/package-lock.json index c92ad80ed6..dcea66f797 100644 --- a/tests/property/candid_rpc/functional_api/vec/package-lock.json +++ b/tests/property/candid_rpc/functional_api/vec/package-lock.json @@ -5,13 +5,14 @@ "packages": { "": { "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@dfinity/agent": { "version": "1.2.0", @@ -469,6 +470,12 @@ "node": ">=14" } }, + "node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" + }, "node_modules/@types/uuid": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.6.tgz", @@ -482,7 +489,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-regex": { "version": "6.0.1", @@ -548,10 +556,11 @@ } }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -565,13 +574,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -579,10 +589,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/balanced-match": { @@ -1136,9 +1147,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -1149,6 +1160,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -1156,7 +1168,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -1166,6 +1178,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -1177,6 +1190,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -1184,15 +1198,11 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" - }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -1539,6 +1549,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/libphonenumber-js": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.3.tgz", @@ -2494,6 +2513,11 @@ "node": ">= 0.10" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2593,15 +2617,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/candid_rpc/functional_api/vec/package.json b/tests/property/candid_rpc/functional_api/vec/package.json index aa803b7d7c..a23e075982 100644 --- a/tests/property/candid_rpc/functional_api/vec/package.json +++ b/tests/property/candid_rpc/functional_api/vec/package.json @@ -3,6 +3,6 @@ "test": "NODE_OPTIONS=\"--max-old-space-size=32768\" tsx test/test.ts" }, "dependencies": { - "azle": "0.23.0" + "azle": "0.24.1-rc.1" } } diff --git a/tests/property/ic_api/caller/package-lock.json b/tests/property/ic_api/caller/package-lock.json index 89b5204714..b6ef0a41cc 100644 --- a/tests/property/ic_api/caller/package-lock.json +++ b/tests/property/ic_api/caller/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "^0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/identity": "^2.0.0", @@ -18,7 +18,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1792,7 +1793,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -1895,10 +1897,11 @@ "dev": true }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -1912,13 +1915,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -1926,10 +1930,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3054,9 +3059,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3067,6 +3072,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3074,7 +3080,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3084,6 +3090,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3095,6 +3102,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3105,12 +3113,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4467,6 +4477,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6134,6 +6153,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/webcrypto-core": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/webcrypto-core/-/webcrypto-core-1.8.0.tgz", @@ -6216,15 +6240,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/ic_api/caller/package.json b/tests/property/ic_api/caller/package.json index c6dedf6491..c67cfd2ebb 100644 --- a/tests/property/ic_api/caller/package.json +++ b/tests/property/ic_api/caller/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "^0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/identity": "^2.0.0", diff --git a/tests/property/ic_api/chunk/package-lock.json b/tests/property/ic_api/chunk/package-lock.json index e2b8d6a3b1..612ae6a4b3 100644 --- a/tests/property/ic_api/chunk/package-lock.json +++ b/tests/property/ic_api/chunk/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "^0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^2.0.0", @@ -18,7 +18,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1733,7 +1734,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -1836,10 +1838,11 @@ "dev": true }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -1853,13 +1856,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -1867,10 +1871,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -2995,9 +3000,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3008,6 +3013,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3015,7 +3021,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3025,6 +3031,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3036,6 +3043,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3046,12 +3054,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4408,6 +4418,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6075,6 +6094,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6143,15 +6167,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/ic_api/chunk/package.json b/tests/property/ic_api/chunk/package.json index 73b19d8a04..ab6ca9a1e4 100644 --- a/tests/property/ic_api/chunk/package.json +++ b/tests/property/ic_api/chunk/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "^0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^2.0.0", diff --git a/tests/property/ic_api/id/package-lock.json b/tests/property/ic_api/id/package-lock.json index e8badeab32..7aa79f1e9c 100644 --- a/tests/property/ic_api/id/package-lock.json +++ b/tests/property/ic_api/id/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "^0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^2.0.0", @@ -19,7 +19,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1733,7 +1734,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -1836,10 +1838,11 @@ "dev": true }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -1853,13 +1856,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -1867,10 +1871,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -2995,9 +3000,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3008,6 +3013,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3015,7 +3021,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3025,6 +3031,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3036,6 +3043,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3046,12 +3054,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4408,6 +4418,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6075,6 +6094,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6143,15 +6167,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/ic_api/id/package.json b/tests/property/ic_api/id/package.json index 8ba5dcfb29..023d5f7ad3 100644 --- a/tests/property/ic_api/id/package.json +++ b/tests/property/ic_api/id/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "^0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^2.0.0", diff --git a/tests/property/ic_api/instruction_counter/package-lock.json b/tests/property/ic_api/instruction_counter/package-lock.json index 9e01bf227a..5b1c741196 100644 --- a/tests/property/ic_api/instruction_counter/package-lock.json +++ b/tests/property/ic_api/instruction_counter/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "^0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^2.0.0", @@ -18,7 +18,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1733,7 +1734,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -1836,10 +1838,11 @@ "dev": true }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -1853,13 +1856,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -1867,10 +1871,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -2995,9 +3000,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3008,6 +3013,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3015,7 +3021,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3025,6 +3031,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3036,6 +3043,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3046,12 +3054,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4408,6 +4418,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6075,6 +6094,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6143,15 +6167,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/ic_api/instruction_counter/package.json b/tests/property/ic_api/instruction_counter/package.json index 73b19d8a04..ab6ca9a1e4 100644 --- a/tests/property/ic_api/instruction_counter/package.json +++ b/tests/property/ic_api/instruction_counter/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "^0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^2.0.0", diff --git a/tests/property/ic_api/is_controller/package-lock.json b/tests/property/ic_api/is_controller/package-lock.json index 9e4e8e1e99..77c499417a 100644 --- a/tests/property/ic_api/is_controller/package-lock.json +++ b/tests/property/ic_api/is_controller/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "^0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/identity": "^2.0.0", @@ -18,7 +18,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1792,7 +1793,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -1895,10 +1897,11 @@ "dev": true }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -1912,13 +1915,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -1926,10 +1930,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -3054,9 +3059,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3067,6 +3072,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3074,7 +3080,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3084,6 +3090,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3095,6 +3102,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3105,12 +3113,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4467,6 +4477,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6134,6 +6153,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/webcrypto-core": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/webcrypto-core/-/webcrypto-core-1.8.0.tgz", @@ -6216,15 +6240,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/ic_api/is_controller/package.json b/tests/property/ic_api/is_controller/package.json index c6dedf6491..c67cfd2ebb 100644 --- a/tests/property/ic_api/is_controller/package.json +++ b/tests/property/ic_api/is_controller/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "^0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/identity": "^2.0.0", diff --git a/tests/property/ic_api/performance_counter/package-lock.json b/tests/property/ic_api/performance_counter/package-lock.json index 7368f2ac66..d8c5ebe6bc 100644 --- a/tests/property/ic_api/performance_counter/package-lock.json +++ b/tests/property/ic_api/performance_counter/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "^0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^2.0.0", @@ -18,7 +18,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1733,7 +1734,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -1836,10 +1838,11 @@ "dev": true }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -1853,13 +1856,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -1867,10 +1871,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -2995,9 +3000,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3008,6 +3013,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3015,7 +3021,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3025,6 +3031,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3036,6 +3043,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3046,12 +3054,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4408,6 +4418,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6075,6 +6094,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6143,15 +6167,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/ic_api/performance_counter/package.json b/tests/property/ic_api/performance_counter/package.json index 73b19d8a04..ab6ca9a1e4 100644 --- a/tests/property/ic_api/performance_counter/package.json +++ b/tests/property/ic_api/performance_counter/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "^0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^2.0.0", diff --git a/tests/property/ic_api/time/package-lock.json b/tests/property/ic_api/time/package-lock.json index a150d41e3a..1b13fbe35b 100644 --- a/tests/property/ic_api/time/package-lock.json +++ b/tests/property/ic_api/time/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "^0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^2.0.0", @@ -18,7 +18,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1733,7 +1734,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -1836,10 +1838,11 @@ "dev": true }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -1853,13 +1856,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -1867,10 +1871,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -2995,9 +3000,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3008,6 +3013,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3015,7 +3021,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3025,6 +3031,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3036,6 +3043,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3046,12 +3054,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4408,6 +4418,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6075,6 +6094,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6143,15 +6167,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/ic_api/time/package.json b/tests/property/ic_api/time/package.json index 73b19d8a04..ab6ca9a1e4 100644 --- a/tests/property/ic_api/time/package.json +++ b/tests/property/ic_api/time/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "^0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^2.0.0", diff --git a/tests/property/ic_api/trap/package-lock.json b/tests/property/ic_api/trap/package-lock.json index 4a48aac8f2..4bf948b0d4 100644 --- a/tests/property/ic_api/trap/package-lock.json +++ b/tests/property/ic_api/trap/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "^0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^2.0.0", @@ -18,7 +18,8 @@ "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -1733,7 +1734,8 @@ "node_modules/aes-js": { "version": "4.0.0-beta.5", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" }, "node_modules/ansi-escapes": { "version": "4.3.2", @@ -1836,10 +1838,11 @@ "dev": true }, "node_modules/azle": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.23.0.tgz", - "integrity": "sha512-BRp0YAe/mtLCWVZDDl5IUbCLFb2fWi2NnKLHTUC0+EmZu59kVAR7AT7DY/oMvYVYVqxGlw9eqOIzhqB1msChWQ==", + "version": "0.24.1-rc.1", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.1.tgz", + "integrity": "sha512-bNBk54Fj4UMBwXlkEJJqgutsjw0Kr5Ge1SXiYhhbxj+zOtjSdc8CqH56LFcPXhrK33jiSHFJo20HWMPSpD+E9Q==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -1853,13 +1856,14 @@ "deep-is": "^0.1.4", "esbuild": "^0.23.0", "esbuild-plugin-tsc": "^0.4.0", - "ethers": "6.11.1", + "ethers": "^6.13.2", "fs-extra": "^11.2.0", "glob": "^10.3.15", "hash-of-directory": "^1.0.1", "http-message-parser": "^0.0.34", "intl": "^1.2.5", "js-sha256": "0.9.0", + "jssha": "^3.3.1", "net": "^1.0.2", "pako": "^2.1.0", "reflect-metadata": "^0.2.2", @@ -1867,10 +1871,11 @@ "text-encoding": "0.7.0", "tsx": "^4.15.7", "typescript": "^5.2.2", - "uuid": "^9.0.1" + "uuid": "^9.0.1", + "wasmedge_quickjs": "github:demergent-labs/wasmedge-quickjs#3b3b0ee91248ccf9cd954ffafbac7e024648af92" }, "bin": { - "azle": "src/compiler/index.ts" + "azle": "src/build/index.ts" } }, "node_modules/azle/node_modules/@dfinity/agent": { @@ -2995,9 +3000,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -3008,6 +3013,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], + "license": "MIT", "dependencies": { "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", @@ -3015,7 +3021,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -3025,6 +3031,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -3036,6 +3043,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -3046,12 +3054,14 @@ "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "license": "0BSD" }, "node_modules/evp_bytestokey": { "version": "1.0.3", @@ -4408,6 +4418,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jssha": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jssha/-/jssha-3.3.1.tgz", + "integrity": "sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6075,6 +6094,11 @@ "makeerror": "1.0.12" } }, + "node_modules/wasmedge_quickjs": { + "version": "0.0.0", + "resolved": "git+ssh://git@github.com/demergent-labs/wasmedge-quickjs.git#3b3b0ee91248ccf9cd954ffafbac7e024648af92", + "integrity": "sha512-YJ6XmvCtoMOF5/W00su0j6K0mkiDNWVbAGeVj12DhbeEdz0Z2Pr84Mz6rcTfFl8Oa1RQOGb6cWv/Pb5/UJ7/ug==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6143,15 +6167,16 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/tests/property/ic_api/trap/package.json b/tests/property/ic_api/trap/package.json index 73b19d8a04..ab6ca9a1e4 100644 --- a/tests/property/ic_api/trap/package.json +++ b/tests/property/ic_api/trap/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "^0.23.0" + "azle": "0.24.1-rc.1" }, "devDependencies": { "@dfinity/agent": "^2.0.0",