New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mediawiki-title

Package Overview
Dependencies
Maintainers
4
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mediawiki-title - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

11

lib/index.js

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

/**
* Get the canonical name string for this namespace.
* Get the normalized localized name string for this namespace.
*

@@ -156,2 +156,11 @@ * @returns {string}

/**
* Get the canonical non-localized name string for this namespace.
*
* @returns {string}
*/
Namespace.prototype.getCanonicalText = function() {
return this._siteInfo.namespaces[this._id + ''].canonical.replace(/ /g, '_');
};
/**
* Are subpages allowed for this namespace?

@@ -158,0 +167,0 @@ *

2

package.json
{
"name": "mediawiki-title",
"version": "0.5.1",
"version": "0.5.2",
"description": "Title normalization library for mediawiki",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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