From d9498a57ecf3862b167cf0b5d6cfc65e41e367d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Fri, 2 Feb 2018 09:45:19 +0100 Subject: [PATCH] 2.0.0 --- History.md | 12 ++++++++++++ package.json | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/History.md b/History.md index b345858..fdd28e0 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,15 @@ +# 2.0.0 (2018-02-02) + + - Update to events code from node.js 8.x + - Adds `prependListener()` and `prependOnceListener()` + - Adds `eventNames()` method + - (semver major) Unwrap `once()` listeners in `listeners()` + - copy tests from node.js + +Note that this version doubles the gzipped size, jumping from 1.1KB to 2.1KB, +due to new methods and runtime performance improvements. Be aware of that when +upgrading. + # 1.1.1 (2016-06-22) - add more context to errors if they are not instanceof Error diff --git a/package.json b/package.json index a56a98e..03476d7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "events", "id": "events", - "version": "1.1.1", + "version": "2.0.0", "description": "Node's event emitter for all engines.", "keywords": [ "events",