Comparing version 1.0.0-beta.4 to 1.0.0-beta.5
# FastBoot Changelog | ||
### 1.0.0-beta.3 | ||
### 1.0.0-beta.5 | ||
* Only access instance.getURL if the instance has booted | ||
* Exclude test files from npm package | ||
### 1.0.0-beta.4 | ||
* najax dependency updated to 0.7.0, which now handle nested query | ||
@@ -5,0 +11,0 @@ params |
@@ -193,3 +193,3 @@ 'use strict'; | ||
* @param {string} [options.html] the HTML document to insert the rendered app into | ||
* @param {ClientRequest} | ||
* @param {ClientRequest} | ||
* @returns {Promise<Result>} result | ||
@@ -222,2 +222,3 @@ */ | ||
}) | ||
.then(() => result.instanceBooted = true) | ||
.then(() => instance.visit(path, bootOptions)) | ||
@@ -224,0 +225,0 @@ .then(() => waitForApp(instance)) |
@@ -13,2 +13,3 @@ 'use strict'; | ||
constructor(options) { | ||
this.instanceBooted = false; | ||
this._doc = options.doc; | ||
@@ -75,3 +76,5 @@ this._html = options.html; | ||
_finalizeMetadata(instance) { | ||
this.url = instance.getURL(); | ||
if (this.instanceBooted) { | ||
this.url = instance.getURL(); | ||
} | ||
@@ -78,0 +81,0 @@ let response = this._fastbootInfo.response; |
{ | ||
"name": "fastboot", | ||
"version": "1.0.0-beta.4", | ||
"version": "1.0.0-beta.5", | ||
"description": "Library for rendering Ember apps in node.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
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
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
6
31782
15
687
1