@abtnode/util 1.16.25 → 1.16.26-beta-e0056285

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,4 +1,5 @@
1
- const lodash = require('lodash');
1
+ const replace = require('lodash/replace');
2
+ const escapeRegExp = require('lodash/escapeRegExp');
2
3
 
3
4
  /**
4
5
  * Replace the back slack('\') with forward slash('/')
@@ -6,4 +7,4 @@ const lodash = require('lodash');
6
7
  * @param {*} flag RegExp flag, default is 'g'
7
8
  * @returns
8
9
  */
9
- module.exports = (str) => lodash.replace(str, new RegExp(lodash.escapeRegExp('\\'), 'g'), '/');
10
+ module.exports = (str) => replace(str, new RegExp(escapeRegExp('\\'), 'g'), '/');
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.25",
6
+ "version": "1.16.26-beta-e0056285",
7
7
  "description": "ArcBlock's JavaScript utility",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -18,15 +18,15 @@
18
18
  "author": "polunzh <polunzh@gmail.com> (http://github.com/polunzh)",
19
19
  "license": "Apache-2.0",
20
20
  "dependencies": {
21
- "@abtnode/constant": "1.16.25",
22
- "@abtnode/logger": "1.16.25",
23
- "@blocklet/constant": "1.16.25",
24
- "@blocklet/meta": "1.16.25",
21
+ "@abtnode/constant": "1.16.26-beta-e0056285",
22
+ "@abtnode/logger": "1.16.26-beta-e0056285",
23
+ "@blocklet/constant": "1.16.26-beta-e0056285",
24
+ "@blocklet/meta": "1.16.26-beta-e0056285",
25
25
  "@ocap/client": "1.18.113",
26
26
  "@ocap/mcrypto": "1.18.113",
27
27
  "@ocap/util": "1.18.113",
28
28
  "@ocap/wallet": "1.18.113",
29
- "archiver": "^5.3.1",
29
+ "archiver": "^7.0.1",
30
30
  "axios": "^0.27.2",
31
31
  "axios-mock-adapter": "^1.21.2",
32
32
  "axon": "^2.0.3",
@@ -76,5 +76,5 @@
76
76
  "fs-extra": "^11.2.0",
77
77
  "jest": "^29.7.0"
78
78
  },
79
- "gitHead": "8752b9a0caa8745e16e1de8db4ef696b713ffb4d"
79
+ "gitHead": "a79b8637ad50d136e7c5d91bfb41dc7a7c337485"
80
80
  }