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

@dataform-co/build.js

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dataform-co/build.js - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

build/cli.js

@@ -56,5 +56,3 @@ #!/usr/bin/env node

}), argv => {
console.log(argv);
var ctx = index_1.Context.create(argv);
console.log(ctx);
var config = buildConfig(argv);

@@ -61,0 +59,0 @@ graph_1.graph(rootDir, config, ctx)

15

build/graph.js

@@ -43,5 +43,16 @@ "use strict";

if (dep.indexOf("//") == 0) {
return dep;
if (dep.indexOf(":") < 0) {
var splits = dep.split("/");
return dep + ":" + splits[splits.length - 1];
}
else {
return dep;
}
}
return `//${baseNamePath}${dep}`;
else if (dep.indexOf(":") == 0) {
return `//${baseNamePath}${dep}`;
}
else {
throw Error(`Invalid dependency ${dep} in rule ${rule.fullName}`);
}
});

@@ -48,0 +59,0 @@ rule.resolvedCache = rule.cache

@@ -76,5 +76,3 @@ #!/usr/bin/env node

argv => {
console.log(argv);
var ctx = Context.create(argv);
console.log(ctx);
var config = buildConfig(argv);

@@ -81,0 +79,0 @@ graph(rootDir, config, ctx)

@@ -54,5 +54,13 @@ import { promisify } from "util";

if (dep.indexOf("//") == 0) {
return dep;
if (dep.indexOf(":") < 0) {
var splits = dep.split("/");
return dep + ":" + splits[splits.length - 1];
} else {
return dep;
}
} else if (dep.indexOf(":") == 0) {
return `//${baseNamePath}${dep}`;
} else {
throw Error(`Invalid dependency ${dep} in rule ${rule.fullName}`);
}
return `//${baseNamePath}${dep}`;
});

@@ -59,0 +67,0 @@ rule.resolvedCache = rule.cache

{
"name": "@dataform-co/build.js",
"version": "0.0.4",
"version": "0.0.5",
"description": "Simple, un-opinionated JavaScript build scripting.",

@@ -5,0 +5,0 @@ "main": "build/index.js",

Sorry, the diff of this file is not supported yet

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