Comparing version 0.9.2 to 0.9.3
@@ -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" ]); | ||
}; | ||
@@ -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
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
55235
16
588
10