mm_expand 1.8.1 → 1.8.2

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1326,7 +1326,7 @@ if (typeof($) === "undefined") {
1326
1326
  dir = $.runPath;
1327
1327
  }
1328
1328
  file = file.replace(/\//g, slash);
1329
- if (!file.startWith($.runPath)) {
1329
+ if (!file.startWith($.rootPath)) {
1330
1330
  if (!file.startWith($.runPath)) {
1331
1331
  if (file.startWith(slash)) {
1332
1332
  file = join($.runPath, file);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_expand",
3
- "version": "1.8.1",
3
+ "version": "1.8.2",
4
4
  "description": "这是超级美眉原型函数拓展模块,更有利于对string、array、object的操作,避免出错,简化业务逻辑。",
5
5
  "main": "index.js",
6
6
  "scripts": {