Skip to content

Commit efe209d

Browse files
committed
retain compat implies
1 parent 67ca59b commit efe209d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/workerd/io/compatibility-date.capnp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,8 @@ struct CompatibilityFlags @0x8f8c1b68151b6cef {
240240

241241
nodeJsCompat @21 :Bool
242242
$compatEnableFlag("nodejs_compat")
243-
$compatDisableFlag("no_nodejs_compat");
243+
$compatDisableFlag("no_nodejs_compat")
244+
$impliedByAfterDate(name = "enableNodeJsProcessV2", date = "2000-01-01");
244245
# Enables nodejs compat imports in the application.
245246

246247
obsolete22 @22 :Bool
@@ -465,7 +466,7 @@ struct CompatibilityFlags @0x8f8c1b68151b6cef {
465466
nodeJsCompatV2 @50 :Bool
466467
$compatEnableFlag("nodejs_compat_v2")
467468
$compatDisableFlag("no_nodejs_compat_v2")
468-
$impliedByAfterDate(name = "nodeJsCompat", date = "2024-09-23");
469+
$impliedByAfterDate(names = ["nodeJsCompat", "enableNodeJsProcessV2"], date = "2024-09-23");
469470
# Implies nodeJSCompat with the following additional modifications:
470471
# * Node.js Compat built-ins may be imported/required with or without the node: prefix
471472
# * Node.js Compat the globals Buffer and process are available everywhere

0 commit comments

Comments
 (0)