From 0f8b43fbeea72d3e6253bbac4af5033265fcca50 Mon Sep 17 00:00:00 2001 From: Percs <83934299+Percslol@users.noreply.github.com> Date: Mon, 23 Dec 2024 04:04:22 -0600 Subject: [PATCH] update github workflow things --- .github/workflows/main.yml | 2 +- buildstatic.sh => ci/buildstatic.sh | 0 pnpm-lock.yaml | 16 ++++++++-------- src/client/client.ts | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) rename buildstatic.sh => ci/buildstatic.sh (100%) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 858aa7b..e675113 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -154,7 +154,7 @@ jobs: path: dist - name: build statics - run: bash buildstatic.sh + run: bash ./ci/buildstatic.sh - name: upload pages artifact uses: actions/upload-pages-artifact@v3 diff --git a/buildstatic.sh b/ci/buildstatic.sh similarity index 100% rename from buildstatic.sh rename to ci/buildstatic.sh diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4692829..1aa7a21 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1469,8 +1469,8 @@ packages: resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} engines: {node: '>=8'} - is-core-module@2.16.0: - resolution: {integrity: sha512-urTSINYfAYgcbLb0yDQ6egFm6h3Mo1DcF9EkyXSRjjzdHbsulg01qhwWuXdOoUBuTkbQ80KDboXa0vFJ+BDH+g==} + is-core-module@2.16.1: + resolution: {integrity: sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==} engines: {node: '>= 0.4'} is-docker@2.2.1: @@ -1638,8 +1638,8 @@ packages: resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==} engines: {node: '>= 0.6'} - memfs@4.15.0: - resolution: {integrity: sha512-q9MmZXd2rRWHS6GU3WEm3HyiXZyyoA1DqdOhEq0lxPBmKb5S7IAOwX0RgUCwJfqjelDCySa5h8ujOy24LqsWcw==} + memfs@4.15.1: + resolution: {integrity: sha512-ufCzgFwiVnR6R9cCYuvwznJdhdYXEvFl0hpnM4cCtVaVkHuqBR+6fo2sqt1SSMdp+uiHw9GyPZr3OMM5tqjSmQ==} engines: {node: '>= 4.0.0'} merge-descriptors@1.0.3: @@ -4091,7 +4091,7 @@ snapshots: dependencies: binary-extensions: 2.3.0 - is-core-module@2.16.0: + is-core-module@2.16.1: dependencies: hasown: 2.0.2 @@ -4228,7 +4228,7 @@ snapshots: media-typer@0.3.0: {} - memfs@4.15.0: + memfs@4.15.1: dependencies: '@jsonjoy.com/json-pack': 1.1.1(tslib@2.8.1) '@jsonjoy.com/util': 1.5.0(tslib@2.8.1) @@ -4514,7 +4514,7 @@ snapshots: resolve@1.22.10: dependencies: - is-core-module: 2.16.0 + is-core-module: 2.16.1 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 @@ -4949,7 +4949,7 @@ snapshots: webpack-dev-middleware@7.4.2(webpack@5.97.1): dependencies: colorette: 2.0.19 - memfs: 4.15.0 + memfs: 4.15.1 mime-types: 2.1.35 on-finished: 2.4.1 range-parser: 1.2.1 diff --git a/src/client/client.ts b/src/client/client.ts index 9b6173b..9eb9758 100644 --- a/src/client/client.ts +++ b/src/client/client.ts @@ -243,7 +243,7 @@ export class ScramjetClient { if (!sframe) { // we're in a subframe, recurse upward until we find one let currentwin = this.global.window; - while (currentwin.parent != currentwin) { + while (currentwin.parent !== currentwin) { if (!currentwin.frameElement) return null; // ?? if (currentwin.frameElement && currentwin.frameElement[SCRAMJETFRAME]) { return currentwin.frameElement[SCRAMJETFRAME];