Skip to content

Instantly share code, notes, and snippets.

@ravali-rimmalapudi
Created November 12, 2021 06:43
Show Gist options
  • Save ravali-rimmalapudi/b330827ee1a984e602a0abb587d3a966 to your computer and use it in GitHub Desktop.
Save ravali-rimmalapudi/b330827ee1a984e602a0abb587d3a966 to your computer and use it in GitHub Desktop.
Release feature branch tests
216 passing (9s)
-------------------------------------|---------|----------|---------|---------|----------------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-------------------------------------|---------|----------|---------|---------|----------------------------
All files | 98.07 | 93.74 | 97.72 | 98.18 |
base-commands | 96 | 85.71 | 100 | 95.83 |
twilio-api-command.js | 96 | 85.71 | 100 | 95.83 | 97,102
commands | 100 | 100 | 100 | 100 |
feedback.js | 100 | 100 | 100 | 100 |
zork.js | 100 | 100 | 100 | 100 |
commands/config | 100 | 100 | 100 | 100 |
list.js | 100 | 100 | 100 | 100 |
set.js | 100 | 100 | 100 | 100 |
commands/debugger/logs | 97.83 | 100 | 100 | 97.73 |
list.js | 97.83 | 100 | 100 | 97.73 | 90
commands/email | 100 | 100 | 100 | 100 |
send.js | 100 | 100 | 100 | 100 |
set.js | 100 | 100 | 100 | 100 |
commands/phone-numbers | 95.95 | 89.66 | 87.5 | 95.89 |
list.js | 100 | 100 | 100 | 100 |
update.js | 95.45 | 89.66 | 85.71 | 95.38 | 39,87,134
commands/plugins | 100 | 100 | 100 | 100 |
available.js | 100 | 100 | 100 | 100 |
commands/profiles | 96.68 | 88.3 | 92.11 | 96.62 |
create.js | 93.33 | 79.63 | 86.96 | 93.28 | 56,65,75,87,94,108,162-174
list.js | 100 | 100 | 100 | 100 |
port.js | 100 | 100 | 100 | 100 |
remove.js | 100 | 100 | 100 | 100 |
use.js | 100 | 100 | 100 | 100 |
hooks | 100 | 80 | 100 | 100 |
command-not-found.js | 100 | 83.33 | 100 | 100 | 29
plugin-install.js | 100 | 75 | 100 | 100 | 26
hooks/init | 95.88 | 86.36 | 97.56 | 96.2 |
buy-phone-number.js | 96.2 | 80 | 93.33 | 97.3 | 47,66
plugin-verification.js | 100 | 100 | 100 | 100 |
twilio-api.js | 93.85 | 83.33 | 100 | 93.65 | 95,100-102
hooks/postrun | 100 | 100 | 100 | 100 |
plugin-postrun.js | 100 | 100 | 100 | 100 |
hooks/prerun | 100 | 100 | 100 | 100 |
install-prerun.js | 100 | 100 | 100 | 100 |
services | 98.92 | 96.55 | 100 | 98.86 |
config-utility.js | 100 | 100 | 100 | 100 |
email-utility.js | 100 | 100 | 100 | 100 |
file-io.js | 100 | 100 | 100 | 100 |
hyperlink-utility.js | 91.67 | 83.33 | 100 | 91.67 | 9
plugins.js | 100 | 100 | 100 | 100 |
post-install-utility.js | 100 | 100 | 100 | 100 |
services/api-schema | 100 | 97.37 | 100 | 100 |
json-validator.js | 100 | 97.37 | 100 | 100 | 85,94
schema-validator.js | 100 | 100 | 100 | 100 |
twilio-validator.js | 100 | 100 | 100 | 100 |
services/messaging | 100 | 100 | 100 | 100 |
help-messages.js | 100 | 100 | 100 | 100 |
templates.js | 100 | 100 | 100 | 100 |
services/resource-helpers/api/v2010 | 100 | 100 | 100 | 100 |
incoming-phone-number.js | 100 | 100 | 100 | 100 |
services/twilio-api | 100 | 98.41 | 100 | 100 |
api-command-runner.js | 100 | 94.12 | 100 | 100 | 69
get-action-description.js | 100 | 100 | 100 | 100 |
get-flag-config.js | 100 | 100 | 100 | 100 |
get-help-doc-link.js | 100 | 100 | 100 | 100 |
get-topic-name.js | 100 | 100 | 100 | 100 |
index.js | 100 | 100 | 100 | 100 |
services/twilio-help | 97.26 | 88.64 | 100 | 98.48 |
custom-help.js | 100 | 100 | 100 | 100 |
twilio-command-help.js | 97.06 | 88.64 | 100 | 98.36 | 43
-------------------------------------|---------|----------|---------|---------|----------------------------
> twilio-cli@2.33.0-rc.1 posttest
> npm run lint && npm audit
> twilio-cli@2.33.0-rc.1 lint
> eslint --ext js --ext jsx src/ test/
# npm audit report
ansi-regex >2.1.1 <5.0.1
Severity: moderate
Inefficient Regular Expression Complexity in chalk/ansi-regex - https://github.com/advisories/GHSA-93q8-gq69-wqmw
fix available via `npm audit fix --force`
Will install @oclif/color@1.0.0, which is a breaking change
node_modules/@oclif/errors/node_modules/ansi-regex
node_modules/@oclif/plugin-help/node_modules/ansi-regex
node_modules/@oclif/plugin-help/node_modules/wrap-ansi/node_modules/ansi-regex
node_modules/ansi-regex
node_modules/cli-ux/node_modules/ansi-regex
node_modules/cliui/node_modules/ansi-regex
node_modules/eslint/node_modules/ansi-regex
node_modules/inquirer/node_modules/ansi-regex
node_modules/npm/node_modules/cli-table3/node_modules/ansi-regex
node_modules/npm/node_modules/string-width/node_modules/ansi-regex
node_modules/nyc/node_modules/ansi-regex
node_modules/stdout-stderr/node_modules/ansi-regex
node_modules/string-width/node_modules/ansi-regex
node_modules/table/node_modules/ansi-regex
node_modules/wide-align/node_modules/ansi-regex
node_modules/wrap-ansi/node_modules/ansi-regex
strip-ansi 4.0.0 - 5.2.0
Depends on vulnerable versions of ansi-regex
node_modules/@oclif/plugin-help/node_modules/wrap-ansi/node_modules/strip-ansi
node_modules/npm/node_modules/string-width/node_modules/strip-ansi
node_modules/strip-ansi
node_modules/wide-align/node_modules/strip-ansi
@oclif/color 0.1.0 - 0.1.2
Depends on vulnerable versions of strip-ansi
node_modules/@oclif/color
@oclif/plugin-update >=1.3.10
Depends on vulnerable versions of @oclif/color
node_modules/@oclif/plugin-update
string-width 2.1.0 - 4.1.0
Depends on vulnerable versions of strip-ansi
node_modules/@oclif/plugin-help/node_modules/wrap-ansi/node_modules/string-width
node_modules/npm/node_modules/string-width
node_modules/wide-align/node_modules/string-width
wrap-ansi 3.0.0 - 6.1.0
Depends on vulnerable versions of string-width
Depends on vulnerable versions of strip-ansi
node_modules/@oclif/plugin-help/node_modules/wrap-ansi
@oclif/plugin-help <=3.2.4
Depends on vulnerable versions of wrap-ansi
node_modules/@oclif/plugin-help
7 moderate severity vulnerabilities
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment