[Pkg-javascript-commits] [node-component-emitter] 01/07: New upstream version 1.2.1

Sruthi Chandran srud-guest at moszumanska.debian.org
Mon Oct 17 15:48:05 UTC 2016


This is an automated email from the git hooks/post-receive script.

srud-guest pushed a commit to branch master
in repository node-component-emitter.

commit 400a8183c869bbe3c932fe7444e6c27ae9c984d8
Author: Sruthi <srud at disroot.org>
Date:   Mon Oct 17 20:39:43 2016 +0530

    New upstream version 1.2.1
---
 History.md   | 7 ++++++-
 bower.json   | 2 +-
 index.js     | 4 +++-
 package.json | 2 +-
 4 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/History.md b/History.md
index 2ab0779..2a49b63 100644
--- a/History.md
+++ b/History.md
@@ -1,9 +1,14 @@
 
+1.2.1 / 2016-04-18
+==================
+
+ * enable client side use
+
 1.2.0 / 2014-02-12
 ==================
 
  * prefix events with `$` to support object prototype method names
- 
+
 1.1.3 / 2014-06-20
 ==================
 
diff --git a/bower.json b/bower.json
index c1a5c01..87bb065 100644
--- a/bower.json
+++ b/bower.json
@@ -5,7 +5,7 @@
     "emitter",
     "events"
   ],
-  "version": "1.2.0",
+  "version": "1.2.1",
   "license": "MIT",
   "main": "index.js",
   "homepage": "https://github.com/component/emitter",
diff --git a/index.js b/index.js
index 1c78176..fa4faee 100644
--- a/index.js
+++ b/index.js
@@ -3,7 +3,9 @@
  * Expose `Emitter`.
  */
 
-module.exports = Emitter;
+if (typeof module !== 'undefined') {
+  module.exports = Emitter;
+}
 
 /**
  * Initialize a new `Emitter`.
diff --git a/package.json b/package.json
index b523901..ae5f7ad 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
 {
   "name": "component-emitter",
   "description": "Event emitter",
-  "version": "1.2.0",
+  "version": "1.2.1",
   "license": "MIT",
   "devDependencies": {
     "mocha": "*",

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-component-emitter.git



More information about the Pkg-javascript-commits mailing list