minify-html-literals
minify-html-literals copied to clipboard
Minify HTML template literal strings
Hello! I'm using the `minify-html-literals-loader` in my webpack setup, and basically it throws an error only if I use `unsafeCSS` inside the styles e.g. ```ts return css` :host([type=${unsafeCSS(SomeType.One)}]) { color:...
Given the following input: ```typescript import { minifyHTMLLiterals } from 'minify-html-literals'; const result = minifyHTMLLiterals( `const duration = 2; html\` .selector { animation-duration: \${duration}s; } \``, { fileName: 'render.js' }...
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
When trying to use this package though https://www.npmjs.com/package/rollup-plugin-html-literals with a rollup ESM configuration (`npx rollup -c rollup.config.mjs`) the import of the plugin fails as the TS transpiled code in the...
I am working on integrating this package into Chrome DevTools. The following test appears to be failing, since `
Bumps [pathval](https://github.com/chaijs/pathval) from 1.1.0 to 1.1.1. Release notes Sourced from pathval's releases. v1.1.1 Fixes a security issue around prototype pollution. Commits db6c3e3 chore: v1.1.1 7859e0e Merge pull request #60 from...
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5. Release notes Sourced from shelljs's releases. v0.8.5 This was a small security fix for #1058. Commits 70668a4 0.8.5 d919d22 fix(exec): lockdown file permissions (#1060)...
It would be useful when using NPM scripts as a build tool.
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2. Release notes Sourced from glob-parent's releases. v5.1.2 Bug Fixes eliminate ReDoS (#36) (f923116) Changelog Sourced from glob-parent's changelog. 5.1.2 (2021-03-06) Bug Fixes eliminate ReDoS...