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

@relative-ci/agent

Package Overview
Dependencies
Maintainers
1
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@relative-ci/agent - npm Package Compare versions

Comparing version 1.1.0-beta.1 to 1.1.0-beta.2

20

lib/extract/webpack-stats.js

@@ -13,8 +13,8 @@ const {

const EXCLUDE = '.map$';
const PATH_IGNORE_PATTERN = '.map$';
module.exports = (source, options = {}) => {
const exclude = new RegExp(options.exclude || EXCLUDE);
const pathIgnorePattern = new RegExp(options.pathIgnorePattern || PATH_IGNORE_PATTERN);
debug('Extract assets, entrypoints from the webpack stats');
debug('Extract assets, entrypoints, chunks, from the webpack stats');

@@ -24,3 +24,3 @@ const assets = flow(

map(pick(['name', 'size'])),
filter(({ name }) => !exclude.test(name)),
filter(({ name }) => !pathIgnorePattern.test(name)),
)(source);

@@ -38,6 +38,18 @@

const chunks = flow(
get('chunks'),
map(pick(['id', 'entry', 'initial', 'files', 'names'])),
)(source);
const modules = flow(
get('modules'),
map(pick(['name', 'size', 'chunks'])),
)(source);
return {
assets,
entrypoints,
chunks,
modules,
};
};

2

package.json
{
"name": "@relative-ci/agent",
"version": "1.1.0-beta.1",
"version": "1.1.0-beta.2",
"description": "Relative CI agent",

@@ -5,0 +5,0 @@ "repository": "relative-ci/agent",

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