ember-fastboot-server
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -122,3 +122,3 @@ var fs = require('fs'); | ||
if (doc.head) { | ||
head = HTMLSerializer.serialize(doc.head); | ||
head = HTMLSerializer.serializeChildren(doc.head); | ||
} | ||
@@ -131,3 +131,3 @@ | ||
head: head, | ||
body: HTMLSerializer.serialize(rootElement) // This matches the current code; but we probably want `serializeChildren` here | ||
body: HTMLSerializer.serializeChildren(rootElement) | ||
}; | ||
@@ -134,0 +134,0 @@ } finally { |
{ | ||
"name": "ember-fastboot-server", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"description": "Production server for running Ember applications using FastBoot", | ||
@@ -36,3 +36,3 @@ "main": "./lib/server", | ||
"rsvp": "^3.0.16", | ||
"simple-dom": "^0.2.7", | ||
"simple-dom": "^0.3.0", | ||
"source-map-support": "^0.4.0" | ||
@@ -39,0 +39,0 @@ }, |
@@ -35,2 +35,19 @@ var expect = require('chai').expect; | ||
it("has 1 body tag", function() { | ||
this.timeout(3000); | ||
var server = new Server('basic-app'); | ||
return expect(server.start()).to.be.fulfilled | ||
.then(function() { | ||
return request('http://localhost:3000'); | ||
}) | ||
.then(function(html) { | ||
expect(html.match(/<body>/g)).have.length(1); | ||
}) | ||
.finally(function() { | ||
server.stop(); | ||
}); | ||
}); | ||
it("serves assets if the --serve-assets-from option is provided", function() { | ||
@@ -37,0 +54,0 @@ this.timeout(3000); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
5976382
71449
+ Addedsimple-dom@0.3.2(transitive)
- Removedsimple-dom@0.2.7(transitive)
Updatedsimple-dom@^0.3.0