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

@hashicorp/hashi-image

Package Overview
Dependencies
Maintainers
8
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hashicorp/hashi-image - npm Package Compare versions

Comparing version 0.3.1 to 1.0.0

4

dist/index.js

@@ -30,5 +30,7 @@ 'use strict';

// handle aspect ratios passed as a string
// handle aspect ratios & steps passed as a string
aspect_ratio = typeof aspect_ratio === 'string' ? aspect_ratio.split(',').map(Number) : aspect_ratio;
steps = typeof steps === 'string' ? steps.split(',').map(Number) : steps;
if (svg && svg !== 'false') {

@@ -35,0 +37,0 @@ // if it's an SVG, we don't need the picture element, so return

{
"name": "@hashicorp/hashi-image",
"description": "super optimized image element, pulls from dato and formats for 7 screen sizes in two formats. Skips optimization for SVGs.",
"version": "0.3.1",
"version": "1.0.0",
"author": "Hashicorp - Jeff Escalante",
"main": "dist",
"peerDependencies": {
"object-assign": "^4.1.1",
"preact": "^8.2.6"
"preact": "^8.2.7"
},

@@ -10,0 +11,0 @@ "publishConfig": {

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