yakuza0 2.23.6-beta.0 → 2.23.6-beta.1

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.
package/cli/index.js CHANGED
@@ -410,7 +410,7 @@ var run = exports.run = function () {
410
410
  } catch (e) {}
411
411
  projectName = process.env.CLN_IMAGE_NAME || projectName;
412
412
  imageReleaseName = projectName + ':' + CLNVERSION;
413
- imageReleaseNameSave = projectName + '_' + CLNVERSION;
413
+ imageReleaseNameSave = (projectName + '_' + CLNVERSION).replace(/\//g, "_");
414
414
  BI = process.env.CLN_IMAGE_BI || (isInner ? 'registry-image.rdc.nfjbill.ren/cln-server:0.7.0' : 'nfjbill/cln-server:0.7.0');
415
415
  preLoad = (process.env.CLN_IMAGE_LOAD || '').split(',');
416
416
  // let BI = process.env.CLN_IMAGE_BI
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yakuza0",
3
- "version": "2.23.6-beta.0",
3
+ "version": "2.23.6-beta.1",
4
4
  "description": "yakuza0 with nuxt",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -63,10 +63,10 @@ exports.default = function (targetDir) {
63
63
  // console.error(`处理文件 ${filePath} 时出错: ${err}`);
64
64
  }
65
65
  }
66
- function isWindowsPath(str) {
67
- var windowsPathRegex = /^[a-zA-Z]:\\(?:[^<>:"/\\|?*\x00-\x1F]*\\)*[^<>:"/\\|?*\x00-\x1F]*$/;
66
+ function isWindowsPath(path) {
67
+ var windowsPathPattern = /^([a-zA-Z]:[\\/]|\\)?(?:[^\\\/:*?"<>|\r\n]+[\\/])*(?:[^\\\/:*?"<>|\r\n]*)$/;
68
68
 
69
- return windowsPathRegex.test(str);
69
+ return windowsPathPattern.test(path);
70
70
  }
71
71
  };
72
72