Yassin Kammoun 335c2577c8
Modify rule S4328: Clarify what kind of problems could arise (#832)
Co-authored-by: Elena Vilchik <elena.vilchik@sonarsource.com>
2022-02-18 13:26:45 +00:00

21 lines
716 B
Plaintext

Dependencies should be explicitly listed in the ``++package.json++`` file. Importing a module that is not declared as a dependency makes it an implicit one and is bound to create problems. For example, a code might depend on a module that is present in ``++node_modules++`` as a transitive dependency; this dependency could be updated or removed without you noticing that, which could make your code fail.
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::message.adoc[]
include::parameters.adoc[]
include::highlighting.adoc[]
'''
== Comments And Links
(visible only on this page)
include::comments-and-links.adoc[]
endif::env-github,rspecator-view[]