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

fwk

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fwk - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

15

lib/factory.js

@@ -54,3 +54,3 @@ // Copyright Teleportd

log = function(str, debug) {
log = function(str, debug, error) {
if(!my.LOGGING) return;

@@ -61,3 +61,8 @@ var pre = '[' + new Date().toISOString() + '] ';

str.split('\n').forEach(function(line) {
console.log(pre + line);
if(error)
util.error(pre + line)
else if(debug)
util.debug(pre + line);
else
console.log(pre + line);
});

@@ -71,7 +76,7 @@ };

error: function(err) {
log('*********************************************');
log('*********************************************', false, true);
log('ERROR: ' + err.message);
log('*********************************************');
log('*********************************************', false, true);
log(err.stack);
log('---------------------------------------------');
log('---------------------------------------------', false, true);
},

@@ -78,0 +83,0 @@ debug: function(str) {

{
"name": "fwk",
"version": "1.0.5",
"version": "1.0.6",
"description": "Simple JS framework for node.js",

@@ -5,0 +5,0 @@ "keywords": ["fwk", "node"],

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