@springtree/buildinfo
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -34,4 +34,4 @@ const fs = require('fs'); | ||
buildTime: (new Date).toISOString(), | ||
branch: process.env.BRANCH || process.env.BRANCH_NAME || process.env.TRAVIS_BRANCH || process.env.BITRISE_GIT_BRANCH || process.env.GITHUB_REF_NAME || '', | ||
commit: process.env.COMMIT_REF || process.env.COMMIT_HASH || process.env.TRAVIS_COMMIT || process.env.GIT_CLONE_COMMIT_HASH || process.env.GITHUB_SHA ||'' | ||
branch: process.env.BRANCH || process.env.BRANCH_NAME || process.env.TRAVIS_BRANCH || process.env.BITRISE_GIT_BRANCH || process.env.GITHUB_REF_NAME || process.env.CF_PAGES_BRANCH || '', | ||
commit: process.env.COMMIT_REF || process.env.COMMIT_HASH || process.env.TRAVIS_COMMIT || process.env.GIT_CLONE_COMMIT_HASH || process.env.GITHUB_SHA || process.env.CF_PAGES_COMMIT_SHA || '' | ||
}; | ||
@@ -38,0 +38,0 @@ |
{ | ||
"name": "@springtree/buildinfo", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "Script for generating build.json file containing build time info", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -28,2 +28,3 @@ # Buildinfo | ||
- Github | ||
- Cloudflare Pages (limited, no BUILD NR equivalent avialable) | ||
@@ -30,0 +31,0 @@ Usage: |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
5205
44
28