Skip to content

fix: replace self with globalThis#94

Merged
tomayac merged 1 commit into
sqlite:mainfrom
millsp:fix-self
Jan 20, 2025
Merged

fix: replace self with globalThis#94
tomayac merged 1 commit into
sqlite:mainfrom
millsp:fix-self

Conversation

@millsp

@millsp millsp commented Jan 19, 2025

Copy link
Copy Markdown
Contributor

Upstream package is setting globalThis.sqlite3Worker1Promiser, hence self.sqlite3Worker1Promiser will fail at runtime.

@tomayac

tomayac commented Jan 20, 2025

Copy link
Copy Markdown
Collaborator

@sgbeal FYI if this is something to fix upstream. Closing here as per the note in this repo's README.

@tomayac tomayac closed this Jan 20, 2025
@sgbeal

sgbeal commented Jan 20, 2025

Copy link
Copy Markdown
Collaborator

This isn't from upstream - it's an index.mjs file and we don't publish any files by that name.

@tomayac

tomayac commented Jan 20, 2025

Copy link
Copy Markdown
Collaborator

Oh no, I'm terribly sorry. I didn't look closely. Reopening and merging this PR. Apologies again!

@tomayac tomayac reopened this Jan 20, 2025
@tomayac
tomayac merged commit 9f08ffb into sqlite:main Jan 20, 2025
@tomayac

tomayac commented Jan 20, 2025

Copy link
Copy Markdown
Collaborator

Released as v3.48.0-build2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants