Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
broccoli-node-api
Advanced tools
broccoli-node-api
TypeScript types for the Broccoli Node Api
type Node = TransformNode | SourceNode;
type InputNode = Node | string;
interface NodeCommon<T extends NodeInfo> {
__broccoliFeatures__: FeatureSet;
__broccoliGetInfo__: (builderFeatures: FeatureSet) => T;
}
interface NodeMap = {
transform: TransformNode;
source: SourceNode;
};
interface TransformNode extends NodeCommon<TransformNodeInfo> {}
interface SourceNode extends NodeCommon<SourceNodeInfo> {}
interface FeatureSet {
[feature: string]: boolean;
}
type NodeInfo = TransformNodeInfo | SourceNodeInfo;
type NodeType = "transform" | "source";
interface NodeInfoMap = {
transform: TransformNodeInfo;
source: SourceNodeInfo;
};
interface NodeInfoCommon<T extends NodeType> {
nodeType: T;
name: string;
annotation: string | null | undefined;
instantiationStack: string;
}
interface TransformNodeInfo extends NodeInfoCommon<"transform"> {
inputNodes: Node[];
setup(
features: FeatureSet,
options: { inputPaths: string[]; outputPath: string; cachePath: string }
): void;
getCallbackObject(): CallbackObject;
persistentOutput: boolean;
needsCache: boolean;
volatile: boolean;
trackInputChanges: boolean;
}
TransformNodeInfo Documentation
interface CallbackObject {
build(buildChangeObject?: BuildChangeObject): Promise<void> | void;
}
interface BuildChangeObject {
changedNodes: boolean[];
}
interface SourceNodeInfo extends NodeInfoCommon<"source"> {
sourceDirectory: string;
watched: boolean;
}
FAQs
Broccoli Plugin API Types
The npm package broccoli-node-api receives a total of 265,353 weekly downloads. As such, broccoli-node-api popularity was classified as popular.
We found that broccoli-node-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.