isolated-vm icon indicating copy to clipboard operation
isolated-vm copied to clipboard

Missing prebuilts ?

Open julbd opened this issue 6 months ago • 6 comments

Hello,

isolated-vm 6.0.0 was shipped with the following prebuilts :

isolated-vm-v6.0.0-node-v127-darwin-arm64.tar.gz
isolated-vm-v6.0.0-node-v127-linux-arm64.tar.gz
isolated-vm-v6.0.0-node-v127-linux-x64.tar.gz
isolated-vm-v6.0.0-node-v127-linuxmusl-arm64.tar.gz
isolated-vm-v6.0.0-node-v127-linuxmusl-x64.tar.gz
isolated-vm-v6.0.0-node-v134-linux-arm64.tar.gz
isolated-vm-v6.0.0-node-v134-linux-x64.tar.gz
isolated-vm-v6.0.0-node-v134-linuxmusl-arm64.tar.gz
isolated-vm-v6.0.0-node-v134-linuxmusl-x64.tar.gz
isolated-vm-v6.0.0-node-v137-darwin-arm64.tar.gz 

I found that v127 refers to node 22.x and v137 to node 24.x.

  • What is the target of node-v134 ?
  • Why shipping for node 22 if isolated-vm 6.0.0 is restricted for node >= 24 ?
  • Why shipping v137-darwin-arm64 and no other architectures ?

I am missing something about the node ABI versions ?

Thanks

julbd avatar Jun 19 '25 07:06 julbd

See also:

  • https://github.com/laverdet/isolated-vm/issues/533

As well as:

  • https://github.com/laverdet/isolated-vm/issues/534

Specifically:

But it would be great to have a correct value for engines.node in package.json.

Currently, the installation is blocked on node 22, unless the package manager ignores the engines (depends on your pm and your settings, but it would be great if it could work for everyone).

Originally posted by @alumni in #534

0xdevalias avatar Jul 15 '25 00:07 0xdevalias

What is the target of node-v134 ?

I dug into the version mappings recently during another exploration; but none of those main ones seem to list v134:

We can look up which N-API version corresponds to which node version from the Node.js Releases page:

  • https://nodejs.org/en/about/previous-releases

By clicking on 'details' next to the version, and then looking at the listed 'N-API version'; eg.

image

A list of recent version mappings:

  • Node.js v24: v137
  • Node.js v23: v131
  • Node.js v22 (Jod): v127
  • Node.js v21: v120
  • Node.js v20 (Iron): v115
  • Node.js v19: v111
  • Node.js v18 (Hydrogen): v108

Originally posted by @0xdevalias in https://github.com/jehna/humanify/pull/533#discussion_r2206090334

0xdevalias avatar Jul 15 '25 01:07 0xdevalias

https://github.com/nodejs/node/blob/b30511984469269ff1f7679505ae6d75e77d1a07/doc/abi_version_registry.json#L8 abi 134 is for node 24.0.0-pre

j4k0xb avatar Jul 15 '25 01:07 j4k0xb

See PR #535

alumni avatar Jul 15 '25 05:07 alumni

v134 was uploaded due to a bug in prebuild: prebuild/prebuild#335. For v6.0.1 I manually renamed the binaries to v137.

laverdet avatar Jul 26 '25 20:07 laverdet

Thanks !

julbd avatar Jul 26 '25 23:07 julbd