Socket
Socket
Sign inDemoInstall

mediawiki-api-js

Package Overview
Dependencies
1
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 3.1.0

2

lib/api.js

@@ -21,3 +21,3 @@ const request = require("request-promise");

return response;
});
}).catch(error => console.log(error));
};

@@ -25,3 +25,3 @@ const api = require("./api");

return next;
});
}).catch(error => console.log(error));
};

@@ -28,0 +28,0 @@

@@ -28,3 +28,3 @@ const api = require("./api");

return result.query.pages[page.pageid].extract;
});
}).catch(error => console.log(error));
};

@@ -47,3 +47,3 @@

return result.query.pages[page.pageid].extract;
});
}).catch(error => console.log(error));
};

@@ -65,3 +65,3 @@

return result.query.pages[page.pageid].extlinks.map(link => link["*"]);
});
}).catch(error => console.log(error));
};

@@ -82,3 +82,3 @@

return result.query.pages[page.pageid].categories.map(category => category.title);
});
}).catch(error => console.log(error));
};

@@ -85,0 +85,0 @@

@@ -53,3 +53,3 @@ const api = require("./api");

};
});
}).catch(error => console.log(error));
};

@@ -70,3 +70,3 @@

ppprop: "disambiguation"
}).then(handlePage);
}).then(handlePage).catch(error => console.log(error));
};

@@ -87,3 +87,3 @@

ppprop: "disambiguation"
}).then(handlePage);
}).then(handlePage).catch(error => console.log(error));
};

@@ -90,0 +90,0 @@

{
"name": "mediawiki-api-js",
"version": "3.0.0",
"version": "3.1.0",
"author": "Alistair O'Brien <johnyob132@gmail.com>",

@@ -5,0 +5,0 @@ "description": "Wrapper for MediaWiki API",

@@ -1,4 +0,4 @@

MediaWiki-JS
MediaWiki-API-JS
============
Node.js wrapper for the MediaWiki API
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