Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

alloy

Package Overview
Dependencies
Maintainers
4
Versions
269
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alloy - npm Package Compare versions

Comparing version 0.1.10 to 0.1.11

9

Alloy/commands/compile.js

@@ -557,3 +557,10 @@ var path = require('path'),

var xml = fs.readFileSync(viewFile);
var doc = new DOMParser().parseFromString('<root>' + String(xml) + '</root>');
var doc = new DOMParser().parseFromString(String(xml));
// Give our document the <Alloy> root element if it doesn't already have one
if (doc.documentElement.nodeName !== 'Alloy') {
var tmpDoc = new DOMParser().parseFromString('<Alloy></Alloy>');
tmpDoc.documentElement.appendChild(doc.documentElement);
doc = tmpDoc;
}
var docRoot = doc.documentElement;

@@ -560,0 +567,0 @@ var id = viewid || doc.documentElement.getAttribute('id') || viewName;

2

package.json

@@ -16,3 +16,3 @@ {

],
"version": "0.1.10",
"version": "0.1.11",
"author": "Appcelerator, Inc. <info@appcelerator.com>",

@@ -19,0 +19,0 @@ "maintainers": [

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc