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

@dotcom-reliability-kit/app-info

Package Overview
Dependencies
Maintainers
4
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dotcom-reliability-kit/app-info - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

57

lib/index.js

@@ -1,5 +0,1 @@

/**
* @module @dotcom-reliability-kit/app-info
*/
const path = require('path');

@@ -49,54 +45,48 @@

/**
* The application commit hash.
*
* @readonly
* @access public
* @type {(string | null)}
* @type {string | null}
*/
get commitHash() {
return process.env.HEROKU_SLUG_COMMIT || null;
},
commitHash: process.env.HEROKU_SLUG_COMMIT || null,
/**
* The application environment.
*
* @readonly
* @access public
* @type {string}
*/
get environment() {
return process.env.NODE_ENV || 'development';
},
environment: process.env.NODE_ENV || 'development',
/**
* The region the application is running in.
*
* @readonly
* @access public
* @type {(string | null)}
* @type {string | null}
*/
get region() {
return process.env.REGION || null;
},
region: process.env.REGION || null,
/**
* The date and time that the application was last released at.
*
* @readonly
* @access public
* @type {(string | null)}
* @type {string | null}
*/
get releaseDate() {
return process.env.HEROKU_RELEASE_CREATED_AT || null;
},
releaseDate: process.env.HEROKU_RELEASE_CREATED_AT || null,
/**
* The last released version of the application.
*
* @readonly
* @access public
* @type {(string | null)}
* @type {string | null}
*/
get releaseVersion() {
return process.env.HEROKU_RELEASE_VERSION || null;
},
releaseVersion: process.env.HEROKU_RELEASE_VERSION || null,
/**
* The application system code.
*
* @readonly
* @access public
* @type {(string | null)}
* @type {string | null}
*/
get systemCode() {
return systemCode;
}
systemCode
};

@@ -106,1 +96,2 @@

module.exports.default = module.exports;
Object.freeze(module.exports);
{
"name": "@dotcom-reliability-kit/app-info",
"version": "1.0.1",
"version": "1.0.2",
"description": "A utility to get application info in a consistent way.",

@@ -5,0 +5,0 @@ "repository": {

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