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

asty

Package Overview
Dependencies
Maintainers
1
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asty - npm Package Compare versions

Comparing version 0.9.2 to 0.9.3

tst/asty.js

11

Gruntfile.js

@@ -30,2 +30,3 @@ /*

grunt.loadNpmTasks("grunt-browserify");
grunt.loadNpmTasks("grunt-mocha-test");

@@ -58,2 +59,11 @@ grunt.initConfig({

},
mochaTest: {
"asty": {
src: [ "tst/*.js", "!tst/common.js" ]
},
options: {
reporter: "spec",
require: "tst/common.js"
}
},
clean: {

@@ -66,3 +76,4 @@ clean: [],

grunt.registerTask("default", [ "jshint", "browserify" ]);
grunt.registerTask("test", [ "mochaTest" ]);
};

4

lib/asty.js

@@ -34,4 +34,4 @@ /*

},{}],5:[function(require,module,exports){
"use strict";var _inherits=function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function, not "+typeof r);e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),r&&(e.__proto__=r)},ASTYBase=require("./asty-base.js"),ASTYQuery=require("./asty-query.js"),mixins=require("./asty-mixins.js"),ASTY=function(e){function r(){if(this instanceof r)return this.init.apply(this,arguments);var e=new r("");return e.init.apply(e,arguments)}return _inherits(r,e),r}(mixins(ASTYBase,ASTYQuery));module.exports=ASTY;
},{"./asty-base.js":1,"./asty-mixins.js":3,"./asty-query.js":4}]},{},[1,2,3,4,5])(5)
"use strict";var _inherits=function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function, not "+typeof r);e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),r&&(e.__proto__=r)},ASTYBase=require("./asty-base.js"),ASTYDump=require("./asty-dump.js"),ASTYQuery=require("./asty-query.js"),mixins=require("./asty-mixins.js"),ASTY=function(e){function r(){if(this instanceof r)return this.init.apply(this,arguments);var e=new r("");return e.init.apply(e,arguments)}return _inherits(r,e),r}(mixins(ASTYBase,ASTYDump,ASTYQuery));module.exports=ASTY;
},{"./asty-base.js":1,"./asty-dump.js":2,"./asty-mixins.js":3,"./asty-query.js":4}]},{},[1,2,3,4,5])(5)
});

@@ -38,0 +38,0 @@

{
"name": "asty",
"version": "0.9.2",
"version": "0.9.3",
"description": "Generic Abstract Syntax Tree (AST)",

@@ -28,2 +28,4 @@ "keywords": [ "ast", "abstract", "syntax", "tree" ],

"grunt-browserify": "~3.3.0",
"grunt-mocha-test": "~0.12.6",
"chai": "~1.10.0",
"6to5ify": "~3.1.2",

@@ -30,0 +32,0 @@ "minifyify": "~5.0.0",

@@ -26,6 +26,7 @@ /*

var ASTYBase = require("./asty-base.js");
var ASTYDump = require("./asty-dump.js");
var ASTYQuery = require("./asty-query.js");
var mixins = require("./asty-mixins.js");
var ASTY = class ASTY extends mixins(ASTYBase, ASTYQuery) {
var ASTY = class ASTY extends mixins(ASTYBase, ASTYDump, ASTYQuery) {
constructor () {

@@ -32,0 +33,0 @@ if (!(this instanceof ASTY)) {

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