handlebars_assets 0.23.3 → 0.23.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5f0e24132ea05eed00f271a8ffbe4201c47c6f0a
4
- data.tar.gz: d2180a10845ab377652c296aebf21a0914e371eb
3
+ metadata.gz: 275133dd046896ad9905ebe998590182b3e9e58a
4
+ data.tar.gz: 213f51bc1bd6b2724f564d6616f6f88d5e9b1b38
5
5
  SHA512:
6
- metadata.gz: 811080741a3b052b98b57fbdcc72e7efe063dc322beee60fa0c9ad0f007f84ffa97acf782a58ee00f415b0c335b425b4cdcd6ab8fb57179980785797c2a70b80
7
- data.tar.gz: 8773583524d69d17cd3719ee1f84e3dad200e6b129b65f7461487d0bbb0e4a979054947a7dfa7557cc08ff9b7fc47cf407ba5b565391c10cedbe358a6aae0be6
6
+ metadata.gz: be2793014a2734c371acc33b5388c866e0d88994f3968fdab9ddbd79d1f7028212d8ff28402a5204e3d5efb03035633393246ff8ff9c020d881c76f59e7a6cba
7
+ data.tar.gz: 3a436c81df47ad50c9f31d52e3ad9b347068ff2bf5ce2d5121cda099116ce95c5b0b28947f9a3cb4f5249836e8d309cf22a7ff9fbc1917ed7af4003885f80a99
@@ -1,3 +1,3 @@
1
1
  module HandlebarsAssets
2
- VERSION = "0.23.3"
2
+ VERSION = "0.23.4"
3
3
  end
@@ -1,7 +1,7 @@
1
1
  /**!
2
2
 
3
3
  @license
4
- handlebars v4.1.0
4
+ handlebars v4.1.2
5
5
 
6
6
  Copyright (C) 2011-2017 by Yehuda Katz
7
7
 
@@ -275,7 +275,7 @@ return /******/ (function(modules) { // webpackBootstrap
275
275
 
276
276
  var _logger2 = _interopRequireDefault(_logger);
277
277
 
278
- var VERSION = '4.1.0';
278
+ var VERSION = '4.1.2';
279
279
  exports.VERSION = VERSION;
280
280
  var COMPILER_REVISION = 7;
281
281
 
@@ -868,7 +868,13 @@ return /******/ (function(modules) { // webpackBootstrap
868
868
 
869
869
  exports['default'] = function (instance) {
870
870
  instance.registerHelper('lookup', function (obj, field) {
871
- return obj && obj[field];
871
+ if (!obj) {
872
+ return obj;
873
+ }
874
+ if (field === 'constructor' && !obj.propertyIsEnumerable(field)) {
875
+ return undefined;
876
+ }
877
+ return obj[field];
872
878
  });
873
879
  };
874
880
 
@@ -2169,7 +2175,7 @@ return /******/ (function(modules) { // webpackBootstrap
2169
2175
  lexer.performAction = function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
2170
2176
 
2171
2177
  function strip(start, end) {
2172
- return yy_.yytext = yy_.yytext.substr(start, yy_.yyleng - end);
2178
+ return yy_.yytext = yy_.yytext.substring(start, yy_.yyleng - end + start);
2173
2179
  }
2174
2180
 
2175
2181
  var YYSTATE = YY_START;
@@ -2206,7 +2212,7 @@ return /******/ (function(modules) { // webpackBootstrap
2206
2212
  if (this.conditionStack[this.conditionStack.length - 1] === 'raw') {
2207
2213
  return 15;
2208
2214
  } else {
2209
- yy_.yytext = yy_.yytext.substr(5, yy_.yyleng - 9);
2215
+ strip(5, 9);
2210
2216
  return 'END_RAW_BLOCK';
2211
2217
  }
2212
2218
 
@@ -2770,7 +2776,7 @@ return /******/ (function(modules) { // webpackBootstrap
2770
2776
 
2771
2777
  function id(token) {
2772
2778
  if (/^\[.*\]$/.test(token)) {
2773
- return token.substr(1, token.length - 2);
2779
+ return token.substring(1, token.length - 1);
2774
2780
  } else {
2775
2781
  return token;
2776
2782
  }
@@ -4836,4 +4842,4 @@ return /******/ (function(modules) { // webpackBootstrap
4836
4842
  /***/ })
4837
4843
  /******/ ])
4838
4844
  });
4839
- ;
4845
+ ;
@@ -1,7 +1,7 @@
1
1
  /**!
2
2
 
3
3
  @license
4
- handlebars v4.1.0
4
+ handlebars v4.1.2
5
5
 
6
6
  Copyright (C) 2011-2017 by Yehuda Katz
7
7
 
@@ -207,7 +207,7 @@ return /******/ (function(modules) { // webpackBootstrap
207
207
 
208
208
  var _logger2 = _interopRequireDefault(_logger);
209
209
 
210
- var VERSION = '4.1.0';
210
+ var VERSION = '4.1.2';
211
211
  exports.VERSION = VERSION;
212
212
  var COMPILER_REVISION = 7;
213
213
 
@@ -800,7 +800,13 @@ return /******/ (function(modules) { // webpackBootstrap
800
800
 
801
801
  exports['default'] = function (instance) {
802
802
  instance.registerHelper('lookup', function (obj, field) {
803
- return obj && obj[field];
803
+ if (!obj) {
804
+ return obj;
805
+ }
806
+ if (field === 'constructor' && !obj.propertyIsEnumerable(field)) {
807
+ return undefined;
808
+ }
809
+ return obj[field];
804
810
  });
805
811
  };
806
812
 
@@ -1465,4 +1471,4 @@ return /******/ (function(modules) { // webpackBootstrap
1465
1471
  /***/ })
1466
1472
  /******/ ])
1467
1473
  });
1468
- ;
1474
+ ;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: handlebars_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.3
4
+ version: 0.23.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Hill
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-20 00:00:00.000000000 Z
11
+ date: 2019-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: execjs