Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
serverless-parcel
Advanced tools
A Serverless plugin to bundle your functions and assets with Parcel Bundler
Serverless plugin for zero-config parcel bundler support.
yarn add serverless-parcel --dev
Add the plugin to your serverless.yml
:
plugins:
- serverless-parcel
None required! By default, parcel will build your lambda functions with parcel... but if you want to get fancy, here ya go:
custom:
parcel:
## options for lambda functions
options:
## defaults
target: node
cache: false
watch: false
bundleNodeModules: true
outDir: autogenerated - you can't change this
## non-lambda entries you'd like to build
entries:
# an array of bundler options with an entry file
- file: src/index.html
minify: true
target: browser
- file: src/admin.html
minify: false
sourceMaps: true
A full list of options can be found on parcel's api docs
This project was heavily inspired by serverless-plugin-typescript and serverless-webpack. Both are epic projects and I hope this projects grows up to be like them one day. :tada:
FAQs
A Serverless plugin to bundle your functions and assets with Parcel Bundler
The npm package serverless-parcel receives a total of 6 weekly downloads. As such, serverless-parcel popularity was classified as not popular.
We found that serverless-parcel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.