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

wikipedia

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wikipedia - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

6

dist/request.js

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

const errors_1 = require("./errors");
let API_URL = 'http://en.wikipedia.org/w/api.php?', REST_API_URL = 'http://en.wikipedia.org/api/rest_v1/';
let API_URL = 'https://en.wikipedia.org/w/api.php?', REST_API_URL = 'https://en.wikipedia.org/api/rest_v1/';
// RATE_LIMIT = false,

@@ -74,4 +74,4 @@ // RATE_LIMIT_MIN_WAIT = undefined,

function setAPIUrl(prefix) {
API_URL = 'http://' + prefix.toLowerCase() + '.wikipedia.org/w/api.php?';
REST_API_URL = 'http://' + prefix.toLowerCase() + '.wikipedia.org/api/rest_v1/';
API_URL = 'https://' + prefix.toLowerCase() + '.wikipedia.org/w/api.php?';
REST_API_URL = 'https://' + prefix.toLowerCase() + '.wikipedia.org/api/rest_v1/';
return API_URL;

@@ -78,0 +78,0 @@ }

{
"name": "wikipedia",
"version": "1.1.3",
"version": "1.1.4",
"description": "A JavaScript wrapper for the wikipedia apis",

@@ -5,0 +5,0 @@ "main": "dist",

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