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

quoted-string-regex

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quoted-string-regex - npm Package Compare versions

Comparing version 0.1.1 to 1.0.0

README.md

8

index.js
/*!
* quoted-string-regex <https://github.com/jonschlinkert/quoted-string-regex>
* quoted-string-regex <https://github.com/regexps/quoted-string-regex>
*
* Copyright (c) 2015, Jon Schlinkert.
* Licensed under the MIT License.
* Copyright (c) 2015-2018, Jon Schlinkert.
* Released under the MIT License.
*/

@@ -11,3 +11,3 @@

module.exports = function() {
return /'([^'\\]*\\.)*[^']*'|"([^"\\]*\\.)*[^"]*"/g;
return /(?:\\['"`].)*?(['"`])((?:\\\1|.)*?)(\1)/g;
};
{
"name": "quoted-string-regex",
"description": "JavaScript regular expression for matching a quoted string.",
"version": "0.1.1",
"version": "1.0.0",
"homepage": "https://github.com/regexps/quoted-string-regex",

@@ -15,2 +15,3 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

],
"main": "index.js",
"engines": {

@@ -23,3 +24,4 @@ "node": ">=0.10.0"

"devDependencies": {
"mocha": "*"
"gulp-format-md": "^1.0.0",
"mocha": "^3.5.3"
},

@@ -32,9 +34,21 @@ "keywords": [

"verb": {
"toc": false,
"layout": "default",
"tasks": [
"readme"
],
"plugins": [
"gulp-format-md"
],
"related": {
"list": [
"todo-regex",
"copyright-regex"
"es6-template-regex",
"year-range-regex",
"to-regex-range"
]
},
"lint": {
"reflinks": true
}
}
}

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