Commit Graph

51 Commits

Author SHA1 Message Date
Mario Rodas
f8b0835980 nodejs_18: 18.20.1 -> 18.20.2
Changelog: https://github.com/nodejs/node/releases/tag/v18.20.2
2024-04-15 04:20:00 +00:00
Mario Rodas
036605d16b nodejs_18: 18.19.1 -> 18.20.1
https://github.com/nodejs/node/releases/tag/v18.20.0
https://github.com/nodejs/node/releases/tag/v18.20.1
2024-04-03 04:20:00 +00:00
Rucadi
49adc35edc
nodejs_18: Add comment to warn about ffi-napi compatibility problem to prevent updating to newer versions. 2024-03-28 23:23:15 +01:00
rucadi
aeae82eb6b Revert "nodejs_18: 18.19.1 -> 18.20.0"
This reverts commit b5e930a583.
2024-03-28 19:41:21 +01:00
Mario Rodas
b5e930a583 nodejs_18: 18.19.1 -> 18.20.0
Changelog: https://github.com/nodejs/node/releases/tag/v18.20.0
2024-03-26 04:20:00 +00:00
a-n-n-a-l-e-e
ce789e7e35
llvmPackages_{12,13,14,15,16,17,git}.{libcxx,libcxxabi}: merge libcxxabi into libcxx (#292043)
- merge libcxxabi into libcxx for LLVM 12, 13, 14, 15, 16, 17, and git.
- remove the link time workaround `-lc++ -lc++abi` from 58 packages as it is no longer required.
- fixes https://github.com/NixOS/nixpkgs/issues/166205
- provides alternative fixes for. https://github.com/NixOS/nixpkgs/issues/269548 https://github.com/NixOS/nix/issues/9640
- pkgsCross.x86_64-freebsd builds work again

This change can be represented in 3 stages
1. merge libcxxabi into libcxx -- files: pkgs/development/compilers/llvm/[12, git]/{libcxx, libcxxabi}
2. update stdenv to account for merge -- files: stdenv.{adapters, cc.wrapper, darwin}
3. remove all references to libcxxabi outside of llvm (about 58 packages modified)

### merging libcxxabi into libcxx
- take the union of the libcxxabi and libcxx cmake flags
- eliminate the libcxx-headers-only package - it was only needed to break libcxx <-> libcxxabi circular dependency
- libcxx.cxxabi is removed. external cxxabi (freebsd) will symlink headers / libs into libcxx.
- darwin will re-export the libcxxabi symbols into libcxx so linking `-lc++` is sufficient.
- linux/freebsd `libc++.so` is a linker script `LINK(libc++.so.1, -lc++abi)` making `-lc++` sufficient.
- libcxx/default.nix [12, 17] are identical except for patches and `LIBCXX_ADDITIONAL_LIBRARIES` (only used in 16+)
- git/libcxx/defaul.nix  does not link with -nostdlib when useLLVM is true so flag is removed. this is not much different than before as libcxxabi used -nostdlib where libcxx did not, so libc was linked in anyway.

### stdenv changes
- darwin bootstrap, remove references to libcxxabi and cxxabi
- cc-wrapper: remove c++ link workaround when libcxx.cxxabi doesn't exist (still exists for LLVM pre 12)
- adapter: update overrideLibcxx to account for a pkgs.stdenv that only has libcxx

### 58 package updates
- remove `NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}` as no longer needed
- swift, nodejs_v8 remove libcxxabi references in the clang override

https://github.com/NixOS/nixpkgs/pull/292043
2024-03-11 03:53:37 -07:00
Mario Rodas
4ae7cfd895 nodejs_18: 18.19.0 -> 18.19.1
Changelog: https://github.com/nodejs/node/releases/tag/v18.19.1
2024-02-14 04:20:00 +00:00
Mario Rodas
3f05c9a8f8 nodejs_18: 18.18.2 -> 18.19.0
Changelog: https://github.com/nodejs/node/releases/tag/v18.19.0
2023-11-29 04:20:00 +00:00
Randy Eckenrode
b034e4cbf1
nodejs_18: fix build with clang 16 mk2
Trying to backport the fixes from v8 caused crashes with npm when
building other packages, so just build it with clang 15.
2023-10-29 09:58:01 -04:00
Randy Eckenrode
81d2db9460
Revert "nodejs_18: fix build with clang 16"
This reverts commit 81e4ca55c8.
2023-10-29 09:58:00 -04:00
Randy Eckenrode
81e4ca55c8
nodejs_18: fix build with clang 16
Backport a patch from v8 that resolves an enum width error when building
with clang 16.
2023-10-26 20:08:29 -04:00
Mario Rodas
bf85265bb3 nodejs_18: 18.18.1 -> 18.18.2
Changelog: https://github.com/nodejs/node/releases/tag/v18.18.2
2023-10-13 04:20:00 +00:00
Mario Rodas
c8e2c3fb58 nodejs_18: 18.18.0 -> 18.18.1
Changelog: https://github.com/nodejs/node/releases/tag/v18.18.1
2023-10-11 04:20:00 +00:00
Mario Rodas
2f2a55e675 nodejs_18: 18.17.1 -> 18.18.0
Changelog: https://github.com/nodejs/node/releases/tag/v18.18.0
2023-09-19 04:20:00 +00:00
Ivan Trubach
2c88411556 nodejs_20: remove upstreamed patch 2023-08-28 12:20:57 +03:00
Ivan Trubach
e29c330939 nodejs: use fetchpatch for cross-compilation patches 2023-08-28 12:16:30 +03:00
Ivan Trubach
3751f6abb0 nodejs_{18,20}: fix cross compilation from aarch64-linux
This change adds a fix for Node.js build system passing flags intended
for the target toolchain to the host toolchain.
2023-08-28 12:16:30 +03:00
Ivan Trubach
b0312f6daf nodejs_18: backport v8 trap handler conditional compilation 2023-08-28 12:16:29 +03:00
Mario Rodas
25441183e2 nodejs_18: 18.17.0 -> 18.17.1
Changelog: https://github.com/nodejs/node/releases/tag/v18.17.1
2023-08-09 04:20:00 +00:00
R. Ryantm
aa0b11935a nodejs: 18.16.1 -> 18.17.0 2023-07-19 21:01:22 +00:00
Mario Rodas
75f22e0d83 nodejs_18: 18.16.0 -> 18.16.1
The following CVEs are fixed in this release:
- CVE-2023-30581: mainModule.__proto__ Bypass Experimental Policy Mechanism (High)
- CVE-2023-30585: Privilege escalation via Malicious Registry Key manipulation during Node.js installer repair process (Medium)
- CVE-2023-30588: Process interuption due to invalid Public Key information in x509 certificates (Medium)
- CVE-2023-30589: HTTP Request Smuggling via Empty headers separated by CR (Medium)
- CVE-2023-30590: DiffieHellman does not generate keys after setting a private key (Medium)

https://github.com/nodejs/node/releases/tag/v18.16.1
2023-06-21 04:20:00 +00:00
Lily Foster
47efc60157
nodejs: add helper patch for buildNpmPackage 2023-05-20 18:29:36 -04:00
Mario Rodas
aae28d05fe nodejs-18_x: 18.15.0 -> 18.16.0
https://github.com/nodejs/node/releases/tag/v18.16.0
2023-04-13 04:20:00 +00:00
Mario Rodas
708dcbce92 nodejs-18_x: 18.14.2 -> 18.15.0
https://github.com/nodejs/node/releases/tag/v18.15.0
2023-03-07 04:20:00 +00:00
Mario Rodas
4a5744b789 nodejs-18_x: 18.14.1 -> 18.14.2
https://github.com/nodejs/node/releases/tag/v18.14.2
2023-02-21 04:20:00 +00:00
Mario Rodas
cfdcb8d7fa nodejs-18_x: 18.14.0 -> 18.14.1
https://github.com/nodejs/node/releases/tag/v18.14.1
2023-02-17 04:20:00 +00:00
Vladimír Čunát
d0d8c15bad
Merge branch 'master' into staging-next
pkgs/development/web/nodejs/v18.nix conflict:
  the fetched patch was already included in this release.
2023-02-03 23:02:19 +01:00
Mario Rodas
4a53b3bede nodejs-18_x: 18.13.0 -> 18.14.0
https://github.com/nodejs/node/releases/tag/v18.14.0
2023-02-03 04:20:00 +00:00
Zhaofeng Li
d62bfb194d nodejs: Fix build on RISC-V 2023-01-23 14:16:29 -07:00
Anthony Roussel
7146e2a152
nodejs-18_x: 18.12.1 -> 18.13.0 2023-01-13 17:27:25 +01:00
Winter
6a5211f123 nodejs-{16,18,19}_x: backport npm pack fixes from npm v9 2022-12-13 19:40:27 -05:00
Mario Rodas
57ea1f2119 nodejs-18_x: 18.12.0 -> 18.12.1
https://github.com/nodejs/node/releases/tag/v18.12.1
2022-11-04 04:20:00 +00:00
Mario Rodas
1cdd36c0d2 nodejs-18_x: 18.11.0 -> 18.12.0
https://github.com/nodejs/node/releases/tag/v18.12.0
2022-10-22 04:20:00 +00:00
Mario Rodas
d8043fe30e nodejs-18_x: 18.10.0 -> 18.11.0
https://github.com/nodejs/node/releases/tag/v18.11.0
2022-10-14 04:20:00 +00:00
Lily Foster
2998b31b02 nodejs: add back newer bypass-xcrun patch 2022-10-01 08:54:20 +09:00
R. Ryantm
95059b974e nodejs-18_x: 18.9.1 -> 18.10.0 2022-09-29 10:41:03 +00:00
Mario Rodas
117f0a80ec
Merge pull request #192784 from RaitoBezarius/fix-yarn2nix-moretea-for-older-openssl
yarn2nix-moretea-openssl_1_1: pass openssl for Node.js v18, unbreak it
2022-09-24 11:25:07 -05:00
Raito Bezarius
e7585fad46 yarn2nix-moretea-openssl_1_1: pass openssl for Node.js v18, unbreak this module 2022-09-24 17:58:07 +02:00
Mario Rodas
4c7bfc6000 nodejs-18_x: 18.9.0 -> 18.9.1
https://github.com/nodejs/node/releases/tag/v18.9.1
2022-09-23 04:20:00 +00:00
Mario Rodas
53af2c93ce nodejs-18_x: 18.8.0 -> 18.9.0
https://github.com/nodejs/node/releases/tag/v18.9.0
2022-09-08 04:20:00 +00:00
Ivar Scholten
71b85973dd
nodejs-18_x: fix cross compilation to aarch64-linux
This adds a patch reverting https://github.com/nodejs/node/pull/43200 because it breaks
cross compilation to aarch64-linux. Gcc would not recognize the
`-msign-return-address=all` flag causing compilation to fail.
2022-09-06 03:17:12 +02:00
Mario Rodas
dd845813db nodejs-18_x: 18.7.0 -> 18.8.0
https://github.com/nodejs/node/releases/tag/v18.8.0
2022-08-25 04:20:00 +00:00
Mario Rodas
dcccf22104 nodejs-18_x: add patch to fix npm fail without a HOME directory
Similar to 37580d6187
2022-08-20 04:20:00 +00:00
Mario Rodas
5daf999436 nodejs-18_x: 18.6.0 -> 18.7.0
https://github.com/nodejs/node/releases/tag/v18.7.0
2022-07-26 04:20:00 +00:00
R. Ryantm
5ad0643e1c nodejs-18_x: 18.5.0 -> 18.6.0 2022-07-14 10:05:53 +00:00
R. Ryantm
c23ba198fe nodejs-18_x: 18.4.0 -> 18.5.0 2022-07-08 08:21:41 +00:00
Mario Rodas
a0f7526c81 nodejs-18_x: 18.3.0 -> 18.4.0
https://github.com/nodejs/node/releases/tag/v18.4.0
2022-06-16 04:20:00 +00:00
Mario Rodas
19a14c6967 nodejs-18_x: 18.2.0 -> 18.3.0
https://github.com/nodejs/node/releases/tag/v18.3.0
2022-06-01 04:20:00 +00:00
Mario Rodas
0fb4d8c4b2 nodejs-18_x: 18.1.0 -> 18.2.0
https://github.com/nodejs/node/releases/tag/v18.2.0
2022-05-17 04:20:00 +00:00
R. Ryantm
1e1ac4e2c6 nodejs-18_x: 18.0.0 -> 18.1.0 2022-05-03 14:47:08 +00:00