Socket
Socket
Sign inDemoInstall

wikipedia

Package Overview
Dependencies
9
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.7 to 1.1.8

0

dist/errors.d.ts

@@ -0,0 +0,0 @@ export declare class wikiError extends Error {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { pageOptions, searchOptions, geoOptions, listOptions, eventOptions, fcOptions, pdfOptions } from './optionTypes';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare const MSGS: {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export interface searchOptions {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ import { coordinatesResult, imageResult, langLinksResult, notFound, pageResult, relatedResult, wikiMediaResult, wikiSummary } from './resultTypes';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ declare function makeRequest(params: any, redirect?: boolean): Promise<any>;

1

dist/request.js

@@ -50,3 +50,2 @@ "use strict";

};
console.log(encodeURI(REST_API_URL + path));
const response = await node_fetch_1.default(encodeURI(REST_API_URL + path), options);

@@ -53,0 +52,0 @@ let result = await response.text();

@@ -0,0 +0,0 @@ export interface wikiSearchResult {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ export declare function isString(title: any): boolean;

@@ -0,0 +0,0 @@ "use strict";

2

package.json
{
"name": "wikipedia",
"version": "1.1.7",
"version": "1.1.8",
"description": "A JavaScript wrapper for the wikipedia apis",

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc