babel-source 4.7.9 → 4.7.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/babel.js +5 -2
- 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
|
+
MDA5MjYzNTI5ZWY0MGJjNzQ3Zjg1MTcyZGQxNzFhNTdlNzc1ZmY0OQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NzkxZmMyNjU1ZDRhOGY4ZWJmNTQ0MzFkNmU3NzU0NjIwMThiNmE2Mw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MDViODZkNjExN2RmZGZhMjRiMzYzYWM3ZWY2ZmY1MDI5NDA2YzFkMTkwODRl
|
10
|
+
MGYyNTFlZjY2MThiOWIwYzQ0OTY2MDNiMmZjYWY4NTZhNmJkNGQyMmFlM2Yx
|
11
|
+
NGRjOGM5YmM5YTIzMzkyOWNhOTQxM2I0OGY3NmRiYTY2ZDA5ZTU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YTFjMzZiMTg1ODljOTc3Y2E1NTdkOTZhNzE4YWYwMDI3NDg3ODY2YjE3Yzhh
|
14
|
+
NGJiZDEzMzY5N2VjMTNlZWIyY2VmM2UxYThkOTQ3NjcyNmE3ZWMxZTdhYWQ2
|
15
|
+
OWNhNTQyNWRhNmQyYTU4NDIwYmJhOWU3OGI5YTY1ODNkMTA5MmM=
|
data/lib/babel.js
CHANGED
@@ -3225,7 +3225,7 @@ var File = (function () {
|
|
3225
3225
|
File.prototype.parseInputSourceMap = function parseInputSourceMap(code) {
|
3226
3226
|
var opts = this.opts;
|
3227
3227
|
|
3228
|
-
if (opts.inputSourceMap
|
3228
|
+
if (opts.inputSourceMap !== false) {
|
3229
3229
|
var inputMap = convertSourceMap.fromSource(code);
|
3230
3230
|
if (inputMap) {
|
3231
3231
|
opts.inputSourceMap = inputMap.toObject();
|
@@ -10063,6 +10063,7 @@ build(exports, {
|
|
10063
10063
|
}),
|
10064
10064
|
|
10065
10065
|
build: function build(node, file) {
|
10066
|
+
console.error("The memoization operator is deprecated and will be removed in 5.0.0");
|
10066
10067
|
return t.unaryExpression("!", t.callExpression(t.memberExpression(file.addHelper("has-own"), t.identifier("call")), [node.object, node.property]), true);
|
10067
10068
|
}
|
10068
10069
|
});
|
@@ -10136,6 +10137,8 @@ function MethodDefinition(node, parent, scope, file) {
|
|
10136
10137
|
if (node.kind !== "memo") return;
|
10137
10138
|
node.kind = "get";
|
10138
10139
|
|
10140
|
+
console.error("Object getter memoization is deprecated and will be removed in 5.0.0");
|
10141
|
+
|
10139
10142
|
var value = node.value;
|
10140
10143
|
t.ensureBlock(value);
|
10141
10144
|
|
@@ -46207,7 +46210,7 @@ module.exports = function (str) {
|
|
46207
46210
|
module.exports={
|
46208
46211
|
"name": "babel",
|
46209
46212
|
"description": "Turn ES6 code into readable vanilla ES5 with source maps",
|
46210
|
-
"version": "4.7.
|
46213
|
+
"version": "4.7.10",
|
46211
46214
|
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
46212
46215
|
"homepage": "https://babeljs.io/",
|
46213
46216
|
"repository": "babel/babel",
|
data/lib/babel/source.rb
CHANGED