@pnpm/default-reporter 8.5.7 → 8.5.8
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.
|
@@ -28,9 +28,7 @@ const chalk_1 = __importDefault(require("chalk"));
|
|
|
28
28
|
const formatWarn_1 = __importDefault(require("./utils/formatWarn"));
|
|
29
29
|
const zooming_1 = require("./utils/zooming");
|
|
30
30
|
exports.default = (deprecation$, opts) => {
|
|
31
|
-
return deprecation$.pipe(
|
|
32
|
-
// print warnings only about deprecated packages from the root
|
|
33
|
-
(0, operators_1.filter)((log) => log.depth === 0), (0, operators_1.map)((log) => {
|
|
31
|
+
return deprecation$.pipe((0, operators_1.map)((log) => {
|
|
34
32
|
if (!opts.isRecursive && log.prefix === opts.cwd) {
|
|
35
33
|
return Rx.of({
|
|
36
34
|
msg: (0, formatWarn_1.default)(`${chalk_1.default.red('deprecated')} ${log.pkgName}@${log.pkgVersion}: ${log.deprecated}`),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reportDeprecations.js","sourceRoot":"","sources":["../../src/reporterForClient/reportDeprecations.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AACA,yCAA0B;AAC1B,
|
|
1
|
+
{"version":3,"file":"reportDeprecations.js","sourceRoot":"","sources":["../../src/reporterForClient/reportDeprecations.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AACA,yCAA0B;AAC1B,8CAAoC;AACpC,kDAAyB;AACzB,oEAA2C;AAC3C,6CAAyC;AAEzC,kBAAe,CACb,YAA2C,EAC3C,IAGC,EACD,EAAE;IACF,OAAO,YAAY,CAAC,IAAI,CACtB,IAAA,eAAG,EAAC,CAAC,GAAG,EAAE,EAAE;QACV,IAAI,CAAC,IAAI,CAAC,WAAW,IAAI,GAAG,CAAC,MAAM,KAAK,IAAI,CAAC,GAAG,EAAE;YAChD,OAAO,EAAE,CAAC,EAAE,CAAC;gBACX,GAAG,EAAE,IAAA,oBAAU,EAAC,GAAG,eAAK,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,GAAG,CAAC,OAAO,IAAI,GAAG,CAAC,UAAU,KAAK,GAAG,CAAC,UAAU,EAAE,CAAC;aAClG,CAAC,CAAA;SACH;QACD,OAAO,EAAE,CAAC,EAAE,CAAC;YACX,GAAG,EAAE,IAAA,iBAAO,EAAC,IAAI,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,EAAE,IAAA,oBAAU,EAAC,GAAG,eAAK,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,GAAG,CAAC,OAAO,IAAI,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC;SAC9G,CAAC,CAAA;IACJ,CAAC,CAAC,CACH,CAAA;AACH,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/default-reporter",
|
|
3
|
-
"version": "8.5.
|
|
3
|
+
"version": "8.5.8",
|
|
4
4
|
"description": "The default reporter of pnpm",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"strip-ansi": "^6.0.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@pnpm/default-reporter": "8.5.
|
|
47
|
+
"@pnpm/default-reporter": "8.5.8",
|
|
48
48
|
"@pnpm/logger": "^4.0.0",
|
|
49
49
|
"@types/normalize-path": "^3.0.0",
|
|
50
50
|
"@types/ramda": "0.27.39",
|