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 +4 -4
- data/handlebars.js +9 -3
- data/handlebars.runtime.js +9 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ccdcf494a8d68a342bece0180cabbe218e27ab09d4561395edaf72d76bbace2f
|
4
|
+
data.tar.gz: 19fbb43a48c131ed36ce3e7be5f8fbe638f690ccbca2245f037d88136dfd7dca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 907638784089bd8f2d67ce81d072bddf2fd5e7af45651c980f60f93663ee561e469bd592f15b12e79667f7fe0b8403398569d7e80c1bb34b65526efd319f7bcb
|
7
|
+
data.tar.gz: d39d28364199b108e93a2dbb54e001bfe327f1432e2dcee8d20668a337cbb6126bd45bb353c1bd602ca1a6186db9ec6df84705c1c771a02d658d233f9192209f
|
data/handlebars.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
/**!
|
2
2
|
|
3
3
|
@license
|
4
|
-
handlebars v4.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.
|
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
|
-
|
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
|
|
data/handlebars.runtime.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
/**!
|
2
2
|
|
3
3
|
@license
|
4
|
-
handlebars v4.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.
|
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
|
-
|
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.
|
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-
|
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:
|