New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

scryptlib

Package Overview
Dependencies
Maintainers
3
Versions
297
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scryptlib - npm Package Compare versions

Comparing version 0.3.2-beta2 to 0.3.2-beta3

1

dist/compilerWrapper.d.ts

@@ -112,2 +112,3 @@ import { ContractDescription } from './contract';

optimize?: boolean;
timeout?: number;
}): CompileResult;

@@ -114,0 +115,0 @@ export declare function compilerVersion(cwd?: string): string;

3

dist/compilerWrapper.js

@@ -51,2 +51,3 @@ "use strict";

const outputDir = settings.outputDir || srcDir;
const timeout = settings.timeout || 1200000;
const outputFiles = {};

@@ -57,3 +58,3 @@ try {

const cmd = `${cmdPrefix} compile ${settings.asm || settings.desc ? '--asm' : ''} ${settings.ast || settings.desc ? '--ast' : ''} ${settings.debug == false ? '' : '--debug'} ${settings.optimize ? '--opt' : ''} -r -o "${outputDir}" ${settings.cmdArgs ? settings.cmdArgs : ''}`;
let output = child_process_1.execSync(cmd, { input: sourceContent, cwd: curWorkingDir }).toString();
let output = child_process_1.execSync(cmd, { input: sourceContent, cwd: curWorkingDir, timeout }).toString();
// Because the output of the compiler on the win32 platform uses crlf as a newline, here we change \r\n to \n. make SYNTAX_ERR_REG、SEMANTIC_ERR_REG、IMPORT_ERR_REG work.

@@ -60,0 +61,0 @@ output = output.split(/\r?\n/g).join('\n');

{
"name": "scryptlib",
"version": "0.3.2-beta2",
"version": "0.3.2-beta3",
"description": "Javascript SDK for integration of Bitcoin SV Smart Contracts written in sCrypt language.",

@@ -5,0 +5,0 @@ "engines": {

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