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.8.1 to 2.8.2

3

CHANGELOG.md
# Change log
## 2.8.2 (2022-09-21)
- chore: optimize script store for pug-plugin
## 2.8.1 (2022-08-12)

@@ -4,0 +7,0 @@ - feat: add supports for a string value by the `watchFiles` option

6

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

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

"@babel/preset-env": "^7.18.10",
"@types/jest": "^28.1.6",
"@types/jest": "^28.1.7",
"css-loader": "^6.7.1",

@@ -80,3 +80,3 @@ "html-loader": "^4.1.0",

"pug-plugin": "~4.1.1",
"responsive-loader": "^3.0.4",
"responsive-loader": "^3.1.0",
"sharp": "^0.30.7",

@@ -83,0 +83,0 @@ "tsconfig-paths-webpack-plugin": "^4.0.0",

@@ -15,4 +15,8 @@ /**

/**
* @param {string} file
* @return {boolean}
*/
has(file) {
return this.files.find((item) => item.file === file);
return this.files.find((item) => item.file === file) != null;
}

@@ -19,0 +23,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