
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.
@bonniernews/gcpohoy
Advanced tools
Node helper for a standardized shell execution of terraform and gcloud commands
A node-module that helps you deploy, monitor and rollback your (mainly GCP) services managed with Terraform.
To run this package successfully you need GCloud CLI and Terraform:
brew install terraform
Install this script in the project(s) you want it or globally. Note that conflicts with node version might occur when installing globally
npm i @bonniernews/gcpohoynpm i @bonniernews/gcpohoy -gIn a project running Terraform and GCloud with Expressen's standard setup you can run for example:
gcpohoy helpgcpohoy logingcpohoy deploy <environment>gcpohoy rollback <environment> -r <revision>gcpohoy forward-db <environment> -p <port> -s <secret_pw_name>You can run --help for any given command to see all available arguments/options:
gcpohoy deploy <environment> --helpThis package handles multi-cloudrun projects (Note: Uses the same docker image with different args)
gcpohoy deploy <environment> - Default: Deploys all cloud runs it can find in Terraform.To manage your services use --serviceName (-s)
gcpohoy <deploy|changes|status> <environment> -s <service-name>gcpohoy status <environment> -s <service-name>Note: gcpohoy apply doesn't support --serviceName flag, it runs everything.
Rollback works the same:
gcpohoy rollback <environment> -s <service-name> -r <revision>Detailed instructions found here examples/workflow-example.md
gcpohoy can easily be used in CI/CD with the benefit of working mostly the same as locally.
serviceName and projectIdA final deploy step using gcpohoy can look something like:
- name: "Deploy"
run: npm run deploy ${{inputs.environment}} -- --serviceName=layout-service-${{inputs.environment}} --projectId=${{secrets.gcp-project-id}}
FAQs
Node helper for a standardized shell execution of terraform and gcloud commands
We found that @bonniernews/gcpohoy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 43 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.