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

@webdiscus/pug-loader

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webdiscus/pug-loader - npm Package Compare versions

Comparing version 2.7.1 to 2.7.2

3

CHANGELOG.md
# Change log
## 2.7.2 (2022-07-03)
- fix: issue HMR on Windows
## 2.7.1 (2022-07-03)

@@ -4,0 +7,0 @@ - fix: remove unused module

4

package.json
{
"name": "@webdiscus/pug-loader",
"version": "2.7.1",
"version": "2.7.2",
"description": "Pug loader renders Pug files into HTML or compiles them into a template function.",

@@ -83,3 +83,3 @@ "keywords": [

"prismjs": "^1.28.0",
"pug-plugin": "^2.8.0",
"pug-plugin": "^2.9.1",
"responsive-loader": "^3.0.4",

@@ -86,0 +86,0 @@ "rimraf": "^3.0.2",

@@ -13,7 +13,8 @@ /**

const { merge } = require('webpack-merge');
const { getQueryData, injectExternalData } = require('./utils');
const { getQueryData, injectExternalData, isWin, pathToPosix } = require('./utils');
const { executeTemplateFunctionException } = require('./exeptions');
const scriptTagQuery = '?isScript';
const hmrRequest = path.join(__dirname, './hmr.js') + scriptTagQuery;
let hmrRequest = path.join(__dirname, 'hmr.js') + scriptTagQuery;
if (isWin) hmrRequest = pathToPosix(hmrRequest);

@@ -20,0 +21,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