@content-app/cli
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -28,4 +28,4 @@ #!/usr/bin/env node | ||
const finalAccessToken = accessToken || process.env.MANAGEMENT_ACCESS_TOKEN; | ||
const finalSpaceId = spaceId || process.env.CONTENTFUL_SPACE_ID; | ||
const finalEnvironment = environment || process.env.CONTENTFUL_ENVIRONMENT || 'master' || 'main'; | ||
const finalSpaceId = spaceId || process.env.SPACE_ID; | ||
const finalEnvironment = environment || process.env.ENVIRONMENT || 'master' || 'main'; | ||
@@ -70,4 +70,4 @@ const client = contentful.createClient({ | ||
const finalAccessToken = accessToken || process.env.MANAGEMENT_ACCESS_TOKEN; | ||
const finalSpaceId = spaceId || process.env.CONTENTFUL_SPACE_ID; | ||
const finalEnvironment = environment || process.env.CONTENTFUL_ENVIRONMENT || 'master' || 'main'; | ||
const finalSpaceId = spaceId || process.env.SPACE_ID; | ||
const finalEnvironment = environment || process.env.ENVIRONMENT || 'master' || 'main'; | ||
@@ -74,0 +74,0 @@ const client = contentful.createClient({ |
{ | ||
"name": "@content-app/cli", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Content-app CLI", | ||
@@ -5,0 +5,0 @@ "main": "bin/content-app.js", |
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
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
6063