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

regenerate

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

regenerate - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

8

package.json
{
"name": "regenerate",
"version": "0.6.1",
"version": "0.6.2",
"description": "Generate JavaScript-compatible regular expressions based on a given set of Unicode symbols or code points.",

@@ -38,5 +38,5 @@ "homepage": "http://mths.be/regenerate",

"devDependencies": {
"grunt": "~0.4.4",
"grunt-shell": "~0.6.4",
"istanbul": "~0.2.7",
"grunt": "~0.4.5",
"grunt-shell": "~0.7.0",
"istanbul": "~0.2.10",
"qunit-extras": "~1.1.0",

@@ -43,0 +43,0 @@ "qunitjs": "~1.11.0",

@@ -504,6 +504,6 @@ /*! http://mths.be/regenerate v0.6.1 by @mathias | MIT license */

// http://mathiasbynens.be/notes/javascript-escapes#single
if (codePoint == 0x08) {
string = '\\b';
}
else if (codePoint == 0x09) {
// Note: the `\b` escape sequence for U+0008 BACKSPACE in strings has a
// different meaning in regular expressions (word boundary), so it cannot
// be used here.
if (codePoint == 0x09) {
string = '\\t';

@@ -510,0 +510,0 @@ }

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