Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "fastboot", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Library for rendering Ember apps in node.js", | ||
@@ -8,3 +8,4 @@ "main": "src/index.js", | ||
"changelog": "lerna-changelog", | ||
"test": "mocha", | ||
"lint:js": "node_modules/.bin/eslint src test", | ||
"test": "npm run-script lint:js && mocha", | ||
"preversion": "npm test", | ||
@@ -18,3 +19,3 @@ "postversion": "git push origin master --tags" | ||
"engines": { | ||
"node": ">= 6.0.0" | ||
"node": "^6.14.0 || ^8.10.0 || >=9.10.0" | ||
}, | ||
@@ -45,6 +46,9 @@ "keywords": [ | ||
"ember-source": "3.2.0", | ||
"eslint": "^5.10.0", | ||
"eslint-plugin-chai-expect": "^2.0.1", | ||
"eslint-plugin-mocha": "^5.2.0", | ||
"eslint-plugin-node": "^8.0.0", | ||
"express": "^4.15.4", | ||
"lerna-changelog": "^0.8.2", | ||
"mocha": "^5.2.0", | ||
"mocha-jshint": "^2.3.1", | ||
"rimraf": "^2.6.2", | ||
@@ -51,0 +55,0 @@ "temp": "^0.8.3" |
@@ -174,3 +174,3 @@ 'use strict'; | ||
this._head = head; | ||
// Adding script boundary around the body | ||
@@ -190,3 +190,3 @@ this._body = `<script type="x/boundary" id="fastboot-body-start"></script>${body}<script type="x/boundary" id="fastboot-body-end"></script>`; | ||
html = html.replace(/<\!-- EMBER_CLI_FASTBOOT_(HEAD|BODY) -->/g, function(match, tag) { | ||
html = html.replace(/<!-- EMBER_CLI_FASTBOOT_(HEAD|BODY) -->/g, function(match, tag) { | ||
if (tag === 'HEAD' && head && !isHeadReplaced) { | ||
@@ -193,0 +193,0 @@ isHeadReplaced = true; |
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
50427
18
1038
12