New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

beans

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

beans - npm Package Compare versions

Comparing version 0.6.4 to 0.6.5

17

lib/beans.js

@@ -24,3 +24,3 @@ var build, buildBrowser, buildNode, bundle, clean, coffee, commands, compile, docs, fs, glob, h, help, include, includeSource, loadinfo, makeSender, middleware, nodeunit, packageFile, path, publish, readline, run, scripts, stitch, test, uglify, userSource, ver, version, watch;

compile = function(info, file, sourcePath, targetPath) {
var hookResult, source, src, target, ts, _base, _base2, _base3, _base4;
var hookResult, source, src, target, _base, _base2, _base3, _base4;
file = fs.realpathSync(file);

@@ -52,5 +52,3 @@ src = fs.readFileSync(file, 'utf8');

}
ts = (new Date()).toLocaleTimeString();
source = sourcePath.substr(path.resolve('.').length + 1) + source;
return console.log(ts + ' - compiled ' + source);
return h.fileLog('compiled', file);
};

@@ -131,3 +129,6 @@

var paths, pth;
bundle(info, fn);
bundle(info, function(source) {
h.fileLog('bundled');
return typeof fn === "function" ? fn(source) : void 0;
});
if (watch) {

@@ -144,4 +145,6 @@ paths = (function() {

})();
return h.watchFiles(glob.globSync("{" + (paths.join()) + "}"), function() {
return bundle(info);
return h.watchFiles(glob.globSync("{" + (paths.join()) + "}"), function(file) {
return bundle(info, function() {
return h.fileLog('rebundled', file);
});
});

@@ -148,0 +151,0 @@ }

@@ -202,1 +202,9 @@ var exec, exports, fetchPath, fs, glob, ifInstalled, path, request, rimraf, uglify, which;

};
exports.fileLog = function(event, file) {
var ts;
if (file == null) file = '';
ts = (new Date()).toLocaleTimeString();
file = ' ' + file.substr(path.resolve('.').length + 1);
return console.log("" + ts + " - " + event + file);
};

@@ -6,3 +6,3 @@ {

"keywords": ["browser", "build", "coffeescript"],
"version": "0.6.4",
"version": "0.6.5",
"repository": {

@@ -9,0 +9,0 @@ "type": "git",

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