Comparing version 1.0.0-rc.4 to 1.0.0-rc.5
@@ -5,2 +5,3 @@ 'use strict'; | ||
var RSVP = require('rsvp'); | ||
var chalk = require('chalk'); | ||
var najax = require('najax'); | ||
@@ -12,2 +13,3 @@ var SimpleDOM = require('simple-dom'); | ||
var Result = require('./result'); | ||
var FastBootSchemaVersions = require('./fastboot-schema-versions'); | ||
/** | ||
@@ -32,4 +34,4 @@ * @private | ||
var config = this.readPackageJSON(distPath); | ||
this.appFilePath = config.appFile; | ||
this.vendorFilePath = config.vendorFile; | ||
this.appFilePaths = config.appFiles; | ||
this.vendorFilePaths = config.vendorFiles; | ||
this.moduleWhitelist = config.moduleWhitelist; | ||
@@ -121,12 +123,18 @@ this.hostWhitelist = config.hostWhitelist; | ||
var sandbox = this.sandbox; | ||
var appFilePath = this.appFilePath; | ||
var vendorFilePath = this.vendorFilePath; | ||
var appFilePaths = this.appFilePaths; | ||
var vendorFilePaths = this.vendorFilePaths; | ||
sandbox.eval('sourceMapSupport.install(Error);'); | ||
var appFile = fs.readFileSync(appFilePath, 'utf8'); | ||
var vendorFile = fs.readFileSync(vendorFilePath, 'utf8'); | ||
debug("evaluating app; app=%s; vendor=%s", appFilePath, vendorFilePath); | ||
sandbox.eval(vendorFile, vendorFilePath); | ||
debug("evaluating app and vendor files"); | ||
vendorFilePaths.forEach(function (vendorFilePath) { | ||
debug("evaluating vendor file %s", vendorFilePath); | ||
var vendorFile = fs.readFileSync(vendorFilePath, 'utf8'); | ||
sandbox.eval(vendorFile, vendorFilePath); | ||
}); | ||
debug("vendor file evaluated"); | ||
sandbox.eval(appFile, appFilePath); | ||
debug("app file evaluated"); | ||
appFilePaths.forEach(function (appFilePath) { | ||
debug("evaluating app file %s", appFilePath); | ||
var appFile = fs.readFileSync(appFilePath, 'utf8'); | ||
sandbox.eval(appFile, appFilePath); | ||
}); | ||
debug("app files evaluated"); | ||
}; | ||
@@ -141,3 +149,2 @@ /** | ||
var sandbox = this.sandbox; | ||
var appFilePath = this.appFilePath; | ||
// Retrieve the application factory from within the sandbox | ||
@@ -149,3 +156,3 @@ var AppFactory = sandbox.run(function (ctx) { | ||
if (!AppFactory || typeof AppFactory['default'] !== 'function') { | ||
throw new Error('Failed to load Ember app from ' + appFilePath + ', make sure it was built for FastBoot with the `ember fastboot:build` command.'); | ||
throw new Error('Failed to load Ember app from app.js, make sure it was built for FastBoot with the `ember fastboot:build` command.'); | ||
} | ||
@@ -306,2 +313,3 @@ // Otherwise, return a new `Ember.Application` instance | ||
var manifest; | ||
var schemaVersion; | ||
var pkg; | ||
@@ -311,2 +319,3 @@ try { | ||
manifest = pkg.fastboot.manifest; | ||
schemaVersion = pkg.fastboot.schemaVersion; | ||
} | ||
@@ -316,5 +325,27 @@ catch (e) { | ||
} | ||
var currentSchemaVersion = FastBootSchemaVersions.latest; | ||
// set schema version to 1 if not defined | ||
schemaVersion = schemaVersion || FastBootSchemaVersions.base; | ||
debug('Current schemaVersion from `ember-cli-fastboot` is %s while latest schema version is %s', (schemaVersion, currentSchemaVersion)); | ||
if (schemaVersion > currentSchemaVersion) { | ||
var errorMsg = chalk.bold.red('An incompatible version between `ember-cli-fastboot` and `fastboot` was found. Please update the version of fastboot library that is compatible with ember-cli-fastboot.'); | ||
throw new Error(errorMsg); | ||
} | ||
if (schemaVersion < FastBootSchemaVersions.manifestFileArrays) { | ||
// transform app and vendor file to array of files | ||
manifest = this.transformManifestFiles(manifest); | ||
} | ||
var appFiles = []; | ||
debug("reading array of app file paths from manifest"); | ||
manifest.appFiles.forEach(function (appFile) { | ||
appFiles.push(path.join(distPath, appFile)); | ||
}); | ||
var vendorFiles = []; | ||
debug("reading array of vendor file paths from manifest"); | ||
manifest.vendorFiles.forEach(function (vendorFile) { | ||
vendorFiles.push(path.join(distPath, vendorFile)); | ||
}); | ||
return { | ||
appFile: path.join(distPath, manifest.appFile), | ||
vendorFile: path.join(distPath, manifest.vendorFile), | ||
appFiles: appFiles, | ||
vendorFiles: vendorFiles, | ||
htmlFile: path.join(distPath, manifest.htmlFile), | ||
@@ -326,2 +357,10 @@ moduleWhitelist: pkg.fastboot.moduleWhitelist, | ||
}; | ||
/** | ||
* Function to transform the manifest app and vendor files to an array. | ||
*/ | ||
EmberApp.prototype.transformManifestFiles = function (manifest) { | ||
manifest.appFiles = [manifest.appFile]; | ||
manifest.vendorFiles = [manifest.vendorFile]; | ||
return manifest; | ||
}; | ||
return EmberApp; | ||
@@ -404,2 +443,2 @@ }()); | ||
module.exports = EmberApp; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1iZXItYXBwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZW1iZXItYXBwLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFlBQVksQ0FBQztBQUViLElBQU0sRUFBRSxHQUFHLE9BQU8sQ0FBQyxJQUFJLENBQUMsQ0FBQztBQUN6QixJQUFNLElBQUksR0FBRyxPQUFPLENBQUMsTUFBTSxDQUFDLENBQUM7QUFDN0IsSUFBTSxJQUFJLEdBQUcsT0FBTyxDQUFDLE1BQU0sQ0FBQyxDQUFDO0FBRTdCLElBQU0sS0FBSyxHQUFHLE9BQU8sQ0FBQyxPQUFPLENBQUMsQ0FBQztBQUMvQixJQUFNLFNBQVMsR0FBRyxPQUFPLENBQUMsWUFBWSxDQUFDLENBQUM7QUFDeEMsSUFBTSxVQUFVLEdBQUcsT0FBTyxDQUFDLGFBQWEsQ0FBQyxDQUFDO0FBQzFDLElBQU0sS0FBSyxHQUFHLE9BQU8sQ0FBQyxPQUFPLENBQUMsQ0FBQyxvQkFBb0IsQ0FBQyxDQUFDO0FBRXJELElBQU0sWUFBWSxHQUFHLE9BQU8sQ0FBQyxpQkFBaUIsQ0FBQyxDQUFDO0FBQ2hELElBQU0sTUFBTSxHQUFHLE9BQU8sQ0FBQyxVQUFVLENBQUMsQ0FBQztBQUVuQzs7Ozs7OztHQU9HO0FBQ0g7SUFDRTs7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FDTCxDQUFDO0FBRUQ7OztHQUdHO0FBQ0gsOEJBQThCLElBQUksRUFBRSxRQUFRO0lBQzFDLElBQUksQ0FBQyxRQUFRLENBQUMsUUFBUSxDQUFDLENBQUM7QUFDMUIsQ0FBQztBQUVELE1BQU0sQ0FBQyxPQUFPLEdBQUcsUUFBUSxDQUFDIn0= |
@@ -8,3 +8,11 @@ "use strict"; | ||
for (var header in headers) { | ||
this.headers[header] = headers[header].split(', '); | ||
var value = headers[header]; | ||
// Express gives us either a string | ||
// or an array of strings if there are multiple values. | ||
// We want to support the Header spec | ||
// so we will coerce to an array always. | ||
if (typeof value === 'string') { | ||
value = [value]; | ||
} | ||
this.headers[header] = value; | ||
} | ||
@@ -66,2 +74,2 @@ } | ||
module.exports = FastBootHeaders; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFzdGJvb3QtaGVhZGVycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImZhc3Rib290LWhlYWRlcnMuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLGtEQUFrRDtBQUNsRCwyREFBMkQ7QUFDM0QseUJBQXlCLE9BQU87SUFDOUIsT0FBTyxHQUFHLE9BQU8sSUFBSSxFQUFFLENBQUM7SUFDeEIsSUFBSSxDQUFDLE9BQU8sR0FBRyxFQUFFLENBQUM7SUFFbEIsR0FBRyxDQUFDLENBQUMsSUFBSSxNQUFNLElBQUksT0FBTyxDQUFDLENBQUMsQ0FBQztRQUMzQixJQUFJLENBQUMsT0FBTyxDQUFDLE1BQU0sQ0FBQyxHQUFHLE9BQU8sQ0FBQyxNQUFNLENBQUMsQ0FBQyxLQUFLLENBQUMsSUFBSSxDQUFDLENBQUM7SUFDckQsQ0FBQztBQUNILENBQUM7QUFFRCxlQUFlLENBQUMsU0FBUyxDQUFDLE1BQU0sR0FBRyxVQUFTLE1BQU0sRUFBRSxLQUFLO0lBQ3ZELE1BQU0s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QUFNLENBQUMsR0FBRyxDQUFDLEtBQUssQ0FBQyxDQUFDO0FBQ2pDLENBQUMsQ0FBQztBQUVGLGVBQWUsQ0FBQyxTQUFTLENBQUMsTUFBTSxHQUFHO0lBQ2pDLElBQUksT0FBTyxHQUFHLEVBQUUsQ0FBQztJQUVqQixHQUFHLENBQUEsQ0FBQyxJQUFJLEdBQUcsSUFBSSxJQUFJLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQztRQUM1QixJQUFJLE1BQU0sR0FBRyxJQUFJLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxDQUFDO1FBQy9CLEdBQUcsQ0FBQSxDQUFDLElBQUksS0FBSyxHQUFHLENBQUMsRUFBRSxLQUFLLEdBQUcsTUFBTSxDQUFDLE1BQU0sRUFBRSxFQUFFLEtBQUssRUFBRyxDQUFDO1lBQ25ELE9BQU8sQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUM7UUFDOUIsQ0FBQztJQUNILENBQUM7SUFFRCxNQUFNLENBQUMsT0FBTyxDQUFDLE1BQU0sQ0FBQyxRQUFRLENBQUMsRUFBRSxDQUFDO0FBQ3BDLENBQUMsQ0FBQztBQUVGLE1BQU0sQ0FBQyxPQUFPLEdBQUcsZUFBZSxDQUFDIn0= |
{ | ||
"name": "fastboot", | ||
"version": "1.0.0-rc.4", | ||
"version": "1.0.0-rc.5", | ||
"description": "Library for rendering Ember apps in node.js", | ||
@@ -43,4 +43,2 @@ "main": "src/index.js", | ||
"devDependencies": { | ||
"babel-core": "^6.10.4", | ||
"babel-preset-es2015": "^6.9.0", | ||
"chai": "^3.5.0", | ||
@@ -47,0 +45,0 @@ "chai-as-promised": "^5.2.0", |
@@ -63,3 +63,2 @@ 'use strict'; | ||
buildSandbox(distPath, sandboxClass, sandboxGlobals) { | ||
let Sandbox = sandboxClass || require('./vm-sandbox'); | ||
let sandboxRequire = this.buildWhitelistedRequire(this.moduleWhitelist, distPath); | ||
@@ -85,3 +84,3 @@ let config = this.appConfig; | ||
return new Sandbox({ | ||
return new sandboxClass({ | ||
globals: globals | ||
@@ -88,0 +87,0 @@ }); |
@@ -0,1 +1,3 @@ | ||
'use strict'; | ||
// Partially implements Headers from the Fetch API | ||
@@ -2,0 +4,0 @@ // https://developer.mozilla.org/en-US/docs/Web/API/Headers |
@@ -0,1 +1,3 @@ | ||
'use strict'; | ||
var RSVP = require('rsvp'); | ||
@@ -19,3 +21,4 @@ var FastBootRequest = require('./fastboot-request'); | ||
this.deferredPromise = RSVP.resolve(); | ||
let { hostWhitelist, metadata } = options; | ||
let hostWhitelist = options.hostWhitelist; | ||
let metadata = options.metadata; | ||
if (request) { | ||
@@ -22,0 +25,0 @@ this.request = new FastBootRequest(request, hostWhitelist); |
@@ -48,3 +48,3 @@ 'use strict'; | ||
this.distPath = options.distPath; | ||
this.sandbox = options.sandbox; | ||
this.sandbox = options.sandbox || require('./vm-sandbox'); | ||
this.sandboxGlobals = options.sandboxGlobals || {}; | ||
@@ -95,3 +95,4 @@ this.resilient = !!options.resilient || false; | ||
this._buildEmberApp(options ? options.distPath : null); | ||
options = options || {}; | ||
this._buildEmberApp(options.distPath || null); | ||
} | ||
@@ -101,2 +102,4 @@ | ||
distPath = distPath || this.distPath; | ||
sandbox = sandbox || this.sandbox; | ||
sandboxGlobals = sandboxGlobals || this.sandboxGlobals; | ||
@@ -103,0 +106,0 @@ if (!distPath) { |
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
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
185755
7
29
1787