@serverless/utils
Advanced tools
Comparing version 1.0.0 to 1.1.0
'use strict'; | ||
if (process.env.SLS_ANALYTICS_URL) { | ||
module.exports = process.env.SLS_ANALYTICS_URL; | ||
return; | ||
} | ||
if (process.env.CI) { | ||
module.exports = null; | ||
return; | ||
} | ||
const isInChina = require('./is-in-china'); | ||
@@ -4,0 +14,0 @@ |
@@ -5,5 +5,13 @@ # Changelog | ||
## [1.1.0](https://github.com/serverless/utils/compare/v1.0.0...v1.1.0) (2020-06-15) | ||
### Features | ||
- **Analytics & Notifications URL** | ||
- By default do not expose analytics url in CI environment ([05ea565](https://github.com/serverless/utils/commit/05ea565a1642a9da10cb4770ef75ae70c4443a22)) ([Mariusz Nowak](https://github.com/medikoo)) | ||
- Support override of analytics url via `SLS_ANALYTICS_URL` env var ([66ff290](https://github.com/serverless/utils/commit/66ff290a5c06b1b082e377eb3d8ead46b42c4f95)) ([Mariusz Nowak](https://github.com/medikoo)) | ||
### [1.0.0](https://github.com/serverless/utils/compare/v0.0.20...v1.0.0) (2020-06-12) | ||
A new begining. All old utilities were removed. Project now serves high level utilities for Serverless Framework and Component CLI's | ||
A new beginning. All old utilities were removed. Project now serves high level utilities for Serverless Framework and Component CLI's | ||
@@ -10,0 +18,0 @@ ### Features |
{ | ||
"name": "@serverless/utils", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Serverless CLI utilities", | ||
@@ -5,0 +5,0 @@ "repository": "serverless/utils", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
18754
311
0
12