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

object-fit-images

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

object-fit-images - npm Package Compare versions

Comparing version 2.3.2 to 2.3.3

2

dist/ofi.common-js.js
'use strict';
var ಠ = 'data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=='; // transparent image, used as accessor and replacing image
var propRegex = /(object-fit|object-position)\s*:\s*([^;$"'\s]+)/g;
var propRegex = /(object-fit|object-position)\s*:\s*([\w\s%]+)/g;
var isSupported = 'object-fit' in document.createElement('i').style;

@@ -6,0 +6,0 @@ var autoModeEnabled = false;

var ಠ = 'data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=='; // transparent image, used as accessor and replacing image
var propRegex = /(object-fit|object-position)\s*:\s*([^;$"'\s]+)/g;
var propRegex = /(object-fit|object-position)\s*:\s*([\w\s%]+)/g;
var isSupported = 'object-fit' in document.createElement('i').style;

@@ -4,0 +4,0 @@ var autoModeEnabled = false;

{
"name": "object-fit-images",
"version": "2.3.2",
"version": "2.3.3",
"description": "Adds support to object-fit to images on IE9, IE10, IE11, Edge and other old browsers.",

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

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