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.
@@ -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.");
@@ -1,7 +1,7 @@
1
1
  module Babel
2
2
  module Source
3
- VERSION = "5.6.17"
4
- DATE = Time.at(1436465066)
3
+ VERSION = "5.6.18"
4
+ DATE = Time.at(1436657990)
5
5
  PATH = File.expand_path("../..", __FILE__)
6
6
  end
7
7
  end
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.17
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-09 00:00:00.000000000 Z
11
+ date: 2015-07-11 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: sebmck@gmail.com