@joule-sh/code 0.19.0 → 0.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/postinstall.js +7 -1
- package/package.json +4 -4
package/lib/postinstall.js
CHANGED
|
@@ -124,7 +124,13 @@ async function main(id) {
|
|
|
124
124
|
if (changed.length > 0) {
|
|
125
125
|
say("joule: restored the execute bit on " + changed.join(", ") + ", which an npm tarball does not carry reliably.");
|
|
126
126
|
}
|
|
127
|
-
|
|
127
|
+
// Apple Silicon only. The kernel demands a signature there and demands none
|
|
128
|
+
// on Intel, where signing actively breaks the binary: an x86_64 Mach-O from
|
|
129
|
+
// the backend has no padding between its load commands and __text, so
|
|
130
|
+
// codesign adds LC_CODE_SIGNATURE over the first function in the code
|
|
131
|
+
// section and returns a file that verifies and then faults (#255,
|
|
132
|
+
// lumen-lang-org/lumen#43).
|
|
133
|
+
if (id === "darwin-arm64") {
|
|
128
134
|
const unsigned = adHocSign(found.dir);
|
|
129
135
|
for (const failure of unsigned) { warn("joule: " + failure); }
|
|
130
136
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@joule-sh/code",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"postinstall": "node lib/postinstall.js"
|
|
38
38
|
},
|
|
39
39
|
"optionalDependencies": {
|
|
40
|
-
"@joule-sh/code-linux-x64": "0.
|
|
41
|
-
"@joule-sh/code-darwin-x64": "0.
|
|
42
|
-
"@joule-sh/code-darwin-arm64": "0.
|
|
40
|
+
"@joule-sh/code-linux-x64": "0.20.1",
|
|
41
|
+
"@joule-sh/code-darwin-x64": "0.20.1",
|
|
42
|
+
"@joule-sh/code-darwin-arm64": "0.20.1"
|
|
43
43
|
}
|
|
44
44
|
}
|