
Research
PyPI Package Impersonates SymPy to Deliver Cryptomining Malware
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.
@map-colonies/js-logger
Advanced tools
Javascript and typescript logger for MapColonies based on pino
JavaScript and TypeScript logger for MapColonies based on pino.
Check the autogenerated documentation here.
import { jsLogger } from '@map-colonies/js-logger';
const logger = jsLogger();
logger.info('hello world');
logger.error({hello: 'world'});
One of the features of the logger is the ability to parse error objects and format them accordingly.
To allow the logger to identify the error, add it to the log object under the err key.
try {
// complex code
} catch (error) {
logger.error({msg: "oh noes", err: error});
}
For more detailed usage check the pino documentation.
| name | type | default value | description |
|---|---|---|---|
| enabled | boolean | true | determines if logging is enabled |
| level | string | 'info' | specifies the logging level |
| redact | array | undefined | defines paths to redact from log output |
| hooks | object | undefined | hooks for customizing log behavior |
| base | object | {pid: process.pid, hostname: os.hostname} | base properties to include in log output |
| mixin | function | undefined | function to add custom properties to log output |
| prettyPrint | boolean | false | enables pretty-printing of log output |
| pinoCaller | boolean | false | includes the caller's file and line number in log output |
js-logger can emit logs in OpenTelemetry format for integration with OpenTelemetry-compatible observability tools.
FAQs
Javascript and typescript logger for MapColonies based on pino
The npm package @map-colonies/js-logger receives a total of 573 weekly downloads. As such, @map-colonies/js-logger popularity was classified as not popular.
We found that @map-colonies/js-logger demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 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
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.

Product
Create and share saved alert views with custom tabs on the org alerts page, making it easier for teams to return to consistent, named filter sets.

Product
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.