Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: poppinss/youch
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b686f909ccd162618f32aa6a52e61ae4b8e60918
Choose a base ref
...
head repository: poppinss/youch
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 93b08ea8c4a5599f4ab827255619fb8b6eaf8244
Choose a head ref
  • 4 commits
  • 5 files changed
  • 3 contributors

Commits on May 22, 2024

  1. fix: Preview width if stack rows are too wide (#54)

    dunhamjared authored May 22, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    8e5de76 View commit details

Commits on Oct 6, 2024

  1. chore: update dependencies

    RomainLanz committed Oct 6, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    RomainLanz Romain Lanz
    Copy the full SHA
    097b7d2 View commit details

Commits on Oct 7, 2024

  1. chore: update lock file

    thetutlage committed Oct 7, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    thetutlage Harminder Virk
    Copy the full SHA
    e5d0e82 View commit details
  2. chore(release): 3.3.4

    thetutlage committed Oct 7, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    thetutlage Harminder Virk
    Copy the full SHA
    93b08ea View commit details
Showing with 6,332 additions and 49 deletions.
  1. +6,301 −0 package-lock.json
  2. +5 −5 package.json
  3. +13 −22 src/error.compiled.mustache
  4. +6 −16 static/app.css
  5. +7 −6 static/error.mustache
6,301 changes: 6,301 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "youch",
"version": "3.3.3",
"version": "3.3.4",
"description": "HTML Pretty error stack viewer",
"main": "src/Youch.js",
"files": [
@@ -24,17 +24,17 @@
"concat": "^1.0.3",
"cz-conventional-changelog": "^3.3.0",
"japa": "^4.0.0",
"standard": "^17.0.0",
"supertest": "^6.3.3",
"uglify-js": "^3.17.4"
"standard": "^17.1.2",
"supertest": "^6.3.4",
"uglify-js": "^3.19.3"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"cookie": "^0.5.0",
"cookie": "^0.7.1",
"mustache": "^4.2.0",
"stacktracey": "^2.1.8"
},
35 changes: 13 additions & 22 deletions src/error.compiled.mustache
Original file line number Diff line number Diff line change
@@ -488,23 +488,25 @@ body {
.error-frames {
display: flex;
flex-direction: row-reverse;
flex-wrap: wrap;
gap: 40px;
}
.frame-preview {
background: #fff;
width: 50%;
flex: 1 1 400px;
box-shadow: 0px 0px 9px #d3d3d3;
height: 100%;
box-sizing: border-box;
overflow: auto;
width: 100%;
}
.frame-stack {
margin-right: 40px;
flex: 1;
flex: 1 1 300px;
padding: 10px 0;
box-sizing: border-box;
width: 100%;
}
.frames-list {
@@ -632,19 +634,7 @@ code[class*="language-"], pre[class*="language-"] {
display: none;
}
@media only screen and (max-width: 970px) {
.error-frames {
flex-direction: column-reverse;
}
.frame-preview {
width: 100%;
}
.frame-stack {
width: 100%;
}
}
</style>

@@ -665,12 +655,6 @@ code[class*="language-"], pre[class*="language-"] {
</div>

<div class="error-frames">
{{!-- Filled using frontend code, based upon the active frame --}}
<div class="frame-preview is-hidden">
<div id="frame-file"></div>
<div id="frame-code"><pre class="line-numbers"><code class="language-js" id="code-drop"></code></pre></div>
<div id="frame-method"></div>
</div>

<div class="frame-stack">
<div class="frames-filter-selector">
@@ -702,6 +686,13 @@ code[class*="language-"], pre[class*="language-"] {
{{/frames}}
</div>
</div>

{{!-- Filled using frontend code, based upon the active frame --}}
<div class="frame-preview is-hidden">
<div id="frame-file"></div>
<div id="frame-code"><pre class="line-numbers"><code class="language-js" id="code-drop"></code></pre></div>
<div id="frame-method"></div>
</div>
</div>
</section>

22 changes: 6 additions & 16 deletions static/app.css
Original file line number Diff line number Diff line change
@@ -76,23 +76,25 @@ body {

.error-frames {
display: flex;
flex-direction: row-reverse;
flex-wrap: wrap;
gap: 40px;
}

.frame-preview {
background: #fff;
width: 50%;
flex: 1 1 400px;
box-shadow: 0px 0px 9px #d3d3d3;
height: 100%;
box-sizing: border-box;
overflow: auto;
width: 100%;
}

.frame-stack {
margin-right: 40px;
flex: 1;
flex: 1 1 300px;
padding: 10px 0;
box-sizing: border-box;
width: 100%;
}

.frames-list {
@@ -220,16 +222,4 @@ code[class*="language-"], pre[class*="language-"] {
display: none;
}

@media only screen and (max-width: 970px) {
.error-frames {
flex-direction: column-reverse;
}

.frame-preview {
width: 100%;
}

.frame-stack {
width: 100%;
}
}
13 changes: 7 additions & 6 deletions static/error.mustache
Original file line number Diff line number Diff line change
@@ -35,12 +35,6 @@
</div>
<div class="error-frames">
{{!-- Filled using frontend code, based upon the active frame --}}
<div class="frame-preview is-hidden">
<div id="frame-file"></div>
<div id="frame-code"><pre class="line-numbers"><code class="language-js" id="code-drop"></code></pre></div>
<div id="frame-method"></div>
</div>
<div class="frame-stack">
<div class="frames-filter-selector">
@@ -72,6 +66,13 @@
{{/frames}}
</div>
</div>
{{!-- Filled using frontend code, based upon the active frame --}}
<div class="frame-preview is-hidden">
<div id="frame-file"></div>
<div id="frame-code"><pre class="line-numbers"><code class="language-js" id="code-drop"></code></pre></div>
<div id="frame-method"></div>
</div>
</div>
</section>