Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

Typescript wrap touchups#1908

Open
namesty wants to merge 2 commits intoorigin-dev from
namesty/typescript-wrap-touchups
Open

Typescript wrap touchups #1908
namesty wants to merge 2 commits intoorigin-dev from
namesty/typescript-wrap-touchups

Conversation

@namesty
Copy link
Collaborator

@namesty namesty commented Sep 14, 2023

  • Updated wrap template: removed build manifest, updated shims
  • Updated VM build strategy version to use latest pwr

@@ -1 +1 @@
0.1.0 No newline at end of file
0.1.1 No newline at end of file
Copy link
Contributor

@dOrgJelli dOrgJelli Sep 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -0,0 +1,2356 @@
module.exports = `function utf8Count(str) {
Copy link
Contributor

@dOrgJelli dOrgJelli Sep 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seem to be a lot of global functions being added here that are not apart of JS's globals: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects

I worry that these will conflict with other functions used within user code.

I think a better way to solve this is to provide a "wrap lib" for typescript wrap devs to use, similar to how we do for Rust, AssemblyScript, and Go.

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

Reviewers

@dOrgJelli dOrgJelli dOrgJelli requested changes

Requested changes must be addressed to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /