Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
bunyan-logzio-simple
Advanced tools
Simple Logz.io stream for Bunyan
This project was bootstrapped with @pizzahut-hut/create-typescript-package.
yarn i bunyan-logzio --save
import { createLogger } from 'browser-bunyan';
import LogzIOBunyanStream from 'bunyan-logzio';
const LOGZIO_ACCESS_TOKEN = 'my-logzio-access-token';
const logger = createLogger({
name: 'bunyan-logzio-example',
stream: [
...
{
name: 'logz.io',
stream: new LogzIOBunyanStream({accessToken: LOGZIO_ACCESS_TOKEN}),
level: 'info',
}
...
]
})
logger.info('hello world');
Note:
Depending on the project this is being used on, you can invoke the library two other ways:
import LogzIOBunyanStream from 'bunyan-logzio/legacy';
import LogzIOBunyanStream from 'bunyan-logzio/src';
In the project directory, you can run:
yarn lint
Lints src and test files
yarn test
Launches the test runner, pass --watch
for interactive mode
yarn typecheck
Typecheck src and test files
yarn build
Compiles the package to lib
ready for publish
yarn eject
Note: this is a one-way operation. Once you eject
, you can’t go back!
If you aren’t satisfied with the build tool and configuration choices, you can eject
at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies right into your project so you have full control over them. All of the commands except eject
will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
FAQs
> Simple Logz.io stream for Bunyan
The npm package bunyan-logzio-simple receives a total of 0 weekly downloads. As such, bunyan-logzio-simple popularity was classified as not popular.
We found that bunyan-logzio-simple demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.