clean-up-string
Advanced tools
Comparing version 1.0.0 to 2.0.0
var latins = require("./latins"); | ||
var regexp = new RegExp("(" + Object.keys(latins).join("|") + ")", "g"); | ||
var phpfn = require("phpfn"); | ||
var trim = phpfn("trim"); | ||
var trim = require('lodash.trim'); | ||
@@ -6,0 +5,0 @@ function replaceFunc(oldChar) { |
{ | ||
"name": "clean-up-string", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"description": "Convert certain unicode characters into their ascii equivalents.", | ||
"main": "index.js", | ||
"scripts": {}, | ||
"scripts": { | ||
"test": "node test/index.test.js" | ||
}, | ||
"dependencies": { | ||
"lodash.trim": "^4.5.1" | ||
}, | ||
"devDependencies": { | ||
"wru": "^0.2.7" | ||
}, | ||
"repository": { | ||
@@ -11,3 +19,3 @@ "type": "git", | ||
}, | ||
"license": "ISC", | ||
"license": "Xnet", | ||
"bugs": { | ||
@@ -17,8 +25,12 @@ "url": "https://github.com/unlight/clean-up-string/issues" | ||
"homepage": "https://github.com/unlight/clean-up-string#readme", | ||
"dependencies": { | ||
"phpfn": "^1.0.0" | ||
"directories": { | ||
"test": "test" | ||
}, | ||
"devDependencies": { | ||
"wru": "^0.2.7" | ||
} | ||
"keywords": [ | ||
"cleanup", | ||
"ascii", | ||
"slugify", | ||
"slug", | ||
"latinize" | ||
] | ||
} |
Sorry, the diff of this file is not supported yet
4562
5
281
+ Addedlodash.trim@^4.5.1
+ Addedlodash.trim@4.5.1(transitive)
- Removedphpfn@^1.0.0
- Removedabbrev@1.1.1(transitive)
- Removedcli@0.4.4-2(transitive)
- Removedcommander@0.6.12.0.0(transitive)
- Removedconfig-chain@1.1.13(transitive)
- Removeddebug@4.4.0(transitive)
- Removeddeep-equal@0.1.2(transitive)
- Removeddiff@1.0.7(transitive)
- Removedfresh@0.1.0(transitive)
- Removedglob@3.2.13.2.3(transitive)
- Removedgraceful-fs@1.2.32.0.3(transitive)
- Removedgrowl@1.7.0(transitive)
- Removedinherits@1.0.22.0.4(transitive)
- Removedini@1.3.8(transitive)
- Removedjade@0.26.3(transitive)
- Removedjs-beautify@1.4.2(transitive)
- Removedlru-cache@2.7.3(transitive)
- Removedmime@1.2.6(transitive)
- Removedminimatch@0.2.14(transitive)
- Removedmkdirp@0.3.00.3.5(transitive)
- Removedmocha@1.17.0(transitive)
- Removedms@2.1.3(transitive)
- Removednopt@2.1.2(transitive)
- Removedphpfn@1.0.0(transitive)
- Removedphpjs@1.3.2(transitive)
- Removedproto-list@1.2.4(transitive)
- Removedrange-parser@0.0.4(transitive)
- Removedsend@0.1.0(transitive)
- Removedsigmund@1.0.1(transitive)
- Removedunderscore@1.5.2(transitive)