Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

broccoli-node-api

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-node-api - npm Package Compare versions

Comparing version 1.6.0 to 1.7.0

14

index.d.ts

@@ -27,2 +27,6 @@ /**

export interface BuildChangeObject {
changedNodes: boolean[];
}
/**

@@ -139,2 +143,8 @@ The Broccoli Node API

volatile: boolean;
/**
If true, a change object will be passed to the build method which contains
information about which input has changed since the last build. Defaults to false.
*/
trackInputChanges: boolean;
}

@@ -196,7 +206,9 @@

The `build` function is responsible for performing the node's main work.
BuildChangeObject is only passed if trackInputChanges is true.
*/
export interface CallbackObject {
build(): Promise<void> | void;
build(buildChangeObject?: BuildChangeObject): Promise<void> | void;
}
export type InputNode = Node | string;

2

package.json
{
"name": "broccoli-node-api",
"version": "1.6.0",
"version": "1.7.0",
"description": "Broccoli Plugin API Types",

@@ -5,0 +5,0 @@ "repository": "github:broccolijs/broccoli-node-api",

@@ -145,2 +145,3 @@ # `broccoli-node-api`

volatile: boolean;
trackInputChanges: boolean;
}

@@ -157,3 +158,3 @@ ```

interface CallbackObject {
build(): Promise<void> | void;
build(buildChangeObject?: BuildChangeObject): Promise<void> | void;
}

@@ -164,2 +165,12 @@ ```

### BuildChangeObject
```ts
interface BuildChangeObject {
changedNodes: boolean[];
}
```
---
### SourceNodeInfo

@@ -166,0 +177,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc