New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jsstana

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsstana - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

5

bin/jsgrep.js
#!/usr/bin/env node
/* eslint-disable no-sync */

@@ -76,3 +77,3 @@ "use strict";

currVal = currVal + step.val;
currVal += step.val;
prevPos = currPos;

@@ -118,3 +119,3 @@ });

walk.sync(absfile, { "no_return": true }, function (p /*, stat */) {
walk.sync(absfile, { "no_return": true }, function (p) { // eslint-disable-line quote-props
p = path.resolve(p);

@@ -121,0 +122,0 @@

1

CHANGELOG.md
## Release History
- 0.1.6 — *2015-08-28* — Depdenency update
- 0.1.5 — *2014-02-25* — Dependency bump

@@ -4,0 +5,0 @@ - 0.1.4 — *2014-11-09* – jsstana.eslintRule

@@ -59,3 +59,3 @@ /**

function traverse(object, visitor) {
if (visitor.call(null, object) === false) {
if (visitor.call(null, object) === false) { // eslint-disable-line no-useless-call
return;

@@ -62,0 +62,0 @@ }

@@ -107,3 +107,3 @@ "use strict";

}
}
},
}[type](value);

@@ -120,15 +120,13 @@ }

return literalCaptureMatcher(type, value);
} else if (type === "regexp") {
return misc.nodeMatcher("Literal", function (node) {
if (!_.isRegExp(node.value)) { return undefined; }
return node.value.toString() === value ? {} : undefined;
});
} else {
if (type === "regexp") {
return misc.nodeMatcher("Literal", function (node) {
if (!_.isRegExp(node.value)) { return undefined; }
return node.value.toString() === value ? {} : undefined;
});
} else {
value = literalValue(type, value);
value = literalValue(type, value);
return misc.nodeMatcher("Literal", function (node) {
return node.value === value ? {} : undefined;
});
}
return misc.nodeMatcher("Literal", function (node) {
return node.value === value ? {} : undefined;
});
}

@@ -135,0 +133,0 @@ }

"use strict";
/**
/**
#### (null-node)

@@ -5,0 +5,0 @@

"use strict";
/* eslint-disable quote-props */

@@ -3,0 +4,0 @@ var _ = require("underscore");

@@ -38,9 +38,3 @@ "use strict";

});
var res = p.consume(parser, input);
if (res.ok) {
return res.match;
} else {
throw new Error(res.message);
}
return parser.consume().run(input);
}

@@ -47,0 +41,0 @@

{
"name": "jsstana",
"description": "s-expression match patterns for Mozilla Parser AST",
"version": "0.1.5",
"version": "0.1.6",
"homepage": "https://github.com/phadej/jsstana",

@@ -18,8 +18,3 @@ "author": {

},
"licenses": [
{
"type": "BSD3",
"url": "https://github.com/phadej/jsstana/blob/master/LICENSE"
}
],
"license": "BSD-3-Clause",
"bin": {

@@ -36,12 +31,12 @@ "jsgrep": "./bin/jsgrep.js"

"devDependencies": {
"chai": "^2.1.0",
"chai": "^3.2.0",
"david": "^6.1.4",
"escodegen": "~1.6.1",
"eslint": "^0.15.0",
"eslint": "^1.3.0",
"istanbul": "~0.3.0",
"jscs": "^1.7.3",
"jshint": "~2.6.0",
"jsverify": "^0.5.1",
"jscs": "^2.1.1",
"jshint": "^2.8.0",
"jsverify": "^0.7.1",
"ljs": "~0.3.0",
"mocha": "~2.1.0"
"mocha": "^2.2.5"
},

@@ -58,11 +53,11 @@ "keywords": [

"dependencies": {
"packrattle": "~3.0.1",
"chalk": "^1.1.1",
"commander": "^2.8.1",
"esprima": "^2.5.0",
"estraverse": "^4.1.0",
"levenshtein": "~1.0.2",
"packrattle": "^4.1.0",
"underscore": "~1.8.2",
"walkdir": "0.0.7",
"commander": "~2.6.0",
"esprima": "~2.0.0",
"estraverse": "~1.9.1",
"levenshtein": "~1.0.2",
"chalk": "~1.0.0"
"walkdir": "0.0.10"
}
}

@@ -243,2 +243,3 @@ # jsstana

- 0.1.6 — *2015-08-28* — Depdenency update
- 0.1.5 — *2014-02-25* — Dependency bump

@@ -245,0 +246,0 @@ - 0.1.4 — *2014-11-09* – jsstana.eslintRule

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