retire 5.1.3 → 5.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/lib/deepscan.js +2 -2
- package/lib/retire.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/lib/deepscan.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.deepScan = deepScan;
|
|
4
4
|
const astronomical_1 = require("astronomical");
|
|
5
|
+
const retire_1 = require("./retire");
|
|
5
6
|
function deepScan(content, repo) {
|
|
6
7
|
const astQueries = {};
|
|
7
8
|
const backMap = {};
|
|
@@ -30,7 +31,6 @@ function deepScan(content, repo) {
|
|
|
30
31
|
return detected.reduce((acc, cur) => {
|
|
31
32
|
if (acc.some((c) => c.component === cur.component && c.version === cur.version))
|
|
32
33
|
return acc;
|
|
33
|
-
acc.
|
|
34
|
-
return acc;
|
|
34
|
+
return acc.concat((0, retire_1.check)(cur.component, cur.version, repo));
|
|
35
35
|
}, []);
|
|
36
36
|
}
|
package/lib/retire.js
CHANGED
package/package.json
CHANGED