[Pkg-javascript-commits] [node-ast-types] 01/03: New upstream version 0.9.4
Julien Puydt
julien.puydt at laposte.net
Fri Jan 20 08:13:33 UTC 2017
This is an automated email from the git hooks/post-receive script.
jpuydt-guest pushed a commit to branch master
in repository node-ast-types.
commit d922272b99b1a6a95c3ee46e2fc127904d928b89
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Fri Jan 20 09:11:05 2017 +0100
New upstream version 0.9.4
---
def/core.js | 5 +++--
def/flow.js | 8 ++++++++
package.json | 2 +-
3 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/def/core.js b/def/core.js
index 800b317..fce6759 100644
--- a/def/core.js
+++ b/def/core.js
@@ -36,8 +36,9 @@ module.exports = function (fork) {
def("File")
.bases("Node")
- .build("program")
- .field("program", def("Program"));
+ .build("program", "name")
+ .field("program", def("Program"))
+ .field("name", or(String, null), defaults["null"]);
def("Program")
.bases("Node")
diff --git a/def/flow.js b/def/flow.js
index 91dabc6..9302ab7 100644
--- a/def/flow.js
+++ b/def/flow.js
@@ -310,4 +310,12 @@ module.exports = function (fork) {
def("Literal"),
null
), defaults["null"]);
+
+ def("DeclareExportAllDeclaration")
+ .bases("Declaration")
+ .build("source")
+ .field("source", or(
+ def("Literal"),
+ null
+ ), defaults["null"]);
};
diff --git a/package.json b/package.json
index adaea00..67f0de5 100644
--- a/package.json
+++ b/package.json
@@ -18,7 +18,7 @@
"transformation",
"syntax"
],
- "version": "0.9.3",
+ "version": "0.9.4",
"homepage": "http://github.com/benjamn/ast-types",
"repository": {
"type": "git",
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-ast-types.git
More information about the Pkg-javascript-commits
mailing list