update dependency - rss to ~1.0

This commit is contained in:
Peter Dave Hello
2014-10-02 19:49:19 +08:00
parent 637c9a24f9
commit 9257be682d
12 changed files with 46 additions and 67 deletions
+1 -5
View File
@@ -31,9 +31,5 @@
"url": "https://github.com/broofa/node-mime/issues"
},
"_id": "mime@1.2.11",
"dist": {
"shasum": "f944b2ee385e0afd62e0b5577562c7ad35190d8d"
},
"_from": "mime@~1.2.11",
"_resolved": "https://registry.npmjs.org/mime/-/mime-1.2.11.tgz"
"_from": "mime@^1.2.11"
}
+1 -2
View File
@@ -1,5 +1,4 @@
language: node_js
node_js:
- 0.8
- 0.10
- 0.11
- 0.11
+1 -1
View File
@@ -140,7 +140,7 @@ function resolve(data, indent, indent_count) {
name = keys[0];
values = data[name];
if (values._elem) {
if (values && values._elem) {
values._elem.name = name;
values._elem.icount = indent_count;
values._elem.indent = indent;
+13 -18
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -188,7 +188,7 @@ especially when tests are included.
(The MIT License)
Copyright (c) 2011-2013 Dylan Greene <dylang@gmail.com>
Copyright (c) 2011-2014 Dylan Greene <dylang@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -207,4 +207,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+2
View File
@@ -19,11 +19,13 @@ describe('xml module', function(done) {
it('works with simple options', function(done) {
expect(xml([ { a: {} }])).to.equal('<a/>');
expect(xml([ { a: null }])).to.equal('<a/>');
expect(xml([ { a: [] }])).to.equal('<a></a>');
expect(xml([ { a: -1 }])).to.equal('<a>-1</a>');
expect(xml([ { a: false }])).to.equal('<a>false</a>');
expect(xml([ { a: 'test' }])).to.equal('<a>test</a>');
expect(xml( { a: {} })).to.equal('<a/>');
expect(xml( { a: null })).to.equal('<a/>');
expect(xml( { a: [] })).to.equal('<a></a>');
expect(xml( { a: -1 })).to.equal('<a>-1</a>');
expect(xml( { a: false })).to.equal('<a>false</a>');