diff --git a/package-lock.json b/package-lock.json index 8e34d21..1e7bf74 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,6 +7,7 @@ "": { "name": "ton-web-ide", "version": "0.1.0", + "hasInstallScript": true, "dependencies": { "@codingame/monaco-jsonrpc": "^0.3.1", "@codingame/monaco-languageclient": "^0.17.0", @@ -14,7 +15,7 @@ "@minoru/react-dnd-treeview": "^3.4.1", "@monaco-editor/react": "^4.5.1", "@orbs-network/ton-access": "^2.3.0", - "@tact-lang/compiler": "^1.5.0", + "@tact-lang/compiler": "^1.5.3", "@ton-community/func-js": "^0.5.0", "@ton/core": "^0.56.3", "@ton/sandbox": "^0.16.0", @@ -1548,13 +1549,13 @@ } }, "node_modules/@tact-lang/compiler": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@tact-lang/compiler/-/compiler-1.5.0.tgz", - "integrity": "sha512-VN/E81VDwwyoE6H8NrX2Sfp63Y3N0Jdk349tg48YjdoTmyDEpiEbpHajfRoy04ZoxLKwbOD6213qflyv9g52Mw==", + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/@tact-lang/compiler/-/compiler-1.5.3.tgz", + "integrity": "sha512-BxSCWfIQJUa0RC2ZltYfgTeN+3dRjMs4Hdxq61REfghpRiSU0IKdkLPGqJH/5zimzFFhjD4mhR0aFS71zUH9hA==", "hasInstallScript": true, "dependencies": { "@tact-lang/opcode": "^0.0.16", - "@ton/core": "0.57.0", + "@ton/core": "0.58.1", "@ton/crypto": "^3.2.0", "blockstore-core": "1.0.5", "change-case": "^4.1.2", @@ -1570,12 +1571,15 @@ }, "bin": { "tact": "bin/tact.js" + }, + "engines": { + "node": ">=22.0.0" } }, "node_modules/@tact-lang/compiler/node_modules/@ton/core": { - "version": "0.57.0", - "resolved": "https://registry.npmjs.org/@ton/core/-/core-0.57.0.tgz", - "integrity": "sha512-UOehEXEV5yqi+17qmmWdD01YfVgQlYtitSm5OfN/WMg6PAMkt+Uf91JRC4mdPNtkKDhyKuujJuhYs6QiOsHPfw==", + "version": "0.58.1", + "resolved": "https://registry.npmjs.org/@ton/core/-/core-0.58.1.tgz", + "integrity": "sha512-zydh42iT6E3U3Ky/DhTFqJMN/ycKKzbsHASY257Qr2sZn97G/MOcHFizPfMnbJJgx0H9iHX6mdyMvp1IKBVAFA==", "dependencies": { "symbol.inspect": "1.0.1" }, diff --git a/package.json b/package.json index f04e0d8..f199207 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "@minoru/react-dnd-treeview": "^3.4.1", "@monaco-editor/react": "^4.5.1", "@orbs-network/ton-access": "^2.3.0", - "@tact-lang/compiler": "^1.5.0", + "@tact-lang/compiler": "^1.5.3", "@ton-community/func-js": "^0.5.0", "@ton/core": "^0.56.3", "@ton/sandbox": "^0.16.0", diff --git a/src/lib/polyfills.ts b/src/lib/polyfills.ts deleted file mode 100644 index 1beba00..0000000 --- a/src/lib/polyfills.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* eslint-disable @typescript-eslint/no-unnecessary-condition, @typescript-eslint/no-explicit-any */ - -// Extend the Set prototype to include isSubsetOf -interface Set { - isSubsetOf(otherSet: Set): boolean; -} - -if (!(Set.prototype as any).isSubsetOf) { - (Set.prototype as any).isSubsetOf = function ( - this: Set, - otherSet: Set, - ): boolean { - // @ts-expect-error - TS doesn't know that this is a Set - for (const elem of this) { - // @ts-expect-error - TS doesn't know that otherSet is a Set - if (!otherSet.has(elem)) { - return false; - } - } - return true; - }; -} - -/* eslint-enable */ - -// Add an empty export statement to ensure it's treated as a module -export {}; diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index 1d7364f..862d3b2 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -10,7 +10,6 @@ import type { AppProps } from 'next/app'; import Head from 'next/head'; import { useEffect } from 'react'; import { RecoilRoot } from 'recoil'; -import '../lib/polyfills'; mixpanel.init(AppConfig.analytics.MIXPANEL_TOKEN, { debug: false,