ember-cli 4.12.1 → 4.12.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  runningTests = true;
2
2
 
3
- if (window.Testem) {
3
+ if (typeof Testem !== 'undefined' && (typeof QUnit !== 'undefined' || typeof Mocha !== 'undefined')) {
4
4
  window.Testem.hookIntoTestFramework();
5
5
  }
6
6
 
@@ -47,7 +47,7 @@ module.exports = class GitInitTask extends Task {
47
47
  }
48
48
 
49
49
  async _gitCommit() {
50
- const template = require('lodash.template');
50
+ const template = require('lodash/template');
51
51
  let commitTemplate = fs.readFileSync(path.join(__dirname, '../utilities/COMMIT_MESSAGE.txt'));
52
52
  let commitMessage = template(commitTemplate)(pkg);
53
53
  let env = this.buildGitEnvironment();
@@ -6,5 +6,5 @@ module.exports = function processTemplate(content, context) {
6
6
  interpolate: /<%=([\s\S]+?)%>/g,
7
7
  escape: /<%-([\s\S]+?)%>/g,
8
8
  };
9
- return require('lodash.template')(content, options)(context);
9
+ return require('lodash/template')(content, options)(context);
10
10
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-cli",
3
- "version": "4.12.1",
3
+ "version": "4.12.3",
4
4
  "description": "Command line tool for developing ambitious ember.js apps",
5
5
  "keywords": [
6
6
  "app",
@@ -99,7 +99,7 @@
99
99
  "isbinaryfile": "^5.0.0",
100
100
  "js-yaml": "^4.1.0",
101
101
  "leek": "0.0.24",
102
- "lodash.template": "^4.5.0",
102
+ "lodash": "^4.17.21",
103
103
  "markdown-it": "^13.0.1",
104
104
  "markdown-it-terminal": "^0.4.0",
105
105
  "minimatch": "^7.4.1",