acifani / soccer-go Goto Github PK
View Code? Open in Web Editor NEW⚽ Soccer CLI
Home Page: https://www.npmjs.com/package/soccer-go
License: MIT License
⚽ Soccer CLI
Home Page: https://www.npmjs.com/package/soccer-go
License: MIT License
Identical blocks of code found in 2 locations. Consider refactoring.
First, thank you for the nice project.
Well, I have a issue with figlet
dependency:
➜ fguedes@notebook ~/Work/github.com/fernandoguedes/soccer-go git:(master) ✗ node lib/index.js
? Choose a competition 1. Bundesliga
? Choose a function Matchday
(node:22503) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/home/fguedes/Work/github.com/fernandoguedes/soccer-go/node_modules/figlet/lib/../fonts/slant.flf'
at Object.fs.openSync (fs.js:667:18)
at Object.fs.readFileSync (fs.js:572:33)
at Function.figlet.loadFontSync (/home/fguedes/Work/github.com/fernandoguedes/soccer-go/node_modules/figlet/lib/node-figlet.js:38:23)
at Function.me.textSync (/home/fguedes/Work/github.com/fernandoguedes/soccer-go/node_modules/figlet/lib/figlet.js:732:43)
at Object.<anonymous> (/home/fguedes/Work/github.com/fernandoguedes/soccer-go/lib/commands/fixtures.js:17:32)
at Generator.next (<anonymous>)
at /home/fguedes/Work/github.com/fernandoguedes/soccer-go/lib/commands/fixtures.js:7:71
at new Promise (<anonymous>)
at __awaiter (/home/fguedes/Work/github.com/fernandoguedes/soccer-go/lib/commands/fixtures.js:3:12)
at Object.exports.printMatchday (/home/fguedes/Work/github.com/fernandoguedes/soccer-go/lib/commands/fixtures.js:15:41)
(node:22503) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:22503) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I removed the font param from the src/commands/fixtures.ts:9
and src/commands/standings.ts:7
and works nice. I can't found the related issue in figlet
repository.
Similar blocks of code found in 3 locations. Consider refactoring.
https://codeclimate.com/github/acifani/soccer-go/src/commands/team.ts#issue_5aa31950bda9a3000100002d
Identical blocks of code found in 2 locations. Consider refactoring.
https://codeclimate.com/github/acifani/soccer-go/src/commands/team.ts#issue_5aa31950bda9a3000100002a
Add a local caching layer that will store API responses. Ideally we would want different maximum age for each type of call (competition, team, fixutres, etc).
Benefits:
Possible issues:
3.1.0
to 3.2.0
.This version is covered by your current version range and after updating it in your project the build failed.
ora is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
23.1.4
to 23.10.0
.This version is covered by your current version range and after updating it in your project the build failed.
ts-jest is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
ts-jest
, reloaded!ts-jest
Slack community where you can find some instant helpjest
, typescript
and babel
versionsThe new version differs by 293 commits.
0e5ffed
chore(release): 23.10.0
3665609
Merge pull request #734 from huafu/appveyor-optimizations
45d44d1
Merge branch 'master' into appveyor-optimizations
76e2fe5
ci(appveyor): cache npm versions as well
191c464
ci(appveyor): try to improve appveyor's config
0f31b42
Merge pull request #733 from huafu/fix-test-snap
661853a
Merge branch 'master' into fix-test-snap
aa7458a
Merge pull request #731 from kulshekhar/dependabot/npm_and_yarn/tslint-plugin-prettier-2.0.0
70775f1
ci(lint): run lint scripts in series instead of parallel
a18e919
style(fix): exclude package.json from tslint rules
011b580
test(config): stop using snapshots for pkg versions
7e5a3a1
build(deps-dev): bump tslint-plugin-prettier from 1.3.0 to 2.0.0
fbe90a9
Merge pull request #730 from kulshekhar/dependabot/npm_and_yarn/@types/node-10.10.1
a88456e
build(deps-dev): bump @types/node from 10.9.4 to 10.10.1
54fd239
Merge pull request #729 from kulshekhar/dependabot/npm_and_yarn/prettier-1.14.3
There are 250 commits in total.
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
yarn is causing issues on type definition updates, like in #39, and npm ci
is pretty fast these days
3.1.0
to 3.2.0
.This version is covered by your current version range and after updating it in your project the build failed.
@types/ora is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Identical blocks of code found in 2 locations. Consider refactoring.
https://codeclimate.com/github/acifani/soccer-go/src/commands/team.ts#issue_5aa31950bda9a30001000028
Execute the CLI on macOS and maybe linux
prints out env: node\r: No such file or directory
npm i -g soccer-go
soccer-go
There are a couple of unhandled exception here and there right now. Error handling should be streamlined and the user should be presented with clear error messages - what went wrong and why.
24.0.0
to 24.0.1
.This version is covered by your current version range and after updating it in your project the build failed.
ts-jest is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 23 commits.
b43b3c1
chore(release): 24.0.1
2d91a37
chore: update package-lock
485d3f7
build(deps): bump semver from 5.6.0 to 5.7.0 (#1043)
2bd2534
build(deps-dev): bump @types/node from 10.14.3 to 10.14.4 (#1041)
bdba560
build(deps-dev): bump @types/node from 10.14.2 to 10.14.3 (#1038)
08766bf
build(deps-dev): bump @types/node from 10.14.1 to 10.14.2 (#1036)
5f92fd2
build(deps-dev): bump js-yaml from 3.12.2 to 3.13.0 (#1034)
a9c79e9
build(deps-dev): bump @types/yargs from 12.0.9 to 12.0.10 (#1032)
245ab29
build(deps-dev): bump eslint from 5.15.2 to 5.15.3 (#1031)
4e72e59
build(deps-dev): bump eslint from 5.15.1 to 5.15.2 (#1030)
fb7dd55
feat(config): specify package.json location (#823) (#1013)
279edcd
build(deps-dev): bump tslint from 5.13.1 to 5.14.0 (#1028)
8b93228
build(deps-dev): bump @types/node from 10.12.30 to 10.14.1 (#1027)
b825c7f
build(deps-dev): bump @types/lodash.memoize from 4.1.4 to 4.1.6 (#1014)
6f0ab80
build(deps-dev): bump @types/lodash.merge from 4.6.5 to 4.6.6 (#1015)
There are 23 commits in total.
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
as shown in README.md
all commands =
✖ Fetching competition...
✖ Fetching matchday...
undefined
410
Is this a problem with the AUR pkg maintainer, should i flag his pkg out of date or is the problem from upstream?
Regards & thanks for the code :xd
Function get
has 55 lines of code (exceeds 25 allowed). Consider refactoring.
https://codeclimate.com/github/acifani/soccer-go/src/commands/team.ts#issue_5aa3194cbda9a30001000023
11.12.1
to 11.12.2
.This version is covered by your current version range and after updating it in your project the build failed.
@types/node is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Identical blocks of code found in 2 locations. Consider refactoring.
When on an outdated version we should be prompted to run npm i -g soccer-go
When on an outdated version we are prompted to run npm i soccer-go
, missing the -g
flag
11.11.1
to 11.11.2
.This version is covered by your current version range and after updating it in your project the build failed.
@types/node is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.