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

buster-configuration

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buster-configuration - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

7

lib/file-loader.js

@@ -62,7 +62,8 @@ var B = require("buster-core");

findDefaultFiles: function (baseDir, callback) {
var file;
while (!file && baseDir !== "/") {
var file, lastBaseDir;
do {
file = tryFileNames(baseDir, this.defaultFileNames());
lastBaseDir = baseDir;
baseDir = Path.dirname(baseDir);
}
} while (!file && baseDir !== lastBaseDir);
callback(null, isExistingFile(file) ? [file] : []);

@@ -69,0 +70,0 @@ },

{
"name": "buster-configuration",
"version": "0.5.1",
"version": "0.5.2",
"description": "Implements the buster.js configuration file, including resource loading, file globbing, grouped test configs and more",

@@ -27,3 +27,3 @@ "homepage": "http://busterjs.org/buster-configuration",

"when": "https://github.com/cujojs/when/tarball/1.3.0",
"ramp-resources": ">=0.4",
"ramp-resources": "=0.4.1",
"buster-evented-logger": ">=0.4.4",

@@ -30,0 +30,0 @@ "async": "~0.1",

@@ -0,1 +1,2 @@

var path = require('path');
var buster = require("buster");

@@ -33,5 +34,7 @@ var configuration = require("../lib/buster-configuration");

assert.match(err.message,
"No file provided, and none of\n" +
"[seaman.js, test/seaman.js, spec/seaman.js]" +
" exist");
"No file provided, and none of\n" + "[" +
path.join("seaman.js") + ", " +
path.join("test", "seaman.js") + ", " +
path.join("spec", "seaman.js") +
"]" + " exist");
}));

@@ -38,0 +41,0 @@ },

@@ -5,3 +5,4 @@ var buster = require("buster");

var fs = require("fs");
var FIXTURES_ROOT = path.resolve(__dirname, "..", ".fixtures");
var MODULE_ROOT = path.resolve(__dirname, "..");
var FIXTURES_ROOT = path.resolve(MODULE_ROOT, ".fixtures");

@@ -55,3 +56,3 @@ module.exports = {

cdFixtures: function () {
this.mkdir("");
this.mkdir(FIXTURES_ROOT);
process.chdir(FIXTURES_ROOT);

@@ -67,2 +68,3 @@ },

}
process.chdir(MODULE_ROOT);
rmrf(FIXTURES_ROOT, function (err) {

@@ -69,0 +71,0 @@ if (err) { require("buster").log(err.toString()); }

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