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

mediawiki-title

Package Overview
Dependencies
Maintainers
6
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.7.3 to 0.7.4

6

lib/index.js

@@ -412,6 +412,4 @@ 'use strict';

title = title
// Strip soft hyphens (U+00AD) and Unicode directional formatting
// characters (U+061C, U+200E, U+200F, U+202A. U+202B, U+202C, U+202D,
// U+202E, U+2066, U+2067, U+2068, U+2069).
.replace(/[\u00AD\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]+/g, '')
// Strip Unicode bidi override characters.
.replace(/[\u200E\u200F\u202A-\u202E]/g, '')
// Clean up whitespace

@@ -418,0 +416,0 @@ .replace(/[ _\u00A0\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]+/g, '_')

{
"name": "mediawiki-title",
"version": "0.7.3",
"version": "0.7.4",
"description": "Title normalization library for mediawiki",

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

@@ -264,2 +264,2 @@ # mediawiki-title [![npm version](https://badge.fury.io/js/mediawiki-title.svg)](https://badge.fury.io/js/mediawiki-title) [![Build Status](https://travis-ci.org/wikimedia/mediawiki-title.svg?branch=master)](https://travis-ci.org/wikimedia/mediawiki-title) [![Coverage Status](https://coveralls.io/repos/github/wikimedia/mediawiki-title/badge.svg?branch=master)](https://coveralls.io/github/wikimedia/mediawiki-title?branch=master) [![Dependencies](https://david-dm.org/wikimedia/mediawiki-title.svg?branch=master)](https://david-dm.org/wikimedia/mediawiki-title?branch=master)

For bug reporting please use [Phabricator](https://phabricator.wikimedia.org/tag/services/)
and mark the bugs with `Services` label or contact directly in IRC in the [#wikimedia-services](http://webchat.freenode.net/?channels=wikimedia-services) channel.
and mark the bugs with `Services` label or contact directly in IRC in the [#wikimedia-services](https://web.libera.chat/?channel=#wikimedia-services) channel.

@@ -175,3 +175,2 @@ 'use strict';

['en.wikipedia.org', 'Foo\u200E\u200F\u202A\u202B\u202C\u202D\u202Ebar', 'Foobar'],
['en.wikipedia.org', 'Foo\u00AD\u061C\u2066\u2067\u2068\u2069bar', 'Foobar'],
// Special handling for `i` first character

@@ -178,0 +177,0 @@ ['tr.wikipedia.org', 'iTestTest', 'İTestTest'],

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