Socket
Socket
Sign inDemoInstall

@helios-lang/compiler

Package Overview
Dependencies
Maintainers
0
Versions
271
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@helios-lang/compiler - npm Package Compare versions

Comparing version 0.17.0-92 to 0.17.0-93

6

package.json
{
"name": "@helios-lang/compiler",
"version": "0.17.0-92",
"version": "0.17.0-93",
"description": "Helios is a Domain Specific Language that compiles to Plutus-Core (i.e. Cardano on-chain validator scripts). Helios is a non-Haskell alternative to Plutus. With this library you can compile Helios scripts and build Cardano transactions, all you need to build 100% client-side dApps for Cardano.",

@@ -46,5 +46,5 @@ "main": "src/index.js",

"@helios-lang/compiler-utils": "^0.1.55",
"@helios-lang/ir": "^0.1.38",
"@helios-lang/ir": "^0.1.39",
"@helios-lang/type-utils": "^0.1.21",
"@helios-lang/uplc": "^0.3.7"
"@helios-lang/uplc": "^0.3.8"
},

@@ -51,0 +51,0 @@ "scripts": {

@@ -299,3 +299,6 @@ import { bytesToHex } from "@helios-lang/codec-utils"

// these fields come the contract-utils package and must also be passed to the alt unoptimize compilation
const hashDependencies = options.hashDependencies ?? {}
const dependsOnOwnHash = options.dependsOnOwnHash ?? false
const explicitOptimize = options.optimize

@@ -313,8 +316,16 @@ // uses implied optimize=true if not explicitly set

const ir = this.toIR({
dependsOnOwnHash: options.dependsOnOwnHash ?? false,
hashDependencies: hashDependencies,
dependsOnOwnHash,
hashDependencies,
optimize: optimize
})
const alt = withAlt ? this.compile({ optimize: false }) : undefined
// don't (yet) compile user funcs in alt unoptimized
const alt = withAlt
? this.compile({
optimize: false,
dependsOnOwnHash,
hashDependencies
})
: undefined
// todo: re-use the IR from alt version to shorten the IR compilation for optimized version (~0.5 seconds in one sample)

@@ -321,0 +332,0 @@ // todo: or can we re-use some intermediate result within the IR-compilation process, to reduce overhead even further?

@@ -1,1 +0,1 @@

export const VERSION = "0.17.0-92"
export const VERSION = "0.17.0-93"

@@ -1,2 +0,2 @@

export const VERSION: "0.17.0-92";
export const VERSION: "0.17.0-93";
//# sourceMappingURL=version.d.ts.map

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc