fix: improve error message when requiring a filter that's not installed
fix: toJSON is now only called on object-like values
fix: preLex plugins were not called when compiling from a string
perf: add "files" property to exclude un-used files from package and reduce install size
feat: support ... spread attributes when compiling to JSX N.B. this will not work when rendering to HTML
2.0.3
fix: update clean-css dependency. This resolves a RegExp DoS vulnerability that should not have impacted any pug users (unless you process un-trusted pug source code)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/tsubakimoto/github-actions-samples/network/alerts).
Bumps pug-code-gen to 2.0.3 and updates ancestor dependency pug. These dependencies need to be updated together.
Updates
pug-code-gen
from 1.1.1 to 2.0.3Commits
56d803c
Publish81df277
fixes #2988 "Update clean-css dependency in pug-filters" (#2989)0917398
Publish7ff1cce
Handle boolean sorthand for filters (#2977)3e233dd
Publish540cddd
Publish76321eb
Support yarn workspacesaebb187
Trailing semicolon (#2962)8248ba8
pug-lexerloc
with source endings (#2957)3750dfe
Ignore yarn.lock file (#2959)Updates
pug
from 2.0.0-beta11 to 2.0.4Release notes
Sourced from pug's releases.
Commits
1bdf628
Publish5e47ab4
chore: update yarn.lock8e8eeee
Allow spread operator in attributes - N.B. for jsx transform only (#3152)4fd657a
Update repo URLs in packages (#3148)8fcf81d
Fix the dependency status badges in README.md of the child packages" (#3146)2f1110e
bump constantinople to 3.1.2 (#3141)6617f50
chore: update yarn.lock1d8cd3f
Add keywords to pug package.json (#3136)6a63494
chore: update dev dependencies (#3108)74d26d6
Fix tidelift linkDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show