babel-source 5.4.6 → 5.4.7

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 +5 -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
- NzI1Nzk5ZTlkNTBhMmM3MWY2YWJhMmVjYTY1ODhkNTk2NzUzZWFlMg==
4
+ YTFkOWM4NGUxOTEwYzQzYjFlMjBmZjRhYTI5NDhhNWY4YzVkOGE2ZA==
5
5
  data.tar.gz: !binary |-
6
- MmZiNWRiNDg3M2NiNTZmNzQ0Y2U0OWJiNmM2MGU2Y2Y1NThmOGVlNg==
6
+ NGYyOTZmNzA2MjMwNjkxMDQzOTZhNjc5NmVkODc2NWUwMTUyNjdhYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjQ4MGVhZDQ5ZmQ3NTk0MTRhNjc0NDFkODFlYTM3ZmVkMzdlMTJkNDdlYWU2
10
- ODlhOTcyM2M1NzE5OGU3ZDQxNjVhODRjMGRkZjM1ZTU4MjBjZWM1MTczZjBj
11
- YWFhNzJjZGFmOGZjNDBkMDdlYWI0OWI1ZWZhZGFhMDJjMTI0MGM=
9
+ NjFhNWI0NzQxMDViZDE2MWMzY2RmMzM2MTFhNGQ4Mjc0YmY5NDIzOTVhMGVi
10
+ NzMzOWJlODE1N2UwNzQ1NWZlYmU0OTNjMzlmM2Y2ZGZmYzJjMjI3OGJiMWI2
11
+ NWM3MDRiZTk5NjdlOWIxMGY2YTY0NWYxNWRiNTliYzI3NWVlMWI=
12
12
  data.tar.gz: !binary |-
13
- Mjc3YmViMjhjMGNlZmFjOTA1MGU2YWZjNjdjYTdhNjQwYmJkZjNmMjkxYTVi
14
- YmI5MWFlNmU1OTQzMjA3YjY4ZjMzMDQwNjM0NzljZTRhMTc4ODU1ZWQ5MWM5
15
- OWIxMWQxMWZmY2VjOTBjNjhiYWU1NDA0MDAyMmViNjJmNTQ5OGI=
13
+ YWM0YmViNzhmNzM4ZGI5YzRmYjhkYzI1YTdlOWVmM2EyYWVjMDA4NDM1MWUy
14
+ MmRiNWVjZjE4MmQzMGUyMjcxODA4NTVlZDdjMDRkMGM0NjBjNTU5YmMwMmMy
15
+ OWQ0YzI4NjQwZWE0ZDM1ZTY4NzgyOGUxYjc5YjhmY2UyNzhjNDk=
@@ -22557,6 +22557,10 @@ function isReferenced(node, parent) {
22557
22557
  case "ImportNamespaceSpecifier":
22558
22558
  return false;
22559
22559
 
22560
+ // no: <div NODE="foo" />
22561
+ case "JSXAttribute":
22562
+ return parent.name !== node;
22563
+
22560
22564
  // no: import { NODE as foo } from "foo";
22561
22565
  // no: import { foo as NODE } from "foo";
22562
22566
  case "ImportSpecifier":
@@ -86298,7 +86302,7 @@ module.exports = function (str) {
86298
86302
  module.exports={
86299
86303
  "name": "babel-core",
86300
86304
  "description": "A compiler for writing next generation JavaScript",
86301
- "version": "5.4.6",
86305
+ "version": "5.4.7",
86302
86306
  "author": "Sebastian McKenzie <sebmck@gmail.com>",
86303
86307
  "homepage": "https://babeljs.io/",
86304
86308
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  module Babel
2
2
  module Source
3
- VERSION = "5.4.6"
4
- DATE = Time.at(1432230382)
3
+ VERSION = "5.4.7"
4
+ DATE = Time.at(1432231170)
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.4.6
4
+ version: 5.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian McKenzie