![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@contrast/agent-lib
Advanced tools
This repo contains the node interface to the rust agent-lib.
The node bindings are not built when cargo build
is executed at the top level of the
repo. Building the node bindings requires symbols defined in the node ecosystem; cargo
doesn't know about them.
The rust crate used to provide access to node-api
(formerly n-api
) is the napi-rs
crate, which is specified as napi
in Cargo.toml
. The napi-rs
user on github
supplies a number of packages, beyond the rust-bindings to node-api
, to help build
node binaries using rust.
This crate uses the napi cli package to build the node binaries from rust sources.
execute npm install
in crates/bindings/node
- this installs napi-rs
and all
the related packages needed to build the node binaries.
execute the command npm run build
or npm run build:debug
to have the napi-rs
cli package build the node binaries from the rust sources. the resulting file will be
named contrast.<linux|win32|macos>-<arch><-gnu|msvc|>.node
.
To test, run npm test
in the current directory.
Raspv3 features and tests are now built with the default build.
In order to compare the rust JSON parser to a native Node implementation, it is necessary
to expose a JavaScript API. (It's possible to do one test in rust and the other in node
but that uses two different timers and doesn't capture the overhead of transferring the
data from node to rust.) There is a feature flag, raw_parsing_api
that can be turned on
to use for testing.
When running either npm run build
or npm run build:debug
append -- --features raw_parsing_api
to build the software for this testing, e.g.,
npm run build -- --features raw_parsing_api
This will add the rawParse
method to the library exports.
See README.md in the scripts directory.
FAQs
Unknown package
The npm package @contrast/agent-lib receives a total of 12,480 weekly downloads. As such, @contrast/agent-lib popularity was classified as popular.
We found that @contrast/agent-lib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.