Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

env-ci

Package Overview
Dependencies
Maintainers
2
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

env-ci - npm Package Compare versions

Comparing version 10.0.0 to 11.0.0

6

package.json
{
"name": "env-ci",
"description": "Get environment variables exposed by CI services",
"version": "10.0.0",
"version": "11.0.0",
"author": "Pierre Vanduynslager (https://github.com/pvdlg)",

@@ -13,6 +13,6 @@ "type": "module",

"devDependencies": {
"ava": "5.3.1",
"ava": "6.0.1",
"c8": "8.0.1",
"file-url": "4.0.0",
"prettier": "3.0.3",
"prettier": "3.1.1",
"tempy": "3.1.0"

@@ -19,0 +19,0 @@ },

@@ -8,3 +8,3 @@ // https://woodpecker-ci.org/docs/usage/environment#built-in-environment-variables

configuration({ env }) {
const isPr = env.CI_BUILD_EVENT === "pull_request";
const isPr = env.CI_PIPELINE_EVENT === "pull_request";

@@ -16,7 +16,7 @@ return {

tag: env.CI_COMMIT_TAG,
build: env.CI_BUILD_NUMBER,
buildUrl: env.CI_BUILD_LINK,
build: env.CI_PIPELINE_NUMBER,
buildUrl: env.CI_PIPELINE_URL,
branch: isPr ? env.CI_COMMIT_TARGET_BRANCH : env.CI_COMMIT_BRANCH,
job: env.CI_JOB_NUMBER,
jobUrl: env.CI_BUILD_LINK,
job: env.CI_STEP_NUMBER,
jobUrl: env.CI_STEP_URL,
pr: env.CI_COMMIT_PULL_REQUEST,

@@ -23,0 +23,0 @@ isPr,

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc