Movatterモバイル変換


[0]ホーム

URL:


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

Use neweracorn version for building, to support newer JS syntax#7478

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
archmoj merged 1 commit intomasterfromupgrade-acorn
Jul 18, 2025

Conversation

@emilykl
Copy link
Contributor

Closes#7477

Adds an override topackage.json so that we use a newer version ofacorn for building Plotly.js, which allows the use of some newer JS syntax which otherwise fails (see discussion in#7474).

We still target 2016 JS for the build output.

@emilyklemilykl requested a review fromarchmojJuly 18, 2025 20:53
@emilyklemilykl changed the titleUse neweracorn version for bundling, to support newer JS syntaxUse neweracorn version for building, to support newer JS syntaxJul 18, 2025
"virtual-webgl":"^1.0.6"
},
"overrides": {
"falafel": {
Copy link
Contributor

Choose a reason for hiding this comment

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

Alternatively we should propose a PR to falafel repository.
But the repository seems missing athttps://github.com/substack/node-falafel

Copy link
Contributor

Choose a reason for hiding this comment

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

npm ls falafelplotly.js├─┬ browserify-transform-tools@1.7.0│ └── falafel@2.2.5 deduped├── falafel@2.2.5 overridden└─┬ regl-scatter2d@3.3.1  └─┬ glslify@7.1.1    └── falafel@2.2.5 deduped

This looks fine.

Also

npm run preversion

passes.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Yeah I haven't been able to track down thefalafel repository anywhere online.

Maybe we should switch away from falafel entirely?

A quick Google search brings uphttps://github.com/loilo/yufka as a possible replacement but it's not widely used at all.

Copy link
Contributor

@archmojarchmoj left a comment

Choose a reason for hiding this comment

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

💃

@archmojarchmoj merged commitf7c4692 intomasterJul 18, 2025
6 checks passed
@archmojarchmoj deleted the upgrade-acorn branchJuly 18, 2025 21:13
@emilykl
Copy link
ContributorAuthor

@archmoj Now that this is merged, would you be OK with me opening another PR right away to update the syntax for the code added by#7474?

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

Reviewers

1 more reviewer

@archmojarchmojarchmoj approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Build pipeline does not support newer JS syntax

3 participants

@emilykl@archmoj

[8]ページ先頭

©2009-2025 Movatter.jp