gatsby-plugin-image 3.0.0-next.3 → 3.0.0-next.4
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/dist/babel-helpers.js
CHANGED
|
@@ -15,7 +15,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
15
15
|
};
|
|
16
16
|
exports.__esModule = true;
|
|
17
17
|
exports.hashOptions = exports.evaluateImageAttributes = exports.normalizeProps = exports.SHARP_ATTRIBUTES = void 0;
|
|
18
|
-
var
|
|
18
|
+
var murmurhash_1 = require("gatsby-core-utils/murmurhash");
|
|
19
19
|
var babel_jsx_utils_1 = require("babel-jsx-utils");
|
|
20
20
|
var camelcase_1 = __importDefault(require("camelcase"));
|
|
21
21
|
exports.SHARP_ATTRIBUTES = new Set([
|
|
@@ -62,6 +62,6 @@ function evaluateImageAttributes(nodePath, onError) {
|
|
|
62
62
|
}
|
|
63
63
|
exports.evaluateImageAttributes = evaluateImageAttributes;
|
|
64
64
|
function hashOptions(options) {
|
|
65
|
-
return "".concat((0,
|
|
65
|
+
return "".concat((0, murmurhash_1.murmurhash)(JSON.stringify(options), 0));
|
|
66
66
|
}
|
|
67
67
|
exports.hashOptions = hashOptions;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"client
|
|
1
|
+
"use client"
|
|
2
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;
|
|
3
3
|
//# sourceMappingURL=gatsby-image.browser.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"client
|
|
1
|
+
"use client"
|
|
2
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";
|
|
3
3
|
//# sourceMappingURL=gatsby-image.browser.modern.js.map
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gatsby-plugin-image",
|
|
3
|
-
"version": "3.0.0-next.
|
|
3
|
+
"version": "3.0.0-next.4",
|
|
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
|
|
6
|
+
"postbuild": "prepend-directive --files=dist/gatsby-image.browser.js,dist/gatsby-image.browser.modern.js --directive=\"use client\"",
|
|
7
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",
|
|
8
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",
|
|
9
9
|
"build:server": "microbundle -f cjs,es --jsx React.createElement --jsxFragment React.Fragment --define SERVER=true",
|
|
@@ -79,13 +79,13 @@
|
|
|
79
79
|
"@babel/runtime": "^7.15.4",
|
|
80
80
|
"@babel/traverse": "^7.15.4",
|
|
81
81
|
"babel-jsx-utils": "^1.1.0",
|
|
82
|
-
"babel-plugin-remove-graphql-queries": "^5.0.0-next.
|
|
82
|
+
"babel-plugin-remove-graphql-queries": "^5.0.0-next.2",
|
|
83
83
|
"camelcase": "^5.3.1",
|
|
84
84
|
"chokidar": "^3.5.3",
|
|
85
85
|
"common-tags": "^1.8.2",
|
|
86
86
|
"fs-extra": "^10.1.0",
|
|
87
|
-
"gatsby-core-utils": "^4.0.0-next.
|
|
88
|
-
"gatsby-plugin-utils": "^4.0.0-next.
|
|
87
|
+
"gatsby-core-utils": "^4.0.0-next.2",
|
|
88
|
+
"gatsby-plugin-utils": "^4.0.0-next.3",
|
|
89
89
|
"objectFitPolyfill": "^2.3.5",
|
|
90
90
|
"prop-types": "^15.8.1"
|
|
91
91
|
},
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
},
|
|
97
97
|
"author": "Matt Kane <matt@gatsbyjs.com>",
|
|
98
98
|
"license": "MIT",
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "323957e0598735ef5443b062e159d1c4106b7371"
|
|
100
100
|
}
|