babel-source 5.0.11 → 5.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +8 -8
  2. data/lib/babel.js +6 -1
  3. data/lib/babel/source.rb +2 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzBhZjBjODNlMDUxNTJkYTk4ZGM0YjdiNGU0NjJjMWI1MDkxZTg3Mw==
4
+ MGRhNzE2NjdiNjM5YzM4YzQzY2U4MzI2OWEzMjdmY2MyOGYyOWEwYw==
5
5
  data.tar.gz: !binary |-
6
- ZGM3OTQwOGE2MjNhODYxZDA0NzVjNThmMDAzMjY5MTE4N2Y3MjBmYQ==
6
+ ZGFmZTBjYmM0YzA2YWRkNWZiNzE1YWM2ZWY5NjZjNjA3ZmY1ZjQxMQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MDM4NjAzMDNlN2QxODg5NDAwMmY0ZmFmODg2ZjA0ODUyODJhOWRkNDIxZGQ5
10
- MGY0MjE1NGNlYjQ1NDNmZjRhNDQyNTE5MTc2OTk3NDFkY2NiMmUyZjEyYjlm
11
- MTY2YmE3MjRhZTRmZWI0NGY5NjdjZDhiMDNmZTY5ODljMTRlMjg=
9
+ YjAxOTE5MjdmMTU3OGI5Y2UyYzE2Y2Q1YzkwZjA5OGIzZThhNmNjZmJjMzNm
10
+ NWNjMDMzMzViYWFlYWMwODM0ZmVlMmNmNmQ1MGY3ZGQxYjI4ODUzOGMyYmFl
11
+ NjNkMzdjNjU1YjdiZWNmMTZhMDAwZDU0NzA2NzMzM2NiMTY0MTE=
12
12
  data.tar.gz: !binary |-
13
- ZjkxZWJmM2M4NGZiMmU4MjExOWYyOTdhYjMzMDE5Yzc3M2I3MDRiOTk1MzY2
14
- N2QzZWE2MzY4ZDAyZGI3YjdlYWU0N2NkYjhhZmExMjhhOTZkMTNkMGZhOTRm
15
- MDI1OGNiY2E5MjI3ZDMwYjMxYWQ2MTc0Y2FlZGViOGJiMmZhM2Q=
13
+ NjBiNjg2ZmQzYzdhMDBiNzdiY2Q5ZTZhYTNiMDlhMjU2ZDY1NzJlYmM4OGVl
14
+ NmViMzgyOTllMmQ2YzRjMzZmOGU4ZjQ5NzQ1ZmI2ZmFlM2RhMThlNTBlZGE2
15
+ ZWU5ODMwZGFhOWQ3M2JkM2QyMDMzMzM0MzNkYjUyYzk4MjQxODg=
@@ -9642,6 +9642,7 @@ var wrap = function wrap(state, method, id, scope) {
9642
9642
  FUNCTION_ID: id,
9643
9643
  FUNCTION_KEY: scope.generateUidIdentifier(id.name)
9644
9644
  });
9645
+ template.callee._skipModulesRemap = true;
9645
9646
 
9646
9647
  // shim in dummy params to retain function arity, if you try to read the
9647
9648
  // source then you'll get the original since it's proxied so it's all good
@@ -10413,6 +10414,10 @@ var remapVisitor = {
10413
10414
  }
10414
10415
  }
10415
10416
 
10417
+ if (node._skipModulesRemap) {
10418
+ return this.skip();
10419
+ }
10420
+
10416
10421
  if (t.isAssignmentExpression(node) && !node._ignoreModulesRemap) {
10417
10422
  var exported = formatter.getExport(node.left, scope);
10418
10423
  if (exported) {
@@ -49847,7 +49852,7 @@ module.exports = function (str) {
49847
49852
  module.exports={
49848
49853
  "name": "babel-core",
49849
49854
  "description": "Turn ES6 code into readable vanilla ES5 with source maps",
49850
- "version": "5.0.11",
49855
+ "version": "5.0.12",
49851
49856
  "author": "Sebastian McKenzie <sebmck@gmail.com>",
49852
49857
  "homepage": "https://babeljs.io/",
49853
49858
  "repository": "babel/babel",
@@ -1,7 +1,7 @@
1
1
  module Babel
2
2
  module Source
3
- VERSION = "5.0.11"
4
- DATE = Time.at(1428506068)
3
+ VERSION = "5.0.12"
4
+ DATE = Time.at(1428508502)
5
5
  PATH = File.expand_path("../..", __FILE__)
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: babel-source
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.11
4
+ version: 5.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian McKenzie