unified-engine
Advanced tools
Comparing version 10.0.0 to 10.0.1
/** | ||
* @template Value | ||
* @template {object & {filePath?: string}} Value | ||
*/ | ||
export class FindUp<Value> { | ||
export class FindUp< | ||
Value extends object & { | ||
filePath?: string | undefined | ||
} | ||
> { | ||
/** | ||
@@ -6,0 +10,0 @@ * @callback Create |
@@ -10,3 +10,3 @@ import fs from 'node:fs' | ||
/** | ||
* @template Value | ||
* @template {object & {filePath?: string}} Value | ||
*/ | ||
@@ -197,5 +197,7 @@ export class FindUp { | ||
) | ||
} else { | ||
} else if (result && result.filePath) { | ||
debug('Read file `%s`', fp) | ||
found(null, result) | ||
} else { | ||
next() | ||
} | ||
@@ -202,0 +204,0 @@ })(buf, fp) |
{ | ||
"name": "unified-engine", | ||
"version": "10.0.0", | ||
"version": "10.0.1", | ||
"description": "Engine to process multiple files with unified", | ||
@@ -35,3 +35,3 @@ "license": "MIT", | ||
"@types/is-empty": "^1.0.0", | ||
"@types/node": "^17.0.0", | ||
"@types/node": "^18.0.0", | ||
"@types/unist": "^2.0.0", | ||
@@ -38,0 +38,0 @@ "concat-stream": "^2.0.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
108069
3013
+ Added@types/node@18.19.64(transitive)
+ Addedcross-spawn@7.0.5(transitive)
+ Addedundici-types@5.26.5(transitive)
- Removed@types/node@17.0.45(transitive)
- Removedcross-spawn@7.0.3(transitive)
Updated@types/node@^18.0.0