handlebars-source 4.3.1 → 4.3.2

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 +15 -7
  3. data/handlebars.runtime.js +2 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be3ad6089d8775ec61d10ff68de9864216ee40b236b56a2fe0aed77a4e6741cf
4
- data.tar.gz: 49e914e74b45e26f1d7cf454bab15a8e49eca77f11bcfe0f93c614c22dd1e27a
3
+ metadata.gz: a6e74c54d847b7cdf41f4d696d8333e52d40f1805d2ebb8c13de48cd36b9dcfd
4
+ data.tar.gz: 78068f7348de2f8b3968d29a7aac074fa410e3a52dfe7867bbd80742883795b4
5
5
  SHA512:
6
- metadata.gz: 2909531ab5415970a20be3864489083096ed93d8e5f102beb3f5426caafbb34a0c6a2b659f562fea05cd81a067404e51987f571bdd01e73e7d9e86c4a2a4c29f
7
- data.tar.gz: 6a740332f6fd2431a2088750ac992182397b66e1ad1b79f707ef12b89dcce4b65d0fd06b507cabc0ab19f56740c426133aa44b6e9cc277e014347b3dab0136cf
6
+ metadata.gz: 820d9cf3d8211181b84f26df28e0e5635a5c5f5cc2c0e77e516049e821f295b4dbc869dbae857960544ce8b53eff3d46591be91c78dd94942c0b47516a236665
7
+ data.tar.gz: 19d46c8b9659876353d33bad1247f114ca6e0bd0a67160d7da0d6eb1af7d0e146426cc3daa6fbd1bf11cdcf981213070e69cdcfffe9a5af6472bb555f293cc69
@@ -1,7 +1,7 @@
1
1
  /**!
2
2
 
3
3
  @license
4
- handlebars v4.3.1
4
+ handlebars v4.3.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.3.1';
278
+ var VERSION = '4.3.2';
279
279
  exports.VERSION = VERSION;
280
280
  var COMPILER_REVISION = 8;
281
281
  exports.COMPILER_REVISION = COMPILER_REVISION;
@@ -3807,12 +3807,20 @@ return /******/ (function(modules) { // webpackBootstrap
3807
3807
  // alternative compiled forms for name lookup and buffering semantics
3808
3808
  nameLookup: function nameLookup(parent, name /* , type*/) {
3809
3809
  if (name === 'constructor') {
3810
- return ['(', parent, '.propertyIsEnumerable(\'constructor\') ? ', parent, '.constructor : undefined', ')'];
3810
+ return ['(', _isEnumerable(), '?', _actualLookup(), ' : undefined)'];
3811
3811
  }
3812
- if (JavaScriptCompiler.isValidJavaScriptVariableName(name)) {
3813
- return [parent, '.', name];
3814
- } else {
3815
- return [parent, '[', JSON.stringify(name), ']'];
3812
+ return _actualLookup();
3813
+
3814
+ function _isEnumerable() {
3815
+ return 'Object.prototype.propertyIsEnumerable.call(' + parent + ',\'constructor\')';
3816
+ }
3817
+
3818
+ function _actualLookup() {
3819
+ if (JavaScriptCompiler.isValidJavaScriptVariableName(name)) {
3820
+ return [parent, '.', name];
3821
+ } else {
3822
+ return [parent, '[', JSON.stringify(name), ']'];
3823
+ }
3816
3824
  }
3817
3825
  },
3818
3826
  depthedLookup: function depthedLookup(name) {
@@ -1,7 +1,7 @@
1
1
  /**!
2
2
 
3
3
  @license
4
- handlebars v4.3.1
4
+ handlebars v4.3.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.3.1';
210
+ var VERSION = '4.3.2';
211
211
  exports.VERSION = VERSION;
212
212
  var COMPILER_REVISION = 8;
213
213
  exports.COMPILER_REVISION = COMPILER_REVISION;
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.3.1
4
+ version: 4.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yehuda Katz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-25 00:00:00.000000000 Z
11
+ date: 2019-09-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Handlebars.js source code wrapper for (pre)compilation gems.
14
14
  email: