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

@statoscope/webpack-model

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@statoscope/webpack-model - npm Package Compare versions

Comparing version 5.22.0 to 5.22.1-alpha.0

6

dist/handleCompilation.js

@@ -312,2 +312,8 @@ "use strict";

}
if (chunk.sizes) {
const keys = Object.keys(chunk.sizes);
if (keys.length === 1 && keys[0] === 'runtime') {
chunk.isRuntime = true;
}
}
if (chunk.children) {

@@ -314,0 +320,0 @@ normalizedChunk.children = chunk.children

8

dist/jora-helpers.js

@@ -356,3 +356,3 @@ "use strict";

entrypoint_getChunks(entrypoint) {
return context.query(`data.chunks + data.chunks..children`, entrypoint);
return context.query(`data.chunks + data.chunks.[not isRuntime]..children`, entrypoint);
},

@@ -372,9 +372,9 @@ entrypoint_getInitialChunks(entrypoint) {

entrypoint_getAssets(entrypoint) {
return context.query(`(data.chunks + data.chunks..children).files`, entrypoint);
return context.query(`(data.chunks + data.chunks.[not isRuntime]..children).files`, entrypoint);
},
entrypoint_getInitialAssets(entrypoint) {
return context.query(`(data.chunks + data.chunks..children).[initial].files`, entrypoint);
return context.query(`(data.chunks + data.chunks.[not isRuntime]..children).[initial].files`, entrypoint);
},
entrypoint_getAsyncAssets(entrypoint) {
return context.query(`(data.chunks + data.chunks..children).[not initial].files`, entrypoint);
return context.query(`(data.chunks + data.chunks.[not isRuntime]..children).[not initial].files`, entrypoint);
},

@@ -381,0 +381,0 @@ };

{
"name": "@statoscope/webpack-model",
"version": "5.22.0",
"version": "5.22.1-alpha.0",
"description": "This package contains helpers to process webpack stats",

@@ -37,3 +37,3 @@ "main": "./dist/index.js",

},
"gitHead": "0d2e09d892c1bb6e019778e270079f99cb80d332"
"gitHead": "fe6ea2b69d7c476112bcc9d69e88ee3dfc0df842"
}

@@ -34,2 +34,3 @@ import { ResolverFn } from '@statoscope/helpers/dist/entity-resolver';

siblings: NormalizedChunk[];
isRuntime?: boolean;
};

@@ -36,0 +37,0 @@ export type NormalizedEntrypointItem = { name: string; data: NormalizedEntrypoint };

@@ -55,2 +55,3 @@ import { StatsDescriptor } from '@statoscope/stats';

reason?: string | null;
sizes?: Record<string, number | undefined>;
children?: Array<ChunkID | Chunk>;

@@ -57,0 +58,0 @@ siblings?: Array<ChunkID | Chunk>;

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