Comparing version 2.6.3 to 2.6.4
{ | ||
"name": "astq", | ||
"version": "2.6.3", | ||
"version": "2.6.4", | ||
"description": "Abstract Syntax Tree (AST) Query Engine", | ||
@@ -22,6 +22,6 @@ "keywords": [ "abstract", "syntax", "tree", "query", "engine", "adaptable" ], | ||
"pegjs": "0.10.0", | ||
"pegjs-otf": "1.2.13", | ||
"pegjs-otf": "1.2.15", | ||
"pegjs-util": "1.4.17", | ||
"asty": "1.8.6", | ||
"cache-lru": "1.1.8" | ||
"cache-lru": "1.1.9" | ||
}, | ||
@@ -34,16 +34,16 @@ "devDependencies": { | ||
"grunt-mocha-test": "0.13.3", | ||
"grunt-eslint": "21.1.0", | ||
"babel-eslint": "10.0.1", | ||
"@babel/core": "7.4.5", | ||
"eslint": "5.16.0", | ||
"eslint-config-standard": "12.0.0", | ||
"eslint-plugin-standard": "4.0.0", | ||
"eslint-plugin-promise": "4.1.1", | ||
"eslint-plugin-import": "2.17.3", | ||
"eslint-plugin-node": "9.1.0", | ||
"mocha": "6.1.4", | ||
"grunt-eslint": "22.0.0", | ||
"babel-eslint": "10.0.3", | ||
"@babel/core": "7.6.4", | ||
"eslint": "6.5.1", | ||
"eslint-config-standard": "14.1.0", | ||
"eslint-plugin-standard": "4.0.1", | ||
"eslint-plugin-promise": "4.2.1", | ||
"eslint-plugin-import": "2.18.2", | ||
"eslint-plugin-node": "10.0.0", | ||
"mocha": "6.2.2", | ||
"chai": "4.2.0", | ||
"babelify": "10.0.0", | ||
"@babel/preset-env": "7.4.5", | ||
"uglifyify": "5.0.1", | ||
"@babel/preset-env": "7.6.3", | ||
"uglifyify": "5.0.2", | ||
"browserify-header": "1.0.1", | ||
@@ -50,0 +50,0 @@ "browserify-derequire": "1.0.1", |
@@ -40,6 +40,6 @@ /* | ||
let checkField = (node, field) => { | ||
if ( node.hasOwnProperty(field) | ||
if ( Object.prototype.hasOwnProperty.call(node, field) | ||
&& this.taste(node[field])) | ||
childs.push(node[field]) | ||
else if ( node.hasOwnProperty(field) | ||
else if ( Object.prototype.hasOwnProperty.call(node, field) | ||
&& typeof node[field] === "object" | ||
@@ -69,3 +69,3 @@ && node[field] instanceof Array) { | ||
for (let field in node) | ||
if ( node.hasOwnProperty(field) | ||
if ( Object.prototype.hasOwnProperty.call(node, field) | ||
&& typeof node[field] !== "object" | ||
@@ -78,3 +78,3 @@ && field !== "kind" | ||
static getNodeAttrValue (node, attr) { | ||
if ( node.hasOwnProperty(attr) | ||
if ( Object.prototype.hasOwnProperty.call(node, attr) | ||
&& typeof node[attr] !== "object" | ||
@@ -81,0 +81,0 @@ && attr !== "kind" |
@@ -35,6 +35,6 @@ /* | ||
let checkField = (node, field) => { | ||
if ( node.hasOwnProperty(field) | ||
if ( Object.prototype.hasOwnProperty.call(node, field) | ||
&& this.taste(node[field])) | ||
childs.push(node[field]) | ||
else if ( node.hasOwnProperty(field) | ||
else if ( Object.prototype.hasOwnProperty.call(node, field) | ||
&& typeof node[field] === "object" | ||
@@ -81,3 +81,3 @@ && node[field] instanceof Array) { | ||
for (let field in node) | ||
if ( node.hasOwnProperty(field) | ||
if ( Object.prototype.hasOwnProperty.call(node, field) | ||
&& typeof node[field] !== "object") | ||
@@ -88,3 +88,3 @@ names.push(field) | ||
static getNodeAttrValue (node, attr) { | ||
if ( node.hasOwnProperty(attr) | ||
if ( Object.prototype.hasOwnProperty.call(node, attr) | ||
&& typeof node[attr] !== "object") | ||
@@ -91,0 +91,0 @@ return node[attr] |
@@ -45,6 +45,6 @@ /* | ||
let checkField = (node, field) => { | ||
if ( node.hasOwnProperty(field) | ||
if ( Object.prototype.hasOwnProperty.call(node, field) | ||
&& this.taste(node[field])) | ||
childs.push(node[field]) | ||
else if ( node.hasOwnProperty(field) | ||
else if ( Object.prototype.hasOwnProperty.call(node, field) | ||
&& typeof node[field] === "object" | ||
@@ -74,3 +74,3 @@ && node[field] instanceof Array) { | ||
for (let field in node) | ||
if ( node.hasOwnProperty(field) | ||
if ( Object.prototype.hasOwnProperty.call(node, field) | ||
&& typeof node[field] !== "object" | ||
@@ -83,3 +83,3 @@ && field !== "type" | ||
static getNodeAttrValue (node, attr) { | ||
if ( node.hasOwnProperty(attr) | ||
if ( Object.prototype.hasOwnProperty.call(node, attr) | ||
&& typeof node[attr] !== "object" | ||
@@ -86,0 +86,0 @@ && attr !== "type" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
393646
+ Addedcache-lru@1.1.9(transitive)
+ Addedlodash@4.17.15(transitive)
+ Addedpegjs-otf@1.2.15(transitive)
- Removedcache-lru@1.1.8(transitive)
- Removedlodash@4.17.11(transitive)
- Removedpegjs-otf@1.2.13(transitive)
Updatedcache-lru@1.1.9
Updatedpegjs-otf@1.2.15