babel-source 4.7.10 → 4.7.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 +4 -4
  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
- MDA5MjYzNTI5ZWY0MGJjNzQ3Zjg1MTcyZGQxNzFhNTdlNzc1ZmY0OQ==
4
+ ZWIzYzcwNTBjOTViOWFhOWNmYzY5N2I4MDhlM2I5MjE0ZDlhYzYzZA==
5
5
  data.tar.gz: !binary |-
6
- NzkxZmMyNjU1ZDRhOGY4ZWJmNTQ0MzFkNmU3NzU0NjIwMThiNmE2Mw==
6
+ NzlkMDczMjAzMWZmMjA4YWEyZjliYjhjNTE5MzAxOTE0OWQyYWFkNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MDViODZkNjExN2RmZGZhMjRiMzYzYWM3ZWY2ZmY1MDI5NDA2YzFkMTkwODRl
10
- MGYyNTFlZjY2MThiOWIwYzQ0OTY2MDNiMmZjYWY4NTZhNmJkNGQyMmFlM2Yx
11
- NGRjOGM5YmM5YTIzMzkyOWNhOTQxM2I0OGY3NmRiYTY2ZDA5ZTU=
9
+ NTFjY2I0YjNkZGM2MzE3MTMxZmY3ZjJkYjY4MzYxZGQ0ZjVhOGU0NmVlODZj
10
+ Yzk3YWFmZjY2Nzg2MjBmNzMzNzRmMDIxZjI3YWUwNGU4MzNlNGUxOWM3NzRj
11
+ ZmE2ODNmNmUwMDYyMTNlY2VhZTNmOGUyMWY3MjUxOWRiZTJmZDM=
12
12
  data.tar.gz: !binary |-
13
- YTFjMzZiMTg1ODljOTc3Y2E1NTdkOTZhNzE4YWYwMDI3NDg3ODY2YjE3Yzhh
14
- NGJiZDEzMzY5N2VjMTNlZWIyY2VmM2UxYThkOTQ3NjcyNmE3ZWMxZTdhYWQ2
15
- OWNhNTQyNWRhNmQyYTU4NDIwYmJhOWU3OGI5YTY1ODNkMTA5MmM=
13
+ OGNkMWIwNmZjYmFhMzk2MGI3YjdlY2UyNGM2OWM5ZDJjNDY2YTZjMmQzOTYw
14
+ OWEyMjUxYWRlNjE4Y2JhNmUxODE3YTFlOGU1MjZlOGQ1ZWZiM2IyZWY5ZWUy
15
+ YTRmMjRmMTE1MTQwZDBhZjdiMGVmOTNmY2QzZTUzMjFiYTNlOTE=
@@ -4326,8 +4326,8 @@ function is(node, flag) {
4326
4326
 
4327
4327
  function pullFlag(node, flag) {
4328
4328
  var flags = node.regex.flags.split("");
4329
- if (node.regex.flags.indexOf("u") < 0) return;
4330
- pull(flags, "u");
4329
+ if (node.regex.flags.indexOf(flag) < 0) return;
4330
+ pull(flags, flag);
4331
4331
  node.regex.flags = flags.join("");
4332
4332
  }
4333
4333
 
@@ -8261,8 +8261,8 @@ function check(node) {
8261
8261
 
8262
8262
  function Literal(node) {
8263
8263
  if (!regex.is(node, "u")) return;
8264
- regex.pullFlag(node, "y");
8265
8264
  node.regex.pattern = rewritePattern(node.regex.pattern, node.regex.flags);
8265
+ regex.pullFlag(node, "u");
8266
8266
  }
8267
8267
 
8268
8268
  exports.__esModule = true;
@@ -46210,7 +46210,7 @@ module.exports = function (str) {
46210
46210
  module.exports={
46211
46211
  "name": "babel",
46212
46212
  "description": "Turn ES6 code into readable vanilla ES5 with source maps",
46213
- "version": "4.7.10",
46213
+ "version": "4.7.11",
46214
46214
  "author": "Sebastian McKenzie <sebmck@gmail.com>",
46215
46215
  "homepage": "https://babeljs.io/",
46216
46216
  "repository": "babel/babel",
@@ -1,7 +1,7 @@
1
1
  module Babel
2
2
  module Source
3
- VERSION = "4.7.10"
4
- DATE = Time.at(1426258646)
3
+ VERSION = "4.7.11"
4
+ DATE = Time.at(1426260582)
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: 4.7.10
4
+ version: 4.7.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian McKenzie