Browse Source

Upgrade node to v0.11.4, fixes #669

Cheng Zhao 10 years ago
parent
commit
e316e4a267
4 changed files with 4 additions and 8 deletions
  1. 1 1
      atom/common/lib/init.coffee
  2. 1 5
      common.gypi
  3. 1 1
      package.json
  4. 1 1
      vendor/node

+ 1 - 1
atom/common/lib/init.coffee

@@ -6,7 +6,7 @@ process.atomBinding = (name) ->
   try
     process.binding "atom_#{process.type}_#{name}"
   catch e
-    process.binding "atom_common_#{name}" if e.message is 'No such module'
+    process.binding "atom_common_#{name}" if /No such module/.test e.message
 
 # Add common/api/lib to module search paths.
 globalPaths = Module.globalPaths

+ 1 - 5
common.gypi

@@ -1,7 +1,7 @@
 {
   'variables': {
     'clang': 0,
-    'node_module_version': 14,
+    'openssl_no_asm': 1,
     'conditions': [
       ['OS=="mac" or OS=="linux"', {
         'clang': 1,
@@ -101,10 +101,6 @@
         'include_dirs': [
           'vendor/brightray/vendor/download/libchromiumcontent/src/v8/include',
         ],
-        'defines': [
-          # Override NODE_MODULE_VERSION
-          'NODE_MODULE_VERSION=<(node_module_version)',
-        ],
       }],
       ['_target_name=="libuv"', {
         'conditions': [

+ 1 - 1
package.json

@@ -10,7 +10,7 @@
   ],
 
   "devDependencies": {
-    "atom-package-manager": "0.93.0",
+    "atom-package-manager": "0.98.0",
     "coffee-script": "~1.7.1",
     "coffeelint": "~1.3.0"
   },

+ 1 - 1
vendor/node

@@ -1 +1 @@
-Subproject commit 9a477fc92198e9e7d3ffcc989f51a290d901c767
+Subproject commit a80a10c6a1f2c668d90eda4e2c9aab38e4dcd4a2