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

@cloudflare/util-logger

Package Overview
Dependencies
Maintainers
26
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudflare/util-logger - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

src/createLogger.ts

12

CHANGELOG.md

@@ -6,3 +6,11 @@ # Change Log

<a name="1.0.8"></a>
<a name="1.0.9"></a>
## [1.0.9](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/util-logger@1.0.8...@cloudflare/util-logger@1.0.9) (2018-07-16)
**Note:** Version bump only for package @cloudflare/util-logger
<a name="1.0.8"></a>
## [1.0.8](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/util-logger@1.0.7...@cloudflare/util-logger@1.0.8) (2018-06-14)

@@ -15,3 +23,3 @@

<a name="1.0.7"></a>
<a name="1.0.7"></a>

@@ -18,0 +26,0 @@ ## [1.0.7](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/util-logger@1.0.4...@cloudflare/util-logger@1.0.7) (2018-06-07)

8

es/createLogger.js
import debug from 'debug';
export default function createLogger(name) {
export default (function (name) {
var logger = debug(name);
return function (message) {
logger(message);
return logger(message);
};
}
});
import createLogger from './createLogger';
export default createLogger;

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

'use strict';
"use strict";

@@ -6,16 +6,15 @@ Object.defineProperty(exports, "__esModule", {

});
exports.default = createLogger;
exports.default = void 0;
var _debug = require('debug');
var _debug = _interopRequireDefault(require("debug"));
var _debug2 = _interopRequireDefault(_debug);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function createLogger(name) {
const logger = (0, _debug2.default)(name);
var _default = function _default(name) {
var logger = (0, _debug.default)(name);
return function (message) {
logger(message);
return logger(message);
};
}
};
exports.default = _default;

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

'use strict';
"use strict";

@@ -6,9 +6,9 @@ Object.defineProperty(exports, "__esModule", {

});
exports.default = void 0;
var _createLogger = require('./createLogger');
var _createLogger = _interopRequireDefault(require("./createLogger"));
var _createLogger2 = _interopRequireDefault(_createLogger);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = _createLogger2.default;
var _default = _createLogger.default;
exports.default = _default;
{
"name": "@cloudflare/util-logger",
"description": "Cloudflare Logger Util",
"version": "1.0.8",
"version": "1.0.9",
"main": "lib/index.js",

@@ -15,2 +15,3 @@ "module": "es/index.js",

"dependencies": {
"@types/debug": "^0.0.30",
"debug": "^2.2.0"

@@ -17,0 +18,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