chore(deps): bump google-closure-compiler from 20240317.0.0 to 20250625.0.0 (#9187)

* chore(deps): bump google-closure-compiler

  Bumps [google-closure-compiler](https://github.com/google/closure-compiler-npm) from 20240317.0.0 to 20250625.0.0.
  - [Release notes](https://github.com/google/closure-compiler-npm/releases)
  - [Commits](https://github.com/google/closure-compiler-npm/compare/v20240317.0.0...v20250625.0.0)

  ---
  updated-dependencies:
  - dependency-name: google-closure-compiler
    dependency-version: 20250625.0.0
    dependency-type: direct:development
    update-type: version-update:semver-major
  ...

  Signed-off-by: dependabot[bot] <support@github.com>

* chore(build): Update import of google-closure-compiler

  The packaging of this module changed and so how we import it needs
  to change as well.

* fix(build): Remove no-longer-supported compiler option

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christopher Allen <cpcallen+git@google.com>
This commit is contained in:
dependabot[bot]
2025-07-08 14:28:57 +01:00
committed by GitHub
parent dfcdcc1935
commit 8580d763b3
3 changed files with 67 additions and 33 deletions

View File

@@ -19,9 +19,7 @@ import * as fsPromises from 'fs/promises';
import {exec, execSync} from 'child_process';
import {globSync} from 'glob';
// For v20250609.0.0 and later:
// import {gulp as closureCompiler} from 'google-closure-compiler';
import ClosureCompiler from 'google-closure-compiler';
import {gulp as closureCompiler} from 'google-closure-compiler';
import yargs from 'yargs';
import {hideBin} from 'yargs/helpers';
import {rimraf} from 'rimraf';
@@ -31,8 +29,6 @@ import {getPackageJson} from './helper_tasks.mjs';
import {posixPath, quote} from '../helpers.js';
const closureCompiler = ClosureCompiler.gulp();
const argv = yargs(hideBin(process.argv)).parse();
////////////////////////////////////////////////////////////
@@ -247,7 +243,6 @@ const JSCOMP_ERROR = [
'underscore',
'unknownDefines',
// 'unusedLocalVariables', // Disabled; see note in JSCOMP_OFF.
'unusedPrivateMembers',
'uselessCode',
'untranspilableFeatures',
// 'visibility', // Disabled; see note in JSCOMP_OFF.