Comparing version 1.1.0 to 1.1.1
@@ -32,5 +32,5 @@ /* | ||
},{}],4:[function(_dereq_,module,exports){ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var version={major:1,minor:0,micro:9,date:20150308};exports["default"]=version,module.exports=exports["default"]; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var version={major:1,minor:1,micro:1,date:20150421};exports["default"]=version,module.exports=exports["default"]; | ||
},{}],5:[function(_dereq_,module,exports){ | ||
"use strict";var _classCallCheck=function(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")},_createClass=function(){function n(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();Object.defineProperty(exports,"__esModule",{value:!0});var ASTYWalk=function(){function n(){_classCallCheck(this,n)}return _createClass(n,[{key:"walk",value:function(n,e){"undefined"==typeof e&&(e="downward");var t=function(n){function e(e,t,r){return n.apply(this,arguments)}return e.toString=function(){return e.toString()},e}(function(r,a,o){("downward"===e||"both"===e)&&n.call(null,r,a,o,"downward"),r.C.forEach(function(n){t(n,a+1,r)}),("upward"===e||"both"===e)&&n.call(null,r,a,o,"upward")});return t(this,0,null),this}}]),n}();exports["default"]=ASTYWalk,module.exports=exports["default"]; | ||
"use strict";var _classCallCheck=function(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")},_createClass=function(){function n(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();Object.defineProperty(exports,"__esModule",{value:!0});var ASTYWalk=function(){function n(){_classCallCheck(this,n)}return _createClass(n,[{key:"walk",value:function(n,e){"undefined"==typeof e&&(e="downward");var t=function(n){function e(e,t,r){return n.apply(this,arguments)}return e.toString=function(){return n.toString()},e}(function(r,a,o){("downward"===e||"both"===e)&&n.call(null,r,a,o,"downward"),r.C.forEach(function(n){t(n,a+1,r)}),("upward"===e||"both"===e)&&n.call(null,r,a,o,"upward")});return t(this,0,null),this}}]),n}();exports["default"]=ASTYWalk,module.exports=exports["default"]; | ||
},{}],6:[function(_dereq_,module,exports){ | ||
@@ -37,0 +37,0 @@ "use strict";var _interopRequireWildcard=function(e){return e&&e.__esModule?e:{"default":e}},_classCallCheck=function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")},_createClass=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}();Object.defineProperty(exports,"__esModule",{value:!0});var _ASTYBase=_dereq_("./asty-base.js"),_ASTYBase2=_interopRequireWildcard(_ASTYBase),_ASTYMerge=_dereq_("./asty-merge.js"),_ASTYMerge2=_interopRequireWildcard(_ASTYMerge),_ASTYWalk=_dereq_("./asty-walk.js"),_ASTYWalk2=_interopRequireWildcard(_ASTYWalk),_ASTYDump=_dereq_("./asty-dump.js"),_ASTYDump2=_interopRequireWildcard(_ASTYDump),_ASTYVersion=_dereq_("./asty-version.js"),_ASTYVersion2=_interopRequireWildcard(_ASTYVersion),ASTYCtx=function(){function e(){var r=this;_classCallCheck(this,e),this.ASTYNode=function(){};var t=[[_ASTYBase2["default"],"init","type","pos","set","get","attrs","add","del","childs","parent"],[_ASTYMerge2["default"],"merge"],[_ASTYWalk2["default"],"walk"],[_ASTYDump2["default"],"dump"]];return t.forEach(function(e){var t=e[0].prototype;e.slice(1).forEach(function(e){r.ASTYNode.prototype[e]=t[e]})}),this}return _createClass(e,[{key:"version",value:function(){return _ASTYVersion2["default"]}},{key:"extend",value:function(e){for(var r in e)e.hasOwnProperty(r)&&(this.ASTYNode.prototype[r]=e[r]);return this}},{key:"create",value:function(e){return(new this.ASTYNode).init(e)}},{key:"isA",value:function(e){return"object"==typeof e&&e instanceof this.ASTYNode&&"boolean"==typeof e.ASTy&&e.ASTy===!0}}]),e}();exports["default"]=ASTYCtx,module.exports=exports["default"]; |
@@ -399,11 +399,11 @@ /* | ||
/* global 1: false */ | ||
/* global 0: false */ | ||
/* global 9: false */ | ||
/* global 20150308: false */ | ||
/* global 1: false */ | ||
/* global 1: false */ | ||
/* global 20150421: false */ | ||
var version = { | ||
major: 1, | ||
minor: 0, | ||
micro: 9, | ||
date: 20150308 | ||
minor: 1, | ||
micro: 1, | ||
date: 20150421 | ||
}; | ||
@@ -465,3 +465,3 @@ | ||
_walk.toString = function () { | ||
return _walk.toString(); | ||
return _walk2.toString(); | ||
}; | ||
@@ -468,0 +468,0 @@ |
{ | ||
"name": "asty", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Abstract Syntax Tree (AST) Data Structure", | ||
@@ -25,10 +25,10 @@ "keywords": [ "ast", "abstract", "syntax", "tree", "data", "structure" ], | ||
"grunt-cli": "~0.1.13", | ||
"grunt-contrib-jshint": "~0.11.1", | ||
"grunt-contrib-jshint": "~0.11.2", | ||
"grunt-contrib-clean": "~0.6.0", | ||
"grunt-browserify": "~3.6.0", | ||
"grunt-browserify": "~3.7.0", | ||
"grunt-jscs": "~1.6.0", | ||
"grunt-mocha-test": "~0.12.7", | ||
"mocha": "~2.2.1", | ||
"mocha": "~2.2.4", | ||
"chai": "~2.2.0", | ||
"babelify": "~6.0.1", | ||
"babelify": "~6.0.2", | ||
"minifyify": "~6.4.0", | ||
@@ -35,0 +35,0 @@ "browserify-header": "~0.9.2", |
Sorry, the diff of this file is not supported yet
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
104905