@pisell/common 0.0.23 → 0.0.24
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/es/script/utils/index.js
CHANGED
|
@@ -327,7 +327,9 @@ var checkPkgVersion = /*#__PURE__*/function () {
|
|
|
327
327
|
while (1) switch (_context6.prev = _context6.next) {
|
|
328
328
|
case 0:
|
|
329
329
|
_context6.next = 2;
|
|
330
|
-
return npmCheck(
|
|
330
|
+
return npmCheck({
|
|
331
|
+
skipUnused: true
|
|
332
|
+
});
|
|
331
333
|
case 2:
|
|
332
334
|
currentState = _context6.sent;
|
|
333
335
|
pkgs = currentState.get('packages');
|
|
@@ -235,7 +235,7 @@ var sendWebhook = async ({ title, content }) => {
|
|
|
235
235
|
return await response.json();
|
|
236
236
|
};
|
|
237
237
|
var checkPkgVersion = async (checkPackages) => {
|
|
238
|
-
const currentState = await (0, import_npm_check.default)();
|
|
238
|
+
const currentState = await (0, import_npm_check.default)({ skipUnused: true });
|
|
239
239
|
const pkgs = currentState.get("packages");
|
|
240
240
|
const wrongPkg = pkgs.filter((item) => {
|
|
241
241
|
return checkPackages.includes(item.moduleName) && item.mismatch;
|