handlebars-source 4.7.1 → 4.7.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 +8 -3
- data/handlebars.runtime.js +8 -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: 32724bb552376e50d41ce3ccb19f6a48f99a7d431ddd846f917b011f75deb9a0
|
4
|
+
data.tar.gz: 74d8e477abba03830400637875c1d15c25ce455c3e432523f6c31d800eb56852
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2e5be91b8a044bfef2a1a9b0447d0e9b0bd2f05d9515603630bc772f50c5bbf9c589380642a56e77580a4f9e6bf632b0ca56357eb0c50e0ac8b82dc5c991eeb
|
7
|
+
data.tar.gz: 9d9947ebf77c09e7430ef24b2467b3d106b90763b92af493d9dc6a58567e5bc01f8d1f41c9b09077c199d4d9bf869cc7f67aa3f7c32344339d32028df9c9b6ed
|
data/handlebars.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
/**!
|
2
2
|
|
3
3
|
@license
|
4
|
-
handlebars v4.7.
|
4
|
+
handlebars v4.7.2
|
5
5
|
|
6
6
|
Copyright (C) 2011-2019 by Yehuda Katz
|
7
7
|
|
@@ -278,7 +278,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
278
278
|
|
279
279
|
var _internalProtoAccess = __webpack_require__(33);
|
280
280
|
|
281
|
-
var VERSION = '4.7.
|
281
|
+
var VERSION = '4.7.2';
|
282
282
|
exports.VERSION = VERSION;
|
283
283
|
var COMPILER_REVISION = 8;
|
284
284
|
exports.COMPILER_REVISION = COMPILER_REVISION;
|
@@ -1820,12 +1820,17 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1820
1820
|
/* 43 */
|
1821
1821
|
/***/ (function(module, exports) {
|
1822
1822
|
|
1823
|
-
|
1823
|
+
'use strict';
|
1824
1824
|
|
1825
1825
|
exports.__esModule = true;
|
1826
1826
|
exports.wrapHelper = wrapHelper;
|
1827
1827
|
|
1828
1828
|
function wrapHelper(helper, transformOptionsFn) {
|
1829
|
+
if (typeof helper !== 'function') {
|
1830
|
+
// This should not happen, but apparently it does in https://github.com/wycats/handlebars.js/issues/1639
|
1831
|
+
// We try to make the wrapper least-invasive by not wrapping it, if the helper is not a function.
|
1832
|
+
return helper;
|
1833
|
+
}
|
1829
1834
|
var wrapper = function wrapper() /* dynamic arguments */{
|
1830
1835
|
var options = arguments[arguments.length - 1];
|
1831
1836
|
arguments[arguments.length - 1] = transformOptionsFn(options);
|
data/handlebars.runtime.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
/**!
|
2
2
|
|
3
3
|
@license
|
4
|
-
handlebars v4.7.
|
4
|
+
handlebars v4.7.2
|
5
5
|
|
6
6
|
Copyright (C) 2011-2019 by Yehuda Katz
|
7
7
|
|
@@ -209,7 +209,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
209
209
|
|
210
210
|
var _internalProtoAccess = __webpack_require__(32);
|
211
211
|
|
212
|
-
var VERSION = '4.7.
|
212
|
+
var VERSION = '4.7.2';
|
213
213
|
exports.VERSION = VERSION;
|
214
214
|
var COMPILER_REVISION = 8;
|
215
215
|
exports.COMPILER_REVISION = COMPILER_REVISION;
|
@@ -1751,12 +1751,17 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
1751
1751
|
/* 42 */
|
1752
1752
|
/***/ (function(module, exports) {
|
1753
1753
|
|
1754
|
-
|
1754
|
+
'use strict';
|
1755
1755
|
|
1756
1756
|
exports.__esModule = true;
|
1757
1757
|
exports.wrapHelper = wrapHelper;
|
1758
1758
|
|
1759
1759
|
function wrapHelper(helper, transformOptionsFn) {
|
1760
|
+
if (typeof helper !== 'function') {
|
1761
|
+
// This should not happen, but apparently it does in https://github.com/wycats/handlebars.js/issues/1639
|
1762
|
+
// We try to make the wrapper least-invasive by not wrapping it, if the helper is not a function.
|
1763
|
+
return helper;
|
1764
|
+
}
|
1760
1765
|
var wrapper = function wrapper() /* dynamic arguments */{
|
1761
1766
|
var options = arguments[arguments.length - 1];
|
1762
1767
|
arguments[arguments.length - 1] = transformOptionsFn(options);
|
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.7.
|
4
|
+
version: 4.7.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: 2020-01-
|
11
|
+
date: 2020-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Handlebars.js source code wrapper for (pre)compilation gems.
|
14
14
|
email:
|