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

requires-regex

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

requires-regex - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

2

index.js

@@ -8,3 +8,3 @@ 'use strict';

module.exports = function () {
return /(?:(?:var|const)\s*([\w$]+)\s*=\s*)?require\(['"](.*?)['"]\);?/;
return /(?:(?:var|const)\s*(.*?)\s*=\s*)?require\(['"]([^'"]+)['"](?:, ['"]([^'"]+)['"])?\);?/;
};
{
"name": "requires-regex",
"description": "Regular expression for matching javascript require statements.",
"version": "0.3.2",
"version": "0.3.3",
"homepage": "https://github.com/jonschlinkert/requires-regex",

@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

@@ -64,2 +64,2 @@ # requires-regex [![NPM version](https://img.shields.io/npm/v/requires-regex.svg)](https://www.npmjs.com/package/requires-regex) [![Build Status](https://img.shields.io/travis/jonschlinkert/requires-regex.svg)](https://travis-ci.org/jonschlinkert/requires-regex)

_This file was generated by [verb](https://github.com/verbose/verb) on January 07, 2016._
_This file was generated by [verb](https://github.com/verbose/verb) on January 08, 2016._
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