mirror of
https://github.com/wahyd4/cdnjs.git
synced 2026-08-22 03:06:20 +10:00
update dependency - rss to ~1.0
This commit is contained in:
+1
-5
@@ -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
@@ -1,5 +1,4 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- 0.8
|
||||
- 0.10
|
||||
- 0.11
|
||||
- 0.11
|
||||
|
||||
+1
-1
@@ -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
File diff suppressed because one or more lines are too long
+2
-2
@@ -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
@@ -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>');
|
||||
|
||||
Reference in New Issue
Block a user