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.
- checksums.yaml +8 -8
- data/lib/babel.js +4 -4
- data/lib/babel/source.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZWIzYzcwNTBjOTViOWFhOWNmYzY5N2I4MDhlM2I5MjE0ZDlhYzYzZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NzlkMDczMjAzMWZmMjA4YWEyZjliYjhjNTE5MzAxOTE0OWQyYWFkNQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NTFjY2I0YjNkZGM2MzE3MTMxZmY3ZjJkYjY4MzYxZGQ0ZjVhOGU0NmVlODZj
|
10
|
+
Yzk3YWFmZjY2Nzg2MjBmNzMzNzRmMDIxZjI3YWUwNGU4MzNlNGUxOWM3NzRj
|
11
|
+
ZmE2ODNmNmUwMDYyMTNlY2VhZTNmOGUyMWY3MjUxOWRiZTJmZDM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OGNkMWIwNmZjYmFhMzk2MGI3YjdlY2UyNGM2OWM5ZDJjNDY2YTZjMmQzOTYw
|
14
|
+
OWEyMjUxYWRlNjE4Y2JhNmUxODE3YTFlOGU1MjZlOGQ1ZWZiM2IyZWY5ZWUy
|
15
|
+
YTRmMjRmMTE1MTQwZDBhZjdiMGVmOTNmY2QzZTUzMjFiYTNlOTE=
|
data/lib/babel.js
CHANGED
@@ -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(
|
4330
|
-
pull(flags,
|
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.
|
46213
|
+
"version": "4.7.11",
|
46214
46214
|
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
46215
46215
|
"homepage": "https://babeljs.io/",
|
46216
46216
|
"repository": "babel/babel",
|
data/lib/babel/source.rb
CHANGED