js-code-detector 0.0.35 → 0.0.36

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.
@@ -73,7 +73,7 @@ function getGitRepoUrlByToken(gitRepoUrl) {
73
73
  if (!projectPath) {
74
74
  throw new Error("请传入 GitLab 项目路径(如 dev-team/my-project)");
75
75
  }
76
- return `http://${gitlabToken}@${gitlabDomain}/${projectPath}.git`;
76
+ return `http://oauth:${gitlabToken}@${gitlabDomain}/${projectPath}.git`;
77
77
  }
78
78
  // Annotate the CommonJS export names for ESM import in node:
79
79
  0 && (module.exports = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "js-code-detector",
3
- "version": "0.0.35",
3
+ "version": "0.0.36",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.js",
6
6
  "types": "dist/cjs/index.d.ts",