babel-source 4.7.13 → 4.7.14

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 +13 -2
  3. data/lib/babel/source.rb +2 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTMwYjgzYzFhODBkZGM4YWVmYTdkNjM3NjI2MTc2ZTZhYzE0MTUzMA==
4
+ YTRmZWNmZTU4MTkwZWU0Nzg0ZjZmNjVkYjUyNDEyOGYwNzkxOGU3MQ==
5
5
  data.tar.gz: !binary |-
6
- ZjliYTE5YzdjZmRmM2Q3NWQ2OGU2OWE1MzVkZmYyNGMxNzMxNDRjMw==
6
+ N2I3NTAyZDVkZWQ3MmU3ZTY0YmU3ZmJlZGM0NjZkNzU5ZTU0NTlmYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MDcxN2FkOGYwNTUyMWM0Y2YyYTU0NjFiMmRkMzMxYWM3OWRhNGNkNjlkZGE1
10
- ZDA1MTRhNmUyMWEyMzE4MTczYWQyNmI2MDYwZWVmZTBhMTFiMTBlNjE4Y2I4
11
- NjA1OWI0MjAyMjYxZDQxMTExOWY3ZTJiNjgxMTE3NGYyNjI4NGQ=
9
+ MGI4NjFhM2E5NmE2YTIzMjQ1YWI0ODY5ZWNmODUwOWQ2NDExZGY4ZTUwMjY1
10
+ NmNkMjU0ZTI4NmZlOThkODQ1MGE5ZGNiZjgxODdlOTc5ZDY4NTc5NmY5OWI4
11
+ NzdkODUwYzRhZDJiNGVhZDQ3MWQ0OWI4YjU1YzY1ZTRkZDE1OTY=
12
12
  data.tar.gz: !binary |-
