Skip to content

fix: package.json & package-lock.json to reduce vulnerabilities

d9f5092
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

[Snyk] Security upgrade lodash from 4.17.21 to 4.17.23 #449

fix: package.json & package-lock.json to reduce vulnerabilities
d9f5092
Select commit
Loading
Failed to load commit list.
GitHub Actions / Mocha Unit Test succeeded Jan 23, 2026 in 0s

61 passed, 0 failed and 0 skipped

Tests passed successfully

✅ report.json

61 tests were completed in 3s with 61 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/unit/commands/app/create.test.ts 8✅ 2s
test/unit/commands/app/delete.test.ts 3✅ 49ms
test/unit/commands/app/deploy.test.ts 5✅ 61ms
test/unit/commands/app/get.test.ts 5✅ 50ms
test/unit/commands/app/install.test.ts 4✅ 69ms
test/unit/commands/app/reinstall.test.ts 5✅ 80ms
test/unit/commands/app/uninstall.test.ts 9✅ 178ms
test/unit/commands/app/update.test.ts 8✅ 88ms
test/unit/util/common-utils.test.ts 5✅ 23ms
test/unit/util/inquirer.test.ts 9✅ 7ms

✅ test/unit/commands/app/create.test.ts

app:create App creation should fail and rollback
  ✅ App creation should fail and rollback
app:create App creation with duplicate app name
  ✅ should fail when app name already exists
app:create App creation with organization UID instead of app UID
  ✅ should fail when organization UID is used instead of app data
app:create Creating a stack app using a boilerplate flow
  ✅ should create a stack-level app
app:create Creating an app without boilerplate
  ✅ should create a stack-level app
app:create Creating an organization app using a boilerplate flow
  ✅ should create an organization-level app
app:create Dependency installation failure
  ✅ dependency install step should fail
app:create Pass external config using '--config' flag
  ✅ App creation should fail!

✅ test/unit/commands/app/delete.test.ts

app:delete app:delete error handling
  ✅ should throw an error while deleting the app
app:delete app:delete using inquirer prompts
  ✅ should delete the app
app:delete app:delete with --org and --app-uid flags
  ✅ should print an error saying that app is already installed

✅ test/unit/commands/app/deploy.test.ts

app:deploy Deploy an app with custom hosting
  ✅ should deploy the app with custom hosting
app:deploy Deploy an app with custom hosting using flags in command
  ✅ should deploy the app with custom hosting using flags in command
app:deploy Deploy an app with Hosting with Launch with existing project
  ✅ should deploy the app with Hosting with Launch with existing project
app:deploy Deploy app error handling
  ✅ should fail with invalid hosting type
  ✅ should handle new project creation with hosting-with-launch

✅ test/unit/commands/app/get.test.ts

app:get Ask confirmation if `manifest.json` exists and go with `No` option
  ✅ Should overwrite config file
app:get Ask confirmation if `manifest.json` exists and go with `Yes` option
  ✅ Should create config file with the +1 mechanism
app:get Get app manifest
  ✅ should return manifest for selected app
app:get Get app manifest with app uid
  ✅ should return manifest for specific uid passed
app:get Pass wrong org uid through flag
  ✅ should fail with error message

✅ test/unit/commands/app/install.test.ts

app:install App is already installed
  ✅ should fail with an error that app is already installed
app:install Install an app on a stack
  ✅ should install a stack app
app:install Install an app on organization
  ✅ should install an organization app
app:install Stack API Key and App ID provided through flags
  ✅ should install a stack app

✅ test/unit/commands/app/reinstall.test.ts

app:reinstall App is already latest version
  ✅ should fail with an error that already using the latest version
app:reinstall Reinstall an app on a stack
  ✅ should reinstall a stack app
app:reinstall Reinstall an app on organization
  ✅ should reinstall an organization app
app:reinstall Show error when stack is not selected
  ✅ should display an error message when trying to reinstall a stack app without selecting a stack
app:reinstall Stack API Key and App ID provided through flags
  ✅ should reinstall a stack app

✅ test/unit/commands/app/uninstall.test.ts

app:uninstall App uninstall with invalid installation UID
  ✅ should fail when installation UID is invalid
app:uninstall App uninstall with organization UID instead of app UID
  ✅ should fail when organization UID is used instead of app UID
app:uninstall App uninstall with permission denied
  ✅ should fail when user lacks permission
app:uninstall Fail to uninstall an app from a stack
  ✅ should fail with an error
app:uninstall Uninstall all apps error handling
  ✅ should handle partial uninstall failures in uninstall-all
app:uninstall Uninstall all apps using --uninstall-all flag
  ✅ should handle uninstall-all with organization app
  ✅ should successfully uninstall all apps using uninstall-all strategy
app:uninstall Uninstall an app from a stack
  ✅ should uninstall a stack app
app:uninstall Uninstall an app from organization
  ✅ should uninstall an organization app

✅ test/unit/commands/app/update.test.ts

app:update Update app API failure
  ✅ update app should fail with 403 status code
app:update Update app with `--app-manifest` flag
  ✅ should update an app
app:update Update app with duplicate app name (409 status)
  ✅ should fail with duplicate app name error (409 status)
app:update Update app with organization UID instead of app UID
  ✅ should fail when organization UID is passed instead of app UID
app:update Update app with wrong `app version`
  ✅ should fail with version mismatch error message
app:update Update app with wrong `app-uid`
  ✅ should fail uid not matching
app:update Update app with wrong `manifest.json` path
  ✅ should fail with manifest max retry message
app:update Update app with wrong app-uid API failure
  ✅ update app should fail with 400 status code

✅ test/unit/util/common-utils.test.ts

common utils fetchApps Get apps API fail case
  ✅ Returns error code with 400
common utils fetchApps Get list of apps
  ✅ Returns list of apps
common utils getOrganizations Get list of organizations
  ✅ Returns list of organizations
common utils getOrganizations Get organizations failure case
  ✅ API fails with status code 400
common utils getOrganizations Get organizations with pagination
  ✅ Returns list of organizations with pagination

✅ test/unit/util/inquirer.test.ts

Utility Functions getAppName Check user input length validation
  ✅ should return validation message for short input
Utility Functions getAppName show prompt to get name from user
  ✅ should return the name provided by the user
Utility Functions getDeveloperHubUrl Get developer hub base URL
  ✅ should return the developer hub base URL
Utility Functions getDeveloperHubUrl Validate marketplace URL if empty
  ✅ should print URL validation message and ask for new input
Utility Functions getDirName Check directory length validation
  ✅ should return validation message for short input
Utility Functions getDirName Show prompt to get directory name from user
  ✅ should return the directory name provided by the user
Utility Functions getDirName Validate if provided directory exists
  ✅ should return validation message if directory already exists
Utility Functions getOrg Passing wrong organization uid through flag
  ✅ should fail with error `org uid not found`
Utility Functions getOrg Select an organization from list
  ✅ should return the organization UID