@abaplint/cli 2.113.152 → 2.113.153

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/build/cli.js +7 -2
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -966,9 +966,14 @@ async function loadDependencies(config, compress, bar, base) {
966
966
  continue;
967
967
  }
968
968
  }
969
+ const toUnixPath = (path) => path.replace(/[\\/]+/g, "/").replace(/^([a-zA-Z]+:|\.\/)/, "");
969
970
  if (d.url) {
970
971
  process.stderr.write("Clone: " + d.url + "\n");
971
- const dir = fs.mkdtempSync(path.join(os.tmpdir(), "abaplint-"));
972
+ let dir = fs.mkdtempSync(path.join(os.tmpdir(), "abaplint-"));
973
+ if (os.platform() === "win32") {
974
+ // must be converted to posix for glob patterns like "/{foo,src}/**/*.*" to work
975
+ dir = toUnixPath(dir);
976
+ }
972
977
  let branch = "";
973
978
  if (d.branch) {
974
979
  branch = "-b " + d.branch + " ";
@@ -54698,7 +54703,7 @@ class Registry {
54698
54703
  }
54699
54704
  static abaplintVersion() {
54700
54705
  // magic, see build script "version.sh"
54701
- return "2.113.152";
54706
+ return "2.113.153";
54702
54707
  }
54703
54708
  getDDICReferences() {
54704
54709
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.152",
3
+ "version": "2.113.153",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.113.152",
41
+ "@abaplint/core": "^2.113.153",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/minimist": "^1.2.5",
44
44
  "@types/mocha": "^10.0.10",