Skip to content

Commit 0a14a74

Browse files
committed
works on node 4+
1 parent 004906f commit 0a14a74

3 files changed

Lines changed: 11 additions & 6 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
language: node_js
22

33
node_js:
4-
- 0.8
4+
- 4

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
[![Build Status](https://secure.travis-ci.org/techjacker/node-version-assets.png)](http://travis-ci.org/techjacker/node-version-assets)
44

5+
6+
#### V1 release = Now works on Node.js v4+
7+
8+
59
- Versions your static assets using the power of streams!
610
- Version number produced from md5hash of each file -> so unchanged assets will keep the same file name and not blow the browser cache.
711
- Greps your html and css files and updates filenames of versioned files.
@@ -169,3 +173,4 @@ If set to true then unsuffixed js assets (listed in the assets array) will be up
169173
- 0.0.2: added {options.keepOriginalAndOldVersions}
170174
- 0.0.3: enabled versioning of all file types (previously just utf8)
171175
- 0.0.4 - 0.0.8: misc bug fixes
176+
- 1.0.0 - Updated to work on Node.js v4+

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@
4949
"versioning"
5050
],
5151
"dependencies": {
52-
"async": "^1.5.0",
52+
"async": "~1.5.0",
5353
"crypto": "0.0.3",
54-
"underscore": "^1.8.3"
54+
"underscore": "~1.8.3"
5555
},
5656
"devDependencies": {
57-
"async": "^1.5.0",
58-
"curry": "^1.2.0",
59-
"tap": "^2.2.0"
57+
"async": "~1.5.0",
58+
"curry": "~1.2.0",
59+
"tap": "~2.2.0"
6060
}
6161
}

0 commit comments

Comments
 (0)