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

wikiapi

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wikiapi - npm Package Compare versions

Comparing version 1.11.0 to 1.11.1

2

package.json
{
"name": "wikiapi",
"title": "JavaScript MediaWiki API for node.js",
"version": "1.11.0",
"version": "1.11.1",
"description": "A simple way to access MediaWiki API via JavaScript with simple wikitext parser.",

@@ -6,0 +6,0 @@ "keywords": [ "MediaWiki", "MediaWiki API", "wikitext", "ECMAScript 2017", "wikidata", "wdq", "sparql" ],

@@ -112,5 +112,5 @@ [![npm version](https://badge.fury.io/js/wikiapi.svg)](https://www.npmjs.com/package/wikiapi)

// Upload a local file directly:
await result = wiki.upload_file({ file_path: '/local/file/path', comment: '', text: '' });
let result = await wiki.upload_file({ file_path: '/local/file/path', comment: '', text: '' });
// Upload file from URL:
await result = wiki.upload_file({ media_url: 'https://media.url/name.jpg', comment: '', text: '' });
result = await wiki.upload_file({ media_url: 'https://media.url/name.jpg', comment: '', text: '' });
})();

@@ -117,0 +117,0 @@

@@ -532,5 +532,5 @@ 'use strict';

// Upload a local file directly:
//await result = wiki_session.upload_file({ file_path: '/local/file/path', comment: '', });
//let result = await wiki_session.upload_file({ file_path: '/local/file/path', comment: '', });
// Upload file from URL:
//await result = wiki_session.upload_file({ media_url: 'https://media.url/name.jpg', comment: '', });
//let result = await wiki_session.upload_file({ media_url: 'https://media.url/name.jpg', comment: '', });
// Other file_data options: @see https://github.com/kanasimi/CeJS/blob/master/application/net/wiki/edit.js#L912 /options.text/

@@ -537,0 +537,0 @@ // filename:'Will set via .file_path or .media_url if not settled.',

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