DEP0019: require('.') 在目录外解析


类型: 生命结束

在某些情况下,require('.') 可以在包目录之外解析。 此行为已被删除。

Type: End-of-Life

In certain cases, require('.') could resolve outside the package directory. This behavior has been removed.