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

analyze

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

analyze - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

.npmignore

8

bin/analyze.js

@@ -16,2 +16,10 @@ #!/usr/bin/env node

program.command('validate')
.action(function() {
var builder = new Builder();
builder.buildProject(process.cwd()).then(function () {
builder.getErrorLog().report();
}).done();
});
program.parse(process.argv);

6

lib/analyze/inheritance/inherit-provider.js

@@ -7,3 +7,3 @@ var JsClass = require('../../object-model/class');

InheritProvider.prototype = {
process: function(file) {
process: function(file, errorLog) {
var classes = [];

@@ -66,4 +66,2 @@ var inheritMethodName = 'inherit';

);
// method.setStatic(isStatic);
// classObj.addMethod(method);
if (isStatic) {

@@ -79,2 +77,4 @@ classObj.addStaticMember(method);

}
} else {
errorLog.log('Could not extract class name at ' + file.getFilename());
}

@@ -81,0 +81,0 @@ }

{
"author": "Marat Dulin",
"name": "analyze",
"version": "0.0.3",
"version": "0.0.4",
"engines": {

@@ -6,0 +6,0 @@ "node": "0.10"

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