[Pkg-javascript-commits] [node-expat] 344/371: Ensure iconv and debug are devDependency - closes #129 Silence expat warnings

Jonas Smedegaard dr at jones.dk
Sun Feb 28 10:00:32 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository node-expat.

commit 5c796d08bf17a81d4819dde44a1b6d157e62c525
Author: Lovell Fuller <github at lovell.info>
Date:   Thu Nov 19 17:33:41 2015 +0000

    Ensure iconv and debug are devDependency - closes #129
    Silence expat warnings
---
 README.md                  | 8 +++++++-
 deps/libexpat/libexpat.gyp | 8 ++++++++
 package.json               | 6 +++---
 3 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index 514f88a..472403e 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,13 @@ npm install node-expat
 
 ## Testing
 
+If not already available globally, you'll need to install the
+[standard](http://standardjs.com/) code style checker.
+
 ```
-npm test
+npm install standard
 ```
 
+```
+npm test
+```
diff --git a/deps/libexpat/libexpat.gyp b/deps/libexpat/libexpat.gyp
index 331c1d0..d74e868 100644
--- a/deps/libexpat/libexpat.gyp
+++ b/deps/libexpat/libexpat.gyp
@@ -55,6 +55,14 @@
         'PIC',
         'HAVE_EXPAT_CONFIG_H'
       ],
+      'cflags': [
+        '-Wno-missing-field-initializers'
+      ],
+      'xcode_settings': {
+        'OTHER_CFLAGS': [
+          '-Wno-missing-field-initializers'
+        ]
+      },
       'include_dirs': [
         '.',
         'lib',
diff --git a/package.json b/package.json
index 9b212a9..5467653 100644
--- a/package.json
+++ b/package.json
@@ -19,11 +19,11 @@
   },
   "dependencies": {
     "bindings": "^1.2.1",
-    "debug": "^2.2.0",
-    "iconv": "^2.1.10",
-    "nan": "^2.0.9"
+    "nan": "^2.1.0"
   },
   "devDependencies": {
+    "debug": "^2.2.0",
+    "iconv": "^2.1.10",
     "vows": "^0.8.1"
   },
   "repository": "github:node-xmpp/node-expat",

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-expat.git



More information about the Pkg-javascript-commits mailing list