gatsby-plugin-image 2.22.0-next.2 → 2.23.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-image@2.21.0/packages/gatsby-plugin-image) (2022-08-16)
7
+
8
+ [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21)
9
+
10
+ #### Bug Fixes
11
+
12
+ - Add `outputPixelDensities` to `SHARP_ATTRIBUTES` [#36203](https://github.com/gatsbyjs/gatsby/issues/36203) ([ae226b5](https://github.com/gatsbyjs/gatsby/commit/ae226b589369e3b724cc3b5ded5b7b1b1a907afb))
13
+
6
14
  ## [2.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-image@2.20.0/packages/gatsby-plugin-image) (2022-08-02)
7
15
 
8
16
  [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20)
@@ -1,2 +1,3 @@
1
+ "client export"
1
2
  var e=require("./index.browser-70e80df3.js");require("react"),require("camelcase"),require("prop-types"),exports.GatsbyImage=e.GatsbyImage,exports.MainImage=e.MainImage,exports.Placeholder=e.Placeholder,exports.StaticImage=e.StaticImage,exports.generateImageData=e.generateImageData,exports.getImage=e.getImage,exports.getImageData=e.getImageData,exports.getLowResolutionImageURL=e.getLowResolutionImageURL,exports.getSrc=e.getSrc,exports.getSrcSet=e.getSrcSet,exports.withArtDirection=e.withArtDirection;
2
3
  //# sourceMappingURL=gatsby-image.browser.js.map
@@ -1,2 +1,3 @@
1
+ "client export"
1
2
  export{G as GatsbyImage,M as MainImage,P as Placeholder,S as StaticImage,i as generateImageData,c as getImage,f as getImageData,j as getLowResolutionImageURL,d as getSrc,e as getSrcSet,w as withArtDirection}from"./index.browser-dc34ce8e.js";import"react";import"camelcase";import"prop-types";
2
3
  //# sourceMappingURL=gatsby-image.browser.modern.js.map
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "gatsby-plugin-image",
3
- "version": "2.22.0-next.2",
3
+ "version": "2.23.0-next.1",
4
4
  "scripts": {
5
5
  "build": "npm-run-all --npm-path npm -s clean -p build:*",
6
+ "postbuild": "prepend-directive --files=dist/gatsby-image.browser.js,dist/gatsby-image.browser.modern.js --directive=\"client export\"",
6
7
  "build:gatsby-node": "tsc --jsx react --downlevelIteration true --skipLibCheck true --esModuleInterop true --outDir dist/ src/gatsby-node.ts src/babel-plugin-parse-static-images.ts src/resolver-utils.ts src/types.d.ts -d --declarationDir dist/src",
7
8
  "build:gatsby-ssr": "microbundle -i src/gatsby-ssr.tsx -f cjs -o ./[name].js --no-pkg-main --jsx React.createElement --jsxFragment React.Fragment --no-compress --external=common-tags,react --no-sourcemap",
8
9
  "build:server": "microbundle -f cjs,es --jsx React.createElement --jsxFragment React.Fragment --define SERVER=true",
@@ -59,6 +60,7 @@
59
60
  "microbundle": "^0.15.0",
60
61
  "npm-run-all": "^4.1.5",
61
62
  "postcss": "^8.2.9",
63
+ "prepend-directive": "^1.0.3",
62
64
  "semver": "^7.3.7",
63
65
  "terser": "^5.3.8",
64
66
  "typescript": "^4.7.4"
@@ -77,13 +79,13 @@
77
79
  "@babel/runtime": "^7.15.4",
78
80
  "@babel/traverse": "^7.15.4",
79
81
  "babel-jsx-utils": "^1.1.0",
80
- "babel-plugin-remove-graphql-queries": "^4.22.0-next.0",
82
+ "babel-plugin-remove-graphql-queries": "^4.23.0-next.0",
81
83
  "camelcase": "^5.3.1",
82
84
  "chokidar": "^3.5.3",
83
85
  "common-tags": "^1.8.2",
84
86
  "fs-extra": "^10.1.0",
85
- "gatsby-core-utils": "^3.22.0-next.0",
86
- "gatsby-plugin-utils": "^3.16.0-next.1",
87
+ "gatsby-core-utils": "^3.23.0-next.0",
88
+ "gatsby-plugin-utils": "^3.17.0-next.0",
87
89
  "objectFitPolyfill": "^2.3.5",
88
90
  "prop-types": "^15.8.1"
89
91
  },
@@ -94,5 +96,5 @@
94
96
  },
95
97
  "author": "Matt Kane <matt@gatsbyjs.com>",
96
98
  "license": "MIT",
97
- "gitHead": "ee8df075c2f1d89d7ecbca99e3d7afe3197bdc36"
99
+ "gitHead": "232d3b6de2281caa579a619888bcb6771733f548"
98
100
  }