puppeteer/utils
Andrey Lushnikov 0b94fa70eb
chore: stop using console.assert everywhere (#2646)
Since Node 10, `console.assert` no longer throws an AssertionError.
(This is generally good since it aligns Node.js with Browsers.)

This patch migrates all usages of `console.assert` in our codebase.
- All the `lib/` and testing code is migrated onto a handmade `assert`
function. This is to make Puppeteer transpilation / bundling easier.
- All the tooling is switched to use Node's `assert` module.

Fixes #2547.
2018-05-31 16:53:51 -07:00
..
doclint chore: stop using console.assert everywhere (#2646) 2018-05-31 16:53:51 -07:00
node6-transform fix(node6): fix one line await arrow functions #2198 2018-03-15 14:54:23 -07:00
protocol-types-generator chore(types): generate protocol.d.ts on install (#2625) 2018-05-29 15:23:32 -07:00
testrunner chore: stop using console.assert everywhere (#2646) 2018-05-31 16:53:51 -07:00
apply_next_version.js chore: use unique version for puppeteer@next (#1688) 2017-12-28 17:19:13 -08:00
check_availability.js chore: stop using console.assert everywhere (#2646) 2018-05-31 16:53:51 -07:00
ESTreeWalker.js Fix node6 support for Object.entries and URL object (#548) 2017-08-25 15:13:59 -07:00
fetch_devices.js Change let into const (#457) 2017-08-21 16:39:04 -07:00