{"id":26127,"library":"punch-gulp-closure-compiler","title":"Punch Agency Closure Compiler","description":"punch-gulp-closure-compiler is a self-contained wrapper for Google Closure Compiler, version 1.0.8, intended for use with Gulp. It was released on 2014-03-25 and has not seen any updates since. It provides a minimal API to pass JavaScript files through Closure Compiler for minification and optimization. Compared to gulp-closure-compiler or google-closure-compiler, this package is largely obsolete, unmaintained, and should not be used in new projects. It depends on closure-compiler via com.google.javascript:closure-compiler and has no active release cadence.","status":"deprecated","version":"1.0.8","language":"javascript","source_language":"en","source_url":null,"tags":["javascript"],"install":[{"cmd":"npm install punch-gulp-closure-compiler","lang":"bash","label":"npm"},{"cmd":"yarn add punch-gulp-closure-compiler","lang":"bash","label":"yarn"},{"cmd":"pnpm add punch-gulp-closure-compiler","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency for gulp plugin compatibility","package":"gulp","optional":true}],"imports":[{"note":"CommonJS only, no ESM support.","symbol":"default","correct":"let closure = require('punch-gulp-closure-compiler');"}],"quickstart":{"code":"var gulp = require('gulp');\nvar closure = require('punch-gulp-closure-compiler');\ngulp.task('compile', function() {\n  return gulp.src('src/*.js')\n    .pipe(closure())\n    .pipe(gulp.dest('build'));\n});","lang":"javascript","description":"Basic gulp task to minify JavaScript files using Closure Compiler."},"warnings":[{"fix":"Use google-closure-compiler or generic gulp plugins.","message":"Package is unmaintained and outdated; do not use in new projects.","severity":"deprecated","affected_versions":">=0.0.0"},{"fix":"Switch to an up-to-date closure compiler package.","message":"Only supports Node.js versions prior to 6, may break on newer runtimes.","severity":"breaking","affected_versions":">=1.0.0"},{"fix":"Inspect the npm package source or node_modules.","message":"No direct API documentation; usage relies on reading source code.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'npm install punch-gulp-closure-compiler' (not recommended).","cause":"Package not installed or npm install failed.","error":"Cannot find module 'punch-gulp-closure-compiler'"},{"fix":"Use 'var closure = require(\"punch-gulp-closure-compiler\")'.","cause":"Incorrect import style (e.g., destructuring).","error":"TypeError: closure is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}