From 06b7224ed94ad00d342be416250305a8cb92112b Mon Sep 17 00:00:00 2001 From: Nils Knappmeier Date: Sat, 21 Sep 2019 16:00:43 +0200 Subject: [PATCH] adjust compiler revision --- lib/handlebars/base.js | 5 +++-- spec/expected/empty.amd.js | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/handlebars/base.js b/lib/handlebars/base.js index b0df08e0c..db3f40277 100644 --- a/lib/handlebars/base.js +++ b/lib/handlebars/base.js @@ -5,7 +5,7 @@ import {registerDefaultDecorators} from './decorators'; import logger from './logger'; export const VERSION = '4.2.1'; -export const COMPILER_REVISION = 7; +export const COMPILER_REVISION = 8; export const REVISION_CHANGES = { 1: '<= 1.0.rc.2', // 1.0.rc.2 is actually rev2 but doesn't report it @@ -14,7 +14,8 @@ export const REVISION_CHANGES = { 4: '== 1.x.x', 5: '== 2.0.0-alpha.x', 6: '>= 2.0.0-beta.1', - 7: '>= 4.0.0' + 7: '>= 4.0.0 <4.3.0', + 8: '>= 4.3.0' }; const objectType = '[object Object]'; diff --git a/spec/expected/empty.amd.js b/spec/expected/empty.amd.js index 1cf1eabc9..9728609ef 100644 --- a/spec/expected/empty.amd.js +++ b/spec/expected/empty.amd.js @@ -1,6 +1,6 @@ define(['handlebars.runtime'], function(Handlebars) { Handlebars = Handlebars["default"]; var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {}; -return templates['empty'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { +return templates['empty'] = template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) { return ""; },"useData":true}); });