[Pkg-javascript-commits] [node-jsonstream] 186/214: minor fix
    Bastien Roucariès 
    rouca at moszumanska.debian.org
       
    Fri Dec  1 12:58:58 UTC 2017
    
    
  
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-jsonstream.
commit d6df0b64faae60fdb114ff30b3498fb8bae3129e
Author: Pavlo Boiko <pavlo.boiko at avid.com>
Date:   Wed May 18 16:12:44 2016 +0300
    minor fix
---
 index.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/index.js b/index.js
index 59b6740..1ed71a4 100755
--- a/index.js
+++ b/index.js
@@ -74,7 +74,7 @@ exports.parse = function (path, map) {
           if (!c) return
           if (check(nextKey, c.key)) {
             i++;
-            if (this.stack[j])
+            if (!Object.isFrozen(this.stack[j]))
               this.stack[j].value = null
             break
           }
@@ -95,7 +95,7 @@ exports.parse = function (path, map) {
       }
     delete this.value[this.key]
     for(var k in this.stack)
-      if (this.stack[k])
+      if (!Object.isFrozen(this.stack[k]))
         this.stack[k].value = null
   }
   parser._onToken = parser.onToken;
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-jsonstream.git
    
    
More information about the Pkg-javascript-commits
mailing list