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.3.6 to 1.4.0

6

bower.json
{
"name": "asty-astq",
"version": "1.3.6",
"version": "1.4.0",
"description": "ASTy integration to ASTq",

@@ -13,4 +13,4 @@ "main": "lib/asty-astq.browser.js",

"dependencies": {
"asty": "~1.3.4",
"astq": "~1.5.5"
"asty": "~1.4.0",
"astq": "~1.6.0"
},

@@ -17,0 +17,0 @@ "ignore": [

@@ -46,3 +46,3 @@ /*

options: {
transform: [ "babelify" ],
transform: [ [ "babelify", { presets: [ "es2015" ] } ] ],
plugin: [

@@ -66,3 +66,3 @@ [ "minifyify", { map: "asty-astq.browser.map", output: "lib/asty-astq.browser.map" } ],

options: {
transform: [ "babelify" ],
transform: [ [ "babelify", { presets: [ "es2015" ] } ] ],
plugin: [

@@ -69,0 +69,0 @@ [ "browserify-derequire" ],

@@ -26,2 +26,12 @@ /*

(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.ASTYASTQ = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
"use strict";
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
/*

@@ -52,12 +62,2 @@ ** ASTy-ASTq -- Abstract Syntax Tree With Integrated Query Engine

/* require both ASTy and ASTq */
"use strict";
var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var ASTY = _dereq_("asty");

@@ -112,13 +112,18 @@ var ASTQ = _dereq_("astq");

function ASTYASTQ() {
var _ret, _ret2;
_classCallCheck(this, ASTYASTQ);
_get(Object.getPrototypeOf(ASTYASTQ.prototype), "constructor", this).call(this);
/* allow us to be called without "new" */
if (!(this instanceof ASTYASTQ)) return new ASTYASTQ();
var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(ASTYASTQ).call(this));
if (!(_this instanceof ASTYASTQ)) return _ret = new ASTYASTQ(), _possibleConstructorReturn(_this, _ret);
/* give ASTy super class a chance to initialize */
_get(Object.getPrototypeOf(ASTYASTQ.prototype), "constructor", this).call(this);
/* create an ASTq instance, able to operate on ASTy */
var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(ASTYASTQ).call(this));
var astq = new ASTQ();

@@ -128,3 +133,3 @@ astq.adapter(new ASTQAdapter());

/* extend this ASTy instance with an ASTq query method */
this.extend({
_this.extend({
query: function query(selector, params, trace) {

@@ -134,3 +139,3 @@ return astq.query(this, selector, params, trace);

});
return this;
return _ret2 = _this, _possibleConstructorReturn(_this, _ret2);
}

@@ -137,0 +142,0 @@

{
"name": "asty-astq",
"version": "1.3.6",
"version": "1.4.0",
"description": "Abstract Syntax Tree With Integrated Query Engine",

@@ -22,10 +22,11 @@ "keywords": [ "ast", "abstract", "syntax", "tree", "query", "engine", "integration", "asty", "astq" ],

"grunt-cli": "~0.1.13",
"grunt-contrib-jshint": "~0.11.2",
"grunt-contrib-clean": "~0.6.0",
"grunt-browserify": "~4.0.0",
"grunt-contrib-jshint": "~0.11.3",
"grunt-contrib-clean": "~0.7.0",
"grunt-browserify": "~4.0.1",
"grunt-mocha-test": "~0.12.7",
"mocha": "~2.2.5",
"chai": "~3.2.0",
"babelify": "~6.2.0",
"minifyify": "~7.0.5",
"mocha": "~2.3.4",
"chai": "~3.4.1",
"babelify": "~7.2.0",
"babel-preset-es2015": "~6.3.13",
"minifyify": "~7.1.0",
"browserify-header": "~0.9.2",

@@ -35,5 +36,5 @@ "browserify-derequire": "~0.9.4"

"dependencies": {
"asty": "~1.3.4",
"astq": "~1.5.5"
"asty": "~1.4.0",
"astq": "~1.6.0"
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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