ts-structure-parser
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -0,1 +1,2 @@ | ||
"use strict"; | ||
var pth = require("path"); | ||
@@ -2,0 +3,0 @@ var fs = require("fs"); |
@@ -0,1 +1,2 @@ | ||
"use strict"; | ||
var __extends = (this && this.__extends) || function (d, b) { | ||
@@ -27,3 +28,3 @@ for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | ||
return BasicMatcher; | ||
})(); | ||
}()); | ||
Matching.BasicMatcher = BasicMatcher; | ||
@@ -42,3 +43,3 @@ var ClassDeclarationMatcher = (function (_super) { | ||
return ClassDeclarationMatcher; | ||
})(BasicMatcher); | ||
}(BasicMatcher)); | ||
Matching.ClassDeclarationMatcher = ClassDeclarationMatcher; | ||
@@ -57,3 +58,3 @@ var FieldMatcher = (function (_super) { | ||
return FieldMatcher; | ||
})(BasicMatcher); | ||
}(BasicMatcher)); | ||
Matching.FieldMatcher = FieldMatcher; | ||
@@ -80,3 +81,3 @@ var AssignmentExpressionMatcher = (function (_super) { | ||
return AssignmentExpressionMatcher; | ||
})(BasicMatcher); | ||
}(BasicMatcher)); | ||
Matching.AssignmentExpressionMatcher = AssignmentExpressionMatcher; | ||
@@ -100,3 +101,3 @@ var VariableDeclarationMatcher = (function (_super) { | ||
return VariableDeclarationMatcher; | ||
})(BasicMatcher); | ||
}(BasicMatcher)); | ||
Matching.VariableDeclarationMatcher = VariableDeclarationMatcher; | ||
@@ -125,3 +126,3 @@ var ExpressionStatementMatcher = (function (_super) { | ||
return ExpressionStatementMatcher; | ||
})(BasicMatcher); | ||
}(BasicMatcher)); | ||
var SimpleIdentMatcher = (function (_super) { | ||
@@ -143,3 +144,3 @@ __extends(SimpleIdentMatcher, _super); | ||
return SimpleIdentMatcher; | ||
})(BasicMatcher); | ||
}(BasicMatcher)); | ||
var TrueMatcher = (function () { | ||
@@ -155,3 +156,3 @@ function TrueMatcher() { | ||
return TrueMatcher; | ||
})(); | ||
}()); | ||
var CallExpressionMatcher = (function (_super) { | ||
@@ -174,3 +175,3 @@ __extends(CallExpressionMatcher, _super); | ||
return CallExpressionMatcher; | ||
})(BasicMatcher); | ||
}(BasicMatcher)); | ||
Matching.SKIP = {}; | ||
@@ -201,3 +202,3 @@ function visit(n, cb) { | ||
return PathNode; | ||
})(); | ||
}()); | ||
Matching.PathNode = PathNode; | ||
@@ -230,3 +231,3 @@ var CallPath = (function () { | ||
return CallPath; | ||
})(); | ||
}()); | ||
Matching.CallPath = CallPath; | ||
@@ -251,3 +252,3 @@ var MemberExpressionMatcher = (function (_super) { | ||
return MemberExpressionMatcher; | ||
})(BasicMatcher); | ||
}(BasicMatcher)); | ||
function memberFromExp(objMatcher, tr) { | ||
@@ -319,3 +320,3 @@ if (tr === void 0) { tr = function (x) { return true; }; } | ||
return CallBaseMatcher; | ||
})(); | ||
}()); | ||
Matching.CallBaseMatcher = CallBaseMatcher; | ||
@@ -322,0 +323,0 @@ function ident(name) { |
@@ -0,1 +1,2 @@ | ||
"use strict"; | ||
var ts = require("typescript"); | ||
@@ -8,3 +9,3 @@ exports.tsm = require("./tsASTMatchers"); | ||
return EnumDeclaration; | ||
})(); | ||
}()); | ||
exports.EnumDeclaration = EnumDeclaration; | ||
@@ -11,0 +12,0 @@ (function (TypeKind) { |
{ | ||
"name": "ts-structure-parser", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"private": false, | ||
@@ -12,3 +12,4 @@ "main": "dist/tsStructureParser.js", | ||
"dependencies": { | ||
"underscore": "^1.8.3" | ||
"underscore": "^1.8.3", | ||
"typescript": "1.8.7" | ||
}, | ||
@@ -40,6 +41,6 @@ "typings": "./dist/tsStructureParser.d.ts", | ||
"devDependencies": { | ||
"typescript": "1.8.7", | ||
"typings": "^0.5.1", | ||
"webpack": "^1.3.7" | ||
"webpack": "^1.3.7", | ||
"json-loader":"^0.5.1" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
938
58824
2
1
+ Addedtypescript@1.8.7
+ Addedtypescript@1.8.7(transitive)