Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@11ty/eleventy-img

Package Overview
Dependencies
Maintainers
0
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@11ty/eleventy-img - npm Package Compare versions

Comparing version 5.0.0-beta.8 to 5.0.0-beta.9

6

img.js

@@ -167,8 +167,8 @@ const path = require("path");

getFileContents(overridePath) {
if(this.isRemoteUrl) {
getFileContents(overrideLocalFilePath) {
if(!overrideLocalFilePath && this.isRemoteUrl) {
return false;
}
let src = overridePath || this.src;
let src = overrideLocalFilePath || this.src;
if(!this._contents) {

@@ -175,0 +175,0 @@ this._contents = {};

{
"name": "@11ty/eleventy-img",
"version": "5.0.0-beta.8",
"version": "5.0.0-beta.9",
"description": "Low level utility to perform build-time image transformations.",

@@ -5,0 +5,0 @@ "publishConfig": {

@@ -75,2 +75,5 @@ const fs = require("fs");

}
if(!stat.buffer) {
throw new Error("Could not find `buffer` property for image.");
}

@@ -77,0 +80,0 @@ return {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc