{
	"name": "multi-stage-sourcemap",
	"versions": {
		"0.1.0": {
			"name": "multi-stage-sourcemap",
			"description": "multi-level sourcemap",
			"version": "0.1.0",
			"homepage": "https://github.com/azu/multi-stage-sourcemap/",
			"repository": {
				"type": "git",
				"url": "https://github.com/azu/multi-stage-sourcemap.git"
			},
			"main": "index.js",
			"scripts": {
				"test": "mocha test/*.js"
			},
			"directories": {
				"test": "test/"
			},
			"author": {
				"name": "azu"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/azu/multi-stage-sourcemap/issues"
			},
			"dependencies": {
				"source-map": "^0.1.34"
			},
			"devDependencies": {
				"coffee-script": "^1.7.1",
				"convert-source-map": "^0.3.4",
				"escodegen": "^1.3.3",
				"esmangle": "^1.0.1",
				"esprima": "^1.2.2",
				"intelli-espower-loader": "^0.1.0",
				"mocha": "^1.20.1",
				"power-assert": "^0.7.2"
			},
			"gitHead": "84753d381f6a233230520b1735fddd454f241c74",
			"_id": "multi-stage-sourcemap@0.1.0",
			"_shasum": "878032ed96ff52de536855904064d5aae6712807",
			"_from": ".",
			"_npmVersion": "1.4.13",
			"_npmUser": {
				"name": "azu",
				"email": "azuciao@gmail.com"
			},
			"maintainers": [
				{
					"name": "azu",
					"email": "azuciao@gmail.com"
				}
			],
			"dist": {
				"shasum": "878032ed96ff52de536855904064d5aae6712807",
				"tarball": "https://registry.npmjs.org/multi-stage-sourcemap/-/multi-stage-sourcemap-0.1.0.tgz"
			},
			"contributors": []
		},
		"0.1.1": {
			"name": "multi-stage-sourcemap",
			"description": "multi-level sourcemap",
			"version": "0.1.1",
			"homepage": "https://github.com/azu/multi-stage-sourcemap/",
			"keywords": [
				"sourcemap",
				"source-map"
			],
			"repository": {
				"type": "git",
				"url": "https://github.com/azu/multi-stage-sourcemap.git"
			},
			"main": "index.js",
			"scripts": {
				"test": "mocha test/*.js"
			},
			"directories": {
				"test": "test/"
			},
			"author": {
				"name": "azu"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/azu/multi-stage-sourcemap/issues"
			},
			"dependencies": {
				"source-map": "^0.1.34"
			},
			"devDependencies": {
				"coffee-script": "^1.7.1",
				"convert-source-map": "^0.3.4",
				"escodegen": "^1.3.3",
				"esmangle": "^1.0.1",
				"esprima": "^1.2.2",
				"intelli-espower-loader": "^0.1.0",
				"mocha": "^1.20.1",
				"power-assert": "^0.7.2"
			},
			"gitHead": "3717e5cc8dffb9b6ed92cbcdded4205de4c306c5",
			"_id": "multi-stage-sourcemap@0.1.1",
			"_shasum": "675637bd95aa2dba3b0faf16593608bee83fee4e",
			"_from": ".",
			"_npmVersion": "1.4.13",
			"_npmUser": {
				"name": "azu",
				"email": "azuciao@gmail.com"
			},
			"maintainers": [
				{
					"name": "azu",
					"email": "azuciao@gmail.com"
				}
			],
			"dist": {
				"shasum": "675637bd95aa2dba3b0faf16593608bee83fee4e",
				"tarball": "https://registry.npmjs.org/multi-stage-sourcemap/-/multi-stage-sourcemap-0.1.1.tgz"
			},
			"contributors": []
		},
		"0.2.0": {
			"name": "multi-stage-sourcemap",
			"description": "multi-level sourcemap",
			"version": "0.2.0",
			"homepage": "https://github.com/azu/multi-stage-sourcemap/",
			"keywords": [
				"sourcemap",
				"source-map"
			],
			"repository": {
				"type": "git",
				"url": "https://github.com/azu/multi-stage-sourcemap.git"
			},
			"main": "index.js",
			"scripts": {
				"test": "mocha test/*.js"
			},
			"directories": {
				"test": "test/"
			},
			"author": {
				"name": "azu"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/azu/multi-stage-sourcemap/issues"
			},
			"dependencies": {
				"source-map": "^0.1.34"
			},
			"devDependencies": {
				"coffee-script": "^1.7.1",
				"convert-source-map": "^0.3.4",
				"escodegen": "^1.3.3",
				"esmangle": "^1.0.1",
				"esprima": "^1.2.2",
				"intelli-espower-loader": "^0.1.0",
				"mocha": "^1.20.1",
				"power-assert": "^0.7.2"
			},
			"gitHead": "26e9f9a76f1c03522670a086c8658403752d69a8",
			"_id": "multi-stage-sourcemap@0.2.0",
			"_shasum": "c5448d2564da00650ade2f965b6981edfb514cab",
			"_from": ".",
			"_npmVersion": "1.4.13",
			"_npmUser": {
				"name": "azu",
				"email": "azuciao@gmail.com"
			},
			"maintainers": [
				{
					"name": "azu",
					"email": "azuciao@gmail.com"
				}
			],
			"dist": {
				"shasum": "c5448d2564da00650ade2f965b6981edfb514cab",
				"tarball": "https://registry.npmjs.org/multi-stage-sourcemap/-/multi-stage-sourcemap-0.2.0.tgz"
			},
			"contributors": []
		},
		"0.2.1": {
			"name": "multi-stage-sourcemap",
			"description": "multi-level sourcemap",
			"version": "0.2.1",
			"homepage": "https://github.com/azu/multi-stage-sourcemap/",
			"keywords": [
				"sourcemap",
				"source-map"
			],
			"repository": {
				"type": "git",
				"url": "https://github.com/azu/multi-stage-sourcemap.git"
			},
			"main": "index.js",
			"scripts": {
				"test": "mocha test/*.js"
			},
			"directories": {
				"test": "test/"
			},
			"author": {
				"name": "azu"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/azu/multi-stage-sourcemap/issues"
			},
			"dependencies": {
				"source-map": "^0.1.34"
			},
			"devDependencies": {
				"coffee-script": "^1.7.1",
				"convert-source-map": "^0.3.4",
				"escodegen": "^1.3.3",
				"esmangle": "^1.0.1",
				"espower-loader": "^0.8.0",
				"esprima": "^1.2.2",
				"intelli-espower-loader": "^0.3.0",
				"mocha": "^1.21.4",
				"power-assert": "^0.8.0"
			},
			"gitHead": "7f4a46c30265b6d0b53a40414c2d76f29a4eb36d",
			"_id": "multi-stage-sourcemap@0.2.1",
			"_shasum": "b09fc8586eaa17f81d575c4ad02e0f7a3f6b1105",
			"_from": ".",
			"_npmVersion": "1.4.13",
			"_npmUser": {
				"name": "azu",
				"email": "azuciao@gmail.com"
			},
			"maintainers": [
				{
					"name": "azu",
					"email": "azuciao@gmail.com"
				}
			],
			"dist": {
				"shasum": "b09fc8586eaa17f81d575c4ad02e0f7a3f6b1105",
				"tarball": "https://registry.npmjs.org/multi-stage-sourcemap/-/multi-stage-sourcemap-0.2.1.tgz"
			},
			"contributors": []
		},
		"0.3.1": {
			"name": "multi-stage-sourcemap",
			"description": "multi-level sourcemap",
			"version": "0.3.1",
			"homepage": "https://github.com/azu/multi-stage-sourcemap/",
			"keywords": [
				"sourcemap",
				"source-map"
			],
			"repository": {
				"type": "git",
				"url": "git+https://github.com/azu/multi-stage-sourcemap.git"
			},
			"main": "index.js",
			"files": [
				"index.js",
				"lib"
			],
			"scripts": {
				"test": "mocha test/*.js"
			},
			"directories": {
				"test": "test/"
			},
			"author": {
				"name": "azu"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/azu/multi-stage-sourcemap/issues"
			},
			"dependencies": {
				"source-map": "^0.1.34"
			},
			"devDependencies": {
				"coffee-script": "^1.7.1",
				"convert-source-map": "^0.3.4",
				"escodegen": "^1.3.3",
				"esmangle": "^1.0.1",
				"espower-loader": "^0.8.0",
				"esprima": "^1.2.2",
				"intelli-espower-loader": "^0.3.0",
				"mocha": "^1.21.4",
				"power-assert": "^0.8.0"
			},
			"gitHead": "8eaa0e2d413ef67b739b5d8df5a0aeb946cd3ca7",
			"_id": "multi-stage-sourcemap@0.3.1",
			"_npmVersion": "6.1.0",
			"_nodeVersion": "10.2.1",
			"_npmUser": {
				"name": "azu",
				"email": "azuciao@gmail.com"
			},
			"dist": {
				"integrity": "sha512-UiTLYjqeIoVnJHyWGskwMKIhtZKK9uXUjSTWuwatarrc0d2H/6MAVFdwvEA/aKOHamIn7z4tfvxjz+FYucFpNQ==",
				"shasum": "35bb1e0655cb022516e9f92d738c07a2aacfeec0",
				"tarball": "https://registry.npmjs.org/multi-stage-sourcemap/-/multi-stage-sourcemap-0.3.1.tgz",
				"fileCount": 5,
				"unpackedSize": 6822,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbI1piCRA9TVsSAnZWagAAO74P/2TpiJUllDR7kUq8wZlc\nhlbVEeS1bjufy5IJzeELufEiiwVZZSToU31v7SGPzkFLO12VceWSVQNRDFJd\nKWr0LjKo3do5Qqus7Tp0LMSURCbFst8xg4v4ZiinqbjU5DhyaO1+sQ0tUEG/\n85Jta8THUBf4xQIVRCj+8I6Qzvj/O/bywi7fqSUaIOyub8Wjbba0Dvud0w4z\nutEJgqZNdGuj2jg4oYVDsAgEnrGr3mLZ0DEtt3HzwueAsiEHZR41nHuR/Xne\n81UewvtDJV4NMBeEU6XdtEAuzId6OMOFuLmx76KHuSXSuTZArPjsAH3cII52\nbSZVHfJJlpah5SQH/AOvq/fCoMrcNfhksHSIMZf4HVDhhVGDofzTyLXLz3M/\nyaSOCvlQ/tnY2In1HsdM3vCbKYlwISVbreen+swwe+ne7udgxkWakWMaZTkC\n2lvcXyt/fC6J6ebj1XD7lLr4jttkP+tvHXDbHo5v4trSBbzUXLOoGra0aqJL\niTfHw6ywk4gQ8cjH14+M4QaUYX14iJdKtGNISC+eqlbEHj6U0+x2HmV4XRWs\n4X3aEVRhZn+pZKaNcV6QLllWfMvcTPN05wPrZ+Uq661r58ccFmugi4I68ItZ\ndQnXHouGtUTksS9ChpA9VtXtzSECYRdx5K5dY3VHkqaRaAuz/kJ3kDMZucgP\nvkJx\r\n=ibrC\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "azu",
					"email": "azuciao@gmail.com"
				}
			],
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/multi-stage-sourcemap_0.3.1_1529043552838_0.5384110073851536"
			},
			"contributors": []
		}
	},
	"time": {
		"modified": "2018-06-15T06:19:18.326Z",
		"created": "2014-07-02T07:46:22.088Z",
		"0.1.0": "2014-07-02T07:46:22.088Z",
		"0.1.1": "2014-07-04T05:44:37.375Z",
		"0.2.0": "2014-08-26T12:14:47.591Z",
		"0.2.1": "2014-08-26T12:18:44.582Z",
		"0.3.1": "2018-06-15T06:19:12.881Z"
	},
	"users": {},
	"dist-tags": {
		"latest": "0.3.1"
	},
	"_uplinks": {
		"npmjs": {
			"etag": "W/\"297e33b47bf0048a5d906eb74a2f562b\"",
			"fetched": 1593324432599
		}
	},
	"_distfiles": {
		"multi-stage-sourcemap-0.1.0.tgz": {
			"url": "https://registry.npmjs.org/multi-stage-sourcemap/-/multi-stage-sourcemap-0.1.0.tgz",
			"sha": "878032ed96ff52de536855904064d5aae6712807",
			"registry": "npmjs"
		},
		"multi-stage-sourcemap-0.1.1.tgz": {
			"url": "https://registry.npmjs.org/multi-stage-sourcemap/-/multi-stage-sourcemap-0.1.1.tgz",
			"sha": "675637bd95aa2dba3b0faf16593608bee83fee4e",
			"registry": "npmjs"
		},
		"multi-stage-sourcemap-0.2.0.tgz": {
			"url": "https://registry.npmjs.org/multi-stage-sourcemap/-/multi-stage-sourcemap-0.2.0.tgz",
			"sha": "c5448d2564da00650ade2f965b6981edfb514cab",
			"registry": "npmjs"
		},
		"multi-stage-sourcemap-0.2.1.tgz": {
			"url": "https://registry.npmjs.org/multi-stage-sourcemap/-/multi-stage-sourcemap-0.2.1.tgz",
			"sha": "b09fc8586eaa17f81d575c4ad02e0f7a3f6b1105",
			"registry": "npmjs"
		},
		"multi-stage-sourcemap-0.3.1.tgz": {
			"url": "https://registry.npmjs.org/multi-stage-sourcemap/-/multi-stage-sourcemap-0.3.1.tgz",
			"sha": "35bb1e0655cb022516e9f92d738c07a2aacfeec0",
			"registry": "npmjs"
		}
	},
	"_attachments": {
		"multi-stage-sourcemap-0.2.1.tgz": {
			"shasum": "b09fc8586eaa17f81d575c4ad02e0f7a3f6b1105"
		}
	},
	"_rev": "2-f6b7a1194b149994",
	"_id": "multi-stage-sourcemap",
	"readme": "# multi-stage-sourcemap [![Build Status](https://travis-ci.org/azu/multi-stage-sourcemap.svg?branch=master)](https://travis-ci.org/azu/multi-stage-sourcemap)\n\nThis library provide re-mapping function for multi-level sourcemap.\n\n## Installation\n\n``` sh\nnpm install multi-stage-sourcemap\n```\n\n## Concept\n\n### Basic SourceMap\n\nwell-know basic sourcemap is no problem.\n\n![basic-sourcemap.png](http://efcl.info/wp-content/uploads/2014/09/basic-sourcemap.png)\n\n### Multi-level SourceMap\n\nMulti-level SourceMap has a problem.\n\n[Source Map Revision 3 Proposal](https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit# \"Source Map Revision 3 Proposal - Google ドキュメント\") doens't provide the way of mapping `Minified Code ` to `Original Code` in the following figure.\n\n![multiple-sourcemap.png](http://efcl.info/wp-content/uploads/2014/09/multiple-sourcemap.png)\n\nExample:\n\n```\nA.js -> B.js     -> C.js\n        B.js.map -> C.js.map\n```\n\nWe can't see from C.js to A.js.\n\n### [multi-stage-sourcemap](https://github.com/azu/multi-stage-sourcemap \"azu/multi-stage-sourcemap\") <= THIS LIBRARY\n\n`multi-stage-sourcemap` can mapping `C.js` to `A.js`\n\n![multiple-stage-sourcemap.png](http://efcl.info/wp-content/uploads/2014/09/multiple-stage-sourcemap.png)\n\n> The easy but lossy way is to ignore the intermediate steps in the process for the purposes of debugging, the source location information from the translation is either ignored (the intermediate translation is considered the “Original Source”) or the source location information is carried through (the intermediate translation hidden).  -- [Source Map Revision 3 Proposal ](https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit# \"Source Map Revision 3 Proposal - Google ドキュメント\")\n\n`multi-stage-sourcemap` does that!\n\n```\nC.js -> ... -> A.js\n```\n\nCode:\n\n``` js\nvar transfer = require(\"multi-stage-sourcemap\").transfer;\nvar cToAMap = transfer({fromSourceMap: cMap, toSourceMap: bMap});\n```\n\n## Usage\n\n### `transfer`\n\nReturn the re-mapped `rawSourceMap` string.\n\nThe only argument is an object with the following properties:\n\n- `fromSourceMap` : Object - rawSourceMap or String - JSON.stringify(rawSourceMap)\n- `toSourceMap` : Object - rawSourceMap or String - JSON.stringify(rawSourceMap)\n\n`rawSourceMap` is like below object.\n\n``` js\nvar rawSourceMap = {\n  version: 3,\n  file: 'min.js',\n  names: ['bar', 'baz', 'n'],\n  sources: ['one.js', 'two.js'],\n  sourceRoot: 'http://exammuple.com/www/js/',\n  mappings: 'CAAC,IAAI,IAAM,SAAUA,GAClB,OAAOC,IAAID;CCDb,IAAI,IAAM,SAAUE,GAClB,OAAOA'\n};\n```\n\nFor details, please see [mozilla/source-map](https://github.com/mozilla/source-map/#sourcemapconsumer \"mozilla/source-map\").\n\n## Use Case\n\n- [AltJS][] -> JavaScript -> minify\n- [AltJS][] -> JavaScript -> [power-assert][]\n  - [power-assert][] supports multi-level sourcemaps using this module.\n  - [twada/battlefield-sourcemaps](https://github.com/twada/battlefield-sourcemaps \"twada/battlefield-sourcemaps\")\n  - [power-assert 多段 SourceMap 対応の方針](https://gist.github.com/twada/103d34a3237cecd463a6 \"power-assert 多段 SourceMap 対応の方針\")\n\netc...\n\nAltJS is languages that compile to JS.\n(It's contain ES6 with [Traceur](https://github.com/google/traceur-compiler \"Traceur\"). )\n\n\n[AltJS]: https://github.com/jashkenas/coffeescript/wiki/List-of-languages-that-compile-to-JS  \"List of languages that compile to JS · jashkenas/coffeescript Wiki\"\n[power-assert]: https://github.com/twada/power-assert  \"twada/power-assert\"\n\n## Related library\n\n- [Rich-Harris/sorcery](https://github.com/Rich-Harris/sorcery \"Rich-Harris/sorcery\")\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n## License\n\nMIT"
}