
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@node-ts/logger-winston
Advanced tools
A Winston implementation for logger.
Install the package and its dependenceis
npm i @node-ts/logger-winston @node-ts/logger-core
Load the modules during application startup in inversify:
import { Container } from 'inversify'
import { LoggerModule } from '@node-ts/logger-core'
import { WinstonModule } from '@node-ts/logger-winston'
// ...
const container = new Container()
container.load(new LoggerModule())
container.load(new WinstonModule())
To configure the winston logger instances, provide your own WinstonConfiguration implementation, ie:
@injectable()
export class CustomWinstonConfiguration implements WinstonConfiguration {
getConfiguration (loggerName: string): winston.LoggerOptions {
return {
defaultMeta: { loggerName }
// etc
}
}
}
Then to use it, rebind the WINSTON_SYMBOLS.WinstonConfiguration symbol on your application startup:
import { ContainerModule } from 'inversify'
import { CustomWinstonConfiguration } from './custom-winston-configuration'
import { WINSTON_SYMBOLS } from '@node-ts/logger-winston'
export class ApplicationModule extends ContainerModule {
constructor () {
super((_, __, ___, rebind) => {
rebind(WINSTON_SYMBOLS.WinstonConfiguration).to(CustomWinstonConfiguration)
})
}
}
FAQs
A winston adapter for @node-ts/logger
We found that @node-ts/logger-winston demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.