13
- ZTIxMTY1NTdlNGM2ODA5NGYxNDA4NDcxNWNmMTFiOTcxYTM2NGE5NjkwOTZl
14
- YjcxM2Q3NzczOTI0MThmNjc1YzkxN2E3M2M4NmEyZGI1MmMzMWYwZDM5YWFl
15
- OTk2YTI3ZjNlMWEyNTA2NjRhMThlOTk4YzVjNGM2ZDIwYzAzNTI=
13
+ ZmI1YjUxODA3ZTNkY2IwYTVjODc3YTg5YzMyMmE2OTk5ZTUxNWU3NWNmOTI2
14
+ MzBmY2Y5MzQzN2JlNTQyOTdhMTFlOGY3ZWIxMjJlMGJlMDI3YmE5YzRlNDlk
15
+ ZjFhNDE4ZDYzNjFlYzU0ODRmNDkzOGY5ZTdmM2JhNjRjZDFlOGM=
@@ -8935,6 +8935,7 @@ var container = function container(parent, call, ret, file) {
8935
8935
  function AssignmentExpression(node, parent, scope, file) {
8936
8936
  var left = node.left;
8937
8937
  if (!t.isVirtualPropertyExpression(left)) return;
8938
+ console.error("Abstract references are deprecated and will be removed in 5.0.0");
8938
8939
 
8939
8940
  var value = node.right;
8940
8941
  var temp;
@@ -8969,6 +8970,7 @@ function UnaryExpression(node, parent, scope, file) {
8969
8970
  var arg = node.argument;
8970
8971
  if (!t.isVirtualPropertyExpression(arg)) return;
8971
8972
  if (node.operator !== "delete") return;
8973
+ console.error("Abstract references are deprecated and will be removed in 5.0.0");
8972
8974
 
8973
8975
  var call = util.template("abstract-expression-delete", {
8974
8976
  PROPERTY: arg.property,
@@ -8981,6 +8983,7 @@ function UnaryExpression(node, parent, scope, file) {
8981
8983
  function CallExpression(node, parent, scope) {
8982
8984
  var callee = node.callee;
8983
8985
  if (!t.isVirtualPropertyExpression(callee)) return;
8986
+ console.error("Abstract references are deprecated and will be removed in 5.0.0");
8984
8987
 
8985
8988
  var temp = scope.generateTempBasedOnNode(callee.object);
8986
8989
 
@@ -8999,6 +9002,7 @@ function CallExpression(node, parent, scope) {
8999
9002
  }
9000
9003
 
9001
9004
  function VirtualPropertyExpression(node) {
9005
+ console.error("Abstract references are deprecated and will be removed in 5.0.0");
9002
9006
  return util.template("abstract-expression-get", {
9003
9007
  PROPERTY: node.property,
9004
9008
  OBJECT: node.object
@@ -9006,6 +9010,7 @@ function VirtualPropertyExpression(node) {
9006
9010
  }
9007
9011
 
9008
9012
  function PrivateDeclaration(node) {
9013
+ console.error("Abstract references are deprecated and will be removed in 5.0.0");
9009
9014
  return t.variableDeclaration("const", node.declarations.map(function (id) {
9010
9015
  return t.variableDeclarator(id, t.newExpression(t.identifier("WeakMap"), []));
9011
9016
  }));
@@ -10047,6 +10052,7 @@ build(exports, {
10047
10052
  },
10048
10053
 
10049
10054
  build: function build(node) {
10055
+ console.error("The mallet operator is deprecated and will be removed in 5.0.0");
10050
10056
  return t.unaryExpression("!", node, true);
10051
10057
  }
10052
10058
  });
@@ -10082,6 +10088,7 @@ build(exports, {
10082
10088
  }),
10083
10089
 
10084
10090
  build: function build(node, file) {
10091
+ console.error("The memoization operator is deprecated and will be removed in 5.0.0");
10085
10092
  return t.unaryExpression("!", t.callExpression(t.memberExpression(file.addHelper("has-own"), t.identifier("call")), [node.object, node.property]), true);
10086
10093
  }
10087
10094
  });
@@ -12707,7 +12714,7 @@ function registerType(type, skipAliasCheck) {
12707
12714
  }
12708
12715
 
12709
12716
  var STATEMENT_OR_BLOCK_KEYS = exports.STATEMENT_OR_BLOCK_KEYS = ["consequent", "body", "alternate"];
12710
- var NATIVE_TYPE_NAMES = exports.NATIVE_TYPE_NAMES = ["Array", "Object", "Number", "Boolean", "Date", "Array", "String"];
12717
+ var NATIVE_TYPE_NAMES = exports.NATIVE_TYPE_NAMES = ["Array", "Object", "Number", "Boolean", "Date", "Array", "String", "Promise"];
12711
12718
  var FLATTENABLE_KEYS = exports.FLATTENABLE_KEYS = ["body", "expressions"];
12712
12719
  var FOR_INIT_KEYS = exports.FOR_INIT_KEYS = ["left", "init"];
12713
12720
  var COMMENT_KEYS = exports.COMMENT_KEYS = ["leadingComments", "trailingComments"];
@@ -32129,6 +32136,7 @@ module.exports={
32129
32136
  "event": false,
32130
32137
  "Event": false,
32131
32138
  "FileReader": false,
32139
+ "fetch": false,
32132
32140
  "find": false,
32133
32141
  "focus": false,
32134
32142
  "FocusEvent": false,
@@ -32139,6 +32147,7 @@ module.exports={
32139
32147
  "getComputedStyle": false,
32140
32148
  "getSelection": false,
32141
32149
  "HashChangeEvent": false,
32150
+ "Headers": false,
32142
32151
  "history": false,
32143
32152
  "HTMLAnchorElement": false,
32144
32153
  "HTMLBaseElement": false,
@@ -32255,6 +32264,8 @@ module.exports={
32255
32264
  "ProgressEvent": false,
32256
32265
  "prompt": false,
32257
32266
  "Range": false,
32267
+ "Request": false,
32268
+ "Response": false,
32258
32269
  "removeEventListener": false,
32259
32270
  "requestAnimationFrame": false,
32260
32271
  "resizeBy": false,
@@ -46232,7 +46243,7 @@ module.exports = function (str) {
46232
46243
  module.exports={
46233
46244
  "name": "babel",
46234
46245
  "description": "Turn ES6 code into readable vanilla ES5 with source maps",
46235
- "version": "4.7.13",
46246
+ "version": "4.7.14",
46236
46247
  "author": "Sebastian McKenzie <sebmck@gmail.com>",
46237
46248
  "homepage": "https://babeljs.io/",
46238
46249
  "repository": "babel/babel",
@@ -1,7 +1,7 @@
1
1
  module Babel
2
2
  module Source
3
- VERSION = "4.7.13"
4
- DATE = Time.at(1426554686)
3
+ VERSION = "4.7.14"
4
+ DATE = Time.at(1426666281)
5
5
  PATH = File.expand_path("../..", __FILE__)
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: babel-source
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.7.13
4
+ version: 4.7.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian McKenzie
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-17 00:00:00.000000000 Z
11
+ date: 2015-03-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: sebmck@gmail.com