Comparing version 2.0.0 to 2.0.1
@@ -17,6 +17,4 @@ /* | ||
function addFile(b, file, expose) { | ||
b.add('./' + path.relative(process.cwd(), file).replace(/\\/g, '/'), { | ||
expose : expose | ||
}); | ||
function relative(file) { | ||
return './' + path.relative(process.cwd(), file).replace(/\\/g, '/'); | ||
} | ||
@@ -26,11 +24,6 @@ | ||
var broutFile = resolve.sync('brout', { | ||
baseDir: __dirname, | ||
packageFilter: function (pkg) { | ||
return { main : pkg.browser }; | ||
} | ||
var clientFile = path.join(__dirname, 'client.js'); | ||
b.add(relative(clientFile), { | ||
expose : 'min-wd' | ||
}); | ||
addFile(b, broutFile, 'brout'); | ||
var clientFile = path.join(__dirname, 'client.js'); | ||
addFile(b, clientFile, 'min-wd'); | ||
@@ -37,0 +30,0 @@ var stream = through(); |
{ | ||
"name": "min-wd", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Minimal WebDriver that pipes stdin to browsers", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
16329
446