handlebars-source 4.3.3 → 4.3.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e635d718d0a872eb459ed1c51819af0a8aba725a427ebc1665d5b30fe6111292
4
- data.tar.gz: a208e30f87854b238b61a26372d850058f9233013602ea5e5292e7c005b1b007
3
+ metadata.gz: f38208d7f09feefb8001c279e125a094d8ac4c03242e5b3c64c1b7ba3a4471a4
4
+ data.tar.gz: b0dce6a0d70586df17f903bd6730592965f2203aa19c3af9725c64a0c7325067
5
5
  SHA512:
6
- metadata.gz: ce7f689ea2c67381ba559c7956170bc967f06ebb25b1f4afd44575f6ca293fb102aafc79086c7e37a3d6609785b075861fca034c6a2c7579381850dbf3c771d2
7
- data.tar.gz: 839f11a2409656fb86722dd7e40281b760ea5bd22eca6a7d8c2f1ee1cf61e0148110004e4525eaa5247706f4b9b115acc2f7748a7929ca371ab65dd08bb56757
6
+ metadata.gz: 96875699765b19193822e2695754e77fb77f41af65f7d59dcbebd5a8f713e32cb1efd33cdd677d74a7e8a43de2dc9b5cb0c4d9bc43aae95fdb78ee5f7f299446
7
+ data.tar.gz: 811240d4987e4132985a8aacf4496e1bcff2436258a07a2142253fc1e1d617dda851db08cdf87e284e13a5be0203ba5359ee13ba5031a00ca9d165e3e16bf1d4
@@ -1,7 +1,7 @@
1
1
  /**!
2
2
 
3
3
  @license
4
- handlebars v4.3.3
4
+ handlebars v4.3.4
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.3';
278
+ var VERSION = '4.3.4';
279
279
  exports.VERSION = VERSION;
280
280
  var COMPILER_REVISION = 8;
281
281
  exports.COMPILER_REVISION = COMPILER_REVISION;
@@ -3806,15 +3806,13 @@ return /******/ (function(modules) { // webpackBootstrap
3806
3806
  // PUBLIC API: You can override these methods in a subclass to provide
3807
3807
  // alternative compiled forms for name lookup and buffering semantics
3808
3808
  nameLookup: function nameLookup(parent, name /* , type*/) {
3809
+ var isEnumerable = [this.aliasable('container.propertyIsEnumerable'), '.call(', parent, ',"constructor")'];
3810
+
3809
3811
  if (name === 'constructor') {
3810
- return ['(', _isEnumerable(), '?', _actualLookup(), ' : undefined)'];
3812
+ return ['(', isEnumerable, '?', _actualLookup(), ' : undefined)'];
3811
3813
  }
3812
3814
  return _actualLookup();
3813
3815
 
3814
- function _isEnumerable() {
3815
- return 'Object.prototype.propertyIsEnumerable.call(' + parent + ',\'constructor\')';
3816
- }
3817
-
3818
3816
  function _actualLookup() {
3819
3817
  if (JavaScriptCompiler.isValidJavaScriptVariableName(name)) {
3820
3818
  return [parent, '.', name];
@@ -4019,7 +4017,6 @@ return /******/ (function(modules) { // webpackBootstrap
4019
4017
  for (var alias in this.aliases) {
4020
4018
  // eslint-disable-line guard-for-in
4021
4019
  var node = this.aliases[alias];
4022
-
4023
4020
  if (this.aliases.hasOwnProperty(alias) && node.children && node.referenceCount > 1) {
4024
4021
  varDeclarations += ', alias' + ++aliasCount + '=' + alias;
4025
4022
  node.children[0] = 'alias' + aliasCount;
@@ -1,7 +1,7 @@
1
1
  /**!
2
2
 
3
3
  @license
4
- handlebars v4.3.3
4
+ handlebars v4.3.4
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.3';
210
+ var VERSION = '4.3.4';
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.3
4
+ version: 4.3.4
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-27 00:00:00.000000000 Z
11
+ date: 2019-09-28 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Handlebars.js source code wrapper for (pre)compilation gems.
14
14
  email: