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

gatsby-plugin-perf-budgets

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-plugin-perf-budgets - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

19

gatsby-node.js

@@ -89,3 +89,6 @@ const fs = require(`fs-extra`);

state.staticQueryComponents.forEach(sqc => {
staticQueries[sqc.hash] = path.relative(publicDir, sqc.componentPath);
staticQueries[sqc.hash] = path.relative(
state.program.directory,
sqc.componentPath
);
});

@@ -113,2 +116,4 @@

item.label = `Static Query result (from "${sqc}")`;
item.type = `static-data`;
item.fetch = `/` + path.relative(`./public`, item.path);
}

@@ -152,7 +157,9 @@ })

statSize: 5000,
label: path.relative(publicDir, pageDataStatsPath),
label: `Page-data`,
path: path.relative(state.program.directory, pageDataStatsPath),
fetch: `/` + path.relative(publicDir, pageDataStatsPath),
isAsset: true,
groups: [],
componentChunkName,
path: pagePath,
// path: pagePath,
type: `page-data`

@@ -171,6 +178,8 @@ };

statSize: 5000,
label: path.relative(publicDir, appDataPath),
label: `App-data`,
path: path.relative(state.program.directory, appDataPath),
fetch: `/` + path.relative(publicDir, appDataPath),
isAsset: true,
groups: [],
path: path.relative(publicDir, appDataPath),
// path: path.relative(publicDir, appDataPath),
type: `app-data`

@@ -177,0 +186,0 @@ };

{
"name": "gatsby-plugin-perf-budgets",
"version": "0.0.8",
"version": "0.0.9",
"license": "MIT",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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