From 2c674f14ac2406aa6a9b4638dc08a89e7af07f18 Mon Sep 17 00:00:00 2001 From: Bernd Date: Thu, 16 Apr 2015 10:34:03 +0200 Subject: [PATCH] Update punycode.js https://github.com/bestiejs/punycode.js/commit/702cc2daf10a5b97454666069e146d04745af728 --- src/lib/punycode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/punycode.js b/src/lib/punycode.js index ac6859738..f3866b8e6 100644 --- a/src/lib/punycode.js +++ b/src/lib/punycode.js @@ -64,7 +64,7 @@ * @returns {Error} Throws a `RangeError` with the applicable error message. */ function error(type) { - throw RangeError(errors[type]); + throw new RangeError(errors[type]); } /**