handlebars-source 4.0.13 → 4.0.14

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: 7293627ebcb980af81024492762f89d1ec71c3cf363851100baca1649c6cb21e
4
- data.tar.gz: ee9f5b83c63173d5af7cde5e5655da98f3979f44a8b808f60e2321337f19d343
3
+ metadata.gz: 788315c4ac1757a85cab2445e224efa103f2e5e9c7d3a8e762e3a44f07dca5e2
4
+ data.tar.gz: 8406ba52879b95978c1e945393fc57e64273e4cb2533a839218e720d457b3309
5
5
  SHA512:
6
- metadata.gz: ee17cb7d3d3125e2e8a95f267898e24605aff7a69ad209ef528d27d3f9e052bd8e73c81cb3dae187eb65bd9f0b0c856698bcc59ee8bfe0faad249ca74b04bb72
7
- data.tar.gz: dfd3184634506a13c60bfd44e7aec0031844a86829050ca4cf8b5319495fc58896751daa50f8dd9a20190f5688977912db69573b6a3785b2052e200fcb6d4a90
6
+ metadata.gz: 158e10d568ab39ffaf6d3f7bb6c07d587b6cba728b799feccb9ee3e7a3f2016913264479bc9a9176fe8550687a5a0bd9aa6f12b3842d5f13d81f09969c7b5f54
7
+ data.tar.gz: 05a026266ee9f671432129fd8eca7f4f51c90f3a8e73e815b6b1efbb8bd43a9b250ad7b4939e4e9c33b1f3bcbe8427bbddfbc6f8e6e28cc10d9443d41b1f631a
@@ -1,7 +1,7 @@
1
1
  /**!
2
2
 
3
3
  @license
4
- handlebars v4.0.13
4
+ handlebars v4.0.14
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.13';
278
+ var VERSION = '4.0.14';
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.0.13
4
+ handlebars v4.0.14
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.13';
210
+ var VERSION = '4.0.14';
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.0.13
4
+ version: 4.0.14
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-02-07 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: