Speccy validation fails without making any changes.
➜ sport-api-specifications git:(master) npm install
npm WARN deprecated fsevents@2.1.3: Please update to v 2.2.x
npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated axios@0.19.0: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
> core-js@3.8.1 postinstall /Users/assumednormal/projects/sport-api-specifications/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
> ejs@2.7.4 postinstall /Users/assumednormal/projects/sport-api-specifications/node_modules/ejs
> node ./postinstall.js
Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN redoc@2.0.0-rc.48 requires a peer of mobx@^6.0.4 but none is installed. You must install peer dependencies yourself.
npm WARN redoc@2.0.0-rc.48 requires a peer of react@^16.8.4 but none is installed. You must install peer dependencies yourself.
npm WARN redoc@2.0.0-rc.48 requires a peer of react-dom@^16.8.4 but none is installed. You must install peer dependencies yourself.
npm WARN redoc@2.0.0-rc.48 requires a peer of styled-components@^4.1.1 || ^5.1.1 but none is installed. You must install peer dependencies yourself.
npm WARN @redocly/react-dropdown-aria@2.0.11 requires a peer of react@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @redocly/react-dropdown-aria@2.0.11 requires a peer of react-dom@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @redocly/react-dropdown-aria@2.0.11 requires a peer of styled-components@^5.1.1 but none is installed. You must install peer dependencies yourself.
npm WARN mobx-react@7.0.5 requires a peer of mobx@^6.0.4 but none is installed. You must install peer dependencies yourself.
npm WARN mobx-react@7.0.5 requires a peer of react@^16.8.0 || ^17 but none is installed. You must install peer dependencies yourself.
npm WARN react-tabs@3.1.2 requires a peer of react@^16.3.0 || ^17.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN mobx-react-lite@3.1.6 requires a peer of mobx@^6.0.4 but none is installed. You must install peer dependencies yourself.
npm WARN mobx-react-lite@3.1.6 requires a peer of react@^16.8.0 || ^17 but none is installed. You must install peer dependencies yourself.
npm WARN sport-api-specifications No repository field.
npm WARN sport-api-specifications No license field.
added 351 packages from 322 contributors and audited 351 packages in 13.19s
13 packages are looking for funding
run `npm fund` for details
found 1 low severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
➜ sport-api-specifications git:(master) make validate
./node_modules/.bin/speccy lint nhl/*.yaml
#/ R: openapi-tags-alphabetical D: openapi object should have alphabetical tags
expected Array [
Object { name: 'conferences' },
Object { name: 'divisions' },
Object { name: 'draft' },
Object { name: 'games' },
Object { name: 'players' },
Object { name: 'schedule' },
Object { name: 'standings' },
Object { name: 'stats' },
Object { name: 'teams' }
] to be Array [
Object { name: 'conferences' },
Object { name: 'divisions' },
Object { name: 'draft' },
Object { name: 'games' },
Object { name: 'players' },
Object { name: 'schedule' },
Object { name: 'standings' },
Object { name: 'stats' },
Object { name: 'teams' }
]
make: *** [validate] Error 1
Speccy validation fails without making any changes.