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

pug-plugin-modules

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

pug-plugin-modules - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

5

index.js

@@ -7,3 +7,6 @@ const path = require('path');

resolve(filename, source, pugOptions) {
return resolve.sync(filename, Object.assign({
const file = path.parse(filename);
const resolvePath = file.dir ? `${file.dir}/${file.name}` : file.name;
return resolve.sync(resolvePath, Object.assign({
basedir: path.dirname(source),

@@ -10,0 +13,0 @@ extensions: ['.pug', '.jade'],

2

package.json
{
"name": "pug-plugin-modules",
"version": "0.2.0",
"version": "0.2.1",
"description": "Pug plugin for resolving templates in node_modules",

@@ -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