This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Checks to see if any node js dependencies were impacted by the hack described here: | |
// https://www.aikido.dev/blog/npm-debug-and-chalk-packages-compromised | |
// To use - simply save as check-compromised.js next to your package-lock.json file, then run | |
// node check-compromised.cjs | |
const fs = require("fs"); | |
const path = require("path"); | |
const compromised = { | |
"ansi-styles": "6.2.2", | |
"debug": "4.4.2", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Domain\Doctrine\DBAL\Platforms; | |
use Doctrine\DBAL\Platforms\PostgreSQL100Platform as PostgreSqlPlatformBase; | |
class PostgreSqlPlatform extends PostgreSqlPlatformBase | |
{ |