handlebars-source 4.0.8 → 4.0.9

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.

Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/handlebars.js +109 -6
  3. data/handlebars.runtime.js +2 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 860684006db8b3b036b200accd4925fe98f1b5e4
4
- data.tar.gz: f6238f989b7bd4b557a1195be1a3d8ef894910ba
3
+ metadata.gz: 13ea05ca1d2cc88068cb88d7e39f52227ac68a2a
4
+ data.tar.gz: fe848614392d8cf2f76f98a82ff6939d9d532c70
5
5
  SHA512:
6
- metadata.gz: 78dda5782d7047f18403c2c7f08f97feb7763a5755ffe3b7173ce0351cab76ed1ab094dc73d1401ca1921d9426ae89c45064538759b5ab3e97a381f8fd634b7a
7
- data.tar.gz: 32b8a62aded5c21e2d91f33f9c1f601971a806fe9c5f5aa81c1aa60226dc2d77390ba3e350dffb521a83ab0c527a7d22dbcccf0395b7b76772780cb0332ecf03
6
+ metadata.gz: b15b525d092f9d478098647d37042b184e3f37dd07d82174d70793d19d7226062359952448ef6790e9cee810f46eff2462a51bfc341614cb9802bfe7381e4930
7
+ data.tar.gz: f8ed6638a79649ee524c9849c032f5df5933531f07d236abee64023af095fdeed35521d8accf4d58444230f5baddbb94d0468be4fe08fc2f0330bd1d98a73e2d
@@ -1,7 +1,7 @@
1
1
  /**!
2
2
 
3
3
  @license
4
- handlebars v4.0.8
4
+ handlebars v4.0.9
5
5
 
6
6
  Copyright (C) 2011-2016 by Yehuda Katz
7
7
 
@@ -100,7 +100,7 @@ return /******/ (function(modules) { // webpackBootstrap
100
100
 
101
101
  var _handlebarsCompilerCompiler = __webpack_require__(41);
102
102
 
103
- var _handlebarsCompilerJavascriptCompiler = __webpack_require__(42);
103
+ var _handlebarsCompilerJavascriptCompiler = __webpack_require__(50);
104
104
 
105
105
  var _handlebarsCompilerJavascriptCompiler2 = _interopRequireDefault(_handlebarsCompilerJavascriptCompiler);
106
106
 
@@ -275,7 +275,7 @@ return /******/ (function(modules) { // webpackBootstrap
275
275
 
276
276
  var _logger2 = _interopRequireDefault(_logger);
277
277
 
278
- var VERSION = '4.0.8';
278
+ var VERSION = '4.0.9';
279
279
  exports.VERSION = VERSION;
280
280
  var COMPILER_REVISION = 7;
281
281
 
@@ -2965,6 +2965,8 @@ return /******/ (function(modules) { // webpackBootstrap
2965
2965
 
2966
2966
  'use strict';
2967
2967
 
2968
+ var _Object$assign = __webpack_require__(42)['default'];
2969
+
2968
2970
  var _interopRequireDefault = __webpack_require__(1)['default'];
2969
2971
 
2970
2972
  exports.__esModule = true;
@@ -3048,7 +3050,7 @@ return /******/ (function(modules) { // webpackBootstrap
3048
3050
  for (var _name in knownHelpers) {
3049
3051
  /* istanbul ignore else */
3050
3052
  if (_name in knownHelpers) {
3051
- options.knownHelpers[_name] = knownHelpers[_name];
3053
+ this.options.knownHelpers[_name] = knownHelpers[_name];
3052
3054
  }
3053
3055
  }
3054
3056
  }
@@ -3463,6 +3465,7 @@ return /******/ (function(modules) { // webpackBootstrap
3463
3465
  throw new _exception2['default']('You must pass a string or Handlebars AST to Handlebars.compile. You passed ' + input);
3464
3466
  }
3465
3467
 
3468
+ options = _Object$assign({}, options);
3466
3469
  if (!('data' in options)) {
3467
3470
  options.data = true;
3468
3471
  }
@@ -3534,6 +3537,106 @@ return /******/ (function(modules) { // webpackBootstrap
3534
3537
 
3535
3538
  /***/ }),
3536
3539
  /* 42 */
3540
+ /***/ (function(module, exports, __webpack_require__) {
3541
+
3542
+ module.exports = { "default": __webpack_require__(43), __esModule: true };
3543
+
3544
+ /***/ }),
3545
+ /* 43 */
3546
+ /***/ (function(module, exports, __webpack_require__) {
3547
+
3548
+ __webpack_require__(44);
3549
+ module.exports = __webpack_require__(30).Object.assign;
3550
+
3551
+ /***/ }),
3552
+ /* 44 */
3553
+ /***/ (function(module, exports, __webpack_require__) {
3554
+
3555
+ // 19.1.3.1 Object.assign(target, source)
3556
+ var $export = __webpack_require__(28);
3557
+
3558
+ $export($export.S + $export.F, 'Object', {assign: __webpack_require__(45)});
3559
+
3560
+ /***/ }),
3561
+ /* 45 */
3562
+ /***/ (function(module, exports, __webpack_require__) {
3563
+
3564
+ // 19.1.2.1 Object.assign(target, source, ...)
3565
+ var $ = __webpack_require__(9)
3566
+ , toObject = __webpack_require__(46)
3567
+ , IObject = __webpack_require__(48);
3568
+
3569
+ // should work with symbols and should have deterministic property order (V8 bug)
3570
+ module.exports = __webpack_require__(33)(function(){
3571
+ var a = Object.assign
3572
+ , A = {}
3573
+ , B = {}
3574
+ , S = Symbol()
3575
+ , K = 'abcdefghijklmnopqrst';
3576
+ A[S] = 7;
3577
+ K.split('').forEach(function(k){ B[k] = k; });
3578
+ return a({}, A)[S] != 7 || Object.keys(a({}, B)).join('') != K;
3579
+ }) ? function assign(target, source){ // eslint-disable-line no-unused-vars
3580
+ var T = toObject(target)
3581
+ , $$ = arguments
3582
+ , $$len = $$.length
3583
+ , index = 1
3584
+ , getKeys = $.getKeys
3585
+ , getSymbols = $.getSymbols
3586
+ , isEnum = $.isEnum;
3587
+ while($$len > index){
3588
+ var S = IObject($$[index++])
3589
+ , keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S)
3590
+ , length = keys.length
3591
+ , j = 0
3592
+ , key;
3593
+ while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key];
3594
+ }
3595
+ return T;
3596
+ } : Object.assign;
3597
+
3598
+ /***/ }),
3599
+ /* 46 */
3600
+ /***/ (function(module, exports, __webpack_require__) {
3601
+
3602
+ // 7.1.13 ToObject(argument)
3603
+ var defined = __webpack_require__(47);
3604
+ module.exports = function(it){
3605
+ return Object(defined(it));
3606
+ };
3607
+
3608
+ /***/ }),
3609
+ /* 47 */
3610
+ /***/ (function(module, exports) {
3611
+
3612
+ // 7.2.1 RequireObjectCoercible(argument)
3613
+ module.exports = function(it){
3614
+ if(it == undefined)throw TypeError("Can't call method on " + it);
3615
+ return it;
3616
+ };
3617
+
3618
+ /***/ }),
3619
+ /* 48 */
3620
+ /***/ (function(module, exports, __webpack_require__) {
3621
+
3622
+ // fallback for non-array-like ES3 and non-enumerable old V8 strings
3623
+ var cof = __webpack_require__(49);
3624
+ module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){
3625
+ return cof(it) == 'String' ? it.split('') : Object(it);
3626
+ };
3627
+
3628
+ /***/ }),
3629
+ /* 49 */
3630
+ /***/ (function(module, exports) {
3631
+
3632
+ var toString = {}.toString;
3633
+
3634
+ module.exports = function(it){
3635
+ return toString.call(it).slice(8, -1);
3636
+ };
3637
+
3638
+ /***/ }),
3639
+ /* 50 */
3537
3640
  /***/ (function(module, exports, __webpack_require__) {
3538
3641
 
3539
3642
  'use strict';
@@ -3550,7 +3653,7 @@ return /******/ (function(modules) { // webpackBootstrap
3550
3653
 
3551
3654
  var _utils = __webpack_require__(5);
3552
3655
 
3553
- var _codeGen = __webpack_require__(43);
3656
+ var _codeGen = __webpack_require__(51);
3554
3657
 
3555
3658
  var _codeGen2 = _interopRequireDefault(_codeGen);
3556
3659
 
@@ -4664,7 +4767,7 @@ return /******/ (function(modules) { // webpackBootstrap
4664
4767
  module.exports = exports['default'];
4665
4768
 
4666
4769
  /***/ }),
4667
- /* 43 */
4770
+ /* 51 */
4668
4771
  /***/ (function(module, exports, __webpack_require__) {
4669
4772
 
4670
4773
  /* global define */
@@ -1,7 +1,7 @@
1
1
  /**!
2
2
 
3
3
  @license
4
- handlebars v4.0.8
4
+ handlebars v4.0.9
5
5
 
6
6
  Copyright (C) 2011-2016 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.8';
210
+ var VERSION = '4.0.9';
211
211
  exports.VERSION = VERSION;
212
212
  var COMPILER_REVISION = 7;
213
213
 
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.8
4
+ version: 4.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yehuda Katz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-02 00:00:00.000000000 Z
11
+ date: 2017-05-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Handlebars.js source code wrapper for (pre)compilation gems.
14
14
  email: