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

ts-structure-parser

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-structure-parser - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

1

dist/fsUtils.js

@@ -0,1 +1,2 @@

"use strict";
var pth = require("path");

@@ -2,0 +3,0 @@ var fs = require("fs");

27

dist/tsASTMatchers.js

@@ -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

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