Skip to content

fix: usage in environment without window#327

Merged
ShGKme merged 1 commit into
mainfrom
fix/globalThis
Jul 20, 2026
Merged

fix: usage in environment without window#327
ShGKme merged 1 commit into
mainfrom
fix/globalThis

Conversation

@ShGKme

@ShGKme ShGKme commented Dec 19, 2025

Copy link
Copy Markdown
Contributor

Allows using the package in an environment without window. loadState fails anyway, but there could be _oc_capabilities global

Alternative: wrap over try as well and return {}

@ShGKme
ShGKme requested a review from susnux December 19, 2025 14:58
@ShGKme ShGKme self-assigned this Dec 19, 2025
@ShGKme ShGKme added 3. to review Waiting for reviews bug Something isn't working labels Dec 19, 2025
@susnux

susnux commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

(conflicts)

@ShGKme

ShGKme commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

(conflicts are expected, PR is from the last year :P )

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
@ShGKme

ShGKme commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

Resolved the conflict

@ShGKme
ShGKme merged commit 8465b51 into main Jul 20, 2026
6 checks passed
@ShGKme
ShGKme deleted the fix/globalThis branch July 20, 2026 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants