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

ember-fastboot-server

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-fastboot-server - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

4

lib/ember-app.js

@@ -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);

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