Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gruntjs/grunt-contrib-uglify
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4e83e4520e6103d4a5e78dae2679699965a5de6a
Choose a base ref
...
head repository: gruntjs/grunt-contrib-uglify
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a3f3f342331326b42a22a6003df4da305a72cfbd
Choose a head ref
  • 12 commits
  • 10 files changed
  • 6 contributors

Commits on May 12, 2021

  1. Bump hosted-git-info from 2.8.8 to 2.8.9 (#556)

    Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
    - [Release notes](https://github.com/npm/hosted-git-info/releases)
    - [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
    - [Commits](npm/hosted-git-info@v2.8.8...v2.8.9)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 12, 2021
    Copy the full SHA
    9ccf10d View commit details

Commits on Aug 4, 2021

  1. Update uglify-js (#557)

    * Update uglify-js
    
    Closes #553 (supported in v3.13.6)
    
    * Update lock
    nachogarcia authored Aug 4, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    targos Michaël Zasso
    Copy the full SHA
    0e4b1a0 View commit details

Commits on Aug 18, 2021

  1. Bump path-parse from 1.0.6 to 1.0.7 (#558)

    Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
    - [Release notes](https://github.com/jbgutierrez/path-parse/releases)
    - [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)
    
    ---
    updated-dependencies:
    - dependency-name: path-parse
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 18, 2021
    Copy the full SHA
    1f6a012 View commit details

Commits on Oct 13, 2021

  1. Copy the full SHA
    12ca0f2 View commit details

Commits on Mar 27, 2022

  1. Update uglify-js to v3.15.2 (#562)

    * Update uglify-js to v3.15.2
    
    Signed-off-by: Nacho García <hello@nachogarcia.dev>
    
    * update tests
    
    Co-authored-by: alexlamsl <alexlamsl@gmail.com>
    nachogarcia and alexlamsl authored Mar 27, 2022
    Copy the full SHA
    2cb31be View commit details
  2. Update deps, v5.1.0 (#564)

    * Update deps, v5.1.0
    
    * Fix typo
    
    * Fix typo
    vladikoff authored Mar 27, 2022
    Copy the full SHA
    e410511 View commit details
  3. Bump minimist from 1.2.5 to 1.2.6 (#563)

    Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
    - [Release notes](https://github.com/substack/minimist/releases)
    - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)
    
    ---
    updated-dependencies:
    - dependency-name: minimist
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Mar 27, 2022
    Copy the full SHA
    7228446 View commit details

Commits on Mar 30, 2022

  1. Copy the full SHA
    98b4c5f View commit details

Commits on Apr 10, 2022

  1. Bump minimist from 1.2.5 to 1.2.6 (#567)

    Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
    - [Release notes](https://github.com/substack/minimist/releases)
    - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)
    
    ---
    updated-dependencies:
    - dependency-name: minimist
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 10, 2022
    Copy the full SHA
    c27ad5f View commit details

Commits on Apr 15, 2022

  1. update dependencies (#568)

    - chalk@4.1.2
    - grunt@1.5.2
    - maxmin@3.0.0
    - uglify-js@3.15.4
    alexlamsl authored Apr 15, 2022
    Copy the full SHA
    0850dcd View commit details

Commits on Apr 16, 2022

  1. Update Readme

    vladikoff committed Apr 16, 2022
    Copy the full SHA
    3c8d904 View commit details
  2. 5.2.1

    vladikoff committed Apr 16, 2022
    Copy the full SHA
    a3f3f34 View commit details
13 changes: 6 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Tests

on: [push, pull_request]

env:
CI: true
FORCE_COLOR: 2

jobs:
run:
@@ -11,21 +13,18 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [10, 12, 14]
node: [12, 14, 16]
os: [ubuntu-latest, windows-latest]

steps:
- name: Clone repository
uses: actions/checkout@v2

- name: Set Node.js version
uses: actions/setup-node@v1
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}

- run: node --version
- run: npm --version

- name: Install npm dependencies
run: npm ci

5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v5.1.0:
date: 2022-03-27
changes:
- Update dependencies. uglify-js ^3.15.2.
- Requires node 12+.
v5.0.0:
date: 2020-07-16
changes:
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# grunt-contrib-uglify v5.0.0 [![Build Status](https://github.com/gruntjs/grunt-contrib-uglify/workflows/Tests/badge.svg)](https://github.com/gruntjs/grunt-contrib-uglify/actions?workflow=Tests)
# grunt-contrib-uglify v5.2.0 [![Build Status](https://github.com/gruntjs/grunt-contrib-uglify/workflows/Tests/badge.svg)](https://github.com/gruntjs/grunt-contrib-uglify/actions?workflow=Tests)

> Minify JavaScript files with UglifyJS
@@ -442,7 +442,7 @@ grunt.initConfig({
});
```

#### Compiling all files separately on the each their path
#### Compiling all files separately in the each their path

This configuration will compress and mangle all js files separately in each folder.

@@ -487,7 +487,7 @@ grunt.initConfig({
mangle: {
properties: true
},
reserveDOMCache: true,
reserveDOMProperties: true,
exceptionsFiles: [ 'myExceptionsFile.json' ]
},
my_target: {
@@ -525,6 +525,7 @@ grunt.initConfig({

## Release History

* 2022-03-27   v5.1.0   Update dependencies. uglify-js ^3.15.2. Requires node 12+.
* 2020-07-16   v5.0.0   Requires node 10+. Update dependencies.
* 2019-03-21   v4.0.1   Update uglify-js to v3.5.0. Update dependencies.
* 2018-08-26   v4.0.0   Update dependencies. Requires Node.js >= 6.
@@ -577,4 +578,4 @@ grunt.initConfig({

Task submitted by ["Cowboy" Ben Alman](http://benalman.com)

*This file was generated on Thu Jul 16 2020 10:08:35.*
*This file was generated on Fri Apr 15 2022 21:00:08.*
4 changes: 2 additions & 2 deletions docs/uglify-examples.md
Original file line number Diff line number Diff line change
@@ -236,7 +236,7 @@ grunt.initConfig({
});
```

## Compiling all files separately on the each their path
## Compiling all files separately in the each their path

This configuration will compress and mangle all js files separately in each folder.

@@ -281,7 +281,7 @@ grunt.initConfig({
mangle: {
properties: true
},
reserveDOMCache: true,
reserveDOMProperties: true,
exceptionsFiles: [ 'myExceptionsFile.json' ]
},
my_target: {
Loading