Skip to content

Commit

Permalink
chore: (deps) update axios
Browse files Browse the repository at this point in the history
  • Loading branch information
suthar26 committed Aug 27, 2024
1 parent a13070c commit 19bb5f5
Show file tree
Hide file tree
Showing 5 changed files with 1,016 additions and 996 deletions.
2 changes: 1 addition & 1 deletion oclif.manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.15.2",
"version": "5.16.0",
"commands": {
"authCommand": {
"id": "authCommand",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@types/validator": "^13.7.1",
"@zodios/core": "^10.9.1",
"@zodios/openapi": "^10.4.7",
"axios": "^1.4.0",
"axios": "^1.7.5",
"chalk": "^4.1.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
Expand Down
5 changes: 5 additions & 0 deletions src/auth/ApiAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import Writer from '../ui/writer'
type SupportedFlags = {
'client-id'?: string
'client-secret'?: string
'no-api'?: boolean
}

export class ApiAuth {
Expand Down Expand Up @@ -42,6 +43,10 @@ export class ApiAuth {
process.env.DEVCYCLE_CLIENT_SECRET ||
process.env.DVC_CLIENT_SECRET

if (flags['no-api']) {
return ''
}

if (clientId && clientSecret) {
return this.fetchClientToken(clientId, clientSecret)
}
Expand Down
4 changes: 4 additions & 0 deletions src/ui/targetingTree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ const comparatorMap = {
'!=': 'is not',
contain: 'contains',
'!contain': 'does not contain',
startWith: 'startWith',
'!startWith': 'does not startWith',
endWith: 'endWith',
'!endWith': 'does not endWith',
exist: 'exists',
'!exist': 'does not exist',
'>': 'is greater than',
Expand Down
Loading

0 comments on commit 19bb5f5

Please sign in to comment.