{"versions":{"0.4.4":{"name":"gulp-rev-replace","version":"0.4.4","description":"Rewrite occurences of filenames which have been renamed by gulp-rev","main":"index.js","repository":{"type":"git","url":"git+https://github.com/jamesknelson/gulp-rev-replace.git"},"scripts":{"test":"mocha"},"keywords":["gulpplugin","rev","revision","version","replace","asset"],"author":{"name":"James K Nelson","email":"james@numbattech.com","url":"http://jamesknelson.com"},"engines":{"node":">=0.10.0"},"license":"MIT","dependencies":{"plugin-error":"^0.1.2","through2":"^2.0.0"},"devDependencies":{"event-stream":"^3.2.2","gulp-filter":"^3.0.1","gulp-rev":"^6.0.1","mocha":"^2.3.4","vinyl":"^2.1.0"},"gitHead":"90e320e7f45a6a2304bbb437cd15b6d604935192","bugs":{"url":"https://github.com/jamesknelson/gulp-rev-replace/issues"},"homepage":"https://github.com/jamesknelson/gulp-rev-replace#readme","_id":"gulp-rev-replace@0.4.4","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"anonymous","email":"james@jamesknelson.com"},"maintainers":[{"name":"anonymous","email":"james@numbat.com.au"}],"dist":{"shasum":"9696854131024baf264010b1f51ff8a1382ab94a","size":6437,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/gulp-rev-replace/-/gulp-rev-replace-0.4.4.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-rev-replace-0.4.4.tgz_1517634496299_0.4155755750834942"},"directories":{},"publish_time":1517634496522,"_hasShrinkwrap":false,"_cnpm_publish_time":1517634496522,"contributors":[]},"0.4.3":{"name":"gulp-rev-replace","version":"0.4.3","description":"Rewrite occurences of filenames which have been renamed by gulp-rev","main":"index.js","repository":{"type":"git","url":"git+https://github.com/jamesknelson/gulp-rev-replace.git"},"scripts":{"test":"mocha"},"keywords":["gulpplugin","rev","revision","version","replace","asset"],"author":{"name":"James K Nelson","email":"james@numbattech.com","url":"http://jamesknelson.com"},"engines":{"node":">=0.10.0"},"license":"MIT","dependencies":{"gulp-util":"^3.0.7","through2":"^2.0.0"},"devDependencies":{"event-stream":"^3.2.2","gulp-filter":"^3.0.1","gulp-rev":"^6.0.1","mocha":"^2.3.4"},"gitHead":"c7cc3cb197d2d3e222cdc9b8d0ec2cd1388d3832","bugs":{"url":"https://github.com/jamesknelson/gulp-rev-replace/issues"},"homepage":"https://github.com/jamesknelson/gulp-rev-replace#readme","_id":"gulp-rev-replace@0.4.3","_shasum":"72b51848f5f093ad4b77b1d2411081eb78acd46e","_from":".","_npmVersion":"3.3.12","_nodeVersion":"0.12.7","_npmUser":{"name":"anonymous","email":"james@numbat.com.au"},"maintainers":[{"name":"anonymous","email":"james@numbat.com.au"}],"dist":{"shasum":"72b51848f5f093ad4b77b1d2411081eb78acd46e","size":6450,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/gulp-rev-replace/-/gulp-rev-replace-0.4.3.tgz"},"directories":{},"publish_time":1450851309209,"_cnpm_publish_time":1450851309209,"_hasShrinkwrap":false,"contributors":[]},"0.4.2":{"name":"gulp-rev-replace","version":"0.4.2","description":"Rewrite occurences of filenames which have been renamed by gulp-rev","main":"index.js","repository":{"type":"git","url":"https://github.com/jamesknelson/gulp-rev-replace"},"scripts":{"test":"mocha"},"keywords":["gulpplugin","rev","revision","version","replace","asset"],"author":{"name":"James K Nelson","email":"james@numbattech.com","url":"http://jamesknelson.com"},"engines":{"node":">=0.10.0"},"license":"MIT","dependencies":{"event-stream":"^3.2.2","gulp-util":"~2.2.14","through2":"~0.4.1"},"devDependencies":{"event-stream":"^3.1.7","gulp-filter":"~0.4.0","gulp-rev":"~0.3.2","mocha":"~1.18.2"},"gitHead":"9c23296d1c7ea2a113b2c4fe6fc5b77bcab6edde","bugs":{"url":"https://github.com/jamesknelson/gulp-rev-replace/issues"},"homepage":"https://github.com/jamesknelson/gulp-rev-replace","_id":"gulp-rev-replace@0.4.2","_shasum":"d5f2f09a12f898c556e5d8de0d6f02895a54dcf8","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"anonymous","email":"james@numbat.com.au"},"maintainers":[{"name":"anonymous","email":"james@numbat.com.au"}],"dist":{"shasum":"d5f2f09a12f898c556e5d8de0d6f02895a54dcf8","size":6428,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/gulp-rev-replace/-/gulp-rev-replace-0.4.2.tgz"},"directories":{},"publish_time":1434117034661,"_cnpm_publish_time":1434117034661,"_hasShrinkwrap":false,"contributors":[]},"0.4.1":{"name":"gulp-rev-replace","version":"0.4.1","description":"Rewrite occurences of filenames which have been renamed by gulp-rev","main":"index.js","repository":{"type":"git","url":"https://github.com/jamesknelson/gulp-rev-replace"},"scripts":{"test":"mocha"},"keywords":["gulpplugin","rev","revision","version","replace","asset"],"author":{"name":"James K Nelson","email":"james@numbattech.com","url":"http://jamesknelson.com"},"engines":{"node":">=0.10.0"},"license":"MIT","dependencies":{"event-stream":"^3.2.2","gulp-util":"~2.2.14","through2":"~0.4.1"},"devDependencies":{"event-stream":"^3.1.7","gulp-filter":"~0.4.0","gulp-rev":"~0.3.2","mocha":"~1.18.2"},"gitHead":"f79e5468b33d4201098dfbd1adf7936bf7d748fd","bugs":{"url":"https://github.com/jamesknelson/gulp-rev-replace/issues"},"homepage":"https://github.com/jamesknelson/gulp-rev-replace","_id":"gulp-rev-replace@0.4.1","_shasum":"ed09aa4ea7b407f879865fa2f58a3478ac37c325","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"anonymous","email":"james@numbat.com.au"},"maintainers":[{"name":"anonymous","email":"james@numbat.com.au"}],"dist":{"shasum":"ed09aa4ea7b407f879865fa2f58a3478ac37c325","size":5730,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/gulp-rev-replace/-/gulp-rev-replace-0.4.1.tgz"},"directories":{},"publish_time":1432533061609,"_cnpm_publish_time":1432533061609,"_hasShrinkwrap":false,"contributors":[]},"0.4.0":{"name":"gulp-rev-replace","version":"0.4.0","description":"Rewrite occurences of filenames which have been renamed by gulp-rev","main":"index.js","repository":{"type":"git","url":"https://github.com/jamesknelson/gulp-rev-replace"},"scripts":{"test":"mocha"},"keywords":["gulpplugin","rev","revision","version","replace","asset"],"author":{"name":"James K Nelson","email":"james@numbattech.com","url":"http://jamesknelson.com"},"engines":{"node":">=0.10.0"},"license":"MIT","dependencies":{"event-stream":"^3.2.2","gulp-util":"~2.2.14","through2":"~0.4.1"},"devDependencies":{"event-stream":"^3.1.7","gulp-filter":"~0.4.0","gulp-rev":"~0.3.2","mocha":"~1.18.2"},"gitHead":"20eaad6baf34a21e0a4cb922d0744df441ffc6e0","bugs":{"url":"https://github.com/jamesknelson/gulp-rev-replace/issues"},"homepage":"https://github.com/jamesknelson/gulp-rev-replace","_id":"gulp-rev-replace@0.4.0","_shasum":"d345d433c94c6d9661c13cd97b4f63dc62da759a","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"anonymous","email":"james@numbat.com.au"},"maintainers":[{"name":"anonymous","email":"james@numbat.com.au"}],"dist":{"shasum":"d345d433c94c6d9661c13cd97b4f63dc62da759a","size":5872,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/gulp-rev-replace/-/gulp-rev-replace-0.4.0.tgz"},"directories":{},"publish_time":1425016492422,"_cnpm_publish_time":1425016492422,"_hasShrinkwrap":false,"contributors":[]},"0.3.4":{"name":"gulp-rev-replace","version":"0.3.4","description":"Rewrite occurences of filenames which have been renamed by gulp-rev","main":"index.js","repository":{"type":"git","url":"https://github.com/jamesknelson/gulp-rev-replace"},"scripts":{"test":"mocha"},"keywords":["gulpplugin","rev","revision","version","replace","asset"],"author":{"name":"James K Nelson","email":"james@numbattech.com","url":"http://jamesknelson.com"},"engines":{"node":">=0.10.0"},"license":"MIT","dependencies":{"through2":"~0.4.1","gulp-util":"~2.2.14"},"devDependencies":{"mocha":"~1.18.2","gulp-rev":"~0.3.2","gulp-filter":"~0.4.0"},"gitHead":"7556d1515a9c7dc5913af8f14c3205dc5b54b630","bugs":{"url":"https://github.com/jamesknelson/gulp-rev-replace/issues"},"homepage":"https://github.com/jamesknelson/gulp-rev-replace","_id":"gulp-rev-replace@0.3.4","_shasum":"77726cc7afd47fe39ca50304b062ff847dc75e30","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"anonymous","email":"james@numbat.com.au"},"maintainers":[{"name":"anonymous","email":"james@numbat.com.au"}],"dist":{"shasum":"77726cc7afd47fe39ca50304b062ff847dc75e30","size":5308,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/gulp-rev-replace/-/gulp-rev-replace-0.3.4.tgz"},"directories":{},"publish_time":1423800082185,"_cnpm_publish_time":1423800082185,"_hasShrinkwrap":false,"contributors":[]},"0.3.3":{"name":"gulp-rev-replace","version":"0.3.3","description":"Rewrite occurences of filenames which have been renamed by gulp-rev","main":"index.js","repository":{"type":"git","url":"https://github.com/jamesknelson/gulp-rev-replace"},"scripts":{"test":"mocha"},"keywords":["gulpplugin","rev","revision","version","replace","asset"],"author":{"name":"James K Nelson","email":"james@numbattech.com","url":"http://jamesknelson.com"},"engines":{"node":">=0.10.0"},"license":"MIT","dependencies":{"through2":"~0.4.1","gulp-util":"~2.2.14"},"devDependencies":{"mocha":"~1.18.2","gulp-rev":"~0.3.2","gulp-filter":"~0.4.0"},"gitHead":"c3be746ac5d60d91573c5364b795a4650625f593","bugs":{"url":"https://github.com/jamesknelson/gulp-rev-replace/issues"},"homepage":"https://github.com/jamesknelson/gulp-rev-replace","_id":"gulp-rev-replace@0.3.3","_shasum":"198344d75f1cfcd5b0ac6d80488593204b82d748","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"anonymous","email":"james@numbat.com.au"},"maintainers":[{"name":"anonymous","email":"james@numbat.com.au"}],"dist":{"shasum":"198344d75f1cfcd5b0ac6d80488593204b82d748","size":4343,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/gulp-rev-replace/-/gulp-rev-replace-0.3.3.tgz"},"directories":{},"publish_time":1422432028841,"_cnpm_publish_time":1422432028841,"_hasShrinkwrap":false,"contributors":[]},"0.3.2":{"name":"gulp-rev-replace","version":"0.3.2","description":"Rewrite occurences of filenames which have been renamed by gulp-rev","main":"index.js","repository":{"type":"git","url":"https://github.com/jamesknelson/gulp-rev-replace"},"scripts":{"test":"mocha"},"keywords":["gulpplugin","rev","revision","version","replace","asset"],"author":{"name":"James K Nelson","email":"james@numbattech.com","url":"http://jamesknelson.com"},"engines":{"node":">=0.10.0"},"license":"MIT","dependencies":{"through2":"~0.4.1","gulp-util":"~2.2.14"},"devDependencies":{"mocha":"~1.18.2","gulp-rev":"~0.3.2","gulp-filter":"~0.4.0"},"gitHead":"72170d8c883ab4d133dbecf5eae77c1d8cc89073","bugs":{"url":"https://github.com/jamesknelson/gulp-rev-replace/issues"},"homepage":"https://github.com/jamesknelson/gulp-rev-replace","_id":"gulp-rev-replace@0.3.2","_shasum":"ecce98f00b1198a3ace4d78dc0aa5452cb267db3","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"anonymous","email":"james@numbat.com.au"},"maintainers":[{"name":"anonymous","email":"james@numbat.com.au"}],"dist":{"shasum":"ecce98f00b1198a3ace4d78dc0aa5452cb267db3","size":4150,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/gulp-rev-replace/-/gulp-rev-replace-0.3.2.tgz"},"directories":{},"publish_time":1422083292117,"_cnpm_publish_time":1422083292117,"_hasShrinkwrap":false,"contributors":[]},"0.3.1":{"name":"gulp-rev-replace","version":"0.3.1","description":"Rewrite occurences of filenames which have been renamed by gulp-rev","main":"index.js","repository":{"type":"git","url":"https://github.com/jamesknelson/gulp-rev-replace"},"scripts":{"test":"mocha"},"keywords":["gulpplugin","rev","revision","version","replace","asset"],"author":{"name":"James K Nelson","email":"james@numbattech.com","url":"http://jamesknelson.com"},"engines":{"node":">=0.10.0"},"license":"MIT","dependencies":{"through2":"~0.4.1","gulp-util":"~2.2.14"},"devDependencies":{"mocha":"~1.18.2","gulp-rev":"~0.3.2","gulp-filter":"~0.4.0"},"gitHead":"f31e1933639103b290472ba1b2d87be8c4d1d380","bugs":{"url":"https://github.com/jamesknelson/gulp-rev-replace/issues"},"homepage":"https://github.com/jamesknelson/gulp-rev-replace","_id":"gulp-rev-replace@0.3.1","_shasum":"7828b7deb658ec9782713ebb69b06ee0c8a15350","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"anonymous","email":"james@numbat.com.au"},"maintainers":[{"name":"anonymous","email":"james@numbat.com.au"}],"dist":{"shasum":"7828b7deb658ec9782713ebb69b06ee0c8a15350","size":3996,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/gulp-rev-replace/-/gulp-rev-replace-0.3.1.tgz"},"directories":{},"publish_time":1408082484383,"_cnpm_publish_time":1408082484383,"_hasShrinkwrap":false,"contributors":[]},"0.3.0":{"name":"gulp-rev-replace","version":"0.3.0","description":"Rewrite occurences of filenames which have been renamed by gulp-rev","main":"index.js","repository":{"type":"git","url":"git://github.com/jamesknelson/gulp-rev-replace"},"scripts":{"test":"mocha"},"keywords":["gulpplugin","rev","revision","version","replace","asset"],"author":{"name":"James K Nelson","email":"james@numbattech.com","url":"http://jamesknelson.com"},"engines":{"node":">=0.10.0"},"license":"MIT","dependencies":{"through2":"~0.4.1","gulp-util":"~2.2.14"},"devDependencies":{"mocha":"~1.18.2","gulp-rev":"~0.3.2","gulp-filter":"~0.4.0"},"bugs":{"url":"https://github.com/jamesknelson/gulp-rev-replace/issues"},"homepage":"https://github.com/jamesknelson/gulp-rev-replace","_id":"gulp-rev-replace@0.3.0","dist":{"shasum":"d51e5b23731ac7670f990133419aeee019d2ec7f","size":3882,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/gulp-rev-replace/-/gulp-rev-replace-0.3.0.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"anonymous","email":"james@numbat.com.au"},"maintainers":[{"name":"anonymous","email":"james@numbat.com.au"}],"directories":{},"publish_time":1405803649325,"_cnpm_publish_time":1405803649325,"_hasShrinkwrap":false,"contributors":[]},"0.2.1":{"name":"gulp-rev-replace","version":"0.2.1","description":"Rewrite occurences of filenames which have been renamed by gulp-rev","main":"index.js","repository":{"type":"git","url":"git://github.com/jamesknelson/gulp-rev-replace"},"scripts":{"test":"mocha"},"keywords":["gulpplugin","rev","revision","version","replace","asset"],"author":{"name":"James K Nelson","email":"james@numbattech.com","url":"http://jamesknelson.com"},"engines":{"node":">=0.10.0"},"license":"MIT","dependencies":{"through2":"~0.4.1","gulp-util":"~2.2.14"},"devDependencies":{"mocha":"~1.18.2","gulp-rev":"~0.3.2","gulp-filter":"~0.4.0"},"bugs":{"url":"https://github.com/jamesknelson/gulp-rev-replace/issues"},"homepage":"https://github.com/jamesknelson/gulp-rev-replace","_id":"gulp-rev-replace@0.2.1","dist":{"shasum":"9d0f4cc0389a8294f5a26cc23d5314e39366f868","size":3465,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/gulp-rev-replace/-/gulp-rev-replace-0.2.1.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"anonymous","email":"james@numbat.com.au"},"maintainers":[{"name":"anonymous","email":"james@numbat.com.au"}],"directories":{},"publish_time":1402976493463,"_cnpm_publish_time":1402976493463,"_hasShrinkwrap":false,"contributors":[]},"0.2.0":{"name":"gulp-rev-replace","version":"0.2.0","description":"Rewrite occurences of filenames which have been renamed by gulp-rev","main":"index.js","repository":{"type":"git","url":"git://github.com/jamesknelson/gulp-rev-replace"},"scripts":{"test":"mocha"},"keywords":["gulpplugin","rev","revision","version","replace","asset"],"author":{"name":"James K Nelson","email":"james@numbattech.com","url":"http://jamesknelson.com"},"engines":{"node":">=0.10.0"},"license":"MIT","dependencies":{"through2":"~0.4.1","gulp-util":"~2.2.14"},"devDependencies":{"mocha":"~1.18.2","gulp-rev":"~0.3.2","gulp-filter":"~0.4.0"},"bugs":{"url":"https://github.com/jamesknelson/gulp-rev-replace/issues"},"homepage":"https://github.com/jamesknelson/gulp-rev-replace","_id":"gulp-rev-replace@0.2.0","dist":{"shasum":"2e93c77cbdd86e1aed97dc3fd4a71806bef135a4","size":3484,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/gulp-rev-replace/-/gulp-rev-replace-0.2.0.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"anonymous","email":"james@numbat.com.au"},"maintainers":[{"name":"anonymous","email":"james@numbat.com.au"}],"directories":{},"publish_time":1401555649625,"_cnpm_publish_time":1401555649625,"_hasShrinkwrap":false,"contributors":[]},"0.1.0":{"name":"gulp-rev-replace","version":"0.1.0","description":"Rewrite occurences of filenames which have been renamed by gulp-rev","main":"index.js","repository":{"type":"git","url":"git://github.com/jamesknelson/gulp-rev-replace"},"scripts":{"test":"mocha"},"keywords":["gulpplugin","rev","revision","version","replace","asset"],"author":{"name":"James K Nelson","email":"james@numbattech.com","url":"http://jamesknelson.com"},"engines":{"node":">=0.10.0"},"license":"MIT","dependencies":{"through2":"~0.4.1","gulp-util":"~2.2.14"},"devDependencies":{"mocha":"~1.18.2","gulp-rev":"~0.3.2","gulp-filter":"~0.4.0"},"bugs":{"url":"https://github.com/jamesknelson/gulp-rev-replace/issues"},"homepage":"https://github.com/jamesknelson/gulp-rev-replace","_id":"gulp-rev-replace@0.1.0","dist":{"shasum":"6898e64a6e420405022b1bf9e40d02675bcb9d30","size":2971,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/gulp-rev-replace/-/gulp-rev-replace-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"anonymous","email":"james@numbat.com.au"},"maintainers":[{"name":"anonymous","email":"james@numbat.com.au"}],"directories":{},"publish_time":1397054140165,"_cnpm_publish_time":1397054140165,"_hasShrinkwrap":false,"contributors":[]},"0.0.1":{"name":"gulp-rev-replace","version":"0.0.1","description":"Rewrite occurences of filenames which have been renamed by gulp-rev","main":"index.js","repository":{"type":"git","url":"git://github.com/jamesknelson/gulp-rev-rename"},"scripts":{"test":"mocha"},"keywords":["gulpplugin","rev","revision","version","replace","asset"],"author":{"name":"James K Nelson","email":"james@numbattech.com","url":"http://jamesknelson.com"},"engines":{"node":">=0.10.0"},"license":"MIT","dependencies":{"through2":"~0.4.1","gulp-util":"~2.2.14"},"devDependencies":{"mocha":"~1.18.2","gulp-rev":"~0.3.2","gulp-filter":"~0.4.0"},"bugs":{"url":"https://github.com/jamesknelson/gulp-rev-rename/issues"},"homepage":"https://github.com/jamesknelson/gulp-rev-rename","_id":"gulp-rev-replace@0.0.1","dist":{"shasum":"a2f7b64bca1a135d43bec793415aa6498e039bac","size":2979,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/gulp-rev-replace/-/gulp-rev-replace-0.0.1.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"anonymous","email":"james@numbat.com.au"},"maintainers":[{"name":"anonymous","email":"james@numbat.com.au"}],"directories":{},"publish_time":1397054070550,"_cnpm_publish_time":1397054070550,"_hasShrinkwrap":false,"contributors":[]}},"dist-tags":{"latest":"0.4.4"},"name":"gulp-rev-replace","time":{"modified":"2023-08-03T15:49:28.511Z","created":"2022-01-26T14:55:35.984Z","0.4.4":"2018-02-03T05:08:16.522Z","0.4.3":"2015-12-23T06:15:09.209Z","0.4.2":"2015-06-12T13:50:34.661Z","0.4.1":"2015-05-25T05:51:01.609Z","0.4.0":"2015-02-27T05:54:52.422Z","0.3.4":"2015-02-13T04:01:22.185Z","0.3.3":"2015-01-28T08:00:28.841Z","0.3.2":"2015-01-24T07:08:12.117Z","0.3.1":"2014-08-15T06:01:24.383Z","0.3.0":"2014-07-19T21:00:49.325Z","0.2.1":"2014-06-17T03:41:33.463Z","0.2.0":"2014-05-31T17:00:49.625Z","0.1.0":"2014-04-09T14:35:40.165Z","0.0.1":"2014-04-09T14:34:30.550Z"},"readme":"[gulp](https://github.com/wearefractal/gulp)-rev-replace [![Build Status](https://travis-ci.org/jamesknelson/gulp-rev-replace.svg?branch=master)](https://travis-ci.org/jamesknelson/gulp-rev-replace)\n================\n\nRewrite occurrences of filenames which have been renamed by gulp-rev\n\n## Install\n\n```bash\n$ npm install --save-dev gulp-rev-replace\n```\n\n\n## Usage\n\nPipe through a stream which has both the files you want to be updated, as well as the files which have been renamed.\n\nFor example, we can use [gulp-useref](https://github.com/jonkemp/gulp-useref) to concatenate assets in an index.html,\nand then use [gulp-rev](https://github.com/sindresorhus/gulp-rev) and gulp-rev-replace to cache-bust them.\n\n```js\nvar gulp = require('gulp');\nvar rev = require('gulp-rev');\nvar revReplace = require('gulp-rev-replace');\nvar useref = require('gulp-useref');\nvar filter = require('gulp-filter');\nvar uglify = require('gulp-uglify');\nvar csso = require('gulp-csso');\n\ngulp.task(\"index\", function() {\n  var jsFilter = filter(\"**/*.js\", { restore: true });\n  var cssFilter = filter(\"**/*.css\", { restore: true });\n  var indexHtmlFilter = filter(['**/*', '!**/index.html'], { restore: true });\n\n  return gulp.src(\"src/index.html\")\n    .pipe(useref())      // Concatenate with gulp-useref\n    .pipe(jsFilter)\n    .pipe(uglify())             // Minify any javascript sources\n    .pipe(jsFilter.restore)\n    .pipe(cssFilter)\n    .pipe(csso())               // Minify any CSS sources\n    .pipe(cssFilter.restore)\n    .pipe(indexHtmlFilter)\n    .pipe(rev())                // Rename the concatenated files (but not index.html)\n    .pipe(indexHtmlFilter.restore)\n    .pipe(revReplace())         // Substitute in new filenames\n    .pipe(gulp.dest('public'));\n});\n```\n\nIt is also possible to use gulp-rev-replace without gulp-useref:\n\n```js\nvar rev = require(\"gulp-rev\");\nvar revReplace = require(\"gulp-rev-replace\");\ngulp.task(\"revision\", [\"dist:css\", \"dist:js\"], function(){\n  return gulp.src([\"dist/**/*.css\", \"dist/**/*.js\"])\n    .pipe(rev())\n    .pipe(gulp.dest(opt.distFolder))\n    .pipe(rev.manifest())\n    .pipe(gulp.dest(opt.distFolder))\n})\n\ngulp.task(\"revreplace\", [\"revision\"], function(){\n  var manifest = gulp.src(\"./\" + opt.distFolder + \"/rev-manifest.json\");\n\n  return gulp.src(opt.srcFolder + \"/index.html\")\n    .pipe(revReplace({manifest: manifest}))\n    .pipe(gulp.dest(opt.distFolder));\n});\n```\n\n\n## API\n\n### revReplace(options)\n\n#### options.canonicalUris\nType: `boolean`\n\nDefault: `true`\n\nUse canonical Uris when replacing filePaths, i.e. when working with filepaths\nwith non forward slash (`/`) path separators we replace them with forward slash.\n\n#### options.replaceInExtensions\nType: `Array`\n\nDefault: `['.js', '.css', '.html', '.hbs']`\n\nOnly substitute in new filenames in files of these types.\n\n#### options.prefix\nType: `string`\n\nDefault: ``\n\nAdd the prefix string to each replacement.\n\n#### options.manifest\nType: `Stream` (e.g., `gulp.src()`)\n\nRead JSON manifests written out by `rev`. Allows replacing filenames that were\n`rev`ed prior to the current task.\n\n#### options.modifyUnreved, options.modifyReved\nType: `Function`\n\nModify the name of the unreved/reved files before using them. The filename is\npassed to the function as the first argument.\n\nFor example, if in your manifest you have:\n\n```js\n{\"js/app.js.map\": \"js/app-98adc164.js.map\"}\n```\n\nIf you wanted to get rid of the `js/` path just for `.map` files (because they\nare sourcemaps and the references to them are relative, not absolute) you could\ndo the following:\n\n```js\nfunction replaceJsIfMap(filename) {\n    if (filename.indexOf('.map') > -1) {\n        return filename.replace('js/', '');\n    }\n    return filename;\n}\n\nreturn gulp.src(opt.distFolder + '**/*.js')\n    .pipe(revReplace({\n        manifest: manifest,\n        modifyUnreved: replaceJsIfMap,\n        modifyReved: replaceJsIfMap\n    }))\n    .pipe(gulp.dest(opt.distFolder));\n```\n\n## Contributors\n\n- Chad Jablonski\n- Denis Parchenko\n- Evgeniy Vasilev\n- George Song\n- Håkon K. Eide\n- Juan Lasheras\n- Majid Burney\n- Simon Ihmig\n- Vincent Voyer\n- Bradley Abrahams\n\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT) © [James K Nelson](http://jamesknelson.com)","users":{}}