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

robotstxt

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

robotstxt - npm Package Compare versions

Comparing version 0.0.1-6 to 0.0.1-7

6

index.js

@@ -199,3 +199,3 @@ (function() {

RobotsTxt.prototype.parse = function(txt) {
var currUserAgentGroup, evaluate, i, line, lineA, myGateKeeper, _i, _len;
var currUserAgentGroup, evaluate, line, lineA, line_counter, myGateKeeper, _i, _len;
if (txt == null) {

@@ -274,6 +274,6 @@ txt = txt;

}, this);
i = 0;
line_counter = 0;
for (_i = 0, _len = lineA.length; _i < _len; _i++) {
line = lineA[_i];
evaluate(line, ++i);
evaluate(line, ++line_counter);
}

@@ -280,0 +280,0 @@ if (myGateKeeper) {

@@ -19,3 +19,3 @@ {

"main" : "./index.js",
"version" : "0.0.1-6"
"version" : "0.0.1-7"
}

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