handlebars_assets 0.23.6 → 0.23.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  /**!
2
2
 
3
3
  @license
4
- handlebars v4.5.2
4
+ handlebars v4.5.3
5
5
 
6
6
  Copyright (C) 2011-2017 by Yehuda Katz
7
7
 
@@ -95,7 +95,7 @@ return /******/ (function(modules) { // webpackBootstrap
95
95
  // Each of these augment the Handlebars object. No need to setup here.
96
96
  // (This is done to easily share code between commonjs and browse envs)
97
97
 
98
- var _handlebarsSafeString = __webpack_require__(20);
98
+ var _handlebarsSafeString = __webpack_require__(32);
99
99
 
100
100
  var _handlebarsSafeString2 = _interopRequireDefault(_handlebarsSafeString);
101
101
 
@@ -107,11 +107,11 @@ return /******/ (function(modules) { // webpackBootstrap
107
107
 
108
108
  var Utils = _interopRequireWildcard(_handlebarsUtils);
109
109
 
110
- var _handlebarsRuntime = __webpack_require__(21);
110
+ var _handlebarsRuntime = __webpack_require__(33);
111
111
 
112
112
  var runtime = _interopRequireWildcard(_handlebarsRuntime);
113
113
 
114
- var _handlebarsNoConflict = __webpack_require__(33);
114
+ var _handlebarsNoConflict = __webpack_require__(38);
115
115
 
116
116
  var _handlebarsNoConflict2 = _interopRequireDefault(_handlebarsNoConflict);
117
117
 
@@ -201,13 +201,13 @@ return /******/ (function(modules) { // webpackBootstrap
201
201
 
202
202
  var _helpers = __webpack_require__(9);
203
203
 
204
- var _decorators = __webpack_require__(17);
204
+ var _decorators = __webpack_require__(29);
205
205
 
206
- var _logger = __webpack_require__(19);
206
+ var _logger = __webpack_require__(31);
207
207
 
208
208
  var _logger2 = _interopRequireDefault(_logger);
209
209
 
210
- var VERSION = '4.5.2';
210
+ var VERSION = '4.5.3';
211
211
  exports.VERSION = VERSION;
212
212
  var COMPILER_REVISION = 8;
213
213
  exports.COMPILER_REVISION = COMPILER_REVISION;
@@ -545,23 +545,23 @@ return /******/ (function(modules) { // webpackBootstrap
545
545
 
546
546
  var _helpersEach2 = _interopRequireDefault(_helpersEach);
547
547
 
548
- var _helpersHelperMissing = __webpack_require__(12);
548
+ var _helpersHelperMissing = __webpack_require__(24);
549
549
 
550
550
  var _helpersHelperMissing2 = _interopRequireDefault(_helpersHelperMissing);
551
551
 
552
- var _helpersIf = __webpack_require__(13);
552
+ var _helpersIf = __webpack_require__(25);
553
553
 
554
554
  var _helpersIf2 = _interopRequireDefault(_helpersIf);
555
555
 
556
- var _helpersLog = __webpack_require__(14);
556
+ var _helpersLog = __webpack_require__(26);
557
557
 
558
558
  var _helpersLog2 = _interopRequireDefault(_helpersLog);
559
559
 
560
- var _helpersLookup = __webpack_require__(15);
560
+ var _helpersLookup = __webpack_require__(27);
561
561
 
562
562
  var _helpersLookup2 = _interopRequireDefault(_helpersLookup);
563
563
 
564
- var _helpersWith = __webpack_require__(16);
564
+ var _helpersWith = __webpack_require__(28);
565
565
 
566
566
  var _helpersWith2 = _interopRequireDefault(_helpersWith);
567
567
 
@@ -633,6 +633,8 @@ return /******/ (function(modules) { // webpackBootstrap
633
633
 
634
634
  /* WEBPACK VAR INJECTION */(function(global) {'use strict';
635
635
 
636
+ var _Object$keys = __webpack_require__(12)['default'];
637
+
636
638
  var _interopRequireDefault = __webpack_require__(2)['default'];
637
639
 
638
640
  exports.__esModule = true;
@@ -704,10 +706,10 @@ return /******/ (function(modules) { // webpackBootstrap
704
706
  execIteration(i, i, i === context.length - 1);
705
707
  }
706
708
  } else {
707
- var priorKey = undefined;
709
+ (function () {
710
+ var priorKey = undefined;
708
711
 
709
- for (var key in context) {
710
- if (context.hasOwnProperty(key)) {
712
+ _Object$keys(context).forEach(function (key) {
711
713
  // We're running the iterations one step out of sync so we can detect
712
714
  // the last iteration without have to scan the object twice and create
713
715
  // an itermediate keys array.
@@ -716,11 +718,11 @@ return /******/ (function(modules) { // webpackBootstrap
716
718
  }
717
719
  priorKey = key;
718
720
  i++;
721
+ });
722
+ if (priorKey !== undefined) {
723
+ execIteration(priorKey, i - 1, true);
719
724
  }
720
- }
721
- if (priorKey !== undefined) {
722
- execIteration(priorKey, i - 1, true);
723
- }
725
+ })();
724
726
  }
725
727
  }
726
728
 
@@ -737,6 +739,180 @@ return /******/ (function(modules) { // webpackBootstrap
737
739
 
738
740
  /***/ }),
739
741
  /* 12 */
742
+ /***/ (function(module, exports, __webpack_require__) {
743
+
744
+ module.exports = { "default": __webpack_require__(13), __esModule: true };
745
+
746
+ /***/ }),
747
+ /* 13 */
748
+ /***/ (function(module, exports, __webpack_require__) {
749
+
750
+ __webpack_require__(14);
751
+ module.exports = __webpack_require__(20).Object.keys;
752
+
753
+ /***/ }),
754
+ /* 14 */
755
+ /***/ (function(module, exports, __webpack_require__) {
756
+
757
+ // 19.1.2.14 Object.keys(O)
758
+ var toObject = __webpack_require__(15);
759
+
760
+ __webpack_require__(17)('keys', function($keys){
761
+ return function keys(it){
762
+ return $keys(toObject(it));
763
+ };
764
+ });
765
+
766
+ /***/ }),
767
+ /* 15 */
768
+ /***/ (function(module, exports, __webpack_require__) {
769
+
770
+ // 7.1.13 ToObject(argument)
771
+ var defined = __webpack_require__(16);
772
+ module.exports = function(it){
773
+ return Object(defined(it));
774
+ };
775
+
776
+ /***/ }),
777
+ /* 16 */
778
+ /***/ (function(module, exports) {
779
+
780
+ // 7.2.1 RequireObjectCoercible(argument)
781
+ module.exports = function(it){
782
+ if(it == undefined)throw TypeError("Can't call method on " + it);
783
+ return it;
784
+ };
785
+
786
+ /***/ }),
787
+ /* 17 */
788
+ /***/ (function(module, exports, __webpack_require__) {
789
+
790
+ // most Object methods by ES6 should accept primitives
791
+ var $export = __webpack_require__(18)
792
+ , core = __webpack_require__(20)
793
+ , fails = __webpack_require__(23);
794
+ module.exports = function(KEY, exec){
795
+ var fn = (core.Object || {})[KEY] || Object[KEY]
796
+ , exp = {};
797
+ exp[KEY] = exec(fn);
798
+ $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);
799
+ };
800
+
801
+ /***/ }),
802
+ /* 18 */
803
+ /***/ (function(module, exports, __webpack_require__) {
804
+
805
+ var global = __webpack_require__(19)
806
+ , core = __webpack_require__(20)
807
+ , ctx = __webpack_require__(21)
808
+ , PROTOTYPE = 'prototype';
809
+
810
+ var $export = function(type, name, source){
811
+ var IS_FORCED = type & $export.F
812
+ , IS_GLOBAL = type & $export.G
813
+ , IS_STATIC = type & $export.S
814
+ , IS_PROTO = type & $export.P
815
+ , IS_BIND = type & $export.B
816
+ , IS_WRAP = type & $export.W
817
+ , exports = IS_GLOBAL ? core : core[name] || (core[name] = {})
818
+ , target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]
819
+ , key, own, out;
820
+ if(IS_GLOBAL)source = name;
821
+ for(key in source){
822
+ // contains in native
823
+ own = !IS_FORCED && target && key in target;
824
+ if(own && key in exports)continue;
825
+ // export native or passed
826
+ out = own ? target[key] : source[key];
827
+ // prevent global pollution for namespaces
828
+ exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
829
+ // bind timers to global for call from export context
830
+ : IS_BIND && own ? ctx(out, global)
831
+ // wrap global constructors for prevent change them in library
832
+ : IS_WRAP && target[key] == out ? (function(C){
833
+ var F = function(param){
834
+ return this instanceof C ? new C(param) : C(param);
835
+ };
836
+ F[PROTOTYPE] = C[PROTOTYPE];
837
+ return F;
838
+ // make static versions for prototype methods
839
+ })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
840
+ if(IS_PROTO)(exports[PROTOTYPE] || (exports[PROTOTYPE] = {}))[key] = out;
841
+ }
842
+ };
843
+ // type bitmap
844
+ $export.F = 1; // forced
845
+ $export.G = 2; // global
846
+ $export.S = 4; // static
847
+ $export.P = 8; // proto
848
+ $export.B = 16; // bind
849
+ $export.W = 32; // wrap
850
+ module.exports = $export;
851
+
852
+ /***/ }),
853
+ /* 19 */
854
+ /***/ (function(module, exports) {
855
+
856
+ // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
857
+ var global = module.exports = typeof window != 'undefined' && window.Math == Math
858
+ ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
859
+ if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
860
+
861
+ /***/ }),
862
+ /* 20 */
863
+ /***/ (function(module, exports) {
864
+
865
+ var core = module.exports = {version: '1.2.6'};
866
+ if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
867
+
868
+ /***/ }),
869
+ /* 21 */
870
+ /***/ (function(module, exports, __webpack_require__) {
871
+
872
+ // optional / simple context binding
873
+ var aFunction = __webpack_require__(22);
874
+ module.exports = function(fn, that, length){
875
+ aFunction(fn);
876
+ if(that === undefined)return fn;
877
+ switch(length){
878
+ case 1: return function(a){
879
+ return fn.call(that, a);
880
+ };
881
+ case 2: return function(a, b){
882
+ return fn.call(that, a, b);
883
+ };
884
+ case 3: return function(a, b, c){
885
+ return fn.call(that, a, b, c);
886
+ };
887
+ }
888
+ return function(/* ...args */){
889
+ return fn.apply(that, arguments);
890
+ };
891
+ };
892
+
893
+ /***/ }),
894
+ /* 22 */
895
+ /***/ (function(module, exports) {
896
+
897
+ module.exports = function(it){
898
+ if(typeof it != 'function')throw TypeError(it + ' is not a function!');
899
+ return it;
900
+ };
901
+
902
+ /***/ }),
903
+ /* 23 */
904
+ /***/ (function(module, exports) {
905
+
906
+ module.exports = function(exec){
907
+ try {
908
+ return !!exec();
909
+ } catch(e){
910
+ return true;
911
+ }
912
+ };
913
+
914
+ /***/ }),
915
+ /* 24 */
740
916
  /***/ (function(module, exports, __webpack_require__) {
741
917
 
742
918
  'use strict';
@@ -764,7 +940,7 @@ return /******/ (function(modules) { // webpackBootstrap
764
940
  module.exports = exports['default'];
765
941
 
766
942
  /***/ }),
767
- /* 13 */
943
+ /* 25 */
768
944
  /***/ (function(module, exports, __webpack_require__) {
769
945
 
770
946
  'use strict';
@@ -809,7 +985,7 @@ return /******/ (function(modules) { // webpackBootstrap
809
985
  module.exports = exports['default'];
810
986
 
811
987
  /***/ }),
812
- /* 14 */
988
+ /* 26 */
813
989
  /***/ (function(module, exports) {
814
990
 
815
991
  'use strict';
@@ -839,29 +1015,30 @@ return /******/ (function(modules) { // webpackBootstrap
839
1015
  module.exports = exports['default'];
840
1016
 
841
1017
  /***/ }),
842
- /* 15 */
1018
+ /* 27 */
843
1019
  /***/ (function(module, exports) {
844
1020
 
845
1021
  'use strict';
846
1022
 
847
1023
  exports.__esModule = true;
1024
+ var dangerousPropertyRegex = /^(constructor|__defineGetter__|__defineSetter__|__lookupGetter__|__proto__)$/;
1025
+
1026
+ exports.dangerousPropertyRegex = dangerousPropertyRegex;
848
1027
 
849
1028
  exports['default'] = function (instance) {
850
1029
  instance.registerHelper('lookup', function (obj, field) {
851
1030
  if (!obj) {
852
1031
  return obj;
853
1032
  }
854
- if (String(field) === 'constructor' && !obj.propertyIsEnumerable(field)) {
1033
+ if (dangerousPropertyRegex.test(String(field)) && !Object.prototype.propertyIsEnumerable.call(obj, field)) {
855
1034
  return undefined;
856
1035
  }
857
1036
  return obj[field];
858
1037
  });
859
1038
  };
860
1039
 
861
- module.exports = exports['default'];
862
-
863
1040
  /***/ }),
864
- /* 16 */
1041
+ /* 28 */
865
1042
  /***/ (function(module, exports, __webpack_require__) {
866
1043
 
867
1044
  'use strict';
@@ -907,7 +1084,7 @@ return /******/ (function(modules) { // webpackBootstrap
907
1084
  module.exports = exports['default'];
908
1085
 
909
1086
  /***/ }),
910
- /* 17 */
1087
+ /* 29 */
911
1088
  /***/ (function(module, exports, __webpack_require__) {
912
1089
 
913
1090
  'use strict';
@@ -917,7 +1094,7 @@ return /******/ (function(modules) { // webpackBootstrap
917
1094
  exports.__esModule = true;
918
1095
  exports.registerDefaultDecorators = registerDefaultDecorators;
919
1096
 
920
- var _decoratorsInline = __webpack_require__(18);
1097
+ var _decoratorsInline = __webpack_require__(30);
921
1098
 
922
1099
  var _decoratorsInline2 = _interopRequireDefault(_decoratorsInline);
923
1100
 
@@ -926,7 +1103,7 @@ return /******/ (function(modules) { // webpackBootstrap
926
1103
  }
927
1104
 
928
1105
  /***/ }),
929
- /* 18 */
1106
+ /* 30 */
930
1107
  /***/ (function(module, exports, __webpack_require__) {
931
1108
 
932
1109
  'use strict';
@@ -959,7 +1136,7 @@ return /******/ (function(modules) { // webpackBootstrap
959
1136
  module.exports = exports['default'];
960
1137
 
961
1138
  /***/ }),
962
- /* 19 */
1139
+ /* 31 */
963
1140
  /***/ (function(module, exports, __webpack_require__) {
964
1141
 
965
1142
  'use strict';
@@ -1010,7 +1187,7 @@ return /******/ (function(modules) { // webpackBootstrap
1010
1187
  module.exports = exports['default'];
1011
1188
 
1012
1189
  /***/ }),
1013
- /* 20 */
1190
+ /* 32 */
1014
1191
  /***/ (function(module, exports) {
1015
1192
 
1016
1193
  // Build out our basic SafeString type
@@ -1029,12 +1206,12 @@ return /******/ (function(modules) { // webpackBootstrap
1029
1206
  module.exports = exports['default'];
1030
1207
 
1031
1208
  /***/ }),
1032
- /* 21 */
1209
+ /* 33 */
1033
1210
  /***/ (function(module, exports, __webpack_require__) {
1034
1211
 
1035
1212
  'use strict';
1036
1213
 
1037
- var _Object$seal = __webpack_require__(22)['default'];
1214
+ var _Object$seal = __webpack_require__(34)['default'];
1038
1215
 
1039
1216
  var _interopRequireWildcard = __webpack_require__(1)['default'];
1040
1217
 
@@ -1351,33 +1528,33 @@ return /******/ (function(modules) { // webpackBootstrap
1351
1528
  }
1352
1529
 
1353
1530
  /***/ }),
1354
- /* 22 */
1531
+ /* 34 */
1355
1532
  /***/ (function(module, exports, __webpack_require__) {
1356
1533
 
1357
- module.exports = { "default": __webpack_require__(23), __esModule: true };
1534
+ module.exports = { "default": __webpack_require__(35), __esModule: true };
1358
1535
 
1359
1536
  /***/ }),
1360
- /* 23 */
1537
+ /* 35 */
1361
1538
  /***/ (function(module, exports, __webpack_require__) {
1362
1539
 
1363
- __webpack_require__(24);
1364
- module.exports = __webpack_require__(29).Object.seal;
1540
+ __webpack_require__(36);
1541
+ module.exports = __webpack_require__(20).Object.seal;
1365
1542
 
1366
1543
  /***/ }),
1367
- /* 24 */
1544
+ /* 36 */
1368
1545
  /***/ (function(module, exports, __webpack_require__) {
1369
1546
 
1370
1547
  // 19.1.2.17 Object.seal(O)
1371
- var isObject = __webpack_require__(25);
1548
+ var isObject = __webpack_require__(37);
1372
1549
 
1373
- __webpack_require__(26)('seal', function($seal){
1550
+ __webpack_require__(17)('seal', function($seal){
1374
1551
  return function seal(it){
1375
1552
  return $seal && isObject(it) ? $seal(it) : it;
1376
1553
  };
1377
1554
  });
1378
1555
 
1379
1556
  /***/ }),
1380
- /* 25 */
1557
+ /* 37 */
1381
1558
  /***/ (function(module, exports) {
1382
1559
 
1383
1560
  module.exports = function(it){
@@ -1385,135 +1562,7 @@ return /******/ (function(modules) { // webpackBootstrap
1385
1562
  };
1386
1563
 
1387
1564
  /***/ }),
1388
- /* 26 */
1389
- /***/ (function(module, exports, __webpack_require__) {
1390
-
1391
- // most Object methods by ES6 should accept primitives
1392
- var $export = __webpack_require__(27)
1393
- , core = __webpack_require__(29)
1394
- , fails = __webpack_require__(32);
1395
- module.exports = function(KEY, exec){
1396
- var fn = (core.Object || {})[KEY] || Object[KEY]
1397
- , exp = {};
1398
- exp[KEY] = exec(fn);
1399
- $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);
1400
- };
1401
-
1402
- /***/ }),
1403
- /* 27 */
1404
- /***/ (function(module, exports, __webpack_require__) {
1405
-
1406
- var global = __webpack_require__(28)
1407
- , core = __webpack_require__(29)
1408
- , ctx = __webpack_require__(30)
1409
- , PROTOTYPE = 'prototype';
1410
-
1411
- var $export = function(type, name, source){
1412
- var IS_FORCED = type & $export.F
1413
- , IS_GLOBAL = type & $export.G
1414
- , IS_STATIC = type & $export.S
1415
- , IS_PROTO = type & $export.P
1416
- , IS_BIND = type & $export.B
1417
- , IS_WRAP = type & $export.W
1418
- , exports = IS_GLOBAL ? core : core[name] || (core[name] = {})
1419
- , target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]
1420
- , key, own, out;
1421
- if(IS_GLOBAL)source = name;
1422
- for(key in source){
1423
- // contains in native
1424
- own = !IS_FORCED && target && key in target;
1425
- if(own && key in exports)continue;
1426
- // export native or passed
1427
- out = own ? target[key] : source[key];
1428
- // prevent global pollution for namespaces
1429
- exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
1430
- // bind timers to global for call from export context
1431
- : IS_BIND && own ? ctx(out, global)
1432
- // wrap global constructors for prevent change them in library
1433
- : IS_WRAP && target[key] == out ? (function(C){
1434
- var F = function(param){
1435
- return this instanceof C ? new C(param) : C(param);
1436
- };
1437
- F[PROTOTYPE] = C[PROTOTYPE];
1438
- return F;
1439
- // make static versions for prototype methods
1440
- })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
1441
- if(IS_PROTO)(exports[PROTOTYPE] || (exports[PROTOTYPE] = {}))[key] = out;
1442
- }
1443
- };
1444
- // type bitmap
1445
- $export.F = 1; // forced
1446
- $export.G = 2; // global
1447
- $export.S = 4; // static
1448
- $export.P = 8; // proto
1449
- $export.B = 16; // bind
1450
- $export.W = 32; // wrap
1451
- module.exports = $export;
1452
-
1453
- /***/ }),
1454
- /* 28 */
1455
- /***/ (function(module, exports) {
1456
-
1457
- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
1458
- var global = module.exports = typeof window != 'undefined' && window.Math == Math
1459
- ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
1460
- if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
1461
-
1462
- /***/ }),
1463
- /* 29 */
1464
- /***/ (function(module, exports) {
1465
-
1466
- var core = module.exports = {version: '1.2.6'};
1467
- if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
1468
-
1469
- /***/ }),
1470
- /* 30 */
1471
- /***/ (function(module, exports, __webpack_require__) {
1472
-
1473
- // optional / simple context binding
1474
- var aFunction = __webpack_require__(31);
1475
- module.exports = function(fn, that, length){
1476
- aFunction(fn);
1477
- if(that === undefined)return fn;
1478
- switch(length){
1479
- case 1: return function(a){
1480
- return fn.call(that, a);
1481
- };
1482
- case 2: return function(a, b){
1483
- return fn.call(that, a, b);
1484
- };
1485
- case 3: return function(a, b, c){
1486
- return fn.call(that, a, b, c);
1487
- };
1488
- }
1489
- return function(/* ...args */){
1490
- return fn.apply(that, arguments);
1491
- };
1492
- };
1493
-
1494
- /***/ }),
1495
- /* 31 */
1496
- /***/ (function(module, exports) {
1497
-
1498
- module.exports = function(it){
1499
- if(typeof it != 'function')throw TypeError(it + ' is not a function!');
1500
- return it;
1501
- };
1502
-
1503
- /***/ }),
1504
- /* 32 */
1505
- /***/ (function(module, exports) {
1506
-
1507
- module.exports = function(exec){
1508
- try {
1509
- return !!exec();
1510
- } catch(e){
1511
- return true;
1512
- }
1513
- };
1514
-
1515
- /***/ }),
1516
- /* 33 */
1565
+ /* 38 */
1517
1566
  /***/ (function(module, exports) {
1518
1567
 
1519
1568
  /* WEBPACK VAR INJECTION */(function(global) {/* global window */