The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.
This means you have the following choices:
- Use ESM yourself. (preferred)
Useimport foo from 'foo'instead ofconst foo = require('foo')to import the package. You also need to put"type": "module"in your package.json and more. Follow the below guide. - If the package is used in an async context, you could use
await import(…)from CommonJS instead ofrequire(…). - Stay on the existing version of the package until you can move to ESM.
| const compressGraphqlDocument = graphqlDocument => | |
| graphqlDocument | |
| .replace(/#.*\n/g, '') | |
| .replace(/[\s|,]*\n+[\s|,]*/g, ' ') | |
| .replace(/:\s/g, ':') | |
| .replace(/,\s/g, ',') | |
| .replace(/\)\s\{/g, '){') | |
| .replace(/\}\s/g, '}') | |
| .replace(/\{\s/g, '{') | |
| .replace(/\s\}/g, '}') |
| 0.0.0.0 host.youtube.com | |
| 0.0.0.0 mx.youtube.com | |
| 0.0.0.0 admin.youtube.com | |
| 0.0.0.0 devel.youtube.com | |
| 0.0.0.0 stats.youtube.com | |
| 0.0.0.0 http.youtube.com | |
| 0.0.0.0 mx0.youtube.com | |
| 0.0.0.0 administration.youtube.com | |
| 0.0.0.0 development.youtube.com | |
| 0.0.0.0 svn.youtube.com |
Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.
And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.
If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.
To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.
- Homebrew
- Mountain Lion -> High Sierra