Socket
Socket
Sign inDemoInstall

broccoli-persistent-filter

Package Overview
Dependencies
59
Maintainers
4
Versions
59
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.2 to 2.2.3

8

CHANGELOG.md
# master
# 2.2.3
* skip applyPatches phase, if no patches exist
# 2.2.2
* Bump hash-for-dep fixing https://github.com/emberjs/ember.js/issues/17678 (#161)
# 2.2.0

@@ -4,0 +12,0 @@

12

index.js

@@ -129,7 +129,8 @@ 'use strict';

this.currentTree = new FSTree();
let instrumentation = heimdall.start('reset');
rimraf.sync(this.outputPath);
mkdirp.sync(this.outputPath);
instrumentation.stop();
}
this._needsReset = true;

@@ -164,5 +165,12 @@ let srcDir = this.inputPaths[0];

if (patches.length === 0) {
// no work, exit early
return Promise.resolve();
} else {
// do actual work, that may fail
this._needsReset = true;
}
// used with options.async = true to allow 'create' and 'change' operations to complete async
const pendingWork = [];
return heimdall.node('applyPatches', ApplyPatchesSchema, instrumentation => {

@@ -169,0 +177,0 @@ let prevTime = process.hrtime();

4

package.json
{
"name": "broccoli-persistent-filter",
"version": "2.2.2",
"version": "2.2.3",
"description": "broccoli filter but with a persistent cache",

@@ -38,3 +38,3 @@ "author": "Stefan Penner <stefan.penner@gmail.com>",

"broccoli-plugin": "^1.0.0",
"fs-tree-diff": "^1.0.2",
"fs-tree-diff": "^2.0.0",
"hash-for-dep": "^1.5.0",

@@ -41,0 +41,0 @@ "heimdalljs": "^0.2.1",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc