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 Versions

23
8

2.11.0

Diff

Changelog

Source

2.11.0 (2024-02-16)

  • feat: drop support of the Node < 16, the loader can still works with the Node 14.x >=, but we test only with Node >= 16.16
  • feat: add support the version 14.x of the markdown-it in filters
  • feat: add new mode option. Use it instead of the DEPRECATED method option name.
  • feat(DEPRECATION): the method option is renamed into mode. The method option can be used until the next major version.
  • feat: add new names for new mode option: compile, render, html.
  • feat(DEPRECATION): the pug-compile, pug-render, pug-html method/mode names are deprecated! This method/mode names can be used until the next major version.
  • fix: decode URL params For example: from the query partial.pug?render&text=Hello%20World%21 will be parsed the text parameter as Hello World!.
  • fix: detecting correct error case by load built-in filter
  • chore: remove DEPRECATION message when the pug loader is used with html-webpack-plugin, for reasons of humanity the support of the html-webpack-plugin still stay.
    For developers is recommended to use the modern powerful pug-plugin.
  • refactor: code refactoring
  • test: add test for include a file in the highlight filter
  • docs: improve the readme
webdiscus
published 2.10.6 •

Changelog

Source

2.10.6 (2024-01-23)

  • fix: caching user data from html-webpack-plugin by template filename with query
webdiscus
published 2.10.5 •

Changelog

Source

2.10.5 (2023-08-12)

  • fix: add the svg file referenced with a fragment, e.g. icons.svg#home, to watch dependencies
  • chore: update packages
webdiscus
published 2.10.4 •

Changelog

Source

2.10.4 (2023-03-10)

  • fix(for pug-plugin): add missing node modules to compilation after rebuild
webdiscus
published 2.10.3 •

Changelog

Source

2.10.3 (2023-03-04)

  • fix: correct loader export when template contain CRLF line separators
webdiscus
published 2.10.2 •

Changelog

Source

2.10.2 (2023-01-15)

  • fix(for pug-plugin): resolving of inline JS source file
webdiscus
published 2.10.1 •

Changelog

Source

2.10.1 (2023-01-15)

  • feat(for pug-plugin): add supports for inline JS
  • refactor: code optimizations
webdiscus
published 2.10.0 •

Changelog

Source

2.10.0 (2023-01-03)

  • feat: resolve required resources in attribute blocks:
    img&attributes({
      src: require('./image.png'),
      srcset: `${require('./image1.png')} 80w, ${require('./image2.png')} 90w`,
    })
    
    • chore: update packages
webdiscus
published 2.9.7 •

Changelog

Source

2.9.7 (2022-12-25)

  • fix(for pug-plugin): set correct asset name of script for multi-lang pages
webdiscus
published 2.9.6 •

Changelog

Source

2.9.6 (2022-12-25)

  • fix(for pug-plugin): store unique script and set actual asset name of script by HMR
23
8
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