
Research
/Security News
npm Author Qix Compromised via Phishing Email in Major Supply Chain Attack
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
xslt3-loader
Advanced tools
A Webpack loader that compiles XSLT transforms to Saxon's sef format
This Web loader can load XSLT stylesheets using Saxon-JS
2. The
compiler is called to convert the stylesheet into the SEF format. The
result will be a module exporting a single constant, stylesheet
,
which can then be imported into the frontend application and used by
Saxon-JS 2. At this point, only the free (XX) compiler is supported.
In your module.rules
section of webpack.config.js
, add a rule like
so:
{
test: /\.xsl$/,
use: [ 'xslt3-loader' ]
}
In your application source, you can then import a stylesheet like this:
import { stylesheet as example } from '../example.xsl';
The stylesheet can then be used in invocations to Saxon-JS 2:
console.log(SaxonJS.transform({ stylesheetInternal: example,
sourceText: '<foo>bar</foo>',
destination: 'serialized' }).principalResult);
FAQs
A Webpack loader that compiles XSLT transforms to Saxon's sef format
The npm package xslt3-loader receives a total of 8 weekly downloads. As such, xslt3-loader popularity was classified as not popular.
We found that xslt3-loader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.