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

13
8

2.9.5

Diff

Changelog

Source

2.9.5 (2022-12-22)

  • fix: passing data option when the self options is true in compile method
  • refactor: optimize code
  • chore: update development packages
  • test: add tests for data and self options
webdiscus
published 2.9.4 •

Changelog

Source

2.9.4 (2022-10-11)

  • fix: resolving of assets in pug templates with url query
  • chore: update packages
webdiscus
published 2.9.3 •

Changelog

Source

2.9.3 (2022-09-17)

  • chore: add peerDependenciesMeta to package.json for optional modules
webdiscus
published 2.9.2 •

Changelog

Source

2.9.2 (2022-09-10)

  • fix: resolve modules whose package.json contains exports field
  • fix: added minimal required version of enhanced-resolve in peerDependencies to avoid using incompatible version by other modules
  • chore: update packages
webdiscus
published 2.9.1 •

Changelog

Source

2.9.1 (2022-09-08)

  • fix: fixed last stable version of ansis in package.json to avoid issues in dependency
webdiscus
published 2.9.0 •

Changelog

Source

2.9.0 (2022-08-27)

  • feat: add resolving for require in conditional, e.g.:
    if condition
      img(src=require('./image1.png'))
    else
      img(src=require('./image2.png'))
    
  • feat: add resolving for require in mixin argument, e.g. +image(require('./logo.png'), 'logo')
  • feat: add resolving for require in each in and in each of iteration object, e.g. each [key, img] of new Map([['apple', require('./apple.png')], ['sony', require('./sony.png')]])
  • refactor: replace pug-walk lib with optimized up to x2.5 faster implementation without recursion
  • test(BREAKING): drop support for Node v12, because lastest jest v29 supports Node.js >= 14.15.0.
webdiscus
published 2.8.2 •

Changelog

Source

2.8.2 (2022-08-21)

  • chore: optimize script store for pug-plugin
webdiscus
published 2.8.1 •

Changelog

Source

2.8.1 (2022-08-12)

  • feat: add supports for a string value by the watchFiles option
  • fix: resolve style in Pug from node_modules by module name, e.g.: link(href=require('bootstrap') rel='stylesheet')
  • chore: inner optimisations for using with the pug-plugin
webdiscus
published 2.8.0 •

Changelog

Source

2.8.0 (2022-08-03)

  • feat: add resolving of file alias for scripts and styles
  • feat: improve resolving of script files specified w/o extension
  • feat: improve performance
  • fix: allow to use url query in script source file
  • fix: resolving of absolute path using root context
  • fix: resolving of alias to file using root context
  • chore: optimize for using with pug-plugin
  • chore: using html-webpack-plugin with Pug is deprecated, use pug-plugin) instead
  • refactor: optimize code
  • tests: add test cases and optimize test fixtures
webdiscus
published 2.8.0-beta.1 •

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