{"action":"closed","issue":{"url":"https://api.github.com/repos/libxmljs/libxmljs/issues/404","repository_url":"https://api.github.com/repos/libxmljs/libxmljs","labels_url":"https://api.github.com/repos/libxmljs/libxmljs/issues/404/labels{/name}","comments_url":"https://api.github.com/repos/libxmljs/libxmljs/issues/404/comments","events_url":"https://api.github.com/repos/libxmljs/libxmljs/issues/404/events","html_url":"https://github.com/libxmljs/libxmljs/issues/404","id":152052021,"number":404,"title":"ObjectTemplate::Set() with non-primitive values is deprecated","user":{"login":"bjerh","id":4599084,"avatar_url":"https://avatars.githubusercontent.com/u/4599084?v=3","gravatar_id":"","url":"https://api.github.com/users/bjerh","html_url":"https://github.com/bjerh","followers_url":"https://api.github.com/users/bjerh/followers","following_url":"https://api.github.com/users/bjerh/following{/other_user}","gists_url":"https://api.github.com/users/bjerh/gists{/gist_id}","starred_url":"https://api.github.com/users/bjerh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjerh/subscriptions","organizations_url":"https://api.github.com/users/bjerh/orgs","repos_url":"https://api.github.com/users/bjerh/repos","events_url":"https://api.github.com/users/bjerh/events{/privacy}","received_events_url":"https://api.github.com/users/bjerh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-30T20:50:46Z","updated_at":"2016-05-23T02:20:23Z","closed_at":"2016-05-23T02:20:23Z","body":"I'm having issues with libxmljs.\r\n\r\nSince upgrading to NodeJS 6 I have had a couple of issues. The first was that the module nan wasn't updated to the newest version. Adriancooney fixed this in another issue.\r\n\r\nNow I'm seeing deprecation warnings and stacktraces from top to bottom. Removing my require and functionality that libxmljs makes the warnings and stack traces dissapear...\r\n\r\n\r\nMy stacktrace below.\r\n\r\n(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated\r\n(node) and will stop working in the next major release.\r\n\r\n==== JS stack trace =========================================\r\n\r\nSecurity context: 000001CCA4CC9FC9 <JS Object>#0#\r\n    1: .node [module.js:568] [pc=00000023F0C6FD04] (this=000002C88F010DD1 <an Object with map 000003E2083173A1>#1#,module=000002C88F137EA1 <a Module with map 000003E208317979>#2#,filename=000002C88F137E69 <String[68]: D:\\Hygge\\frontend-cli\\node_modules\\libxmljs\\build\\Release\\xmljs.node>)\r\n    2: load [module.js:456] [pc=00000023F0C3C6F2] (this=000002C88F137EA1 <a Module with map 000003E208317979>#2#,filename=000002C88F137E69 <String[68]: D:\\Hygge\\frontend-cli\\node_modules\\libxmljs\\build\\Release\\xmljs.node>)\r\n    3: tryModuleLoad(aka tryModuleLoad) [module.js:415] [pc=00000023F0C3C21D] (this=000001CCA4C04189 <undefined>,module=000002C88F137EA1 <a Module with map 000003E208317979>#2#,filename=000002C88F137E69 <String[68]: D:\\Hygge\\frontend-cli\\node_modules\\libxmljs\\build\\Release\\xmljs.node>)\r\n    4: _load [module.js:407] [pc=00000023F0C37662] (this=000002C88F010EC1 <JS Function Module (SharedFunctionInfo 0000010567E2A131)>#3#,request=000002C88F136C61 <String[68]: D:\\Hygge\\frontend-cli\\node_modules\\libxmljs\\build\\Release\\xmljs.node>,parent=000002C88F120B91 <a Module with map 000003E208317979>#4#,isMain=000001CCA4C04299 <false>)\r\n    5: require [module.js:466] [pc=00000023F0C46973] (this=000002C88F120B91 <a Module with map 000003E208317979>#4#,path=000002C88F136C61 <String[68]: D:\\Hygge\\frontend-cli\\node_modules\\libxmljs\\build\\Release\\xmljs.node>)\r\n    6: require(aka require) [internal/module.js:20] [pc=00000023F0C466A6] (this=000001CCA4C04189 <undefined>,path=000002C88F136C61 <String[68]: D:\\Hygge\\frontend-cli\\node_modules\\libxmljs\\build\\Release\\xmljs.node>)\r\n    7: bindings [D:\\Hygge\\frontend-cli\\node_modules\\bindings\\bindings.js:76] [pc=00000023F0C6BE56] (this=000001CCA4CE81B9 <JS Global Object>#5#,opts=0000010567EA49C9 <String[5]: xmljs>)\r\n    8: /* anonymous */ [D:\\Hygge\\frontend-cli\\node_modules\\libxmljs\\lib\\bindings.js:1] [pc=00000023F0C6AE4A] (this=000002C88F115C31 <an Object with map 000001886DD07B71>#6#,exports=000002C88F115C31 <an Object with map 000001886DD07B71>#6#,require=000002C88F117321 <JS Function require (SharedFunctionInfo 0000010567E5AD01)>#7#,module=000002C88F115BE1 <a Module with map 000003E208317979>#8#,__filename=000002C88F115BA9 <String[59]: D:\\Hygge\\frontend-cli\\node_modules\\libxmljs\\lib\\bindings.js>,__dirname=000002C88F1172B9 <String[47]: D:\\Hygge\\frontend-cli\\node_modules\\libxmljs\\lib>)\r\n    9: _compile [module.js:541] [pc=00000023F0C44B24] (this=000002C88F115BE1 <a Module with map 000003E208317979>#8#,content=000002C88F116F11 <String[48]\\: module.exports = require('bindings')('xmljs');\\r\\n>,filename=000002C88F115BA9 <String[59]: D:\\Hygge\\frontend-cli\\node_modules\\libxmljs\\lib\\bindings.js>)\r\n   10: .js [module.js:550] [pc=00000023F0C3E78B] (this=000002C88F010DD1 <an Object with map 000003E2083173A1>#1#,module=000002C88F115BE1 <a Module with map 000003E208317979>#8#,filename=000002C88F115BA9 <String[59]: D:\\Hygge\\frontend-cli\\node_modules\\libxmljs\\lib\\bindings.js>)\r\n   11: load [module.js:456] [pc=00000023F0C3C6F2] (this=000002C88F115BE1 <a Module with map 000003E208317979>#8#,filename=000002C88F115BA9 <String[59]: D:\\Hygge\\frontend-cli\\node_modules\\libxmljs\\lib\\bindings.js>)\r\n   12: tryModuleLoad(aka tryModuleLoad) [module.js:415] [pc=00000023F0C3C21D] (this=000001CCA4C04189 <undefined>,module=000002C88F115BE1 <a Module with map 000003E208317979>#8#,filename=000002C88F115BA9 <String[59]: D:\\Hygge\\frontend-cli\\node_modules\\libxmljs\\lib\\bindings.js>)\r\n   13: _load [module.js:407] [pc=00000023F0C37662] (this=000002C88F010EC1 <JS Function Module (SharedFunctionInfo 0000010567E2A131)>#3#,request=0000010567EA2F19 <String[14]: ./lib/bindings>,parent=000002C88F111999 <a Module with map 000003E208317979>#9#,isMain=000001CCA4C04299 <false>)\r\n   14: require [module.js:466] [pc=00000023F0C46973] (this=000002C88F111999 <a Module with map 000003E208317979>#9#,path=0000010567EA2F19 <String[14]: ./lib/bindings>)\r\n   15: require(aka require) [internal/module.js:20] [pc=00000023F0C466A6] (this=000001CCA4C04189 <undefined>,path=0000010567EA2F19 <String[14]: ./lib/bindings>)\r\n   16: /* anonymous */ [D:\\Hygge\\frontend-cli\\node_modules\\libxmljs\\index.js:4] [pc=00000023F0C69AE2] (this=000002C88F1119E9 <an Object with map 000001886DD07B71>#10#,exports=000002C88F1119E9 <an Object with map 000001886DD07B71>#10#,require=000002C88F113911 <JS Function require (SharedFunctionInfo 0000010567E5AD01)>#11#,module=000002C88F111999 <a Module with map 000003E208317979>#9#,__filename=000002C88F111329 <String[52]: D:\\Hygge\\frontend-cli\\node_modules\\libxmljs\\index.js>,__dirname=000002C88F1138A9 <String[43]: D:\\Hygge\\frontend-cli\\node_modules\\libxmljs>)\r\n   17: _compile [module.js:541] [pc=00000023F0C44B24] (this=000002C88F111999 <a Module with map 000003E208317979>#9#,content=000002C88F112909 <Very long string[1577]>#12#,filename=000002C88F111329 <String[52]: D:\\Hygge\\frontend-cli\\node_modules\\libxmljs\\index.js>)\r\n   18: .js [module.js:550] [pc=00000023F0C3E78B] (this=000002C88F010DD1 <an Object with map 000003E2083173A1>#1#,module=000002C88F111999 <a Module with map 000003E208317979>#9#,filename=000002C88F111329 <String[52]: D:\\Hygge\\frontend-cli\\node_modules\\libxmljs\\index.js>)\r\n   19: load [module.js:456] [pc=00000023F0C3C6F2] (this=000002C88F111999 <a Module with map 000003E208317979>#9#,filename=000002C88F111329 <String[52]: D:\\Hygge\\frontend-cli\\node_modules\\libxmljs\\index.js>)\r\n   20: tryModuleLoad(aka tryModuleLoad) [module.js:415] [pc=00000023F0C3C21D] (this=000001CCA4C04189 <undefined>,module=000002C88F111999 <a Module with map 000003E208317979>#9#,filename=000002C88F111329 <String[52]: D:\\Hygge\\frontend-cli\\node_modules\\libxmljs\\index.js>)\r\n   21: _load [module.js:407] [pc=00000023F0C37662] (this=000002C88F010EC1 <JS Function Module (SharedFunctionInfo 0000010567E2A131)>#3#,request=0000010567EA0C61 <String[8]: libxmljs>,parent=000002C88F0FB0C1 <a Module with map 000003E208317979>#13#,isMain=000001CCA4C04299 <false>)\r\n   22: require [module.js:466] [pc=00000023F0C46973] (this=000002C88F0FB0C1 <a Module with map 000003E208317979>#13#,path=0000010567EA0C61 <String[8]: libxmljs>)\r\n   23: require(aka require) [internal/module.js:20] [pc=00000023F0C466A6] (this=000001CCA4C04189 <undefined>,path=0000010567EA0C61 <String[8]: libxmljs>)\r\n   24: /* anonymous */ [D:\\Hygge\\frontend-cli\\assets\\toolkit.js:4] [pc=00000023F0C696CF] (this=000002C88F0FB111 <an Object with map 000001886DD07B71>#14#,exports=000002C88F0FB111 <an Object with map 000001886DD07B71>#14#,require=000002C88F107989 <JS Function require (SharedFunctionInfo 0000010567E5AD01)>#15#,module=000002C88F0FB0C1 <a Module with map 000003E208317979>#13#,__filename=000002C88F0FAE59 <String[39]: D:\\Hygge\\frontend-cli\\assets\\toolkit.js>,__dirname=000002C88F107921 <String[28]: D:\\Hygge\\frontend-cli\\assets>)\r\n   25: _compile [module.js:541] [pc=00000023F0C44B24] (this=000002C88F0FB0C1 <a Module with map 000003E208317979>#13#,content=000002C88F0FBED9 <Very long string[6204]>#16#,filename=000002C88F0FAE59 <String[39]: D:\\Hygge\\frontend-cli\\assets\\toolkit.js>)\r\n   26: .js [module.js:550] [pc=00000023F0C3E78B] (this=000002C88F010DD1 <an Object with map 000003E2083173A1>#1#,module=000002C88F0FB0C1 <a Module with map 000003E208317979>#13#,filename=000002C88F0FAE59 <String[39]: D:\\Hygge\\frontend-cli\\assets\\toolkit.js>)\r\n   27: load [module.js:456] [pc=00000023F0C3C6F2] (this=000002C88F0FB0C1 <a Module with map 000003E208317979>#13#,filename=000002C88F0FAE59 <String[39]: D:\\Hygge\\frontend-cli\\assets\\toolkit.js>)\r\n   28: tryModuleLoad(aka tryModuleLoad) [module.js:415] [pc=00000023F0C3C21D] (this=000001CCA4C04189 <undefined>,module=000002C88F0FB0C1 <a Module with map 000003E208317979>#13#,filename=000002C88F0FAE59 <String[39]: D:\\Hygge\\frontend-cli\\assets\\toolkit.js>)\r\n   29: _load [module.js:407] [pc=00000023F0C37662] (this=000002C88F010EC1 <JS Function Module (SharedFunctionInfo 0000010567E2A131)>#3#,request=0000010567E59731 <String[19]: ./assets/toolkit.js>,parent=000002C88F014E01 <a Module with map 000003E208317979>#17#,isMain=000001CCA4C04299 <false>)\r\n   30: require [module.js:466] [pc=00000023F0C46973] (this=000002C88F014E01 <a Module with map 000003E208317979>#17#,path=0000010567E59731 <String[19]: ./assets/toolkit.js>)\r\n   31: require(aka require) [internal/module.js:20] [pc=00000023F0C466A6] (this=000001CCA4C04189 <undefined>,path=0000010567E59731 <String[19]: ./assets/toolkit.js>)\r\n   32: /* anonymous */ [D:\\Hygge\\frontend-cli\\libG.js:4] [pc=00000023F0C4508B] (this=000002C88F015049 <an Object with map 000001886DD07B71>#18#,exports=000002C88F015049 <an Object with map 000001886DD07B71>#18#,require=000002C88F014E91 <JS Function require (SharedFunctionInfo 0000010567E5AD01)>#19#,module=000002C88F014E01 <a Module with map 000003E208317979>#17#,__filename=000002C88F015011 <String[29]: D:\\Hygge\\frontend-cli\\libG.js>,__dirname=000002C88F014FE9 <String[21]: D:\\Hygge\\frontend-cli>)\r\n   33: _compile [module.js:541] [pc=00000023F0C44B24] (this=000002C88F014E01 <a Module with map 000003E208317979>#17#,content=000002C88F016209 <Very long string[4361]>#20#,filename=000002C88F015011 <String[29]: D:\\Hygge\\frontend-cli\\libG.js>)\r\n   34: .js [module.js:550] [pc=00000023F0C3E78B] (this=000002C88F010DD1 <an Object with map 000003E2083173A1>#1#,module=000002C88F014E01 <a Module with map 000003E208317979>#17#,filename=000002C88F015011 <String[29]: D:\\Hygge\\frontend-cli\\libG.js>)\r\n   35: load [module.js:456] [pc=00000023F0C3C6F2] (this=000002C88F014E01 <a Module with map 000003E208317979>#17#,filename=000002C88F015011 <String[29]: D:\\Hygge\\frontend-cli\\libG.js>)\r\n   36: tryModuleLoad(aka tryModuleLoad) [module.js:415] [pc=00000023F0C3C21D] (this=000001CCA4C04189 <undefined>,module=000002C88F014E01 <a Module with map 000003E208317979>#17#,filename=000002C88F015011 <String[29]: D:\\Hygge\\frontend-cli\\libG.js>)\r\n   37: _load [module.js:407] [pc=00000023F0C37662] (this=000002C88F010EC1 <JS Function Module (SharedFunctionInfo 0000010567E2A131)>#3#,request=000002C88F017391 <String[73]: C:\\Users\\jab\\AppData\\Roaming\\npm\\node_modules\\pentia-frontend-cli\\libG.js>,parent=000001CCA4C04101 <null>,isMain=000001CCA4C04231 <true>)\r\n   38: runMain [module.js:575] [pc=00000023F0C3712A] (this=000002C88F010EC1 <JS Function Module (SharedFunctionInfo 0000010567E2A131)>#3#)\r\n   39: startup(aka startup) [node.js:159] [pc=00000023F0B4359E] (this=000001CCA4C04189 <undefined>)\r\n   40: /* anonymous */(aka /* anonymous */) [node.js:444] [pc=00000023F0B3E992] (this=000001CCA4C04101 <null>,process=000001CCA4CE4379 <a process with map 000001886DD10EE9>#21#)\r\n====================="}}
{"actor":{"display_login":"defunctzombie"}}