From 5ecc6348ca680770175247fd5aa8baddbf5f1bca Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Mon, 26 Aug 2024 12:39:54 -0600 Subject: [PATCH 01/54] put service tests in the right place --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 86d549f07d..d7c35cb21b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -64,9 +64,7 @@ jobs: run: | EXAMPLE_DIRECTORIES=$(cat << END [ - "tests/property/candid_rpc/class_api/service", "tests/property/candid_rpc/class_api/stable_b_tree_map", - "tests/property/candid_rpc/functional_api/service", "tests/property/candid_rpc/functional_api/stable_b_tree_map", "tests/end_to_end/http_server/ethers_base", "tests/end_to_end/http_server/http_outcall_fetch", @@ -104,6 +102,7 @@ jobs: "tests/property/candid_rpc/class_api/principal", "tests/property/candid_rpc/class_api/record", "tests/property/candid_rpc/class_api/recursive", + "tests/property/candid_rpc/class_api/service", "tests/property/candid_rpc/class_api/text", "tests/property/candid_rpc/class_api/tuple", "tests/property/candid_rpc/class_api/variant", @@ -136,6 +135,7 @@ jobs: "tests/property/candid_rpc/functional_api/principal", "tests/property/candid_rpc/functional_api/record", "tests/property/candid_rpc/functional_api/recursive", + "tests/property/candid_rpc/functional_api/service", "tests/property/candid_rpc/functional_api/text", "tests/property/candid_rpc/functional_api/tuple", "tests/property/candid_rpc/functional_api/variant", From c30880af651705b8be21edaf4efd711397a16ec5 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Mon, 26 Aug 2024 14:55:50 -0600 Subject: [PATCH 02/54] try setting name --- .github/workflows/test.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d7c35cb21b..9eb7fe66cc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -317,6 +317,7 @@ jobs: echo "::set-output name=should_run_tests::true" fi basic-integration-tests: + name: $(basename ${{matrix.example_directories}}) | ${{matrix.azle_source}} | ${{matrix.example_directories}} needs: release-candidate-deploy runs-on: ${{ matrix.os }} env: @@ -343,6 +344,15 @@ jobs: # If should_run_tests is false, we still want the steps of this job to execute so that check-basic-integration-tests-success will run. We do this by creating an array with one dummy element example_directories: ${{ needs.release-candidate-deploy.outputs.should_run_tests == 'true' && fromJSON(needs.release-candidate-deploy.outputs.example_directories) || fromJSON('["dummy"]') }} steps: + - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} + name: Echo test name + id: echo-test-name + run: echo "${{ matrix.example_directories }}" + - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} + name: Set test name + id: set-test-name + run: | + echo "TEST_NAME=$(basename ${{ matrix.example_directories }})" >> $GITHUB_ENV - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} uses: actions/checkout@v4 - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} From b68395293e99ac734c40d1f13e9fb3bd2dc8ded1 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Tue, 27 Aug 2024 10:48:09 -0600 Subject: [PATCH 03/54] first pass --- scripts/test.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 scripts/test.sh diff --git a/scripts/test.sh b/scripts/test.sh new file mode 100755 index 0000000000..dfa7c30144 --- /dev/null +++ b/scripts/test.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +# Base directories +BASE_DIR="." +EXAMPLES_DIR="$BASE_DIR/examples" +TESTS_DIR="$BASE_DIR/tests" + +# Function to discover test directories +discover_directories() { + local dir=$1 + find "$dir" -type d +} + +# Discover directories in examples and tests +example_directories=$(discover_directories "$EXAMPLES_DIR") +test_directories=$(discover_directories "$TESTS_DIR") + +# Combine all directories into a single list +all_directories=$(echo -e "$example_directories\n$test_directories") + +# Output the directories +echo "$all_directories" From a7f38544c232f95c1ad82fe37131283d45f90f02 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Tue, 27 Aug 2024 10:49:37 -0600 Subject: [PATCH 04/54] limit to npm packages --- scripts/test.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/test.sh b/scripts/test.sh index dfa7c30144..28582d5a21 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -5,15 +5,15 @@ BASE_DIR="." EXAMPLES_DIR="$BASE_DIR/examples" TESTS_DIR="$BASE_DIR/tests" -# Function to discover test directories -discover_directories() { +# Function to discover npm package directories +discover_npm_packages() { local dir=$1 - find "$dir" -type d + find "$dir" -type d -exec test -f "{}/package.json" \; -print } -# Discover directories in examples and tests -example_directories=$(discover_directories "$EXAMPLES_DIR") -test_directories=$(discover_directories "$TESTS_DIR") +# Discover npm packages in examples and tests +example_directories=$(discover_npm_packages "$EXAMPLES_DIR") +test_directories=$(discover_npm_packages "$TESTS_DIR") # Combine all directories into a single list all_directories=$(echo -e "$example_directories\n$test_directories") From 4ae2ebd81fd910f115dbb749887a8c3a60dbbec7 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Tue, 27 Aug 2024 10:50:41 -0600 Subject: [PATCH 05/54] restrict to npm packages --- scripts/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/test.sh b/scripts/test.sh index 28582d5a21..fdc08504d9 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -5,10 +5,10 @@ BASE_DIR="." EXAMPLES_DIR="$BASE_DIR/examples" TESTS_DIR="$BASE_DIR/tests" -# Function to discover npm package directories +# Function to discover npm package directories, excluding node_modules discover_npm_packages() { local dir=$1 - find "$dir" -type d -exec test -f "{}/package.json" \; -print + find "$dir" -type d -not -path "*/node_modules/*" -exec test -f "{}/package.json" \; -print } # Discover npm packages in examples and tests From b7e5ed11e080ee544bfabf03bc9a24de7172f814 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Tue, 27 Aug 2024 10:53:28 -0600 Subject: [PATCH 06/54] add exclusions --- scripts/test.sh | 40 ++++++++++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/scripts/test.sh b/scripts/test.sh index fdc08504d9..082ef20f8e 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -5,18 +5,42 @@ BASE_DIR="." EXAMPLES_DIR="$BASE_DIR/examples" TESTS_DIR="$BASE_DIR/tests" -# Function to discover npm package directories, excluding node_modules -discover_npm_packages() { +# Directories to exclude +EXCLUDE_DIRS=( + "tests/property/candid_rpc/class_api/stable_b_tree_map" + "tests/property/candid_rpc/functional_api/stable_b_tree_map" +) + +# Function to discover test directories +discover_directories() { + local dir=$1 + find "$dir" -type d ! -path "*/node_modules/*" +} + +# Function to check if a directory is excluded +is_excluded() { local dir=$1 - find "$dir" -type d -not -path "*/node_modules/*" -exec test -f "{}/package.json" \; -print + for exclude in "${EXCLUDE_DIRS[@]}"; do + if [[ "$dir" == *"$exclude" ]]; then + return 0 + fi + done + return 1 } -# Discover npm packages in examples and tests -example_directories=$(discover_npm_packages "$EXAMPLES_DIR") -test_directories=$(discover_npm_packages "$TESTS_DIR") +# Discover directories in examples and tests +example_directories=$(discover_directories "$EXAMPLES_DIR") +test_directories=$(discover_directories "$TESTS_DIR") -# Combine all directories into a single list -all_directories=$(echo -e "$example_directories\n$test_directories") +# Combine all directories into a single list and filter out excluded directories +all_directories=$(echo -e "$example_directories\n$test_directories" | while read -r dir; do + if is_excluded "$dir"; then + continue + fi + if [[ -f "$dir/package.json" ]]; then + echo "$dir" + fi +done) # Output the directories echo "$all_directories" From 6657880278c8bc5622f3bd78775adf10ffd8cb42 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Tue, 27 Aug 2024 10:58:58 -0600 Subject: [PATCH 07/54] alphabetize --- scripts/test.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/test.sh b/scripts/test.sh index 082ef20f8e..2127a4d5ea 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -42,5 +42,7 @@ all_directories=$(echo -e "$example_directories\n$test_directories" | while read fi done) -# Output the directories -echo "$all_directories" +# Sort the directories alphabetically and output them +sorted_directories=$(echo "$all_directories" | sort) + +echo "$sorted_directories" From 181eabcd877eacb11dcc991b45369ada1dfde7d4 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Tue, 27 Aug 2024 12:20:29 -0600 Subject: [PATCH 08/54] update to json --- scripts/test.sh | 72 ++++++++++++++++++++++++++++++++++++------------- 1 file changed, 54 insertions(+), 18 deletions(-) diff --git a/scripts/test.sh b/scripts/test.sh index 2127a4d5ea..88be4ee3bd 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -5,16 +5,16 @@ BASE_DIR="." EXAMPLES_DIR="$BASE_DIR/examples" TESTS_DIR="$BASE_DIR/tests" -# Directories to exclude +# Excluded directories EXCLUDE_DIRS=( - "tests/property/candid_rpc/class_api/stable_b_tree_map" - "tests/property/candid_rpc/functional_api/stable_b_tree_map" + "$EXAMPLES_DIR/ckbtc/wallet/frontend" + "$TESTS_DIR/end_to_end/candid_rpc/functional_syntax/ckbtc/wallet/frontend" ) # Function to discover test directories discover_directories() { local dir=$1 - find "$dir" -type d ! -path "*/node_modules/*" + find "$dir" -type d -not -path "*/node_modules/*" -exec test -f "{}/package.json" \; -print } # Function to check if a directory is excluded @@ -28,21 +28,57 @@ is_excluded() { return 1 } -# Discover directories in examples and tests -example_directories=$(discover_directories "$EXAMPLES_DIR") -test_directories=$(discover_directories "$TESTS_DIR") +# Generate JSON object for each directory +generate_json() { + local dir=$1 + local name=$(basename "$dir") + local type="" + local syntax="" + local api="" -# Combine all directories into a single list and filter out excluded directories -all_directories=$(echo -e "$example_directories\n$test_directories" | while read -r dir; do - if is_excluded "$dir"; then - continue - fi - if [[ -f "$dir/package.json" ]]; then - echo "$dir" + if [[ "$dir" == "$EXAMPLES_DIR"* ]]; then + type="ex" + elif [[ "$dir" == "$TESTS_DIR/property"* ]]; then + type="prop" + if [[ "$dir" == *"/candid_rpc/"* ]]; then + syntax="crpc" + if [[ "$dir" == *"/functional_api/"* ]]; then + api="functional" + elif [[ "$dir" == *"/class_api/"* ]]; then + api="class" + fi + elif [[ "$dir" == *"/ic_api/"* ]]; then + syntax="ic_api" + fi + elif [[ "$dir" == "$TESTS_DIR/end_to_end"* ]]; then + type="e2e" + if [[ "$dir" == *"/http_server/"* ]]; then + syntax="http" + elif [[ "$dir" == *"/candid_rpc/"* ]]; then + syntax="crpc" + fi fi -done) -# Sort the directories alphabetically and output them -sorted_directories=$(echo "$all_directories" | sort) + # Construct JSON object + echo "{" + echo " \"path\": \"$dir\"," + echo " \"name\": \"$name\"," + echo " \"type\": \"$type\"," + [[ -n "$syntax" ]] && echo " \"syntax\": \"$syntax\"," + [[ -n "$api" ]] && echo " \"api\": \"$api\"," + echo "}," +} + +# Discover directories in examples and tests, excluding specified directories +all_directories=$(discover_directories "$EXAMPLES_DIR") +all_directories+=$'\n' +all_directories+=$(discover_directories "$TESTS_DIR") -echo "$sorted_directories" +# Sort, filter, and generate JSON objects +echo "[" +echo "$all_directories" | sort | while read -r dir; do + if ! is_excluded "$dir"; then + generate_json "$dir" + fi +done | sed '$ s/,$//' # Remove the last comma +echo "]" From 0a4816138bebe416f84ab12bc8106f10a1478934 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Tue, 27 Aug 2024 12:24:21 -0600 Subject: [PATCH 09/54] limit to only packages that have tests --- scripts/test.sh | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/scripts/test.sh b/scripts/test.sh index 88be4ee3bd..368c6fc4b5 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -7,14 +7,22 @@ TESTS_DIR="$BASE_DIR/tests" # Excluded directories EXCLUDE_DIRS=( - "$EXAMPLES_DIR/ckbtc/wallet/frontend" - "$TESTS_DIR/end_to_end/candid_rpc/functional_syntax/ckbtc/wallet/frontend" + "$EXAMPLES_DIR/filter_example" + "$TESTS_DIR/end_to_end/candid_rpc/functional_syntax/filter_example" ) # Function to discover test directories discover_directories() { local dir=$1 - find "$dir" -type d -not -path "*/node_modules/*" -exec test -f "{}/package.json" \; -print + find "$dir" -type d -not -path "*/node_modules/*" -exec sh -c ' + for pkg in "$@"; do + if [ -f "$pkg/package.json" ]; then + if jq -e ".scripts.test" "$pkg/package.json" > /dev/null; then + echo "$pkg" + fi + fi + done + ' sh {} + } # Function to check if a directory is excluded From 93223941d143b78888ddee98c9fffe282722cfca Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Tue, 27 Aug 2024 12:36:12 -0600 Subject: [PATCH 10/54] test new auto generated tests --- .github/workflows/test.yml | 299 ++++++++----------------------------- scripts/just-paths.sh | 14 ++ scripts/test.sh | 47 ++++-- 3 files changed, 117 insertions(+), 243 deletions(-) create mode 100755 scripts/just-paths.sh diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9eb7fe66cc..aa96bffbec 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,6 +20,63 @@ on: - main pull_request: # Runs on pull requests to any branch jobs: + generate-tests: + runs-on: ubuntu-latest + outputs: + all_tests: ${{ steps.get_all_tests.outputs.all_tests }} + steps: + - uses: actions/checkout@v4 + - id: get_all_tests + name: generateTests + run: | + ALL_TESTS=$(./scripts/test.sh | base64 -d) + echo "all_tests=$ALL_TESTS" >> $GITHUB_OUTPUT + - name: Print the captured output + run: | + echo "${{ steps.get_all_tests.outputs.all_tests }}" | tail + debug-generate-tests: + name: ${{matrix.tests.name}} + needs: generate-tests + runs-on: ubuntu-latests + strategy: + fail-fast: false # We want to see which example tests succeed and which ones fail, we don't want one example test to cancel the rest + matrix: + tests: ${{ fromJSON(needs.generate-tests.outputs.all_tests) || fromJSON('["dummy"]') }} + steps: + - name: Echo test + id: echo-test + run: echo "${{ matrix.tests }}" + - name: Echo test path + id: echo-test-path + run: echo "${{ matrix.tests.path }}" + - name: Echo test name + id: echo-test-name + run: echo "${{ matrix.tests.name }}" + test-path-generate: + runs-on: ubuntu-latest + outputs: + all_tests: ${{ steps.get_all_tests.outputs.all_tests }} + steps: + - uses: actions/checkout@v4 + - id: get_all_tests + name: generateTests + run: | + ALL_TESTS=$(./scripts/test.sh | base64 -d) + echo "::set-output name=all_tests::$ALL_TESTS" + - name: Print the captured output + run: echo "${{ steps.get_all_tests.outputs.all_tests }}" + test-path-debugging: + name: ${{matrix.tests.name}} / ${{matrix.tests.type}} / ${{matrix.tests.syntax}} / ${{matrix.tests.api}} + runs-on: ubuntu-latest + needs: test-path-generate + strategy: + fail-fast: false # We want to see which example tests succeed and which ones fail, we don't want one example test to cancel the rest + matrix: + tests: ${{ fromJSON(needs.test-path-generate.outputs.all_tests) || fromJSON('["dummy"]') }} + steps: + - name: Echo test + id: echo-test + run: echo "${{ matrix.tests.path }}" release-candidate-deploy: runs-on: ubuntu-latest env: @@ -64,240 +121,8 @@ jobs: run: | EXAMPLE_DIRECTORIES=$(cat << END [ - "tests/property/candid_rpc/class_api/stable_b_tree_map", - "tests/property/candid_rpc/functional_api/stable_b_tree_map", - "tests/end_to_end/http_server/ethers_base", - "tests/end_to_end/http_server/http_outcall_fetch", - "tests/end_to_end/http_server/ic_evm_rpc", - "examples/basic_bitcoin", - "examples/bitcoin_psbt", - "examples/ckbtc", "examples/hello_world", - "examples/hello_world_candid_rpc", - "tests/property/candid_rpc/class_api/blob", - "tests/property/candid_rpc/class_api/bool", - "tests/property/candid_rpc/class_api/canister_methods/http_request", - "tests/property/candid_rpc/class_api/canister_methods/http_request_update", - "tests/property/candid_rpc/class_api/canister_methods/init", - "tests/property/candid_rpc/class_api/canister_methods/inspect_message", - "tests/property/candid_rpc/class_api/canister_methods/post_upgrade", - "tests/property/candid_rpc/class_api/canister_methods/pre_upgrade", - "tests/property/candid_rpc/class_api/canister_methods/query", - "tests/property/candid_rpc/class_api/canister_methods/update", - "tests/property/candid_rpc/class_api/float32", - "tests/property/candid_rpc/class_api/float64", - "tests/property/candid_rpc/class_api/func", - "tests/property/candid_rpc/class_api/int", - "tests/property/candid_rpc/class_api/int16", - "tests/property/candid_rpc/class_api/int32", - "tests/property/candid_rpc/class_api/int64", - "tests/property/candid_rpc/class_api/int8", - "tests/property/candid_rpc/class_api/nat", - "tests/property/candid_rpc/class_api/nat16", - "tests/property/candid_rpc/class_api/nat32", - "tests/property/candid_rpc/class_api/nat64", - "tests/property/candid_rpc/class_api/nat8", - "tests/property/candid_rpc/class_api/null", - "tests/property/candid_rpc/class_api/opt", - "tests/property/candid_rpc/class_api/principal", - "tests/property/candid_rpc/class_api/record", - "tests/property/candid_rpc/class_api/recursive", - "tests/property/candid_rpc/class_api/service", - "tests/property/candid_rpc/class_api/text", - "tests/property/candid_rpc/class_api/tuple", - "tests/property/candid_rpc/class_api/variant", - "tests/property/candid_rpc/class_api/vec", - "tests/property/candid_rpc/functional_api/blob", - "tests/property/candid_rpc/functional_api/bool", - "tests/property/candid_rpc/functional_api/canister_methods/http_request", - "tests/property/candid_rpc/functional_api/canister_methods/http_request_update", - "tests/property/candid_rpc/functional_api/canister_methods/init", - "tests/property/candid_rpc/functional_api/canister_methods/inspect_message", - "tests/property/candid_rpc/functional_api/canister_methods/post_upgrade", - "tests/property/candid_rpc/functional_api/canister_methods/pre_upgrade", - "tests/property/candid_rpc/functional_api/canister_methods/query", - "tests/property/candid_rpc/functional_api/canister_methods/update", - "tests/property/candid_rpc/functional_api/float32", - "tests/property/candid_rpc/functional_api/float64", - "tests/property/candid_rpc/functional_api/func", - "tests/property/candid_rpc/functional_api/int", - "tests/property/candid_rpc/functional_api/int16", - "tests/property/candid_rpc/functional_api/int32", - "tests/property/candid_rpc/functional_api/int64", - "tests/property/candid_rpc/functional_api/int8", - "tests/property/candid_rpc/functional_api/nat", - "tests/property/candid_rpc/functional_api/nat16", - "tests/property/candid_rpc/functional_api/nat32", - "tests/property/candid_rpc/functional_api/nat64", - "tests/property/candid_rpc/functional_api/nat8", - "tests/property/candid_rpc/functional_api/null", - "tests/property/candid_rpc/functional_api/opt", - "tests/property/candid_rpc/functional_api/principal", - "tests/property/candid_rpc/functional_api/record", - "tests/property/candid_rpc/functional_api/recursive", - "tests/property/candid_rpc/functional_api/service", - "tests/property/candid_rpc/functional_api/text", - "tests/property/candid_rpc/functional_api/tuple", - "tests/property/candid_rpc/functional_api/variant", - "tests/property/candid_rpc/functional_api/vec", - "tests/end_to_end/candid_rpc/class_syntax/async_await", - "tests/end_to_end/candid_rpc/class_syntax/audio_recorder", - "tests/end_to_end/candid_rpc/class_syntax/bitcoin", - "tests/end_to_end/candid_rpc/class_syntax/blob_array", - "tests/end_to_end/candid_rpc/class_syntax/bytes", - "tests/end_to_end/candid_rpc/class_syntax/call_raw", - "tests/end_to_end/candid_rpc/class_syntax/candid_encoding", - "tests/end_to_end/candid_rpc/class_syntax/candid_keywords", - "tests/end_to_end/candid_rpc/class_syntax/canister", - "tests/end_to_end/candid_rpc/class_syntax/complex_init", - "tests/end_to_end/candid_rpc/class_syntax/complex_types", - "tests/end_to_end/candid_rpc/class_syntax/composite_queries", - "tests/end_to_end/candid_rpc/class_syntax/counter", - "tests/end_to_end/candid_rpc/class_syntax/cross_canister_calls", - "tests/end_to_end/candid_rpc/class_syntax/cycles", - "tests/end_to_end/candid_rpc/class_syntax/date", - "tests/end_to_end/candid_rpc/class_syntax/ethereum_json_rpc", - "tests/end_to_end/candid_rpc/class_syntax/func_types", - "tests/end_to_end/candid_rpc/class_syntax/heartbeat", - "tests/end_to_end/candid_rpc/class_syntax/ic_api", - "tests/end_to_end/candid_rpc/class_syntax/icrc", - "tests/end_to_end/candid_rpc/class_syntax/imports", - "tests/end_to_end/candid_rpc/class_syntax/init", - "tests/end_to_end/candid_rpc/class_syntax/inspect_message", - "tests/end_to_end/candid_rpc/class_syntax/key_value_store", - "tests/end_to_end/candid_rpc/class_syntax/ledger_canister", - "tests/end_to_end/candid_rpc/class_syntax/list_of_lists", - "tests/end_to_end/candid_rpc/class_syntax/management_canister", - "tests/end_to_end/candid_rpc/class_syntax/manual_reply", - "tests/end_to_end/candid_rpc/class_syntax/motoko_examples/calc", - "tests/end_to_end/candid_rpc/class_syntax/motoko_examples/counter", - "tests/end_to_end/candid_rpc/class_syntax/motoko_examples/echo", - "tests/end_to_end/candid_rpc/class_syntax/motoko_examples/factorial", - "tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello", - "tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello-world", - "tests/end_to_end/candid_rpc/class_syntax/motoko_examples/http_counter", - "tests/end_to_end/candid_rpc/class_syntax/motoko_examples/minimal-counter-dapp", - "tests/end_to_end/candid_rpc/class_syntax/motoko_examples/persistent-storage", - "tests/end_to_end/candid_rpc/class_syntax/motoko_examples/phone-book", - "tests/end_to_end/candid_rpc/class_syntax/motoko_examples/quicksort", - "tests/end_to_end/candid_rpc/class_syntax/motoko_examples/simple-to-do", - "tests/end_to_end/candid_rpc/class_syntax/motoko_examples/superheroes", - "tests/end_to_end/candid_rpc/class_syntax/motoko_examples/threshold_ecdsa", - "tests/end_to_end/candid_rpc/class_syntax/motoko_examples/whoami", - "tests/end_to_end/candid_rpc/class_syntax/new_candid_rpc", - "tests/end_to_end/candid_rpc/class_syntax/notify_raw", - "tests/end_to_end/candid_rpc/class_syntax/null_example", - "tests/end_to_end/candid_rpc/class_syntax/optional_types", - "tests/end_to_end/candid_rpc/class_syntax/outgoing_http_requests", - "tests/end_to_end/candid_rpc/class_syntax/pre_and_post_upgrade", - "tests/end_to_end/candid_rpc/class_syntax/primitive_types", - "tests/end_to_end/candid_rpc/class_syntax/principal", - "tests/end_to_end/candid_rpc/class_syntax/query", - "tests/end_to_end/candid_rpc/class_syntax/randomness", - "tests/end_to_end/candid_rpc/class_syntax/recursion", - "tests/end_to_end/candid_rpc/class_syntax/rejections", - "tests/end_to_end/candid_rpc/class_syntax/simple_erc20", - "tests/end_to_end/candid_rpc/class_syntax/simple_user_accounts", - "tests/end_to_end/candid_rpc/class_syntax/stable_b_tree_map_instruction_threshold", - "tests/end_to_end/candid_rpc/class_syntax/stable_structures", - "tests/end_to_end/candid_rpc/class_syntax/timers", - "tests/end_to_end/candid_rpc/class_syntax/tuple_types", - "tests/end_to_end/candid_rpc/class_syntax/update", - "tests/end_to_end/candid_rpc/class_syntax/vanilla_js", - "tests/end_to_end/candid_rpc/functional_syntax/async_await", - "tests/end_to_end/candid_rpc/functional_syntax/audio_recorder", - "tests/end_to_end/candid_rpc/functional_syntax/bitcoin", - "tests/end_to_end/candid_rpc/functional_syntax/blob_array", - "tests/end_to_end/candid_rpc/functional_syntax/bytes", - "tests/end_to_end/candid_rpc/functional_syntax/call_raw", - "tests/end_to_end/candid_rpc/functional_syntax/candid_encoding", - "tests/end_to_end/candid_rpc/functional_syntax/candid_keywords", - "tests/end_to_end/candid_rpc/functional_syntax/canister", - "tests/end_to_end/candid_rpc/functional_syntax/ckbtc", - "tests/end_to_end/candid_rpc/functional_syntax/complex_init", - "tests/end_to_end/candid_rpc/functional_syntax/complex_types", - "tests/end_to_end/candid_rpc/functional_syntax/composite_queries", - "tests/end_to_end/candid_rpc/functional_syntax/counter", - "tests/end_to_end/candid_rpc/functional_syntax/cross_canister_calls", - "tests/end_to_end/candid_rpc/functional_syntax/cycles", - "tests/end_to_end/candid_rpc/functional_syntax/date", - "tests/end_to_end/candid_rpc/functional_syntax/ethereum_json_rpc", - "tests/end_to_end/candid_rpc/functional_syntax/func_types", - "tests/end_to_end/candid_rpc/functional_syntax/heartbeat", - "tests/end_to_end/candid_rpc/functional_syntax/ic_api", - "tests/end_to_end/candid_rpc/functional_syntax/icrc", - "tests/end_to_end/candid_rpc/functional_syntax/imports", - "tests/end_to_end/candid_rpc/functional_syntax/init", - "tests/end_to_end/candid_rpc/functional_syntax/inspect_message", - "tests/end_to_end/candid_rpc/functional_syntax/key_value_store", - "tests/end_to_end/candid_rpc/functional_syntax/ledger_canister", - "tests/end_to_end/candid_rpc/functional_syntax/list_of_lists", - "tests/end_to_end/candid_rpc/functional_syntax/management_canister", - "tests/end_to_end/candid_rpc/functional_syntax/manual_reply", - "tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/calc", - "tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/counter", - "tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/echo", - "tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/factorial", - "tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello", - "tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello-world", - "tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/http_counter", - "tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/minimal-counter-dapp", - "tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/persistent-storage", - "tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/phone-book", - "tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/quicksort", - "tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/simple-to-do", - "tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/superheroes", - "tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/threshold_ecdsa", - "tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/whoami", - "tests/end_to_end/candid_rpc/functional_syntax/notify_raw", - "tests/end_to_end/candid_rpc/functional_syntax/null_example", - "tests/end_to_end/candid_rpc/functional_syntax/optional_types", - "tests/end_to_end/candid_rpc/functional_syntax/outgoing_http_requests", - "tests/end_to_end/candid_rpc/functional_syntax/pre_and_post_upgrade", - "tests/end_to_end/candid_rpc/functional_syntax/primitive_types", - "tests/end_to_end/candid_rpc/functional_syntax/principal", - "tests/end_to_end/candid_rpc/functional_syntax/query", - "tests/end_to_end/candid_rpc/functional_syntax/randomness", - "tests/end_to_end/candid_rpc/functional_syntax/recursion", - "tests/end_to_end/candid_rpc/functional_syntax/rejections", - "tests/end_to_end/candid_rpc/functional_syntax/robust_imports", - "tests/end_to_end/candid_rpc/functional_syntax/simple_erc20", - "tests/end_to_end/candid_rpc/functional_syntax/simple_user_accounts", - "tests/end_to_end/candid_rpc/functional_syntax/stable_b_tree_map_instruction_threshold", - "tests/end_to_end/candid_rpc/functional_syntax/stable_structures", - "tests/end_to_end/candid_rpc/functional_syntax/timers", - "tests/end_to_end/candid_rpc/functional_syntax/tuple_types", - "tests/end_to_end/candid_rpc/functional_syntax/update", - "tests/end_to_end/candid_rpc/functional_syntax/vanilla_js", - "tests/end_to_end/http_server/apollo_server", - "tests/end_to_end/http_server/audio_and_video", - "tests/end_to_end/http_server/autoreload", - "tests/end_to_end/http_server/bitcoinjs_lib", - "tests/end_to_end/http_server/bitcore_lib", - "tests/end_to_end/http_server/ethers", - "tests/end_to_end/http_server/express", - "tests/end_to_end/http_server/fetch_ic", - "tests/end_to_end/http_server/file_protocol", - "tests/end_to_end/http_server/fs", - "tests/end_to_end/http_server/hybrid_canister", - "tests/end_to_end/http_server/internet_identity", - "tests/end_to_end/http_server/large_files", - "tests/end_to_end/http_server/nest", - "tests/end_to_end/http_server/new", - "tests/end_to_end/http_server/open_value_sharing", - "tests/end_to_end/http_server/sqlite", - "tests/end_to_end/http_server/sqlite_drizzle", - "tests/end_to_end/http_server/sqlite_typeorm", - "tests/end_to_end/http_server/tfjs", - "tests/end_to_end/http_server/web_assembly", - "tests/property/ic_api/caller", - "tests/property/ic_api/chunk", - "tests/property/ic_api/id", - "tests/property/ic_api/instruction_counter", - "tests/property/ic_api/is_controller", - "tests/property/ic_api/performance_counter", - "tests/property/ic_api/time", - "tests/property/ic_api/trap" + "examples/hello_world2" ] END ) @@ -305,6 +130,12 @@ jobs: EXAMPLE_DIRECTORIES="${EXAMPLE_DIRECTORIES//$'\n'/'%0A'}" EXAMPLE_DIRECTORIES="${EXAMPLE_DIRECTORIES//$'\r'/'%0D'}" echo "::set-output name=example_directories::$EXAMPLE_DIRECTORIES" + echo "Here it is the same" + echo $EXAMPLE_DIRECTORIES + echo "Here is the example dirs differently too" + echo "${{ steps.example_directories.outputs.example_directories }}" + - name: Print the captured output + run: echo "${{ steps.example_directories.outputs.example_directories }}" - id: should_run_tests run: | BRANCH_NAME="${{ github.head_ref }}" @@ -317,7 +148,7 @@ jobs: echo "::set-output name=should_run_tests::true" fi basic-integration-tests: - name: $(basename ${{matrix.example_directories}}) | ${{matrix.azle_source}} | ${{matrix.example_directories}} + name: ${{matrix.example_directories}} from ${{matrix.azle_source}} needs: release-candidate-deploy runs-on: ${{ matrix.os }} env: diff --git a/scripts/just-paths.sh b/scripts/just-paths.sh new file mode 100755 index 0000000000..32026a932a --- /dev/null +++ b/scripts/just-paths.sh @@ -0,0 +1,14 @@ +#!/bin/bash +EXAMPLE_DIRECTORIES=$(cat << END +[ + {path: "HERE/hello_world", name: "basic_bitcoin", type: "ex"}, + {path: "HERE/hello_world2", name: "large_files", type: "e2e", "syntax": "http"}, + {path: "HERE/hello_world3", name: "bool", type: "prop", "syntax": "crpc", "api": "class"} +] +END +) +EXAMPLE_DIRECTORIES="${EXAMPLE_DIRECTORIES//'%'/'%25'}" +EXAMPLE_DIRECTORIES="${EXAMPLE_DIRECTORIES//$'\n'/'%0A'}" +EXAMPLE_DIRECTORIES="${EXAMPLE_DIRECTORIES//$'\r'/'%0D'}" + +echo "$EXAMPLE_DIRECTORIES" | base64 diff --git a/scripts/test.sh b/scripts/test.sh index 368c6fc4b5..03a31c3013 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -71,10 +71,16 @@ generate_json() { echo "{" echo " \"path\": \"$dir\"," echo " \"name\": \"$name\"," - echo " \"type\": \"$type\"," - [[ -n "$syntax" ]] && echo " \"syntax\": \"$syntax\"," - [[ -n "$api" ]] && echo " \"api\": \"$api\"," - echo "}," + echo " \"type\": \"$type\"" + [[ -n "$syntax" ]] && echo " ,\"syntax\": \"$syntax\"" + [[ -n "$api" ]] && echo " ,\"api\": \"$api\"" + echo "}" +} + +generate_json_new() { + local dir=$1 + local name=$(basename "$dir") + echo "{path: \"$dir\", name: \"$name\""} } # Discover directories in examples and tests, excluding specified directories @@ -82,11 +88,34 @@ all_directories=$(discover_directories "$EXAMPLES_DIR") all_directories+=$'\n' all_directories+=$(discover_directories "$TESTS_DIR") +# EXAMPLE_DIRECTORIES=$(cat << END +# "HERE/hello_world", +# "HERE/hello_world2", +# "HERE/hello_world3" +# END +# ) + +# Initialize an empty variable to store the JSON result +json_result="[" + # Sort, filter, and generate JSON objects -echo "[" -echo "$all_directories" | sort | while read -r dir; do +while read -r dir; do if ! is_excluded "$dir"; then - generate_json "$dir" + json_result+=$(generate_json "$dir") + json_result+="," fi -done | sed '$ s/,$//' # Remove the last comma -echo "]" +done <<< "$(echo "$all_directories" | sort)" # Feed sorted directories into the loop + +# Remove the last comma and close the JSON array +json_result=$(echo "$json_result" | sed '$ s/,$//') +# json_result=$(echo "$json_result" | sed ':a;N;$!ba;s/\n//g') # Remove new lines +json_result+="]" + +# Store the result in a variable (you can use it as needed) +result="$json_result" +result="${result//'%'/'%25'}" +result="${result//$'\n'/'%0A'}" +result="${result//$'\r'/'%0D'}" + +# Print the result if needed +echo "$result" | base64 From 7e2adee2ffcb4eedda6fb8f9602799f1d2b203e9 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Tue, 27 Aug 2024 21:36:27 -0600 Subject: [PATCH 11/54] hook into real tests --- .github/workflows/test.yml | 73 ++++++++------------------------------ 1 file changed, 15 insertions(+), 58 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index aa96bffbec..05d523c9e4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,51 +28,15 @@ jobs: - uses: actions/checkout@v4 - id: get_all_tests name: generateTests - run: | - ALL_TESTS=$(./scripts/test.sh | base64 -d) - echo "all_tests=$ALL_TESTS" >> $GITHUB_OUTPUT - - name: Print the captured output - run: | - echo "${{ steps.get_all_tests.outputs.all_tests }}" | tail - debug-generate-tests: - name: ${{matrix.tests.name}} - needs: generate-tests - runs-on: ubuntu-latests - strategy: - fail-fast: false # We want to see which example tests succeed and which ones fail, we don't want one example test to cancel the rest - matrix: - tests: ${{ fromJSON(needs.generate-tests.outputs.all_tests) || fromJSON('["dummy"]') }} - steps: - - name: Echo test - id: echo-test - run: echo "${{ matrix.tests }}" - - name: Echo test path - id: echo-test-path - run: echo "${{ matrix.tests.path }}" - - name: Echo test name - id: echo-test-name - run: echo "${{ matrix.tests.name }}" - test-path-generate: - runs-on: ubuntu-latest - outputs: - all_tests: ${{ steps.get_all_tests.outputs.all_tests }} - steps: - - uses: actions/checkout@v4 - - id: get_all_tests - name: generateTests - run: | - ALL_TESTS=$(./scripts/test.sh | base64 -d) - echo "::set-output name=all_tests::$ALL_TESTS" - - name: Print the captured output - run: echo "${{ steps.get_all_tests.outputs.all_tests }}" + run: echo "::set-output name=all_tests::$(./scripts/test.sh | base64 -d)" test-path-debugging: name: ${{matrix.tests.name}} / ${{matrix.tests.type}} / ${{matrix.tests.syntax}} / ${{matrix.tests.api}} runs-on: ubuntu-latest - needs: test-path-generate + needs: generate-tests strategy: fail-fast: false # We want to see which example tests succeed and which ones fail, we don't want one example test to cancel the rest matrix: - tests: ${{ fromJSON(needs.test-path-generate.outputs.all_tests) || fromJSON('["dummy"]') }} + tests: ${{ fromJSON(needs.generate-tests.outputs.all_tests) || fromJSON('["dummy"]') }} steps: - name: Echo test id: echo-test @@ -148,8 +112,10 @@ jobs: echo "::set-output name=should_run_tests::true" fi basic-integration-tests: - name: ${{matrix.example_directories}} from ${{matrix.azle_source}} - needs: release-candidate-deploy + name: ${{matrix.tests.name}} / ${{matrix.tests.type}} / ${{matrix.tests.syntax}} / ${{matrix.tests.api}} / ${{matrix.azle_source}} + needs: + - release-candidate-deploy + - generate-tests runs-on: ${{ matrix.os }} env: ETHEREUM_URL: ${{ secrets.ETHEREUM_URL }} @@ -173,17 +139,8 @@ jobs: - include_npm: true azle_source: repo # If should_run_tests is false, we still want the steps of this job to execute so that check-basic-integration-tests-success will run. We do this by creating an array with one dummy element - example_directories: ${{ needs.release-candidate-deploy.outputs.should_run_tests == 'true' && fromJSON(needs.release-candidate-deploy.outputs.example_directories) || fromJSON('["dummy"]') }} + tests: ${{ needs.release-candidate-deploy.outputs.should_run_tests == 'true' && fromJSON(needs.generate-tests.outputs.all_tests) || fromJSON('["dummy"]') }} steps: - - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} - name: Echo test name - id: echo-test-name - run: echo "${{ matrix.example_directories }}" - - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} - name: Set test name - id: set-test-name - run: | - echo "TEST_NAME=$(basename ${{ matrix.example_directories }})" >> $GITHUB_ENV - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} uses: actions/checkout@v4 - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} @@ -211,29 +168,29 @@ jobs: run: npm run lint - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} shell: bash -l {0} - working-directory: ${{ matrix.example_directories }} + working-directory: ${{ matrix.tests.path }} run: npm install - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests && matrix.azle_source == 'repo' }} shell: bash -l {0} - working-directory: ${{ matrix.example_directories }} + working-directory: ${{ matrix.tests.path }} run: npm link azle - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} - working-directory: ${{ matrix.example_directories }} + working-directory: ${{ matrix.tests.path }} run: npx azle install-dfx-extension - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} - working-directory: ${{ matrix.example_directories }} + working-directory: ${{ matrix.tests.path }} run: dfx start --clean --background --host 127.0.0.1:8000 - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests && !contains(github.head_ref, 'release--') && !(github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'Merge pull request') && contains(github.event.head_commit.message, 'demergent-labs/release--')) }} shell: bash -l {0} - working-directory: ${{ matrix.example_directories }} + working-directory: ${{ matrix.tests.path }} run: AZLE_PROPTEST_NUM_RUNS=5 AZLE_PROPTEST_VERBOSE=true npm test - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests && contains(github.head_ref, 'release--') && !(github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'Merge pull request') && contains(github.event.head_commit.message, 'demergent-labs/release--')) }} shell: bash -l {0} - working-directory: ${{ matrix.example_directories }} + working-directory: ${{ matrix.tests.path }} run: AZLE_PROPTEST_NUM_RUNS=10 AZLE_PROPTEST_VERBOSE=true npm test - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests && (github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'Merge pull request') && contains(github.event.head_commit.message, 'demergent-labs/release--')) }} shell: bash -l {0} - working-directory: ${{ matrix.example_directories }} + working-directory: ${{ matrix.tests.path }} run: AZLE_PROPTEST_NUM_RUNS=100 AZLE_PROPTEST_VERBOSE=true npm test check-basic-integration-tests-success: From f78eccbe1df664e398d52fd50c17b2554af341af Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Tue, 27 Aug 2024 22:10:34 -0600 Subject: [PATCH 12/54] update publish-github-actions --- .github/workflows/test.yml | 39 +++----------------------------------- publish-github-action.sh | 2 +- 2 files changed, 4 insertions(+), 37 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 05d523c9e4..9c8bf3bc5b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,19 +29,9 @@ jobs: - id: get_all_tests name: generateTests run: echo "::set-output name=all_tests::$(./scripts/test.sh | base64 -d)" - test-path-debugging: - name: ${{matrix.tests.name}} / ${{matrix.tests.type}} / ${{matrix.tests.syntax}} / ${{matrix.tests.api}} - runs-on: ubuntu-latest - needs: generate-tests - strategy: - fail-fast: false # We want to see which example tests succeed and which ones fail, we don't want one example test to cancel the rest - matrix: - tests: ${{ fromJSON(needs.generate-tests.outputs.all_tests) || fromJSON('["dummy"]') }} - steps: - - name: Echo test - id: echo-test - run: echo "${{ matrix.tests.path }}" release-candidate-deploy: + name: Deploy Release candidate for release branches + needs: generate-tests runs-on: ubuntu-latest env: GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} # All commits must be verified @@ -49,7 +39,6 @@ jobs: outputs: # These outputs are used to pass information along to the next job should_run_tests: ${{ steps.should_run_tests.outputs.should_run_tests }} # We only want the next job to run the tests once we have finished deploying to npm and GitHub - example_directories: ${{ steps.example_directories.outputs.example_directories }} steps: - uses: actions/checkout@v4 # if: contains(github.head_ref, 'release--') @@ -78,28 +67,6 @@ jobs: run: echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import - if: contains(github.head_ref, 'release--') run: git config --global user.signingkey C8B77BCBE16CD2B94B43F9C8757397B82D4ED7B0 - - id: example_directories - # TODO to improve this further we might be able to create an environment variable that grabs the example directories with a glob - # TODO we want to be able to easily include and exclude examples though - # TODO we have a number of flaky tests and we have moved them to the top of the list here so we can keep a better eye on them until we have resolved their flakyness - run: | - EXAMPLE_DIRECTORIES=$(cat << END - [ - "examples/hello_world", - "examples/hello_world2" - ] - END - ) - EXAMPLE_DIRECTORIES="${EXAMPLE_DIRECTORIES//'%'/'%25'}" - EXAMPLE_DIRECTORIES="${EXAMPLE_DIRECTORIES//$'\n'/'%0A'}" - EXAMPLE_DIRECTORIES="${EXAMPLE_DIRECTORIES//$'\r'/'%0D'}" - echo "::set-output name=example_directories::$EXAMPLE_DIRECTORIES" - echo "Here it is the same" - echo $EXAMPLE_DIRECTORIES - echo "Here is the example dirs differently too" - echo "${{ steps.example_directories.outputs.example_directories }}" - - name: Print the captured output - run: echo "${{ steps.example_directories.outputs.example_directories }}" - id: should_run_tests run: | BRANCH_NAME="${{ github.head_ref }}" @@ -107,7 +74,7 @@ jobs: COMMIT_MESSAGE=$(git log -1 --pretty=format:"%s") if [[ "${{ contains(github.head_ref, 'release--') }}" == "true" && "$COMMIT_MESSAGE" != "azle-bot automated release $RELEASE_VERSION" ]] then - ./publish-github-action.sh $RELEASE_VERSION ${{ toJSON(steps.example_directories.outputs.example_directories) }} + ./publish-github-action.sh $RELEASE_VERSION ${{ toJSON(needs.generate-tests.outputs.all_tests) }} else echo "::set-output name=should_run_tests::true" fi diff --git a/publish-github-action.sh b/publish-github-action.sh index 7972b53127..b3e7269066 100755 --- a/publish-github-action.sh +++ b/publish-github-action.sh @@ -8,7 +8,7 @@ VERSION=$1 directories_json_string_with_linebreaks=$2 directories_json_string="${directories_json_string_with_linebreaks//$'\\n'/''}" -directories=$(echo "$directories_json_string" | jq -c -r '.[]') +directories=$(echo "$directories_json_string" | jq -c -r '.[] | .path') sed -E -i "s/(\"version\": \")(.*)(\")/\1$VERSION\3/" package.json sed -E -i "s/(\"version\": \")(.*)(\")/\1$VERSION\3/" dfx_extension/extension.json From 174bb65095d2cdf76b7bb26c6cf21a7376113bcc Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Tue, 27 Aug 2024 22:20:44 -0600 Subject: [PATCH 13/54] move should run tests to it's own job --- .github/workflows/test.yml | 75 +++++++++++++++++++++----------------- 1 file changed, 41 insertions(+), 34 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9c8bf3bc5b..08515997de 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,22 +29,38 @@ jobs: - id: get_all_tests name: generateTests run: echo "::set-output name=all_tests::$(./scripts/test.sh | base64 -d)" + determine-should-run-tests: + name: Determine Should Run Tests + runs-on: ubuntu-latest + outputs: + should_run_tests: ${{ steps.determine_should_run_tests.outputs.should_run_tests }} + steps: + - uses: actions/checkout@v4 + - id: determine_should_run_tests + run: | + BRANCH_NAME="${{ github.head_ref }}" + RELEASE_VERSION="${BRANCH_NAME:9}" + COMMIT_MESSAGE=$(git log -1 --pretty=format:"%s") + if [[ "${{ contains(github.head_ref, 'release--') }}" == "true" && "$COMMIT_MESSAGE" != "azle-bot automated release $RELEASE_VERSION" ]] + then + echo "::set-output name=should_run_tests::false" + else + echo "::set-output name=should_run_tests::true" + fi release-candidate-deploy: name: Deploy Release candidate for release branches - needs: generate-tests + needs: + - generate-tests + - determine-should-run-tests runs-on: ubuntu-latest env: GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} # All commits must be verified GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - outputs: - # These outputs are used to pass information along to the next job - should_run_tests: ${{ steps.should_run_tests.outputs.should_run_tests }} # We only want the next job to run the tests once we have finished deploying to npm and GitHub steps: - uses: actions/checkout@v4 - # if: contains(github.head_ref, 'release--') with: - ref: ${{ contains(github.head_ref, 'release--') && github.event.pull_request.head.ref || github.ref }} # This is necessary for this job to be able to commit and push to the origin remote properly - token: ${{ secrets.LASTMJS_GITHUB_TOKEN || github.token }} # A personal GitHub token is setup as a secret so that committing and pushing to GitHub from the Action will trigger another workflow + ref: ${{ contains(github.head_ref, 'release--') && github.event.pull_request.head.ref || github.ref }} + token: ${{ secrets.LASTMJS_GITHUB_TOKEN || github.token }} - uses: actions/setup-node@v4 with: node-version: 20 @@ -67,21 +83,12 @@ jobs: run: echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import - if: contains(github.head_ref, 'release--') run: git config --global user.signingkey C8B77BCBE16CD2B94B43F9C8757397B82D4ED7B0 - - id: should_run_tests - run: | - BRANCH_NAME="${{ github.head_ref }}" - RELEASE_VERSION="${BRANCH_NAME:9}" - COMMIT_MESSAGE=$(git log -1 --pretty=format:"%s") - if [[ "${{ contains(github.head_ref, 'release--') }}" == "true" && "$COMMIT_MESSAGE" != "azle-bot automated release $RELEASE_VERSION" ]] - then - ./publish-github-action.sh $RELEASE_VERSION ${{ toJSON(needs.generate-tests.outputs.all_tests) }} - else - echo "::set-output name=should_run_tests::true" - fi + - if: ${{ !needs.determine-should-run-tests.outputs.should_run_tests }} + run: ./publish-github-action.sh $RELEASE_VERSION ${{ toJSON(needs.generate-tests.outputs.all_tests) }} basic-integration-tests: name: ${{matrix.tests.name}} / ${{matrix.tests.type}} / ${{matrix.tests.syntax}} / ${{matrix.tests.api}} / ${{matrix.azle_source}} needs: - - release-candidate-deploy + - determine-should-run-tests - generate-tests runs-on: ${{ matrix.os }} env: @@ -106,56 +113,56 @@ jobs: - include_npm: true azle_source: repo # If should_run_tests is false, we still want the steps of this job to execute so that check-basic-integration-tests-success will run. We do this by creating an array with one dummy element - tests: ${{ needs.release-candidate-deploy.outputs.should_run_tests == 'true' && fromJSON(needs.generate-tests.outputs.all_tests) || fromJSON('["dummy"]') }} + tests: ${{ needs.determine-should-run-tests.outputs.should_run_tests == 'true' && fromJSON(needs.generate-tests.outputs.all_tests) || fromJSON('["dummy"]') }} steps: - - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} + - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} uses: actions/checkout@v4 - - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} + - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} uses: actions/setup-node@v4 with: node-version: 20 - - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} + - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} name: Install dfx run: | DFXVM_INIT_YES=true DFX_VERSION=0.21.0 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" echo "$HOME/.local/share/dfx/bin" >> $GITHUB_PATH - - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests && matrix.os == 'macos-latest' }} + - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests && matrix.os == 'macos-latest' }} shell: bash -l {0} # The DNS server stuff is because of this: https://github.com/actions/runner-images/issues/6383 run: | sudo networksetup -setdnsservers Ethernet 9.9.9.9 - - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} + - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} shell: bash -l {0} # TODO figure out why this is here and comment about it run: npm install - - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests && matrix.azle_source == 'repo' }} + - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests && matrix.azle_source == 'repo' }} shell: bash -l {0} run: npm link - - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} + - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} shell: bash -l {0} run: npm run lint - - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} + - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} shell: bash -l {0} working-directory: ${{ matrix.tests.path }} run: npm install - - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests && matrix.azle_source == 'repo' }} + - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests && matrix.azle_source == 'repo' }} shell: bash -l {0} working-directory: ${{ matrix.tests.path }} run: npm link azle - - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} + - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} working-directory: ${{ matrix.tests.path }} run: npx azle install-dfx-extension - - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} + - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} working-directory: ${{ matrix.tests.path }} run: dfx start --clean --background --host 127.0.0.1:8000 - - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests && !contains(github.head_ref, 'release--') && !(github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'Merge pull request') && contains(github.event.head_commit.message, 'demergent-labs/release--')) }} + - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests && !contains(github.head_ref, 'release--') && !(github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'Merge pull request') && contains(github.event.head_commit.message, 'demergent-labs/release--')) }} shell: bash -l {0} working-directory: ${{ matrix.tests.path }} run: AZLE_PROPTEST_NUM_RUNS=5 AZLE_PROPTEST_VERBOSE=true npm test - - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests && contains(github.head_ref, 'release--') && !(github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'Merge pull request') && contains(github.event.head_commit.message, 'demergent-labs/release--')) }} + - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests && contains(github.head_ref, 'release--') && !(github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'Merge pull request') && contains(github.event.head_commit.message, 'demergent-labs/release--')) }} shell: bash -l {0} working-directory: ${{ matrix.tests.path }} run: AZLE_PROPTEST_NUM_RUNS=10 AZLE_PROPTEST_VERBOSE=true npm test - - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests && (github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'Merge pull request') && contains(github.event.head_commit.message, 'demergent-labs/release--')) }} + - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests && (github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'Merge pull request') && contains(github.event.head_commit.message, 'demergent-labs/release--')) }} shell: bash -l {0} working-directory: ${{ matrix.tests.path }} run: AZLE_PROPTEST_NUM_RUNS=100 AZLE_PROPTEST_VERBOSE=true npm test From 27dce5050edc4431de154acbe5caf09ad4632895 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Tue, 27 Aug 2024 22:29:32 -0600 Subject: [PATCH 14/54] clean up --- .github/workflows/test.yml | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 08515997de..4947a84f9d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,8 +10,8 @@ # Feature branch pull requests (pull requests without release-- in the base branch name) will run all tests against the code found in the repository. # Release branch pull requests (pull requests with release-- in the base branch name) will run all tests against the code found in the repository and the code deployed by the GitHub Action to npm. # Pushes to main will run all tests against the code in the repository if the latest commit was not a merge of a release branch, and will run tests against the code in the repository and the code deployed by the GitHub Action to npm otherwise. -# The basic-integration-tests matrix spins up one job per combination of example directory and code source (repo or npm). -# The check-basic-integration-tests-success job is designed to ensure that all jobs spun up from the matrix in the basic-integration-tests have succeeded +# The azle-tests matrix spins up one job per combination of example directory and code source (repo or npm). +# The check-azle-tests-success job is designed to ensure that all jobs spun up from the matrix in the azle-tests have succeeded name: Azle Tests on: @@ -21,6 +21,7 @@ on: pull_request: # Runs on pull requests to any branch jobs: generate-tests: + name: Generate Tests runs-on: ubuntu-latest outputs: all_tests: ${{ steps.get_all_tests.outputs.all_tests }} @@ -74,18 +75,15 @@ jobs: echo "$HOME/.local/share/dfx/bin" >> $GITHUB_PATH # TODO we should use some Action-specific bot account - if: contains(github.head_ref, 'release--') - run: git config --global user.name 'Jordan Last' - - if: contains(github.head_ref, 'release--') - run: git config --global user.email 'jordan.michael.last@gmail.com' - - if: contains(github.head_ref, 'release--') - run: git config --global commit.gpgsign true - - if: contains(github.head_ref, 'release--') - run: echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import - - if: contains(github.head_ref, 'release--') - run: git config --global user.signingkey C8B77BCBE16CD2B94B43F9C8757397B82D4ED7B0 + run: | + git config --global user.name 'Jordan Last' + git config --global user.email 'jordan.michael.last@gmail.com' + git config --global commit.gpgsign true + echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import + git config --global user.signingkey C8B77BCBE16CD2B94B43F9C8757397B82D4ED7B0 - if: ${{ !needs.determine-should-run-tests.outputs.should_run_tests }} run: ./publish-github-action.sh $RELEASE_VERSION ${{ toJSON(needs.generate-tests.outputs.all_tests) }} - basic-integration-tests: + azle-tests: name: ${{matrix.tests.name}} / ${{matrix.tests.type}} / ${{matrix.tests.syntax}} / ${{matrix.tests.api}} / ${{matrix.azle_source}} needs: - determine-should-run-tests @@ -112,7 +110,7 @@ jobs: azle_source: npm - include_npm: true azle_source: repo - # If should_run_tests is false, we still want the steps of this job to execute so that check-basic-integration-tests-success will run. We do this by creating an array with one dummy element + # If should_run_tests is false, we still want the steps of this job to execute so that check-azle-tests-success will run. We do this by creating an array with one dummy element tests: ${{ needs.determine-should-run-tests.outputs.should_run_tests == 'true' && fromJSON(needs.generate-tests.outputs.all_tests) || fromJSON('["dummy"]') }} steps: - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} @@ -167,15 +165,15 @@ jobs: working-directory: ${{ matrix.tests.path }} run: AZLE_PROPTEST_NUM_RUNS=100 AZLE_PROPTEST_VERBOSE=true npm test - check-basic-integration-tests-success: - needs: basic-integration-tests + check-azle-tests-success: + needs: azle-tests runs-on: ubuntu-latest if: success() steps: - run: exit 0 - check-basic-integration-tests-failure: - needs: basic-integration-tests + check-azle-tests-failure: + needs: azle-tests runs-on: ubuntu-latest if: failure() steps: From 21748dac03198ef0763cc349da137748a27083a2 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Wed, 28 Aug 2024 09:58:43 -0600 Subject: [PATCH 15/54] make num runs a variable --- .github/workflows/test.yml | 49 ++++++++++++++++++++++---------------- 1 file changed, 29 insertions(+), 20 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4947a84f9d..508aaec3cd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,10 +10,13 @@ # Feature branch pull requests (pull requests without release-- in the base branch name) will run all tests against the code found in the repository. # Release branch pull requests (pull requests with release-- in the base branch name) will run all tests against the code found in the repository and the code deployed by the GitHub Action to npm. # Pushes to main will run all tests against the code in the repository if the latest commit was not a merge of a release branch, and will run tests against the code in the repository and the code deployed by the GitHub Action to npm otherwise. -# The azle-tests matrix spins up one job per combination of example directory and code source (repo or npm). -# The check-azle-tests-success job is designed to ensure that all jobs spun up from the matrix in the azle-tests have succeeded +# The run-test matrix spins up one job per combination of example directory and code source (repo or npm). +# The check-run-test-success job is designed to ensure that all jobs spun up from the matrix in the run-test have succeeded -name: Azle Tests +## TODO make variable for isRelease +## TODO make sure comments are throughout and not all at the top + +name: Tests on: push: branches: @@ -83,7 +86,7 @@ jobs: git config --global user.signingkey C8B77BCBE16CD2B94B43F9C8757397B82D4ED7B0 - if: ${{ !needs.determine-should-run-tests.outputs.should_run_tests }} run: ./publish-github-action.sh $RELEASE_VERSION ${{ toJSON(needs.generate-tests.outputs.all_tests) }} - azle-tests: + run-test: name: ${{matrix.tests.name}} / ${{matrix.tests.type}} / ${{matrix.tests.syntax}} / ${{matrix.tests.api}} / ${{matrix.azle_source}} needs: - determine-should-run-tests @@ -110,7 +113,7 @@ jobs: azle_source: npm - include_npm: true azle_source: repo - # If should_run_tests is false, we still want the steps of this job to execute so that check-azle-tests-success will run. We do this by creating an array with one dummy element + # If should_run_tests is false, we still want the steps of this job to execute so that check-run-test-success will run. We do this by creating an array with one dummy element tests: ${{ needs.determine-should-run-tests.outputs.should_run_tests == 'true' && fromJSON(needs.generate-tests.outputs.all_tests) || fromJSON('["dummy"]') }} steps: - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} @@ -130,7 +133,7 @@ jobs: run: | sudo networksetup -setdnsservers Ethernet 9.9.9.9 - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} - shell: bash -l {0} # TODO figure out why this is here and comment about it + shell: bash -l {0} # This ensures that the script runs in a login shell, making it easier to work with environment variables run: npm install - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests && matrix.azle_source == 'repo' }} shell: bash -l {0} @@ -152,28 +155,34 @@ jobs: - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} working-directory: ${{ matrix.tests.path }} run: dfx start --clean --background --host 127.0.0.1:8000 - - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests && !contains(github.head_ref, 'release--') && !(github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'Merge pull request') && contains(github.event.head_commit.message, 'demergent-labs/release--')) }} - shell: bash -l {0} - working-directory: ${{ matrix.tests.path }} - run: AZLE_PROPTEST_NUM_RUNS=5 AZLE_PROPTEST_VERBOSE=true npm test - - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests && contains(github.head_ref, 'release--') && !(github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'Merge pull request') && contains(github.event.head_commit.message, 'demergent-labs/release--')) }} - shell: bash -l {0} - working-directory: ${{ matrix.tests.path }} - run: AZLE_PROPTEST_NUM_RUNS=10 AZLE_PROPTEST_VERBOSE=true npm test - - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests && (github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'Merge pull request') && contains(github.event.head_commit.message, 'demergent-labs/release--')) }} + - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} + name: Run Test + run: | + if [[ !contains('${{ github.head_ref }}', 'release--') && !('${{ github.ref }}' == 'refs/heads/main' && contains('${{ github.event.head_commit.message }}', 'Merge pull request') && contains('${{ github.event.head_commit.message }}', 'demergent-labs/release--')) ]]; then + export RUNS=5 + elif [[ contains('${{ github.head_ref }}', 'release--') && !('${{ github.ref }}' == 'refs/heads/main' && contains('${{ github.event.head_commit.message }}', 'Merge pull request') && contains('${{ github.event.head_commit.message }}', 'demergent-labs/release--')) ]]; then + export RUNS=10 + elif [[ '${{ github.ref }}' == 'refs/heads/main' && contains('${{ github.event.head_commit.message }}', 'Merge pull request') && contains('${{ github.event.head_commit.message }}', 'demergent-labs/release--') ]]; then + export RUNS=100 + else + export RUNS=5 + fi + + AZLE_PROPTEST_NUM_RUNS=$RUNS AZLE_PROPTEST_VERBOSE=true npm test shell: bash -l {0} working-directory: ${{ matrix.tests.path }} - run: AZLE_PROPTEST_NUM_RUNS=100 AZLE_PROPTEST_VERBOSE=true npm test - check-azle-tests-success: - needs: azle-tests + check-basic-integration-test-success: + name: Check Azle Tests Succeeded + needs: run-test runs-on: ubuntu-latest if: success() steps: - run: exit 0 - check-azle-tests-failure: - needs: azle-tests + check-basic-integration-test-failure: + name: Check Azle Tests Didn't Fail + needs: run-test runs-on: ubuntu-latest if: failure() steps: From fd4b9c01a62da97dd8cf68e09a5bd2566f33de93 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Wed, 28 Aug 2024 10:13:10 -0600 Subject: [PATCH 16/54] join similar command into one job --- .github/workflows/test.yml | 78 ++++++++++++++++++++++++-------------- 1 file changed, 49 insertions(+), 29 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 508aaec3cd..60c37dda56 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -78,6 +78,7 @@ jobs: echo "$HOME/.local/share/dfx/bin" >> $GITHUB_PATH # TODO we should use some Action-specific bot account - if: contains(github.head_ref, 'release--') + name: Configure git for Publishing Release run: | git config --global user.name 'Jordan Last' git config --global user.email 'jordan.michael.last@gmail.com' @@ -85,6 +86,7 @@ jobs: echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import git config --global user.signingkey C8B77BCBE16CD2B94B43F9C8757397B82D4ED7B0 - if: ${{ !needs.determine-should-run-tests.outputs.should_run_tests }} + name: Publish Release run: ./publish-github-action.sh $RELEASE_VERSION ${{ toJSON(needs.generate-tests.outputs.all_tests) }} run-test: name: ${{matrix.tests.name}} / ${{matrix.tests.type}} / ${{matrix.tests.syntax}} / ${{matrix.tests.api}} / ${{matrix.azle_source}} @@ -123,49 +125,67 @@ jobs: with: node-version: 20 - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} - name: Install dfx + name: Run Pre-Test Azle Setup run: | + + # Install dfx DFXVM_INIT_YES=true DFX_VERSION=0.21.0 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" echo "$HOME/.local/share/dfx/bin" >> $GITHUB_PATH - - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests && matrix.os == 'macos-latest' }} + + # MacOS-specific DNS configuration + if [[ "${{ matrix.os }}" == "macos-latest" ]]; then + sudo networksetup -setdnsservers Ethernet 9.9.9.9 + fi + + # Install dependencies + npm install + + # Link azle if the source is repo + if [[ "${{ matrix.azle_source }}" == "repo" ]]; then + npm link + fi + + # Run linting + npm run lint + shell: bash -l {0} - # The DNS server stuff is because of this: https://github.com/actions/runner-images/issues/6383 + - if: ${{needs.determine-should-run-tests.outputs.should_run_tests}} + name: Run Pre-Test Test Setup run: | - sudo networksetup -setdnsservers Ethernet 9.9.9.9 - - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} - shell: bash -l {0} # This ensures that the script runs in a login shell, making it easier to work with environment variables - run: npm install - - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests && matrix.azle_source == 'repo' }} - shell: bash -l {0} - run: npm link - - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} - shell: bash -l {0} - run: npm run lint - - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} - shell: bash -l {0} + + npm install + + # Link azle in the test directory if the source is repo + if [[ "${{ matrix.azle_source }}" == "repo" ]]; then + npm link azle + fi + + # Install the azle dfx extension + npx azle install-dfx-extension working-directory: ${{ matrix.tests.path }} - run: npm install - - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests && matrix.azle_source == 'repo' }} shell: bash -l {0} - working-directory: ${{ matrix.tests.path }} - run: npm link azle - - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} - working-directory: ${{ matrix.tests.path }} - run: npx azle install-dfx-extension - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} + name: Start dfx working-directory: ${{ matrix.tests.path }} run: dfx start --clean --background --host 127.0.0.1:8000 - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} name: Run Test run: | - if [[ !contains('${{ github.head_ref }}', 'release--') && !('${{ github.ref }}' == 'refs/heads/main' && contains('${{ github.event.head_commit.message }}', 'Merge pull request') && contains('${{ github.event.head_commit.message }}', 'demergent-labs/release--')) ]]; then - export RUNS=5 - elif [[ contains('${{ github.head_ref }}', 'release--') && !('${{ github.ref }}' == 'refs/heads/main' && contains('${{ github.event.head_commit.message }}', 'Merge pull request') && contains('${{ github.event.head_commit.message }}', 'demergent-labs/release--')) ]]; then - export RUNS=10 - elif [[ '${{ github.ref }}' == 'refs/heads/main' && contains('${{ github.event.head_commit.message }}', 'Merge pull request') && contains('${{ github.event.head_commit.message }}', 'demergent-labs/release--') ]]; then - export RUNS=100 + BRANCH_NAME="${{ github.head_ref }}" + MAIN_BRANCH='refs/heads/main' + COMMIT_MESSAGE="${{ github.event.head_commit.message }}" + RELEASE_TAG='release--' + RELEASE_PR_MERGE_MSG='Merge pull request' + RELEASE_REPO_MSG='demergent-labs/release--' + + if [[ $BRANCH_NAME != *"$RELEASE_TAG"* && ${{ github.ref }} != "$MAIN_BRANCH" && !($COMMIT_MESSAGE == *"$RELEASE_PR_MERGE_MSG"* && $COMMIT_MESSAGE == *"$RELEASE_REPO_MSG"*) ]]; then + RUNS=5 + elif [[ $BRANCH_NAME == *"$RELEASE_TAG"* && ${{ github.ref }} != "$MAIN_BRANCH" && !($COMMIT_MESSAGE == *"$RELEASE_PR_MERGE_MSG"* && $COMMIT_MESSAGE == *"$RELEASE_REPO_MSG"*) ]]; then + RUNS=10 + elif [[ ${{ github.ref }} == "$MAIN_BRANCH" && $COMMIT_MESSAGE == *"$RELEASE_PR_MERGE_MSG"* && $COMMIT_MESSAGE == *"$RELEASE_REPO_MSG"* ]]; then + RUNS=100 else - export RUNS=5 + RUNS=5 fi AZLE_PROPTEST_NUM_RUNS=$RUNS AZLE_PROPTEST_VERBOSE=true npm test From 5f1de5071de570ce94221db15bfc497d54a3cbe4 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Wed, 28 Aug 2024 11:34:53 -0600 Subject: [PATCH 17/54] move generate-tests script --- scripts/test.sh => .github/scripts/generate_tests.sh | 0 .../scripts/publish_github_action.sh | 0 .github/workflows/test.yml | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename scripts/test.sh => .github/scripts/generate_tests.sh (100%) rename publish-github-action.sh => .github/scripts/publish_github_action.sh (100%) diff --git a/scripts/test.sh b/.github/scripts/generate_tests.sh similarity index 100% rename from scripts/test.sh rename to .github/scripts/generate_tests.sh diff --git a/publish-github-action.sh b/.github/scripts/publish_github_action.sh similarity index 100% rename from publish-github-action.sh rename to .github/scripts/publish_github_action.sh diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 60c37dda56..98d8c1d4ba 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,7 +32,7 @@ jobs: - uses: actions/checkout@v4 - id: get_all_tests name: generateTests - run: echo "::set-output name=all_tests::$(./scripts/test.sh | base64 -d)" + run: echo "::set-output name=all_tests::$(./.github/scripts/generate_tests.sh | base64 -d)" determine-should-run-tests: name: Determine Should Run Tests runs-on: ubuntu-latest @@ -87,7 +87,7 @@ jobs: git config --global user.signingkey C8B77BCBE16CD2B94B43F9C8757397B82D4ED7B0 - if: ${{ !needs.determine-should-run-tests.outputs.should_run_tests }} name: Publish Release - run: ./publish-github-action.sh $RELEASE_VERSION ${{ toJSON(needs.generate-tests.outputs.all_tests) }} + run: ./.github/scripts/publish_github_action.sh $RELEASE_VERSION ${{ toJSON(needs.generate-tests.outputs.all_tests) }} run-test: name: ${{matrix.tests.name}} / ${{matrix.tests.type}} / ${{matrix.tests.syntax}} / ${{matrix.tests.api}} / ${{matrix.azle_source}} needs: From 57031d1589b27f4d6109328e694425e93d0d0991 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Wed, 28 Aug 2024 12:13:53 -0600 Subject: [PATCH 18/54] update to variables --- .github/workflows/test.yml | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 98d8c1d4ba..6341377072 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,10 +31,11 @@ jobs: steps: - uses: actions/checkout@v4 - id: get_all_tests - name: generateTests + name: Generate Tests run: echo "::set-output name=all_tests::$(./.github/scripts/generate_tests.sh | base64 -d)" + determine-should-run-tests: - name: Determine Should Run Tests + name: Determine If Tests Should Run runs-on: ubuntu-latest outputs: should_run_tests: ${{ steps.determine_should_run_tests.outputs.should_run_tests }} @@ -51,6 +52,7 @@ jobs: else echo "::set-output name=should_run_tests::true" fi + release-candidate-deploy: name: Deploy Release candidate for release branches needs: @@ -60,6 +62,7 @@ jobs: env: GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} # All commits must be verified GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SHOULD_RUN_TEST: ${{needs.determine-should-run-tests.outputs.should_run_tests}} steps: - uses: actions/checkout@v4 with: @@ -85,11 +88,12 @@ jobs: git config --global commit.gpgsign true echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import git config --global user.signingkey C8B77BCBE16CD2B94B43F9C8757397B82D4ED7B0 - - if: ${{ !needs.determine-should-run-tests.outputs.should_run_tests }} + - if: ${{ !env.SHOULD_RUN_TEST }} name: Publish Release run: ./.github/scripts/publish_github_action.sh $RELEASE_VERSION ${{ toJSON(needs.generate-tests.outputs.all_tests) }} + run-test: - name: ${{matrix.tests.name}} / ${{matrix.tests.type}} / ${{matrix.tests.syntax}} / ${{matrix.tests.api}} / ${{matrix.azle_source}} + name: '${{matrix.tests.name}} | ${{matrix.tests.type}} | ${{matrix.tests.syntax}} | ${{matrix.tests.api}} | ${{matrix.azle_source}}' needs: - determine-should-run-tests - generate-tests @@ -99,6 +103,7 @@ jobs: AZLE_IDENTITY_STORAGE_MODE: 'plaintext' AZLE_END_TO_END_TEST_LINK_AZLE: ${{ matrix.azle_source == 'repo' }} AZLE_TEST_RUN_ON_RELEASE: ${{ contains(github.head_ref, 'release--') }} + SHOULD_RUN_TEST: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} strategy: fail-fast: false # We want to see which example tests succeed and which ones fail, we don't want one example test to cancel the rest matrix: @@ -118,13 +123,13 @@ jobs: # If should_run_tests is false, we still want the steps of this job to execute so that check-run-test-success will run. We do this by creating an array with one dummy element tests: ${{ needs.determine-should-run-tests.outputs.should_run_tests == 'true' && fromJSON(needs.generate-tests.outputs.all_tests) || fromJSON('["dummy"]') }} steps: - - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} + - if: ${{ env.SHOULD_RUN_TEST }} uses: actions/checkout@v4 - - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} + - if: ${{ env.SHOULD_RUN_TEST }} uses: actions/setup-node@v4 with: node-version: 20 - - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} + - if: ${{ env.SHOULD_RUN_TEST }} name: Run Pre-Test Azle Setup run: | @@ -149,7 +154,7 @@ jobs: npm run lint shell: bash -l {0} - - if: ${{needs.determine-should-run-tests.outputs.should_run_tests}} + - if: ${{env.SHOULD_RUN_TEST}} name: Run Pre-Test Test Setup run: | @@ -164,11 +169,11 @@ jobs: npx azle install-dfx-extension working-directory: ${{ matrix.tests.path }} shell: bash -l {0} - - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} + - if: ${{ env.SHOULD_RUN_TEST }} name: Start dfx working-directory: ${{ matrix.tests.path }} run: dfx start --clean --background --host 127.0.0.1:8000 - - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} + - if: ${{ env.SHOULD_RUN_TEST }} name: Run Test run: | BRANCH_NAME="${{ github.head_ref }}" From e03f5acc83d0d43c7e5417073f0bf893bc5720db Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Wed, 28 Aug 2024 12:18:33 -0600 Subject: [PATCH 19/54] add report of full path of tests just incase it isn't obvious from the name --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6341377072..82ba2ad902 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -123,6 +123,9 @@ jobs: # If should_run_tests is false, we still want the steps of this job to execute so that check-run-test-success will run. We do this by creating an array with one dummy element tests: ${{ needs.determine-should-run-tests.outputs.should_run_tests == 'true' && fromJSON(needs.generate-tests.outputs.all_tests) || fromJSON('["dummy"]') }} steps: + - if: ${{env.SHOULD_RUN_TEST}} + name: Report full path of test + run: echo ${{matrix.tests.path}} - if: ${{ env.SHOULD_RUN_TEST }} uses: actions/checkout@v4 - if: ${{ env.SHOULD_RUN_TEST }} From 45273a642e8af602f94c49133206a325178eef0e Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Wed, 28 Aug 2024 14:54:49 -0600 Subject: [PATCH 20/54] update yml to use new outputs --- .github/scripts/generate_tests.sh | 25 ++++++------------------- .github/workflows/test.yml | 21 ++++++++++++++------- 2 files changed, 20 insertions(+), 26 deletions(-) diff --git a/.github/scripts/generate_tests.sh b/.github/scripts/generate_tests.sh index 03a31c3013..8b58dcac2a 100755 --- a/.github/scripts/generate_tests.sh +++ b/.github/scripts/generate_tests.sh @@ -69,32 +69,19 @@ generate_json() { # Construct JSON object echo "{" - echo " \"path\": \"$dir\"," - echo " \"name\": \"$name\"," - echo " \"type\": \"$type\"" - [[ -n "$syntax" ]] && echo " ,\"syntax\": \"$syntax\"" - [[ -n "$api" ]] && echo " ,\"api\": \"$api\"" + echo "\"path\":\"$dir\"," + echo "\"name\":\"$name\"," + echo "\"type\":\"$type\"" + [[ -n "$syntax" ]] && echo ",\"syntax\":\"$syntax\"" + [[ -n "$api" ]] && echo ",\"api\":\"$api\"" echo "}" } -generate_json_new() { - local dir=$1 - local name=$(basename "$dir") - echo "{path: \"$dir\", name: \"$name\""} -} - # Discover directories in examples and tests, excluding specified directories all_directories=$(discover_directories "$EXAMPLES_DIR") all_directories+=$'\n' all_directories+=$(discover_directories "$TESTS_DIR") -# EXAMPLE_DIRECTORIES=$(cat << END -# "HERE/hello_world", -# "HERE/hello_world2", -# "HERE/hello_world3" -# END -# ) - # Initialize an empty variable to store the JSON result json_result="[" @@ -108,7 +95,7 @@ done <<< "$(echo "$all_directories" | sort)" # Feed sorted directories into the # Remove the last comma and close the JSON array json_result=$(echo "$json_result" | sed '$ s/,$//') -# json_result=$(echo "$json_result" | sed ':a;N;$!ba;s/\n//g') # Remove new lines +json_result=$(echo "$json_result" | sed ':a;N;$!ba;s/\n//g') # Remove new lines json_result+="]" # Store the result in a variable (you can use it as needed) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 82ba2ad902..00ed9a60ed 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,9 +30,9 @@ jobs: all_tests: ${{ steps.get_all_tests.outputs.all_tests }} steps: - uses: actions/checkout@v4 - - id: get_all_tests - name: Generate Tests - run: echo "::set-output name=all_tests::$(./.github/scripts/generate_tests.sh | base64 -d)" + - name: Generate Tests + id: get_all_tests + run: echo "all_tests=$(./.github/scripts/generate_tests.sh | base64 -d)" >> "$GITHUB_OUTPUT" determine-should-run-tests: name: Determine If Tests Should Run @@ -46,11 +46,18 @@ jobs: BRANCH_NAME="${{ github.head_ref }}" RELEASE_VERSION="${BRANCH_NAME:9}" COMMIT_MESSAGE=$(git log -1 --pretty=format:"%s") - if [[ "${{ contains(github.head_ref, 'release--') }}" == "true" && "$COMMIT_MESSAGE" != "azle-bot automated release $RELEASE_VERSION" ]] - then - echo "::set-output name=should_run_tests::false" + + IS_RELEASE_CANDIDATE="${{ contains(github.head_ref, 'release--') }}" + + IS_AUTOMATED_RELEASE="false" + if [[ "$COMMIT_MESSAGE" == "azle-bot automated release $RELEASE_VERSION" ]]; then + IS_AUTOMATED_RELEASE="true" + fi + + if [[ "$IS_RELEASE_CANDIDATE" == "true" && "$IS_AUTOMATED_RELEASE" == "false" ]]; then + echo "should_run_tests=false" >> "$GITHUB_OUTPUT" else - echo "::set-output name=should_run_tests::true" + echo "should_run_tests=true" >> "$GITHUB_OUTPUT" fi release-candidate-deploy: From 8127bd47db45b5d8a697ba72cb01ae629efc8076 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Wed, 28 Aug 2024 16:03:14 -0600 Subject: [PATCH 21/54] move out conditionals to top levels --- .github/workflows/test.yml | 112 ++++++++++++++++++++----------------- 1 file changed, 61 insertions(+), 51 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 00ed9a60ed..0cb84fed11 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,20 +1,7 @@ -# TODO the next great simplification might be deploying multiple examples to one dfx replica instance: https://forum.dfinity.org/t/use-the-same-local-replica-for-multiple-projects/11900 -# TODO this might allow us to avoid spinning up so many jobs in the matrix - # This GitHub Action flow works as follows: -# The tests are currently simple example-based integration tests. -# Each directory in the examples directory represents an example project and is intended to have tests that ensure the canisters contained in that example function properly. +# Each directory in the examples and tests directory represents an example project and is intended to have tests that ensure the canisters contained in that example function properly. # These tests are currently written in TypeScript and are intended to be run in a Node.js environment. # This GitHub Action takes care of deploying to npm and GitHub. -# Tests can either run against the current code of Azle found in the repository, or the code deployed by the GitHub Action to npm. -# Feature branch pull requests (pull requests without release-- in the base branch name) will run all tests against the code found in the repository. -# Release branch pull requests (pull requests with release-- in the base branch name) will run all tests against the code found in the repository and the code deployed by the GitHub Action to npm. -# Pushes to main will run all tests against the code in the repository if the latest commit was not a merge of a release branch, and will run tests against the code in the repository and the code deployed by the GitHub Action to npm otherwise. -# The run-test matrix spins up one job per combination of example directory and code source (repo or npm). -# The check-run-test-success job is designed to ensure that all jobs spun up from the matrix in the run-test have succeeded - -## TODO make variable for isRelease -## TODO make sure comments are throughout and not all at the top name: Tests on: @@ -22,6 +9,8 @@ on: branches: - main pull_request: # Runs on pull requests to any branch +env: + IS_RELEASE_CANDIDATE: ${{ contains(github.head_ref, 'release--') }} jobs: generate-tests: name: Generate Tests @@ -32,6 +21,7 @@ jobs: - uses: actions/checkout@v4 - name: Generate Tests id: get_all_tests + # Automatically find all azle tests run: echo "all_tests=$(./.github/scripts/generate_tests.sh | base64 -d)" >> "$GITHUB_OUTPUT" determine-should-run-tests: @@ -42,6 +32,7 @@ jobs: steps: - uses: actions/checkout@v4 - id: determine_should_run_tests + # Determine if tests should run for this pr. If it's a manually submitted release candidate no tests will run. run: | BRANCH_NAME="${{ github.head_ref }}" RELEASE_VERSION="${BRANCH_NAME:9}" @@ -54,14 +45,16 @@ jobs: IS_AUTOMATED_RELEASE="true" fi - if [[ "$IS_RELEASE_CANDIDATE" == "true" && "$IS_AUTOMATED_RELEASE" == "false" ]]; then + if [[ "${{env.IS_RELEASE_CANDIDATE}}" == "true" && "$IS_AUTOMATED_RELEASE" == "false" ]]; then echo "should_run_tests=false" >> "$GITHUB_OUTPUT" else echo "should_run_tests=true" >> "$GITHUB_OUTPUT" fi release-candidate-deploy: - name: Deploy Release candidate for release branches + name: Deploy Release Candidate for Release Branches + # Only run this job if it's a release branch. This job will run instead of run-tests and will automatically publish another commit which will be tested + if: ${{ !needs.determine-should-run-tests.outputs.should_run_tests }} needs: - generate-tests - determine-should-run-tests @@ -69,11 +62,10 @@ jobs: env: GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} # All commits must be verified GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SHOULD_RUN_TEST: ${{needs.determine-should-run-tests.outputs.should_run_tests}} steps: - uses: actions/checkout@v4 with: - ref: ${{ contains(github.head_ref, 'release--') && github.event.pull_request.head.ref || github.ref }} + ref: ${{ github.event.pull_request.head.ref || github.ref }} token: ${{ secrets.LASTMJS_GITHUB_TOKEN || github.token }} - uses: actions/setup-node@v4 with: @@ -81,39 +73,40 @@ jobs: registry-url: https://registry.npmjs.org env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - if: contains(github.head_ref, 'release--') - name: Install dfx + - name: Install dfx run: | DFXVM_INIT_YES=true DFX_VERSION=0.21.0 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" echo "$HOME/.local/share/dfx/bin" >> $GITHUB_PATH # TODO we should use some Action-specific bot account - - if: contains(github.head_ref, 'release--') - name: Configure git for Publishing Release + - name: Configure git for Publishing Release run: | git config --global user.name 'Jordan Last' git config --global user.email 'jordan.michael.last@gmail.com' git config --global commit.gpgsign true echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import git config --global user.signingkey C8B77BCBE16CD2B94B43F9C8757397B82D4ED7B0 - - if: ${{ !env.SHOULD_RUN_TEST }} - name: Publish Release + - name: Publish Release run: ./.github/scripts/publish_github_action.sh $RELEASE_VERSION ${{ toJSON(needs.generate-tests.outputs.all_tests) }} run-test: + # Tests can either run against the current code of Azle found in the repository, or the code deployed by the GitHub Action to npm. + # Feature branch pull requests (pull requests without release-- in the base branch name) will run all tests against the code found in the repository. + # Release branch pull requests (pull requests with release-- in the base branch name) will run all tests against the code found in the repository and the code deployed by the GitHub Action to npm. + # Pushes to main will run all tests against the code in the repository if the latest commit was not a merge of a release branch, and will run tests against the code in the repository and the code deployed by the GitHub Action to npm otherwise. name: '${{matrix.tests.name}} | ${{matrix.tests.type}} | ${{matrix.tests.syntax}} | ${{matrix.tests.api}} | ${{matrix.azle_source}}' needs: - determine-should-run-tests - generate-tests + if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} runs-on: ${{ matrix.os }} env: ETHEREUM_URL: ${{ secrets.ETHEREUM_URL }} AZLE_IDENTITY_STORAGE_MODE: 'plaintext' AZLE_END_TO_END_TEST_LINK_AZLE: ${{ matrix.azle_source == 'repo' }} AZLE_TEST_RUN_ON_RELEASE: ${{ contains(github.head_ref, 'release--') }} - SHOULD_RUN_TEST: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} strategy: fail-fast: false # We want to see which example tests succeed and which ones fail, we don't want one example test to cancel the rest - matrix: + matrix: # spins up one job per combination of test and code source (repo or npm). # os: [macos-latest] os: [ubuntu-latest] include_npm: @@ -130,17 +123,16 @@ jobs: # If should_run_tests is false, we still want the steps of this job to execute so that check-run-test-success will run. We do this by creating an array with one dummy element tests: ${{ needs.determine-should-run-tests.outputs.should_run_tests == 'true' && fromJSON(needs.generate-tests.outputs.all_tests) || fromJSON('["dummy"]') }} steps: - - if: ${{env.SHOULD_RUN_TEST}} - name: Report full path of test + - name: Report full path of test run: echo ${{matrix.tests.path}} - - if: ${{ env.SHOULD_RUN_TEST }} - uses: actions/checkout@v4 - - if: ${{ env.SHOULD_RUN_TEST }} - uses: actions/setup-node@v4 + + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 with: node-version: 20 - - if: ${{ env.SHOULD_RUN_TEST }} - name: Run Pre-Test Azle Setup + + - name: Run Pre-Test Azle Setup run: | # Install dfx @@ -152,39 +144,32 @@ jobs: sudo networksetup -setdnsservers Ethernet 9.9.9.9 fi - # Install dependencies npm install - # Link azle if the source is repo if [[ "${{ matrix.azle_source }}" == "repo" ]]; then npm link fi - # Run linting npm run lint - shell: bash -l {0} - - if: ${{env.SHOULD_RUN_TEST}} - name: Run Pre-Test Test Setup - run: | + - name: Run Pre-Test Test Setup + run: | npm install - # Link azle in the test directory if the source is repo if [[ "${{ matrix.azle_source }}" == "repo" ]]; then npm link azle fi - # Install the azle dfx extension npx azle install-dfx-extension working-directory: ${{ matrix.tests.path }} shell: bash -l {0} - - if: ${{ env.SHOULD_RUN_TEST }} - name: Start dfx + + - name: Start dfx working-directory: ${{ matrix.tests.path }} run: dfx start --clean --background --host 127.0.0.1:8000 - - if: ${{ env.SHOULD_RUN_TEST }} - name: Run Test + + - name: Run Test run: | BRANCH_NAME="${{ github.head_ref }}" MAIN_BRANCH='refs/heads/main' @@ -193,12 +178,36 @@ jobs: RELEASE_PR_MERGE_MSG='Merge pull request' RELEASE_REPO_MSG='demergent-labs/release--' + IS_FEATURE_PR=true + IS_RELEASE_PR=false + IS_MERGE_TO_MAIN_FROM_RELEASE=false + + # Check if it's a feature pull request if [[ $BRANCH_NAME != *"$RELEASE_TAG"* && ${{ github.ref }} != "$MAIN_BRANCH" && !($COMMIT_MESSAGE == *"$RELEASE_PR_MERGE_MSG"* && $COMMIT_MESSAGE == *"$RELEASE_REPO_MSG"*) ]]; then - RUNS=5 - elif [[ $BRANCH_NAME == *"$RELEASE_TAG"* && ${{ github.ref }} != "$MAIN_BRANCH" && !($COMMIT_MESSAGE == *"$RELEASE_PR_MERGE_MSG"* && $COMMIT_MESSAGE == *"$RELEASE_REPO_MSG"*) ]]; then - RUNS=10 - elif [[ ${{ github.ref }} == "$MAIN_BRANCH" && $COMMIT_MESSAGE == *"$RELEASE_PR_MERGE_MSG"* && $COMMIT_MESSAGE == *"$RELEASE_REPO_MSG"* ]]; then + IS_FEATURE_PR=true + else + IS_FEATURE_PR=false + fi + + # Check if it's a release candidate pull request + if [[ $BRANCH_NAME == *"$RELEASE_TAG"* && ${{ github.ref }} != "$MAIN_BRANCH" && !($COMMIT_MESSAGE == *"$RELEASE_PR_MERGE_MSG"* && $COMMIT_MESSAGE == *"$RELEASE_REPO_MSG"*) ]]; then + IS_RELEASE_PR=true + else + IS_RELEASE_PR=false + fi + + # Check if it's a merge from a release candidate into main + if [[ ${{ github.ref }} == "$MAIN_BRANCH" && $COMMIT_MESSAGE == *"$RELEASE_PR_MERGE_MSG"* && $COMMIT_MESSAGE == *"$RELEASE_REPO_MSG"* ]]; then + IS_MERGE_TO_MAIN_FROM_RELEASE=true + else + IS_MERGE_TO_MAIN_FROM_RELEASE=false + fi + + # Determine the number of runs based on the conditions + if [[ $IS_MERGE_TO_MAIN_FROM_RELEASE == true ]]; then RUNS=100 + elif [[ $IS_RELEASE_PR == true ]]; then + RUNS=10 else RUNS=5 fi @@ -207,6 +216,7 @@ jobs: shell: bash -l {0} working-directory: ${{ matrix.tests.path }} + # These final jobs are designed to ensure that all jobs spun up from the matrix in the run-test have succeeded check-basic-integration-test-success: name: Check Azle Tests Succeeded needs: run-test From 1b24bb62bb54a8c4cc548194284ce1d1529140be Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Wed, 28 Aug 2024 21:35:15 -0600 Subject: [PATCH 22/54] get rid of artificial delay for feature prs --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0cb84fed11..d080f22c6a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -166,6 +166,12 @@ jobs: shell: bash -l {0} - name: Start dfx + if: ${{ !env.IS_RELEASE_CANDIDATE }} + working-directory: ${{ matrix.tests.path }} + run: dfx start --clean --background --host 127.0.0.1:8000 --artificial-delay 0 + + - name: Start dfx with artifical delay + if: ${{ env.IS_RELEASE_CANDIDATE }} working-directory: ${{ matrix.tests.path }} run: dfx start --clean --background --host 127.0.0.1:8000 From 2c51bbaddea9656f8ebe442e76d0aadf6c757651 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Wed, 28 Aug 2024 22:02:47 -0600 Subject: [PATCH 23/54] move versions to env variables --- .github/workflows/test.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d080f22c6a..990f692324 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,6 +11,8 @@ on: pull_request: # Runs on pull requests to any branch env: IS_RELEASE_CANDIDATE: ${{ contains(github.head_ref, 'release--') }} + DFX_VERSION: 0.21.0 + NODE_VERSION: 20 jobs: generate-tests: name: Generate Tests @@ -69,13 +71,13 @@ jobs: token: ${{ secrets.LASTMJS_GITHUB_TOKEN || github.token }} - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: ${{ env.NODE_VERSION }} registry-url: https://registry.npmjs.org env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Install dfx run: | - DFXVM_INIT_YES=true DFX_VERSION=0.21.0 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" + DFXVM_INIT_YES=true DFX_VERSION=${{ env.DFX_VERSION }} sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" echo "$HOME/.local/share/dfx/bin" >> $GITHUB_PATH # TODO we should use some Action-specific bot account - name: Configure git for Publishing Release @@ -136,7 +138,7 @@ jobs: run: | # Install dfx - DFXVM_INIT_YES=true DFX_VERSION=0.21.0 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" + DFXVM_INIT_YES=true DFX_VERSION=${{ env.DFX_VERSION }} sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" echo "$HOME/.local/share/dfx/bin" >> $GITHUB_PATH # MacOS-specific DNS configuration From e76c4feb7cd2ad92ecf18acde22151d5c3686f17 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Thu, 29 Aug 2024 10:00:03 -0600 Subject: [PATCH 24/54] create custom action for finding test dirs --- .github/actions/generate_tests/action.yml | 29 +++++++++++++++++++++++ .github/scripts/generate_tests.sh | 29 ++++++++++------------- .github/workflows/test.yml | 25 +++++++++++++++---- 3 files changed, 61 insertions(+), 22 deletions(-) create mode 100644 .github/actions/generate_tests/action.yml diff --git a/.github/actions/generate_tests/action.yml b/.github/actions/generate_tests/action.yml new file mode 100644 index 0000000000..cf9e54547d --- /dev/null +++ b/.github/actions/generate_tests/action.yml @@ -0,0 +1,29 @@ +name: Generate Tests +description: Generates a list of directories of npm projects with a tests script +inputs: + directories: + description: List of directories to search for npm projects with tests. + required: true + exclude_dirs: + description: List of directories to exclude from the search. + required: false + default: '' +outputs: + all_tests: + description: All of the tests found by this action + value: ${{ steps.get_all_tests.outputs.all_tests }} +runs: + using: composite + steps: + - uses: actions/checkout@v4 + + - name: Generate Tests + id: get_all_tests + run: | + # Export the input variables to make them available to the script + export INPUT_DIRECTORIES="${{ inputs.directories }}" + export INPUT_EXCLUDE_DIRS="${{ inputs.exclude_dirs }}" + # Run the script + all_tests=$(./.github/scripts/generate_tests.sh | base64 -d) + echo "all_tests=${all_tests}" >> "$GITHUB_OUTPUT" + shell: bash diff --git a/.github/scripts/generate_tests.sh b/.github/scripts/generate_tests.sh index 8b58dcac2a..a68c597b09 100755 --- a/.github/scripts/generate_tests.sh +++ b/.github/scripts/generate_tests.sh @@ -1,15 +1,9 @@ #!/bin/bash -# Base directories +# Inputs from action.yml BASE_DIR="." -EXAMPLES_DIR="$BASE_DIR/examples" -TESTS_DIR="$BASE_DIR/tests" - -# Excluded directories -EXCLUDE_DIRS=( - "$EXAMPLES_DIR/filter_example" - "$TESTS_DIR/end_to_end/candid_rpc/functional_syntax/filter_example" -) +DIRECTORIES=($INPUT_DIRECTORIES) +EXCLUDE_DIRS=($INPUT_EXCLUDE_DIRS) # Function to discover test directories discover_directories() { @@ -29,7 +23,7 @@ discover_directories() { is_excluded() { local dir=$1 for exclude in "${EXCLUDE_DIRS[@]}"; do - if [[ "$dir" == *"$exclude" ]]; then + if [[ "$dir" == *"$exclude"* ]]; then return 0 fi done @@ -44,9 +38,9 @@ generate_json() { local syntax="" local api="" - if [[ "$dir" == "$EXAMPLES_DIR"* ]]; then + if [[ "$dir" == *"/examples/"* ]]; then type="ex" - elif [[ "$dir" == "$TESTS_DIR/property"* ]]; then + elif [[ "$dir" == *"/property/"* ]]; then type="prop" if [[ "$dir" == *"/candid_rpc/"* ]]; then syntax="crpc" @@ -58,7 +52,7 @@ generate_json() { elif [[ "$dir" == *"/ic_api/"* ]]; then syntax="ic_api" fi - elif [[ "$dir" == "$TESTS_DIR/end_to_end"* ]]; then + elif [[ "$dir" == *"/end_to_end/"* ]]; then type="e2e" if [[ "$dir" == *"/http_server/"* ]]; then syntax="http" @@ -77,10 +71,11 @@ generate_json() { echo "}" } -# Discover directories in examples and tests, excluding specified directories -all_directories=$(discover_directories "$EXAMPLES_DIR") -all_directories+=$'\n' -all_directories+=$(discover_directories "$TESTS_DIR") +# Discover directories in the provided directories, excluding specified directories +all_directories="" +for dir in "${DIRECTORIES[@]}"; do + all_directories+=$(discover_directories "$dir") +done # Initialize an empty variable to store the JSON result json_result="[" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 990f692324..192169466f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,6 +3,8 @@ # These tests are currently written in TypeScript and are intended to be run in a Node.js environment. # This GitHub Action takes care of deploying to npm and GitHub. +# TODO give every step a name + name: Tests on: push: @@ -11,6 +13,7 @@ on: pull_request: # Runs on pull requests to any branch env: IS_RELEASE_CANDIDATE: ${{ contains(github.head_ref, 'release--') }} + IS_FEATURE: ${{ !contains(github.head_ref, 'release--') }} DFX_VERSION: 0.21.0 NODE_VERSION: 20 jobs: @@ -23,8 +26,22 @@ jobs: - uses: actions/checkout@v4 - name: Generate Tests id: get_all_tests - # Automatically find all azle tests - run: echo "all_tests=$(./.github/scripts/generate_tests.sh | base64 -d)" >> "$GITHUB_OUTPUT" + uses: ./.github/actions/generate_tests + with: + directories: | + ./examples + ./tests + exclude_dirs: | + ${{ env.IS_FEATURE == 'true' && format(' + ./examples/basic_bitcoin + ./examples/bitcoin_psbt + ./examples/ckbtc + ./tests/end_to_end/http_server/ethers_base + ./tests/end_to_end/http_server/http_outcall_fetch + ./tests/end_to_end/http_server/ic_evm_rpc + ./tests/property/candid_rpc/class_api/stable_b_tree_map + ./tests/property/candid_rpc/functional_api/stable_b_tree_map + ') || '' }} determine-should-run-tests: name: Determine If Tests Should Run @@ -40,8 +57,6 @@ jobs: RELEASE_VERSION="${BRANCH_NAME:9}" COMMIT_MESSAGE=$(git log -1 --pretty=format:"%s") - IS_RELEASE_CANDIDATE="${{ contains(github.head_ref, 'release--') }}" - IS_AUTOMATED_RELEASE="false" if [[ "$COMMIT_MESSAGE" == "azle-bot automated release $RELEASE_VERSION" ]]; then IS_AUTOMATED_RELEASE="true" @@ -132,7 +147,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: ${{ env.NODE_VERSION }} - name: Run Pre-Test Azle Setup run: | From 2434e2a5ac79b6153f81dd80bd95c8205c30eff8 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Thu, 29 Aug 2024 10:44:32 -0600 Subject: [PATCH 25/54] first pass at build job --- .github/workflows/build.yml | 89 +++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000000..1fd2de57d8 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,89 @@ +name: Build +on: + push: + branches: + - main + pull_request: # Runs on pull requests to any branch +env: + IS_RELEASE_CANDIDATE: ${{ contains(github.head_ref, 'release--') }} + IS_FEATURE: ${{ !contains(github.head_ref, 'release--') }} + DFX_VERSION: 0.21.0 + NODE_VERSION: 20 +jobs: + generate-tests: + name: Get all test dirs + runs-on: ubuntu-latest + outputs: + all_tests: ${{ steps.get_all_tests.outputs.all_tests }} + steps: + - uses: actions/checkout@v4 + - name: Get all test dirs + id: get_all_tests + uses: ./.github/actions/generate_tests + with: + directories: | + ./examples + ./tests + exclude_dirs: '' + + determine-should-run-tests: + name: Determine If Tests Should Run + runs-on: ubuntu-latest + outputs: + should_run_tests: ${{ steps.determine_should_run_tests.outputs.should_run_tests }} + steps: + - uses: actions/checkout@v4 + - id: determine_should_run_tests + # Determine if tests should run for this pr. If it's a manually submitted release candidate no tests will run. + run: | + BRANCH_NAME="${{ github.head_ref }}" + RELEASE_VERSION="${BRANCH_NAME:9}" + COMMIT_MESSAGE=$(git log -1 --pretty=format:"%s") + + IS_AUTOMATED_RELEASE="false" + if [[ "$COMMIT_MESSAGE" == "azle-bot automated release $RELEASE_VERSION" ]]; then + IS_AUTOMATED_RELEASE="true" + fi + + if [[ "${{env.IS_RELEASE_CANDIDATE}}" == "true" && "$IS_AUTOMATED_RELEASE" == "false" ]]; then + echo "should_run_tests=false" >> "$GITHUB_OUTPUT" + else + echo "should_run_tests=true" >> "$GITHUB_OUTPUT" + fi + + release-candidate-deploy: + name: Deploy Release Candidate for Release Branches + # Only run this job if it's a release branch. This job will run instead of run-tests and will automatically publish another commit which will be tested + if: ${{ !needs.determine-should-run-tests.outputs.should_run_tests }} + needs: + - generate-tests + - determine-should-run-tests + runs-on: ubuntu-latest + env: + GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} # All commits must be verified + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.ref || github.ref }} + token: ${{ secrets.LASTMJS_GITHUB_TOKEN || github.token }} + - uses: actions/setup-node@v4 + with: + node-version: ${{ env.NODE_VERSION }} + registry-url: https://registry.npmjs.org + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Install dfx + run: | + DFXVM_INIT_YES=true DFX_VERSION=${{ env.DFX_VERSION }} sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" + echo "$HOME/.local/share/dfx/bin" >> $GITHUB_PATH + # TODO we should use some Action-specific bot account + - name: Configure git for Publishing Release + run: | + git config --global user.name 'Jordan Last' + git config --global user.email 'jordan.michael.last@gmail.com' + git config --global commit.gpgsign true + echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import + git config --global user.signingkey C8B77BCBE16CD2B94B43F9C8757397B82D4ED7B0 + - name: Publish Release + run: ./.github/scripts/publish_github_action.sh $RELEASE_VERSION ${{ toJSON(needs.generate-tests.outputs.all_tests) }} From 6a1993c5bc389810d5ede71d3e8a5e67d61acc2b Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Thu, 29 Aug 2024 12:39:02 -0600 Subject: [PATCH 26/54] move build to it's own workflow --- .github/workflows/build.yml | 25 +++++++++++++------------ .github/workflows/test.yml | 37 ------------------------------------- 2 files changed, 13 insertions(+), 49 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1fd2de57d8..e970140713 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,8 @@ env: DFX_VERSION: 0.21.0 NODE_VERSION: 20 jobs: - generate-tests: + get-all-test-dirs: + if: ${{ contains(github.head_ref, 'release--') }} name: Get all test dirs runs-on: ubuntu-latest outputs: @@ -26,15 +27,15 @@ jobs: ./tests exclude_dirs: '' - determine-should-run-tests: + determine-is-manual-release: + if: ${{ contains(github.head_ref, 'release--') }} name: Determine If Tests Should Run runs-on: ubuntu-latest outputs: - should_run_tests: ${{ steps.determine_should_run_tests.outputs.should_run_tests }} + is_manual_release: ${{ steps.determine_is_manual_release.outputs.is_manual_release }} steps: - uses: actions/checkout@v4 - - id: determine_should_run_tests - # Determine if tests should run for this pr. If it's a manually submitted release candidate no tests will run. + - id: determine_is_manual_release run: | BRANCH_NAME="${{ github.head_ref }}" RELEASE_VERSION="${BRANCH_NAME:9}" @@ -45,19 +46,19 @@ jobs: IS_AUTOMATED_RELEASE="true" fi - if [[ "${{env.IS_RELEASE_CANDIDATE}}" == "true" && "$IS_AUTOMATED_RELEASE" == "false" ]]; then - echo "should_run_tests=false" >> "$GITHUB_OUTPUT" + if [[ "$IS_AUTOMATED_RELEASE" == "false" ]]; then + echo "is_manual_release=false" >> "$GITHUB_OUTPUT" else - echo "should_run_tests=true" >> "$GITHUB_OUTPUT" + echo "is_manual_release=true" >> "$GITHUB_OUTPUT" fi release-candidate-deploy: name: Deploy Release Candidate for Release Branches # Only run this job if it's a release branch. This job will run instead of run-tests and will automatically publish another commit which will be tested - if: ${{ !needs.determine-should-run-tests.outputs.should_run_tests }} + if: ${{ !needs.determine-is-manual-release.outputs.is_manual_release }} needs: - - generate-tests - - determine-should-run-tests + - get-all-test-dirs + - determine-is-manual-release runs-on: ubuntu-latest env: GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} # All commits must be verified @@ -86,4 +87,4 @@ jobs: echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import git config --global user.signingkey C8B77BCBE16CD2B94B43F9C8757397B82D4ED7B0 - name: Publish Release - run: ./.github/scripts/publish_github_action.sh $RELEASE_VERSION ${{ toJSON(needs.generate-tests.outputs.all_tests) }} + run: ./.github/scripts/publish_github_action.sh $RELEASE_VERSION ${{ toJSON(needs.get-all-test-dirs.outputs.all_tests) }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 192169466f..153dee108a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -68,43 +68,6 @@ jobs: echo "should_run_tests=true" >> "$GITHUB_OUTPUT" fi - release-candidate-deploy: - name: Deploy Release Candidate for Release Branches - # Only run this job if it's a release branch. This job will run instead of run-tests and will automatically publish another commit which will be tested - if: ${{ !needs.determine-should-run-tests.outputs.should_run_tests }} - needs: - - generate-tests - - determine-should-run-tests - runs-on: ubuntu-latest - env: - GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} # All commits must be verified - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - steps: - - uses: actions/checkout@v4 - with: - ref: ${{ github.event.pull_request.head.ref || github.ref }} - token: ${{ secrets.LASTMJS_GITHUB_TOKEN || github.token }} - - uses: actions/setup-node@v4 - with: - node-version: ${{ env.NODE_VERSION }} - registry-url: https://registry.npmjs.org - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - name: Install dfx - run: | - DFXVM_INIT_YES=true DFX_VERSION=${{ env.DFX_VERSION }} sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" - echo "$HOME/.local/share/dfx/bin" >> $GITHUB_PATH - # TODO we should use some Action-specific bot account - - name: Configure git for Publishing Release - run: | - git config --global user.name 'Jordan Last' - git config --global user.email 'jordan.michael.last@gmail.com' - git config --global commit.gpgsign true - echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import - git config --global user.signingkey C8B77BCBE16CD2B94B43F9C8757397B82D4ED7B0 - - name: Publish Release - run: ./.github/scripts/publish_github_action.sh $RELEASE_VERSION ${{ toJSON(needs.generate-tests.outputs.all_tests) }} - run-test: # Tests can either run against the current code of Azle found in the repository, or the code deployed by the GitHub Action to npm. # Feature branch pull requests (pull requests without release-- in the base branch name) will run all tests against the code found in the repository. From 35954b936d60661f8e79167ccac7adf175d10577 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Thu, 29 Aug 2024 15:10:51 -0600 Subject: [PATCH 27/54] file clean up --- scripts/just-paths.sh | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100755 scripts/just-paths.sh diff --git a/scripts/just-paths.sh b/scripts/just-paths.sh deleted file mode 100755 index 32026a932a..0000000000 --- a/scripts/just-paths.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash -EXAMPLE_DIRECTORIES=$(cat << END -[ - {path: "HERE/hello_world", name: "basic_bitcoin", type: "ex"}, - {path: "HERE/hello_world2", name: "large_files", type: "e2e", "syntax": "http"}, - {path: "HERE/hello_world3", name: "bool", type: "prop", "syntax": "crpc", "api": "class"} -] -END -) -EXAMPLE_DIRECTORIES="${EXAMPLE_DIRECTORIES//'%'/'%25'}" -EXAMPLE_DIRECTORIES="${EXAMPLE_DIRECTORIES//$'\n'/'%0A'}" -EXAMPLE_DIRECTORIES="${EXAMPLE_DIRECTORIES//$'\r'/'%0D'}" - -echo "$EXAMPLE_DIRECTORIES" | base64 From 45c87d74005f1f981faf879f1d447ce2e2f9448d Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Thu, 29 Aug 2024 15:11:08 -0600 Subject: [PATCH 28/54] try object filtering --- .github/scripts/publish_github_action.sh | 2 +- .github/workflows/build.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/publish_github_action.sh b/.github/scripts/publish_github_action.sh index b3e7269066..7972b53127 100755 --- a/.github/scripts/publish_github_action.sh +++ b/.github/scripts/publish_github_action.sh @@ -8,7 +8,7 @@ VERSION=$1 directories_json_string_with_linebreaks=$2 directories_json_string="${directories_json_string_with_linebreaks//$'\\n'/''}" -directories=$(echo "$directories_json_string" | jq -c -r '.[] | .path') +directories=$(echo "$directories_json_string" | jq -c -r '.[]') sed -E -i "s/(\"version\": \")(.*)(\")/\1$VERSION\3/" package.json sed -E -i "s/(\"version\": \")(.*)(\")/\1$VERSION\3/" dfx_extension/extension.json diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e970140713..db326d6d99 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -87,4 +87,4 @@ jobs: echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import git config --global user.signingkey C8B77BCBE16CD2B94B43F9C8757397B82D4ED7B0 - name: Publish Release - run: ./.github/scripts/publish_github_action.sh $RELEASE_VERSION ${{ toJSON(needs.get-all-test-dirs.outputs.all_tests) }} + run: ./.github/scripts/publish_github_action.sh $RELEASE_VERSION ${{ toJSON(needs.get-all-test-dirs.outputs.all_tests).*.path }} From 35932382b8c47279041c532e90ce5d04f34ac624 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Thu, 29 Aug 2024 16:28:32 -0600 Subject: [PATCH 29/54] pr fixes --- .github/actions/generate_tests/action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/generate_tests/action.yml b/.github/actions/generate_tests/action.yml index cf9e54547d..cf7bd0af3c 100644 --- a/.github/actions/generate_tests/action.yml +++ b/.github/actions/generate_tests/action.yml @@ -1,11 +1,11 @@ name: Generate Tests -description: Generates a list of directories of npm projects with a tests script +description: Generates a list of directories of npm projects with an npm test script inputs: directories: - description: List of directories to search for npm projects with tests. + description: List of directories to search for npm projects with tests required: true exclude_dirs: - description: List of directories to exclude from the search. + description: List of directories to exclude from the search required: false default: '' outputs: From 2a2d8c0287381aa74b8ca34564ba305454c5e973 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Thu, 29 Aug 2024 16:28:44 -0600 Subject: [PATCH 30/54] pr fixes --- .github/workflows/build.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index db326d6d99..fcef115040 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Build +name: Deploy release candidate on: push: branches: @@ -25,11 +25,10 @@ jobs: directories: | ./examples ./tests - exclude_dirs: '' determine-is-manual-release: if: ${{ contains(github.head_ref, 'release--') }} - name: Determine If Tests Should Run + name: Determine if tests should run runs-on: ubuntu-latest outputs: is_manual_release: ${{ steps.determine_is_manual_release.outputs.is_manual_release }} @@ -53,7 +52,7 @@ jobs: fi release-candidate-deploy: - name: Deploy Release Candidate for Release Branches + name: Deploy release candidate for release branches # Only run this job if it's a release branch. This job will run instead of run-tests and will automatically publish another commit which will be tested if: ${{ !needs.determine-is-manual-release.outputs.is_manual_release }} needs: @@ -79,12 +78,12 @@ jobs: DFXVM_INIT_YES=true DFX_VERSION=${{ env.DFX_VERSION }} sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" echo "$HOME/.local/share/dfx/bin" >> $GITHUB_PATH # TODO we should use some Action-specific bot account - - name: Configure git for Publishing Release + - name: Configure git for publishing release run: | git config --global user.name 'Jordan Last' git config --global user.email 'jordan.michael.last@gmail.com' git config --global commit.gpgsign true echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import git config --global user.signingkey C8B77BCBE16CD2B94B43F9C8757397B82D4ED7B0 - - name: Publish Release + - name: Publish release run: ./.github/scripts/publish_github_action.sh $RELEASE_VERSION ${{ toJSON(needs.get-all-test-dirs.outputs.all_tests).*.path }} From 006a615ce36d3ed21c67138243ba53344dbcce87 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Thu, 29 Aug 2024 16:34:41 -0600 Subject: [PATCH 31/54] better wording in action --- .github/actions/generate_tests/action.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/actions/generate_tests/action.yml b/.github/actions/generate_tests/action.yml index cf7bd0af3c..0afd7219ef 100644 --- a/.github/actions/generate_tests/action.yml +++ b/.github/actions/generate_tests/action.yml @@ -1,29 +1,29 @@ -name: Generate Tests +name: Generate tests description: Generates a list of directories of npm projects with an npm test script inputs: directories: - description: List of directories to search for npm projects with tests + description: List of directories to search for npm projects with an npm test script required: true exclude_dirs: description: List of directories to exclude from the search required: false default: '' outputs: - all_tests: + tests: description: All of the tests found by this action - value: ${{ steps.get_all_tests.outputs.all_tests }} + value: ${{ steps.get_tests.outputs.tests }} runs: using: composite steps: - uses: actions/checkout@v4 - - name: Generate Tests - id: get_all_tests + - name: Generate tests + id: get_tests run: | # Export the input variables to make them available to the script export INPUT_DIRECTORIES="${{ inputs.directories }}" export INPUT_EXCLUDE_DIRS="${{ inputs.exclude_dirs }}" # Run the script - all_tests=$(./.github/scripts/generate_tests.sh | base64 -d) - echo "all_tests=${all_tests}" >> "$GITHUB_OUTPUT" + tests=$(./.github/scripts/generate_tests.sh | base64 -d) + echo "tests=${tests}" >> "$GITHUB_OUTPUT" shell: bash From 96a37f5f91c21dbc2d59973cce4c2f149d84bd6c Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Thu, 29 Aug 2024 16:38:10 -0600 Subject: [PATCH 32/54] naming updates --- .github/workflows/build.yml | 2 +- .github/workflows/test.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fcef115040..0344e6d32f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,7 @@ jobs: determine-is-manual-release: if: ${{ contains(github.head_ref, 'release--') }} - name: Determine if tests should run + name: Determine if this job is for a manual release runs-on: ubuntu-latest outputs: is_manual_release: ${{ steps.determine_is_manual_release.outputs.is_manual_release }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 153dee108a..918f75a952 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,13 +18,13 @@ env: NODE_VERSION: 20 jobs: generate-tests: - name: Generate Tests + name: Generate tests runs-on: ubuntu-latest outputs: all_tests: ${{ steps.get_all_tests.outputs.all_tests }} steps: - uses: actions/checkout@v4 - - name: Generate Tests + - name: Generate tests id: get_all_tests uses: ./.github/actions/generate_tests with: @@ -44,7 +44,7 @@ jobs: ') || '' }} determine-should-run-tests: - name: Determine If Tests Should Run + name: Determine if tests should run runs-on: ubuntu-latest outputs: should_run_tests: ${{ steps.determine_should_run_tests.outputs.should_run_tests }} From d95051ff8da1e0f57a7ffbcde0f77c635bfad240 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Thu, 29 Aug 2024 16:42:11 -0600 Subject: [PATCH 33/54] get rid of unused var --- .github/scripts/generate_tests.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/scripts/generate_tests.sh b/.github/scripts/generate_tests.sh index a68c597b09..c8bab2c67f 100755 --- a/.github/scripts/generate_tests.sh +++ b/.github/scripts/generate_tests.sh @@ -1,7 +1,6 @@ #!/bin/bash # Inputs from action.yml -BASE_DIR="." DIRECTORIES=($INPUT_DIRECTORIES) EXCLUDE_DIRS=($INPUT_EXCLUDE_DIRS) From fe2c5a62b3f6a0d3c2c42015ef624568449feaf2 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Thu, 29 Aug 2024 17:03:43 -0600 Subject: [PATCH 34/54] pr fixes --- .github/workflows/build.yml | 16 ++++++++++------ .github/workflows/test.yml | 16 +++++++++------- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0344e6d32f..06a1c69f41 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,16 +10,16 @@ env: DFX_VERSION: 0.21.0 NODE_VERSION: 20 jobs: - get-all-test-dirs: + get-tests: if: ${{ contains(github.head_ref, 'release--') }} - name: Get all test dirs + name: Get tests runs-on: ubuntu-latest outputs: - all_tests: ${{ steps.get_all_tests.outputs.all_tests }} + tests: ${{ steps.get_tests.outputs.tests }} steps: - uses: actions/checkout@v4 - name: Get all test dirs - id: get_all_tests + id: get_tests uses: ./.github/actions/generate_tests with: directories: | @@ -56,7 +56,7 @@ jobs: # Only run this job if it's a release branch. This job will run instead of run-tests and will automatically publish another commit which will be tested if: ${{ !needs.determine-is-manual-release.outputs.is_manual_release }} needs: - - get-all-test-dirs + - get-tests - determine-is-manual-release runs-on: ubuntu-latest env: @@ -67,16 +67,19 @@ jobs: with: ref: ${{ github.event.pull_request.head.ref || github.ref }} token: ${{ secrets.LASTMJS_GITHUB_TOKEN || github.token }} + - uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} registry-url: https://registry.npmjs.org env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Install dfx run: | DFXVM_INIT_YES=true DFX_VERSION=${{ env.DFX_VERSION }} sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" echo "$HOME/.local/share/dfx/bin" >> $GITHUB_PATH + # TODO we should use some Action-specific bot account - name: Configure git for publishing release run: | @@ -85,5 +88,6 @@ jobs: git config --global commit.gpgsign true echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import git config --global user.signingkey C8B77BCBE16CD2B94B43F9C8757397B82D4ED7B0 + - name: Publish release - run: ./.github/scripts/publish_github_action.sh $RELEASE_VERSION ${{ toJSON(needs.get-all-test-dirs.outputs.all_tests).*.path }} + run: ./.github/scripts/publish_github_action.sh $RELEASE_VERSION ${{ toJSON(needs.get-tests.outputs.tests).*.path }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 918f75a952..e4a1192604 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,15 +17,16 @@ env: DFX_VERSION: 0.21.0 NODE_VERSION: 20 jobs: - generate-tests: - name: Generate tests + get-tests: + name: Get tests runs-on: ubuntu-latest outputs: - all_tests: ${{ steps.get_all_tests.outputs.all_tests }} + tests: ${{ steps.get_tests.outputs.tests }} steps: - uses: actions/checkout@v4 - - name: Generate tests - id: get_all_tests + + - name: Get tests + id: get_tests uses: ./.github/actions/generate_tests with: directories: | @@ -50,6 +51,7 @@ jobs: should_run_tests: ${{ steps.determine_should_run_tests.outputs.should_run_tests }} steps: - uses: actions/checkout@v4 + - id: determine_should_run_tests # Determine if tests should run for this pr. If it's a manually submitted release candidate no tests will run. run: | @@ -76,7 +78,7 @@ jobs: name: '${{matrix.tests.name}} | ${{matrix.tests.type}} | ${{matrix.tests.syntax}} | ${{matrix.tests.api}} | ${{matrix.azle_source}}' needs: - determine-should-run-tests - - generate-tests + - get-tests if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} runs-on: ${{ matrix.os }} env: @@ -101,7 +103,7 @@ jobs: - include_npm: true azle_source: repo # If should_run_tests is false, we still want the steps of this job to execute so that check-run-test-success will run. We do this by creating an array with one dummy element - tests: ${{ needs.determine-should-run-tests.outputs.should_run_tests == 'true' && fromJSON(needs.generate-tests.outputs.all_tests) || fromJSON('["dummy"]') }} + tests: ${{ needs.determine-should-run-tests.outputs.should_run_tests == 'true' && fromJSON(needs.get-tests.outputs.tests) || fromJSON('["dummy"]') }} steps: - name: Report full path of test run: echo ${{matrix.tests.path}} From 3ff7ef183805bafa0a5139f7c3596fa2e1d2e425 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Fri, 30 Aug 2024 09:18:57 -0600 Subject: [PATCH 35/54] make sure empty all_directories leads to empty result --- .github/scripts/generate_tests.sh | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/scripts/generate_tests.sh b/.github/scripts/generate_tests.sh index c8bab2c67f..3bde851a58 100755 --- a/.github/scripts/generate_tests.sh +++ b/.github/scripts/generate_tests.sh @@ -79,13 +79,21 @@ done # Initialize an empty variable to store the JSON result json_result="[" -# Sort, filter, and generate JSON objects -while read -r dir; do - if ! is_excluded "$dir"; then - json_result+=$(generate_json "$dir") - json_result+="," - fi -done <<< "$(echo "$all_directories" | sort)" # Feed sorted directories into the loop +if [[ -n "$all_directories" ]]; then # Check if all_directories is not an empty string + while read -r dir; do + if [[ -n "$dir" ]]; then # Check if dir is not an empty string + echo "This is the dir" >&2 + echo "$dir" >&2 + if ! is_excluded "$dir"; then + json_result+=$(generate_json "$dir") + json_result+="," + fi + fi + done <<< "$(echo "$all_directories" | sort)" # Feed sorted directories into the loop + + # Remove the trailing comma from the json_result, if necessary + json_result="${json_result%,}" +fi # Remove the last comma and close the JSON array json_result=$(echo "$json_result" | sed '$ s/,$//') From c410511b4c4ba0c11b8ff09b9b4dbbb340845e58 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Fri, 30 Aug 2024 09:23:04 -0600 Subject: [PATCH 36/54] fix capitalization --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e4a1192604..526eecee19 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -135,7 +135,7 @@ jobs: npm run lint shell: bash -l {0} - - name: Run Pre-Test Test Setup + - name: Run pre-test setup run: | npm install @@ -157,7 +157,7 @@ jobs: working-directory: ${{ matrix.tests.path }} run: dfx start --clean --background --host 127.0.0.1:8000 - - name: Run Test + - name: Run test run: | BRANCH_NAME="${{ github.head_ref }}" MAIN_BRANCH='refs/heads/main' @@ -206,7 +206,7 @@ jobs: # These final jobs are designed to ensure that all jobs spun up from the matrix in the run-test have succeeded check-basic-integration-test-success: - name: Check Azle Tests Succeeded + name: Check Azle tests succeeded needs: run-test runs-on: ubuntu-latest if: success() @@ -214,7 +214,7 @@ jobs: - run: exit 0 check-basic-integration-test-failure: - name: Check Azle Tests Didn't Fail + name: Check Azle tests didn't fail needs: run-test runs-on: ubuntu-latest if: failure() From c30465180000a3a3dddc4d9266993c4c7b5d9436 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Fri, 30 Aug 2024 09:31:30 -0600 Subject: [PATCH 37/54] rename generate_tests --- .github/actions/{generate_tests => get_tests}/action.yml | 8 ++++---- .github/scripts/{generate_tests.sh => get_tests.sh} | 0 .github/workflows/build.yml | 2 +- .github/workflows/test.yml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) rename .github/actions/{generate_tests => get_tests}/action.yml (80%) rename .github/scripts/{generate_tests.sh => get_tests.sh} (100%) diff --git a/.github/actions/generate_tests/action.yml b/.github/actions/get_tests/action.yml similarity index 80% rename from .github/actions/generate_tests/action.yml rename to .github/actions/get_tests/action.yml index 0afd7219ef..d6a1391ccc 100644 --- a/.github/actions/generate_tests/action.yml +++ b/.github/actions/get_tests/action.yml @@ -1,5 +1,5 @@ -name: Generate tests -description: Generates a list of directories of npm projects with an npm test script +name: Get tests +description: Gets a list of directories of npm projects with an npm test script inputs: directories: description: List of directories to search for npm projects with an npm test script @@ -17,13 +17,13 @@ runs: steps: - uses: actions/checkout@v4 - - name: Generate tests + - name: Get tests id: get_tests run: | # Export the input variables to make them available to the script export INPUT_DIRECTORIES="${{ inputs.directories }}" export INPUT_EXCLUDE_DIRS="${{ inputs.exclude_dirs }}" # Run the script - tests=$(./.github/scripts/generate_tests.sh | base64 -d) + tests=$(./.github/scripts/get_tests.sh | base64 -d) echo "tests=${tests}" >> "$GITHUB_OUTPUT" shell: bash diff --git a/.github/scripts/generate_tests.sh b/.github/scripts/get_tests.sh similarity index 100% rename from .github/scripts/generate_tests.sh rename to .github/scripts/get_tests.sh diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 06a1c69f41..7cef006a2a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v4 - name: Get all test dirs id: get_tests - uses: ./.github/actions/generate_tests + uses: ./.github/actions/get_tests with: directories: | ./examples diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 526eecee19..b6aaf50a3f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,7 +27,7 @@ jobs: - name: Get tests id: get_tests - uses: ./.github/actions/generate_tests + uses: ./.github/actions/get_tests with: directories: | ./examples From b4e9f2c801a15187ee1a0c52b4d24fd30aaadd85 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Fri, 30 Aug 2024 09:42:47 -0600 Subject: [PATCH 38/54] variable clean up --- .github/workflows/build.yml | 22 ++++++++-------------- .github/workflows/test.yml | 18 +++++++++--------- 2 files changed, 17 insertions(+), 23 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7cef006a2a..7f793f4079 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,8 +5,6 @@ on: - main pull_request: # Runs on pull requests to any branch env: - IS_RELEASE_CANDIDATE: ${{ contains(github.head_ref, 'release--') }} - IS_FEATURE: ${{ !contains(github.head_ref, 'release--') }} DFX_VERSION: 0.21.0 NODE_VERSION: 20 jobs: @@ -26,38 +24,34 @@ jobs: ./examples ./tests - determine-is-manual-release: + determine-should-release: if: ${{ contains(github.head_ref, 'release--') }} name: Determine if this job is for a manual release runs-on: ubuntu-latest outputs: - is_manual_release: ${{ steps.determine_is_manual_release.outputs.is_manual_release }} + should_release: ${{ steps.determine_should_release.outputs.should_release }} steps: - uses: actions/checkout@v4 - - id: determine_is_manual_release + - id: determine_should_release run: | BRANCH_NAME="${{ github.head_ref }}" RELEASE_VERSION="${BRANCH_NAME:9}" COMMIT_MESSAGE=$(git log -1 --pretty=format:"%s") - IS_AUTOMATED_RELEASE="false" + SHOULD_RELEASE="false" if [[ "$COMMIT_MESSAGE" == "azle-bot automated release $RELEASE_VERSION" ]]; then - IS_AUTOMATED_RELEASE="true" + SHOULD_RELEASE="true" fi - if [[ "$IS_AUTOMATED_RELEASE" == "false" ]]; then - echo "is_manual_release=false" >> "$GITHUB_OUTPUT" - else - echo "is_manual_release=true" >> "$GITHUB_OUTPUT" - fi + echo "should_release=${SHOULD_RELEASE}" >> "$GITHUB_OUTPUT" release-candidate-deploy: name: Deploy release candidate for release branches # Only run this job if it's a release branch. This job will run instead of run-tests and will automatically publish another commit which will be tested - if: ${{ !needs.determine-is-manual-release.outputs.is_manual_release }} + if: ${{ !needs.determine-should-release.outputs.should_release }} needs: - get-tests - - determine-is-manual-release + - determine-should-release runs-on: ubuntu-latest env: GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} # All commits must be verified diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b6aaf50a3f..7f810ba797 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,8 +12,8 @@ on: - main pull_request: # Runs on pull requests to any branch env: - IS_RELEASE_CANDIDATE: ${{ contains(github.head_ref, 'release--') }} - IS_FEATURE: ${{ !contains(github.head_ref, 'release--') }} + IS_RELEASE: ${{ contains(github.head_ref, 'release--') }} + IS_FEATURE_BRANCH_PR: ${{ !contains(github.head_ref, 'release--') }} DFX_VERSION: 0.21.0 NODE_VERSION: 20 jobs: @@ -33,7 +33,7 @@ jobs: ./examples ./tests exclude_dirs: | - ${{ env.IS_FEATURE == 'true' && format(' + ${{ env.IS_FEATURE_BRANCH_PR == 'true' && format(' ./examples/basic_bitcoin ./examples/bitcoin_psbt ./examples/ckbtc @@ -64,7 +64,7 @@ jobs: IS_AUTOMATED_RELEASE="true" fi - if [[ "${{env.IS_RELEASE_CANDIDATE}}" == "true" && "$IS_AUTOMATED_RELEASE" == "false" ]]; then + if [[ "${{env.IS_RELEASE}}" == "true" && "$IS_AUTOMATED_RELEASE" == "false" ]]; then echo "should_run_tests=false" >> "$GITHUB_OUTPUT" else echo "should_run_tests=true" >> "$GITHUB_OUTPUT" @@ -148,12 +148,12 @@ jobs: shell: bash -l {0} - name: Start dfx - if: ${{ !env.IS_RELEASE_CANDIDATE }} + if: ${{ !env.IS_RELEASE }} working-directory: ${{ matrix.tests.path }} run: dfx start --clean --background --host 127.0.0.1:8000 --artificial-delay 0 - name: Start dfx with artifical delay - if: ${{ env.IS_RELEASE_CANDIDATE }} + if: ${{ env.IS_RELEASE }} working-directory: ${{ matrix.tests.path }} run: dfx start --clean --background --host 127.0.0.1:8000 @@ -166,15 +166,15 @@ jobs: RELEASE_PR_MERGE_MSG='Merge pull request' RELEASE_REPO_MSG='demergent-labs/release--' - IS_FEATURE_PR=true + IS_FEATURE_BRANCH_PR_PR=true IS_RELEASE_PR=false IS_MERGE_TO_MAIN_FROM_RELEASE=false # Check if it's a feature pull request if [[ $BRANCH_NAME != *"$RELEASE_TAG"* && ${{ github.ref }} != "$MAIN_BRANCH" && !($COMMIT_MESSAGE == *"$RELEASE_PR_MERGE_MSG"* && $COMMIT_MESSAGE == *"$RELEASE_REPO_MSG"*) ]]; then - IS_FEATURE_PR=true + IS_FEATURE_BRANCH_PR_PR=true else - IS_FEATURE_PR=false + IS_FEATURE_BRANCH_PR_PR=false fi # Check if it's a release candidate pull request From 8e3dac1c3f57ca97c30d8364fbf1970fd899063e Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Fri, 30 Aug 2024 09:42:58 -0600 Subject: [PATCH 39/54] test commit message --- .github/workflows/test.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7f810ba797..d82acfe1e3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,6 +17,14 @@ env: DFX_VERSION: 0.21.0 NODE_VERSION: 20 jobs: + test-commit-message: + runs-on: ubuntu-latest + steps: + - run: | + echo "perfered message" + echo \"${{ github.event.head_commit.message }}\" + echo "back up" + $(git log -1 --pretty=format:"%s") get-tests: name: Get tests runs-on: ubuntu-latest From e86a15731e20642ac3d42aeeb16417c1792fb5a5 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Fri, 30 Aug 2024 10:12:46 -0600 Subject: [PATCH 40/54] pr fixes --- .github/workflows/build.yml | 2 ++ .github/workflows/test.yml | 16 ---------------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7f793f4079..d44d648952 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,6 +16,7 @@ jobs: tests: ${{ steps.get_tests.outputs.tests }} steps: - uses: actions/checkout@v4 + - name: Get all test dirs id: get_tests uses: ./.github/actions/get_tests @@ -32,6 +33,7 @@ jobs: should_release: ${{ steps.determine_should_release.outputs.should_release }} steps: - uses: actions/checkout@v4 + - id: determine_should_release run: | BRANCH_NAME="${{ github.head_ref }}" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d82acfe1e3..10c31e070f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,14 +17,6 @@ env: DFX_VERSION: 0.21.0 NODE_VERSION: 20 jobs: - test-commit-message: - runs-on: ubuntu-latest - steps: - - run: | - echo "perfered message" - echo \"${{ github.event.head_commit.message }}\" - echo "back up" - $(git log -1 --pretty=format:"%s") get-tests: name: Get tests runs-on: ubuntu-latest @@ -174,17 +166,9 @@ jobs: RELEASE_PR_MERGE_MSG='Merge pull request' RELEASE_REPO_MSG='demergent-labs/release--' - IS_FEATURE_BRANCH_PR_PR=true IS_RELEASE_PR=false IS_MERGE_TO_MAIN_FROM_RELEASE=false - # Check if it's a feature pull request - if [[ $BRANCH_NAME != *"$RELEASE_TAG"* && ${{ github.ref }} != "$MAIN_BRANCH" && !($COMMIT_MESSAGE == *"$RELEASE_PR_MERGE_MSG"* && $COMMIT_MESSAGE == *"$RELEASE_REPO_MSG"*) ]]; then - IS_FEATURE_BRANCH_PR_PR=true - else - IS_FEATURE_BRANCH_PR_PR=false - fi - # Check if it's a release candidate pull request if [[ $BRANCH_NAME == *"$RELEASE_TAG"* && ${{ github.ref }} != "$MAIN_BRANCH" && !($COMMIT_MESSAGE == *"$RELEASE_PR_MERGE_MSG"* && $COMMIT_MESSAGE == *"$RELEASE_REPO_MSG"*) ]]; then IS_RELEASE_PR=true From 3772934514856165fefeae0193a45293a0211744 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Fri, 30 Aug 2024 10:13:16 -0600 Subject: [PATCH 41/54] rename build workflow --- .github/workflows/{build.yml => release_candidate_deploy.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{build.yml => release_candidate_deploy.yml} (100%) diff --git a/.github/workflows/build.yml b/.github/workflows/release_candidate_deploy.yml similarity index 100% rename from .github/workflows/build.yml rename to .github/workflows/release_candidate_deploy.yml From e7581083418f2f8135b04548daf7881989378c92 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Fri, 30 Aug 2024 10:16:08 -0600 Subject: [PATCH 42/54] rename to release candidate deploy --- .../workflows/{release_candidate_deploy.yml => release.yml} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename .github/workflows/{release_candidate_deploy.yml => release.yml} (97%) diff --git a/.github/workflows/release_candidate_deploy.yml b/.github/workflows/release.yml similarity index 97% rename from .github/workflows/release_candidate_deploy.yml rename to .github/workflows/release.yml index d44d648952..367ea4a8ee 100644 --- a/.github/workflows/release_candidate_deploy.yml +++ b/.github/workflows/release.yml @@ -47,8 +47,8 @@ jobs: echo "should_release=${SHOULD_RELEASE}" >> "$GITHUB_OUTPUT" - release-candidate-deploy: - name: Deploy release candidate for release branches + release: + name: Deploy release # Only run this job if it's a release branch. This job will run instead of run-tests and will automatically publish another commit which will be tested if: ${{ !needs.determine-should-release.outputs.should_release }} needs: From a98b9cacddaf9fc1d9567dcde6a65bc88af1335c Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Fri, 30 Aug 2024 10:43:28 -0600 Subject: [PATCH 43/54] move should release to it's own action --- .github/actions/should_release/action.yml | 27 +++++++++++++++++++++++ .github/workflows/release.yml | 14 ++---------- .github/workflows/test.yml | 25 +++++---------------- 3 files changed, 35 insertions(+), 31 deletions(-) create mode 100644 .github/actions/should_release/action.yml diff --git a/.github/actions/should_release/action.yml b/.github/actions/should_release/action.yml new file mode 100644 index 0000000000..ccc14e6295 --- /dev/null +++ b/.github/actions/should_release/action.yml @@ -0,0 +1,27 @@ +# TODO I feel like the wording on this is a little clunky and/or ethereal. +# TODO we have is release vs should release and I don't feel like it's clear what the answer is +name: Should release +description: Determines if the current workflow should spawn a something that Jordan can figure out the wording for +outputs: + should_release: + description: Returns true if this branch needs should spawn a something that Jordan can figure out the wording for, otherwise false + value: ${{ steps.determine_should_release.outputs.should_release }} +runs: + using: composite + steps: + - uses: actions/checkout@v4 + + - id: determine_should_release + run: | + BRANCH_NAME="${{ github.head_ref }}" + RELEASE_VERSION="${BRANCH_NAME:9}" + COMMIT_MESSAGE=$(git log -1 --pretty=format:"%s") + IS_RELEASE = ${{ contains(github.head_ref, 'release--') }} + + SHOULD_RELEASE="false" + if [[ "$COMMIT_MESSAGE" == "azle-bot automated release $RELEASE_VERSION" ]]; then + SHOULD_RELEASE="true" + fi + + echo "should_release=${SHOULD_RELEASE}" >> "$GITHUB_OUTPUT" + shell: bash diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 367ea4a8ee..a777af6c95 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: determine-should-release: if: ${{ contains(github.head_ref, 'release--') }} - name: Determine if this job is for a manual release + name: Determine if this branch should release runs-on: ubuntu-latest outputs: should_release: ${{ steps.determine_should_release.outputs.should_release }} @@ -35,17 +35,7 @@ jobs: - uses: actions/checkout@v4 - id: determine_should_release - run: | - BRANCH_NAME="${{ github.head_ref }}" - RELEASE_VERSION="${BRANCH_NAME:9}" - COMMIT_MESSAGE=$(git log -1 --pretty=format:"%s") - - SHOULD_RELEASE="false" - if [[ "$COMMIT_MESSAGE" == "azle-bot automated release $RELEASE_VERSION" ]]; then - SHOULD_RELEASE="true" - fi - - echo "should_release=${SHOULD_RELEASE}" >> "$GITHUB_OUTPUT" + uses: ./.github/actions/should_release release: name: Deploy release diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 10c31e070f..c32178ca6e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -48,27 +48,14 @@ jobs: name: Determine if tests should run runs-on: ubuntu-latest outputs: - should_run_tests: ${{ steps.determine_should_run_tests.outputs.should_run_tests }} + # If the branch should release then it shouldn't run tests. + should_run_tests: ${{ !steps.determine_should_run_tests.outputs.should_release }} steps: - uses: actions/checkout@v4 - - id: determine_should_run_tests - # Determine if tests should run for this pr. If it's a manually submitted release candidate no tests will run. - run: | - BRANCH_NAME="${{ github.head_ref }}" - RELEASE_VERSION="${BRANCH_NAME:9}" - COMMIT_MESSAGE=$(git log -1 --pretty=format:"%s") - - IS_AUTOMATED_RELEASE="false" - if [[ "$COMMIT_MESSAGE" == "azle-bot automated release $RELEASE_VERSION" ]]; then - IS_AUTOMATED_RELEASE="true" - fi - - if [[ "${{env.IS_RELEASE}}" == "true" && "$IS_AUTOMATED_RELEASE" == "false" ]]; then - echo "should_run_tests=false" >> "$GITHUB_OUTPUT" - else - echo "should_run_tests=true" >> "$GITHUB_OUTPUT" - fi + - name: Should release + id: determine_should_run_tests + uses: ./.github/actions/should_release run-test: # Tests can either run against the current code of Azle found in the repository, or the code deployed by the GitHub Action to npm. @@ -152,7 +139,7 @@ jobs: working-directory: ${{ matrix.tests.path }} run: dfx start --clean --background --host 127.0.0.1:8000 --artificial-delay 0 - - name: Start dfx with artifical delay + - name: Start dfx with artifcial delay if: ${{ env.IS_RELEASE }} working-directory: ${{ matrix.tests.path }} run: dfx start --clean --background --host 127.0.0.1:8000 From 4fc40610e73a51fd42780d0ae5e4491e3788d041 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Fri, 30 Aug 2024 13:43:50 -0600 Subject: [PATCH 44/54] clean up and stabilize should run action --- .github/actions/should_release/action.yml | 4 ++-- .github/scripts/get_tests.sh | 2 -- .github/workflows/test.yml | 20 +++++++------------- 3 files changed, 9 insertions(+), 17 deletions(-) diff --git a/.github/actions/should_release/action.yml b/.github/actions/should_release/action.yml index ccc14e6295..1109ba32ff 100644 --- a/.github/actions/should_release/action.yml +++ b/.github/actions/should_release/action.yml @@ -16,10 +16,10 @@ runs: BRANCH_NAME="${{ github.head_ref }}" RELEASE_VERSION="${BRANCH_NAME:9}" COMMIT_MESSAGE=$(git log -1 --pretty=format:"%s") - IS_RELEASE = ${{ contains(github.head_ref, 'release--') }} + IS_RELEASE="${{ contains(github.head_ref, 'release--') }}" SHOULD_RELEASE="false" - if [[ "$COMMIT_MESSAGE" == "azle-bot automated release $RELEASE_VERSION" ]]; then + if [[ $IS_RELEASE == "true" && "$COMMIT_MESSAGE" == "azle-bot automated release $RELEASE_VERSION" ]]; then SHOULD_RELEASE="true" fi diff --git a/.github/scripts/get_tests.sh b/.github/scripts/get_tests.sh index 3bde851a58..cc34aa7695 100755 --- a/.github/scripts/get_tests.sh +++ b/.github/scripts/get_tests.sh @@ -82,8 +82,6 @@ json_result="[" if [[ -n "$all_directories" ]]; then # Check if all_directories is not an empty string while read -r dir; do if [[ -n "$dir" ]]; then # Check if dir is not an empty string - echo "This is the dir" >&2 - echo "$dir" >&2 if ! is_excluded "$dir"; then json_result+=$(generate_json "$dir") json_result+="," diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c32178ca6e..7ff76da156 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,8 +3,6 @@ # These tests are currently written in TypeScript and are intended to be run in a Node.js environment. # This GitHub Action takes care of deploying to npm and GitHub. -# TODO give every step a name - name: Tests on: push: @@ -53,15 +51,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Should release - id: determine_should_run_tests + - id: determine_should_run_tests uses: ./.github/actions/should_release run-test: - # Tests can either run against the current code of Azle found in the repository, or the code deployed by the GitHub Action to npm. - # Feature branch pull requests (pull requests without release-- in the base branch name) will run all tests against the code found in the repository. - # Release branch pull requests (pull requests with release-- in the base branch name) will run all tests against the code found in the repository and the code deployed by the GitHub Action to npm. - # Pushes to main will run all tests against the code in the repository if the latest commit was not a merge of a release branch, and will run tests against the code in the repository and the code deployed by the GitHub Action to npm otherwise. name: '${{matrix.tests.name}} | ${{matrix.tests.type}} | ${{matrix.tests.syntax}} | ${{matrix.tests.api}} | ${{matrix.azle_source}}' needs: - determine-should-run-tests @@ -90,9 +83,10 @@ jobs: - include_npm: true azle_source: repo # If should_run_tests is false, we still want the steps of this job to execute so that check-run-test-success will run. We do this by creating an array with one dummy element - tests: ${{ needs.determine-should-run-tests.outputs.should_run_tests == 'true' && fromJSON(needs.get-tests.outputs.tests) || fromJSON('["dummy"]') }} + tests: ${{ fromJSON(needs.get-tests.outputs.tests) }} steps: - name: Report full path of test + # Just in case the path isn't obvious from the name, this will remove ambiguity run: echo ${{matrix.tests.path}} - uses: actions/checkout@v4 @@ -101,7 +95,7 @@ jobs: with: node-version: ${{ env.NODE_VERSION }} - - name: Run Pre-Test Azle Setup + - name: Run pre-test Azle setup run: | # Install dfx @@ -122,7 +116,7 @@ jobs: npm run lint shell: bash -l {0} - - name: Run pre-test setup + - name: Run pre-test setup for ${{ matrix.tests.name }} run: | npm install @@ -184,7 +178,7 @@ jobs: working-directory: ${{ matrix.tests.path }} # These final jobs are designed to ensure that all jobs spun up from the matrix in the run-test have succeeded - check-basic-integration-test-success: + check-test-success: name: Check Azle tests succeeded needs: run-test runs-on: ubuntu-latest @@ -192,7 +186,7 @@ jobs: steps: - run: exit 0 - check-basic-integration-test-failure: + check-test-failure: name: Check Azle tests didn't fail needs: run-test runs-on: ubuntu-latest From e86715e4cb57dae4893c1812021f5f1785ea54d7 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Fri, 30 Aug 2024 14:03:28 -0600 Subject: [PATCH 45/54] pr fixes --- .github/actions/should_release/action.yml | 8 ++++---- .github/workflows/test.yml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/actions/should_release/action.yml b/.github/actions/should_release/action.yml index 1109ba32ff..805bc9715d 100644 --- a/.github/actions/should_release/action.yml +++ b/.github/actions/should_release/action.yml @@ -1,10 +1,10 @@ # TODO I feel like the wording on this is a little clunky and/or ethereal. # TODO we have is release vs should release and I don't feel like it's clear what the answer is name: Should release -description: Determines if the current workflow should spawn a something that Jordan can figure out the wording for +description: Determines if the current pull request is for testing or for starting a release outputs: should_release: - description: Returns true if this branch needs should spawn a something that Jordan can figure out the wording for, otherwise false + description: Returns true if this branch should start a release, otherwise false value: ${{ steps.determine_should_release.outputs.should_release }} runs: using: composite @@ -16,10 +16,10 @@ runs: BRANCH_NAME="${{ github.head_ref }}" RELEASE_VERSION="${BRANCH_NAME:9}" COMMIT_MESSAGE=$(git log -1 --pretty=format:"%s") - IS_RELEASE="${{ contains(github.head_ref, 'release--') }}" + IS_RELEASE_BRANCH_PR="${{ contains(github.head_ref, 'release--') }}" SHOULD_RELEASE="false" - if [[ $IS_RELEASE == "true" && "$COMMIT_MESSAGE" == "azle-bot automated release $RELEASE_VERSION" ]]; then + if [[ $IS_RELEASE_BRANCH_PR == "true" && "$COMMIT_MESSAGE" == "azle-bot automated release $RELEASE_VERSION" ]]; then SHOULD_RELEASE="true" fi diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7ff76da156..a49b2594a5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ on: - main pull_request: # Runs on pull requests to any branch env: - IS_RELEASE: ${{ contains(github.head_ref, 'release--') }} + IS_RELEASE_BRANCH_PR: ${{ contains(github.head_ref, 'release--') }} IS_FEATURE_BRANCH_PR: ${{ !contains(github.head_ref, 'release--') }} DFX_VERSION: 0.21.0 NODE_VERSION: 20 @@ -129,12 +129,12 @@ jobs: shell: bash -l {0} - name: Start dfx - if: ${{ !env.IS_RELEASE }} + if: ${{ env.IS_FEATURE_BRANCH_PR }} working-directory: ${{ matrix.tests.path }} run: dfx start --clean --background --host 127.0.0.1:8000 --artificial-delay 0 - name: Start dfx with artifcial delay - if: ${{ env.IS_RELEASE }} + if: ${{ env.IS_RELEASE_BRANCH_PR }} working-directory: ${{ matrix.tests.path }} run: dfx start --clean --background --host 127.0.0.1:8000 From bc5b66625b29bf711673de8b28d817246e88264e Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Fri, 30 Aug 2024 14:26:42 -0600 Subject: [PATCH 46/54] simplify logic for num runs --- .github/workflows/test.yml | 30 ++++-------------------------- 1 file changed, 4 insertions(+), 26 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a49b2594a5..1d1fdc3744 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,6 +10,7 @@ on: - main pull_request: # Runs on pull requests to any branch env: + IS_MAIN_BRANCH: ${{ github.ref == 'refs/heads/main' }} IS_RELEASE_BRANCH_PR: ${{ contains(github.head_ref, 'release--') }} IS_FEATURE_BRANCH_PR: ${{ !contains(github.head_ref, 'release--') }} DFX_VERSION: 0.21.0 @@ -140,34 +141,11 @@ jobs: - name: Run test run: | - BRANCH_NAME="${{ github.head_ref }}" - MAIN_BRANCH='refs/heads/main' - COMMIT_MESSAGE="${{ github.event.head_commit.message }}" - RELEASE_TAG='release--' - RELEASE_PR_MERGE_MSG='Merge pull request' - RELEASE_REPO_MSG='demergent-labs/release--' - - IS_RELEASE_PR=false - IS_MERGE_TO_MAIN_FROM_RELEASE=false - - # Check if it's a release candidate pull request - if [[ $BRANCH_NAME == *"$RELEASE_TAG"* && ${{ github.ref }} != "$MAIN_BRANCH" && !($COMMIT_MESSAGE == *"$RELEASE_PR_MERGE_MSG"* && $COMMIT_MESSAGE == *"$RELEASE_REPO_MSG"*) ]]; then - IS_RELEASE_PR=true - else - IS_RELEASE_PR=false - fi - - # Check if it's a merge from a release candidate into main - if [[ ${{ github.ref }} == "$MAIN_BRANCH" && $COMMIT_MESSAGE == *"$RELEASE_PR_MERGE_MSG"* && $COMMIT_MESSAGE == *"$RELEASE_REPO_MSG"* ]]; then - IS_MERGE_TO_MAIN_FROM_RELEASE=true - else - IS_MERGE_TO_MAIN_FROM_RELEASE=false - fi + IS_MERGE_TO_MAIN_FROM_RELEASE=${{ env.IS_MAIN_BRANCH && contains(github.event.head_commit.message, 'Merge pull request') && contains(github.event.head_commit.message, 'demergent-labs/release--') }} - # Determine the number of runs based on the conditions - if [[ $IS_MERGE_TO_MAIN_FROM_RELEASE == true ]]; then + if $IS_MERGE_TO_MAIN_FROM_RELEASE; then RUNS=100 - elif [[ $IS_RELEASE_PR == true ]]; then + elif ${{ env.IS_RELEASE_BRANCH_PR && !env.IS_MAIN_BRANCH }}; then RUNS=10 else RUNS=5 From 0e319a46a3bc319da3293913a5ced92c7b02fe05 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Fri, 30 Aug 2024 14:29:13 -0600 Subject: [PATCH 47/54] move configurable options to the top of the env --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1d1fdc3744..61f510e2d6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,11 +10,11 @@ on: - main pull_request: # Runs on pull requests to any branch env: + DFX_VERSION: 0.21.0 + NODE_VERSION: 20 IS_MAIN_BRANCH: ${{ github.ref == 'refs/heads/main' }} IS_RELEASE_BRANCH_PR: ${{ contains(github.head_ref, 'release--') }} IS_FEATURE_BRANCH_PR: ${{ !contains(github.head_ref, 'release--') }} - DFX_VERSION: 0.21.0 - NODE_VERSION: 20 jobs: get-tests: name: Get tests From 50f898ce04e2a4c14e3b94e462389a54b2ad2ab0 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Fri, 30 Aug 2024 15:36:25 -0600 Subject: [PATCH 48/54] update env logic --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 61f510e2d6..def489df13 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -130,22 +130,22 @@ jobs: shell: bash -l {0} - name: Start dfx - if: ${{ env.IS_FEATURE_BRANCH_PR }} + if: ${{ env.IS_FEATURE_BRANCH_PR == 'true' }} working-directory: ${{ matrix.tests.path }} run: dfx start --clean --background --host 127.0.0.1:8000 --artificial-delay 0 - name: Start dfx with artifcial delay - if: ${{ env.IS_RELEASE_BRANCH_PR }} + if: ${{ env.IS_RELEASE_BRANCH_PR == 'true' }} working-directory: ${{ matrix.tests.path }} run: dfx start --clean --background --host 127.0.0.1:8000 - name: Run test run: | - IS_MERGE_TO_MAIN_FROM_RELEASE=${{ env.IS_MAIN_BRANCH && contains(github.event.head_commit.message, 'Merge pull request') && contains(github.event.head_commit.message, 'demergent-labs/release--') }} + IS_MERGE_TO_MAIN_FROM_RELEASE=${{ env.IS_MAIN_BRANCH == 'true' && contains(github.event.head_commit.message, 'Merge pull request') && contains(github.event.head_commit.message, 'demergent-labs/release--') }} if $IS_MERGE_TO_MAIN_FROM_RELEASE; then RUNS=100 - elif ${{ env.IS_RELEASE_BRANCH_PR && !env.IS_MAIN_BRANCH }}; then + elif ${{ env.IS_RELEASE_BRANCH_PR == 'true' && env.IS_MAIN_BRANCH == 'false' }}; then RUNS=10 else RUNS=5 From 34c93b7a41849241ddf0dbe0c5941cf3177da1c6 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Thu, 29 Aug 2024 16:19:00 -0600 Subject: [PATCH 49/54] fix logic --- .github/actions/should_release/action.yml | 2 +- .github/workflows/release.yml | 9 ++++++--- .github/workflows/test.yml | 4 ++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/actions/should_release/action.yml b/.github/actions/should_release/action.yml index 805bc9715d..10211c1837 100644 --- a/.github/actions/should_release/action.yml +++ b/.github/actions/should_release/action.yml @@ -19,7 +19,7 @@ runs: IS_RELEASE_BRANCH_PR="${{ contains(github.head_ref, 'release--') }}" SHOULD_RELEASE="false" - if [[ $IS_RELEASE_BRANCH_PR == "true" && "$COMMIT_MESSAGE" == "azle-bot automated release $RELEASE_VERSION" ]]; then + if [[ $IS_RELEASE_BRANCH_PR == "true" && "$COMMIT_MESSAGE" != "azle-bot automated release $RELEASE_VERSION" ]]; then SHOULD_RELEASE="true" fi diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a777af6c95..75ad85b058 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Deploy release candidate +name: Release on: push: branches: @@ -40,7 +40,7 @@ jobs: release: name: Deploy release # Only run this job if it's a release branch. This job will run instead of run-tests and will automatically publish another commit which will be tested - if: ${{ !needs.determine-should-release.outputs.should_release }} + if: ${{ needs.determine-should-release.outputs.should_release == 'true' }} needs: - get-tests - determine-should-release @@ -76,4 +76,7 @@ jobs: git config --global user.signingkey C8B77BCBE16CD2B94B43F9C8757397B82D4ED7B0 - name: Publish release - run: ./.github/scripts/publish_github_action.sh $RELEASE_VERSION ${{ toJSON(needs.get-tests.outputs.tests).*.path }} + run: | + BRANCH_NAME="${{ github.head_ref }}" + RELEASE_VERSION="${BRANCH_NAME:9}" + ./.github/scripts/publish_github_action.sh $RELEASE_VERSION ${{ toJSON(needs.get-tests.outputs.tests.*.path) }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index def489df13..9022850c1d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -48,7 +48,7 @@ jobs: runs-on: ubuntu-latest outputs: # If the branch should release then it shouldn't run tests. - should_run_tests: ${{ !steps.determine_should_run_tests.outputs.should_release }} + should_run_tests: ${{ steps.determine_should_run_tests.outputs.should_release == 'false' }} steps: - uses: actions/checkout@v4 @@ -60,7 +60,7 @@ jobs: needs: - determine-should-run-tests - get-tests - if: ${{ needs.determine-should-run-tests.outputs.should_run_tests }} + if: ${{ needs.determine-should-run-tests.outputs.should_run_tests == 'true' }} runs-on: ${{ matrix.os }} env: ETHEREUM_URL: ${{ secrets.ETHEREUM_URL }} From ffdbf70ddbd41f2a72abfbd8b230aea90d180f80 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Thu, 5 Sep 2024 14:26:25 -0600 Subject: [PATCH 50/54] add ref to checkout --- .github/actions/should_release/action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/actions/should_release/action.yml b/.github/actions/should_release/action.yml index 10211c1837..79cf2ab6da 100644 --- a/.github/actions/should_release/action.yml +++ b/.github/actions/should_release/action.yml @@ -10,6 +10,8 @@ runs: using: composite steps: - uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.ref }} # This is necessary for this job to be able to get the correct commit message from `git log` - id: determine_should_release run: | From 660984d3c7c6d399e1f073b8bdd6414c3b6af2a0 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Thu, 5 Sep 2024 15:32:49 -0600 Subject: [PATCH 51/54] checkout outputs --- .github/scripts/get_tests.sh | 1 + .github/scripts/publish_github_action.sh | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/scripts/get_tests.sh b/.github/scripts/get_tests.sh index cc34aa7695..8c717e6f07 100755 --- a/.github/scripts/get_tests.sh +++ b/.github/scripts/get_tests.sh @@ -74,6 +74,7 @@ generate_json() { all_directories="" for dir in "${DIRECTORIES[@]}"; do all_directories+=$(discover_directories "$dir") + all_directories+=$'\n' done # Initialize an empty variable to store the JSON result diff --git a/.github/scripts/publish_github_action.sh b/.github/scripts/publish_github_action.sh index 95f6aad775..aedc2e59b3 100755 --- a/.github/scripts/publish_github_action.sh +++ b/.github/scripts/publish_github_action.sh @@ -8,7 +8,7 @@ VERSION=$1 directories_json_string_with_linebreaks=$2 directories_json_string="${directories_json_string_with_linebreaks//$'\\n'/''}" -directories=$(echo "$directories_json_string" | jq -c -r '.[]') +directories=$(echo "$directories_json_string" | jq -c -r '.[] | .path') sed -E -i "s/(\"version\": \")(.*)(\")/\1$VERSION\3/" package.json sed -E -i "s/(\"version\": \")(.*)(\")/\1$VERSION\3/" dfx_extension/extension.json diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 75ad85b058..dc3ae742d3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -79,4 +79,4 @@ jobs: run: | BRANCH_NAME="${{ github.head_ref }}" RELEASE_VERSION="${BRANCH_NAME:9}" - ./.github/scripts/publish_github_action.sh $RELEASE_VERSION ${{ toJSON(needs.get-tests.outputs.tests.*.path) }} + ./.github/scripts/publish_github_action.sh $RELEASE_VERSION ${{ toJSON(needs.get-tests.outputs.tests) }} From 7a6828fe64fa32eb4d69bcbbf6c79af8be77e11c Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Fri, 6 Sep 2024 10:34:43 -0600 Subject: [PATCH 52/54] use javascript for json generation --- .github/actions/get_tests/action.yml | 10 +- .github/actions/get_tests/generate_json.js | 57 +++++++++++ .github/actions/get_tests/get_tests.sh | 41 ++++++++ .github/scripts/get_tests.sh | 109 --------------------- 4 files changed, 107 insertions(+), 110 deletions(-) create mode 100644 .github/actions/get_tests/generate_json.js create mode 100755 .github/actions/get_tests/get_tests.sh delete mode 100755 .github/scripts/get_tests.sh diff --git a/.github/actions/get_tests/action.yml b/.github/actions/get_tests/action.yml index d6a1391ccc..ef0055d6af 100644 --- a/.github/actions/get_tests/action.yml +++ b/.github/actions/get_tests/action.yml @@ -8,6 +8,10 @@ inputs: description: List of directories to exclude from the search required: false default: '' + node_version: + description: The version of Node.js to use + required: true + default: '20.x' outputs: tests: description: All of the tests found by this action @@ -17,6 +21,10 @@ runs: steps: - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: ${{ inputs.node_version }} + - name: Get tests id: get_tests run: | @@ -24,6 +32,6 @@ runs: export INPUT_DIRECTORIES="${{ inputs.directories }}" export INPUT_EXCLUDE_DIRS="${{ inputs.exclude_dirs }}" # Run the script - tests=$(./.github/scripts/get_tests.sh | base64 -d) + tests=$(./.github/actions/get_tests/get_tests.sh | base64 -d) echo "tests=${tests}" >> "$GITHUB_OUTPUT" shell: bash diff --git a/.github/actions/get_tests/generate_json.js b/.github/actions/get_tests/generate_json.js new file mode 100644 index 0000000000..fc46d398b1 --- /dev/null +++ b/.github/actions/get_tests/generate_json.js @@ -0,0 +1,57 @@ +import { basename } from 'path'; + +// Function to check if a directory is excluded +function isExcluded(dir, excludeDirs) { + return excludeDirs.some((exclude) => dir.includes(exclude)); +} + +// Function to generate JSON object for each directory +function generateJson(dir) { + const name = basename(dir); + let type = ''; + let syntax = ''; + let api = ''; + + if (dir.includes('/examples/')) { + type = 'ex'; + } else if (dir.includes('/property/')) { + type = 'prop'; + if (dir.includes('/candid_rpc/')) { + syntax = 'crpc'; + if (dir.includes('/functional_api/')) { + api = 'functional'; + } else if (dir.includes('/class_api/')) { + api = 'class'; + } + } else if (dir.includes('/ic_api/')) { + syntax = 'ic_api'; + } + } else if (dir.includes('/end_to_end/')) { + type = 'e2e'; + if (dir.includes('/http_server/')) { + syntax = 'http'; + } else if (dir.includes('/candid_rpc/')) { + syntax = 'crpc'; + } + } + + return { + path: dir, + name: name, + type: type, + ...(syntax && { syntax: syntax }), + ...(api && { api: api }) + }; +} + +// Get input from the command-line arguments +const directories = process.argv[2].split(' ').filter((path) => path !== ''); +const excludeDirs = process.argv[3].split(',').filter((path) => path !== ''); + +// Filter directories and generate JSON +const jsonArray = directories + .filter((dir) => dir && !isExcluded(dir, excludeDirs)) + .map((dir) => generateJson(dir)); + +// Output the final JSON string +console.log(JSON.stringify(jsonArray)); diff --git a/.github/actions/get_tests/get_tests.sh b/.github/actions/get_tests/get_tests.sh new file mode 100755 index 0000000000..ff9f8f3a7d --- /dev/null +++ b/.github/actions/get_tests/get_tests.sh @@ -0,0 +1,41 @@ +#!/bin/bash + +# Inputs from action.yml or environment variables +DIRECTORIES=($INPUT_DIRECTORIES) +EXCLUDE_DIRS=($INPUT_EXCLUDE_DIRS) + +# Function to discover test directories +discover_directories() { + local dir=$1 + find "$dir" -type d -not -path "*/node_modules/*" -exec sh -c ' + for pkg in "$@"; do + if [ -f "$pkg/package.json" ]; then + if jq -e ".scripts.test" "$pkg/package.json" > /dev/null; then + echo "$pkg" + fi + fi + done + ' sh {} + +} + +# Discover directories in the provided directories, excluding specified directories +all_directories="" +for dir in "${DIRECTORIES[@]}"; do + all_directories+=$(discover_directories "$dir") + all_directories+=$'\n' +done + +# Prepare the data to be passed into the JavaScript script +sorted_directories=$(echo "$all_directories" | sort | tr '\n' ' ') # Convert into a space-separated string +exclude_dirs=$(IFS=, ; echo "${EXCLUDE_DIRS[*]}") # Convert array to comma-separated + +# Call the JavaScript script with input directories and excluded directories +json_result=$(node .github/actions/get_tests/generate_json.js "$sorted_directories" "$exclude_dirs") + +# Format the result +result="${json_result//'%'/'%25'}" +result="${result//$'\n'/'%0A'}" +result="${result//$'\r'/'%0D'}" + +# Output the final result as base64 +echo "$result" | base64 diff --git a/.github/scripts/get_tests.sh b/.github/scripts/get_tests.sh deleted file mode 100755 index 8c717e6f07..0000000000 --- a/.github/scripts/get_tests.sh +++ /dev/null @@ -1,109 +0,0 @@ -#!/bin/bash - -# Inputs from action.yml -DIRECTORIES=($INPUT_DIRECTORIES) -EXCLUDE_DIRS=($INPUT_EXCLUDE_DIRS) - -# Function to discover test directories -discover_directories() { - local dir=$1 - find "$dir" -type d -not -path "*/node_modules/*" -exec sh -c ' - for pkg in "$@"; do - if [ -f "$pkg/package.json" ]; then - if jq -e ".scripts.test" "$pkg/package.json" > /dev/null; then - echo "$pkg" - fi - fi - done - ' sh {} + -} - -# Function to check if a directory is excluded -is_excluded() { - local dir=$1 - for exclude in "${EXCLUDE_DIRS[@]}"; do - if [[ "$dir" == *"$exclude"* ]]; then - return 0 - fi - done - return 1 -} - -# Generate JSON object for each directory -generate_json() { - local dir=$1 - local name=$(basename "$dir") - local type="" - local syntax="" - local api="" - - if [[ "$dir" == *"/examples/"* ]]; then - type="ex" - elif [[ "$dir" == *"/property/"* ]]; then - type="prop" - if [[ "$dir" == *"/candid_rpc/"* ]]; then - syntax="crpc" - if [[ "$dir" == *"/functional_api/"* ]]; then - api="functional" - elif [[ "$dir" == *"/class_api/"* ]]; then - api="class" - fi - elif [[ "$dir" == *"/ic_api/"* ]]; then - syntax="ic_api" - fi - elif [[ "$dir" == *"/end_to_end/"* ]]; then - type="e2e" - if [[ "$dir" == *"/http_server/"* ]]; then - syntax="http" - elif [[ "$dir" == *"/candid_rpc/"* ]]; then - syntax="crpc" - fi - fi - - # Construct JSON object - echo "{" - echo "\"path\":\"$dir\"," - echo "\"name\":\"$name\"," - echo "\"type\":\"$type\"" - [[ -n "$syntax" ]] && echo ",\"syntax\":\"$syntax\"" - [[ -n "$api" ]] && echo ",\"api\":\"$api\"" - echo "}" -} - -# Discover directories in the provided directories, excluding specified directories -all_directories="" -for dir in "${DIRECTORIES[@]}"; do - all_directories+=$(discover_directories "$dir") - all_directories+=$'\n' -done - -# Initialize an empty variable to store the JSON result -json_result="[" - -if [[ -n "$all_directories" ]]; then # Check if all_directories is not an empty string - while read -r dir; do - if [[ -n "$dir" ]]; then # Check if dir is not an empty string - if ! is_excluded "$dir"; then - json_result+=$(generate_json "$dir") - json_result+="," - fi - fi - done <<< "$(echo "$all_directories" | sort)" # Feed sorted directories into the loop - - # Remove the trailing comma from the json_result, if necessary - json_result="${json_result%,}" -fi - -# Remove the last comma and close the JSON array -json_result=$(echo "$json_result" | sed '$ s/,$//') -json_result=$(echo "$json_result" | sed ':a;N;$!ba;s/\n//g') # Remove new lines -json_result+="]" - -# Store the result in a variable (you can use it as needed) -result="$json_result" -result="${result//'%'/'%25'}" -result="${result//$'\n'/'%0A'}" -result="${result//$'\r'/'%0D'}" - -# Print the result if needed -echo "$result" | base64 From 251d7c8ccf7bfab3efc36f5085b0c6035a537abb Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Fri, 6 Sep 2024 10:51:32 -0600 Subject: [PATCH 53/54] update versions --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 91f4d08258..a4e7e6fa4d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "azle", - "version": "0.23.0", + "version": "0.24.1-rc.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "azle", - "version": "0.23.0", + "version": "0.24.1-rc.2", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 0f6fd70e16..dc9710bc33 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "azle", - "version": "0.23.0", + "version": "0.24.1-rc.2", "description": "TypeScript and JavaScript CDK for the Internet Computer", "scripts": { "typecheck": "tsc --noEmit", From f7ed52af46d08b269feb7d9ad17e6a752425fce5 Mon Sep 17 00:00:00 2001 From: Jordan Last Date: Fri, 6 Sep 2024 17:47:42 +0000 Subject: [PATCH 54/54] azle-bot automated release 0.24.1-rc.2 --- dfx_extension/extension.json | 2 +- examples/basic_bitcoin/package-lock.json | 63 ++++--- examples/basic_bitcoin/package.json | 2 +- examples/bitcoin_psbt/package-lock.json | 65 +++++--- examples/bitcoin_psbt/package.json | 2 +- examples/ckbtc/package-lock.json | 65 +++++--- examples/ckbtc/package.json | 2 +- examples/hello_world/package-lock.json | 63 ++++--- examples/hello_world/package.json | 2 +- .../hello_world_http_server/package-lock.json | 99 +++++++---- examples/hello_world_http_server/package.json | 2 +- .../async_await/package-lock.json | 63 ++++--- .../class_syntax/async_await/package.json | 2 +- .../audio_recorder/package-lock.json | 101 ++++++++---- .../class_syntax/audio_recorder/package.json | 2 +- .../class_syntax/bitcoin/package-lock.json | 101 ++++++++---- .../class_syntax/bitcoin/package.json | 2 +- .../class_syntax/blob_array/package-lock.json | 96 +++++++---- .../class_syntax/blob_array/package.json | 2 +- .../class_syntax/bytes/package-lock.json | 101 ++++++++---- .../class_syntax/bytes/package.json | 2 +- .../class_syntax/call_raw/package-lock.json | 101 ++++++++---- .../class_syntax/call_raw/package.json | 2 +- .../candid_encoding/package-lock.json | 101 ++++++++---- .../class_syntax/candid_encoding/package.json | 2 +- .../candid_keywords/package-lock.json | 101 ++++++++---- .../class_syntax/candid_keywords/package.json | 2 +- .../class_syntax/canister/package-lock.json | 96 +++++++---- .../class_syntax/canister/package.json | 2 +- .../complex_init/package-lock.json | 100 +++++++---- .../class_syntax/complex_init/package.json | 2 +- .../complex_types/package-lock.json | 101 ++++++++---- .../class_syntax/complex_types/package.json | 2 +- .../composite_queries/package-lock.json | 96 +++++++---- .../composite_queries/package.json | 2 +- .../class_syntax/counter/package-lock.json | 96 +++++++---- .../class_syntax/counter/package.json | 2 +- .../cross_canister_calls/package-lock.json | 96 +++++++---- .../cross_canister_calls/package.json | 2 +- .../class_syntax/cycles/package-lock.json | 96 +++++++---- .../class_syntax/cycles/package.json | 2 +- .../class_syntax/date/package-lock.json | 101 ++++++++---- .../candid_rpc/class_syntax/date/package.json | 2 +- .../ethereum_json_rpc/package-lock.json | 96 +++++++---- .../ethereum_json_rpc/package.json | 2 +- .../class_syntax/func_types/package-lock.json | 96 +++++++---- .../class_syntax/func_types/package.json | 2 +- .../class_syntax/heartbeat/package-lock.json | 101 ++++++++---- .../class_syntax/heartbeat/package.json | 2 +- .../class_syntax/ic_api/package-lock.json | 63 ++++--- .../class_syntax/ic_api/package.json | 2 +- .../class_syntax/icrc/package-lock.json | 63 ++++--- .../candid_rpc/class_syntax/icrc/package.json | 2 +- .../class_syntax/imports/package-lock.json | 82 +++++---- .../class_syntax/imports/package.json | 2 +- .../class_syntax/init/package-lock.json | 101 ++++++++---- .../candid_rpc/class_syntax/init/package.json | 2 +- .../inspect_message/package-lock.json | 101 ++++++++---- .../class_syntax/inspect_message/package.json | 2 +- .../key_value_store/package-lock.json | 101 ++++++++---- .../class_syntax/key_value_store/package.json | 2 +- .../ledger_canister/package-lock.json | 96 +++++++---- .../class_syntax/ledger_canister/package.json | 2 +- .../list_of_lists/package-lock.json | 100 +++++++---- .../class_syntax/list_of_lists/package.json | 2 +- .../management_canister/package-lock.json | 101 ++++++++---- .../management_canister/package.json | 2 +- .../manual_reply/package-lock.json | 101 ++++++++---- .../class_syntax/manual_reply/package.json | 2 +- .../motoko_examples/calc/package-lock.json | 66 +++++--- .../motoko_examples/calc/package.json | 2 +- .../motoko_examples/counter/package-lock.json | 66 +++++--- .../motoko_examples/counter/package.json | 2 +- .../motoko_examples/echo/package-lock.json | 66 +++++--- .../motoko_examples/echo/package.json | 2 +- .../factorial/package-lock.json | 66 +++++--- .../motoko_examples/factorial/package.json | 2 +- .../hello-world/package-lock.json | 66 +++++--- .../motoko_examples/hello-world/package.json | 2 +- .../motoko_examples/hello/package-lock.json | 84 +++++----- .../motoko_examples/hello/package.json | 2 +- .../http_counter/package-lock.json | 96 +++++++---- .../motoko_examples/http_counter/package.json | 2 +- .../minimal-counter-dapp/package-lock.json | 85 +++++----- .../minimal-counter-dapp/package.json | 2 +- .../persistent-storage/package-lock.json | 100 +++++++---- .../persistent-storage/package.json | 2 +- .../phone-book/package-lock.json | 85 +++++----- .../motoko_examples/phone-book/package.json | 2 +- .../quicksort/package-lock.json | 66 +++++--- .../motoko_examples/quicksort/package.json | 2 +- .../simple-to-do/package-lock.json | 66 +++++--- .../motoko_examples/simple-to-do/package.json | 2 +- .../superheroes/package-lock.json | 82 ++++----- .../motoko_examples/superheroes/package.json | 2 +- .../threshold_ecdsa/package-lock.json | 66 +++++--- .../threshold_ecdsa/package.json | 2 +- .../motoko_examples/whoami/package-lock.json | 66 +++++--- .../motoko_examples/whoami/package.json | 2 +- .../class_syntax/notify_raw/package-lock.json | 96 +++++++---- .../class_syntax/notify_raw/package.json | 2 +- .../null_example/package-lock.json | 101 ++++++++---- .../class_syntax/null_example/package.json | 2 +- .../optional_types/package-lock.json | 101 ++++++++---- .../class_syntax/optional_types/package.json | 2 +- .../outgoing_http_requests/package-lock.json | 96 +++++++---- .../outgoing_http_requests/package.json | 2 +- .../pre_and_post_upgrade/package-lock.json | 101 ++++++++---- .../pre_and_post_upgrade/package.json | 2 +- .../primitive_types/package-lock.json | 65 +++++--- .../class_syntax/primitive_types/package.json | 2 +- .../class_syntax/principal/package-lock.json | 63 ++++--- .../class_syntax/principal/package.json | 2 +- .../class_syntax/query/package-lock.json | 100 +++++++---- .../class_syntax/query/package.json | 2 +- .../class_syntax/randomness/package-lock.json | 101 ++++++++---- .../class_syntax/randomness/package.json | 2 +- .../class_syntax/recursion/package-lock.json | 96 +++++++---- .../class_syntax/recursion/package.json | 2 +- .../class_syntax/rejections/package-lock.json | 96 +++++++---- .../class_syntax/rejections/package.json | 2 +- .../simple_erc20/package-lock.json | 96 +++++++---- .../class_syntax/simple_erc20/package.json | 2 +- .../simple_user_accounts/package-lock.json | 101 ++++++++---- .../simple_user_accounts/package.json | 2 +- .../package-lock.json | 63 ++++--- .../package.json | 2 +- .../stable_structures/package-lock.json | 101 ++++++++---- .../stable_structures/package.json | 2 +- .../class_syntax/timers/package-lock.json | 66 +++++--- .../class_syntax/timers/package.json | 2 +- .../tuple_types/package-lock.json | 101 ++++++++---- .../class_syntax/tuple_types/package.json | 2 +- .../class_syntax/update/package-lock.json | 101 ++++++++---- .../class_syntax/update/package.json | 2 +- .../class_syntax/vanilla_js/package-lock.json | 54 +++--- .../class_syntax/vanilla_js/package.json | 2 +- .../async_await/package-lock.json | 63 ++++--- .../async_await/package.json | 2 +- .../audio_recorder/package-lock.json | 96 +++++++---- .../audio_recorder/package.json | 2 +- .../bitcoin/package-lock.json | 96 +++++++---- .../functional_syntax/bitcoin/package.json | 2 +- .../blob_array/package-lock.json | 96 +++++++---- .../functional_syntax/blob_array/package.json | 2 +- .../functional_syntax/bytes/package-lock.json | 96 +++++++---- .../functional_syntax/bytes/package.json | 2 +- .../call_raw/package-lock.json | 96 +++++++---- .../functional_syntax/call_raw/package.json | 2 +- .../candid_encoding/package-lock.json | 96 +++++++---- .../candid_encoding/package.json | 2 +- .../candid_keywords/package-lock.json | 96 +++++++---- .../candid_keywords/package.json | 2 +- .../canister/package-lock.json | 96 +++++++---- .../functional_syntax/canister/package.json | 2 +- .../functional_syntax/ckbtc/package-lock.json | 63 ++++--- .../functional_syntax/ckbtc/package.json | 2 +- .../complex_init/package-lock.json | 96 +++++++---- .../complex_init/package.json | 2 +- .../complex_types/package-lock.json | 96 +++++++---- .../complex_types/package.json | 2 +- .../composite_queries/package-lock.json | 96 +++++++---- .../composite_queries/package.json | 2 +- .../counter/package-lock.json | 96 +++++++---- .../functional_syntax/counter/package.json | 2 +- .../cross_canister_calls/package-lock.json | 96 +++++++---- .../cross_canister_calls/package.json | 2 +- .../cycles/package-lock.json | 96 +++++++---- .../functional_syntax/cycles/package.json | 2 +- .../functional_syntax/date/package-lock.json | 96 +++++++---- .../functional_syntax/date/package.json | 2 +- .../ethereum_json_rpc/package-lock.json | 96 +++++++---- .../ethereum_json_rpc/package.json | 2 +- .../func_types/package-lock.json | 96 +++++++---- .../functional_syntax/func_types/package.json | 2 +- .../heartbeat/package-lock.json | 96 +++++++---- .../functional_syntax/heartbeat/package.json | 2 +- .../ic_api/package-lock.json | 63 ++++--- .../functional_syntax/ic_api/package.json | 2 +- .../functional_syntax/icrc/package-lock.json | 63 ++++--- .../functional_syntax/icrc/package.json | 2 +- .../imports/package-lock.json | 96 +++++++---- .../functional_syntax/imports/package.json | 2 +- .../functional_syntax/init/package-lock.json | 96 +++++++---- .../functional_syntax/init/package.json | 2 +- .../inspect_message/package-lock.json | 96 +++++++---- .../inspect_message/package.json | 2 +- .../key_value_store/package-lock.json | 96 +++++++---- .../key_value_store/package.json | 2 +- .../ledger_canister/package-lock.json | 96 +++++++---- .../ledger_canister/package.json | 2 +- .../list_of_lists/package-lock.json | 96 +++++++---- .../list_of_lists/package.json | 2 +- .../management_canister/package-lock.json | 96 +++++++---- .../management_canister/package.json | 2 +- .../manual_reply/package-lock.json | 96 +++++++---- .../manual_reply/package.json | 2 +- .../motoko_examples/calc/package-lock.json | 63 ++++--- .../motoko_examples/calc/package.json | 2 +- .../motoko_examples/counter/package-lock.json | 63 ++++--- .../motoko_examples/counter/package.json | 2 +- .../motoko_examples/echo/package-lock.json | 63 ++++--- .../motoko_examples/echo/package.json | 2 +- .../factorial/package-lock.json | 63 ++++--- .../motoko_examples/factorial/package.json | 2 +- .../hello-world/package-lock.json | 63 ++++--- .../motoko_examples/hello-world/package.json | 2 +- .../motoko_examples/hello/package-lock.json | 82 ++++----- .../motoko_examples/hello/package.json | 2 +- .../http_counter/package-lock.json | 96 +++++++---- .../motoko_examples/http_counter/package.json | 2 +- .../minimal-counter-dapp/package-lock.json | 82 ++++----- .../minimal-counter-dapp/package.json | 2 +- .../persistent-storage/package-lock.json | 96 +++++++---- .../persistent-storage/package.json | 2 +- .../phone-book/package-lock.json | 82 ++++----- .../motoko_examples/phone-book/package.json | 2 +- .../quicksort/package-lock.json | 63 ++++--- .../motoko_examples/quicksort/package.json | 2 +- .../simple-to-do/package-lock.json | 63 ++++--- .../motoko_examples/simple-to-do/package.json | 2 +- .../superheroes/package-lock.json | 82 ++++----- .../motoko_examples/superheroes/package.json | 2 +- .../threshold_ecdsa/package-lock.json | 63 ++++--- .../threshold_ecdsa/package.json | 2 +- .../motoko_examples/whoami/package-lock.json | 63 ++++--- .../motoko_examples/whoami/package.json | 2 +- .../notify_raw/package-lock.json | 96 +++++++---- .../functional_syntax/notify_raw/package.json | 2 +- .../null_example/package-lock.json | 96 +++++++---- .../null_example/package.json | 2 +- .../optional_types/package-lock.json | 96 +++++++---- .../optional_types/package.json | 2 +- .../outgoing_http_requests/package-lock.json | 96 +++++++---- .../outgoing_http_requests/package.json | 2 +- .../pre_and_post_upgrade/package-lock.json | 96 +++++++---- .../pre_and_post_upgrade/package.json | 2 +- .../primitive_types/package-lock.json | 63 ++++--- .../primitive_types/package.json | 2 +- .../principal/package-lock.json | 63 ++++--- .../functional_syntax/principal/package.json | 2 +- .../functional_syntax/query/package-lock.json | 96 +++++++---- .../functional_syntax/query/package.json | 2 +- .../randomness/package-lock.json | 96 +++++++---- .../functional_syntax/randomness/package.json | 2 +- .../recursion/package-lock.json | 96 +++++++---- .../functional_syntax/recursion/package.json | 2 +- .../rejections/package-lock.json | 96 +++++++---- .../functional_syntax/rejections/package.json | 2 +- .../robust_imports/package-lock.json | 96 +++++++---- .../robust_imports/package.json | 2 +- .../simple_erc20/package-lock.json | 96 +++++++---- .../simple_erc20/package.json | 2 +- .../simple_user_accounts/package-lock.json | 96 +++++++---- .../simple_user_accounts/package.json | 2 +- .../package-lock.json | 63 ++++--- .../package.json | 2 +- .../stable_structures/package-lock.json | 96 +++++++---- .../stable_structures/package.json | 2 +- .../timers/package-lock.json | 63 ++++--- .../functional_syntax/timers/package.json | 2 +- .../tuple_types/package-lock.json | 96 +++++++---- .../tuple_types/package.json | 2 +- .../update/package-lock.json | 96 +++++++---- .../functional_syntax/update/package.json | 2 +- .../vanilla_js/package-lock.json | 63 ++++--- .../functional_syntax/vanilla_js/package.json | 2 +- .../apollo_server/package-lock.json | 96 +++++++---- .../http_server/apollo_server/package.json | 2 +- .../audio_and_video/package-lock.json | 99 +++++++---- .../http_server/audio_and_video/package.json | 2 +- .../http_server/autoreload/package-lock.json | 96 +++++++---- .../http_server/autoreload/package.json | 2 +- .../bitcoinjs_lib/package-lock.json | 95 +++++++---- .../http_server/bitcoinjs_lib/package.json | 2 +- .../http_server/bitcore_lib/package-lock.json | 96 +++++++---- .../http_server/bitcore_lib/package.json | 2 +- .../http_server/ethers/package-lock.json | 120 +++++--------- .../http_server/ethers/package.json | 2 +- .../http_server/ethers_base/package-lock.json | 155 +++++------------- .../http_server/ethers_base/package.json | 2 +- .../http_server/express/package-lock.json | 99 +++++++---- .../http_server/express/package.json | 2 +- .../http_server/fetch_ic/package-lock.json | 99 +++++++---- .../http_server/fetch_ic/package.json | 2 +- .../file_protocol/package-lock.json | 96 +++++++---- .../http_server/file_protocol/package.json | 2 +- .../http_server/fs/package-lock.json | 96 +++++++---- tests/end_to_end/http_server/fs/package.json | 2 +- .../http_outcall_fetch/package-lock.json | 96 +++++++---- .../http_outcall_fetch/package.json | 2 +- .../hybrid_canister/package-lock.json | 96 +++++++---- .../http_server/hybrid_canister/package.json | 2 +- .../http_server/ic_evm_rpc/package-lock.json | 155 +++++------------- .../http_server/ic_evm_rpc/package.json | 2 +- .../internet_identity/package-lock.json | 99 +++++++---- .../internet_identity/package.json | 2 +- .../http_server/large_files/package-lock.json | 96 +++++++---- .../http_server/large_files/package.json | 2 +- .../http_server/nest/package-lock.json | 63 ++++--- .../end_to_end/http_server/nest/package.json | 2 +- .../http_server/new/package-lock.json | 3 +- .../open_value_sharing/package-lock.json | 96 +++++++---- .../open_value_sharing/package.json | 2 +- .../http_server/sqlite/package-lock.json | 96 +++++++---- .../http_server/sqlite/package.json | 2 +- .../sqlite_drizzle/package-lock.json | 100 +++++++---- .../http_server/sqlite_drizzle/package.json | 2 +- .../sqlite_typeorm/package-lock.json | 100 +++++++---- .../http_server/sqlite_typeorm/package.json | 2 +- .../http_server/tfjs/package-lock.json | 96 +++++++---- .../end_to_end/http_server/tfjs/package.json | 2 +- .../web_assembly/package-lock.json | 96 +++++++---- .../http_server/web_assembly/package.json | 2 +- .../class_api/blob/package-lock.json | 71 +++++--- .../candid_rpc/class_api/blob/package.json | 2 +- .../class_api/bool/package-lock.json | 71 +++++--- .../candid_rpc/class_api/bool/package.json | 2 +- .../http_request/package-lock.json | 71 +++++--- .../http_request/package.json | 2 +- .../http_request_update/package-lock.json | 71 +++++--- .../http_request_update/package.json | 2 +- .../canister_methods/init/package-lock.json | 71 +++++--- .../canister_methods/init/package.json | 2 +- .../inspect_message/package-lock.json | 71 +++++--- .../inspect_message/package.json | 2 +- .../post_upgrade/package-lock.json | 71 +++++--- .../post_upgrade/package.json | 2 +- .../pre_upgrade/package-lock.json | 71 +++++--- .../canister_methods/pre_upgrade/package.json | 2 +- .../canister_methods/query/package-lock.json | 71 +++++--- .../canister_methods/query/package.json | 2 +- .../canister_methods/update/package-lock.json | 71 +++++--- .../canister_methods/update/package.json | 2 +- .../class_api/float32/package-lock.json | 71 +++++--- .../candid_rpc/class_api/float32/package.json | 2 +- .../class_api/float64/package-lock.json | 71 +++++--- .../candid_rpc/class_api/float64/package.json | 2 +- .../class_api/func/package-lock.json | 71 +++++--- .../candid_rpc/class_api/func/package.json | 2 +- .../class_api/int/package-lock.json | 71 +++++--- .../candid_rpc/class_api/int/package.json | 2 +- .../class_api/int16/package-lock.json | 71 +++++--- .../candid_rpc/class_api/int16/package.json | 2 +- .../class_api/int32/package-lock.json | 71 +++++--- .../candid_rpc/class_api/int32/package.json | 2 +- .../class_api/int64/package-lock.json | 71 +++++--- .../candid_rpc/class_api/int64/package.json | 2 +- .../class_api/int8/package-lock.json | 71 +++++--- .../candid_rpc/class_api/int8/package.json | 2 +- .../class_api/nat/package-lock.json | 71 +++++--- .../candid_rpc/class_api/nat/package.json | 2 +- .../class_api/nat16/package-lock.json | 71 +++++--- .../candid_rpc/class_api/nat16/package.json | 2 +- .../class_api/nat32/package-lock.json | 71 +++++--- .../candid_rpc/class_api/nat32/package.json | 2 +- .../class_api/nat64/package-lock.json | 71 +++++--- .../candid_rpc/class_api/nat64/package.json | 2 +- .../class_api/nat8/package-lock.json | 71 +++++--- .../candid_rpc/class_api/nat8/package.json | 2 +- .../class_api/null/package-lock.json | 71 +++++--- .../candid_rpc/class_api/null/package.json | 2 +- .../class_api/opt/package-lock.json | 71 +++++--- .../candid_rpc/class_api/opt/package.json | 2 +- .../class_api/principal/package-lock.json | 71 +++++--- .../class_api/principal/package.json | 2 +- .../class_api/record/package-lock.json | 71 +++++--- .../candid_rpc/class_api/record/package.json | 2 +- .../class_api/recursive/package-lock.json | 71 +++++--- .../class_api/recursive/package.json | 2 +- .../class_api/service/package-lock.json | 71 +++++--- .../candid_rpc/class_api/service/package.json | 2 +- .../stable_b_tree_map/package-lock.json | 71 +++++--- .../class_api/stable_b_tree_map/package.json | 2 +- .../class_api/text/package-lock.json | 71 +++++--- .../candid_rpc/class_api/text/package.json | 2 +- .../class_api/tuple/package-lock.json | 71 +++++--- .../candid_rpc/class_api/tuple/package.json | 2 +- .../class_api/variant/package-lock.json | 71 +++++--- .../candid_rpc/class_api/variant/package.json | 2 +- .../class_api/vec/package-lock.json | 71 +++++--- .../candid_rpc/class_api/vec/package.json | 2 +- .../functional_api/blob/package-lock.json | 71 +++++--- .../functional_api/blob/package.json | 2 +- .../functional_api/bool/package-lock.json | 71 +++++--- .../functional_api/bool/package.json | 2 +- .../http_request/package-lock.json | 71 +++++--- .../http_request/package.json | 2 +- .../http_request_update/package-lock.json | 71 +++++--- .../http_request_update/package.json | 2 +- .../canister_methods/init/package-lock.json | 71 +++++--- .../canister_methods/init/package.json | 2 +- .../inspect_message/package-lock.json | 71 +++++--- .../inspect_message/package.json | 2 +- .../post_upgrade/package-lock.json | 71 +++++--- .../post_upgrade/package.json | 2 +- .../pre_upgrade/package-lock.json | 71 +++++--- .../canister_methods/pre_upgrade/package.json | 2 +- .../canister_methods/query/package-lock.json | 71 +++++--- .../canister_methods/query/package.json | 2 +- .../canister_methods/update/package-lock.json | 71 +++++--- .../canister_methods/update/package.json | 2 +- .../functional_api/float32/package-lock.json | 71 +++++--- .../functional_api/float32/package.json | 2 +- .../functional_api/float64/package-lock.json | 71 +++++--- .../functional_api/float64/package.json | 2 +- .../functional_api/func/package-lock.json | 71 +++++--- .../functional_api/func/package.json | 2 +- .../functional_api/int/package-lock.json | 71 +++++--- .../functional_api/int/package.json | 2 +- .../functional_api/int16/package-lock.json | 71 +++++--- .../functional_api/int16/package.json | 2 +- .../functional_api/int32/package-lock.json | 71 +++++--- .../functional_api/int32/package.json | 2 +- .../functional_api/int64/package-lock.json | 71 +++++--- .../functional_api/int64/package.json | 2 +- .../functional_api/int8/package-lock.json | 71 +++++--- .../functional_api/int8/package.json | 2 +- .../functional_api/nat/package-lock.json | 71 +++++--- .../functional_api/nat/package.json | 2 +- .../functional_api/nat16/package-lock.json | 71 +++++--- .../functional_api/nat16/package.json | 2 +- .../functional_api/nat32/package-lock.json | 71 +++++--- .../functional_api/nat32/package.json | 2 +- .../functional_api/nat64/package-lock.json | 71 +++++--- .../functional_api/nat64/package.json | 2 +- .../functional_api/nat8/package-lock.json | 71 +++++--- .../functional_api/nat8/package.json | 2 +- .../functional_api/null/package-lock.json | 71 +++++--- .../functional_api/null/package.json | 2 +- .../functional_api/opt/package-lock.json | 71 +++++--- .../functional_api/opt/package.json | 2 +- .../principal/package-lock.json | 71 +++++--- .../functional_api/principal/package.json | 2 +- .../functional_api/record/package-lock.json | 71 +++++--- .../functional_api/record/package.json | 2 +- .../recursive/package-lock.json | 71 +++++--- .../functional_api/recursive/package.json | 2 +- .../functional_api/service/package-lock.json | 71 +++++--- .../functional_api/service/package.json | 2 +- .../stable_b_tree_map/package-lock.json | 71 +++++--- .../stable_b_tree_map/package.json | 2 +- .../functional_api/text/package-lock.json | 71 +++++--- .../functional_api/text/package.json | 2 +- .../functional_api/tuple/package-lock.json | 71 +++++--- .../functional_api/tuple/package.json | 2 +- .../functional_api/variant/package-lock.json | 71 +++++--- .../functional_api/variant/package.json | 2 +- .../functional_api/vec/package-lock.json | 71 +++++--- .../functional_api/vec/package.json | 2 +- .../property/ic_api/caller/package-lock.json | 63 ++++--- tests/property/ic_api/caller/package.json | 2 +- tests/property/ic_api/chunk/package-lock.json | 63 ++++--- tests/property/ic_api/chunk/package.json | 2 +- tests/property/ic_api/id/package-lock.json | 63 ++++--- tests/property/ic_api/id/package.json | 2 +- .../instruction_counter/package-lock.json | 63 ++++--- .../ic_api/instruction_counter/package.json | 2 +- .../ic_api/is_controller/package-lock.json | 63 ++++--- .../ic_api/is_controller/package.json | 2 +- .../performance_counter/package-lock.json | 63 ++++--- .../ic_api/performance_counter/package.json | 2 +- tests/property/ic_api/time/package-lock.json | 63 ++++--- tests/property/ic_api/time/package.json | 2 +- tests/property/ic_api/trap/package-lock.json | 63 ++++--- tests/property/ic_api/trap/package.json | 2 +- 466 files changed, 13098 insertions(+), 6558 deletions(-) diff --git a/dfx_extension/extension.json b/dfx_extension/extension.json index 90f0579b4a..e98d4aa41b 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.2", "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..215ba7f69b 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..bcef23512e 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.2", "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..b46d2d14ef 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.2", "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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..851c172b85 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.2", "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..4d22235eba 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..9fd2b61b8c 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.2" }, "devDependencies": { "@dfinity/agent": "^0.19.2", diff --git a/examples/hello_world/package-lock.json b/examples/hello_world/package-lock.json index 1bfd8eceff..84ef7fdf2d 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..654e24097a 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.2" }, "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..3c5804c646 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..620514d936 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.2", "express": "^4.18.2", "lit": "^3.1.2" }, 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..222a1dff11 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..0c09b796bb 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.2" }, "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..27275665fe 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..c347f66588 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.2" }, "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..3b07959fe7 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..325a4a2ebc 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.2" }, "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..03da9b0e0b 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..85aaf57ed2 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.2" }, "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..4d3c844038 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..214fc9a7de 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.2" }, "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..97d0f44e29 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..15f2ab7e69 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.2" }, "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..ab2303f0ae 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..43b18b31ec 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.2" }, "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..7e8bd0cb7b 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..2e49e975bf 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.2" }, "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..ec17501529 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..87defa7e46 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.2" }, "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..f4f5287e7b 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..1162f347a6 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.2" }, "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..eb04c70756 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..8a46cf32b3 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.2" }, "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..5125486e11 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..6a24376951 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.2" }, "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..914adb4438 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..0030f4f35c 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.2" }, "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..14906b17b5 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..fc87a2a8e6 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.2" }, "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..80336e4b6f 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..7eb7bcb4b6 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.2" }, "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..4f4e1e4726 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..e0a1dec637 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.2" }, "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..e6657fe8ed 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..913bcc675c 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.2" }, "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..92734b4785 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..ad95f03388 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.2" }, "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..366b5334d8 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..97bc16d32b 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.2" }, "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..f3ca3ca953 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..28ab867f62 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.2" }, "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..8da73ae9be 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..e863ea20a0 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.2" }, "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..b15c524f49 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..85bd4aa9a5 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.2", "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..a0ea4fca75 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..93586947a6 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.2" }, "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..28dd3ec336 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..bca73ec2c2 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.2" }, "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..c24df15e5b 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..3bb41830b0 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.2" }, "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..be620327d9 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..9304cdd007 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.2" }, "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..22a6ff3521 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..3c116c9cae 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.2" }, "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..2018cfb4ab 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..1846b7a92b 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.2" }, "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..92d9c7bf42 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..e5cb5edd44 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.2" }, "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..b69adbadf0 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..0048b50567 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.2" }, "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..0ddddbf963 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..29b90336af 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.2" }, "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..d343a49dbf 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..b35b092977 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.2" }, "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..ad2f320b28 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..7c79708536 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.2" }, "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..bb583d3761 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..59172f60b7 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.2" }, "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..c429f5f249 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..e7792c9798 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.2" }, "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..cf9ec43cb7 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..86108aaf3c 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.2" }, "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..ede1c8b11b 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..ab8485ede7 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.2" }, "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..3c16c921c7 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..15947017d2 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.2" }, "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..845268b2c9 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..96889dc2d5 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.2", "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..45adc7b2f9 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..07f8b3b0d7 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.2" }, "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..8100cb9234 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..74ea8866e9 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.2" }, "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..acbcd163b5 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..a2dd3a7063 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.2", "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..f6c0e47c5e 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..400cefd93e 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.2", "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..b265101452 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..5da0f44111 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.2" }, "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..30c7cfaaed 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..4f9c4852a9 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.2" }, "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..8bd9625544 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..836411866e 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.2" }, "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..d69528318f 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..b4e034c786 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.2" }, "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..6d665f251c 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..75af9bf27c 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.2" }, "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..2344648038 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..d2e0416147 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.2" }, "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..befd655ebd 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..9b05b25f11 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.2" }, "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..d38d0651ab 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..363a08a483 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.2" }, "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..ba389fec0f 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..b2ffa20624 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.2" }, "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..63b659cbfb 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..9341fa9fa1 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.2" }, "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..bec20e9de3 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..44c19258e9 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.2" }, "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..b9a49215f1 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..e40fdfb102 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.2" }, "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..d99ccfba36 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..108cd8ccfb 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.2" }, "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..b856225407 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..4016149045 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.2", "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..873917e759 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..e040bfed3f 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.2", "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..ea331b484f 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..241e15846b 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.2" }, "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..6ef05dc90e 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..4cbfc0f805 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.2" }, "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..51f1d9dd98 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..cf537f41e0 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.2" }, "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..977b08a9d2 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..ce6ef6455f 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.2" }, "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..b9e161bc48 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..ae8b87ccfe 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.2", "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..5f0632153f 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..e578e4fbfd 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.2" }, "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..e4b2b5d5d9 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..ebd26a6c83 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.2" }, "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..47dc0a8a40 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..67b56f99d4 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.2" }, "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..a4ff3f748d 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..bcc4b46fdf 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.2" }, "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..a9b4b53257 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..a5a43f7749 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.2" }, "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..20a8f36fe2 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..fee6c859ec 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.2" }, "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..efaeaf318a 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..f10b49ce1c 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.2" }, "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..e761da34b6 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..2774bb0f8c 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.2" }, "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..a525936c77 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..7a9f2d1310 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.2" }, "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..3e6c1a2914 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..8be38d3ff9 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.2" }, "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..4ca2b9a05d 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..0b5d4f6480 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.2" }, "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..b295995997 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..99b350bf07 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.2" }, "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..983a9e4bec 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..791cfb983c 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.2" }, "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..3225f0f15e 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..80df4cdcea 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.2" }, "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..06e6c83d10 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..0b289265e6 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.2" }, "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..04bd1f9063 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..bc777c4056 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.2" }, "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..7715879766 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..4e8c504eb9 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.2" }, "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..c279a78257 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..b8bd75c1bb 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.2" }, "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..242b5fa6f0 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..b4650f57e7 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.2" }, "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..98aac73046 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..e6e5c27fd2 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.2" }, "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..d21b07d0c0 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..c1e6fcf590 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.2" }, "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..667b971eb0 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..ca37c18faf 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.2" }, "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..82ce11be03 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..d2800fe667 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.2", "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..940c7a444e 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..e0cf6dba0a 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.2" }, "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..eeb016019a 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..753ca94018 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.2" }, "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..5dea588eb0 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..cb88c33193 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.2" }, "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..6237600dab 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..5eaa5f1079 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.2" }, "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..ed580ba36c 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..d607d0820b 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.2" }, "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..0ba2951945 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..e754afd814 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.2" }, "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..22d2f54091 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..c05301773c 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.2" }, "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..0da0e4b612 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..5181eb2804 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.2" }, "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..c47fab3b86 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..80df4cdcea 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.2" }, "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..5168f55141 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..392d223c40 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.2" }, "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..23eddbf333 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..ebe71ee474 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.2" }, "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..3a32a8b2ad 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..ee14711fd5 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.2" }, "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..6ea1e1ca2e 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..99ca1b4de6 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.2" }, "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..78ca94fd48 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..6e86cb6571 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.2" }, "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..c10f6ed21d 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..2e30133d24 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.2" }, "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..93a433c7d6 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..19f4ed8831 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.2" }, "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..b08831f7e0 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..c8f07ab27d 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.2", "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..40500ac3fb 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..e9c55db68a 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.2" }, "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..804b95c9c5 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..d39e1b728f 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.2" }, "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..2ab08d49f3 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..4a7a1ee59c 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.2", "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..ad0a196775 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..b10c94ad22 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.2", "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..c6d2e3ce1e 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..ecb55e815b 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.2" }, "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..a4067a3751 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..2a1ae6a314 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.2" }, "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..01b71bd93e 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..9fe66f401f 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.2" }, "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..c319128127 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..a2ccfe4238 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.2" }, "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..daf83b67b1 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..5e4ffe01a8 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.2" }, "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..18da5e2853 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..e6a177c702 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.2" }, "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..9690a9d101 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..d050dae0db 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.2" }, "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..5ea96997e7 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..3b1d72a695 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.2" }, "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..d6f6d1cb33 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..9e2de8dbf0 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.2" }, "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..c636e3b1a4 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..98e919b387 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.2" }, "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..69cdd7a47d 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..3964019339 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.2" }, "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..41f71af4d9 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..bfba9b14ac 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.2" }, "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..f3f2d0cd38 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..162b942001 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.2" }, "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..eb52cbb9c5 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..5674effba6 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.2" }, "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..b29095d868 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..f4364ead81 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.2", "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..63f7db2d0d 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..e04dac6a7c 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.2", "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..b757a2e989 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..8233eb24d8 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.2" }, "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..fc85156519 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..f6bdecda7f 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.2" }, "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..36c9ba30cc 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..ed9913cf02 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.2" }, "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..5d6df0b204 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..fb745a334b 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.2" }, "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..5efe9d671f 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..471281b9d5 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.2", "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..0de7d2f780 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..5f92244566 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.2", "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..c06e3aa722 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..28272a7dfa 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.2", "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..2b7da2738f 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..50fbeaab8c 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.2", "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..2a29ca2b47 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..00175f8908 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.2", "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..85f78423b5 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..0956641506 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.2", "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..fdf4733b83 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..733c016d0f 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.2", "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..b39fe82ce0 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..733c016d0f 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.2", "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..f70a64dced 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..6860636bc6 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.2", "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..771befbb78 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..fea8b909dc 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.2", "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..a9dbe826d6 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..50fbeaab8c 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.2", "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..ce2fb9e88e 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..50fbeaab8c 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.2", "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..82c5045cd5 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..50fbeaab8c 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.2", "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..10e4863f70 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..50fbeaab8c 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.2", "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..63feab1438 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..4cb209580f 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.2", "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..02092477bf 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..288dd6febc 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.2", "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..d27a401950 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..5cce52d40d 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.2", "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..4c28664fd2 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..e611596749 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.2", "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..fd0fe08701 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..8edcc9244b 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.2", "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..70973b96fb 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..31c16b287b 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.2", "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..e4b23a6f06 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.2", "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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", "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..77dce1132c 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.2", "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..b504ff12db 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.2", "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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", "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..72a4437846 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.2", "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..e47b184679 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..6b083d07db 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.2", "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..1fad833388 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.2", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..00be8bdb40 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.2", "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..c83502ed96 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..0813ded60d 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..1d95c55905 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..23c0655522 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..9cb658abc3 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..6bab9734b1 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..824769cb93 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..8c9d65b91f 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..093e9397d1 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..653fbb144a 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..c37c0573c5 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..1937f1ba80 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..97a7c085e4 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..ff06407016 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..f364b2623b 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..2f5b34f645 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..4dec3be602 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..5df4ac445c 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..3ad9d68fd6 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..797b9ae3ad 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..bf92097445 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..c54c775664 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..988b284c28 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..440beb9b24 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..f42419ea2e 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..a22d255368 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.2" } } 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..80486a6670 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..755f9b9d74 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..a22d255368 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.2" } } 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..ab5ef22cfb 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..a22d255368 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.2" } } 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..ca1d12cd9f 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..56789f8143 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..a22d255368 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.2" } } 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..caefc3644d 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..687e51ac22 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..a22d255368 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.2" } } 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..a2ccea8b83 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..a22d255368 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.2" } } 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..fbf10f3220 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..a22d255368 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.2" } } 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..c83502ed96 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..0813ded60d 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..1d95c55905 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..23c0655522 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..9cb658abc3 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..6bab9734b1 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..824769cb93 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..8c9d65b91f 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..093e9397d1 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..653fbb144a 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..c37c0573c5 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..1937f1ba80 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..97a7c085e4 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..ff06407016 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..f364b2623b 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..2f5b34f645 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..4dec3be602 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..5df4ac445c 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..3ad9d68fd6 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..797b9ae3ad 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..bf92097445 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..c54c775664 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..988b284c28 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..440beb9b24 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..f42419ea2e 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..a22d255368 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.2" } } 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..80486a6670 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..755f9b9d74 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..a22d255368 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.2" } } 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..ab5ef22cfb 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..a22d255368 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.2" } } 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..ca1d12cd9f 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..56789f8143 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..a22d255368 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.2" } } 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..caefc3644d 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..722bd9b06e 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.2" } } 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..687e51ac22 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..a22d255368 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.2" } } 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..a2ccea8b83 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..a22d255368 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.2" } } 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..fbf10f3220 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.2" } }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..a22d255368 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.2" } } diff --git a/tests/property/ic_api/caller/package-lock.json b/tests/property/ic_api/caller/package-lock.json index 89b5204714..22cad9fff7 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..5e28fe779f 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.2" }, "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..0492bec2be 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..e16bbf3297 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.2" }, "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..126e12bd16 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..781a0cf26d 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.2" }, "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..2f24e68077 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..e16bbf3297 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.2" }, "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..8664c12a30 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..5e28fe779f 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.2" }, "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..7d4dd50ee7 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..e16bbf3297 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.2" }, "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..a78794a1b4 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..e16bbf3297 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.2" }, "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..7157ac4408 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.2" }, "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.2", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1-rc.2.tgz", + "integrity": "sha512-AIbyk6KYxP0UeRGGiPysyoLAy1VXOdoST5nOYkv+a3Mfv6s3HL/ZPPNfcjzXDLPHU0VRaR1pyQGkUVIXiw/j4g==", "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..e16bbf3297 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.2" }, "devDependencies": { "@dfinity/agent": "^2.0.0",