Skip to content

Commit 48fab36

Browse files
committed
v2.2.1.
1 parent f161c6d commit 48fab36

File tree

3 files changed

+9
-25
lines changed

3 files changed

+9
-25
lines changed

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
v2.2.1:
2+
date: 2017-03-31
3+
changes:
4+
- Fix banner option.
15
v2.2.0:
26
date: 2017-03-01
37
changes:

README.md

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# grunt-contrib-uglify v2.2.0 [![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)
1+
# grunt-contrib-uglify v2.2.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)
22

33
> Minify JavaScript files with UglifyJS
44
@@ -26,27 +26,6 @@ _Run this task with the `grunt uglify` command._
2626

2727
Task targets, files and options may be specified according to the grunt [Configuring tasks](http://gruntjs.com/configuring-tasks) guide.
2828

29-
### Migrating from 2.x to 3.x
30-
31-
Version `3.x` introduced changes to configuring source maps. Accordingly, if you don't use the source map options you should be able to upgrade seamlessly. If you do use source maps, see below.
32-
33-
#### Removed options
34-
35-
* `sourceMappingURL` - This is calculated automatically now
36-
* `sourceMapPrefix` - No longer necessary for the above reason
37-
38-
#### Changed options
39-
40-
* `sourceMap` - Only accepts a `Boolean` value. Generates a map with a default name for you
41-
* `sourceMapRoot` - The location of your sources is now calculated for you when `sourceMap` is set to `true` but you can set manual source root if needed
42-
43-
#### New options
44-
45-
* `sourceMapName` - Accepts a string or function to change the location or name of your map
46-
* `sourceMapIncludeSources` - Embed the content of your source files directly into the map
47-
* `expression` - Accepts a `Boolean` value. Parse a single expression (JSON or single functions)
48-
* `quoteStyle` - Accepts integers `0` (default), `1`, `2`, `3`. Enforce or preserve quotation mark style.
49-
5029
### Options
5130

5231
This task primarily delegates to [UglifyJS2][], so please consider the [UglifyJS documentation][] as required reading for advanced configuration.
@@ -549,6 +528,7 @@ grunt.initConfig({
549528

550529
## Release History
551530

531+
* 2017-03-31   v2.2.1   Fix banner option.
552532
* 2017-03-01   v2.2.0   Update uglify-js to v2.8.3.
553533
* 2017-02-08   v2.1.0   Show size changes in output. Switch to `object.assign`.
554534
* 2016-07-19   v2.0.0   Update uglify-js to v2.7.0. `screwIE8` is enabled by default.
@@ -590,4 +570,4 @@ grunt.initConfig({
590570

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

593-
*This file was generated on Wed Mar 01 2017 09:37:05.*
573+
*This file was generated on Fri Mar 31 2017 12:54:16.*

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "grunt-contrib-uglify",
33
"description": "Minify JavaScript files with UglifyJS",
4-
"version": "2.2.0",
4+
"version": "2.2.1",
55
"author": {
66
"name": "Grunt Team",
77
"url": "http://gruntjs.com/"
@@ -19,7 +19,7 @@
1919
"chalk": "^1.0.0",
2020
"maxmin": "^1.1.0",
2121
"object.assign": "^4.0.4",
22-
"uglify-js": "~2.8.3",
22+
"uglify-js": "~2.8.20",
2323
"uri-path": "^1.0.0"
2424
},
2525
"devDependencies": {

0 commit comments

Comments
 (0)