Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@netlify/serverless-functions-api
Advanced tools
A Node.js module that implements the runtime API for serverless functions. It translates between the API defined by Netlify and the API expected by the underlying provider, AWS Lambda.
The API surface is quite minimal: functions are comprised of handlers that receive a Request and return a Response, using the default export.
export default async (req) => new Response(`Responding to ${req.url}`)
The module exports a getLambdaHandler
function that returns a Lambda-compatible handler. This handler receives a Lambda event, converts it to a Netlify API input (i.e. an instance of the standard Request
and a context
object), executes the function, and converts the result back into a response compatible with the Lambda API.
The source is bundled into a single file, so that it can be injected into a Lambda without any additional imports or dependencies.
The getPath
export returns the absolute path to the module. This lets consumers like zip-it-and-ship-it
easily include the file in a ZIP.
FAQs
The runtime API for Netlify Functions
The npm package @netlify/serverless-functions-api receives a total of 461,581 weekly downloads. As such, @netlify/serverless-functions-api popularity was classified as popular.
We found that @netlify/serverless-functions-api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 20 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.