{"_id":"gulp-changed-in-place","_rev":"8-f7829466ba808e0b647c0eaeec9039f9","name":"gulp-changed-in-place","description":"Only pass through changed files","dist-tags":{"latest":"2.3.0"},"versions":{"2.0.1":{"name":"gulp-changed-in-place","version":"2.0.1","description":"Only pass through changed files","license":"MIT","repository":{"type":"git","url":"git+https://github.com/alexgorbatchev/gulp-changed-in-place.git"},"author":{"name":"Alex Gorbatchev","email":"alex.gorbatchev@gmail.com","url":"https://github.com/alexgorbatchev"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["gulpplugin","file","files","changed","newer","modified","modification","updated","time","mtime","stat","cache","cached","passthrough"],"dependencies":{"through2":"^2.0.0"},"devDependencies":{"concat-stream":"^1.4.6","gulp":"^3.0.0","mocha":"*"},"gitHead":"b7b92bac4ab5a70c0a7c09510de670185b90060c","bugs":{"url":"https://github.com/alexgorbatchev/gulp-changed-in-place/issues"},"homepage":"https://github.com/alexgorbatchev/gulp-changed-in-place#readme","_id":"gulp-changed-in-place@2.0.1","_shasum":"43035a6754918789956c30fb1a99388e9c355208","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"dist":{"shasum":"43035a6754918789956c30fb1a99388e9c355208","tarball":"https://registry.npmjs.org/gulp-changed-in-place/-/gulp-changed-in-place-2.0.1.tgz","integrity":"sha512-wCL3bUiznb1Go2xdhhojSSeQ9tHyYRaysESECFpBvusHfbBKSM1Y2pG/Kc3h6cXxs8zAshoEFWTEcuQzoBPuKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhZG7N6v46YxoSS5XkBTO3iALYK2Vqm4UmVJz5BlG7owIgJBCj8MHY4mDj8u7PhcZMKffYu3o3PRz4mgDFimq05us="}]},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}]},"2.0.2":{"name":"gulp-changed-in-place","version":"2.0.2","description":"Only pass through changed files","license":"MIT","repository":{"type":"git","url":"git+https://github.com/alexgorbatchev/gulp-changed-in-place.git"},"author":{"name":"Alex Gorbatchev","email":"alex.gorbatchev@gmail.com","url":"https://github.com/alexgorbatchev"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["gulpplugin","file","files","changed","newer","modified","modification","updated","time","mtime","stat","cache","cached","passthrough"],"dependencies":{"through2":"^2.0.0"},"devDependencies":{"concat-stream":"^1.4.6","gulp":"^3.0.0","mocha":"*"},"gitHead":"1eebfa954dd3cb58d04ff82430eb445279783d0a","bugs":{"url":"https://github.com/alexgorbatchev/gulp-changed-in-place/issues"},"homepage":"https://github.com/alexgorbatchev/gulp-changed-in-place#readme","_id":"gulp-changed-in-place@2.0.2","_shasum":"10c7518660abd041159a4236e8eaded26e7edcc8","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"dist":{"shasum":"10c7518660abd041159a4236e8eaded26e7edcc8","tarball":"https://registry.npmjs.org/gulp-changed-in-place/-/gulp-changed-in-place-2.0.2.tgz","integrity":"sha512-SHlFbf7hrdWWdgLTXbioWV1AloWXVAwLVU1lwpXCzS4DXzUoIu8oEuk1Sssv7sI0CaiyDimDYIBMcZONswSl6A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAa6JaAgRbEz457u3DWY86/N/W5vw9RlWwJcSZWjQADbAiARXH1X6thoBXughA6q0nlylRsmTpjnt7cUMR4I7Tlgog=="}]},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}]},"2.0.3":{"name":"gulp-changed-in-place","version":"2.0.3","description":"Only pass through changed files","license":"MIT","repository":{"type":"git","url":"git+https://github.com/alexgorbatchev/gulp-changed-in-place.git"},"author":{"name":"Alex Gorbatchev","email":"alex.gorbatchev@gmail.com","url":"https://github.com/alexgorbatchev"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["gulpplugin","file","files","changed","newer","modified","modification","updated","time","mtime","stat","cache","cached","passthrough"],"dependencies":{"through2":"^2.0.0"},"devDependencies":{"concat-stream":"^1.4.6","event-stream":"^3.3.2","gulp":"^3.0.0","mocha":"*"},"gitHead":"e5b975128a7f9af1ed9e5e0d624b3fb7336eb837","bugs":{"url":"https://github.com/alexgorbatchev/gulp-changed-in-place/issues"},"homepage":"https://github.com/alexgorbatchev/gulp-changed-in-place#readme","_id":"gulp-changed-in-place@2.0.3","_shasum":"f006d6cacc68e8bb57b53c67c90a27196680e91f","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"dist":{"shasum":"f006d6cacc68e8bb57b53c67c90a27196680e91f","tarball":"https://registry.npmjs.org/gulp-changed-in-place/-/gulp-changed-in-place-2.0.3.tgz","integrity":"sha512-t1FVX1/R9UYfOj7wME+gsV1TaAGR2yn4QMHZSs4PTlRG41FGK0H4g0Iicb5uQh/Fp95ylaY7GaAOQzzXm/rraA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCp+IcZg5LgcM+5TuALQVTYdQ9RjycMXsu+K+OznWlebQIhAIQ6vsLe2O2M6FDC16qJXCxPmog3yTDrod844igAwpqu"}]},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}]},"2.2.0":{"name":"gulp-changed-in-place","version":"2.2.0","description":"Only pass through changed files","license":"MIT","repository":{"type":"git","url":"git+https://github.com/alexgorbatchev/gulp-changed-in-place.git"},"author":{"name":"Alex Gorbatchev","email":"alex.gorbatchev@gmail.com","url":"https://github.com/alexgorbatchev"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["gulpplugin","file","files","changed","newer","modified","modification","updated","time","mtime","stat","cache","cached","passthrough"],"dependencies":{"through2":"^2.0.0"},"devDependencies":{"concat-stream":"^1.4.6","event-stream":"^3.3.2","gulp":"^3.0.0","mocha":"*"},"gitHead":"14e73ce567379b26902383435854b135e3e5ecdb","bugs":{"url":"https://github.com/alexgorbatchev/gulp-changed-in-place/issues"},"homepage":"https://github.com/alexgorbatchev/gulp-changed-in-place#readme","_id":"gulp-changed-in-place@2.2.0","_shasum":"1c2f5f568aba8b198fc6a2ffa2f8ee1421d4543c","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.3","_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"dist":{"shasum":"1c2f5f568aba8b198fc6a2ffa2f8ee1421d4543c","tarball":"https://registry.npmjs.org/gulp-changed-in-place/-/gulp-changed-in-place-2.2.0.tgz","integrity":"sha512-qJl9JXES5UVPjgU9mmnSVBOdnXCcAH4leW6OQfkGv0NM0U9lx0yCV5FRXxH5J3ZiDeEuCAxjTKe6hsp82XWH6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBvQqJ3aXMyQioTWnID7oZOAB3RcBPKhgKxLfRmyTIC1AiEAyfyKsUGBMGhLyAGGq5GNjsz2oq0KWerMFogLQHnR4ec="}]},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/gulp-changed-in-place-2.2.0.tgz_1490721353542_0.8015087605454028"}},"2.3.0":{"name":"gulp-changed-in-place","version":"2.3.0","description":"Only pass through changed files","license":"MIT","repository":{"type":"git","url":"git+https://github.com/alexgorbatchev/gulp-changed-in-place.git"},"author":{"name":"Alex Gorbatchev","email":"alex.gorbatchev@gmail.com","url":"https://github.com/alexgorbatchev"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["gulpplugin","file","files","changed","newer","modified","modification","updated","time","mtime","stat","cache","cached","passthrough"],"dependencies":{"through2":"^2.0.0"},"devDependencies":{"concat-stream":"^1.4.6","event-stream":"^3.3.2","gulp":"^3.0.0","mocha":"*"},"gitHead":"1f1c4d145280a7e36cd62a4d58ba98019f096a01","bugs":{"url":"https://github.com/alexgorbatchev/gulp-changed-in-place/issues"},"homepage":"https://github.com/alexgorbatchev/gulp-changed-in-place#readme","_id":"gulp-changed-in-place@2.3.0","_shasum":"de4150c276d8c0052451caf2f0c7d2be17e76888","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"dist":{"shasum":"de4150c276d8c0052451caf2f0c7d2be17e76888","tarball":"https://registry.npmjs.org/gulp-changed-in-place/-/gulp-changed-in-place-2.3.0.tgz","integrity":"sha512-ma8qyimsYEp/2rY0dylpbuZCoQahjA+wWamGcro1ZaXaLtbnETVRQjHGlDpesquNnMebFwINXBdJ2sVZqq9AvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE002eQXYJ85wGU4ihHv57npieKVTSxOOLFBG1u3IFV8AiEAuu9Y5IqkxI7+UlttEWvKMGOKioALDcT+4QAboBz5fd0="}]},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-changed-in-place-2.3.0.tgz_1506632742466_0.7764955179300159"}}},"readme":"# gulp-changed-in-place\n\n[![Dependency status](https://img.shields.io/david/alexgorbatchev/gulp-changed-in-place.svg?style=flat)](https://david-dm.org/alexgorbatchev/gulp-changed-in-place)\n[![devDependency Status](https://img.shields.io/david/dev/alexgorbatchev/gulp-changed-in-place.svg?style=flat)](https://david-dm.org/alexgorbatchev/gulp-changed-in-place#info=devDependencies)\n[![Build Status](https://img.shields.io/travis/alexgorbatchev/gulp-changed-in-place.svg?style=flat&branch=master)](https://travis-ci.org/alexgorbatchev/gulp-changed-in-place)\n\n> Only pass through changed files\n\nNo more wasting precious time on processing unchanged files.\n\nBy default it's only able to detect whether files in the stream changed. If you require something more advanced like knowing if imports/dependencies changed, create a custom comparator, or use [another plugin](https://github.com/gulpjs/gulp#incremental-builds).\n\nHow is this different from [gulp-changed](https://github.com/sindresorhus/gulp-changed)? `gulp-changed` checks against build files, for example ES5 files generated by Babel.js from the source ES6 files. `gulp-changed-in-place` monitors source files, ES6 files in this example. This allows you to do things like apply source formatting or linting only to changed files while you are working on them.\n\n## Install\n\n```\n$ npm install --save-dev gulp-changed-in-place\n```\n\n## Usage\n\n```js\nvar gulp = require('gulp');\nvar changedInPlace = require('gulp-changed-in-place');\nvar tsfmt = require('gulp-tsfmt');\n\ngulp.task('default', function () {\n  return gulp.src('src/**/*.{ts,tsx}')\n    .pipe(changedInPlace())\n    .pipe(tsfmt())\n    .pipe(gulp.dest('src'));\n});\n```\n\n## API\n\n### changed(options)\n\n#### `firstPass`\n* `boolean`\n* Default = `false`\n\n  Makes `gulp-changed-in-place` pass through all files once on the first run.\n\n#### `cache`\n* `Object`\n* Default = `{}`\n\n  Object of `{ key: value }` format for all the files that is shared between all runs. Value will be hash or modification time, depending on the `howToDetermineDifference` option.\n\n#### `howToDetermineDifference`\n* `\"hash\" || \"modification-time\"`\n* Default = `hash`\n\n  Selects how it is determined if a file has been changed.\n\n  * `hash`: Change will be triggered when SHA1 sum of the file content changes. This is a slower but more correct way.\n  * `modification-time`: Change will be triggered based on the modification time stamp (mtime) of the file.\n\n```js\n.pipe(changedInPlace({ howToDetermineDifference: \"modification-time\" }))\n```\n\n#### `basePath`\n* `string`\n* Default = `undefined`\n\n  Allows you to set relative path that will be used for storing paths in the `cache`.\n\n# Version History\n\n[Change log](changelog.md)\n\n# License\n\nThe MIT License (MIT)\n\nCopyright (c) 2015 Alex Gorbatchev\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"time":{"modified":"2022-06-18T16:44:35.282Z","created":"2015-10-28T18:58:08.853Z","2.0.1":"2015-10-28T18:58:08.853Z","2.0.2":"2015-10-29T16:14:45.109Z","2.0.3":"2015-10-31T19:26:30.631Z","2.2.0":"2017-03-28T17:15:55.805Z","2.3.0":"2017-09-28T21:05:42.539Z"},"homepage":"https://github.com/alexgorbatchev/gulp-changed-in-place#readme","keywords":["gulpplugin","file","files","changed","newer","modified","modification","updated","time","mtime","stat","cache","cached","passthrough"],"repository":{"type":"git","url":"git+https://github.com/alexgorbatchev/gulp-changed-in-place.git"},"author":{"name":"Alex Gorbatchev","email":"alex.gorbatchev@gmail.com","url":"https://github.com/alexgorbatchev"},"bugs":{"url":"https://github.com/alexgorbatchev/gulp-changed-in-place/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"laggingreflex":true}}