@cloudflare/util-logger
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -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) |
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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4480
2
35
+ Added@types/debug@^0.0.30
+ Added@types/debug@0.0.30(transitive)