imdone-core 1.53.18 → 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 uuid = require('uuid'); // Ensure you have uuid installed: npm install uuid
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_${uuid.v4()}__`;
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.18",
3
+ "version": "1.53.20",
4
4
  "description": "imdone-core",
5
5
  "main": "index.js",
6
6
  "scripts": {