From 833d80915fe25b7d7c737d0c44ecfbb238d0664e Mon Sep 17 00:00:00 2001 From: Shahar Yakir Date: Mon, 8 Jan 2024 12:16:29 +0000 Subject: [PATCH] tact 1.1.5 --- package-lock.json | 258 ++++++++++++++++++++ package.json | 1 + src/source-verifier/tact-source-verifier.ts | 4 +- 3 files changed, 261 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index fa219db..6b755b7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,6 +31,7 @@ "tact-1.1.2": "npm:@tact-lang/compiler@1.1.2", "tact-1.1.3": "npm:@tact-lang/compiler@1.1.3", "tact-1.1.4": "npm:@tact-lang/compiler@1.1.4", + "tact-1.1.5": "npm:@tact-lang/compiler@1.1.5", "ton": "^13.4.1", "ton-core": "^0.49.0", "ts-node": "^10.9.1", @@ -3394,6 +3395,35 @@ "ton-crypto": ">=3.2.0" } }, + "node_modules/@ton/core": { + "version": "0.49.2", + "resolved": "https://registry.npmjs.org/@ton/core/-/core-0.49.2.tgz", + "integrity": "sha512-jzW7ZGNkkkv131uvgX/4JgHBdtEnanT8i1fnZ6NOL7lxXjlVIKTuAfr1J2wJQAGHn0wLrbceAHix3jKX+4F5CA==", + "dependencies": { + "symbol.inspect": "1.0.1" + }, + "peerDependencies": { + "@ton/crypto": ">=3.2.0" + } + }, + "node_modules/@ton/crypto": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@ton/crypto/-/crypto-3.2.0.tgz", + "integrity": "sha512-50RkwReEuV2FkxSZ8ht/x9+n0ZGtwRKGsJ0ay4I/HFhkYVG/awIIBQeH0W4j8d5lADdO5h01UtX8PJ8AjiejjA==", + "dependencies": { + "@ton/crypto-primitives": "2.0.0", + "jssha": "3.2.0", + "tweetnacl": "1.0.3" + } + }, + "node_modules/@ton/crypto-primitives": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@ton/crypto-primitives/-/crypto-primitives-2.0.0.tgz", + "integrity": "sha512-wttiNClmGbI6Dfy/8oyNnsIV0b/qYkCJz4Gn4eP62lJZzMtVQ94Ko7nikDX1EfYHkLI1xpOitWpW+8ZuG6XtDg==", + "dependencies": { + "jssha": "3.2.0" + } + }, "node_modules/@tootallnate/once": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", @@ -11331,6 +11361,121 @@ "multiformats": "^9.4.2" } }, + "node_modules/tact-1.1.5": { + "name": "@tact-lang/compiler", + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@tact-lang/compiler/-/compiler-1.1.5.tgz", + "integrity": "sha512-J48CKURf5bx3iIH6JKcGi/aiS0ASHe610caeD5Ud7sOFMRpHkDkDepE+7nRm/EsiAi5HVHwSwSVsW2YvB1CHNw==", + "dependencies": { + "@ipld/dag-pb": "2.1.18", + "@tact-lang/opcode": "^0.0.14", + "@ton/core": "0.49.2", + "@ton/crypto": "^3.2.0", + "arg": "^5.0.2", + "blockstore-core": "1.0.5", + "change-case": "^4.1.2", + "ipfs-unixfs-importer": "9.0.10", + "mkdirp": "^2.1.3", + "multiformats": "9.9.0", + "ohm-js": "16.5.0", + "path-normalize": "^6.0.10", + "prando": "^6.0.1", + "qs": "^6.11.0", + "zod": "^3.20.2" + }, + "bin": { + "tact": "bin/tact" + } + }, + "node_modules/tact-1.1.5/node_modules/@tact-lang/opcode": { + "version": "0.0.14", + "resolved": "https://registry.npmjs.org/@tact-lang/opcode/-/opcode-0.0.14.tgz", + "integrity": "sha512-8FKHK2jwvViRBReO2t40DCkHAP9KPTRWZof4kdsAUJFlyeWIC8SsRQSl9QkZxF+48WvjDduKNqN5Ltb80paufA==", + "peerDependencies": { + "@ton/core": ">=0.49.2", + "@ton/crypto": "^3.2.0" + } + }, + "node_modules/tact-1.1.5/node_modules/arg": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", + "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==" + }, + "node_modules/tact-1.1.5/node_modules/ipfs-unixfs": { + "version": "6.0.9", + "resolved": "https://registry.npmjs.org/ipfs-unixfs/-/ipfs-unixfs-6.0.9.tgz", + "integrity": "sha512-0DQ7p0/9dRB6XCb0mVCTli33GzIzSVx5udpJuVM47tGcD+W+Bl4LsnoLswd3ggNnNEakMv1FdoFITiEnchXDqQ==", + "dependencies": { + "err-code": "^3.0.1", + "protobufjs": "^6.10.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/tact-1.1.5/node_modules/ipfs-unixfs-importer": { + "version": "9.0.10", + "resolved": "https://registry.npmjs.org/ipfs-unixfs-importer/-/ipfs-unixfs-importer-9.0.10.tgz", + "integrity": "sha512-W+tQTVcSmXtFh7FWYWwPBGXJ1xDgREbIyI1E5JzDcimZLIyT5gGMfxR3oKPxxWj+GKMpP5ilvMQrbsPzWcm3Fw==", + "dependencies": { + "@ipld/dag-pb": "^2.0.2", + "@multiformats/murmur3": "^1.0.3", + "bl": "^5.0.0", + "err-code": "^3.0.1", + "hamt-sharding": "^2.0.0", + "interface-blockstore": "^2.0.3", + "ipfs-unixfs": "^6.0.0", + "it-all": "^1.0.5", + "it-batch": "^1.0.8", + "it-first": "^1.0.6", + "it-parallel-batch": "^1.0.9", + "merge-options": "^3.0.4", + "multiformats": "^9.4.2", + "rabin-wasm": "^0.1.4", + "uint8arrays": "^3.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/tact-1.1.5/node_modules/mkdirp": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-2.1.6.tgz", + "integrity": "sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A==", + "bin": { + "mkdirp": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/tact-1.1.5/node_modules/qs": { + "version": "6.11.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.2.tgz", + "integrity": "sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA==", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/tact-1.1.5/node_modules/uint8arrays": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-3.1.1.tgz", + "integrity": "sha512-+QJa8QRnbdXVpHYjLoTpJIdCTiw9Ir62nocClWuXIq2JIh4Uta0cQsTSpFL678p2CN8B+XSApwcU+pQEqVpKWg==", + "dependencies": { + "multiformats": "^9.4.2" + } + }, "node_modules/teeny-request": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/teeny-request/-/teeny-request-8.0.0.tgz", @@ -14783,6 +14928,32 @@ } } }, + "@ton/core": { + "version": "0.49.2", + "resolved": "https://registry.npmjs.org/@ton/core/-/core-0.49.2.tgz", + "integrity": "sha512-jzW7ZGNkkkv131uvgX/4JgHBdtEnanT8i1fnZ6NOL7lxXjlVIKTuAfr1J2wJQAGHn0wLrbceAHix3jKX+4F5CA==", + "requires": { + "symbol.inspect": "1.0.1" + } + }, + "@ton/crypto": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@ton/crypto/-/crypto-3.2.0.tgz", + "integrity": "sha512-50RkwReEuV2FkxSZ8ht/x9+n0ZGtwRKGsJ0ay4I/HFhkYVG/awIIBQeH0W4j8d5lADdO5h01UtX8PJ8AjiejjA==", + "requires": { + "@ton/crypto-primitives": "2.0.0", + "jssha": "3.2.0", + "tweetnacl": "1.0.3" + } + }, + "@ton/crypto-primitives": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@ton/crypto-primitives/-/crypto-primitives-2.0.0.tgz", + "integrity": "sha512-wttiNClmGbI6Dfy/8oyNnsIV0b/qYkCJz4Gn4eP62lJZzMtVQ94Ko7nikDX1EfYHkLI1xpOitWpW+8ZuG6XtDg==", + "requires": { + "jssha": "3.2.0" + } + }, "@tootallnate/once": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", @@ -21106,6 +21277,93 @@ } } }, + "tact-1.1.5": { + "version": "npm:@tact-lang/compiler@1.1.5", + "resolved": "https://registry.npmjs.org/@tact-lang/compiler/-/compiler-1.1.5.tgz", + "integrity": "sha512-J48CKURf5bx3iIH6JKcGi/aiS0ASHe610caeD5Ud7sOFMRpHkDkDepE+7nRm/EsiAi5HVHwSwSVsW2YvB1CHNw==", + "requires": { + "@ipld/dag-pb": "2.1.18", + "@tact-lang/opcode": "^0.0.14", + "@ton/core": "0.49.2", + "@ton/crypto": "^3.2.0", + "arg": "^5.0.2", + "blockstore-core": "1.0.5", + "change-case": "^4.1.2", + "ipfs-unixfs-importer": "9.0.10", + "mkdirp": "^2.1.3", + "multiformats": "9.9.0", + "ohm-js": "16.5.0", + "path-normalize": "^6.0.10", + "prando": "^6.0.1", + "qs": "^6.11.0", + "zod": "^3.20.2" + }, + "dependencies": { + "@tact-lang/opcode": { + "version": "0.0.14", + "resolved": "https://registry.npmjs.org/@tact-lang/opcode/-/opcode-0.0.14.tgz", + "integrity": "sha512-8FKHK2jwvViRBReO2t40DCkHAP9KPTRWZof4kdsAUJFlyeWIC8SsRQSl9QkZxF+48WvjDduKNqN5Ltb80paufA==", + "requires": {} + }, + "arg": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", + "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==" + }, + "ipfs-unixfs": { + "version": "6.0.9", + "resolved": "https://registry.npmjs.org/ipfs-unixfs/-/ipfs-unixfs-6.0.9.tgz", + "integrity": "sha512-0DQ7p0/9dRB6XCb0mVCTli33GzIzSVx5udpJuVM47tGcD+W+Bl4LsnoLswd3ggNnNEakMv1FdoFITiEnchXDqQ==", + "requires": { + "err-code": "^3.0.1", + "protobufjs": "^6.10.2" + } + }, + "ipfs-unixfs-importer": { + "version": "9.0.10", + "resolved": "https://registry.npmjs.org/ipfs-unixfs-importer/-/ipfs-unixfs-importer-9.0.10.tgz", + "integrity": "sha512-W+tQTVcSmXtFh7FWYWwPBGXJ1xDgREbIyI1E5JzDcimZLIyT5gGMfxR3oKPxxWj+GKMpP5ilvMQrbsPzWcm3Fw==", + "requires": { + "@ipld/dag-pb": "^2.0.2", + "@multiformats/murmur3": "^1.0.3", + "bl": "^5.0.0", + "err-code": "^3.0.1", + "hamt-sharding": "^2.0.0", + "interface-blockstore": "^2.0.3", + "ipfs-unixfs": "^6.0.0", + "it-all": "^1.0.5", + "it-batch": "^1.0.8", + "it-first": "^1.0.6", + "it-parallel-batch": "^1.0.9", + "merge-options": "^3.0.4", + "multiformats": "^9.4.2", + "rabin-wasm": "^0.1.4", + "uint8arrays": "^3.0.0" + } + }, + "mkdirp": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-2.1.6.tgz", + "integrity": "sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A==" + }, + "qs": { + "version": "6.11.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.2.tgz", + "integrity": "sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA==", + "requires": { + "side-channel": "^1.0.4" + } + }, + "uint8arrays": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-3.1.1.tgz", + "integrity": "sha512-+QJa8QRnbdXVpHYjLoTpJIdCTiw9Ir62nocClWuXIq2JIh4Uta0cQsTSpFL678p2CN8B+XSApwcU+pQEqVpKWg==", + "requires": { + "multiformats": "^9.4.2" + } + } + } + }, "teeny-request": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/teeny-request/-/teeny-request-8.0.0.tgz", diff --git a/package.json b/package.json index bd120a8..0166b6d 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "tact-1.1.2": "npm:@tact-lang/compiler@1.1.2", "tact-1.1.3": "npm:@tact-lang/compiler@1.1.3", "tact-1.1.4": "npm:@tact-lang/compiler@1.1.4", + "tact-1.1.5": "npm:@tact-lang/compiler@1.1.5", "ton": "^13.4.1", "ton-core": "^0.49.0", "ts-node": "^10.9.1", diff --git a/src/source-verifier/tact-source-verifier.ts b/src/source-verifier/tact-source-verifier.ts index fbd711b..1f52017 100644 --- a/src/source-verifier/tact-source-verifier.ts +++ b/src/source-verifier/tact-source-verifier.ts @@ -1,7 +1,7 @@ import { Cell } from "ton"; import { SourceVerifier, SourceVerifyPayload, CompileResult } from "../types"; -import { PackageFileFormat } from "tact-1.1.4"; -import type { verify as VerifyFunction } from "tact-1.1.4"; +import { PackageFileFormat } from "tact-1.1.5"; +import type { verify as VerifyFunction } from "tact-1.1.5"; import path from "path"; import { timeoutPromise } from "../utils";