New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

literal-require

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

literal-require - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

3

index.js

@@ -26,3 +26,3 @@ const escape = require('escape-regex-string')

const Module = require('module')
const NAMESPACE_LOOKUP = new RegExp(`${literals.join('|')}`)
let NAMESPACE_LOOKUP = new RegExp(`${literals.join('|')}`)

@@ -66,2 +66,3 @@ if (Path.literal) {

literals.push(escape(name))
NAMESPACE_LOOKUP = new RegExp(`${literals.join('|')}`)
}
{
"name": "literal-require",
"version": "1.0.3",
"version": "1.0.4",
"description": "A literal templating for Node require",

@@ -5,0 +5,0 @@ "main": "index.js",

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