From 72371a85fea8e54ee4bebc61635e5634d01497c1 Mon Sep 17 00:00:00 2001 From: Vitaly Puzrin Date: Sun, 22 Feb 2015 06:52:01 +0300 Subject: [PATCH] Replaced unicode-7.0.0 with uc.micro to reduce size --- lib/common/utils.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common/utils.js b/lib/common/utils.js index 6b68f52..5eeb157 100644 --- a/lib/common/utils.js +++ b/lib/common/utils.js @@ -223,7 +223,7 @@ function isWhiteSpace(code) { //////////////////////////////////////////////////////////////////////////////// /*eslint-disable max-len*/ -var UNICODE_PUNCT_RE = require('unicode-7.0.0/categories/P/regex'); +var UNICODE_PUNCT_RE = require('uc.micro/categories/P/regex'); // Currently without astral characters support. function isPunctChar(char) { diff --git a/package.json b/package.json index 46cebe6..142ce8e 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "dependencies": { "argparse": "~ 0.1.16", "autolinker": "~ 0.15.2", - "unicode-7.0.0": "~0.1.5" + "uc.micro": "~ 0.1.0" }, "devDependencies": { "ansi": "~0.3.0",