├── .editorconfig ├── .gitattributes ├── .github_changelog_generator ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── README.md ├── lib └── main.js ├── package-lock.json ├── package.json └── spec ├── .eslintrc.js ├── files ├── bad.py ├── empty.py └── good.py └── linter-pylint-spec.js /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig helps developers define and maintain consistent 2 | # coding styles between different editors and IDEs 3 | # editorconfig.org 4 | 5 | root = true 6 | 7 | [*] 8 | 9 | # Change these settings to your own preference 10 | indent_style = space 11 | indent_size = 2 12 | 13 | # We recommend you to keep these unchanged 14 | end_of_line = lf 15 | charset = utf-8 16 | trim_trailing_whitespace = true 17 | insert_final_newline = true 18 | 19 | [*.md] 20 | trim_trailing_whitespace = false 21 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text eol=lf 3 | -------------------------------------------------------------------------------- /.github_changelog_generator: -------------------------------------------------------------------------------- 1 | user=Atomlinter 2 | project=linter-pylint 3 | unreleased=true 4 | future-release=v2.1.1 5 | exclude_labels=duplicate,question,invalid,wontfix,Duplicate,Question,Invalid,Wontfix,External,Unable to Reproduce,needs info 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | ### Project specific config ### 2 | matrix: 3 | include: 4 | - os: linux 5 | language: python 6 | python: "2.7" 7 | env: ATOM_CHANNEL=stable 8 | 9 | - os: linux 10 | language: python 11 | python: "3.6" 12 | env: ATOM_CHANNEL=beta 13 | 14 | install: 15 | - pip install pylint 16 | 17 | before_script: 18 | - pylint --version 19 | 20 | ### Generic setup follows ### 21 | script: 22 | - curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh 23 | - chmod u+x build-package.sh 24 | - ./build-package.sh 25 | 26 | notifications: 27 | email: 28 | on_success: never 29 | on_failure: change 30 | 31 | branches: 32 | only: 33 | - master 34 | - /^greenkeeper/.*$/ 35 | 36 | git: 37 | depth: 10 38 | 39 | sudo: false 40 | 41 | dist: trusty 42 | 43 | addons: 44 | apt: 45 | packages: 46 | - build-essential 47 | - fakeroot 48 | - git 49 | - libsecret-1-dev 50 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | ## [v2.1.1](https://github.com/Atomlinter/linter-pylint/tree/v2.1.1) (2018-02-01) 4 | 5 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v2.1.0...v2.1.1) 6 | 7 | **Implemented enhancements:** 8 | 9 | - Asyncify the specs [\#229](https://github.com/AtomLinter/linter-pylint/pull/229) ([Arcanemagus](https://github.com/Arcanemagus)) 10 | - Update eslint-config-airbnb-base to version 12.0.0 🚀 [\#228](https://github.com/AtomLinter/linter-pylint/pull/228) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) 11 | - Update eslint to version 4.3.0 🚀 [\#222](https://github.com/AtomLinter/linter-pylint/pull/222) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) 12 | 13 | **Fixed bugs:** 14 | 15 | - linting fails when .pylintrc is present [\#236](https://github.com/AtomLinter/linter-pylint/issues/236) 16 | - Pylint-1.6.4 deprecation warnings [\#185](https://github.com/AtomLinter/linter-pylint/issues/185) 17 | - Fix error whitelist [\#237](https://github.com/AtomLinter/linter-pylint/pull/237) ([gucciferXCIV](https://github.com/gucciferXCIV)) 18 | - Update Travis CI configuration [\#227](https://github.com/AtomLinter/linter-pylint/pull/227) ([Arcanemagus](https://github.com/Arcanemagus)) 19 | 20 | ## [v2.1.0](https://github.com/Atomlinter/linter-pylint/tree/v2.1.0) (2017-05-10) 21 | 22 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v2.0.1...v2.1.0) 23 | 24 | **Implemented enhancements:** 25 | 26 | - Update atom-linter to v10.0.0 🚀 [\#211](https://github.com/AtomLinter/linter-pylint/pull/211) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) 27 | - Add path placeholder for project name [\#210](https://github.com/AtomLinter/linter-pylint/pull/210) ([nrth](https://github.com/nrth)) 28 | 29 | **Fixed bugs:** 30 | 31 | - PYTHONPATH hacks break inner pylint imports [\#104](https://github.com/AtomLinter/linter-pylint/issues/104) 32 | - Remove hardcoded PYTHONPATH hack. [\#213](https://github.com/AtomLinter/linter-pylint/pull/213) ([ddaanet](https://github.com/ddaanet)) 33 | 34 | ## [v2.0.1](https://github.com/Atomlinter/linter-pylint/tree/v2.0.1) (2017-03-30) 35 | 36 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v2.0.0...v2.0.1) 37 | 38 | **Fixed bugs:** 39 | 40 | - linter-pylint wont work after update to 2.0.0 [\#206](https://github.com/AtomLinter/linter-pylint/issues/206) 41 | - Rename range to position [\#207](https://github.com/AtomLinter/linter-pylint/pull/207) ([Arcanemagus](https://github.com/Arcanemagus)) 42 | 43 | ## [v2.0.0](https://github.com/Atomlinter/linter-pylint/tree/v2.0.0) (2017-03-29) 44 | 45 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v1.2.3...v2.0.0) 46 | 47 | **Implemented enhancements:** 48 | 49 | - Error running Pylint Error: Process execution timed out [\#204](https://github.com/AtomLinter/linter-pylint/issues/204) 50 | - PyLint console does not contain any web hyperlinks + unable to copy/paste [\#77](https://github.com/AtomLinter/linter-pylint/issues/77) 51 | - Rename executable to executablePath [\#153](https://github.com/AtomLinter/linter-pylint/issues/153) 52 | 53 | **Fixed bugs:** 54 | 55 | - Relative imports not working \(Django\) [\#110](https://github.com/AtomLinter/linter-pylint/issues/110) 56 | - Bad warning: C0103 invalid module name "atom-linter\_7080..." at line 1 col 0 in .../\_\_init\_\_.py [\#57](https://github.com/AtomLinter/linter-pylint/issues/57) 57 | - Linter v2 [\#205](https://github.com/AtomLinter/linter-pylint/pull/205) ([Arcanemagus](https://github.com/Arcanemagus)) 58 | 59 | ## [v1.2.3](https://github.com/Atomlinter/linter-pylint/tree/v1.2.3) (2017-03-18) 60 | 61 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v1.2.2...v1.2.3) 62 | 63 | **Implemented enhancements:** 64 | 65 | - Update eslint-config-airbnb-base to v11.1.1 [\#203](https://github.com/AtomLinter/linter-pylint/pull/203) ([Arcanemagus](https://github.com/Arcanemagus)) 66 | - Update CI configuration [\#202](https://github.com/AtomLinter/linter-pylint/pull/202) ([Arcanemagus](https://github.com/Arcanemagus)) 67 | - Update atom-linter to v9.0.0 🚀 [\#198](https://github.com/AtomLinter/linter-pylint/pull/198) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) 68 | - Update dependencies to enable Greenkeeper 🌴 [\#196](https://github.com/AtomLinter/linter-pylint/pull/196) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) 69 | - Update eslint-config-airbnb-base to version 8.0.0 🚀 [\#186](https://github.com/AtomLinter/linter-pylint/pull/186) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) 70 | 71 | **Fixed bugs:** 72 | 73 | - Update CI configuration [\#190](https://github.com/AtomLinter/linter-pylint/pull/190) ([Arcanemagus](https://github.com/Arcanemagus)) 74 | 75 | ## [v1.2.2](https://github.com/Atomlinter/linter-pylint/tree/v1.2.2) (2016-09-16) 76 | 77 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v1.2.1...v1.2.2) 78 | 79 | **Implemented enhancements:** 80 | 81 | - Add support for `python \(django\)` files [\#87](https://github.com/AtomLinter/linter-pylint/issues/87) 82 | - Update CI Configuration [\#182](https://github.com/AtomLinter/linter-pylint/pull/182) ([Arcanemagus](https://github.com/Arcanemagus)) 83 | - Update eslint to version 3.5.0 🚀 [\#179](https://github.com/AtomLinter/linter-pylint/pull/179) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) 84 | - Update atom-linter to version 8.0.0 🚀 [\#176](https://github.com/AtomLinter/linter-pylint/pull/176) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) 85 | - Add support for `python \(django\)` files [\#173](https://github.com/AtomLinter/linter-pylint/pull/173) ([nanorepublica](https://github.com/nanorepublica)) 86 | 87 | **Fixed bugs:** 88 | 89 | - Error: Column start greater than line length [\#165](https://github.com/AtomLinter/linter-pylint/issues/165) 90 | - Fix a race condition [\#183](https://github.com/AtomLinter/linter-pylint/pull/183) ([Arcanemagus](https://github.com/Arcanemagus)) 91 | 92 | ## [v1.2.1](https://github.com/Atomlinter/linter-pylint/tree/v1.2.1) (2016-07-05) 93 | 94 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v1.2.0...v1.2.1) 95 | 96 | **Implemented enhancements:** 97 | 98 | - Support file-local environment variables in pylint setting \(and others\) [\#84](https://github.com/AtomLinter/linter-pylint/issues/84) 99 | - Support `%p` expansion for `pylint` executable [\#62](https://github.com/AtomLinter/linter-pylint/issues/62) 100 | - Update atom-linter to version 6.0.0 🚀 [\#155](https://github.com/AtomLinter/linter-pylint/pull/155) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) 101 | - Update eslint-config-airbnb-base to version 3.0.1 🚀 [\#146](https://github.com/AtomLinter/linter-pylint/pull/146) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) 102 | - Update atom-linter to version 5.0.1 🚀 [\#145](https://github.com/AtomLinter/linter-pylint/pull/145) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) 103 | - Move to eslint-config-airbnb-base [\#141](https://github.com/AtomLinter/linter-pylint/pull/141) ([Arcanemagus](https://github.com/Arcanemagus)) 104 | - Update eslint-config-airbnb to version 7.0.0 🚀 [\#137](https://github.com/AtomLinter/linter-pylint/pull/137) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) 105 | - A few updates [\#132](https://github.com/AtomLinter/linter-pylint/pull/132) ([Arcanemagus](https://github.com/Arcanemagus)) 106 | - Update eslint to version 2.2.0 🚀 [\#122](https://github.com/AtomLinter/linter-pylint/pull/122) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) 107 | - Update babel-eslint to version 5.0.0 🚀 [\#121](https://github.com/AtomLinter/linter-pylint/pull/121) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) 108 | - Update atom-package-deps to version 4.0.1 🚀 [\#120](https://github.com/AtomLinter/linter-pylint/pull/120) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) 109 | - Update eslint-config-airbnb to version 5.0.0 🚀 [\#115](https://github.com/AtomLinter/linter-pylint/pull/115) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) 110 | - atom-linter@4.3.4 breaks build 🚨 [\#111](https://github.com/AtomLinter/linter-pylint/pull/111) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) 111 | - Update lodash to version 4.0.0 🚀 [\#109](https://github.com/AtomLinter/linter-pylint/pull/109) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) 112 | 113 | **Fixed bugs:** 114 | 115 | - Pylint is executed in an Unicode-incompatible way. [\#135](https://github.com/AtomLinter/linter-pylint/issues/135) 116 | - Linter produces yellow marks in editor, but error/warning popup will not show [\#82](https://github.com/AtomLinter/linter-pylint/issues/82) 117 | - Linter cannot find pylint [\#80](https://github.com/AtomLinter/linter-pylint/issues/80) 118 | - Support virtualenv [\#75](https://github.com/AtomLinter/linter-pylint/issues/75) 119 | - Force environment encoding to UTF-8 [\#152](https://github.com/AtomLinter/linter-pylint/pull/152) ([Arcanemagus](https://github.com/Arcanemagus)) 120 | - ES6 Rewrite [\#151](https://github.com/AtomLinter/linter-pylint/pull/151) ([Arcanemagus](https://github.com/Arcanemagus)) 121 | - Update README URLs based on HTTP redirects [\#150](https://github.com/AtomLinter/linter-pylint/pull/150) ([ReadmeCritic](https://github.com/ReadmeCritic)) 122 | - Update atom-linter to 4.x [\#103](https://github.com/AtomLinter/linter-pylint/pull/103) ([SpainTrain](https://github.com/SpainTrain)) 123 | 124 | ## [v1.2.0](https://github.com/Atomlinter/linter-pylint/tree/v1.2.0) (2015-12-02) 125 | 126 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v1.1.2...v1.2.0) 127 | 128 | **Implemented enhancements:** 129 | 130 | - Allow %f in pythonpath for linting relative imports [\#98](https://github.com/AtomLinter/linter-pylint/pull/98) ([rainyday](https://github.com/rainyday)) 131 | 132 | ## [v1.1.2](https://github.com/Atomlinter/linter-pylint/tree/v1.1.2) (2015-12-01) 133 | 134 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v1.1.1...v1.1.2) 135 | 136 | **Implemented enhancements:** 137 | 138 | - add \r to regex for atom-linter on windows [\#97](https://github.com/AtomLinter/linter-pylint/pull/97) ([rainyday](https://github.com/rainyday)) 139 | 140 | ## [v1.1.1](https://github.com/Atomlinter/linter-pylint/tree/v1.1.1) (2015-11-30) 141 | 142 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v1.1.0...v1.1.1) 143 | 144 | **Fixed bugs:** 145 | 146 | - Fix typo in config descriptions [\#96](https://github.com/AtomLinter/linter-pylint/pull/96) ([rainyday](https://github.com/rainyday)) 147 | 148 | ## [v1.1.0](https://github.com/Atomlinter/linter-pylint/tree/v1.1.0) (2015-11-30) 149 | 150 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v1.0.5...v1.1.0) 151 | 152 | **Implemented enhancements:** 153 | 154 | - Update atom-linter and fix specs [\#95](https://github.com/AtomLinter/linter-pylint/pull/95) ([Arcanemagus](https://github.com/Arcanemagus)) 155 | - Allow use of project and file dir in rcfile, cwd, pythonpath. [\#91](https://github.com/AtomLinter/linter-pylint/pull/91) ([rainyday](https://github.com/rainyday)) 156 | 157 | **Fixed bugs:** 158 | 159 | - PYTHONPATH does not work [\#86](https://github.com/AtomLinter/linter-pylint/issues/86) 160 | - actually use PYTHONPATH environment variable [\#93](https://github.com/AtomLinter/linter-pylint/pull/93) ([d70-t](https://github.com/d70-t)) 161 | 162 | ## [v1.0.5](https://github.com/Atomlinter/linter-pylint/tree/v1.0.5) (2015-11-22) 163 | 164 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v1.0.4...v1.0.5) 165 | 166 | **Fixed bugs:** 167 | 168 | - TypeError: Cannot read property 'length' of undefined [\#78](https://github.com/AtomLinter/linter-pylint/issues/78) 169 | 170 | ## [v1.0.4](https://github.com/Atomlinter/linter-pylint/tree/v1.0.4) (2015-11-20) 171 | 172 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v1.0.3...v1.0.4) 173 | 174 | **Implemented enhancements:** 175 | 176 | - App specs [\#89](https://github.com/AtomLinter/linter-pylint/pull/89) ([Arcanemagus](https://github.com/Arcanemagus)) 177 | - Update package dependencies [\#88](https://github.com/AtomLinter/linter-pylint/pull/88) ([Arcanemagus](https://github.com/Arcanemagus)) 178 | 179 | **Fixed bugs:** 180 | 181 | - Fix travis yml [\#79](https://github.com/AtomLinter/linter-pylint/pull/79) ([Arcanemagus](https://github.com/Arcanemagus)) 182 | 183 | ## [v1.0.3](https://github.com/Atomlinter/linter-pylint/tree/v1.0.3) (2015-10-05) 184 | 185 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v1.0.2...v1.0.3) 186 | 187 | **Implemented enhancements:** 188 | 189 | - Fix getProjDir\(\) for symbolic links [\#74](https://github.com/AtomLinter/linter-pylint/pull/74) ([kankaristo](https://github.com/kankaristo)) 190 | - Run linting on TravisCI [\#73](https://github.com/AtomLinter/linter-pylint/pull/73) ([SpainTrain](https://github.com/SpainTrain)) 191 | - Add a coffeelint.json [\#72](https://github.com/AtomLinter/linter-pylint/pull/72) ([Arcanemagus](https://github.com/Arcanemagus)) 192 | 193 | ## [v1.0.2](https://github.com/Atomlinter/linter-pylint/tree/v1.0.2) (2015-10-02) 194 | 195 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v1.0.1...v1.0.2) 196 | 197 | **Implemented enhancements:** 198 | 199 | - Add linter name [\#71](https://github.com/AtomLinter/linter-pylint/pull/71) ([Arcanemagus](https://github.com/Arcanemagus)) 200 | 201 | ## [v1.0.1](https://github.com/Atomlinter/linter-pylint/tree/v1.0.1) (2015-09-28) 202 | 203 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v1.0.0...v1.0.1) 204 | 205 | **Implemented enhancements:** 206 | 207 | - Install `linter` automatically. [\#63](https://github.com/AtomLinter/linter-pylint/issues/63) 208 | - Add Mike S as a maintainer [\#59](https://github.com/AtomLinter/linter-pylint/issues/59) 209 | - Per project .pylintrc file configuration [\#45](https://github.com/AtomLinter/linter-pylint/issues/45) 210 | - Show linter codes [\#28](https://github.com/AtomLinter/linter-pylint/issues/28) 211 | - Lint also Django Python files [\#17](https://github.com/AtomLinter/linter-pylint/issues/17) 212 | - Install `linter` with `atom-package-deps` [\#64](https://github.com/AtomLinter/linter-pylint/pull/64) ([SpainTrain](https://github.com/SpainTrain)) 213 | 214 | **Fixed bugs:** 215 | 216 | - Donate button image 403 [\#68](https://github.com/AtomLinter/linter-pylint/issues/68) 217 | - Issue with On-The-Fly linting [\#54](https://github.com/AtomLinter/linter-pylint/issues/54) 218 | - Object.activate is deprecated. [\#49](https://github.com/AtomLinter/linter-pylint/issues/49) 219 | - Not all errors are show!? [\#46](https://github.com/AtomLinter/linter-pylint/issues/46) 220 | - Upcoming linter changes [\#41](https://github.com/AtomLinter/linter-pylint/issues/41) 221 | - Linting on temporary files means imports don't work [\#23](https://github.com/AtomLinter/linter-pylint/issues/23) 222 | - Do not undraw current lint issues unless they are fixed [\#11](https://github.com/AtomLinter/linter-pylint/issues/11) 223 | - Remove donate link from README, broken image link [\#69](https://github.com/AtomLinter/linter-pylint/pull/69) ([miigotu](https://github.com/miigotu)) 224 | - README: Update with latest config parameters [\#56](https://github.com/AtomLinter/linter-pylint/pull/56) ([SpainTrain](https://github.com/SpainTrain)) 225 | 226 | ## [v1.0.0](https://github.com/Atomlinter/linter-pylint/tree/v1.0.0) (2015-08-17) 227 | 228 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v0.2.2...v1.0.0) 229 | 230 | **Implemented enhancements:** 231 | 232 | - Update: Use latest linter API [\#55](https://github.com/AtomLinter/linter-pylint/pull/55) ([SpainTrain](https://github.com/SpainTrain)) 233 | - Add option to configure the format of linter messages [\#47](https://github.com/AtomLinter/linter-pylint/pull/47) ([Holiverh](https://github.com/Holiverh)) 234 | - Include support to fatal, convention and refactor messages [\#22](https://github.com/AtomLinter/linter-pylint/pull/22) ([marcelocarlosbr](https://github.com/marcelocarlosbr)) 235 | 236 | **Fixed bugs:** 237 | 238 | - Config.unobserve is deprecated. [\#31](https://github.com/AtomLinter/linter-pylint/issues/31) 239 | - Deprecated: 'activationEvents' [\#29](https://github.com/AtomLinter/linter-pylint/issues/29) 240 | 241 | ## [v0.2.2](https://github.com/Atomlinter/linter-pylint/tree/v0.2.2) (2015-05-21) 242 | 243 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v0.2.1...v0.2.2) 244 | 245 | **Fixed bugs:** 246 | 247 | - Cleanup current deprecations [\#40](https://github.com/AtomLinter/linter-pylint/pull/40) ([awatts](https://github.com/awatts)) 248 | 249 | ## [v0.2.1](https://github.com/Atomlinter/linter-pylint/tree/v0.2.1) (2015-02-26) 250 | 251 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v0.2.0...v0.2.1) 252 | 253 | **Fixed bugs:** 254 | 255 | - Make sure output is text [\#25](https://github.com/AtomLinter/linter-pylint/pull/25) ([daemonburrito](https://github.com/daemonburrito)) 256 | 257 | ## [v0.2.0](https://github.com/Atomlinter/linter-pylint/tree/v0.2.0) (2014-12-15) 258 | 259 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v0.1.5...v0.2.0) 260 | 261 | **Implemented enhancements:** 262 | 263 | - Specify pylint path and .pylintrc path as settings [\#16](https://github.com/AtomLinter/linter-pylint/issues/16) 264 | - Switching between pylint executables for py2 and py3 [\#14](https://github.com/AtomLinter/linter-pylint/issues/14) 265 | - Add support for configuration and removed executable check [\#24](https://github.com/AtomLinter/linter-pylint/pull/24) ([evilhamsterman](https://github.com/evilhamsterman)) 266 | 267 | **Fixed bugs:** 268 | 269 | - Work when pylint is called pylint-script.py [\#13](https://github.com/AtomLinter/linter-pylint/issues/13) 270 | - Uncaught Error: spawn ENOENT [\#12](https://github.com/AtomLinter/linter-pylint/issues/12) 271 | - fix \#13 [\#19](https://github.com/AtomLinter/linter-pylint/pull/19) ([fnkr](https://github.com/fnkr)) 272 | 273 | ## [v0.1.5](https://github.com/Atomlinter/linter-pylint/tree/v0.1.5) (2014-08-18) 274 | 275 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v0.1.4...v0.1.5) 276 | 277 | **Fixed bugs:** 278 | 279 | - Remove space from msg-template in cmd & regex [\#15](https://github.com/AtomLinter/linter-pylint/issues/15) 280 | 281 | ## [v0.1.4](https://github.com/Atomlinter/linter-pylint/tree/v0.1.4) (2014-08-13) 282 | 283 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v0.1.3...v0.1.4) 284 | 285 | ## [v0.1.3](https://github.com/Atomlinter/linter-pylint/tree/v0.1.3) (2014-07-29) 286 | 287 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v0.1.2...v0.1.3) 288 | 289 | **Implemented enhancements:** 290 | 291 | - Show message ids in lint messages [\#10](https://github.com/AtomLinter/linter-pylint/pull/10) ([dmnd](https://github.com/dmnd)) 292 | - Use project root as cwd [\#8](https://github.com/AtomLinter/linter-pylint/pull/8) ([dmnd](https://github.com/dmnd)) 293 | 294 | **Fixed bugs:** 295 | 296 | - Respect linter.lintDebug config [\#9](https://github.com/AtomLinter/linter-pylint/pull/9) ([dmnd](https://github.com/dmnd)) 297 | 298 | ## [v0.1.2](https://github.com/Atomlinter/linter-pylint/tree/v0.1.2) (2014-06-24) 299 | 300 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v0.1.0...v0.1.2) 301 | 302 | **Fixed bugs:** 303 | 304 | - Uncaught TypeError: Object \#\ has no method 'getCmd' [\#4](https://github.com/AtomLinter/linter-pylint/issues/4) 305 | - Now using getCmdAndArgs. Fixes \#4 [\#5](https://github.com/AtomLinter/linter-pylint/pull/5) ([sebdah](https://github.com/sebdah)) 306 | - Fixed debug-output, implemented use of `cwd` for pylint-check [\#3](https://github.com/AtomLinter/linter-pylint/pull/3) ([florianb](https://github.com/florianb)) 307 | 308 | ## [v0.1.0](https://github.com/Atomlinter/linter-pylint/tree/v0.1.0) (2014-05-26) 309 | 310 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v0.0.1...v0.1.0) 311 | 312 | ## [v0.0.1](https://github.com/Atomlinter/linter-pylint/tree/v0.0.1) (2014-05-26) 313 | 314 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/v0.0.4...v0.0.1) 315 | 316 | **Implemented enhancements:** 317 | 318 | - implemented linter-pylint [\#1](https://github.com/AtomLinter/linter-pylint/pull/1) ([florianb](https://github.com/florianb)) 319 | 320 | ## [v0.0.4](https://github.com/Atomlinter/linter-pylint/tree/v0.0.4) (2014-05-12) 321 | 322 | [Full Changelog](https://github.com/Atomlinter/linter-pylint/compare/793f18ba887db70983bcd4e6fa167a9f158dfe99...v0.0.4) 323 | 324 | 325 | 326 | \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* 327 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # linter-pylint 2 | [![Build Status](https://travis-ci.org/AtomLinter/linter-pylint.svg?branch=master)](https://travis-ci.org/AtomLinter/linter-pylint) 3 | [![Dependency Status](https://david-dm.org/AtomLinter/linter-pylint.svg)](https://david-dm.org/AtomLinter/linter-pylint) 4 | [![Plugin installs!](https://img.shields.io/apm/dm/linter-pylint.svg)](https://atom.io/packages/linter-pylint) 5 | [![Package version!](https://img.shields.io/apm/v/linter-pylint.svg?style=flat)](https://atom.io/packages/linter-pylint) 6 | 7 | This package will lint your opened Python-files in Atom, using [pylint](https://www.pylint.org/). 8 | 9 | ## Installation 10 | 11 | 1. Install [pylint](http://www.pylint.org/#install). 12 | 2. `$ apm install linter-pylint` 13 | 14 | ## Configuration 15 | * **Executable** Path to your pylint executable. This is useful if you have different versions of pylint for Python 2 16 | and 3 or if you are using a virtualenv. Use `%p` for the current project (no trailing /). 17 | * **Message Format** Format for Pylint messages where `%m` is the message, `%i` is the numeric message ID (e.g. W0613) 18 | and `%s` is the human-readable message ID (e.g. unused-argument). 19 | * **Python Path** Paths to be added to the `PYTHONPATH` environment variable. Use `%p` for the current project 20 | directory (e.g. `%p/vendor`) or `%f` for the directory of the current 21 | file location. 22 | * **Rc File** Path to pylintrc file. Use `%p` for the current project directory or `%f` for the directory of the current 23 | file location. 24 | * **Working Directory** Directory pylint is run from. Use `%p` for the current project directory or `%f` for the 25 | directory of the current file. 26 | * `%p` will fallback to the current file's directory (equivilent to `%f`) if no project directory can be determined. 27 | 28 | ## Other available linters 29 | There are other linters available - take a look at the linters [mainpage](https://github.com/steelbrain/linter). 30 | 31 | ## Changelog 32 | 33 | ### 1.1.0 34 | - Allow use of project and file directories in rcfile, cwd, and PYTHONPATH (d82116d) 35 | - Fix use of PYTHONPATH (7fb325) 36 | 37 | ### 1.0.0 38 | - Use latest linter API 39 | 40 | ### 0.2.1 41 | - Use new API for project path 42 | 43 | ### 0.2.0 44 | - Settings to configure rcfile, executable name [#24](https://github.com/AtomLinter/linter-pylint/pull/24) 45 | 46 | ### 0.1.5 47 | - Fix lint message display on Windows [#15](https://github.com/AtomLinter/linter-pylint/issues/15) 48 | - Fix temporary file leak when pylint isn't present 49 | 50 | ### 0.1.3 51 | - Display pylint message ids 52 | - Fix debug mode [#9](https://github.com/AtomLinter/linter-pylint/pull/9) 53 | - Use project directory as cwd (works better with Atom projects) 54 | 55 | ### 0.1.2 56 | - fix 'has no method getCmd' bug [#4](https://github.com/AtomLinter/linter-pylint/issues/4) 57 | 58 | ### 0.1.0 59 | 60 | - Implemented first version of 'linter-pylint' 61 | - Added support for Errors and Warnings, "Refactor", "Convention and "Fatal"-messages are ignored due to missing display-capabilities. 62 | -------------------------------------------------------------------------------- /lib/main.js: -------------------------------------------------------------------------------- 1 | 'use babel'; 2 | 3 | /** 4 | * Note that this can't be loaded lazily as `atom` doesn't export it correctly 5 | * for that, however as this comes from app.asar it is pre-compiled and is 6 | * essentially "free" as there is no expensive compilation step. 7 | */ 8 | // eslint-disable-next-line import/no-extraneous-dependencies, import/extensions 9 | import { CompositeDisposable } from 'atom'; 10 | import path from 'path'; 11 | 12 | const fs = require('fs'); 13 | const lazyReq = require('lazy-req')(require); 14 | 15 | const { delimiter, dirname } = lazyReq('path')('delimiter', 'dirname'); 16 | const { exec, generateRange } = lazyReq('atom-linter')('exec', 'generateRange'); 17 | const os = lazyReq('os'); 18 | 19 | // Some local variables 20 | const errorWhitelist = [ 21 | /^No config file found, using default configuration$/, 22 | /^Using config file /, 23 | ]; 24 | 25 | const getProjectDir = (filePath) => { 26 | const atomProject = atom.project.relativizePath(filePath)[0]; 27 | if (atomProject === null) { 28 | // Default project to file directory if project path cannot be determined 29 | return dirname(filePath); 30 | } 31 | return atomProject; 32 | }; 33 | 34 | const filterWhitelistedErrors = (stderr) => { 35 | // Split the input and remove blank lines 36 | const lines = stderr.split(os().EOL).filter((line) => !!line); 37 | const filteredLines = lines.filter((line) => ( 38 | // Only keep the line if it is not ignored 39 | !errorWhitelist.some((errorRegex) => errorRegex.test(line)) 40 | )); 41 | return filteredLines.join(os().EOL); 42 | }; 43 | 44 | const fixPathString = (pathString, fileDir, projectDir) => { 45 | const string = pathString; 46 | const fRstring = string.replace(/%f/g, fileDir); 47 | const hRstring = fRstring.replace(/%h/g, path.basename(projectDir)); 48 | const pRstring = hRstring.replace(/%p/g, projectDir); 49 | return pRstring; 50 | }; 51 | 52 | const determineSeverity = (severity) => { 53 | switch (severity) { 54 | case 'error': 55 | case 'warning': 56 | case 'info': 57 | return severity; 58 | case 'convention': 59 | return 'info'; 60 | default: 61 | return 'warning'; 62 | } 63 | }; 64 | 65 | export default { 66 | activate() { 67 | require('atom-package-deps').install('linter-pylint'); 68 | 69 | this.subscriptions = new CompositeDisposable(); 70 | 71 | // FIXME: Remove backwards compatibility in a future minor version 72 | const oldPath = atom.config.get('linter-pylint.executable'); 73 | if (oldPath !== undefined) { 74 | atom.config.unset('linter-pylint.executable'); 75 | if (oldPath !== 'pylint') { 76 | // If the old config wasn't set to the default migrate it over 77 | atom.config.set('linter-pylint.executablePath', oldPath); 78 | } 79 | } 80 | 81 | this.subscriptions.add(atom.config.observe('linter-pylint.executablePath', (value) => { 82 | this.executablePath = value; 83 | })); 84 | this.subscriptions.add(atom.config.observe('linter-pylint.rcFile', (value) => { 85 | this.rcFile = value; 86 | })); 87 | this.subscriptions.add(atom.config.observe('linter-pylint.messageFormat', (value) => { 88 | this.messageFormat = value; 89 | })); 90 | this.subscriptions.add(atom.config.observe('linter-pylint.pythonPath', (value) => { 91 | this.pythonPath = value; 92 | })); 93 | this.subscriptions.add(atom.config.observe('linter-pylint.workingDirectory', (value) => { 94 | this.workingDirectory = value.replace(delimiter, ''); 95 | })); 96 | this.subscriptions.add(atom.config.observe('linter-pylint.disableTimeout', (value) => { 97 | this.disableTimeout = value; 98 | })); 99 | }, 100 | 101 | deactivate() { 102 | this.subscriptions.dispose(); 103 | }, 104 | 105 | provideLinter() { 106 | return { 107 | name: 'Pylint', 108 | scope: 'file', 109 | lintsOnChange: false, 110 | grammarScopes: ['source.python', 'source.python.django'], 111 | lint: async (editor) => { 112 | const filePath = editor.getPath(); 113 | const fileDir = dirname(filePath); 114 | const fileText = editor.getText(); 115 | const projectDir = getProjectDir(filePath); 116 | const cwd = fixPathString(this.workingDirectory, fileDir, projectDir); 117 | const execPath = fixPathString(this.executablePath, '', projectDir); 118 | let format = this.messageFormat; 119 | const patterns = { 120 | '%m': 'msg', 121 | '%i': 'msg_id', 122 | '%s': 'symbol', 123 | }; 124 | Object.keys(patterns).forEach((pattern) => { 125 | format = format.replace(new RegExp(pattern, 'g'), `{${patterns[pattern]}}`); 126 | }); 127 | const env = Object.create(process.env, { 128 | PYTHONPATH: { 129 | value: [ 130 | process.env.PYTHONPATH, 131 | fixPathString(this.pythonPath, fileDir, projectDir), 132 | ].filter((x) => !!x).join(delimiter), 133 | enumerable: true, 134 | }, 135 | LANG: { value: 'en_US.UTF-8', enumerable: true }, 136 | }); 137 | 138 | const args = [ 139 | `--msg-template='{line},{column},{category},{msg_id}:${format}'`, 140 | '--reports=n', 141 | '--output-format=text', 142 | ]; 143 | if ( 144 | this.rcFile !== '' 145 | && fs.existsSync(`${fixPathString(this.rcFile, fileDir, projectDir)}`) 146 | ) { 147 | args.push(`--rcfile=${fixPathString(this.rcFile, fileDir, projectDir)}`); 148 | } 149 | args.push(filePath); 150 | 151 | const execOpts = { env, cwd, stream: 'both' }; 152 | if (this.disableTimeout) { 153 | execOpts.timeout = Infinity; 154 | } 155 | 156 | const data = await exec(execPath, args, execOpts); 157 | 158 | if (editor.getText() !== fileText) { 159 | // Editor text was modified since the lint was triggered, tell Linter not to update 160 | return null; 161 | } 162 | 163 | const filteredErrors = filterWhitelistedErrors(data.stderr); 164 | if (filteredErrors) { 165 | // pylint threw an error we aren't ignoring! 166 | throw new Error(filteredErrors); 167 | } 168 | 169 | const lineRegex = /(\d+),(\d+),(\w+),(\w\d+):(.*)\r?(?:\n|$)/g; 170 | const toReturn = []; 171 | 172 | let match = lineRegex.exec(data.stdout); 173 | while (match !== null) { 174 | const line = Number.parseInt(match[1], 10) - 1; 175 | const column = Number.parseInt(match[2], 10); 176 | const position = generateRange(editor, line, column); 177 | const message = { 178 | severity: determineSeverity(match[3]), 179 | excerpt: match[5], 180 | location: { file: filePath, position }, 181 | url: `http://pylint-messages.wikidot.com/messages:${match[4]}`, 182 | }; 183 | 184 | toReturn.push(message); 185 | match = lineRegex.exec(data.stdout); 186 | } 187 | 188 | return toReturn; 189 | }, 190 | }; 191 | }, 192 | }; 193 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "linter-pylint", 3 | "version": "2.1.1", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "@babel/code-frame": { 8 | "version": "7.5.5", 9 | "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz", 10 | "integrity": "sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw==", 11 | "dev": true, 12 | "requires": { 13 | "@babel/highlight": "^7.0.0" 14 | } 15 | }, 16 | "@babel/highlight": { 17 | "version": "7.5.0", 18 | "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.5.0.tgz", 19 | "integrity": "sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChKy1TRQ==", 20 | "dev": true, 21 | "requires": { 22 | "chalk": "^2.0.0", 23 | "esutils": "^2.0.2", 24 | "js-tokens": "^4.0.0" 25 | } 26 | }, 27 | "acorn": { 28 | "version": "7.0.0", 29 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.0.0.tgz", 30 | "integrity": "sha512-PaF/MduxijYYt7unVGRuds1vBC9bFxbNf+VWqhOClfdgy7RlVkQqt610ig1/yxTgsDIfW1cWDel5EBbOy3jdtQ==", 31 | "dev": true 32 | }, 33 | "acorn-jsx": { 34 | "version": "5.0.2", 35 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.0.2.tgz", 36 | "integrity": "sha512-tiNTrP1MP0QrChmD2DdupCr6HWSFeKVw5d/dHTu4Y7rkAkRhU/Dt7dphAfIUyxtHpl/eBVip5uTNSpQJHylpAw==", 37 | "dev": true 38 | }, 39 | "ajv": { 40 | "version": "6.10.2", 41 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz", 42 | "integrity": "sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw==", 43 | "dev": true, 44 | "requires": { 45 | "fast-deep-equal": "^2.0.1", 46 | "fast-json-stable-stringify": "^2.0.0", 47 | "json-schema-traverse": "^0.4.1", 48 | "uri-js": "^4.2.2" 49 | } 50 | }, 51 | "ansi-escapes": { 52 | "version": "3.2.0", 53 | "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", 54 | "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==", 55 | "dev": true 56 | }, 57 | "ansi-regex": { 58 | "version": "3.0.0", 59 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", 60 | "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", 61 | "dev": true 62 | }, 63 | "ansi-styles": { 64 | "version": "3.2.1", 65 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", 66 | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", 67 | "dev": true, 68 | "requires": { 69 | "color-convert": "^1.9.0" 70 | } 71 | }, 72 | "argparse": { 73 | "version": "1.0.10", 74 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", 75 | "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", 76 | "dev": true, 77 | "requires": { 78 | "sprintf-js": "~1.0.2" 79 | } 80 | }, 81 | "array-includes": { 82 | "version": "3.0.3", 83 | "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.0.3.tgz", 84 | "integrity": "sha1-GEtI9i2S10UrsxsyMWXH+L0CJm0=", 85 | "dev": true, 86 | "requires": { 87 | "define-properties": "^1.1.2", 88 | "es-abstract": "^1.7.0" 89 | } 90 | }, 91 | "astral-regex": { 92 | "version": "1.0.0", 93 | "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", 94 | "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", 95 | "dev": true 96 | }, 97 | "atom-linter": { 98 | "version": "10.0.0", 99 | "resolved": "https://registry.npmjs.org/atom-linter/-/atom-linter-10.0.0.tgz", 100 | "integrity": "sha1-0nu3Tl+PCKdKQL6ynuGlDZdUPIk=", 101 | "requires": { 102 | "named-js-regexp": "^1.3.1", 103 | "sb-exec": "^4.0.0", 104 | "sb-promisify": "^2.0.1", 105 | "tmp": "~0.0.28" 106 | } 107 | }, 108 | "atom-package-deps": { 109 | "version": "5.1.0", 110 | "resolved": "https://registry.npmjs.org/atom-package-deps/-/atom-package-deps-5.1.0.tgz", 111 | "integrity": "sha512-RGktH8NSFBJ5rdwuta3M7DbFdDr1EgrXo7uW7DQR/+lWJZcrfH2yxobnSdb/g1JM1tTvLyRYmZYOeRJGqQ9UGw==", 112 | "requires": { 113 | "sb-fs": "^4.0.0", 114 | "semver": "^6.0.0" 115 | }, 116 | "dependencies": { 117 | "semver": { 118 | "version": "6.0.0", 119 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.0.0.tgz", 120 | "integrity": "sha512-0UewU+9rFapKFnlbirLi3byoOuhrSsli/z/ihNnvM24vgF+8sNBiI1LZPBSH9wJKUwaUbw+s3hToDLCXkrghrQ==" 121 | } 122 | } 123 | }, 124 | "balanced-match": { 125 | "version": "1.0.0", 126 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", 127 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", 128 | "dev": true 129 | }, 130 | "brace-expansion": { 131 | "version": "1.1.11", 132 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 133 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 134 | "dev": true, 135 | "requires": { 136 | "balanced-match": "^1.0.0", 137 | "concat-map": "0.0.1" 138 | } 139 | }, 140 | "callsites": { 141 | "version": "3.1.0", 142 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", 143 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", 144 | "dev": true 145 | }, 146 | "chalk": { 147 | "version": "2.4.2", 148 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", 149 | "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", 150 | "dev": true, 151 | "requires": { 152 | "ansi-styles": "^3.2.1", 153 | "escape-string-regexp": "^1.0.5", 154 | "supports-color": "^5.3.0" 155 | } 156 | }, 157 | "chardet": { 158 | "version": "0.7.0", 159 | "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", 160 | "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", 161 | "dev": true 162 | }, 163 | "cli-cursor": { 164 | "version": "2.1.0", 165 | "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", 166 | "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", 167 | "dev": true, 168 | "requires": { 169 | "restore-cursor": "^2.0.0" 170 | } 171 | }, 172 | "cli-width": { 173 | "version": "2.2.0", 174 | "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", 175 | "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=", 176 | "dev": true 177 | }, 178 | "color-convert": { 179 | "version": "1.9.3", 180 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", 181 | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", 182 | "dev": true, 183 | "requires": { 184 | "color-name": "1.1.3" 185 | } 186 | }, 187 | "color-name": { 188 | "version": "1.1.3", 189 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", 190 | "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", 191 | "dev": true 192 | }, 193 | "concat-map": { 194 | "version": "0.0.1", 195 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 196 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", 197 | "dev": true 198 | }, 199 | "confusing-browser-globals": { 200 | "version": "1.0.8", 201 | "resolved": "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.8.tgz", 202 | "integrity": "sha512-lI7asCibVJ6Qd3FGU7mu4sfG4try4LX3+GVS+Gv8UlrEf2AeW57piecapnog2UHZSbcX/P/1UDWVaTsblowlZg==", 203 | "dev": true 204 | }, 205 | "consistent-env": { 206 | "version": "1.3.1", 207 | "resolved": "https://registry.npmjs.org/consistent-env/-/consistent-env-1.3.1.tgz", 208 | "integrity": "sha1-9oI018afxt2WVviuI0Kc4EmbZfs=", 209 | "requires": { 210 | "lodash.uniq": "^4.5.0" 211 | } 212 | }, 213 | "contains-path": { 214 | "version": "0.1.0", 215 | "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz", 216 | "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", 217 | "dev": true 218 | }, 219 | "cross-spawn": { 220 | "version": "6.0.5", 221 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", 222 | "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", 223 | "dev": true, 224 | "requires": { 225 | "nice-try": "^1.0.4", 226 | "path-key": "^2.0.1", 227 | "semver": "^5.5.0", 228 | "shebang-command": "^1.2.0", 229 | "which": "^1.2.9" 230 | } 231 | }, 232 | "debug": { 233 | "version": "4.1.1", 234 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", 235 | "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", 236 | "dev": true, 237 | "requires": { 238 | "ms": "^2.1.1" 239 | } 240 | }, 241 | "deep-is": { 242 | "version": "0.1.3", 243 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", 244 | "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", 245 | "dev": true 246 | }, 247 | "define-properties": { 248 | "version": "1.1.3", 249 | "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", 250 | "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", 251 | "dev": true, 252 | "requires": { 253 | "object-keys": "^1.0.12" 254 | } 255 | }, 256 | "doctrine": { 257 | "version": "3.0.0", 258 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", 259 | "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", 260 | "dev": true, 261 | "requires": { 262 | "esutils": "^2.0.2" 263 | } 264 | }, 265 | "emoji-regex": { 266 | "version": "7.0.3", 267 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", 268 | "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", 269 | "dev": true 270 | }, 271 | "error-ex": { 272 | "version": "1.3.2", 273 | "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", 274 | "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", 275 | "dev": true, 276 | "requires": { 277 | "is-arrayish": "^0.2.1" 278 | } 279 | }, 280 | "es-abstract": { 281 | "version": "1.13.0", 282 | "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.13.0.tgz", 283 | "integrity": "sha512-vDZfg/ykNxQVwup/8E1BZhVzFfBxs9NqMzGcvIJrqg5k2/5Za2bWo40dK2J1pgLngZ7c+Shh8lwYtLGyrwPutg==", 284 | "dev": true, 285 | "requires": { 286 | "es-to-primitive": "^1.2.0", 287 | "function-bind": "^1.1.1", 288 | "has": "^1.0.3", 289 | "is-callable": "^1.1.4", 290 | "is-regex": "^1.0.4", 291 | "object-keys": "^1.0.12" 292 | } 293 | }, 294 | "es-to-primitive": { 295 | "version": "1.2.0", 296 | "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.0.tgz", 297 | "integrity": "sha512-qZryBOJjV//LaxLTV6UC//WewneB3LcXOL9NP++ozKVXsIIIpm/2c13UDiD9Jp2eThsecw9m3jPqDwTyobcdbg==", 298 | "dev": true, 299 | "requires": { 300 | "is-callable": "^1.1.4", 301 | "is-date-object": "^1.0.1", 302 | "is-symbol": "^1.0.2" 303 | } 304 | }, 305 | "escape-string-regexp": { 306 | "version": "1.0.5", 307 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", 308 | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", 309 | "dev": true 310 | }, 311 | "eslint": { 312 | "version": "6.4.0", 313 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-6.4.0.tgz", 314 | "integrity": "sha512-WTVEzK3lSFoXUovDHEbkJqCVPEPwbhCq4trDktNI6ygs7aO41d4cDT0JFAT5MivzZeVLWlg7vHL+bgrQv/t3vA==", 315 | "dev": true, 316 | "requires": { 317 | "@babel/code-frame": "^7.0.0", 318 | "ajv": "^6.10.0", 319 | "chalk": "^2.1.0", 320 | "cross-spawn": "^6.0.5", 321 | "debug": "^4.0.1", 322 | "doctrine": "^3.0.0", 323 | "eslint-scope": "^5.0.0", 324 | "eslint-utils": "^1.4.2", 325 | "eslint-visitor-keys": "^1.1.0", 326 | "espree": "^6.1.1", 327 | "esquery": "^1.0.1", 328 | "esutils": "^2.0.2", 329 | "file-entry-cache": "^5.0.1", 330 | "functional-red-black-tree": "^1.0.1", 331 | "glob-parent": "^5.0.0", 332 | "globals": "^11.7.0", 333 | "ignore": "^4.0.6", 334 | "import-fresh": "^3.0.0", 335 | "imurmurhash": "^0.1.4", 336 | "inquirer": "^6.4.1", 337 | "is-glob": "^4.0.0", 338 | "js-yaml": "^3.13.1", 339 | "json-stable-stringify-without-jsonify": "^1.0.1", 340 | "levn": "^0.3.0", 341 | "lodash": "^4.17.14", 342 | "minimatch": "^3.0.4", 343 | "mkdirp": "^0.5.1", 344 | "natural-compare": "^1.4.0", 345 | "optionator": "^0.8.2", 346 | "progress": "^2.0.0", 347 | "regexpp": "^2.0.1", 348 | "semver": "^6.1.2", 349 | "strip-ansi": "^5.2.0", 350 | "strip-json-comments": "^3.0.1", 351 | "table": "^5.2.3", 352 | "text-table": "^0.2.0", 353 | "v8-compile-cache": "^2.0.3" 354 | }, 355 | "dependencies": { 356 | "lodash": { 357 | "version": "4.17.15", 358 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", 359 | "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", 360 | "dev": true 361 | }, 362 | "semver": { 363 | "version": "6.3.0", 364 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", 365 | "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", 366 | "dev": true 367 | } 368 | } 369 | }, 370 | "eslint-config-airbnb-base": { 371 | "version": "14.0.0", 372 | "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-14.0.0.tgz", 373 | "integrity": "sha512-2IDHobw97upExLmsebhtfoD3NAKhV4H0CJWP3Uprd/uk+cHuWYOczPVxQ8PxLFUAw7o3Th1RAU8u1DoUpr+cMA==", 374 | "dev": true, 375 | "requires": { 376 | "confusing-browser-globals": "^1.0.7", 377 | "object.assign": "^4.1.0", 378 | "object.entries": "^1.1.0" 379 | } 380 | }, 381 | "eslint-import-resolver-node": { 382 | "version": "0.3.2", 383 | "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz", 384 | "integrity": "sha512-sfmTqJfPSizWu4aymbPr4Iidp5yKm8yDkHp+Ir3YiTHiiDfxh69mOUsmiqW6RZ9zRXFaF64GtYmN7e+8GHBv6Q==", 385 | "dev": true, 386 | "requires": { 387 | "debug": "^2.6.9", 388 | "resolve": "^1.5.0" 389 | }, 390 | "dependencies": { 391 | "debug": { 392 | "version": "2.6.9", 393 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 394 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 395 | "dev": true, 396 | "requires": { 397 | "ms": "2.0.0" 398 | } 399 | }, 400 | "ms": { 401 | "version": "2.0.0", 402 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 403 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", 404 | "dev": true 405 | } 406 | } 407 | }, 408 | "eslint-module-utils": { 409 | "version": "2.4.1", 410 | "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.4.1.tgz", 411 | "integrity": "sha512-H6DOj+ejw7Tesdgbfs4jeS4YMFrT8uI8xwd1gtQqXssaR0EQ26L+2O/w6wkYFy2MymON0fTwHmXBvvfLNZVZEw==", 412 | "dev": true, 413 | "requires": { 414 | "debug": "^2.6.8", 415 | "pkg-dir": "^2.0.0" 416 | }, 417 | "dependencies": { 418 | "debug": { 419 | "version": "2.6.9", 420 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 421 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 422 | "dev": true, 423 | "requires": { 424 | "ms": "2.0.0" 425 | } 426 | }, 427 | "ms": { 428 | "version": "2.0.0", 429 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 430 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", 431 | "dev": true 432 | } 433 | } 434 | }, 435 | "eslint-plugin-import": { 436 | "version": "2.18.2", 437 | "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.18.2.tgz", 438 | "integrity": "sha512-5ohpsHAiUBRNaBWAF08izwUGlbrJoJJ+W9/TBwsGoR1MnlgfwMIKrFeSjWbt6moabiXW9xNvtFz+97KHRfI4HQ==", 439 | "dev": true, 440 | "requires": { 441 | "array-includes": "^3.0.3", 442 | "contains-path": "^0.1.0", 443 | "debug": "^2.6.9", 444 | "doctrine": "1.5.0", 445 | "eslint-import-resolver-node": "^0.3.2", 446 | "eslint-module-utils": "^2.4.0", 447 | "has": "^1.0.3", 448 | "minimatch": "^3.0.4", 449 | "object.values": "^1.1.0", 450 | "read-pkg-up": "^2.0.0", 451 | "resolve": "^1.11.0" 452 | }, 453 | "dependencies": { 454 | "debug": { 455 | "version": "2.6.9", 456 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 457 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 458 | "dev": true, 459 | "requires": { 460 | "ms": "2.0.0" 461 | } 462 | }, 463 | "doctrine": { 464 | "version": "1.5.0", 465 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", 466 | "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", 467 | "dev": true, 468 | "requires": { 469 | "esutils": "^2.0.2", 470 | "isarray": "^1.0.0" 471 | } 472 | }, 473 | "ms": { 474 | "version": "2.0.0", 475 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 476 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", 477 | "dev": true 478 | } 479 | } 480 | }, 481 | "eslint-scope": { 482 | "version": "5.0.0", 483 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz", 484 | "integrity": "sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==", 485 | "dev": true, 486 | "requires": { 487 | "esrecurse": "^4.1.0", 488 | "estraverse": "^4.1.1" 489 | } 490 | }, 491 | "eslint-utils": { 492 | "version": "1.4.2", 493 | "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.2.tgz", 494 | "integrity": "sha512-eAZS2sEUMlIeCjBeubdj45dmBHQwPHWyBcT1VSYB7o9x9WRRqKxyUoiXlRjyAwzN7YEzHJlYg0NmzDRWx6GP4Q==", 495 | "dev": true, 496 | "requires": { 497 | "eslint-visitor-keys": "^1.0.0" 498 | } 499 | }, 500 | "eslint-visitor-keys": { 501 | "version": "1.1.0", 502 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz", 503 | "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==", 504 | "dev": true 505 | }, 506 | "espree": { 507 | "version": "6.1.1", 508 | "resolved": "https://registry.npmjs.org/espree/-/espree-6.1.1.tgz", 509 | "integrity": "sha512-EYbr8XZUhWbYCqQRW0duU5LxzL5bETN6AjKBGy1302qqzPaCH10QbRg3Wvco79Z8x9WbiE8HYB4e75xl6qUYvQ==", 510 | "dev": true, 511 | "requires": { 512 | "acorn": "^7.0.0", 513 | "acorn-jsx": "^5.0.2", 514 | "eslint-visitor-keys": "^1.1.0" 515 | } 516 | }, 517 | "esprima": { 518 | "version": "4.0.1", 519 | "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", 520 | "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", 521 | "dev": true 522 | }, 523 | "esquery": { 524 | "version": "1.0.1", 525 | "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz", 526 | "integrity": "sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==", 527 | "dev": true, 528 | "requires": { 529 | "estraverse": "^4.0.0" 530 | } 531 | }, 532 | "esrecurse": { 533 | "version": "4.2.1", 534 | "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", 535 | "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", 536 | "dev": true, 537 | "requires": { 538 | "estraverse": "^4.1.0" 539 | } 540 | }, 541 | "estraverse": { 542 | "version": "4.3.0", 543 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", 544 | "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", 545 | "dev": true 546 | }, 547 | "esutils": { 548 | "version": "2.0.2", 549 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", 550 | "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", 551 | "dev": true 552 | }, 553 | "external-editor": { 554 | "version": "3.1.0", 555 | "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", 556 | "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", 557 | "dev": true, 558 | "requires": { 559 | "chardet": "^0.7.0", 560 | "iconv-lite": "^0.4.24", 561 | "tmp": "^0.0.33" 562 | } 563 | }, 564 | "fast-deep-equal": { 565 | "version": "2.0.1", 566 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", 567 | "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=", 568 | "dev": true 569 | }, 570 | "fast-json-stable-stringify": { 571 | "version": "2.0.0", 572 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", 573 | "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", 574 | "dev": true 575 | }, 576 | "fast-levenshtein": { 577 | "version": "2.0.6", 578 | "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", 579 | "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", 580 | "dev": true 581 | }, 582 | "figures": { 583 | "version": "2.0.0", 584 | "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", 585 | "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", 586 | "dev": true, 587 | "requires": { 588 | "escape-string-regexp": "^1.0.5" 589 | } 590 | }, 591 | "file-entry-cache": { 592 | "version": "5.0.1", 593 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz", 594 | "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==", 595 | "dev": true, 596 | "requires": { 597 | "flat-cache": "^2.0.1" 598 | } 599 | }, 600 | "find-up": { 601 | "version": "2.1.0", 602 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", 603 | "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", 604 | "dev": true, 605 | "requires": { 606 | "locate-path": "^2.0.0" 607 | } 608 | }, 609 | "flat-cache": { 610 | "version": "2.0.1", 611 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz", 612 | "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==", 613 | "dev": true, 614 | "requires": { 615 | "flatted": "^2.0.0", 616 | "rimraf": "2.6.3", 617 | "write": "1.0.3" 618 | } 619 | }, 620 | "flatted": { 621 | "version": "2.0.1", 622 | "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.1.tgz", 623 | "integrity": "sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg==", 624 | "dev": true 625 | }, 626 | "fs.realpath": { 627 | "version": "1.0.0", 628 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 629 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", 630 | "dev": true 631 | }, 632 | "function-bind": { 633 | "version": "1.1.1", 634 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 635 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", 636 | "dev": true 637 | }, 638 | "functional-red-black-tree": { 639 | "version": "1.0.1", 640 | "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", 641 | "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", 642 | "dev": true 643 | }, 644 | "glob": { 645 | "version": "7.1.4", 646 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz", 647 | "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==", 648 | "dev": true, 649 | "requires": { 650 | "fs.realpath": "^1.0.0", 651 | "inflight": "^1.0.4", 652 | "inherits": "2", 653 | "minimatch": "^3.0.4", 654 | "once": "^1.3.0", 655 | "path-is-absolute": "^1.0.0" 656 | } 657 | }, 658 | "glob-parent": { 659 | "version": "5.0.0", 660 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.0.0.tgz", 661 | "integrity": "sha512-Z2RwiujPRGluePM6j699ktJYxmPpJKCfpGA13jz2hmFZC7gKetzrWvg5KN3+OsIFmydGyZ1AVwERCq1w/ZZwRg==", 662 | "dev": true, 663 | "requires": { 664 | "is-glob": "^4.0.1" 665 | } 666 | }, 667 | "globals": { 668 | "version": "11.12.0", 669 | "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", 670 | "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", 671 | "dev": true 672 | }, 673 | "graceful-fs": { 674 | "version": "4.2.0", 675 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.0.tgz", 676 | "integrity": "sha512-jpSvDPV4Cq/bgtpndIWbI5hmYxhQGHPC4d4cqBPb4DLniCfhJokdXhwhaDuLBGLQdvvRum/UiX6ECVIPvDXqdg==", 677 | "dev": true 678 | }, 679 | "has": { 680 | "version": "1.0.3", 681 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 682 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 683 | "dev": true, 684 | "requires": { 685 | "function-bind": "^1.1.1" 686 | } 687 | }, 688 | "has-flag": { 689 | "version": "3.0.0", 690 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 691 | "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", 692 | "dev": true 693 | }, 694 | "has-symbols": { 695 | "version": "1.0.0", 696 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.0.tgz", 697 | "integrity": "sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=", 698 | "dev": true 699 | }, 700 | "hosted-git-info": { 701 | "version": "2.7.1", 702 | "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz", 703 | "integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==", 704 | "dev": true 705 | }, 706 | "iconv-lite": { 707 | "version": "0.4.24", 708 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 709 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", 710 | "dev": true, 711 | "requires": { 712 | "safer-buffer": ">= 2.1.2 < 3" 713 | } 714 | }, 715 | "ignore": { 716 | "version": "4.0.6", 717 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", 718 | "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", 719 | "dev": true 720 | }, 721 | "import-fresh": { 722 | "version": "3.1.0", 723 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.1.0.tgz", 724 | "integrity": "sha512-PpuksHKGt8rXfWEr9m9EHIpgyyaltBy8+eF6GJM0QCAxMgxCfucMF3mjecK2QsJr0amJW7gTqh5/wht0z2UhEQ==", 725 | "dev": true, 726 | "requires": { 727 | "parent-module": "^1.0.0", 728 | "resolve-from": "^4.0.0" 729 | } 730 | }, 731 | "imurmurhash": { 732 | "version": "0.1.4", 733 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 734 | "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", 735 | "dev": true 736 | }, 737 | "inflight": { 738 | "version": "1.0.6", 739 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 740 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", 741 | "dev": true, 742 | "requires": { 743 | "once": "^1.3.0", 744 | "wrappy": "1" 745 | } 746 | }, 747 | "inherits": { 748 | "version": "2.0.4", 749 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 750 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 751 | "dev": true 752 | }, 753 | "inquirer": { 754 | "version": "6.5.2", 755 | "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.5.2.tgz", 756 | "integrity": "sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ==", 757 | "dev": true, 758 | "requires": { 759 | "ansi-escapes": "^3.2.0", 760 | "chalk": "^2.4.2", 761 | "cli-cursor": "^2.1.0", 762 | "cli-width": "^2.0.0", 763 | "external-editor": "^3.0.3", 764 | "figures": "^2.0.0", 765 | "lodash": "^4.17.12", 766 | "mute-stream": "0.0.7", 767 | "run-async": "^2.2.0", 768 | "rxjs": "^6.4.0", 769 | "string-width": "^2.1.0", 770 | "strip-ansi": "^5.1.0", 771 | "through": "^2.3.6" 772 | }, 773 | "dependencies": { 774 | "lodash": { 775 | "version": "4.17.15", 776 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", 777 | "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", 778 | "dev": true 779 | } 780 | } 781 | }, 782 | "is-arrayish": { 783 | "version": "0.2.1", 784 | "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", 785 | "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", 786 | "dev": true 787 | }, 788 | "is-callable": { 789 | "version": "1.1.4", 790 | "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz", 791 | "integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==", 792 | "dev": true 793 | }, 794 | "is-date-object": { 795 | "version": "1.0.1", 796 | "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz", 797 | "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=", 798 | "dev": true 799 | }, 800 | "is-extglob": { 801 | "version": "2.1.1", 802 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 803 | "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", 804 | "dev": true 805 | }, 806 | "is-fullwidth-code-point": { 807 | "version": "2.0.0", 808 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", 809 | "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", 810 | "dev": true 811 | }, 812 | "is-glob": { 813 | "version": "4.0.1", 814 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", 815 | "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", 816 | "dev": true, 817 | "requires": { 818 | "is-extglob": "^2.1.1" 819 | } 820 | }, 821 | "is-promise": { 822 | "version": "2.1.0", 823 | "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", 824 | "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=", 825 | "dev": true 826 | }, 827 | "is-regex": { 828 | "version": "1.0.4", 829 | "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz", 830 | "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=", 831 | "dev": true, 832 | "requires": { 833 | "has": "^1.0.1" 834 | } 835 | }, 836 | "is-symbol": { 837 | "version": "1.0.2", 838 | "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.2.tgz", 839 | "integrity": "sha512-HS8bZ9ox60yCJLH9snBpIwv9pYUAkcuLhSA1oero1UB5y9aiQpRA8y2ex945AOtCZL1lJDeIk3G5LthswI46Lw==", 840 | "dev": true, 841 | "requires": { 842 | "has-symbols": "^1.0.0" 843 | } 844 | }, 845 | "is-utf8": { 846 | "version": "0.2.1", 847 | "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", 848 | "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=" 849 | }, 850 | "isarray": { 851 | "version": "1.0.0", 852 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 853 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", 854 | "dev": true 855 | }, 856 | "isexe": { 857 | "version": "2.0.0", 858 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 859 | "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", 860 | "dev": true 861 | }, 862 | "jasmine-fix": { 863 | "version": "1.3.1", 864 | "resolved": "https://registry.npmjs.org/jasmine-fix/-/jasmine-fix-1.3.1.tgz", 865 | "integrity": "sha512-jxfPMW5neQUrgEZR7FIXp1UAberYAHkpWTmdSfN/ulU+sC/yUsB827tRiwGUaUyw+1kNC5jqcINst0FF8tvVvg==", 866 | "dev": true 867 | }, 868 | "js-tokens": { 869 | "version": "4.0.0", 870 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", 871 | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", 872 | "dev": true 873 | }, 874 | "js-yaml": { 875 | "version": "3.13.1", 876 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", 877 | "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", 878 | "dev": true, 879 | "requires": { 880 | "argparse": "^1.0.7", 881 | "esprima": "^4.0.0" 882 | } 883 | }, 884 | "json-schema-traverse": { 885 | "version": "0.4.1", 886 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", 887 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", 888 | "dev": true 889 | }, 890 | "json-stable-stringify-without-jsonify": { 891 | "version": "1.0.1", 892 | "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", 893 | "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", 894 | "dev": true 895 | }, 896 | "lazy-req": { 897 | "version": "2.0.0", 898 | "resolved": "https://registry.npmjs.org/lazy-req/-/lazy-req-2.0.0.tgz", 899 | "integrity": "sha1-yUUKNj7N2i5vDHATKtTzf48G8rQ=" 900 | }, 901 | "levn": { 902 | "version": "0.3.0", 903 | "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", 904 | "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", 905 | "dev": true, 906 | "requires": { 907 | "prelude-ls": "~1.1.2", 908 | "type-check": "~0.3.2" 909 | } 910 | }, 911 | "load-json-file": { 912 | "version": "2.0.0", 913 | "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", 914 | "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", 915 | "dev": true, 916 | "requires": { 917 | "graceful-fs": "^4.1.2", 918 | "parse-json": "^2.2.0", 919 | "pify": "^2.0.0", 920 | "strip-bom": "^3.0.0" 921 | } 922 | }, 923 | "locate-path": { 924 | "version": "2.0.0", 925 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", 926 | "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", 927 | "dev": true, 928 | "requires": { 929 | "p-locate": "^2.0.0", 930 | "path-exists": "^3.0.0" 931 | } 932 | }, 933 | "lodash.uniq": { 934 | "version": "4.5.0", 935 | "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", 936 | "integrity": "sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=" 937 | }, 938 | "mimic-fn": { 939 | "version": "1.2.0", 940 | "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", 941 | "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", 942 | "dev": true 943 | }, 944 | "minimatch": { 945 | "version": "3.0.4", 946 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", 947 | "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", 948 | "dev": true, 949 | "requires": { 950 | "brace-expansion": "^1.1.7" 951 | } 952 | }, 953 | "minimist": { 954 | "version": "0.0.8", 955 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", 956 | "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", 957 | "dev": true 958 | }, 959 | "mkdirp": { 960 | "version": "0.5.1", 961 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", 962 | "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", 963 | "dev": true, 964 | "requires": { 965 | "minimist": "0.0.8" 966 | } 967 | }, 968 | "ms": { 969 | "version": "2.1.2", 970 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 971 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 972 | "dev": true 973 | }, 974 | "mute-stream": { 975 | "version": "0.0.7", 976 | "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", 977 | "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", 978 | "dev": true 979 | }, 980 | "named-js-regexp": { 981 | "version": "1.3.4", 982 | "resolved": "https://registry.npmjs.org/named-js-regexp/-/named-js-regexp-1.3.4.tgz", 983 | "integrity": "sha512-wvbB+afegWlmc3/bXd+S1DDLPGcyARWVvYCOntQwBRhKgwSZewk8zolExzyLrXT70xhFkmRYQGigXFaTgtHqjA==" 984 | }, 985 | "natural-compare": { 986 | "version": "1.4.0", 987 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", 988 | "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", 989 | "dev": true 990 | }, 991 | "nice-try": { 992 | "version": "1.0.5", 993 | "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", 994 | "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", 995 | "dev": true 996 | }, 997 | "normalize-package-data": { 998 | "version": "2.5.0", 999 | "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", 1000 | "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", 1001 | "dev": true, 1002 | "requires": { 1003 | "hosted-git-info": "^2.1.4", 1004 | "resolve": "^1.10.0", 1005 | "semver": "2 || 3 || 4 || 5", 1006 | "validate-npm-package-license": "^3.0.1" 1007 | } 1008 | }, 1009 | "object-keys": { 1010 | "version": "1.0.12", 1011 | "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.12.tgz", 1012 | "integrity": "sha512-FTMyFUm2wBcGHnH2eXmz7tC6IwlqQZ6mVZ+6dm6vZ4IQIHjs6FdNsQBuKGPuUUUY6NfJw2PshC08Tn6LzLDOag==", 1013 | "dev": true 1014 | }, 1015 | "object.assign": { 1016 | "version": "4.1.0", 1017 | "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", 1018 | "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", 1019 | "dev": true, 1020 | "requires": { 1021 | "define-properties": "^1.1.2", 1022 | "function-bind": "^1.1.1", 1023 | "has-symbols": "^1.0.0", 1024 | "object-keys": "^1.0.11" 1025 | } 1026 | }, 1027 | "object.entries": { 1028 | "version": "1.1.0", 1029 | "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.0.tgz", 1030 | "integrity": "sha512-l+H6EQ8qzGRxbkHOd5I/aHRhHDKoQXQ8g0BYt4uSweQU1/J6dZUOyWh9a2Vky35YCKjzmgxOzta2hH6kf9HuXA==", 1031 | "dev": true, 1032 | "requires": { 1033 | "define-properties": "^1.1.3", 1034 | "es-abstract": "^1.12.0", 1035 | "function-bind": "^1.1.1", 1036 | "has": "^1.0.3" 1037 | } 1038 | }, 1039 | "object.values": { 1040 | "version": "1.1.0", 1041 | "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.0.tgz", 1042 | "integrity": "sha512-8mf0nKLAoFX6VlNVdhGj31SVYpaNFtUnuoOXWyFEstsWRgU837AK+JYM0iAxwkSzGRbwn8cbFmgbyxj1j4VbXg==", 1043 | "dev": true, 1044 | "requires": { 1045 | "define-properties": "^1.1.3", 1046 | "es-abstract": "^1.12.0", 1047 | "function-bind": "^1.1.1", 1048 | "has": "^1.0.3" 1049 | } 1050 | }, 1051 | "once": { 1052 | "version": "1.4.0", 1053 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1054 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 1055 | "dev": true, 1056 | "requires": { 1057 | "wrappy": "1" 1058 | } 1059 | }, 1060 | "onetime": { 1061 | "version": "2.0.1", 1062 | "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", 1063 | "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", 1064 | "dev": true, 1065 | "requires": { 1066 | "mimic-fn": "^1.0.0" 1067 | } 1068 | }, 1069 | "optionator": { 1070 | "version": "0.8.2", 1071 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz", 1072 | "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=", 1073 | "dev": true, 1074 | "requires": { 1075 | "deep-is": "~0.1.3", 1076 | "fast-levenshtein": "~2.0.4", 1077 | "levn": "~0.3.0", 1078 | "prelude-ls": "~1.1.2", 1079 | "type-check": "~0.3.2", 1080 | "wordwrap": "~1.0.0" 1081 | } 1082 | }, 1083 | "os-tmpdir": { 1084 | "version": "1.0.2", 1085 | "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", 1086 | "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" 1087 | }, 1088 | "p-limit": { 1089 | "version": "1.3.0", 1090 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", 1091 | "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", 1092 | "dev": true, 1093 | "requires": { 1094 | "p-try": "^1.0.0" 1095 | } 1096 | }, 1097 | "p-locate": { 1098 | "version": "2.0.0", 1099 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", 1100 | "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", 1101 | "dev": true, 1102 | "requires": { 1103 | "p-limit": "^1.1.0" 1104 | } 1105 | }, 1106 | "p-try": { 1107 | "version": "1.0.0", 1108 | "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", 1109 | "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", 1110 | "dev": true 1111 | }, 1112 | "parent-module": { 1113 | "version": "1.0.1", 1114 | "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", 1115 | "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", 1116 | "dev": true, 1117 | "requires": { 1118 | "callsites": "^3.0.0" 1119 | } 1120 | }, 1121 | "parse-json": { 1122 | "version": "2.2.0", 1123 | "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", 1124 | "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", 1125 | "dev": true, 1126 | "requires": { 1127 | "error-ex": "^1.2.0" 1128 | } 1129 | }, 1130 | "path-exists": { 1131 | "version": "3.0.0", 1132 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", 1133 | "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", 1134 | "dev": true 1135 | }, 1136 | "path-is-absolute": { 1137 | "version": "1.0.1", 1138 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 1139 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", 1140 | "dev": true 1141 | }, 1142 | "path-key": { 1143 | "version": "2.0.1", 1144 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", 1145 | "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", 1146 | "dev": true 1147 | }, 1148 | "path-parse": { 1149 | "version": "1.0.6", 1150 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", 1151 | "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", 1152 | "dev": true 1153 | }, 1154 | "path-type": { 1155 | "version": "2.0.0", 1156 | "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", 1157 | "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", 1158 | "dev": true, 1159 | "requires": { 1160 | "pify": "^2.0.0" 1161 | } 1162 | }, 1163 | "pify": { 1164 | "version": "2.3.0", 1165 | "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", 1166 | "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", 1167 | "dev": true 1168 | }, 1169 | "pkg-dir": { 1170 | "version": "2.0.0", 1171 | "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", 1172 | "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", 1173 | "dev": true, 1174 | "requires": { 1175 | "find-up": "^2.1.0" 1176 | } 1177 | }, 1178 | "prelude-ls": { 1179 | "version": "1.1.2", 1180 | "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", 1181 | "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", 1182 | "dev": true 1183 | }, 1184 | "progress": { 1185 | "version": "2.0.3", 1186 | "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", 1187 | "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", 1188 | "dev": true 1189 | }, 1190 | "punycode": { 1191 | "version": "2.1.1", 1192 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", 1193 | "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", 1194 | "dev": true 1195 | }, 1196 | "read-pkg": { 1197 | "version": "2.0.0", 1198 | "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", 1199 | "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", 1200 | "dev": true, 1201 | "requires": { 1202 | "load-json-file": "^2.0.0", 1203 | "normalize-package-data": "^2.3.2", 1204 | "path-type": "^2.0.0" 1205 | } 1206 | }, 1207 | "read-pkg-up": { 1208 | "version": "2.0.0", 1209 | "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", 1210 | "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", 1211 | "dev": true, 1212 | "requires": { 1213 | "find-up": "^2.0.0", 1214 | "read-pkg": "^2.0.0" 1215 | } 1216 | }, 1217 | "regexpp": { 1218 | "version": "2.0.1", 1219 | "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz", 1220 | "integrity": "sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==", 1221 | "dev": true 1222 | }, 1223 | "resolve": { 1224 | "version": "1.11.1", 1225 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.11.1.tgz", 1226 | "integrity": "sha512-vIpgF6wfuJOZI7KKKSP+HmiKggadPQAdsp5HiC1mvqnfp0gF1vdwgBWZIdrVft9pgqoMFQN+R7BSWZiBxx+BBw==", 1227 | "dev": true, 1228 | "requires": { 1229 | "path-parse": "^1.0.6" 1230 | } 1231 | }, 1232 | "resolve-from": { 1233 | "version": "4.0.0", 1234 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", 1235 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", 1236 | "dev": true 1237 | }, 1238 | "restore-cursor": { 1239 | "version": "2.0.0", 1240 | "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", 1241 | "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", 1242 | "dev": true, 1243 | "requires": { 1244 | "onetime": "^2.0.0", 1245 | "signal-exit": "^3.0.2" 1246 | } 1247 | }, 1248 | "rimraf": { 1249 | "version": "2.6.3", 1250 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", 1251 | "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", 1252 | "dev": true, 1253 | "requires": { 1254 | "glob": "^7.1.3" 1255 | } 1256 | }, 1257 | "run-async": { 1258 | "version": "2.3.0", 1259 | "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", 1260 | "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", 1261 | "dev": true, 1262 | "requires": { 1263 | "is-promise": "^2.1.0" 1264 | } 1265 | }, 1266 | "rxjs": { 1267 | "version": "6.5.3", 1268 | "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.3.tgz", 1269 | "integrity": "sha512-wuYsAYYFdWTAnAaPoKGNhfpWwKZbJW+HgAJ+mImp+Epl7BG8oNWBCTyRM8gba9k4lk8BgWdoYm21Mo/RYhhbgA==", 1270 | "dev": true, 1271 | "requires": { 1272 | "tslib": "^1.9.0" 1273 | } 1274 | }, 1275 | "safer-buffer": { 1276 | "version": "2.1.2", 1277 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 1278 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", 1279 | "dev": true 1280 | }, 1281 | "sb-exec": { 1282 | "version": "4.0.0", 1283 | "resolved": "https://registry.npmjs.org/sb-exec/-/sb-exec-4.0.0.tgz", 1284 | "integrity": "sha1-RnR/DfFiYmwW6/D+pCJFrRqoWco=", 1285 | "requires": { 1286 | "consistent-env": "^1.2.0", 1287 | "lodash.uniq": "^4.5.0", 1288 | "sb-npm-path": "^2.0.0" 1289 | } 1290 | }, 1291 | "sb-fs": { 1292 | "version": "4.0.0", 1293 | "resolved": "https://registry.npmjs.org/sb-fs/-/sb-fs-4.0.0.tgz", 1294 | "integrity": "sha512-UjjIHC4uahPWvKYqgknvFCCJ11S0oDahz+nsmyTCAmARKto31aoE+Lu7GGGK0nogengJEKGzFdh46ho5+IL88Q==", 1295 | "requires": { 1296 | "strip-bom-buf": "^1.0.0" 1297 | } 1298 | }, 1299 | "sb-memoize": { 1300 | "version": "1.0.2", 1301 | "resolved": "https://registry.npmjs.org/sb-memoize/-/sb-memoize-1.0.2.tgz", 1302 | "integrity": "sha1-EoN1xi3bnMT/qQXQxaWXwZuurY4=" 1303 | }, 1304 | "sb-npm-path": { 1305 | "version": "2.0.0", 1306 | "resolved": "https://registry.npmjs.org/sb-npm-path/-/sb-npm-path-2.0.0.tgz", 1307 | "integrity": "sha1-D2zCzzcd68p9k27Xa31MPMHrPVg=", 1308 | "requires": { 1309 | "sb-memoize": "^1.0.2", 1310 | "sb-promisify": "^2.0.1" 1311 | } 1312 | }, 1313 | "sb-promisify": { 1314 | "version": "2.0.2", 1315 | "resolved": "https://registry.npmjs.org/sb-promisify/-/sb-promisify-2.0.2.tgz", 1316 | "integrity": "sha1-QnelR1RIiqlnXYhuNU24lMm9yYE=" 1317 | }, 1318 | "semver": { 1319 | "version": "5.6.0", 1320 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz", 1321 | "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==", 1322 | "dev": true 1323 | }, 1324 | "shebang-command": { 1325 | "version": "1.2.0", 1326 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", 1327 | "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", 1328 | "dev": true, 1329 | "requires": { 1330 | "shebang-regex": "^1.0.0" 1331 | } 1332 | }, 1333 | "shebang-regex": { 1334 | "version": "1.0.0", 1335 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", 1336 | "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", 1337 | "dev": true 1338 | }, 1339 | "signal-exit": { 1340 | "version": "3.0.2", 1341 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", 1342 | "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", 1343 | "dev": true 1344 | }, 1345 | "slice-ansi": { 1346 | "version": "2.1.0", 1347 | "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz", 1348 | "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==", 1349 | "dev": true, 1350 | "requires": { 1351 | "ansi-styles": "^3.2.0", 1352 | "astral-regex": "^1.0.0", 1353 | "is-fullwidth-code-point": "^2.0.0" 1354 | } 1355 | }, 1356 | "spdx-correct": { 1357 | "version": "3.1.0", 1358 | "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz", 1359 | "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==", 1360 | "dev": true, 1361 | "requires": { 1362 | "spdx-expression-parse": "^3.0.0", 1363 | "spdx-license-ids": "^3.0.0" 1364 | } 1365 | }, 1366 | "spdx-exceptions": { 1367 | "version": "2.2.0", 1368 | "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz", 1369 | "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==", 1370 | "dev": true 1371 | }, 1372 | "spdx-expression-parse": { 1373 | "version": "3.0.0", 1374 | "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", 1375 | "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", 1376 | "dev": true, 1377 | "requires": { 1378 | "spdx-exceptions": "^2.1.0", 1379 | "spdx-license-ids": "^3.0.0" 1380 | } 1381 | }, 1382 | "spdx-license-ids": { 1383 | "version": "3.0.5", 1384 | "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz", 1385 | "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==", 1386 | "dev": true 1387 | }, 1388 | "sprintf-js": { 1389 | "version": "1.0.3", 1390 | "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", 1391 | "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", 1392 | "dev": true 1393 | }, 1394 | "string-width": { 1395 | "version": "2.1.1", 1396 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", 1397 | "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", 1398 | "dev": true, 1399 | "requires": { 1400 | "is-fullwidth-code-point": "^2.0.0", 1401 | "strip-ansi": "^4.0.0" 1402 | }, 1403 | "dependencies": { 1404 | "strip-ansi": { 1405 | "version": "4.0.0", 1406 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", 1407 | "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", 1408 | "dev": true, 1409 | "requires": { 1410 | "ansi-regex": "^3.0.0" 1411 | } 1412 | } 1413 | } 1414 | }, 1415 | "strip-ansi": { 1416 | "version": "5.2.0", 1417 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", 1418 | "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", 1419 | "dev": true, 1420 | "requires": { 1421 | "ansi-regex": "^4.1.0" 1422 | }, 1423 | "dependencies": { 1424 | "ansi-regex": { 1425 | "version": "4.1.0", 1426 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", 1427 | "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", 1428 | "dev": true 1429 | } 1430 | } 1431 | }, 1432 | "strip-bom": { 1433 | "version": "3.0.0", 1434 | "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", 1435 | "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", 1436 | "dev": true 1437 | }, 1438 | "strip-bom-buf": { 1439 | "version": "1.0.0", 1440 | "resolved": "https://registry.npmjs.org/strip-bom-buf/-/strip-bom-buf-1.0.0.tgz", 1441 | "integrity": "sha1-HLRar1dTD0yvhsf3UXnSyaUd1XI=", 1442 | "requires": { 1443 | "is-utf8": "^0.2.1" 1444 | } 1445 | }, 1446 | "strip-json-comments": { 1447 | "version": "3.0.1", 1448 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.0.1.tgz", 1449 | "integrity": "sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw==", 1450 | "dev": true 1451 | }, 1452 | "supports-color": { 1453 | "version": "5.5.0", 1454 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 1455 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 1456 | "dev": true, 1457 | "requires": { 1458 | "has-flag": "^3.0.0" 1459 | } 1460 | }, 1461 | "table": { 1462 | "version": "5.4.6", 1463 | "resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz", 1464 | "integrity": "sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==", 1465 | "dev": true, 1466 | "requires": { 1467 | "ajv": "^6.10.2", 1468 | "lodash": "^4.17.14", 1469 | "slice-ansi": "^2.1.0", 1470 | "string-width": "^3.0.0" 1471 | }, 1472 | "dependencies": { 1473 | "lodash": { 1474 | "version": "4.17.15", 1475 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", 1476 | "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", 1477 | "dev": true 1478 | }, 1479 | "string-width": { 1480 | "version": "3.1.0", 1481 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", 1482 | "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", 1483 | "dev": true, 1484 | "requires": { 1485 | "emoji-regex": "^7.0.1", 1486 | "is-fullwidth-code-point": "^2.0.0", 1487 | "strip-ansi": "^5.1.0" 1488 | } 1489 | } 1490 | } 1491 | }, 1492 | "text-table": { 1493 | "version": "0.2.0", 1494 | "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", 1495 | "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", 1496 | "dev": true 1497 | }, 1498 | "through": { 1499 | "version": "2.3.8", 1500 | "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", 1501 | "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", 1502 | "dev": true 1503 | }, 1504 | "tmp": { 1505 | "version": "0.0.33", 1506 | "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", 1507 | "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", 1508 | "requires": { 1509 | "os-tmpdir": "~1.0.2" 1510 | } 1511 | }, 1512 | "tslib": { 1513 | "version": "1.10.0", 1514 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz", 1515 | "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==", 1516 | "dev": true 1517 | }, 1518 | "type-check": { 1519 | "version": "0.3.2", 1520 | "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", 1521 | "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", 1522 | "dev": true, 1523 | "requires": { 1524 | "prelude-ls": "~1.1.2" 1525 | } 1526 | }, 1527 | "uri-js": { 1528 | "version": "4.2.2", 1529 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", 1530 | "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", 1531 | "dev": true, 1532 | "requires": { 1533 | "punycode": "^2.1.0" 1534 | } 1535 | }, 1536 | "v8-compile-cache": { 1537 | "version": "2.1.0", 1538 | "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz", 1539 | "integrity": "sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g==", 1540 | "dev": true 1541 | }, 1542 | "validate-npm-package-license": { 1543 | "version": "3.0.4", 1544 | "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", 1545 | "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", 1546 | "dev": true, 1547 | "requires": { 1548 | "spdx-correct": "^3.0.0", 1549 | "spdx-expression-parse": "^3.0.0" 1550 | } 1551 | }, 1552 | "which": { 1553 | "version": "1.3.1", 1554 | "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", 1555 | "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", 1556 | "dev": true, 1557 | "requires": { 1558 | "isexe": "^2.0.0" 1559 | } 1560 | }, 1561 | "wordwrap": { 1562 | "version": "1.0.0", 1563 | "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", 1564 | "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", 1565 | "dev": true 1566 | }, 1567 | "wrappy": { 1568 | "version": "1.0.2", 1569 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 1570 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", 1571 | "dev": true 1572 | }, 1573 | "write": { 1574 | "version": "1.0.3", 1575 | "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz", 1576 | "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==", 1577 | "dev": true, 1578 | "requires": { 1579 | "mkdirp": "^0.5.1" 1580 | } 1581 | } 1582 | } 1583 | } 1584 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "linter-pylint", 3 | "main": "./lib/main.js", 4 | "version": "2.1.1", 5 | "private": true, 6 | "description": "Lint python on the fly, using pylint", 7 | "repository": "https://github.com/AtomLinter/linter-pylint", 8 | "license": "MIT", 9 | "scripts": { 10 | "test": "apm test", 11 | "lint": "eslint ." 12 | }, 13 | "engines": { 14 | "atom": ">=1.4.0 <2.0.0" 15 | }, 16 | "configSchema": { 17 | "executablePath": { 18 | "type": "string", 19 | "default": "pylint", 20 | "description": "Command or full path to pylint. Use %p for current project directory (no trailing /) or %h for current project name.", 21 | "order": 1 22 | }, 23 | "pythonPath": { 24 | "type": "string", 25 | "default": "", 26 | "description": "Paths to be added to $PYTHONPATH. Use %p for current project directory or %f for the directory of the current file.", 27 | "order": 1 28 | }, 29 | "rcFile": { 30 | "type": "string", 31 | "default": "", 32 | "description": "Path to pylintrc file. Use %p for the current project directory or %f for the directory of the current file.", 33 | "order": 2 34 | }, 35 | "workingDirectory": { 36 | "type": "string", 37 | "default": "%p", 38 | "description": "Directory pylint is run from. Use %p for the current project directory or %f for the directory of the current file.", 39 | "order": 2 40 | }, 41 | "messageFormat": { 42 | "type": "string", 43 | "default": "%i %m", 44 | "description": "Format for Pylint messages where %m is the message, %i is the numeric message ID (e.g. W0613) and %s is the human-readable message ID (e.g. unused-argument).", 45 | "order": 2 46 | }, 47 | "disableTimeout": { 48 | "title": "Disable Execution Timeout", 49 | "type": "boolean", 50 | "default": false, 51 | "description": "By default processes running longer than 10 seconds will be automatically terminated. Enable this option if you are getting messages about process execution timing out.", 52 | "order": 3 53 | } 54 | }, 55 | "providedServices": { 56 | "linter": { 57 | "versions": { 58 | "2.0.0": "provideLinter" 59 | } 60 | } 61 | }, 62 | "dependencies": { 63 | "atom-linter": "10.0.0", 64 | "atom-package-deps": "5.1.0", 65 | "lazy-req": "2.0.0" 66 | }, 67 | "devDependencies": { 68 | "eslint": "6.4.0", 69 | "eslint-config-airbnb-base": "14.0.0", 70 | "eslint-plugin-import": "2.18.2", 71 | "jasmine-fix": "1.3.1" 72 | }, 73 | "package-deps": [ 74 | "linter:2.0.0" 75 | ], 76 | "renovate": { 77 | "extends": [ 78 | "config:base" 79 | ] 80 | }, 81 | "eslintConfig": { 82 | "extends": "airbnb-base", 83 | "rules": { 84 | "global-require": "off", 85 | "import/no-unresolved": [ 86 | "error", 87 | { 88 | "ignore": [ 89 | "atom" 90 | ] 91 | } 92 | ] 93 | }, 94 | "globals": { 95 | "atom": true 96 | }, 97 | "env": { 98 | "node": true 99 | } 100 | } 101 | } 102 | -------------------------------------------------------------------------------- /spec/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | env: { 3 | atomtest: true, 4 | jasmine: true, 5 | }, 6 | rules: { 7 | "import/no-extraneous-dependencies": [ 8 | "error", 9 | { 10 | "devDependencies": true 11 | } 12 | ] 13 | } 14 | }; 15 | -------------------------------------------------------------------------------- /spec/files/bad.py: -------------------------------------------------------------------------------- 1 | asfd 2 | -------------------------------------------------------------------------------- /spec/files/empty.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-pylint/a1ba186c3f2705ce5cb627236e6fae35102eecca/spec/files/empty.py -------------------------------------------------------------------------------- /spec/files/good.py: -------------------------------------------------------------------------------- 1 | """Simple test file.""" 2 | -------------------------------------------------------------------------------- /spec/linter-pylint-spec.js: -------------------------------------------------------------------------------- 1 | 'use babel'; 2 | 3 | import * as path from 'path'; 4 | import { 5 | // eslint-disable-next-line no-unused-vars 6 | it, fit, wait, beforeEach, afterEach, 7 | } from 'jasmine-fix'; 8 | 9 | const goodPath = path.join(__dirname, 'files', 'good.py'); 10 | const badPath = path.join(__dirname, 'files', 'bad.py'); 11 | const emptyPath = path.join(__dirname, 'files', 'empty.py'); 12 | 13 | const { lint } = require('../lib/main.js').provideLinter(); 14 | 15 | const wikiURLBase = 'http://pylint-messages.wikidot.com/messages:'; 16 | 17 | describe('The pylint provider for Linter', () => { 18 | beforeEach(async () => { 19 | await atom.packages.activatePackage('linter-pylint'); 20 | await atom.packages.activatePackage('language-python'); 21 | }); 22 | 23 | it('should be in the packages list', () => { 24 | expect(atom.packages.isPackageLoaded('linter-pylint')).toBe(true); 25 | }); 26 | 27 | it('should be an active package', () => { 28 | expect(atom.packages.isPackageActive('linter-pylint')).toBe(true); 29 | }); 30 | 31 | it('checks bad.py and reports the correct results', async () => { 32 | const editor = await atom.workspace.open(badPath); 33 | const messages = await lint(editor); 34 | 35 | expect(messages.length).toBe(3); 36 | 37 | expect(messages[0].severity).toBe('info'); 38 | expect(messages[0].excerpt).toBe('C0111 Missing module docstring'); 39 | expect(messages[0].location.file).toBe(badPath); 40 | expect(messages[0].location.position).toEqual([[0, 0], [0, 4]]); 41 | expect(messages[0].url).toBe(`${wikiURLBase}C0111`); 42 | 43 | expect(messages[1].severity).toBe('warning'); 44 | expect(messages[1].excerpt).toBe('W0104 Statement seems to have no effect'); 45 | expect(messages[1].location.file).toBe(badPath); 46 | expect(messages[1].location.position).toEqual([[0, 0], [0, 4]]); 47 | expect(messages[1].url).toBe(`${wikiURLBase}W0104`); 48 | 49 | expect(messages[2].severity).toBe('error'); 50 | expect(messages[2].excerpt).toBe("E0602 Undefined variable 'asfd'"); 51 | expect(messages[2].location.file).toBe(badPath); 52 | expect(messages[2].location.position).toEqual([[0, 0], [0, 4]]); 53 | expect(messages[2].url).toBe(`${wikiURLBase}E0602`); 54 | }); 55 | 56 | it('finds nothing wrong with an empty file', async () => { 57 | const editor = await atom.workspace.open(emptyPath); 58 | const messages = await lint(editor); 59 | expect(messages.length).toBe(0); 60 | }); 61 | 62 | it('finds nothing wrong with a valid file', async () => { 63 | const editor = await atom.workspace.open(goodPath); 64 | const messages = await lint(editor); 65 | expect(messages.length).toBe(0); 66 | }); 67 | }); 68 | --------------------------------------------------------------------------------