{
	"name": "vinyl-sourcemap",
	"versions": {
		"0.1.0": {
			"name": "vinyl-sourcemap",
			"version": "0.1.0",
			"description": "Add sourcemaps to vinyl files, extracted from gulp-sourcemaps by Florian Reiterer (https://github.com/floridoo/gulp-sourcemaps)",
			"main": "index.js",
			"scripts": {
				"test": "mocha --async-only"
			},
			"keywords": [
				"vinyl",
				"sourcemap",
				"gulp"
			],
			"author": {
				"name": "Robin Venneman"
			},
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "git+https://github.com/gulpjs/vinyl-sourcemap.git"
			},
			"devDependencies": {
				"eslint": "^1.7.3",
				"eslint-config-gulp": "^2.0.0",
				"expect": "^1.20.2",
				"mocha": "^3.2.0",
				"strip-bom": "^2.0.0",
				"vinyl-fs": "^2.4.3"
			},
			"dependencies": {
				"acorn": "^4.0.3",
				"async": "^2.1.4",
				"convert-source-map": "1.3.0",
				"css": "^2.2.1",
				"detect-newline": "^2.1.0",
				"graceful-fs": "^4.1.6",
				"source-map": "^0.5.6",
				"through2": "^2.0.1",
				"vinyl": "^1.2.0"
			},
			"gitHead": "5ca4d06bed1e5680c224cc4ea8c9849fdede9bfe",
			"bugs": {
				"url": "https://github.com/gulpjs/vinyl-sourcemap/issues"
			},
			"homepage": "https://github.com/gulpjs/vinyl-sourcemap#readme",
			"_id": "vinyl-sourcemap@0.1.0",
			"_shasum": "0236daa651ea7a713dbcd50fafc68765013b263a",
			"_from": ".",
			"_npmVersion": "2.15.2",
			"_nodeVersion": "0.10.41",
			"_npmUser": {
				"name": "phated",
				"email": "blaine.bublitz@gmail.com"
			},
			"maintainers": [
				{
					"name": "phated",
					"email": "blaine.bublitz@gmail.com"
				}
			],
			"dist": {
				"shasum": "0236daa651ea7a713dbcd50fafc68765013b263a",
				"tarball": "https://registry.npmjs.org/vinyl-sourcemap/-/vinyl-sourcemap-0.1.0.tgz"
			},
			"_npmOperationalInternal": {
				"host": "packages-12-west.internal.npmjs.com",
				"tmp": "tmp/vinyl-sourcemap-0.1.0.tgz_1489454855615_0.5760775560047477"
			},
			"directories": {},
			"contributors": []
		},
		"0.1.1": {
			"name": "vinyl-sourcemap",
			"version": "0.1.1",
			"description": "Add sourcemaps to vinyl files, extracted from gulp-sourcemaps by Florian Reiterer (https://github.com/floridoo/gulp-sourcemaps)",
			"main": "index.js",
			"scripts": {
				"test": "mocha --async-only"
			},
			"keywords": [
				"vinyl",
				"sourcemap",
				"gulp"
			],
			"author": {
				"name": "Robin Venneman"
			},
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "git+https://github.com/gulpjs/vinyl-sourcemap.git"
			},
			"devDependencies": {
				"eslint": "^1.7.3",
				"eslint-config-gulp": "^2.0.0",
				"expect": "^1.20.2",
				"mocha": "^3.2.0",
				"vinyl-fs": "^2.4.3"
			},
			"dependencies": {
				"acorn": "^4.0.3",
				"async": "^2.1.4",
				"convert-source-map": "1.3.0",
				"css": "^2.2.1",
				"detect-newline": "^2.1.0",
				"graceful-fs": "^4.1.6",
				"source-map": "^0.5.6",
				"strip-bom": "^2.0.0",
				"through2": "^2.0.1",
				"vinyl": "^1.2.0"
			},
			"gitHead": "b401aac6b55d6528f8020d64408289783a216f7f",
			"bugs": {
				"url": "https://github.com/gulpjs/vinyl-sourcemap/issues"
			},
			"homepage": "https://github.com/gulpjs/vinyl-sourcemap#readme",
			"_id": "vinyl-sourcemap@0.1.1",
			"_shasum": "acba01ddeed92e37df2aea217335d62352af2f5d",
			"_from": ".",
			"_npmVersion": "2.15.2",
			"_nodeVersion": "0.10.41",
			"_npmUser": {
				"name": "phated",
				"email": "blaine.bublitz@gmail.com"
			},
			"maintainers": [
				{
					"name": "phated",
					"email": "blaine.bublitz@gmail.com"
				}
			],
			"dist": {
				"shasum": "acba01ddeed92e37df2aea217335d62352af2f5d",
				"tarball": "https://registry.npmjs.org/vinyl-sourcemap/-/vinyl-sourcemap-0.1.1.tgz"
			},
			"_npmOperationalInternal": {
				"host": "packages-12-west.internal.npmjs.com",
				"tmp": "tmp/vinyl-sourcemap-0.1.1.tgz_1489705922588_0.9214664220344275"
			},
			"directories": {},
			"contributors": []
		},
		"0.2.0": {
			"name": "vinyl-sourcemap",
			"version": "0.2.0",
			"description": "Add sourcemaps to vinyl files, extracted from gulp-sourcemaps by Florian Reiterer (https://github.com/floridoo/gulp-sourcemaps)",
			"main": "index.js",
			"scripts": {
				"test": "mocha --async-only"
			},
			"keywords": [
				"vinyl",
				"sourcemap",
				"gulp"
			],
			"author": {
				"name": "Robin Venneman"
			},
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "git+https://github.com/gulpjs/vinyl-sourcemap.git"
			},
			"devDependencies": {
				"eslint": "^1.7.3",
				"eslint-config-gulp": "^2.0.0",
				"expect": "^1.20.2",
				"mocha": "^3.2.0",
				"vinyl-fs": "^2.4.3"
			},
			"dependencies": {
				"acorn": "^4.0.3",
				"async": "^2.1.4",
				"convert-source-map": "1.3.0",
				"css": "^2.2.1",
				"detect-newline": "^2.1.0",
				"graceful-fs": "^4.1.6",
				"source-map": "^0.5.6",
				"strip-bom": "^2.0.0",
				"through2": "^2.0.1",
				"vinyl": "^1.2.0"
			},
			"gitHead": "1e136d873a3b3333f9096f18441d0ff6320c7ce9",
			"bugs": {
				"url": "https://github.com/gulpjs/vinyl-sourcemap/issues"
			},
			"homepage": "https://github.com/gulpjs/vinyl-sourcemap#readme",
			"_id": "vinyl-sourcemap@0.2.0",
			"_shasum": "22ab973196ae0ffc83ffc0d5e05d97288a4b9019",
			"_from": ".",
			"_npmVersion": "2.15.2",
			"_nodeVersion": "0.10.41",
			"_npmUser": {
				"name": "phated",
				"email": "blaine.bublitz@gmail.com"
			},
			"maintainers": [
				{
					"name": "phated",
					"email": "blaine.bublitz@gmail.com"
				}
			],
			"dist": {
				"shasum": "22ab973196ae0ffc83ffc0d5e05d97288a4b9019",
				"tarball": "https://registry.npmjs.org/vinyl-sourcemap/-/vinyl-sourcemap-0.2.0.tgz"
			},
			"_npmOperationalInternal": {
				"host": "packages-18-east.internal.npmjs.com",
				"tmp": "tmp/vinyl-sourcemap-0.2.0.tgz_1490050873448_0.6290511914994568"
			},
			"directories": {},
			"contributors": []
		},
		"0.3.0": {
			"name": "vinyl-sourcemap",
			"version": "0.3.0",
			"description": "Add sourcemaps to vinyl files, extracted from gulp-sourcemaps by Florian Reiterer (https://github.com/floridoo/gulp-sourcemaps)",
			"main": "index.js",
			"scripts": {
				"test": "mocha --async-only"
			},
			"keywords": [
				"vinyl",
				"sourcemap",
				"gulp"
			],
			"author": {
				"name": "Robin Venneman"
			},
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "git+https://github.com/gulpjs/vinyl-sourcemap.git"
			},
			"devDependencies": {
				"eslint": "^1.7.3",
				"eslint-config-gulp": "^2.0.0",
				"expect": "^1.20.2",
				"mocha": "^3.2.0",
				"vinyl-fs": "^2.4.3"
			},
			"dependencies": {
				"acorn": "^4.0.3",
				"async": "^2.1.4",
				"convert-source-map": "1.3.0",
				"css": "^2.2.1",
				"detect-newline": "^2.1.0",
				"graceful-fs": "^4.1.6",
				"object.defaults": "^1.0.0",
				"source-map": "^0.5.6",
				"strip-bom": "^2.0.0",
				"through2": "^2.0.1",
				"vinyl": "^1.2.0"
			},
			"gitHead": "4f9eb00f04024cb834b879d29618aa00b7cf7bcb",
			"bugs": {
				"url": "https://github.com/gulpjs/vinyl-sourcemap/issues"
			},
			"homepage": "https://github.com/gulpjs/vinyl-sourcemap#readme",
			"_id": "vinyl-sourcemap@0.3.0",
			"_shasum": "99d54fbadf26fee99fbe79437f81f1462e511e0c",
			"_from": ".",
			"_npmVersion": "2.15.2",
			"_nodeVersion": "0.10.41",
			"_npmUser": {
				"name": "phated",
				"email": "blaine.bublitz@gmail.com"
			},
			"maintainers": [
				{
					"name": "phated",
					"email": "blaine.bublitz@gmail.com"
				}
			],
			"dist": {
				"shasum": "99d54fbadf26fee99fbe79437f81f1462e511e0c",
				"tarball": "https://registry.npmjs.org/vinyl-sourcemap/-/vinyl-sourcemap-0.3.0.tgz"
			},
			"_npmOperationalInternal": {
				"host": "packages-18-east.internal.npmjs.com",
				"tmp": "tmp/vinyl-sourcemap-0.3.0.tgz_1490312935591_0.18210251280106604"
			},
			"directories": {},
			"contributors": []
		},
		"0.4.0": {
			"name": "vinyl-sourcemap",
			"version": "0.4.0",
			"description": "Add/write sourcemaps to/from Vinyl files.",
			"author": {
				"name": "Gulp Team",
				"email": "team@gulpjs.com",
				"url": "http://gulpjs.com/"
			},
			"contributors": [
				{
					"name": "Robin Venneman"
				},
				{
					"name": "Blaine Bublitz",
					"email": "blaine.bublitz@gmail.com"
				}
			],
			"repository": {
				"type": "git",
				"url": "git+https://github.com/gulpjs/vinyl-sourcemap.git"
			},
			"license": "MIT",
			"engines": {
				"node": ">= 0.10"
			},
			"main": "index.js",
			"files": [
				"LICENSE",
				"index.js",
				"lib/"
			],
			"scripts": {
				"lint": "eslint index.js lib/ test/add.js test/write.js && jscs index.js lib/ test/add.js test/write.js",
				"pretest": "npm run lint",
				"test": "mocha --async-only",
				"cover": "istanbul cover _mocha --report lcovonly",
				"coveralls": "npm run cover && istanbul-coveralls"
			},
			"dependencies": {
				"async": "^2.1.4",
				"convert-source-map": "^1.5.0",
				"file-normalize": "^1.1.0",
				"graceful-fs": "^4.1.6",
				"object.defaults": "^1.0.0",
				"vinyl": "^2.0.0"
			},
			"devDependencies": {
				"eslint": "^1.10.3",
				"eslint-config-gulp": "^2.0.0",
				"expect": "^1.20.2",
				"istanbul": "^0.4.3",
				"istanbul-coveralls": "^1.0.3",
				"jscs": "^2.4.0",
				"jscs-preset-gulp": "^1.0.0",
				"mississippi": "^1.3.0",
				"mocha": "^3.2.0"
			},
			"keywords": [
				"vinyl",
				"sourcemap",
				"gulp"
			],
			"gitHead": "2e74f8890b31ac188fcd93a486c620f6e2e97147",
			"bugs": {
				"url": "https://github.com/gulpjs/vinyl-sourcemap/issues"
			},
			"homepage": "https://github.com/gulpjs/vinyl-sourcemap#readme",
			"_id": "vinyl-sourcemap@0.4.0",
			"_shasum": "fabcbf1eaa578894a4f2a5fef5a38fc6767f59d3",
			"_from": ".",
			"_npmVersion": "2.15.2",
			"_nodeVersion": "0.10.41",
			"_npmUser": {
				"name": "phated",
				"email": "blaine.bublitz@gmail.com"
			},
			"maintainers": [
				{
					"name": "phated",
					"email": "blaine.bublitz@gmail.com"
				}
			],
			"dist": {
				"shasum": "fabcbf1eaa578894a4f2a5fef5a38fc6767f59d3",
				"tarball": "https://registry.npmjs.org/vinyl-sourcemap/-/vinyl-sourcemap-0.4.0.tgz"
			},
			"_npmOperationalInternal": {
				"host": "packages-18-east.internal.npmjs.com",
				"tmp": "tmp/vinyl-sourcemap-0.4.0.tgz_1493832046201_0.22730566142126918"
			},
			"directories": {}
		},
		"1.0.0": {
			"name": "vinyl-sourcemap",
			"version": "1.0.0",
			"description": "Add/write sourcemaps to/from Vinyl files.",
			"author": {
				"name": "Gulp Team",
				"email": "team@gulpjs.com",
				"url": "http://gulpjs.com/"
			},
			"contributors": [
				{
					"name": "Robin Venneman"
				},
				{
					"name": "Blaine Bublitz",
					"email": "blaine.bublitz@gmail.com"
				}
			],
			"repository": {
				"type": "git",
				"url": "git+https://github.com/gulpjs/vinyl-sourcemap.git"
			},
			"license": "MIT",
			"engines": {
				"node": ">= 0.10"
			},
			"main": "index.js",
			"files": [
				"LICENSE",
				"index.js",
				"lib/"
			],
			"scripts": {
				"lint": "eslint index.js lib/ test/add.js test/write.js && jscs index.js lib/ test/add.js test/write.js",
				"pretest": "npm run lint",
				"test": "mocha --async-only",
				"cover": "istanbul cover _mocha --report lcovonly",
				"coveralls": "npm run cover && istanbul-coveralls"
			},
			"dependencies": {
				"convert-source-map": "^1.5.0",
				"file-normalize": "^1.1.0",
				"graceful-fs": "^4.1.6",
				"now-and-later": "^2.0.0",
				"vinyl": "^2.0.0"
			},
			"devDependencies": {
				"eslint": "^1.10.3",
				"eslint-config-gulp": "^2.0.0",
				"expect": "^1.20.2",
				"istanbul": "^0.4.3",
				"istanbul-coveralls": "^1.0.3",
				"jscs": "^2.4.0",
				"jscs-preset-gulp": "^1.0.0",
				"mississippi": "^1.3.0",
				"mocha": "^3.2.0"
			},
			"keywords": [
				"vinyl",
				"sourcemap",
				"gulp"
			],
			"gitHead": "14ddac31b66d2cbd0c4e9b181ad1490fad56611b",
			"bugs": {
				"url": "https://github.com/gulpjs/vinyl-sourcemap/issues"
			},
			"homepage": "https://github.com/gulpjs/vinyl-sourcemap#readme",
			"_id": "vinyl-sourcemap@1.0.0",
			"_shasum": "1dadb75097dc922c4a4aab92bbaa93c8d9c076bc",
			"_from": ".",
			"_npmVersion": "2.15.2",
			"_nodeVersion": "0.10.41",
			"_npmUser": {
				"name": "phated",
				"email": "blaine.bublitz@gmail.com"
			},
			"maintainers": [
				{
					"name": "phated",
					"email": "blaine.bublitz@gmail.com"
				}
			],
			"dist": {
				"shasum": "1dadb75097dc922c4a4aab92bbaa93c8d9c076bc",
				"tarball": "https://registry.npmjs.org/vinyl-sourcemap/-/vinyl-sourcemap-1.0.0.tgz"
			},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/vinyl-sourcemap-1.0.0.tgz_1497817206550_0.9947819525841624"
			},
			"directories": {}
		},
		"1.1.0": {
			"name": "vinyl-sourcemap",
			"version": "1.1.0",
			"description": "Add/write sourcemaps to/from Vinyl files.",
			"author": {
				"name": "Gulp Team",
				"email": "team@gulpjs.com",
				"url": "http://gulpjs.com/"
			},
			"contributors": [
				{
					"name": "Robin Venneman"
				},
				{
					"name": "Blaine Bublitz",
					"email": "blaine.bublitz@gmail.com"
				}
			],
			"repository": {
				"type": "git",
				"url": "git+https://github.com/gulpjs/vinyl-sourcemap.git"
			},
			"license": "MIT",
			"engines": {
				"node": ">= 0.10"
			},
			"main": "index.js",
			"files": [
				"LICENSE",
				"index.js",
				"lib/"
			],
			"scripts": {
				"lint": "eslint index.js lib/ test/add.js test/write.js && jscs index.js lib/ test/add.js test/write.js",
				"pretest": "npm run lint",
				"test": "mocha --async-only",
				"cover": "istanbul cover _mocha --report lcovonly",
				"coveralls": "npm run cover && istanbul-coveralls"
			},
			"dependencies": {
				"append-buffer": "^1.0.2",
				"convert-source-map": "^1.5.0",
				"graceful-fs": "^4.1.6",
				"normalize-path": "^2.1.1",
				"now-and-later": "^2.0.0",
				"remove-bom-buffer": "^3.0.0",
				"vinyl": "^2.0.0"
			},
			"devDependencies": {
				"eslint": "^1.10.3",
				"eslint-config-gulp": "^2.0.0",
				"expect": "^1.20.2",
				"istanbul": "^0.4.3",
				"istanbul-coveralls": "^1.0.3",
				"jscs": "^2.4.0",
				"jscs-preset-gulp": "^1.0.0",
				"mississippi": "^1.3.0",
				"mocha": "^3.2.0"
			},
			"keywords": [
				"vinyl",
				"sourcemap",
				"gulp"
			],
			"gitHead": "4121a96458f1f78709411b083655c520a679e49e",
			"bugs": {
				"url": "https://github.com/gulpjs/vinyl-sourcemap/issues"
			},
			"homepage": "https://github.com/gulpjs/vinyl-sourcemap#readme",
			"_id": "vinyl-sourcemap@1.1.0",
			"_shasum": "92a800593a38703a8cdb11d8b300ad4be63b3e16",
			"_from": ".",
			"_npmVersion": "2.15.1",
			"_nodeVersion": "0.10.48",
			"_npmUser": {
				"name": "phated",
				"email": "blaine.bublitz@gmail.com"
			},
			"maintainers": [
				{
					"name": "phated",
					"email": "blaine.bublitz@gmail.com"
				}
			],
			"dist": {
				"shasum": "92a800593a38703a8cdb11d8b300ad4be63b3e16",
				"tarball": "https://registry.npmjs.org/vinyl-sourcemap/-/vinyl-sourcemap-1.1.0.tgz"
			},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/vinyl-sourcemap-1.1.0.tgz_1501616166889_0.9932172652333975"
			},
			"directories": {}
		}
	},
	"time": {
		"modified": "2018-08-18T22:55:26.701Z",
		"created": "2017-03-14T01:27:35.852Z",
		"0.1.0": "2017-03-14T01:27:35.852Z",
		"0.1.1": "2017-03-16T23:12:02.841Z",
		"0.2.0": "2017-03-20T23:01:15.253Z",
		"0.3.0": "2017-03-23T23:48:57.696Z",
		"0.4.0": "2017-05-03T17:20:47.990Z",
		"1.0.0": "2017-06-18T20:20:06.680Z",
		"1.1.0": "2017-08-01T19:36:06.962Z"
	},
	"users": {},
	"dist-tags": {
		"latest": "1.1.0"
	},
	"_uplinks": {
		"npmjs": {
			"etag": "W/\"85792d61ca6d59bece7c3bec21377dae\"",
			"fetched": 1597847600580
		}
	},
	"_distfiles": {
		"vinyl-sourcemap-0.1.0.tgz": {
			"url": "https://registry.npmjs.org/vinyl-sourcemap/-/vinyl-sourcemap-0.1.0.tgz",
			"sha": "0236daa651ea7a713dbcd50fafc68765013b263a",
			"registry": "npmjs"
		},
		"vinyl-sourcemap-0.1.1.tgz": {
			"url": "https://registry.npmjs.org/vinyl-sourcemap/-/vinyl-sourcemap-0.1.1.tgz",
			"sha": "acba01ddeed92e37df2aea217335d62352af2f5d",
			"registry": "npmjs"
		},
		"vinyl-sourcemap-0.2.0.tgz": {
			"url": "https://registry.npmjs.org/vinyl-sourcemap/-/vinyl-sourcemap-0.2.0.tgz",
			"sha": "22ab973196ae0ffc83ffc0d5e05d97288a4b9019",
			"registry": "npmjs"
		},
		"vinyl-sourcemap-0.3.0.tgz": {
			"url": "https://registry.npmjs.org/vinyl-sourcemap/-/vinyl-sourcemap-0.3.0.tgz",
			"sha": "99d54fbadf26fee99fbe79437f81f1462e511e0c",
			"registry": "npmjs"
		},
		"vinyl-sourcemap-0.4.0.tgz": {
			"url": "https://registry.npmjs.org/vinyl-sourcemap/-/vinyl-sourcemap-0.4.0.tgz",
			"sha": "fabcbf1eaa578894a4f2a5fef5a38fc6767f59d3",
			"registry": "npmjs"
		},
		"vinyl-sourcemap-1.0.0.tgz": {
			"url": "https://registry.npmjs.org/vinyl-sourcemap/-/vinyl-sourcemap-1.0.0.tgz",
			"sha": "1dadb75097dc922c4a4aab92bbaa93c8d9c076bc",
			"registry": "npmjs"
		},
		"vinyl-sourcemap-1.1.0.tgz": {
			"url": "https://registry.npmjs.org/vinyl-sourcemap/-/vinyl-sourcemap-1.1.0.tgz",
			"sha": "92a800593a38703a8cdb11d8b300ad4be63b3e16",
			"registry": "npmjs"
		}
	},
	"_attachments": {
		"vinyl-sourcemap-1.1.0.tgz": {
			"shasum": "92a800593a38703a8cdb11d8b300ad4be63b3e16"
		}
	},
	"_rev": "11-e5d9228c39338b2a",
	"_id": "vinyl-sourcemap",
	"readme": "<p align=\"center\">\n  <a href=\"http://gulpjs.com\">\n    <img height=\"257\" width=\"114\" src=\"https://raw.githubusercontent.com/gulpjs/artwork/master/gulp-2x.png\">\n  </a>\n</p>\n\n# vinyl-sourcemap\n\n[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![AppVeyor Build Status][appveyor-image]][appveyor-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Gitter chat][gitter-image]][gitter-url]\n\nAdd/write sourcemaps to/from Vinyl files.\n\n## Usage\n\n```js\nsourcemap.add(file, function(err, updatedFile) {\n  // updatedFile will have a .sourceMap property\n});\n\n// The 2nd argument can be given as a path string\nsourcemap.write(file, './maps', function(err, updatedFile, sourcemapFile) {\n  // sourcemapFile will be a Vinyl file to be written to some location\n  // updatedFile will have the .contents property updated with a sourceMappingURL that resolves to sourcemapFile\n});\n\n// If not defined, the sourcemap is inlined\nsourcemap.write(file, function(err, updatedFile, sourcemapFile) {\n  // sourcemapFile is undefined\n  // updatedFile will have the .contents property updated with a sourceMappingURL that is an inlined sourcemap\n});\n```\n\n## API\n\n### `sourcemap.add(file, callback)`\n\nTakes a [Vinyl][vinyl] `file` object and a `callback` function. It attempts to parse an inline sourcemap or load an external sourcemap for the file. If a valid sourcemap is found, the `sources` & `sourcesContent` properties are resolved to actual files (if possible) and a fully resolved sourcemap is attached as `file.sourceMap`. If a sourcemap is not found, a stub sourcemap is generated for the file and attached as `file.sourceMap`.\n\nOnce all resolution is complete, the `callback(err, updatedFile)` is called with the `updatedFile`. If an error occurs, it will be passed as `err` and `updatedFile` will be undefined. __Note:__ The original file is mutated but `updatedFile` is passed to the callback as a convenience.\n\nIf the `file` is not a Vinyl object or the contents are streaming, an Error will be passed to the `callback`.\n\nIf the `file` has a `.sourceMap` property or the contents are null, the `callback` will be called immediately without mutation to the file.\n\nAll filesystem operations are optional & non-fatal so any errors will not be bubbled to the `callback`.\n\n### `sourcemap.write(file, [outputPath,] callback)`\n\nTakes a [Vinyl][vinyl] `file` object, (optionally) an `outputPath` string and a `callback` function.\n\nIf `outputPath` is not passed, an inline sourcemap will be generated from the `file.sourceMap` property and appended to the `file.contents`. Once the inline sourcemap is appended, the `callback(err, updatedFile)` is called with the `updatedFile`. If an error occurs, it will be passed as `err` and `updatedFile` will be undefined. __Note:__ The original file is mutated but `updatedFile` is passed to the callback as a convenience.\n\nIf `outputPath` is passed, a new Vinyl file will be generated using `file.cwd` and `file.base` from the original file, the path to the external sourcemap, and the `file.sourceMap` (as contents). The external location will be appended to the `file.contents` of the original file. Once the new file is created and location appended, the `callback(err, updatedFile, sourcemapFile)` is called with the `updatedFile` and the `sourcemapFile`. If an error occurs, it will be passed as `err` and `updatedFile`/`sourcemapFile` will be undefined. __Note:__ The original file is mutated but `updatedFile` is passed to the callback as a convenience.\n\nIf the `file` is not a Vinyl object or the contents are streaming, an Error will be passed to the `callback`.\n\nIf the `file` doesn't have a `.sourceMap` property or the contents are null, the `callback` will be called immediately without mutation to the file.\n\n## License\n\nMIT\n\n[vinyl]: https://github.com/gulpjs/vinyl\n\n[downloads-image]: http://img.shields.io/npm/dm/vinyl-sourcemap.svg\n[npm-url]: https://npmjs.com/package/vinyl-sourcemap\n[npm-image]: http://img.shields.io/npm/v/vinyl-sourcemap.svg\n\n[travis-url]: https://travis-ci.org/gulpjs/vinyl-sourcemap\n[travis-image]: http://img.shields.io/travis/gulpjs/vinyl-sourcemap.svg?label=travis-ci\n\n[appveyor-url]: https://ci.appveyor.com/project/gulpjs/vinyl-sourcemap\n[appveyor-image]: https://img.shields.io/appveyor/ci/gulpjs/vinyl-sourcemap.svg?label=appveyor\n\n[coveralls-url]: https://coveralls.io/r/gulpjs/vinyl-sourcemap\n[coveralls-image]: http://img.shields.io/coveralls/gulpjs/vinyl-sourcemap/master.svg\n\n[gitter-url]: https://gitter.im/gulpjs/gulp\n[gitter-image]: https://badges.gitter.im/gulpjs/gulp.png"
}