From c8272b9dcbaff6ae7b72adfaa76a20d170e42b4f Mon Sep 17 00:00:00 2001 From: Rob Eisenberg Date: Wed, 18 Feb 2015 23:19:54 -0500 Subject: [PATCH] chore(all): prepare release 0.2.3 --- bower.json | 2 +- dist/amd/index.js | 14 +++----------- dist/commonjs/index.js | 14 +++----------- dist/system/index.js | 14 +++----------- doc/CHANGELOG.md | 8 ++++++++ package.json | 2 +- 6 files changed, 19 insertions(+), 35 deletions(-) diff --git a/bower.json b/bower.json index 99af05c..e9b2bb8 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "aurelia-logging", - "version": "0.2.2", + "version": "0.2.3", "description": "A minimal but effective logging mechanism with support for log levels and pluggable log appenders.", "keywords": [ "aurelia", diff --git a/dist/amd/index.js b/dist/amd/index.js index 2e4f949..85ccceb 100644 --- a/dist/amd/index.js +++ b/dist/amd/index.js @@ -1,10 +1,7 @@ define(["exports"], function (exports) { "use strict"; - var _prototypeProperties = function (child, staticProps, instanceProps) { - if (staticProps) Object.defineProperties(child, staticProps); - if (instanceProps) Object.defineProperties(child.prototype, instanceProps); - }; + var _prototypeProperties = function (child, staticProps, instanceProps) { if (staticProps) Object.defineProperties(child, staticProps); if (instanceProps) Object.defineProperties(child.prototype, instanceProps); }; exports.getLogger = getLogger; exports.addAppender = addAppender; @@ -103,7 +100,7 @@ define(["exports"], function (exports) { logLevel = level; } - var Logger = (function () { + var Logger = exports.Logger = (function () { function Logger(id, key) { if (key !== loggerConstructionKey) { throw new Error("You cannot instantiate \"Logger\". Use the \"getLogger\" API instead."); @@ -116,31 +113,26 @@ define(["exports"], function (exports) { debug: { value: function debug() {}, writable: true, - enumerable: true, configurable: true }, info: { value: function info() {}, writable: true, - enumerable: true, configurable: true }, warn: { value: function warn() {}, writable: true, - enumerable: true, configurable: true }, error: { value: function error() {}, writable: true, - enumerable: true, configurable: true } }); return Logger; })(); - - exports.Logger = Logger; + exports.__esModule = true; }); \ No newline at end of file diff --git a/dist/commonjs/index.js b/dist/commonjs/index.js index e1b4b0b..d548011 100644 --- a/dist/commonjs/index.js +++ b/dist/commonjs/index.js @@ -1,9 +1,6 @@ "use strict"; -var _prototypeProperties = function (child, staticProps, instanceProps) { - if (staticProps) Object.defineProperties(child, staticProps); - if (instanceProps) Object.defineProperties(child.prototype, instanceProps); -}; +var _prototypeProperties = function (child, staticProps, instanceProps) { if (staticProps) Object.defineProperties(child, staticProps); if (instanceProps) Object.defineProperties(child.prototype, instanceProps); }; exports.getLogger = getLogger; exports.addAppender = addAppender; @@ -102,7 +99,7 @@ function setLevel(level) { logLevel = level; } -var Logger = (function () { +var Logger = exports.Logger = (function () { function Logger(id, key) { if (key !== loggerConstructionKey) { throw new Error("You cannot instantiate \"Logger\". Use the \"getLogger\" API instead."); @@ -115,30 +112,25 @@ var Logger = (function () { debug: { value: function debug() {}, writable: true, - enumerable: true, configurable: true }, info: { value: function info() {}, writable: true, - enumerable: true, configurable: true }, warn: { value: function warn() {}, writable: true, - enumerable: true, configurable: true }, error: { value: function error() {}, writable: true, - enumerable: true, configurable: true } }); return Logger; })(); - -exports.Logger = Logger; \ No newline at end of file +exports.__esModule = true; \ No newline at end of file diff --git a/dist/system/index.js b/dist/system/index.js index ee3435c..af3acb2 100644 --- a/dist/system/index.js +++ b/dist/system/index.js @@ -91,10 +91,7 @@ System.register([], function (_export) { return { setters: [], execute: function () { - _prototypeProperties = function (child, staticProps, instanceProps) { - if (staticProps) Object.defineProperties(child, staticProps); - if (instanceProps) Object.defineProperties(child.prototype, instanceProps); - }; + _prototypeProperties = function (child, staticProps, instanceProps) { if (staticProps) Object.defineProperties(child, staticProps); if (instanceProps) Object.defineProperties(child.prototype, instanceProps); }; levels = _export("levels", { none: 0, @@ -108,7 +105,7 @@ System.register([], function (_export) { appenders = []; slice = Array.prototype.slice; loggerConstructionKey = {}; - Logger = (function () { + Logger = _export("Logger", (function () { function Logger(id, key) { if (key !== loggerConstructionKey) { throw new Error("You cannot instantiate \"Logger\". Use the \"getLogger\" API instead."); @@ -121,32 +118,27 @@ System.register([], function (_export) { debug: { value: function debug() {}, writable: true, - enumerable: true, configurable: true }, info: { value: function info() {}, writable: true, - enumerable: true, configurable: true }, warn: { value: function warn() {}, writable: true, - enumerable: true, configurable: true }, error: { value: function error() {}, writable: true, - enumerable: true, configurable: true } }); return Logger; - })(); - _export("Logger", Logger); + })()); } }; }); \ No newline at end of file diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index eeab37c..fa07115 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -1,3 +1,11 @@ +### 0.2.3 (2015-02-18) + + +#### Bug Fixes + +* **build:** add missing bower bump ([0a682c5e](http://github.com/aurelia/logging/commit/0a682c5e50345a93f242463f16416feb9a6950ed)) + + ### 0.2.2 (2015-01-22) * Added preliminary API docs. diff --git a/package.json b/package.json index ec54f6c..14f1cbf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aurelia-logging", - "version": "0.2.2", + "version": "0.2.3", "description": "A minimal but effective logging mechanism with support for log levels and pluggable log appenders.", "keywords": [ "aurelia",