codemanki / cloudscraper

--DEPRECATED -- πŸ›‘ πŸ›‘ Node.js library to bypass cloudflare's anti-ddos page
MIT License
599 stars 139 forks source link

Update mocha to the latest version πŸš€ #315

Open greenkeeper[bot] opened 4 years ago

greenkeeper[bot] commented 4 years ago

The devDependency mocha was updated from 6.2.2 to 7.0.1.

This version is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Publisher: juergba License: MIT

Release Notes for v7.0.1

7.0.1 / 2020-01-25

πŸ› Fixes

  • #4165: Fix exception when skipping tests programmatically (@juergba)
  • #4153: Restore backwards compatibility for reporterOptions (@holm)
  • #4150: Fix recovery of an open test upon uncaught exception (@juergba)
  • #4147: Fix regression of leaking uncaught exception handler (@juergba)

πŸ“– Documentation

πŸ”© Other

Commits

The new version differs by 61 commits ahead by 61, behind by 17.

  • d0f04e9 Release v7.0.1
  • 2277958 update CHANGELOG for v7.0.1 [ci skip]
  • 0be3f78 Fix exception when skipping tests programmatically (#4165)
  • c0f1d14 uncaughtException: fix recovery when current test is still running (#4150)
  • 9c10ada Fix backwards compability break for reporterOptions
  • a24683f Throw a descriptive error when a non-function is given to a runnable (#4133)
  • 579fd09 update copyright & trademark notices per OJSF; closes #4145
  • 0e1ccbb Fix leaking global 'uncaughtException' handler (#4147)
  • 7d78f20 Broken links in docs (#4140)
  • 69339a3 Release v7.0.0
  • 99e085f update CHANGELOG for v7.0.0 [ci skip]
  • 35cf39b Add reporter alias names to docs (#4127)
  • 3bd2d28 Forbid this.skip() within afterAll hooks (#4136)
  • 24c22be Fix hook pattern of this.skip() in beforeEach hooks (#3741)
  • 1412dc8 XUnit reporter should handle exceptions during diff generation (#4068)

There are 61 commits in total.

See the full diff


FAQ and help There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper bot :palm_tree:

TravisBuddy commented 4 years ago

Travis tests have failed

Hey @greenkeeper[bot], Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

Node.js: 8

View build log

npm test ``` > cloudscraper@4.5.0 test /home/travis/build/codemanki/cloudscraper > npm run lint && npm run test:typescript && nyc --reporter=html --reporter=text mocha > cloudscraper@4.5.0 lint /home/travis/build/codemanki/cloudscraper > eslint --ext .json --ext .js --ext .ts . /home/travis/build/codemanki/cloudscraper/index.d.ts 80:40 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/travis/build/codemanki/cloudscraper/index.test-d.ts 15:26 error Unexpected empty arrow function @typescript-eslint/no-empty-function 75:63 error Unexpected empty arrow function 'onCaptcha' @typescript-eslint/no-empty-function 84:63 error Unexpected empty arrow function 'onCaptcha' @typescript-eslint/no-empty-function βœ– 4 problems (3 errors, 1 warning) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! cloudscraper@4.5.0 lint: `eslint --ext .json --ext .js --ext .ts .` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the cloudscraper@4.5.0 lint script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/travis/.npm/_logs/2020-01-26T08_24_25_519Z-debug.log npm ERR! Test failed. See above for more details. ```
TravisBuddy Request Identifier: 468bcf40-4015-11ea-bff6-b53ae007d2db
greenkeeper[bot] commented 4 years ago

Update to this version instead πŸš€

Release Notes for v7.1.0

7.1.0 / 2020-02-26

πŸŽ‰ Enhancements

#4038: Add Node.js native ESM support (@giltayar)

Mocha supports writing your test files as ES modules:

  • Node.js only v12.11.0 and above
  • Node.js below v13.2.0, you must set --experimental-modules option
  • current limitations: please check our documentation
  • for programmatic usage: see API: loadFilesAsync()

Note: Node.JS native ECMAScript Modules implementation has status: Stability: 1 - Experimental

πŸ› Fixes

πŸ“– Documentation

πŸ”© Other

Commits

The new version differs by 10 commits.

  • 09b948b Release v7.1.0
  • d43092e update CHANGELOG for v7.1.0 [ci skip]
  • 57be455 Add support for Node.JS native ES modules (#4038)
  • a995e33 Fix: programmatic API cannot access retried test objects (#4181)
  • ac12f2c Browser: fix 'allowUncaught' handling (#4174)
  • 2ff1cb2 uncaughtException: refactor, move and add tests
  • b431609 docs: update browser options
  • 883ae4b ESLint: use 'const' instead of 'let'
  • 2a1b637 Upgrade: ESLint v6.8 (#4138)
  • dbba276 Manage author list in AUTHORS instead of package.json (#4058)

See the full diff

greenkeeper[bot] commented 4 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 4 years ago

Update to this version instead πŸš€