pinokiod 1.2.50 → 1.2.52

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.
@@ -308,6 +308,10 @@ class Api {
308
308
  // git url
309
309
  // test to see if any of the gitPaths match partially
310
310
 
311
+ if (!uri.includes(".git")) {
312
+ throw new Error("a git repository URI must end with .git")
313
+ }
314
+
311
315
  let repos = Object.keys(this.gitPath)
312
316
  let matched_repo = repos.filter((repo) => {
313
317
  return uri.includes(repo)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "1.2.50",
3
+ "version": "1.2.52",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -543,7 +543,7 @@ body.dark .loader-container {
543
543
  <button class='btn2' id='forward'><i class="fa-solid fa-chevron-right"></i></button>
544
544
  <% } %>
545
545
  <button class='btn2' id='clone-tab'><i class='fa-regular fa-copy'></i> Clone</button>
546
- <a class='btn2' id='open-browser' target="_blank" href=""><i class="fa-solid fa-square-arrow-up-right"></i> Popout</a>
546
+ <a class='btn2' id='open-browser' target="_blank" href="" features="browser"><i class="fa-solid fa-square-arrow-up-right"></i> Popout</a>
547
547
  <button class='btn2' id='reload'><i class="fa-solid fa-rotate-right"></i> Refresh</button>
548
548
  <!--
549
549
  <button class='btn2 logo' id='reload'><i class="fa-solid fa-rotate-right"></i></button>