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

1
8

1.8.0

Diff

Changelog

Source

1.8.0 (2022-03-05)

  • feat: resolve the variable contained a subdirectory in the relative path
    - var file = './subdir/image.jpg';
    img(src=require(file))
    
  • feat: resolve a required path in the variable
    - var file = require('./subdir/image.jpg');
    img(src=file)
    
  • feat: watching of required js and json files in pug
webdiscus
published 1.7.4 •

Changelog

Source

1.7.4 (2022-02-20)

  • chore: code refactoring and internal optimization
  • docs: update readme
webdiscus
published 1.7.3 •

Changelog

Source

1.7.3 (2022-02-19)

  • fix: collision with local variables passed in template function for compile method
webdiscus
published 1.7.2 •

Changelog

Source

1.7.2 (2022-02-19)

  • fix: path error in Windows when watching dependencies
  • chore: update packages
webdiscus
published 1.7.1 •

Changelog

Source

1.7.1 (2022-02-10)

  • feat: add supports for webpack alias as array of paths, #10
  • fix: optional prefix of alias in request when an alias name self contains the prefix
webdiscus
published 1.7.0 •

Changelog

Source

1.7.0 (2022-02-07)

  • BREAKING CHANGE (low probability): limiting for the method compile by resolving a variable in the argument of require() used in pug, see resolve resources .
    The methods render and html are not affected.
  • fix: change the evaluation to interpolation of required files for compile method to fix issue undefined variable
  • fix: issue undefined variable for method compile by use the variables in pug w/o optional chaining
  • test: add tests for the compile and render methods
  • chore: update packages
webdiscus
published 1.7.0-beta.0 •

webdiscus
published 1.6.4 •

Changelog

Source

1.6.4 (2022-01-31)

  • feat: add supports the htmlWebpackPlugin.options in pug template, #8
  • test: add test case for require fonts in pug template
  • refactor: tests
webdiscus
published 1.6.3 •

Changelog

Source

1.6.3 (2022-01-25)

  • feat: improve error message due to template function failure
  • refactor: exceptions
  • docs: update readme
webdiscus
published 1.6.2 •

Changelog

Source

1.6.2 (2022-01-21)

  • fix: the path of dependencies in windows
  • chore: update npm packages
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