Comparing version 1.5.1 to 1.5.2
{ | ||
"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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
163562
2473
90
0