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

krasota

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

krasota - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

8

lib/parser.js

@@ -644,2 +644,6 @@ var ometajs_ = require("ometajs");

return this._rule("string", false, [], null, this["string"]);
}) || this._atomic(function() {
return this._rule("number", false, [], null, this["number"]);
}) || this._atomic(function() {
return this._rule("keyword", false, [ undefined ], null, this["keyword"]);
})) && (n = this._getIntermediate(), true) && this._rule("sc", false, [], null, this["sc"]) && (sc2 = this._getIntermediate(), true) && this._match(":") && this._rule("sc", false, [], null, this["sc"]) && (sc3 = this._getIntermediate(), true) && this._rule("asgnExpr", false, [], null, this["asgnExpr"]) && (v = this._getIntermediate(), true) && this._rule("sc", false, [], null, this["sc"]) && (sc4 = this._getIntermediate(), true) && this._exec([ "objItem", sc1, n, sc2, sc3, v, sc4 ]);

@@ -842,3 +846,3 @@ };

var sc1, e, sc2, c;
return this._rule("keyword", false, [ "for" ], null, this["keyword"]) && this._rule("sc", false, [], null, this["sc"]) && (sc1 = this._getIntermediate(), true) && this._rule("forStmtExprs", false, [], null, this["forStmtExprs"]) && (e = this._getIntermediate(), true) && this._rule("sc", false, [], null, this["sc"]) && (sc2 = this._getIntermediate(), true) && this._rule("block", false, [], null, this["block"]) && (c = this._getIntermediate(), true) && this._exec([ "forStmt", sc1, e, sc2, c ]);
return this._rule("keyword", false, [ "for" ], null, this["keyword"]) && this._rule("sc", false, [], null, this["sc"]) && (sc1 = this._getIntermediate(), true) && this._rule("forStmtExprs", false, [], null, this["forStmtExprs"]) && (e = this._getIntermediate(), true) && this._rule("sc", false, [], null, this["sc"]) && (sc2 = this._getIntermediate(), true) && this._rule("stmtContent", false, [], null, this["stmtContent"]) && (c = this._getIntermediate(), true) && this._exec([ "forStmt", sc1, e, sc2, c ]);
};

@@ -872,3 +876,3 @@

var sc1, e, sc2, c;
return this._rule("keyword", false, [ "for" ], null, this["keyword"]) && this._rule("sc", false, [], null, this["sc"]) && (sc1 = this._getIntermediate(), true) && this._rule("forInStmtExpr", false, [], null, this["forInStmtExpr"]) && (e = this._getIntermediate(), true) && this._rule("sc", false, [], null, this["sc"]) && (sc2 = this._getIntermediate(), true) && this._rule("block", false, [], null, this["block"]) && (c = this._getIntermediate(), true) && this._exec([ "forInStmt", sc1, e, sc2, c ]);
return this._rule("keyword", false, [ "for" ], null, this["keyword"]) && this._rule("sc", false, [], null, this["sc"]) && (sc1 = this._getIntermediate(), true) && this._rule("forInStmtExpr", false, [], null, this["forInStmtExpr"]) && (e = this._getIntermediate(), true) && this._rule("sc", false, [], null, this["sc"]) && (sc2 = this._getIntermediate(), true) && this._rule("stmtContent", false, [], null, this["stmtContent"]) && (c = this._getIntermediate(), true) && this._exec([ "forInStmt", sc1, e, sc2, c ]);
};

@@ -875,0 +879,0 @@

{
"name": "krasota",
"description": "Syntactic transformations of JavaScript code, with taking care of whitespaces and comments.",
"version": "0.2.1",
"version": "0.2.2",
"homepage": "http://github.com/veged/krasota.js",

@@ -22,3 +22,3 @@ "author": "Sergey Berezhnoy <veged@ya.ru> (http://github.com/veged)",

"q": "0.7.x",
"ometajs": "3.3.x",
"ometajs": "4.0.x",
"eyes": "0.1.x",

@@ -25,0 +25,0 @@ "ignore": "2.2.8"

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