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

@openfn/logger

Package Overview
Dependencies
Maintainers
4
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openfn/logger - npm Package Compare versions

Comparing version 0.0.14 to 0.0.15

14

dist/index.js

@@ -63,8 +63,5 @@ // src/logger.ts

level: "default",
// TODO support an array of emitters here
logger: defaultEmitter,
// I guess?
hideNamespace: false,
hideIcons: false,
// Not implemented
wrap: false,

@@ -178,5 +175,5 @@ showTimestamps: false,

delete timers[name2];
return duration_default((/* @__PURE__ */ new Date()).getTime() - startTime);
return duration_default(new Date().getTime() - startTime);
}
timers[name2] = (/* @__PURE__ */ new Date()).getTime();
timers[name2] = new Date().getTime();
};

@@ -195,10 +192,6 @@ const wrap = (level) => (...args) => log(level, ...args);

print,
// possible convenience APIs
force: () => {
},
// force the next lines to log (even if silent)
unforce: () => {
},
// restore silent default
// print a line break
break: () => {

@@ -209,5 +202,3 @@ console.log();

},
// set the indent level
options: opts
// debug and testing
};

@@ -286,3 +277,2 @@ return logger;

level,
// Chop out the square brackets from the namespace, it's a style thing and annoying in tests
namespace: namespace.substring(1, namespace.length - 1),

@@ -289,0 +279,0 @@ icon,

4

package.json
{
"name": "@openfn/logger",
"version": "0.0.14",
"version": "0.0.15",
"description": "Cross-package logging utility",

@@ -32,3 +32,3 @@ "module": "dist/index.js",

"tslib": "^2.4.0",
"tsup": "^7.1.0",
"tsup": "^6.2.3",
"typescript": "^4.8.3"

@@ -35,0 +35,0 @@ },

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