handlebars-source 4.0.11 → 4.0.12

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of handlebars-source might be problematic. Click here for more details.

Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/handlebars.js +10 -12
  3. data/handlebars.runtime.js +2 -2
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bfb9ae7c3e35fd8714f6b254600441e1a5c38ce4
4
- data.tar.gz: 0e80337b2e92491f793970aeb281d3b3a52047ae
3
+ metadata.gz: 916c889423466dec7a20795c8400d21d516e8d16
4
+ data.tar.gz: 3dc85822decd7af7c01690b10619376af239c255
5
5
  SHA512:
6
- metadata.gz: 7da4379c79f9caaabdaff7fbed82d5dd34349b180bd8284283109becb8e769ff10ed73261c0e6b5ee7cf812bc6725ef159907a80796b22d60fb3d0418168e54c
7
- data.tar.gz: 2e65f35fedba933d1d08489a4c720e8f6c47ac3efcd08d2f8818e8fd7b7cb144ca85435184fe954ddefd9f7f17e3cac0e77b953aacbee83c7d80d54a53243f3d
6
+ metadata.gz: bfd4d36ae8492f717926f893ea3186149965494117bd614fcbb750bd1b948b121a0af003c68eba4fbe464ea1b008ccf916f1f0626b91e55361bd847f697fbcec
7
+ data.tar.gz: 1c6d5f4124b654a5bb145a0de36368ae60143f6f3f80556c70e0449044764735636508a1df761872d7429787ab683e48d3ebd98f5e5cd153b64c839d2bf269d6
@@ -1,7 +1,7 @@
1
1
  /**!
2
2
 
3
3
  @license
4
- handlebars v4.0.11
4
+ handlebars v4.0.12
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.0.11';
278
+ var VERSION = '4.0.12';
279
279
  exports.VERSION = VERSION;
280
280
  var COMPILER_REVISION = 7;
281
281
 
@@ -1630,7 +1630,7 @@ return /******/ (function(modules) { // webpackBootstrap
1630
1630
  terminals_: { 2: "error", 5: "EOF", 14: "COMMENT", 15: "CONTENT", 18: "END_RAW_BLOCK", 19: "OPEN_RAW_BLOCK", 23: "CLOSE_RAW_BLOCK", 29: "OPEN_BLOCK", 33: "CLOSE", 34: "OPEN_INVERSE", 39: "OPEN_INVERSE_CHAIN", 44: "INVERSE", 47: "OPEN_ENDBLOCK", 48: "OPEN", 51: "OPEN_UNESCAPED", 54: "CLOSE_UNESCAPED", 55: "OPEN_PARTIAL", 60: "OPEN_PARTIAL_BLOCK", 65: "OPEN_SEXPR", 68: "CLOSE_SEXPR", 72: "ID", 73: "EQUALS", 75: "OPEN_BLOCK_PARAMS", 77: "CLOSE_BLOCK_PARAMS", 80: "STRING", 81: "NUMBER", 82: "BOOLEAN", 83: "UNDEFINED", 84: "NULL", 85: "DATA", 87: "SEP" },
1631
1631
  productions_: [0, [3, 2], [4, 1], [7, 1], [7, 1], [7, 1], [7, 1], [7, 1], [7, 1], [7, 1], [13, 1], [10, 3], [16, 5], [9, 4], [9, 4], [24, 6], [27, 6], [38, 6], [43, 2], [45, 3], [45, 1], [26, 3], [8, 5], [8, 5], [11, 5], [12, 3], [59, 5], [63, 1], [63, 1], [64, 5], [69, 1], [71, 3], [74, 3], [20, 1], [20, 1], [20, 1], [20, 1], [20, 1], [20, 1], [20, 1], [56, 1], [56, 1], [79, 2], [78, 1], [86, 3], [86, 1], [6, 0], [6, 2], [17, 1], [17, 2], [21, 0], [21, 2], [22, 0], [22, 1], [25, 0], [25, 1], [28, 0], [28, 1], [30, 0], [30, 2], [31, 0], [31, 1], [32, 0], [32, 1], [35, 0], [35, 2], [36, 0], [36, 1], [37, 0], [37, 1], [40, 0], [40, 2], [41, 0], [41, 1], [42, 0], [42, 1], [46, 0], [46, 1], [49, 0], [49, 2], [50, 0], [50, 1], [52, 0], [52, 2], [53, 0], [53, 1], [57, 0], [57, 2], [58, 0], [58, 1], [61, 0], [61, 2], [62, 0], [62, 1], [66, 0], [66, 2], [67, 0], [67, 1], [70, 1], [70, 2], [76, 1], [76, 2]],
1632
1632
  performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$
1633
- /**/) {
1633
+ /*``*/) {
1634
1634
 
1635
1635
  var $0 = $$.length - 1;
1636
1636
  switch (yystate) {
@@ -2168,7 +2168,7 @@ return /******/ (function(modules) { // webpackBootstrap
2168
2168
  } };
2169
2169
  lexer.options = {};
2170
2170
  lexer.performAction = function anonymous(yy, yy_, $avoiding_name_collisions, YY_START
2171
- /**/) {
2171
+ /*``*/) {
2172
2172
 
2173
2173
  function strip(start, end) {
2174
2174
  return yy_.yytext = yy_.yytext.substr(start, yy_.yyleng - end);
@@ -2786,7 +2786,7 @@ return /******/ (function(modules) { // webpackBootstrap
2786
2786
  }
2787
2787
 
2788
2788
  function stripComment(comment) {
2789
- return comment.replace(/^\{\{~?\!-?-?/, '').replace(/-?-?~?\}\}$/, '');
2789
+ return comment.replace(/^\{\{~?!-?-?/, '').replace(/-?-?~?\}\}$/, '');
2790
2790
  }
2791
2791
 
2792
2792
  function preparePath(data, parts, loc) {
@@ -2794,8 +2794,7 @@ return /******/ (function(modules) { // webpackBootstrap
2794
2794
 
2795
2795
  var original = data ? '@' : '',
2796
2796
  dig = [],
2797
- depth = 0,
2798
- depthString = '';
2797
+ depth = 0;
2799
2798
 
2800
2799
  for (var i = 0, l = parts.length; i < l; i++) {
2801
2800
  var part = parts[i].part,
@@ -2810,7 +2809,6 @@ return /******/ (function(modules) { // webpackBootstrap
2810
2809
  throw new _exception2['default']('Invalid path: ' + original, { loc: loc });
2811
2810
  } else if (part === '..') {
2812
2811
  depth++;
2813
- depthString += '../';
2814
2812
  }
2815
2813
  } else {
2816
2814
  dig.push(part);
@@ -3045,11 +3043,11 @@ return /******/ (function(modules) { // webpackBootstrap
3045
3043
  'lookup': true
3046
3044
  };
3047
3045
  if (knownHelpers) {
3046
+ // the next line should use "Object.keys", but the code has been like this a long time and changing it, might
3047
+ // cause backwards-compatibility issues... It's an old library...
3048
+ // eslint-disable-next-line guard-for-in
3048
3049
  for (var _name in knownHelpers) {
3049
- /* istanbul ignore else */
3050
- if (_name in knownHelpers) {
3051
- this.options.knownHelpers[_name] = knownHelpers[_name];
3052
- }
3050
+ this.options.knownHelpers[_name] = knownHelpers[_name];
3053
3051
  }
3054
3052
  }
3055
3053
 
@@ -1,7 +1,7 @@
1
1
  /**!
2
2
 
3
3
  @license
4
- handlebars v4.0.11
4
+ handlebars v4.0.12
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.0.11';
210
+ var VERSION = '4.0.12';
211
211
  exports.VERSION = VERSION;
212
212
  var COMPILER_REVISION = 7;
213
213
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: handlebars-source
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.11
4
+ version: 4.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yehuda Katz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-17 00:00:00.000000000 Z
11
+ date: 2018-09-04 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Handlebars.js source code wrapper for (pre)compilation gems.
14
14
  email:
@@ -40,7 +40,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
40
40
  version: '0'
41
41
  requirements: []
42
42
  rubyforge_project:
43
- rubygems_version: 2.5.1
43
+ rubygems_version: 2.5.2.1
44
44
  signing_key:
45
45
  specification_version: 4
46
46
  summary: Handlebars.js source code wrapper