
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
@genesislcap/foundation-logger
Advanced tools
foundation-logger
provides a logging utility that currently wraps version 2 of consola.
To enable this module in your application, follow the steps below.
@genesislcap/foundation-logger
as a dependency in your package.json
file. Whenever you change the dependencies of your project, ensure you run the $ npm run bootstrap
command again. You can find more information in the package.json basics page.{
...
"dependencies": {
...
"@genesislcap/foundation-logger": "latest"
...
},
...
}
import { createLogger } from '@genesislcap/foundation-logger';
export const logger = createLogger('my-package');
The logger will be set to LogLevel.Debug
by default, however you can pass options as the second parameter to tailor this.
export const logger = createLogger('my-package', { level: LogLevel.Debug, ... });
LoggerOptions
type extends the ConsolaOptions
type.
import { logger } from '../utils';
...
logger.debug('Checks complete');
import { logger as commsLogger } from '@genesislcap/foundation-comms';
import { logger as storeLogger } from '@genesislcap/foundation-store';
import { LogLevel } from '@genesislcap/foundation-logger';
commsLogger.level = LogLevel.Warn;
storeLogger.level = LogLevel.Silent;
Note: this project provides front-end dependencies and uses licensed components listed in the next section; thus, licenses for those components are required during development. Contact Genesis Global for more details.
Genesis low-code platform
FAQs
Genesis Foundation Logger
The npm package @genesislcap/foundation-logger receives a total of 4,546 weekly downloads. As such, @genesislcap/foundation-logger popularity was classified as popular.
We found that @genesislcap/foundation-logger demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.