handlebars-source 4.1.1 → 4.1.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.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bda7be36fa6440e30dade9382546ec24d300f67db4b02843902dbdfde84dddb1
4
- data.tar.gz: 59b354e53bd8cbf035a6ed9aeb5952d33f7b56a20b61bca10b1a41e57050fb66
3
+ metadata.gz: ccdcf494a8d68a342bece0180cabbe218e27ab09d4561395edaf72d76bbace2f
4
+ data.tar.gz: 19fbb43a48c131ed36ce3e7be5f8fbe638f690ccbca2245f037d88136dfd7dca
5
5
  SHA512:
6
- metadata.gz: e70ebe31465802fb266e3226a3b50b7f4a453d711bf29216cf254ad58c0fbcef1969d1af5ed8d22bff4244910c7161bb69377e7ceff273c313bda0c5edfebe5c
7
- data.tar.gz: 6c4bfd9ab523e1a7bf6d005a20214c104cbda121a7b39f6a064741c862d5e97fdbc4ce6975313358e5b8a6be9d41e2c0ef33f0a37fdab60611cd2f0ba5c26045
6
+ metadata.gz: 907638784089bd8f2d67ce81d072bddf2fd5e7af45651c980f60f93663ee561e469bd592f15b12e79667f7fe0b8403398569d7e80c1bb34b65526efd319f7bcb
7
+ data.tar.gz: d39d28364199b108e93a2dbb54e001bfe327f1432e2dcee8d20668a337cbb6126bd45bb353c1bd602ca1a6186db9ec6df84705c1c771a02d658d233f9192209f
@@ -1,7 +1,7 @@
1
1
  /**!
2
2
 
3
3
  @license
4
- handlebars v4.1.1
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.1';
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
 
@@ -1,7 +1,7 @@
1
1
  /**!
2
2
 
3
3
  @license
4
- handlebars v4.1.1
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.1';
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
 
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.1.1
4
+ version: 4.1.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-03-16 00:00:00.000000000 Z
11
+ date: 2019-04-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Handlebars.js source code wrapper for (pre)compilation gems.
14
14
  email: