imdone-core 1.53.19 → 1.53.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const template = require('lodash.template')
|
|
2
|
-
const
|
|
2
|
+
const uniqid = require('uniqid');
|
|
3
3
|
|
|
4
4
|
module.exports = {
|
|
5
5
|
format,
|
|
@@ -50,7 +50,7 @@ function interpolate(content, data, opts) {
|
|
|
50
50
|
}
|
|
51
51
|
return result;
|
|
52
52
|
} catch (e) {
|
|
53
|
-
const token = `__ERROR_TOKEN_${
|
|
53
|
+
const token = `__ERROR_TOKEN_${uniqid()}__`;
|
|
54
54
|
errorTokens[token] = match;
|
|
55
55
|
return token;
|
|
56
56
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "imdone-core",
|
|
3
|
-
"version": "1.53.
|
|
3
|
+
"version": "1.53.20",
|
|
4
4
|
"description": "imdone-core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -106,7 +106,6 @@
|
|
|
106
106
|
"sift": "^17.1.3",
|
|
107
107
|
"simple-git": "^3.19.1",
|
|
108
108
|
"uniqid": "^5.4.0",
|
|
109
|
-
"uuid": "^11.0.5",
|
|
110
109
|
"xregexp": "^5.1.0"
|
|
111
110
|
},
|
|
112
111
|
"devDependencies": {
|