Browse Source

Replaced unicode-7.0.0 with uc.micro to reduce size

pull/82/head
Vitaly Puzrin 10 years ago
parent
commit
72371a85fe
  1. 2
      lib/common/utils.js
  2. 2
      package.json

2
lib/common/utils.js

@ -223,7 +223,7 @@ function isWhiteSpace(code) {
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
/*eslint-disable max-len*/ /*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. // Currently without astral characters support.
function isPunctChar(char) { function isPunctChar(char) {

2
package.json

@ -25,7 +25,7 @@
"dependencies": { "dependencies": {
"argparse": "~ 0.1.16", "argparse": "~ 0.1.16",
"autolinker": "~ 0.15.2", "autolinker": "~ 0.15.2",
"unicode-7.0.0": "~0.1.5" "uc.micro": "~ 0.1.0"
}, },
"devDependencies": { "devDependencies": {
"ansi": "~0.3.0", "ansi": "~0.3.0",

Loading…
Cancel
Save