babel-source 5.2.10 → 5.2.11

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 +7 -8
  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
- ZDc3NTM5MjIxZjgxNzhiYjgwYTc3OWFhMDUxYjA4YTlmMDhlNTg0Ng==
4
+ MDY4MDhjMWMxNWIxZjYwOWFjNjUwOWRlMDFjYWNkNTZhYWRiMGQ4Zg==
5
5
  data.tar.gz: !binary |-
6
- ZGMzMGVkNmZkZDAzYmExNzkxOTJlMjg0OGQ2ZTA0OTcyYTU1NWNiZQ==
6
+ MjU4ZWFhYzlmMTBiNDdmZGM3NDBhYjBhZDY1YjIwZGIyODVhMzUyNA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- Y2JhMWNjNTc4NTllYTRlMjMzNzY2MWQ5YzY5Y2QyMzBiYzQwZGFiNjQyOGMy
10
- ODZhYmE3MjlhOGViOGM1MzBhNjA5MjMzN2U1MDMzYjNiYzQxZDc2ZTZjYWNi
11
- ZjQ3OWQxNTRmN2UzZGY0YTg1ODAxMDNkZWIxYWJkYjVmYTcyMmY=
9
+ Y2RmYjJlYWU3NmI4YzU1YzJhZjUzYTQ0ZmFkN2ZmMzc3ZDBhY2IwZjhiM2Zj
10
+ ZTc4NmQ0MGZkOGY0ZWUzZDQyMDVhOGY2MDdlNDlhNGI2MWMwNzA3MjA4NGUy
11
+ YzVjZmMyMGMzYzcyNjRkMjRhOWUzODM2NGVmOTE1NWE2M2YwNjk=
12
12
  data.tar.gz: !binary |-
13
- ZjM2MTUzZTg1ZDRiYjkwMzI5YWViMDY2ZjA0NzlkYmFiMTMxMTZlNGYwYTFl
14
- ZTEwNjA0ODkzOWZiNDA2MDA1NmUzOTczYzE4NzE0MmU4MDliOWUyNmUyMTM3
15
- MjI1N2ZkN2Y3MGYxODMyYWMyYzQ2M2RkMGYxOTNjZmJiMzVlNDI=
13
+ ZmZjMzhhNWNhNjdhM2JjNGMxMTA1ZWEyOTM1MmIxMjEwZWEyY2ZkN2JmOTkw
14
+ MzBkZTM3NDc3Yzc2NDFhZTQ5ZWVhZDgzMGE0NDg3M2ZlNzYzMDkyMWEyOTcy
15
+ MGYyMTkxZmMyMzY4ZGFiY2I3MjZlYjI1ZDI5NDM2MzU0ZDExMDU=
@@ -8807,7 +8807,7 @@ module.exports={
8807
8807
  "type": "string"
8808
8808
  },
8809
8809
 
8810
- "getModuleName": {
8810
+ "getModuleId": {
8811
8811
  "hidden": true
8812
8812
  },
8813
8813
 
@@ -10792,8 +10792,8 @@ var DefaultFormatter = (function () {
10792
10792
 
10793
10793
  DefaultFormatter.prototype.getModuleName = function getModuleName() {
10794
10794
  var opts = this.file.opts;
10795
- // moduleId is n/a if a `getModuleName()` is provided
10796
- if (opts.moduleId && !opts.getModuleName) {
10795
+ // moduleId is n/a if a `getModuleId()` is provided
10796
+ if (opts.moduleId && !opts.getModuleId) {
10797
10797
  return opts.moduleId;
10798
10798
  }
10799
10799
 
@@ -10824,10 +10824,9 @@ var DefaultFormatter = (function () {
10824
10824
  // normalize path separators
10825
10825
  moduleName = moduleName.replace(/\\/g, "/");
10826
10826
 
10827
- if (opts.getModuleName) {
10828
- // If return is falsy, assume they want us to use
10829
- // our generated default name
10830
- return opts.getModuleName(moduleName) || moduleName;
10827
+ if (opts.getModuleId) {
10828
+ // If return is falsy, assume they want us to use our generated default name
10829
+ return opts.getModuleId(moduleName) || moduleName;
10831
10830
  } else {
10832
10831
  return moduleName;
10833
10832
  }
@@ -82693,7 +82692,7 @@ module.exports = function (str) {
82693
82692
  module.exports={
82694
82693
  "name": "babel-core",
82695
82694
  "description": "Turn ES6 code into readable vanilla ES5 with source maps",
82696
- "version": "5.2.10",
82695
+ "version": "5.2.11",
82697
82696
  "author": "Sebastian McKenzie <sebmck@gmail.com>",
82698
82697
  "homepage": "https://babeljs.io/",
82699
82698
  "repository": "babel/babel",
@@ -1,7 +1,7 @@
1
1
  module Babel
2
2
  module Source
3
- VERSION = "5.2.10"
4
- DATE = Time.at(1430774619)
3
+ VERSION = "5.2.11"
4
+ DATE = Time.at(1430775148)
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.2.10
4
+ version: 5.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian McKenzie