Closed koush closed 1 year ago
My actual commit message is incorrect. Feel free to change it or whatever. Just submitted the patch in the GitHub code editor after verifying it by editing the javascript files in my node_modules.
Yeah these is indeed such cases. Hope this could be fixed.
:tada: This PR is included in version 1.4.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
One of my dependencies for some reason has universal binaries per platform, and they are not exactly the same bytewise. I'm unsure why. But I am certain they are functional.
In any case, this error is erroneously being thrown since it fails the previous byte comparison match.
CAFEBABE is the magic for universal binaries. This patch also checks to see if both binaries are CAFEBABE. This will allow packaging to continue if both the arm and x64 packages have universal binaries.
https://github.com/apple-opensource-mirror/llvmCore/blob/0c60489d96c87140db9a6a14c6e82b15f5e5d252/include/llvm/Object/MachOFormat.h#L108-L112