broccoli-plugin
Advanced tools
Comparing version 4.0.4 to 4.0.5
@@ -0,13 +1,27 @@ | ||
## v4.0.5 (2021-03-11) | ||
#### :house: Internal | ||
* [#61](https://github.com/broccolijs/broccoli-plugin/pull/61) Update devDependencies to latest ([@rwjblue](https://github.com/rwjblue)) | ||
* [#60](https://github.com/broccolijs/broccoli-plugin/pull/60) Update linting configuration and dependencies ([@rwjblue](https://github.com/rwjblue)) | ||
* [#59](https://github.com/broccolijs/broccoli-plugin/pull/59) Update dependencies to latest ([@rwjblue](https://github.com/rwjblue)) | ||
* [#58](https://github.com/broccolijs/broccoli-plugin/pull/58) Remove Travis CI and AppVeyor CI ([@rwjblue](https://github.com/rwjblue)) | ||
#### Committers: 1 | ||
- Robert Jackson ([@rwjblue](https://github.com/rwjblue)) | ||
## v4.0.4 (2021-03-11) | ||
#### :bug: Bug Fix | ||
* [#55](https://github.com/broccolijs/broccoli-plugin/pull/55) Avoid forcing eager calculation of error stacks ([@rwjblue](https://github.com/rwjblue)) | ||
- [#55](https://github.com/broccolijs/broccoli-plugin/pull/55) Avoid forcing eager calculation of error stacks ([@rwjblue](https://github.com/rwjblue)) | ||
#### :house: Internal | ||
* [#56](https://github.com/broccolijs/broccoli-plugin/pull/56) Add release automation setup ([@rwjblue](https://github.com/rwjblue)) | ||
- [#56](https://github.com/broccolijs/broccoli-plugin/pull/56) Add release automation setup ([@rwjblue](https://github.com/rwjblue)) | ||
#### Committers: 1 | ||
- Robert Jackson ([@rwjblue](https://github.com/rwjblue)) | ||
# Changelog | ||
@@ -14,0 +28,0 @@ |
@@ -72,5 +72,5 @@ import { InputNode, TransformNode, TransformNodeInfo, FeatureSet, CallbackObject } from 'broccoli-node-api'; | ||
read(readTree: MapSeriesIterator<InputNode>): Promise<string> | undefined; | ||
cleanup(): void; | ||
cleanup(): Promise<void>; | ||
private _initializeReadCompat; | ||
} | ||
export = Plugin; |
@@ -146,8 +146,11 @@ "use strict"; | ||
if (!builderFeatures.needsCacheFlag) { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
delete nodeInfo.needsCache; | ||
} | ||
if (!builderFeatures.volatileFlag) { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
delete nodeInfo.volatile; | ||
} | ||
if (!builderFeatures.trackInputChangesFlag) { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
delete nodeInfo.trackInputChanges; | ||
@@ -226,3 +229,3 @@ } | ||
} | ||
cleanup() { | ||
async cleanup() { | ||
if (this._readCompat) | ||
@@ -229,0 +232,0 @@ return this._readCompat.cleanup(); |
@@ -60,3 +60,3 @@ "use strict"; | ||
return mapSeries(this.pluginInterface.inputNodes, readTree) | ||
.then(outputPaths => { | ||
.then((outputPaths) => { | ||
const priorBuildInputNodeOutputPaths = this._priorBuildInputNodeOutputPaths; | ||
@@ -63,0 +63,0 @@ // In old .read-based Broccoli, the inputNodes's outputPaths can change |
{ | ||
"name": "broccoli-plugin", | ||
"version": "4.0.4", | ||
"version": "4.0.5", | ||
"description": "Base class for all Broccoli plugins", | ||
@@ -22,4 +22,3 @@ "keywords": [ | ||
"clean": "rm -rf dist", | ||
"lint": "eslint *.js test/**/*.js src/**/*.ts", | ||
"prepare": "yarn build", | ||
"lint": "eslint .", | ||
"pretest": "multidep test/multidep.json", | ||
@@ -29,41 +28,34 @@ "test": "yarn build && mocha", | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "pretty-quick --staged" | ||
} | ||
}, | ||
"dependencies": { | ||
"broccoli-node-api": "^1.6.0", | ||
"broccoli-output-wrapper": "^3.2.1", | ||
"broccoli-node-api": "^1.7.0", | ||
"broccoli-output-wrapper": "^3.2.5", | ||
"fs-merger": "^3.1.0", | ||
"promise-map-series": "^0.2.1", | ||
"quick-temp": "^0.1.3", | ||
"rimraf": "^3.0.0", | ||
"symlink-or-copy": "^1.3.0" | ||
"promise-map-series": "^0.3.0", | ||
"quick-temp": "^0.1.8", | ||
"rimraf": "^3.0.2", | ||
"symlink-or-copy": "^1.3.1" | ||
}, | ||
"devDependencies": { | ||
"@types/chai": "^4.2.6", | ||
"@types/mocha": "^5.2.7", | ||
"@types/node": "^12.12.16", | ||
"@types/rimraf": "^2.0.3", | ||
"@types/chai": "^4.2.15", | ||
"@types/mocha": "^8.2.1", | ||
"@types/node": "^14.14.33", | ||
"@types/rimraf": "^3.0.0", | ||
"@types/symlink-or-copy": "^1.2.0", | ||
"@typescript-eslint/eslint-plugin": "^2.11.0", | ||
"@typescript-eslint/parser": "^2.11.0", | ||
"@typescript-eslint/eslint-plugin": "^4.17.0", | ||
"@typescript-eslint/parser": "^4.17.0", | ||
"broccoli-fixturify": "^0.3.0", | ||
"chai": "^4.2.0", | ||
"chai": "^4.3.3", | ||
"chai-as-promised": "^7.1.1", | ||
"eslint": "^6.7.2", | ||
"eslint-config-prettier": "^6.7.0", | ||
"eslint-plugin-mocha": "^6.2.2", | ||
"eslint-plugin-node": "^10.0.0", | ||
"eslint-plugin-prettier": "^3.1.1", | ||
"fixturify": "^1.2.0", | ||
"husky": "^3.1.0", | ||
"mocha": "^6.2.2", | ||
"multidep": "^2.0.0", | ||
"prettier": "^1.19.1", | ||
"pretty-quick": "^2.0.1", | ||
"release-it": "^14.2.1", | ||
"eslint": "^7.21.0", | ||
"eslint-config-prettier": "^8.1.0", | ||
"eslint-plugin-mocha": "^8.1.0", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-prettier": "^3.3.1", | ||
"fixturify": "^2.1.0", | ||
"mocha": "^8.3.1", | ||
"multidep": "^2.0.2", | ||
"prettier": "^2.2.1", | ||
"release-it": "^14.4.1", | ||
"release-it-lerna-changelog": "^3.1.0", | ||
"typescript": "^3.7.3" | ||
"typescript": "^4.2.3" | ||
}, | ||
@@ -70,0 +62,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
43289
22
454
+ Addedpromise-map-series@0.3.0(transitive)
- Removedpromise-map-series@0.2.3(transitive)
Updatedbroccoli-node-api@^1.7.0
Updatedpromise-map-series@^0.3.0
Updatedquick-temp@^0.1.8
Updatedrimraf@^3.0.2
Updatedsymlink-or-copy@^1.3.1