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

i-promise-page-metrics

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i-promise-page-metrics - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

13

index.js

@@ -49,8 +49,7 @@ "use strict";

const opts = {
url: "http://www.checkmoz.com/moz-metrics/index_ajax.php",
url: "http://www.checkmoz.com/moz-metrics/ajax.php",
form: {
"enter_url": url,
"checks1": "68719476736",
"checks2": "34359738368",
"checks3": "16384"
"checks2": "34359738368"
}

@@ -66,6 +65,6 @@ };

return {
da: $(tds[3]).text(),
pa: $(tds[5]).text(),
ranks: $(tds[7]).text(),
links: $(tds[19]).text()
da: $(tds[3]).text().trim() || 0,
pa: $(tds[5]).text().trim() || 0,
ranks: $(tds[9]).text().trim() || 0,
links: $(tds[11]).text().trim() || 0
};

@@ -72,0 +71,0 @@ });

{
"name": "i-promise-page-metrics",
"version": "0.0.6",
"version": "0.0.7",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Fetches different page metrics for a given URL",

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

response.pa.should.be.above(10);
response.ranks.should.be.above(1);
response.ranks.should.equal(0);
response.links.should.be.above(100);

@@ -37,0 +37,0 @@

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