
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@gorb/shared
Advanced tools
Vinyl and other building blocks for Gorb and Gulp plugins.
https://github.com/gulpjs/vinyl
Removed stream support from original.
import { Vinyl, VinylOptions } from '@gorb/shared';
new Vinyl({
cwd: '/',
base: '/src/',
path: '/src/test.txt',
contents: Buffer.from('test')
});
https://github.com/gulpjs/plugin-error
In TypeScript project, the return type of new PluginError(...) is not as flexible as the original. This is due to we didn't use TypeScript namespace.
The type definitions for the options is not PluginError.Options anymore. Use PluginErrorOptions.
import { PluginError, PluginErrorOptions } from '@gorb/shared';
new PluginError("plugin-name", "something broke");
new PluginError("plugin-name", { message: "something broke" });
new PluginError({ plugin: "test", message: "something broke" });
new PluginError("plugin-name", new Error("something broke"), {showStack: true});
https://github.com/gulpjs/fancy-log
Removed checking colour support. Assumes user terminal supports ansi colour.
import { log } from '@gorb/shared';
log("message");
log.info("message");
log.warn("message");
log.error("message");
log.dir(obj);
FAQs
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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.