scrypttest
Advanced tools
Comparing version 0.1.27 to 0.1.28
# CHANGELOG | ||
## 0.1.28 | ||
Enhancements: | ||
* Remove compile timeout | ||
## 0.1.27 | ||
@@ -4,0 +10,0 @@ |
@@ -14,3 +14,2 @@ 'use strict'; | ||
const FLAGS = Interpreter.SCRIPT_VERIFY_MINIMALDATA | Interpreter.SCRIPT_ENABLE_SIGHASH_FORKID | Interpreter.SCRIPT_ENABLE_MAGNETIC_OPCODES | Interpreter.SCRIPT_ENABLE_MONOLITH_OPCODES; | ||
const COMPILE_TIMEOUT = 30000; // in ms | ||
const ASM_SUFFIX = '_asm.json'; | ||
@@ -128,3 +127,3 @@ const AST_SUFFIX = '_ast.json'; | ||
const cmd = `node "node_modules/scryptc/scrypt.js" compile "${sourcePath}" --asm --ast --debug`; | ||
const output = childProcess.execSync(cmd, { timeout: COMPILE_TIMEOUT }).toString(); | ||
const output = childProcess.execSync(cmd).toString(); | ||
if (!output.includes('Error')) { | ||
@@ -131,0 +130,0 @@ const asmObj = JSON.parse(fs.readFileSync(asmFileName, 'utf8')); |
{ | ||
"name": "scrypttest", | ||
"version": "0.1.27", | ||
"version": "0.1.28", | ||
"description": "testing library for sCrypt projects", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22994
478