babel-source 5.0.4 → 5.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/babel.js +16 -7
- data/lib/babel/polyfill.js +7 -4
- data/lib/babel/source.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZGY4NmUyNzBkZTExNzVmNDM4ZWI4MGViZGU4MjUxNmYzOWI5NDZmNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTU5OTg5N2Y1YzkyOTBjYWM4YmVlNzgwYTdlOWUzZjhhZTU2MmQxMQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZjZkOWYzYWVjYzQ4YTkzODQxYTNlODk2MDNmYjFjMzk2ZDNmZTUyOGQ3NTJm
|
10
|
+
ZDU2MTFhZTk3YTY1ZjAxZWUyM2EwZTg0N2FkMzE5NmE2ZTU4MDc1ZmQwYjk1
|
11
|
+
NDIyZDBjMWQ4YmE5YjkzMDU2MWNmYTA5Y2NmZjNiMWVkNjI0YTk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NGRkNzEyZmU0NjBkMzMzN2NiYmRjM2NkZDZkZGUzYjFmZDBhNzQwZGJkNWFj
|
14
|
+
NWI2M2RlZDk5NWI4MDU1NWVmNmNiYTgwYTY3ZTk1MjJlNmE2NzViMTkxYjFm
|
15
|
+
OTE3ZGVkMGI0NGIxZDZmMTQwNzQ4ZTA5M2JhNTIxM2MzYzZmMWY=
|
data/lib/babel.js
CHANGED
@@ -20468,7 +20468,13 @@ function resolveRelative(loc) {
|
|
20468
20468
|
}
|
20469
20469
|
|
20470
20470
|
function list(val) {
|
20471
|
-
|
20471
|
+
if (!val) {
|
20472
|
+
return [];
|
20473
|
+
} else if (Array.isArray(val)) {
|
20474
|
+
return val;
|
20475
|
+
} else {
|
20476
|
+
return val.split(",");
|
20477
|
+
}
|
20472
20478
|
}
|
20473
20479
|
|
20474
20480
|
function regexify(val) {
|
@@ -32601,6 +32607,7 @@ var $ = require('./$')
|
|
32601
32607
|
, setTag = require('./$.cof').set
|
32602
32608
|
, uid = require('./$.uid')
|
32603
32609
|
, $def = require('./$.def')
|
32610
|
+
, keyOf = require('./$.keyof')
|
32604
32611
|
, has = $.has
|
32605
32612
|
, hide = $.hide
|
32606
32613
|
, getNames = $.getNames
|
@@ -32643,7 +32650,9 @@ var symbolStatics = {
|
|
32643
32650
|
: SymbolRegistry[key] = Symbol(key);
|
32644
32651
|
},
|
32645
32652
|
// 19.4.2.5 Symbol.keyFor(sym)
|
32646
|
-
keyFor:
|
32653
|
+
keyFor: function(key){
|
32654
|
+
return keyOf(SymbolRegistry, key);
|
32655
|
+
},
|
32647
32656
|
pure: uid.safe,
|
32648
32657
|
set: $.set,
|
32649
32658
|
useSetter: function(){ setter = true; },
|
@@ -32693,7 +32702,7 @@ setTag(Symbol, 'Symbol');
|
|
32693
32702
|
setTag(Math, 'Math', true);
|
32694
32703
|
// 24.3.3 JSON[@@toStringTag]
|
32695
32704
|
setTag($.g.JSON, 'JSON', true);
|
32696
|
-
},{"./$":223,"./$.cof":214,"./$.def":219,"./$.keyof":224,"./$.
|
32705
|
+
},{"./$":223,"./$.cof":214,"./$.def":219,"./$.keyof":224,"./$.uid":232,"./$.wks":234}],280:[function(require,module,exports){
|
32697
32706
|
'use strict';
|
32698
32707
|
var $ = require('./$')
|
32699
32708
|
, weak = require('./$.collection-weak')
|
@@ -32852,8 +32861,8 @@ function wrap(set){
|
|
32852
32861
|
} : set;
|
32853
32862
|
}
|
32854
32863
|
$def($def.G + $def.B + $def.F * MSIE, {
|
32855
|
-
setTimeout: wrap(setTimeout),
|
32856
|
-
setInterval: wrap(setInterval)
|
32864
|
+
setTimeout: wrap($.g.setTimeout),
|
32865
|
+
setInterval: wrap($.g.setInterval)
|
32857
32866
|
});
|
32858
32867
|
},{"./$":223,"./$.def":219,"./$.invoke":221,"./$.partial":226}],291:[function(require,module,exports){
|
32859
32868
|
require('./modules/es5');
|
@@ -49719,7 +49728,7 @@ module.exports = function (str) {
|
|
49719
49728
|
module.exports={
|
49720
49729
|
"name": "babel-core",
|
49721
49730
|
"description": "Turn ES6 code into readable vanilla ES5 with source maps",
|
49722
|
-
"version": "5.0.
|
49731
|
+
"version": "5.0.5",
|
49723
49732
|
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
49724
49733
|
"homepage": "https://babeljs.io/",
|
49725
49734
|
"repository": "babel/babel",
|
@@ -49748,7 +49757,7 @@ module.exports={
|
|
49748
49757
|
"ast-types": "~0.7.0",
|
49749
49758
|
"chalk": "^1.0.0",
|
49750
49759
|
"convert-source-map": "^0.5.0",
|
49751
|
-
"core-js": "^0.8.
|
49760
|
+
"core-js": "^0.8.1",
|
49752
49761
|
"debug": "^2.1.1",
|
49753
49762
|
"detect-indent": "^3.0.0",
|
49754
49763
|
"estraverse": "^1.9.1",
|
data/lib/babel/polyfill.js
CHANGED
@@ -2163,6 +2163,7 @@ var $ = require('./$')
|
|
2163
2163
|
, setTag = require('./$.cof').set
|
2164
2164
|
, uid = require('./$.uid')
|
2165
2165
|
, $def = require('./$.def')
|
2166
|
+
, keyOf = require('./$.keyof')
|
2166
2167
|
, has = $.has
|
2167
2168
|
, hide = $.hide
|
2168
2169
|
, getNames = $.getNames
|
@@ -2205,7 +2206,9 @@ var symbolStatics = {
|
|
2205
2206
|
: SymbolRegistry[key] = Symbol(key);
|
2206
2207
|
},
|
2207
2208
|
// 19.4.2.5 Symbol.keyFor(sym)
|
2208
|
-
keyFor:
|
2209
|
+
keyFor: function(key){
|
2210
|
+
return keyOf(SymbolRegistry, key);
|
2211
|
+
},
|
2209
2212
|
pure: uid.safe,
|
2210
2213
|
set: $.set,
|
2211
2214
|
useSetter: function(){ setter = true; },
|
@@ -2255,7 +2258,7 @@ setTag(Symbol, 'Symbol');
|
|
2255
2258
|
setTag(Math, 'Math', true);
|
2256
2259
|
// 24.3.3 JSON[@@toStringTag]
|
2257
2260
|
setTag($.g.JSON, 'JSON', true);
|
2258
|
-
},{"./$":15,"./$.cof":6,"./$.def":11,"./$.keyof":16,"./$.
|
2261
|
+
},{"./$":15,"./$.cof":6,"./$.def":11,"./$.keyof":16,"./$.uid":24,"./$.wks":26}],59:[function(require,module,exports){
|
2259
2262
|
'use strict';
|
2260
2263
|
var $ = require('./$')
|
2261
2264
|
, weak = require('./$.collection-weak')
|
@@ -2414,8 +2417,8 @@ function wrap(set){
|
|
2414
2417
|
} : set;
|
2415
2418
|
}
|
2416
2419
|
$def($def.G + $def.B + $def.F * MSIE, {
|
2417
|
-
setTimeout: wrap(setTimeout),
|
2418
|
-
setInterval: wrap(setInterval)
|
2420
|
+
setTimeout: wrap($.g.setTimeout),
|
2421
|
+
setInterval: wrap($.g.setInterval)
|
2419
2422
|
});
|
2420
2423
|
},{"./$":15,"./$.def":11,"./$.invoke":13,"./$.partial":18}],70:[function(require,module,exports){
|
2421
2424
|
require('./modules/es5');
|
data/lib/babel/source.rb
CHANGED