Socket
Socket
Sign inDemoInstall

closure-calculate-chunks

Package Overview
Dependencies
49
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 3.0.1

2

cli.js

@@ -154,5 +154,5 @@ #!/usr/bin/env node

.buildFromEntrypoints(
flags.packageJsonEntryNames,
entrypoints,
manualEntrypoints,
flags.packageJsonEntryNames,
rootDir,

@@ -159,0 +159,0 @@ googBasePath,

@@ -177,6 +177,6 @@ import graphlib from 'graphlib';

*
* @param {!Array<string>} packageJsonEntryNames prefence order of fields to look for in package.json files for the main file
* @param {!Array<{name:string, files: !Array<string>}>} entrypoints paths from which to start building the graph.
* The first entry is the primary entrypoint.
* @param {!Array<{parent: string, child: {name: string, files: !Array<string>}}>} manualEntrypoints additional files to be manually added.
* @param {!Array<string>=} packageJsonEntryNames prefence order of fields to look for in package.json files for the main file
* @param {string=} baseDirectory root directory of application

@@ -188,5 +188,5 @@ * @param {string=} googBasePath path to closure library base.js

static async buildFromEntrypoints(
packageJsonEntryNames,
entrypoints,
manualEntrypoints = [],
packageJsonEntryNames = ['browser', 'module', 'main'],
baseDirectory = process.cwd(),

@@ -193,0 +193,0 @@ googBasePath = process.cwd(),

{
"name": "closure-calculate-chunks",
"version": "3.0.0",
"version": "3.0.1",
"description": "Analyze dependencies from entry points and split code for closure-compiler",

@@ -5,0 +5,0 @@ "bin": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc