Skip to content

fix: pass all Node.js globals to templates#1796

Merged
alexander-akait merged 2 commits intomainfrom
issue-1747
Jun 9, 2023
Merged

fix: pass all Node.js globals to templates#1796
alexander-akait merged 2 commits intomainfrom
issue-1747

Conversation

@alexander-akait
Copy link
Copy Markdown
Collaborator

@alexander-akait alexander-akait commented Jun 9, 2023

fixes #1747

Changed from requrie("url") because -

v10.0.0 The class is now available on the global object.

and our minimum supported node.js version is 10, so we don't need this workaround for old versions

@alexander-akait alexander-akait merged commit f269fc0 into main Jun 9, 2023
@alexander-akait alexander-akait deleted the issue-1747 branch June 9, 2023 17:54
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.

Globals TextEncoder and TextDecoder are not accessible from inside template code

1 participant