Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@truffle/compile-common

Package Overview
Dependencies
Maintainers
6
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@truffle/compile-common - npm Package Compare versions

Comparing version 0.2.6-alphaTez.1 to 0.2.6-alphaTez.2

23

index.js

@@ -36,3 +36,3 @@ const path = require("path");

Common.display = (paths, { quiet, working_directory, logger }, entryPoint) => {
Common.display = (paths, { quiet, working_directory, events }, entryPoint) => {
if (quiet !== true) {

@@ -43,9 +43,18 @@ if (!Array.isArray(paths)) paths = Object.keys(paths);

paths.sort().forEach(contract => {
if (path.isAbsolute(contract))
contract = `.${path.sep}${path.relative(working_directory, contract)}`;
if (contract.match(blacklistRegex)) return;
logger.log(`> Compiling ${contract}`);
const sources = paths
.sort()
.map(contract => {
if (path.isAbsolute(contract))
contract = `.${path.sep}${path.relative(
working_directory,
contract
)}`;
if (contract.match(blacklistRegex)) return;
return contract;
})
.filter(contract => contract);
events.emit("compile:sourcesToCompile", {
sourceFileNames: sources,
entryPoint
});
if (entryPoint) logger.log(`> Using entry point "${entryPoint}"`);
}

@@ -52,0 +61,0 @@ };

{
"name": "@truffle/compile-common",
"version": "0.2.6-alphaTez.1",
"version": "0.2.6-alphaTez.2",
"description": "Library for common compiler helpers",

@@ -27,3 +27,3 @@ "author": "CruzMolina <7537712+CruzMolina@users.noreply.github.com>",

},
"gitHead": "b17faa2e241cc504df4244a97e2869f55d31ba58"
"gitHead": "f2be8e62d3f20d1e8d731cac4353d8ffeb233fd5"
}
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