You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

html-inline-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-inline-webpack-plugin - npm Package Compare versions

Comparing version

to
1.0.0-beta7

CHANGELOG.md

3

dist/modules/head_injector.js

@@ -46,4 +46,3 @@ var __importDefault = (this && this.__importDefault) || function (mod) {

const buffer = fs_1.default.readFileSync(this.path);
const source = buffer.toString();
compilation.emitAsset(this.assetName, new webpack_1.sources.RawSource(source));
compilation.emitAsset(this.assetName, new webpack_1.sources.RawSource(buffer));
}

@@ -50,0 +49,0 @@ catch (err) {

{
"name": "html-inline-webpack-plugin",
"description": "This webpack plugin package is bundling related HTML files by injecting inline tags.",
"version": "1.0.0-beta6",
"version": "1.0.0-beta7",
"main": "./dist/index.js",

@@ -6,0 +6,0 @@ "types": "./dist/types/index.d.ts",

@@ -8,3 +8,3 @@ <div align="center">

<th>Version</th>
<th>v1.0.0-beta6</th>
<th>v1.0.0-beta7</th>
</tr>

@@ -21,2 +21,4 @@ </tbody>

> See Also, If you want the change-log by version for this package. refer to [Change Log](CHANGELOG.md) for details.
## Support Current Status

@@ -23,0 +25,0 @@ | Type | Status | Support |

@@ -35,4 +35,3 @@ import { HTMLElement } from "node-html-parser";

const buffer = fs.readFileSync(this.path);
const source = buffer.toString();
compilation.emitAsset(this.assetName, new sources.RawSource(source));
compilation.emitAsset(this.assetName, new sources.RawSource(buffer));
} catch (err) {

@@ -39,0 +38,0 @@ throw new Error(`Exception while reading the file of a given favicon path: ${(err as Error).message}`);

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.