Import Statements #97
Replies: 3 comments 14 replies
-
I'll let someone that's more familiar with the Core editor touch on the major reason of your discussion. But as for when will we update our versions, keep in mind that when Atom was announced to sunset they were using Electron 9 I think? And the Node and Chrome versions that were compatible with it. It was only on their last update which we don't have did they upgrade further and break a lot in the process. We are hard at work getting these updated, as that is one of our biggest focuses right now. But to upgrade any further our Native Modules need to be context aware (basically rewrite most of them) and that is our biggest blocker. So I can't provide any estimate of when that might happen, but if you'd like to see it soon I'd recommend checking out any of our Native Modules and helping to rewrite them to be context aware to get us there. Once they are we plan to jump all the way to Electron 19 if we can. |
Beta Was this translation helpful? Give feedback.
-
There is active work to get it to > Electron 12. This isn't simple as native modules now need to be context aware so it basically breaks nearly everything. Check out https://github.com/pulsar-edit/pulsar/tree/bump-electron-19-with-async-superstring if you want. |
Beta Was this translation helpful? Give feedback.
-
Requires aren't going anywhere, so I don't think there should be any rush to update them until the editor is in a more stable place edit: To clarify, I mean |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm currently refactoring some package code and thought I'd try
to make it use import statments, however it did not at all work out.
I'm getting the typical 'Can't use import statements outside module'
error, however I have done basically everything I could think off to
ensure that it should be working:
Using
pulsar --test spec
instead ofatom --test spec
Pulsar should support it with node version > 14?
As a side note, when will Pulsars dependencies be updated?
Impressively old versions..
Added
"type" : "modules"
Tried using
.mjs
to force it, even if it would have worked,wouldn't be an option since the
spec
file is not regonizedif it doesn't have a
.js
extension.Beta Was this translation helpful? Give feedback.
All reactions