Socket
Socket
Sign inDemoInstall

gatsby-image

Package Overview
Dependencies
Maintainers
19
Versions
310
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-image - npm Package Compare versions

Comparing version 3.7.0-next.1 to 3.7.0-next.2

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Change Log

# [3.7.0-next.2](https://github.com/gatsbyjs/gatsby/compare/gatsby-image@3.7.0-next.1...gatsby-image@3.7.0-next.2) (2021-06-02)
**Note:** Version bump only for package gatsby-image
# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-image@3.7.0-next.0...gatsby-image@3.7.0-next.1) (2021-05-31)

@@ -8,0 +12,0 @@

4

index.js

@@ -20,2 +20,4 @@ "use strict";

var _excluded = ["sizes", "srcSet", "src", "style", "onLoad", "onError", "loading", "draggable", "ariaHidden"];
var logDeprecationNotice = function logDeprecationNotice(prop, replacement) {

@@ -329,3 +331,3 @@ if (process.env.NODE_ENV === "production") {

ariaHidden = props.ariaHidden,
otherProps = (0, _objectWithoutPropertiesLoose2.default)(props, ["sizes", "srcSet", "src", "style", "onLoad", "onError", "loading", "draggable", "ariaHidden"]);
otherProps = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
return /*#__PURE__*/_react.default.createElement("img", (0, _extends2.default)({

@@ -332,0 +334,0 @@ "aria-hidden": ariaHidden,

{
"name": "gatsby-image",
"description": "Lazy-loading React image component with optional support for the blur-up effect.",
"version": "3.7.0-next.1",
"version": "3.7.0-next.2",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",

@@ -10,3 +10,3 @@ "bugs": {

"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.14.0",
"object-fit-images": "^3.2.4",

@@ -16,6 +16,6 @@ "prop-types": "^15.7.2"

"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/cli": "^7.14.3",
"@babel/core": "^7.14.3",
"@testing-library/react": "^9.5.0",
"babel-preset-gatsby-package": "^1.7.0-next.1",
"babel-preset-gatsby-package": "^1.7.0-next.2",
"cross-env": "^7.0.3",

@@ -45,3 +45,3 @@ "jest-matchmedia-mock": "^1.1.0"

},
"gitHead": "30d212d506cc30ae32a21b48376d704f362ea157"
"gitHead": "6f8646c3c4c136b64963f8431b253bc3529e16c4"
}

@@ -20,2 +20,4 @@ "use strict";

var _excluded = ["objectFit", "objectPosition"];
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }

@@ -64,3 +66,3 @@

objectPosition = _this$props.objectPosition,
props = (0, _objectWithoutPropertiesLoose2.default)(_this$props, ["objectFit", "objectPosition"]);
props = (0, _objectWithoutPropertiesLoose2.default)(_this$props, _excluded);
var polyfillStyle = {

@@ -67,0 +69,0 @@ objectFit: objectFit,

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