Comparing version 1.12.2 to 1.12.3
@@ -53,9 +53,9 @@ /* | ||
/* require both ASTy and ASTq */ | ||
let ASTY = _dereq_("asty"); | ||
const ASTY = _dereq_("asty"); | ||
let ASTQ = _dereq_("astq"); | ||
const ASTQ = _dereq_("astq"); | ||
/* define an ASTq adapter for ASTy */ | ||
let ASTQAdapter = class ASTQAdapter { | ||
const ASTQAdapter = class ASTQAdapter { | ||
taste() | ||
@@ -90,3 +90,3 @@ /* node */ | ||
let ASTYASTQ = class ASTYASTQ extends ASTY { | ||
const ASTYASTQ = class ASTYASTQ extends ASTY { | ||
constructor() { | ||
@@ -100,3 +100,3 @@ /* give ASTy super class a chance to initialize */ | ||
let astq = new ASTQ(); | ||
const astq = new ASTQ(); | ||
astq.adapter(new ASTQAdapter()); | ||
@@ -103,0 +103,0 @@ /* extend this ASTy instance with ASTq methods */ |
{ | ||
"name": "asty-astq", | ||
"version": "1.12.2", | ||
"version": "1.12.3", | ||
"description": "Abstract Syntax Tree With Integrated Query Engine", | ||
@@ -25,16 +25,16 @@ "keywords": [ "ast", "abstract", "syntax", "tree", "query", "engine", "integration", "asty", "astq" ], | ||
"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.7.7", | ||
"eslint": "6.8.0", | ||
"eslint-config-standard": "14.1.0", | ||
"eslint-plugin-standard": "4.0.1", | ||
"eslint-plugin-promise": "4.2.1", | ||
"eslint-plugin-import": "2.19.1", | ||
"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.7.7", | ||
"uglifyify": "5.0.2", | ||
"browserify-header": "1.0.1", | ||
@@ -44,4 +44,4 @@ "browserify-derequire": "1.0.1" | ||
"dependencies": { | ||
"asty": "1.8.6", | ||
"astq": "2.6.3" | ||
"asty": "1.8.9", | ||
"astq": "2.6.6" | ||
}, | ||
@@ -48,0 +48,0 @@ "engines": { |
@@ -26,7 +26,7 @@ /* | ||
/* require both ASTy and ASTq */ | ||
let ASTY = require("asty") | ||
let ASTQ = require("astq") | ||
const ASTY = require("asty") | ||
const ASTQ = require("astq") | ||
/* define an ASTq adapter for ASTy */ | ||
let ASTQAdapter = class ASTQAdapter { | ||
const ASTQAdapter = class ASTQAdapter { | ||
taste (/* node */) { return true } | ||
@@ -41,3 +41,3 @@ getParentNode (node) { return node.parent() } | ||
/* define an ASTy super class hooking up ASTq to ASTy */ | ||
let ASTYASTQ = class ASTYASTQ extends ASTY { | ||
const ASTYASTQ = class ASTYASTQ extends ASTY { | ||
constructor () { | ||
@@ -52,3 +52,3 @@ /* give ASTy super class a chance to initialize */ | ||
/* create an ASTq instance, able to operate on ASTy */ | ||
let astq = new ASTQ() | ||
const astq = new ASTQ() | ||
astq.adapter(new ASTQAdapter()) | ||
@@ -55,0 +55,0 @@ |
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
124288
736
+ Addedastq@2.6.6(transitive)
+ Addedasty@1.8.81.8.9(transitive)
+ Addedcache-lru@1.1.10(transitive)
+ Addedlodash@4.17.15(transitive)
+ Addedpegjs-otf@1.2.16(transitive)
+ Addedpegjs-util@1.4.19(transitive)
- Removedastq@2.6.3(transitive)
- Removedasty@1.8.6(transitive)
- Removedcache-lru@1.1.8(transitive)
- Removedlodash@4.17.11(transitive)
- Removedpegjs-otf@1.2.13(transitive)
- Removedpegjs-util@1.4.17(transitive)
Updatedastq@2.6.6
Updatedasty@1.8.9