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

xregexp

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xregexp - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

2

package.json
{
"name" : "xregexp",
"version" : "1.5.1",
"version" : "1.5.2",
"description" : "The one of a kind JavaScript regular expression library.",

@@ -5,0 +5,0 @@ "author": "Steven Levithan <steves_list@hotmail.com>",

This is [XRegExp](http://xregexp.com) in a Common JS module. All plugins and
unicode packages are included as well. I'm not affiliated with Steven Levithan,
the author of XRegExp.
This is [XRegExp](http://xregexp.com) in a Common JS module. All plugins and unicode packages are included as well. I'm not affiliated with Steven Levithan, the author of XRegExp.
If you already use this module
------------------------------
The next major release of this module on NPM only accepts `require('xregexp').XRegExp` when including. Currently you can do both this and the old way of `require('xregexp')`. Please change your code to use the new method.
Installation

@@ -18,3 +22,3 @@ ------------

var XRegExp = require('xregexp');
var XRegExp = require('xregexp').XRegExp;

@@ -33,3 +37,3 @@ console.log('Héllö Wôrld'.match(XRegExp('\\p{L}+')));

XRegExp = require 'xregexp'
{XRegExp} = require 'xregexp'

@@ -50,4 +54,3 @@ console.log 'Héllö Wôrld'.match XRegExp '\\p{L}+'

This is Steven Levithan's own words.
* 1.5.2: Updated to support require("xregexp").XRegExp, which is the future method.
* 1.5.1: Several bugs fixed and updated to use Unicode 6.1 character database (instead of 5.2).

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

Copyright (c) 2007-2010 Steven Levithan <http://xregexp.com>
Copyright (c) 2007-2012 Steven Levithan <http://xregexp.com>

@@ -73,0 +76,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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