node-abi icon indicating copy to clipboard operation
node-abi copied to clipboard

Update NW.js

Open TheJaredWilcurt opened this issue 6 years ago • 3 comments

All versions (and what version of Node.js they use) are available here, it is always up-to-date. You should attempt a network request first to this url before falling back to hard-coded versions:

  • https://nwjs.io/versions.json

TheJaredWilcurt avatar Aug 11 '19 18:08 TheJaredWilcurt

Sorry @lgeiger to do a self-promo but here is a module with all versions fetched from always-up-to-date sources (for electron.js, nw.js and node.js)

@TheJaredWilcurt That may solve your issue https://github.com/Armaldio/modules-abi

Armaldio avatar Aug 11 '19 18:08 Armaldio

@armaldio @lgeiger I stumbled into this looking for a solution to replace https://github.com/sass/node-sass/blob/64b6f32b7b9772e24300e1f459892f8a9046404c/lib/extensions.js and I would love to have both offline (probably generated at build time from the live APIs) and online data sources.

  • at build time: fetch the version information and cache it in the file
  • at run time: try fetching, if fails - use cached.

saper avatar Oct 24 '19 14:10 saper

Any progress here? Would be nice to have the latest NWJS version so we can use prebuild

gpetrov avatar Mar 07 '21 13:03 gpetrov