
Security News
upm Launches as a Fast, Tiny Package Manager Written in TypeScript
upm uses Node.js to deliver fast npm installs in about 250 KB, with a JavaScript API and security defaults.
html-webpack-dotnet-versionize-plugin
Advanced tools
a plugin for webpack-html-plugin to add .net framework's ToVersionize() method to the scripts and styles
A plugin for webpack-html-plugin to add .net framework's ToVersionizeSC() method to the scripts and styles
Useful when you create .cshtml file instead of .html file with html-webpack-plugin.
npm i -D html-webpack-dotnet-versionize-plugin or yarn add -D html-webpack-dotnet-versionize-plugin const HtmlWebpackDotnetVersionizePlugin = require('html-webpack-dotnet-versionize-plugin');
...
plugins: [
new HtmlWebpackPlugin({
filename: path.join(__dirname, 'Sample/Path/Views/Account/MyAccount.cshtml'),
template: path.join(__dirname, 'Sample/Path/Templates/MyAccount.ejs'),
minify: false,
}),
new HtmlWebpackDotnetVersionizePlugin()
]
<html>
<head>
<meta charset="utf-8">
<title>Webpack App</title>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link href="@("/css/main.css".ToVersionizeSC())" rel="stylesheet"/>
</head>
<body>
<script src="@("/js/main.js".ToVersionizeSC())"></script></body>
</html>
I'm planning to write test in future. Currently you can test the plugin manually.
Install npm packages then run npm run test:build. You can see result in test/index.html file.
FAQs
a plugin for webpack-html-plugin to add .net framework's ToVersionize() method to the scripts and styles
The npm package html-webpack-dotnet-versionize-plugin receives a total of 2 weekly downloads. As such, html-webpack-dotnet-versionize-plugin popularity was classified as not popular.
We found that html-webpack-dotnet-versionize-plugin 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.

Security News
upm uses Node.js to deliver fast npm installs in about 250 KB, with a JavaScript API and security defaults.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.