gatsby-admin
Advanced tools
Comparing version 0.1.91 to 0.1.92-tracing-graphql-debug.15
@@ -21,3 +21,3 @@ import React from "react" | ||
jest.mock( | ||
`$virtual/sync-requires`, | ||
`../sync-requires`, | ||
() => { | ||
@@ -24,0 +24,0 @@ return { |
var plugins = [{ | ||
plugin: require('C:/Users/Ward/projects/gatsby/gatsby-publish/packages/gatsby-plugin-react-helmet/gatsby-ssr'), | ||
plugin: require('/Users/misiek/dev/gatsby/packages/gatsby-plugin-react-helmet/gatsby-ssr'), | ||
options: {"plugins":[]}, | ||
@@ -4,0 +4,0 @@ }] |
@@ -11,5 +11,5 @@ import React from "react" | ||
import DevLoader from "./dev-loader" | ||
import syncRequires from "$virtual/sync-requires" | ||
import syncRequires from "./sync-requires" | ||
// Generated during bootstrap | ||
import matchPaths from "$virtual/match-paths.json" | ||
import matchPaths from "./match-paths.json" | ||
@@ -16,0 +16,0 @@ window.___emitter = emitter |
@@ -5,4 +5,4 @@ // prefer default export if available | ||
exports.components = { | ||
"component---src-pages-index-tsx": () => import("./../../src/pages/index.tsx" /* webpackChunkName: "component---src-pages-index-tsx" */) | ||
"component---src-pages-index-tsx": () => import("./../src/pages/index.tsx" /* webpackChunkName: "component---src-pages-index-tsx" */) | ||
} | ||
@@ -6,11 +6,11 @@ { | ||
{ | ||
"name": "C:\\Users\\Ward\\projects\\gatsby\\gatsby-publish\\node_modules\\@babel\\plugin-proposal-optional-chaining\\lib\\index.js", | ||
"name": "/Users/misiek/dev/gatsby/node_modules/@babel/plugin-proposal-optional-chaining/lib/index.js", | ||
"options": {} | ||
}, | ||
{ | ||
"name": "C:\\Users\\Ward\\projects\\gatsby\\gatsby-publish\\node_modules\\@babel\\plugin-proposal-nullish-coalescing-operator\\lib\\index.js", | ||
"name": "/Users/misiek/dev/gatsby/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/lib/index.js", | ||
"options": {} | ||
}, | ||
{ | ||
"name": "C:\\Users\\Ward\\projects\\gatsby\\gatsby-publish\\node_modules\\@babel\\plugin-proposal-numeric-separator\\lib\\index.js", | ||
"name": "/Users/misiek/dev/gatsby/node_modules/@babel/plugin-proposal-numeric-separator/lib/index.js", | ||
"options": {} | ||
@@ -21,3 +21,3 @@ } | ||
{ | ||
"name": "C:\\Users\\Ward\\projects\\gatsby\\gatsby-publish\\node_modules\\@babel\\preset-typescript\\lib\\index.js", | ||
"name": "/Users/misiek/dev/gatsby/node_modules/@babel/preset-typescript/lib/index.js", | ||
"options": { | ||
@@ -36,11 +36,11 @@ "plugins": [] | ||
{ | ||
"name": "C:\\Users\\Ward\\projects\\gatsby\\gatsby-publish\\node_modules\\@babel\\plugin-proposal-optional-chaining\\lib\\index.js", | ||
"name": "/Users/misiek/dev/gatsby/node_modules/@babel/plugin-proposal-optional-chaining/lib/index.js", | ||
"options": {} | ||
}, | ||
{ | ||
"name": "C:\\Users\\Ward\\projects\\gatsby\\gatsby-publish\\node_modules\\@babel\\plugin-proposal-nullish-coalescing-operator\\lib\\index.js", | ||
"name": "/Users/misiek/dev/gatsby/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/lib/index.js", | ||
"options": {} | ||
}, | ||
{ | ||
"name": "C:\\Users\\Ward\\projects\\gatsby\\gatsby-publish\\node_modules\\@babel\\plugin-proposal-numeric-separator\\lib\\index.js", | ||
"name": "/Users/misiek/dev/gatsby/node_modules/@babel/plugin-proposal-numeric-separator/lib/index.js", | ||
"options": {} | ||
@@ -51,3 +51,3 @@ } | ||
{ | ||
"name": "C:\\Users\\Ward\\projects\\gatsby\\gatsby-publish\\node_modules\\@babel\\preset-typescript\\lib\\index.js", | ||
"name": "/Users/misiek/dev/gatsby/node_modules/@babel/preset-typescript/lib/index.js", | ||
"options": { | ||
@@ -66,11 +66,11 @@ "plugins": [] | ||
{ | ||
"name": "C:\\Users\\Ward\\projects\\gatsby\\gatsby-publish\\node_modules\\@babel\\plugin-proposal-optional-chaining\\lib\\index.js", | ||
"name": "/Users/misiek/dev/gatsby/node_modules/@babel/plugin-proposal-optional-chaining/lib/index.js", | ||
"options": {} | ||
}, | ||
{ | ||
"name": "C:\\Users\\Ward\\projects\\gatsby\\gatsby-publish\\node_modules\\@babel\\plugin-proposal-nullish-coalescing-operator\\lib\\index.js", | ||
"name": "/Users/misiek/dev/gatsby/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/lib/index.js", | ||
"options": {} | ||
}, | ||
{ | ||
"name": "C:\\Users\\Ward\\projects\\gatsby\\gatsby-publish\\node_modules\\@babel\\plugin-proposal-numeric-separator\\lib\\index.js", | ||
"name": "/Users/misiek/dev/gatsby/node_modules/@babel/plugin-proposal-numeric-separator/lib/index.js", | ||
"options": {} | ||
@@ -81,3 +81,3 @@ } | ||
{ | ||
"name": "C:\\Users\\Ward\\projects\\gatsby\\gatsby-publish\\node_modules\\@babel\\preset-typescript\\lib\\index.js", | ||
"name": "/Users/misiek/dev/gatsby/node_modules/@babel/preset-typescript/lib/index.js", | ||
"options": { | ||
@@ -96,11 +96,11 @@ "plugins": [] | ||
{ | ||
"name": "C:\\Users\\Ward\\projects\\gatsby\\gatsby-publish\\node_modules\\@babel\\plugin-proposal-optional-chaining\\lib\\index.js", | ||
"name": "/Users/misiek/dev/gatsby/node_modules/@babel/plugin-proposal-optional-chaining/lib/index.js", | ||
"options": {} | ||
}, | ||
{ | ||
"name": "C:\\Users\\Ward\\projects\\gatsby\\gatsby-publish\\node_modules\\@babel\\plugin-proposal-nullish-coalescing-operator\\lib\\index.js", | ||
"name": "/Users/misiek/dev/gatsby/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/lib/index.js", | ||
"options": {} | ||
}, | ||
{ | ||
"name": "C:\\Users\\Ward\\projects\\gatsby\\gatsby-publish\\node_modules\\@babel\\plugin-proposal-numeric-separator\\lib\\index.js", | ||
"name": "/Users/misiek/dev/gatsby/node_modules/@babel/plugin-proposal-numeric-separator/lib/index.js", | ||
"options": {} | ||
@@ -111,3 +111,3 @@ } | ||
{ | ||
"name": "C:\\Users\\Ward\\projects\\gatsby\\gatsby-publish\\node_modules\\@babel\\preset-typescript\\lib\\index.js", | ||
"name": "/Users/misiek/dev/gatsby/node_modules/@babel/preset-typescript/lib/index.js", | ||
"options": { | ||
@@ -114,0 +114,0 @@ "plugins": [] |
@@ -23,5 +23,5 @@ "use strict"; | ||
var _syncRequires = _interopRequireDefault(require("$virtual/sync-requires")); | ||
var _syncRequires = _interopRequireDefault(require("./sync-requires")); | ||
var _matchPaths = _interopRequireDefault(require("$virtual/match-paths.json")); | ||
var _matchPaths = _interopRequireDefault(require("./match-paths.json")); | ||
@@ -28,0 +28,0 @@ // Generated during bootstrap |
@@ -125,6 +125,2 @@ "use strict"; | ||
postBodyComponents: postBodyComponents.concat([/*#__PURE__*/_react.default.createElement("script", { | ||
key: `polyfill`, | ||
src: "/polyfill.js", | ||
noModule: true | ||
}), /*#__PURE__*/_react.default.createElement("script", { | ||
key: `commons`, | ||
@@ -131,0 +127,0 @@ src: "/commons.js" |
@@ -25,3 +25,3 @@ "use strict"; | ||
var _asyncRequires = _interopRequireDefault(require("$virtual/async-requires")); | ||
var _asyncRequires = _interopRequireDefault(require("./async-requires")); | ||
@@ -34,3 +34,3 @@ var _loader = require("./loader"); | ||
var _matchPaths = _interopRequireDefault(require("$virtual/match-paths.json")); | ||
var _matchPaths = _interopRequireDefault(require("./match-paths.json")); | ||
@@ -37,0 +37,0 @@ // Generated during bootstrap |
@@ -47,3 +47,3 @@ "use strict"; | ||
const syncRequires = require(`$virtual/sync-requires`); | ||
const syncRequires = require(`./sync-requires`); | ||
@@ -416,19 +416,6 @@ const { | ||
} | ||
})); | ||
let bodyScripts = []; | ||
if (chunkMapping[`polyfill`]) { | ||
chunkMapping[`polyfill`].forEach(script => { | ||
const scriptPath = `${__PATH_PREFIX__}${script}`; | ||
bodyScripts.push( /*#__PURE__*/React.createElement("script", { | ||
key: scriptPath, | ||
src: scriptPath, | ||
noModule: true | ||
})); | ||
}); | ||
} // Filter out prefetched bundles as adding them as a script tag | ||
})); // Filter out prefetched bundles as adding them as a script tag | ||
// would force high priority fetching. | ||
bodyScripts = bodyScripts.concat(scripts.filter(s => s.rel !== `prefetch`).map(s => { | ||
const bodyScripts = scripts.filter(s => s.rel !== `prefetch`).map(s => { | ||
const scriptPath = `${__PATH_PREFIX__}/${JSON.stringify(s.name).slice(1, -1)}`; | ||
@@ -440,3 +427,3 @@ return /*#__PURE__*/React.createElement("script", { | ||
}); | ||
})); | ||
}); | ||
postBodyComponents.push(...bodyScripts); | ||
@@ -443,0 +430,0 @@ apiRunner(`onPreRenderHTML`, { |
@@ -112,3 +112,2 @@ import React from "react" | ||
postBodyComponents: postBodyComponents.concat([ | ||
<script key={`polyfill`} src="/polyfill.js" noModule={true} />, | ||
<script key={`commons`} src="/commons.js" />, | ||
@@ -115,0 +114,0 @@ ]), |
@@ -14,3 +14,3 @@ import { apiRunner, apiRunnerAsync } from "./api-runner-browser" | ||
import PageRenderer from "./page-renderer" | ||
import asyncRequires from "$virtual/async-requires" | ||
import asyncRequires from "./async-requires" | ||
import { | ||
@@ -26,3 +26,3 @@ setLoader, | ||
// Generated during bootstrap | ||
import matchPaths from "$virtual/match-paths.json" | ||
import matchPaths from "./match-paths.json" | ||
@@ -29,0 +29,0 @@ const loader = new ProdLoader(asyncRequires, matchPaths) |
@@ -20,3 +20,3 @@ const React = require(`react`) | ||
const apiRunner = require(`./api-runner-ssr`) | ||
const syncRequires = require(`$virtual/sync-requires`) | ||
const syncRequires = require(`./sync-requires`) | ||
const { version: gatsbyVersion } = require(`gatsby/package.json`) | ||
@@ -436,25 +436,13 @@ | ||
let bodyScripts = [] | ||
if (chunkMapping[`polyfill`]) { | ||
chunkMapping[`polyfill`].forEach(script => { | ||
const scriptPath = `${__PATH_PREFIX__}${script}` | ||
bodyScripts.push( | ||
<script key={scriptPath} src={scriptPath} noModule={true} /> | ||
) | ||
}) | ||
} | ||
// Filter out prefetched bundles as adding them as a script tag | ||
// would force high priority fetching. | ||
bodyScripts = bodyScripts.concat( | ||
scripts | ||
.filter(s => s.rel !== `prefetch`) | ||
.map(s => { | ||
const scriptPath = `${__PATH_PREFIX__}/${JSON.stringify(s.name).slice( | ||
1, | ||
-1 | ||
)}` | ||
return <script key={scriptPath} src={scriptPath} async /> | ||
}) | ||
) | ||
const bodyScripts = scripts | ||
.filter(s => s.rel !== `prefetch`) | ||
.map(s => { | ||
const scriptPath = `${__PATH_PREFIX__}/${JSON.stringify(s.name).slice( | ||
1, | ||
-1 | ||
)}` | ||
return <script key={scriptPath} src={scriptPath} async /> | ||
}) | ||
@@ -461,0 +449,0 @@ postBodyComponents.push(...bodyScripts) |
@@ -8,4 +8,4 @@ const { hot } = require("react-hot-loader/root") | ||
exports.components = { | ||
"component---src-pages-index-tsx": hot(preferDefault(require("C:\\Users\\Ward\\projects\\gatsby\\gatsby-publish\\packages\\gatsby-admin\\src\\pages\\index.tsx"))) | ||
"component---src-pages-index-tsx": hot(preferDefault(require("/Users/misiek/dev/gatsby/packages/gatsby-admin/src/pages/index.tsx"))) | ||
} | ||
{ | ||
"name": "gatsby-admin", | ||
"version": "0.1.91", | ||
"version": "0.1.92-tracing-graphql-debug.15+65f3dc763b", | ||
"main": "index.js", | ||
@@ -20,6 +20,6 @@ "author": "Max Stoiber", | ||
"formik": "^2.1.4", | ||
"gatsby": "^2.24.2", | ||
"gatsby": "2.24.3-tracing-graphql-debug.15+65f3dc763b", | ||
"gatsby-interface": "0.0.173", | ||
"gatsby-plugin-typescript": "^2.4.14", | ||
"gatsby-source-graphql": "^2.6.2", | ||
"gatsby-plugin-typescript": "2.4.14", | ||
"gatsby-source-graphql": "2.6.2", | ||
"ncp": "^2.0.0", | ||
@@ -44,3 +44,3 @@ "nodemon": "^2.0.4", | ||
}, | ||
"gitHead": "10669b4efb74f73f0bed69625b94276990d8609c" | ||
"gitHead": "65f3dc763b74cc7021a6d5623eb4b2d2f38f980d" | ||
} |
@@ -1,1 +0,1 @@ | ||
{"polyfill":["/polyfill-760942fb308ec169504e.js"],"app":["/app-c2403671f9cac294704a.js"],"component---src-pages-index-tsx":["/component---src-pages-index-tsx-83bde055a4225ce5cbb3.js"]} | ||
{"app":["/app-2617024e6a579ed35807.js"],"component---src-pages-index-tsx":["/component---src-pages-index-tsx-918c194fa1565712df47.js"]} |
@@ -1,1 +0,1 @@ | ||
{"webpackCompilationHash":"a7dfadba894a963cebaf"} | ||
{"webpackCompilationHash":"90a05ca4fff56aec09fc"} |
@@ -1,1 +0,1 @@ | ||
{"errors":[],"warnings":[],"namedChunkGroups":{"polyfill":{"chunks":[0,5],"assets":["webpack-runtime-aca2dbbfbce0578c567f.js","webpack-runtime-aca2dbbfbce0578c567f.js.map","polyfill-760942fb308ec169504e.js","polyfill-760942fb308ec169504e.js.map"],"children":{},"childAssets":{}},"app":{"chunks":[0,4,2],"assets":["webpack-runtime-aca2dbbfbce0578c567f.js","webpack-runtime-aca2dbbfbce0578c567f.js.map","framework-13085dc9837daf24a89b.js","framework-13085dc9837daf24a89b.js.map","app-c2403671f9cac294704a.js","app-c2403671f9cac294704a.js.map"],"children":{},"childAssets":{}},"component---src-pages-index-tsx":{"chunks":[1,3],"assets":["69bd6bf3-764b676e96a677ffea08.js","69bd6bf3-764b676e96a677ffea08.js.map","component---src-pages-index-tsx-83bde055a4225ce5cbb3.js","component---src-pages-index-tsx-83bde055a4225ce5cbb3.js.map"],"children":{},"childAssets":{}}},"assetsByChunkName":{"polyfill":["webpack-runtime-aca2dbbfbce0578c567f.js","polyfill-760942fb308ec169504e.js"],"app":["webpack-runtime-aca2dbbfbce0578c567f.js","framework-13085dc9837daf24a89b.js","app-c2403671f9cac294704a.js"],"component---src-pages-index-tsx":["69bd6bf3-764b676e96a677ffea08.js","component---src-pages-index-tsx-83bde055a4225ce5cbb3.js"]}} | ||
{"errors":[],"warnings":[],"namedChunkGroups":{"app":{"chunks":[4,3,1],"assets":["webpack-runtime-6c54aefd16a64ebd8484.js","webpack-runtime-6c54aefd16a64ebd8484.js.map","framework-701cae058345cc228c6d.js","framework-701cae058345cc228c6d.js.map","app-2617024e6a579ed35807.js","app-2617024e6a579ed35807.js.map"],"children":{},"childAssets":{}},"component---src-pages-index-tsx":{"chunks":[0,2],"assets":["69bd6bf3-4bd8a9781be38b28ce1b.js","69bd6bf3-4bd8a9781be38b28ce1b.js.map","component---src-pages-index-tsx-918c194fa1565712df47.js","component---src-pages-index-tsx-918c194fa1565712df47.js.map"],"children":{},"childAssets":{}}},"assetsByChunkName":{"app":["webpack-runtime-6c54aefd16a64ebd8484.js","framework-701cae058345cc228c6d.js","app-2617024e6a579ed35807.js"],"component---src-pages-index-tsx":["69bd6bf3-4bd8a9781be38b28ce1b.js","component---src-pages-index-tsx-918c194fa1565712df47.js"]}} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 742 instances in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 733 instances in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
86
750
5733991
867
8960