Socket
Book a DemoInstallSign in
Socket

@geoffdavis92/eleventy-plugin-webpack

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@geoffdavis92/eleventy-plugin-webpack - npm Package Compare versions

Comparing version

to
2.1.1

3

index.js

@@ -7,2 +7,3 @@ const webpack = require("webpack");

const { addCachedGlobalData } = require("./utils");
const bypassSourceMethod = true;

@@ -16,3 +17,3 @@ const extractFiles = (

return Object.keys(compilerResult.assets).reduce((acc, key) => {
if (addCachedGlobalData) {
if (addCachedGlobalData && !bypassSourceMethod) {
acc[key] = compilerResult.assets[key].source();

@@ -19,0 +20,0 @@ } else {

{
"name": "@geoffdavis92/eleventy-plugin-webpack",
"author": "Geoff Davis <geoffdavis92@gmail.com>",
"version": "2.1.0",
"version": "2.1.1",
"main": "index.js",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -37,2 +37,3 @@ # Eleventy Plugin - Webpack

- When the `eleventyConfig.addCachedGlobalData` property is truthy, the plugin will attempt to extract files and use the `.source()` method, which does not exist on the `assets` constructor: `SizeOnlySource` (ref #1)
- ~~When the `eleventyConfig.addCachedGlobalData` property is truthy, the plugin will attempt to extract files and use the `.source()` method, which does not exist on the `assets` constructor: `SizeOnlySource` (ref [#1](https://github.com/geoffdavis92/eleventy-plugin-webpack/issues/1))~~
- Addressed by [PR #8](https://github.com/geoffdavis92/eleventy-plugin-webpack/pull/8)
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.