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: f65dbb96ec0e080ae5892d5144b0048379d1fec0
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
  • 20 commits
  • 28 files changed
  • 7 contributors

Commits on Jul 16, 2020

  1. ini github workflow

    vladikoff committed Jul 16, 2020
    Copy the full SHA
    3dc53f0 View commit details
  2. Delete appveyor.yml

    vladikoff authored Jul 16, 2020
    Copy the full SHA
    cba2631 View commit details
  3. Delete .travis.yml

    vladikoff authored Jul 16, 2020
    Copy the full SHA
    b7bcde4 View commit details
  4. Bump js-yaml from 3.5.5 to 3.14.0 (#551)

    Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.5.5 to 3.14.0.
    - [Release notes](https://github.com/nodeca/js-yaml/releases)
    - [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
    - [Commits](nodeca/js-yaml@3.5.5...3.14.0)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 16, 2020
    Copy the full SHA
    4645446 View commit details
  5. Bump lodash from 4.17.11 to 4.17.19 (#550)

    Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.19.
    - [Release notes](https://github.com/lodash/lodash/releases)
    - [Commits](lodash/lodash@4.17.11...4.17.19)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 16, 2020
    Copy the full SHA
    9259448 View commit details
  6. v5.0.0

    vladikoff committed Jul 16, 2020
    Copy the full SHA
    14b71da View commit details

Commits on Dec 13, 2020

  1. Bump ini from 1.3.5 to 1.3.8 (#552)

    Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
    - [Release notes](https://github.com/isaacs/ini/releases)
    - [Commits](npm/ini@v1.3.5...v1.3.8)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Dec 13, 2020
    Copy the full SHA
    8674feb View commit details

Commits on Mar 30, 2021

  1. Update UglifyJS to 3.13.3 (#554)

    Paul Schreiber authored Mar 30, 2021
    Copy the full SHA
    4e83e45 View commit details

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
    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
39 changes: 39 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Tests

on: [push, pull_request]

env:
FORCE_COLOR: 2

jobs:
run:
name: Node ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
node: [12, 14, 16]
os: [ubuntu-latest, windows-latest]

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

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

- name: Install npm dependencies
run: npm ci

- name: Run tests
run: npm test

# We test multiple Windows shells because of prior stdout buffering issues
# filed against Grunt. https://github.com/joyent/node/issues/3584
- name: Run PowerShell tests
run: "npm test # PowerShell" # Pass comment to PS for easier debugging
shell: powershell
if: startsWith(matrix.os, 'windows')
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

10 changes: 10 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
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:
- Requires node 10+.
- Update dependencies.
v4.0.1:
date: 2019-03-21
changes:
1 change: 1 addition & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -115,6 +115,7 @@ module.exports = function(grunt) {
src: 'test/fixtures/src/simple.js',
dest: 'tmp/wrap.js',
options: {
compress: false,
mangle: false,
wrap: 'testExport'
}
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# grunt-contrib-uglify v4.0.1 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-uglify.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-uglify) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/ybtf5vbvtenii561/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-uglify/branch/master)
# 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,9 @@ 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.
* 2018-07-29   v3.4.0   Update uglify-js to v3.4.0.
* 2017-12-24   v3.3.0   Update uglify-js to v3.3.0.
@@ -575,4 +578,4 @@ grunt.initConfig({

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

*This file was generated on Thu Mar 21 2019 14:11:06.*
*This file was generated on Fri Apr 15 2022 21:00:08.*
33 changes: 0 additions & 33 deletions appveyor.yml

This file was deleted.

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