The 'deprecated' field can be modified by package maintainers at any time
via 'npm deprecate', even for already-published versions. This causes
hash mismatches when the npm registry adds deprecation notices to packages
that were previously not deprecated.
For lockfile-based installs, the version is already resolved, so the
deprecation hint used by npm-pick-manifest for version selection is not
needed. The only behavioral change is that users won't see deprecation
warnings during 'npm install', which is an acceptable tradeoff for
reproducible builds.
This was discovered when tar@7.5.2 was deprecated upstream, breaking
builds in downstream projects using fetcherVersion=2.
currently errors with:
cd /build/source/build/src/tf && /nix/store/pbmzp0a639n7bgch2ayainja9bvhfri9-clr-7.0.2/bin/amdclang++ -isystem /build/source/build/src/tf -isystem /nix/store/kiqarh0s4z2kcd7p3sq049kcc85syww8-protobuf-32.1/inclu>
In file included from /build/source/build/src/onnx/onnx.pb.cc:6:
In file included from /build/source/build/src/onnx/onnx.pb.h:20:
/nix/store/kiqarh0s4z2kcd7p3sq049kcc85syww8-protobuf-32.1/include/google/protobuf/io/coded_stream.h:101:10: fatal error: 'absl/base/optimization.h' file not found
101 | #include "absl/base/optimization.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
[ 5%] Building CXX object src/targets/gpu/CMakeFiles/embed_lib_migraphx_kernels.dir/migraphx/kernels/copy.hpp.cpp.o
cd /build/source/build/src/targets/gpu && /nix/store/pbmzp0a639n7bgch2ayainja9bvhfri9-clr-7.0.2/bin/amdclang++ -I/build/source/build/src/targets/gpu/embed/migraphx_kernels/include -w -isystem/nix/store/46my897r>
In file included from /build/source/build/src/tf/graph.pb.cc:6:
In file included from /build/source/build/src/tf/graph.pb.h:20:
/nix/store/kiqarh0s4z2kcd7p3sq049kcc85syww8-protobuf-32.1/include/google/protobuf/io/coded_stream.h:101:10: fatal error: 'absl/base/optimization.h' file not found
101 | #include "absl/base/optimization.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~