
Security News
Critical Security Vulnerability in React Server Components
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.
@purple/serverless-git-branch-stage-plugin
Advanced tools
Serverless Framework Plugin for transforming git branch name to a Serverless stage name
This plugin provides two Serverless variables:
git:stage - branch name converted to camel casegit:basePath - branch name converted to kebab-case which is usefull for serverless-domain-manager plugin$ npm install --save-dev @purple/serverless-git-branch-stage-plugin
Add the plugin to your serverless.yml file
plugins:
- '@purple/serverless-git-branch-stage-plugin'
This plugin requires git to be installed.
Tested on Linux and macOS.
provider:
name: aws
stage: ${git:stage}
custom:
customDomain:
domainName: serverless.foo.com
basePath: ${git:basePath}
You can override the branch name with envrionment variable SLS_MOCK_BRANCH.
$ SLS_MOCK_BRANCH=master serverless deploy
FAQs
Serverless Framework Plugin for transforming git branch name to a Serverless stage name
The npm package @purple/serverless-git-branch-stage-plugin receives a total of 194 weekly downloads. As such, @purple/serverless-git-branch-stage-plugin popularity was classified as not popular.
We found that @purple/serverless-git-branch-stage-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 18 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
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.

Research
/Security News
We spotted a wave of auto-generated “elf-*” npm packages published every two minutes from new accounts, with simple malware variants and early takedowns underway.

Security News
TypeScript 6.0 will be the last JavaScript-based major release, as the project shifts to the TypeScript 7 native toolchain with major build speedups.