babel-source 5.6.17 → 5.6.18
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 +4143 -426
- data/lib/babel/polyfill.js +5 -0
- data/lib/babel/source.rb +2 -2
- metadata +2 -2
data/lib/babel/polyfill.js
CHANGED
@@ -33,6 +33,11 @@ var _path2 = _interopRequireDefault(_path);
|
|
33
33
|
|
34
34
|
var root = _path2["default"].resolve(__dirname, "../../../");
|
35
35
|
|
36
|
+
/**
|
37
|
+
* Protect Babel internals from being hotlinked by other tools.
|
38
|
+
* Sorry, not sorry.
|
39
|
+
*/
|
40
|
+
|
36
41
|
exports["default"] = function (module) {
|
37
42
|
if (module.parent && module.parent.filename.indexOf(root) !== 0) {
|
38
43
|
throw new Error("Don't hotlink internal Babel files.");
|
data/lib/babel/source.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: babel-source
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.6.
|
4
|
+
version: 5.6.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian McKenzie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: sebmck@gmail.com
|