From d1a7ecfefc23e361ad4fda94aec8eb55f2245fe4 Mon Sep 17 00:00:00 2001 From: Yanis Benson Date: Thu, 25 Jul 2019 12:05:56 +0300 Subject: [PATCH] frozen source files --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index ce2e5ac..278d0c4 100644 --- a/index.js +++ b/index.js @@ -11,6 +11,7 @@ class SourceFile { constructor(path, resolvedPath) { this.path = path; this.resolvedPath = resolvedPath; + Object.freeze(this); } get name() {