Skip to content

Commit

Permalink
Bump to 1.8.1
Browse files Browse the repository at this point in the history
Turn on mangling in minification
  • Loading branch information
Nick Hwang committed Mar 14, 2016
1 parent 7d6b348 commit 5606708
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 1.8.1
- Compress minified file with mangling

### 1.8.0
- Add precision parameter to fileSize [#70]
- Update tests to use source file and not distribution
Expand Down
2 changes: 1 addition & 1 deletion __tests__/humanize.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env jasmine */

import Humanize from '../src/humanize';
import Humanize from '../dist/humanize.min';

describe('When using method via destructured assignment', () => {
it('should properly reference other Humanize methods', () => {
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "humanize-plus",
"version": "1.8.0",
"version": "1.8.1",
"homepage": "https://github.com/HubSpot/humanize",
"authors": [
"HubSpot <devteam@hubspot.com> (http://dev.hubspot.com)",
Expand Down
2 changes: 1 addition & 1 deletion dist/humanize.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* humanize.js - v1.8.0 */
/* humanize.js - v1.8.1 */
'use strict';

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
Expand Down
4 changes: 2 additions & 2 deletions dist/humanize.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "humanize-plus",
"title": "Humanize",
"description": "A simple utility library for making the web more humane.",
"version": "1.8.0",
"version": "1.8.1",
"license": "MIT",
"homepage": "https://github.com/HubSpot/humanize",
"main": "./dist/humanize.js",
Expand Down Expand Up @@ -47,7 +47,7 @@
"reinstall": "del node_modules && npm install",
"clean": "del dist",
"preuglify": "mkdir -p dist",
"uglify": "uglifyjs -co dist/humanize.min.js dist/humanize.js",
"uglify": "uglifyjs -cmo dist/humanize.min.js dist/humanize.js",
"watch": "babel --watch src -d dist",
"babel": "babel src -d dist",
"header": "./bin/header",
Expand Down

0 comments on commit 5606708

Please sign in to comment.