Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

asty-astq

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asty-astq - npm Package Compare versions

Comparing version 1.12.2 to 1.12.3

10

lib/asty-astq.node.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc