azure-common
Advanced tools
Comparing version 0.9.24 to 0.9.25
@@ -87,5 +87,3 @@ // | ||
var doc = xmlbuilder.create(); | ||
doc = doc.begin('entry', { version: '1.0', encoding: 'utf-8', standalone: 'yes' }) | ||
var doc = xmlbuilder.create('entry', { version: '1.0', encoding: 'utf-8', standalone: 'yes' }) | ||
.att('xmlns', 'http://www.w3.org/2005/Atom'); | ||
@@ -92,0 +90,0 @@ |
@@ -173,4 +173,4 @@ // | ||
var namespaces = {}; | ||
var generatedDoc = xmlbuilder.create(); | ||
var rootElement = generatedDoc.begin(self._getName(namespaces, element.name, element.namespace), { version: '1.0', encoding: 'utf-8', standalone: 'yes' }); | ||
var generatedDoc = xmlbuilder.create(self._getName(namespaces, element.name, element.namespace), { version: '1.0', encoding: 'utf-8', standalone: 'yes' }); | ||
var rootElement = generatedDoc; | ||
generatedDoc = this._writeElement(rootElement, element, namespaces); | ||
@@ -324,7 +324,6 @@ | ||
var doc = xmlbuilder.create(); | ||
var rootElementName = azureutil.objectFirstKey(entity); | ||
doc = doc.begin(rootElementName, { version: '1.0', encoding: 'utf-8', standalone: 'yes' }); | ||
var doc = xmlbuilder.create(rootElementName, { version: '1.0', encoding: 'utf-8', standalone: 'yes' }); | ||
@@ -331,0 +330,0 @@ if (entity[rootElementName][Constants.XML_METADATA_MARKER]) { |
@@ -19,3 +19,3 @@ // | ||
var XMLBuilder = require('xmlbuilder/lib/XMLBuilder'); | ||
var XMLBuilder = require('xmlbuilder/lib/XMLStringifier'); | ||
@@ -32,2 +32,3 @@ // Patch xmlbuilder to allow Unicode surrogate pair code | ||
} | ||
return str; | ||
}; |
@@ -14,3 +14,3 @@ { | ||
], | ||
"version": "0.9.24", | ||
"version": "0.9.25", | ||
"description": "Microsoft Azure Common Client Library for node", | ||
@@ -37,3 +37,3 @@ "tags": [ | ||
"xml2js": "^0.4.19", | ||
"xmlbuilder": "0.4.3" | ||
"xmlbuilder": "15.1.1" | ||
}, | ||
@@ -40,0 +40,0 @@ "homepage": "http://github.com/Azure/azure-sdk-for-node", |
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
342763
8416
+ Addedxmlbuilder@15.1.1(transitive)
- Removedxmlbuilder@0.4.3(transitive)
Updatedxmlbuilder@15.1.1