@twilio/cli-test
Advanced tools
+3
-3
| { | ||
| "name": "@twilio/cli-test", | ||
| "description": "Test scaffolding for the twilio-cli", | ||
| "version": "1.0.1", | ||
| "version": "2.0.0", | ||
| "author": "Twilio @twilio", | ||
| "bugs": "https://github.com/twilio/twilio-cli/issues", | ||
| "dependencies": { | ||
| "@oclif/command": "^1.5.16", | ||
| "@oclif/config": "^1.13.1", | ||
| "@oclif/command": "^1.5.18", | ||
| "@oclif/config": "^1.13.2", | ||
| "@oclif/test": "^1.1.0", | ||
@@ -11,0 +11,0 @@ "chai": "^4.1.2", |
+4
-4
@@ -25,6 +25,6 @@ const sinon = require('sinon'); | ||
| const fakeSecureStorage = { | ||
| async getCredentials(projectId) { | ||
| async getCredentials(profileId) { | ||
| return { | ||
| apiKey: constants.FAKE_API_KEY, | ||
| apiSecret: constants.FAKE_API_SECRET + projectId | ||
| apiSecret: constants.FAKE_API_SECRET + profileId | ||
| }; | ||
@@ -69,7 +69,7 @@ }, | ||
| }) | ||
| .register('twilioFakeProject', ConfigData => { | ||
| .register('twilioFakeProfile', ConfigData => { | ||
| return { | ||
| run(ctx) { | ||
| ctx.userConfig = new ConfigData(); | ||
| ctx.userConfig.addProject('default', constants.FAKE_ACCOUNT_SID); | ||
| ctx.userConfig.addProfile('default', constants.FAKE_ACCOUNT_SID); | ||
| } | ||
@@ -76,0 +76,0 @@ }; |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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 1 instance in 1 package
Updated
Updated