You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Detected deprecated use of @app-config/encryption parsing extension. Please install @app-config/encryption and add it to your meta file "parsingExtensions".',
@@ -16,16 +16,6 @@ export default function v1Compat(): ParsingExtension {
16
16
17
17
if(key==='app-config'&&isObject(value)){
18
18
returnasync(parse,_,ctx)=>{
19
-
if(ctxinstanceofFileSource){
20
-
logger.warn(
21
-
`Using V1 compatibility layer for special 'app-config' property in ${ctx.filePath}! This functionality is deprecated and may be removed in the future.`,
22
-
);
23
-
}else{
24
-
logger.warn(
25
-
`Using V1 compatibility layer for special 'app-config' property! This functionality is deprecated and may be removed in the future.`,
@@ -56,13 +46,25 @@ export default function v1Compat(): ParsingExtension {
56
46
// TODO: multiple properties defined
57
47
58
48
if('extends'invalue){
49
+
if(shouldShowDeprecationNotice){
50
+
logger.warn(
51
+
'Detected deprecated use of @app-config/v1-compat parsing extension. Please install @app-config/v1-compat and add it to your meta file "parsingExtensions".',
'Detected deprecated use of @app-config/v1-compat parsing extension. Please install @app-config/v1-compat and add it to your meta file "parsingExtensions".',
65
+
);
66
+
}
67
+
66
68
returnparse(
67
69
{
68
70
$extends: {
@@ -75,13 +77,25 @@ export default function v1Compat(): ParsingExtension {
75
77
}
76
78
77
79
if('override'invalue){
80
+
if(shouldShowDeprecationNotice){
81
+
logger.warn(
82
+
'Detected deprecated use of @app-config/v1-compat parsing extension. Please install @app-config/v1-compat and add it to your meta file "parsingExtensions".',
'Detected deprecated use of @app-config/v1-compat parsing extension. Please install @app-config/v1-compat and add it to your meta file "parsingExtensions".',
0 commit comments