%PDF- %PDF-
Direktori : /home/opti/.npm/registry.npmjs.org/source-map-resolve/ |
Current File : /home/opti/.npm/registry.npmjs.org/source-map-resolve/.cache.json |
{"_id":"source-map-resolve","_rev":"24-bfd747baa4a1ce85fbf64faf051ef39e","name":"source-map-resolve","description":"Resolve the source map and/or sources for a generated file.","dist-tags":{"latest":"0.5.2"},"versions":{"0.1.0":{"name":"source-map-resolve","version":"0.1.0","description":"Resolve the source map and/or sources for a generated file.","author":{"name":"Simon Lydell"},"license":"MIT","main":"lib/source-map-resolve-node.js","browser":"source-map-resolve.js","repository":{"type":"git","url":"git://github.com/lydell/source-map-resolve"},"keywords":["source map","sourceMappingURL","resolve"],"scripts":{"test":"jshint *.js lib/ test/ && node test/source-map-resolve.js && node test/windows.js"},"dependencies":{"source-map-url":"~0.2.0","atob":"~1.1.0","urix":"~0.1.0"},"devDependencies":{"tape":"~2.5.0","jshint":"~2.4.3","setimmediate":"~1.0.1","Base64":"~0.2.0","resolve-url":"~0.2.1","simple-asyncify":"~0.1.0"},"testling":{"files":"test/source-map-resolve.js","browsers":["ie/8..latest","chrome/latest","firefox/latest","opera/12","opera/latest","safari/5","iphone/6","android-browser/4"]},"bugs":{"url":"https://github.com/lydell/source-map-resolve/issues"},"homepage":"https://github.com/lydell/source-map-resolve","_id":"source-map-resolve@0.1.0","dist":{"shasum":"6be37734b29bdd2b95592d89d0905dbedbab180b","tarball":"https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.1.0.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"lydell","email":"simon.lydell@gmail.com"},"maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"directories":{}},"0.1.1":{"name":"source-map-resolve","version":"0.1.1","description":"Resolve the source map and/or sources for a generated file.","author":{"name":"Simon Lydell"},"license":"MIT","main":"lib/source-map-resolve-node.js","browser":"source-map-resolve.js","repository":{"type":"git","url":"git://github.com/lydell/source-map-resolve"},"keywords":["source map","sourceMappingURL","resolve"],"scripts":{"test":"jshint *.js lib/ test/ && node test/source-map-resolve.js && node test/windows.js"},"dependencies":{"source-map-url":"~0.2.0","atob":"~1.1.0","urix":"~0.1.0"},"devDependencies":{"tape":"~2.5.0","jshint":"~2.4.3","setimmediate":"~1.0.1","Base64":"~0.2.0","resolve-url":"~0.2.1","simple-asyncify":"~0.1.0"},"testling":{"files":"test/source-map-resolve.js","browsers":["ie/8..latest","chrome/latest","firefox/latest","opera/12","opera/latest","safari/5","iphone/6","android-browser/4"]},"bugs":{"url":"https://github.com/lydell/source-map-resolve/issues"},"homepage":"https://github.com/lydell/source-map-resolve","_id":"source-map-resolve@0.1.1","dist":{"shasum":"8a591216a4f19c8695e8e16711f5fd2d0a986e7f","tarball":"https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.1.1.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"lydell","email":"simon.lydell@gmail.com"},"maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"directories":{}},"0.1.2":{"name":"source-map-resolve","version":"0.1.2","author":{"name":"Simon Lydell"},"license":"MIT","description":"Resolve the source map and/or sources for a generated file.","keywords":["source map","sourceMappingURL","resolve"],"repository":{"type":"git","url":"git://github.com/lydell/source-map-resolve"},"main":"lib/source-map-resolve-node.js","browser":"source-map-resolve.js","scripts":{"test":"jshint *.js lib/ test/ && node test/source-map-resolve.js && node test/windows.js"},"dependencies":{"source-map-url":"~0.2.0","atob":"~1.1.0","urix":"~0.1.0"},"devDependencies":{"tape":"~2.5.0","jshint":"~2.4.3","setimmediate":"~1.0.1","Base64":"~0.2.0","resolve-url":"~0.2.1","simple-asyncify":"~0.1.0"},"testling":{"files":"test/source-map-resolve.js","browsers":["ie/8..latest","chrome/latest","firefox/latest","opera/12","opera/latest","safari/5","iphone/6","android-browser/4"]},"bugs":{"url":"https://github.com/lydell/source-map-resolve/issues"},"homepage":"https://github.com/lydell/source-map-resolve","_id":"source-map-resolve@0.1.2","dist":{"shasum":"a1592b6df4ff26e18bc1329a5e47272009ab3d52","tarball":"https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.1.2.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"lydell","email":"simon.lydell@gmail.com"},"maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"directories":{}},"0.1.3":{"name":"source-map-resolve","version":"0.1.3","author":{"name":"Simon Lydell"},"license":"MIT","description":"Resolve the source map and/or sources for a generated file.","keywords":["source map","sourcemap","source","map","sourceMappingURL","resolve","resolver","locate","locator","find","finder"],"repository":{"type":"git","url":"git://github.com/lydell/source-map-resolve"},"main":"lib/source-map-resolve-node.js","browser":"source-map-resolve.js","scripts":{"test":"jshint lib/ test/ && node test/source-map-resolve.js && node test/windows.js"},"dependencies":{"source-map-url":"~0.2.0","atob":"~1.1.0","urix":"~0.1.0","resolve-url":"~0.2.1"},"devDependencies":{"tape":"~2.5.0","jshint":"~2.4.3","setimmediate":"~1.0.1","Base64":"~0.2.0","simple-asyncify":"~0.1.0"},"testling":{"files":"test/source-map-resolve.js","browsers":["ie/8..latest","chrome/latest","firefox/latest","opera/12","opera/latest","safari/5","iphone/6","android-browser/4"]},"bugs":{"url":"https://github.com/lydell/source-map-resolve/issues"},"homepage":"https://github.com/lydell/source-map-resolve","_id":"source-map-resolve@0.1.3","_shasum":"c6db00fe1220fcd2f8014af9020e20990de3ec38","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"lydell","email":"simon.lydell@gmail.com"},"maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"dist":{"shasum":"c6db00fe1220fcd2f8014af9020e20990de3ec38","tarball":"https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.1.3.tgz"},"directories":{}},"0.1.4":{"name":"source-map-resolve","version":"0.1.4","author":{"name":"Simon Lydell"},"license":"MIT","description":"Resolve the source map and/or sources for a generated file.","keywords":["source map","sourcemap","source","map","sourceMappingURL","resolve","resolver","locate","locator","find","finder"],"repository":{"type":"git","url":"git://github.com/lydell/source-map-resolve"},"main":"lib/source-map-resolve-node.js","browser":"source-map-resolve.js","scripts":{"test":"jshint lib/ test/ && node test/source-map-resolve.js && node test/windows.js"},"dependencies":{"source-map-url":"~0.2.0","atob":"~1.1.0","urix":"~0.1.0","resolve-url":"~0.2.1"},"devDependencies":{"tape":"~2.5.0","jshint":"~2.4.3","setimmediate":"~1.0.1","Base64":"~0.2.0","simple-asyncify":"~0.1.0"},"testling":{"files":"test/source-map-resolve.js","browsers":["ie/8..latest","chrome/latest","firefox/latest","opera/12","opera/latest","safari/5","iphone/6","android-browser/4"]},"bugs":{"url":"https://github.com/lydell/source-map-resolve/issues"},"homepage":"https://github.com/lydell/source-map-resolve","_id":"source-map-resolve@0.1.4","_shasum":"61b4fdcc2aea74e88f54b20dd2513186fb5378e0","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"lydell","email":"simon.lydell@gmail.com"},"maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"dist":{"shasum":"61b4fdcc2aea74e88f54b20dd2513186fb5378e0","tarball":"https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.1.4.tgz"},"directories":{}},"0.2.0":{"name":"source-map-resolve","version":"0.2.0","author":{"name":"Simon Lydell"},"license":"MIT","description":"Resolve the source map and/or sources for a generated file.","keywords":["source map","sourcemap","source","map","sourceMappingURL","resolve","resolver","locate","locator","find","finder"],"repository":{"type":"git","url":"git://github.com/lydell/source-map-resolve"},"main":"lib/source-map-resolve-node.js","browser":"source-map-resolve.js","scripts":{"test":"jshint lib/ test/ && node test/source-map-resolve.js && node test/windows.js"},"dependencies":{"source-map-url":"~0.2.0","atob":"~1.1.0","urix":"~0.1.0","resolve-url":"~0.2.1"},"devDependencies":{"tape":"~2.5.0","jshint":"~2.4.3","setimmediate":"~1.0.1","Base64":"~0.2.0","simple-asyncify":"~0.1.0"},"testling":{"files":"test/source-map-resolve.js","browsers":["ie/8..latest","chrome/latest","firefox/latest","opera/12","opera/latest","safari/5","iphone/6","android-browser/4"]},"bugs":{"url":"https://github.com/lydell/source-map-resolve/issues"},"homepage":"https://github.com/lydell/source-map-resolve","_id":"source-map-resolve@0.2.0","_shasum":"898d41777f5c1e14092a5e0a6d3e9d1e6da16479","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"lydell","email":"simon.lydell@gmail.com"},"maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"dist":{"shasum":"898d41777f5c1e14092a5e0a6d3e9d1e6da16479","tarball":"https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.2.0.tgz"},"directories":{}},"0.3.0":{"name":"source-map-resolve","version":"0.3.0","author":{"name":"Simon Lydell"},"license":"MIT","description":"Resolve the source map and/or sources for a generated file.","keywords":["source map","sourcemap","source","map","sourceMappingURL","resolve","resolver","locate","locator","find","finder"],"repository":{"type":"git","url":"https://github.com/lydell/source-map-resolve"},"main":"lib/source-map-resolve-node.js","browser":"source-map-resolve.js","scripts":{"test":"jshint lib/ test/ && node test/source-map-resolve.js && node test/windows.js"},"dependencies":{"source-map-url":"~0.2.0","atob":"~1.1.0","urix":"~0.1.0","resolve-url":"~0.2.1"},"devDependencies":{"tape":"~2.5.0","jshint":"~2.4.3","setimmediate":"~1.0.1","Base64":"~0.2.0","simple-asyncify":"~0.1.0"},"testling":{"files":"test/source-map-resolve.js","browsers":["ie/8..latest","chrome/latest","firefox/latest","opera/12","opera/latest","safari/5","iphone/6","android-browser/4"]},"gitHead":"3a23d184a70dcdbc32661812915d0a27f4d16945","bugs":{"url":"https://github.com/lydell/source-map-resolve/issues"},"homepage":"https://github.com/lydell/source-map-resolve","_id":"source-map-resolve@0.3.0","_shasum":"d298388fbdd17cd10be57e41dea9950a27ab5d2e","_from":".","_npmVersion":"1.4.18","_npmUser":{"name":"lydell","email":"simon.lydell@gmail.com"},"maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"dist":{"shasum":"d298388fbdd17cd10be57e41dea9950a27ab5d2e","tarball":"https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.3.0.tgz"},"directories":{}},"0.3.1":{"name":"source-map-resolve","version":"0.3.1","author":{"name":"Simon Lydell"},"license":"MIT","description":"Resolve the source map and/or sources for a generated file.","keywords":["source map","sourcemap","source","map","sourceMappingURL","resolve","resolver","locate","locator","find","finder"],"repository":{"type":"git","url":"https://github.com/lydell/source-map-resolve"},"main":"lib/source-map-resolve-node.js","browser":"source-map-resolve.js","scripts":{"lint":"jshint lib/ test/","unit":"node test/source-map-resolve.js && node test/windows.js","test":"npm run lint && npm run unit","build":"node generate-source-map-resolve.js"},"dependencies":{"source-map-url":"~0.3.0","atob":"~1.1.0","urix":"~0.1.0","resolve-url":"~0.2.1"},"devDependencies":{"tape":"~2.5.0","jshint":"~2.4.3","setimmediate":"~1.0.1","Base64":"~0.2.0","simple-asyncify":"~0.1.0"},"testling":{"files":"test/source-map-resolve.js","browsers":["ie/8..latest","chrome/latest","firefox/latest","opera/12","opera/latest","safari/5","iphone/6","android-browser/4"]},"gitHead":"3564509b9b5b3ce6270f6d4170b6d1437bedf2e4","bugs":{"url":"https://github.com/lydell/source-map-resolve/issues"},"homepage":"https://github.com/lydell/source-map-resolve","_id":"source-map-resolve@0.3.1","_shasum":"610f6122a445b8dd51535a2a71b783dfc1248761","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"lydell","email":"simon.lydell@gmail.com"},"maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"dist":{"shasum":"610f6122a445b8dd51535a2a71b783dfc1248761","tarball":"https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.3.1.tgz"},"directories":{}},"0.4.0":{"name":"source-map-resolve","version":"0.4.0","author":{"name":"Simon Lydell"},"license":"MIT","description":"Resolve the source map and/or sources for a generated file.","keywords":["source map","sourcemap","source","map","sourceMappingURL","resolve","resolver","locate","locator","find","finder"],"repository":{"type":"git","url":"git+https://github.com/lydell/source-map-resolve.git"},"main":"lib/source-map-resolve-node.js","browser":"source-map-resolve.js","scripts":{"lint":"jshint lib/ test/","unit":"node test/source-map-resolve.js && node test/windows.js","test":"npm run lint && npm run unit","build":"node generate-source-map-resolve.js"},"dependencies":{"source-map-url":"^0.3.0","atob":"^1.1.2","urix":"^0.1.0","resolve-url":"^0.2.1"},"devDependencies":{"tape":"^4.2.0","jshint":"~2.4.3","setimmediate":"^1.0.2","Base64":"^0.3.0","simple-asyncify":"^1.0.0"},"testling":{"files":"test/source-map-resolve.js","browsers":["ie/8..latest","chrome/latest","firefox/latest","opera/12","opera/latest","safari/5","iphone/6","android-browser/4"]},"gitHead":"109db6d6a51f406d6ee4d126e7b694b853c3adce","bugs":{"url":"https://github.com/lydell/source-map-resolve/issues"},"homepage":"https://github.com/lydell/source-map-resolve#readme","_id":"source-map-resolve@0.4.0","_shasum":"5c43d28a2d8f76622f2372890220cdb0c09f09b5","_from":".","_npmVersion":"2.9.0","_nodeVersion":"1.8.4","_npmUser":{"name":"lydell","email":"simon.lydell@gmail.com"},"dist":{"shasum":"5c43d28a2d8f76622f2372890220cdb0c09f09b5","tarball":"https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.4.0.tgz"},"maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"directories":{}},"0.5.0":{"name":"source-map-resolve","version":"0.5.0","author":{"name":"Simon Lydell"},"license":"MIT","description":"Resolve the source map and/or sources for a generated file.","keywords":["source map","sourcemap","source","map","sourceMappingURL","resolve","resolver","locate","locator","find","finder"],"repository":{"type":"git","url":"git+https://github.com/lydell/source-map-resolve.git"},"main":"lib/source-map-resolve-node.js","browser":"source-map-resolve.js","scripts":{"lint":"jshint lib/ test/","unit":"node test/source-map-resolve.js && node test/windows.js","test":"npm run lint && npm run unit","build":"node generate-source-map-resolve.js"},"dependencies":{"source-map-url":"^0.4.0","atob":"^2.0.0","urix":"^0.1.0","resolve-url":"^0.2.1"},"devDependencies":{"tape":"^4.4.0","jshint":"~2.9.1","setimmediate":"^1.0.4","Base64":"^0.3.0","simple-asyncify":"^1.0.0"},"testling":{"files":"test/source-map-resolve.js","browsers":["ie/8..latest","chrome/latest","firefox/latest","opera/12","opera/latest","safari/5","iphone/6","android-browser/4"]},"gitHead":"663ad74f07aab1d5ef44942fd9c4df91cee5e687","bugs":{"url":"https://github.com/lydell/source-map-resolve/issues"},"homepage":"https://github.com/lydell/source-map-resolve#readme","_id":"source-map-resolve@0.5.0","_shasum":"fcad0b64b70afb27699e425950cb5ebcd410bc20","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.0","_npmUser":{"name":"lydell","email":"simon.lydell@gmail.com"},"dist":{"shasum":"fcad0b64b70afb27699e425950cb5ebcd410bc20","tarball":"https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.0.tgz"},"maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/source-map-resolve-0.5.0.tgz_1456659131712_0.8686265745200217"},"directories":{}},"0.5.1":{"name":"source-map-resolve","version":"0.5.1","author":{"name":"Simon Lydell"},"license":"MIT","description":"Resolve the source map and/or sources for a generated file.","keywords":["source map","sourcemap","source","map","sourceMappingURL","resolve","resolver","locate","locator","find","finder"],"repository":{"type":"git","url":"git+https://github.com/lydell/source-map-resolve.git"},"main":"lib/source-map-resolve-node.js","browser":"source-map-resolve.js","scripts":{"lint":"jshint lib/ test/","unit":"node test/source-map-resolve.js && node test/windows.js && node test/read.js","test":"npm run lint && npm run unit","build":"node generate-source-map-resolve.js"},"dependencies":{"decode-uri-component":"^0.2.0","source-map-url":"^0.4.0","atob":"^2.0.0","urix":"^0.1.0","resolve-url":"^0.2.1"},"devDependencies":{"tape":"^4.4.0","jshint":"~2.9.1","setimmediate":"^1.0.4","Base64":"^0.3.0","simple-asyncify":"^1.0.0"},"testling":{"files":"test/source-map-resolve.js","browsers":["ie/8..latest","chrome/latest","firefox/latest","opera/12","opera/latest","safari/5","iphone/6","android-browser/4"]},"gitHead":"61e0c21003c48230dfb4f72adc7720b122d79b91","bugs":{"url":"https://github.com/lydell/source-map-resolve/issues"},"homepage":"https://github.com/lydell/source-map-resolve#readme","_id":"source-map-resolve@0.5.1","_npmVersion":"5.4.2","_nodeVersion":"8.7.0","_npmUser":{"name":"lydell","email":"simon.lydell@gmail.com"},"dist":{"integrity":"sha512-0KW2wvzfxm8NCTb30z0LMNyPqWCdDGE2viwzUaucqJdkTRXtZiSY3I+2A6nVAjmdOy0I4gU8DwnVVGsk9jvP2A==","shasum":"7ad0f593f2281598e854df80f19aae4b92d7a11a","tarball":"https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.1.tgz"},"maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/source-map-resolve-0.5.1.tgz_1508580242990_0.501070941099897"},"directories":{}},"0.5.2":{"name":"source-map-resolve","version":"0.5.2","author":{"name":"Simon Lydell"},"license":"MIT","description":"Resolve the source map and/or sources for a generated file.","keywords":["source map","sourcemap","source","map","sourceMappingURL","resolve","resolver","locate","locator","find","finder"],"repository":{"type":"git","url":"git+https://github.com/lydell/source-map-resolve.git"},"main":"lib/source-map-resolve-node.js","browser":"source-map-resolve.js","scripts":{"lint":"jshint lib/ test/","unit":"node test/source-map-resolve.js && node test/windows.js","test":"npm run lint && npm run unit","build":"node generate-source-map-resolve.js"},"dependencies":{"atob":"^2.1.1","decode-uri-component":"^0.2.0","resolve-url":"^0.2.1","source-map-url":"^0.4.0","urix":"^0.1.0"},"devDependencies":{"Base64":"1.0.1","jshint":"2.9.5","setimmediate":"1.0.5","simple-asyncify":"1.0.0","tape":"4.9.0"},"gitHead":"858cd9e2ecce25427761b8be616cabf704c69316","bugs":{"url":"https://github.com/lydell/source-map-resolve/issues"},"homepage":"https://github.com/lydell/source-map-resolve#readme","_id":"source-map-resolve@0.5.2","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"lydell","email":"simon.lydell@gmail.com"},"dist":{"integrity":"sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==","shasum":"72e2cc34095543e43b2c62b2c4c10d4a9054f259","tarball":"https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz","fileCount":19,"unpackedSize":84875,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9H2FCRA9TVsSAnZWagAA05sP/0/U8obKbbexyKl8t/BY\n1180vVJicJpW0CldFggqZrgWG/cnZQkTZjlCn4HRVfTHqRy0jdUHvSeZAyam\nTmYl0tMVfrGgADIR+E/xELC4zgK2lq0p1TCL3k7lK2mSKiG1CaB+0FGlMD/P\nsBmPs8TY2sIvjq3Zfh1/mHYRMrsPJCpWDoqtdK/3d8+pjFKopoDXU+udXj1v\nq5KF0O/7vFKxbFe4Z/USRae0E/6xhBx+j8eKiF1ZcLNMH5u012UE0frFw9aa\nKIcuLugn+cP8h6TPRAmK8EnWGXrjlpcWdTKnD9DVCyrVe6T+DfMJGtFYe6Ku\nuTdZec00LlVG8huC3uWBWxP9DKm+lqH58h1zoZvsKKnMKdIAQDLhvw40XNDs\n1ITF/2rQL7khnhCUh7XPonVcxAwQgSwgso4oQkxVG9JNHht/3BUtSqbHn1Gw\n9Tt9HhDUHkBV7ClZ0KXnbVBfkWA+J//Ao9Pn3onUm9qlwCiNucvz4nlbwqoo\nW6aZgvJJr1L8NpyAgPTj268dO8EeoGRk2oLzvS7tFJYoZDu6gDWZwNMHuHpH\nuuUtt2PM5n95e9H5cSg/t7cKw1GQSXEprOjQd21iaS+mbnBv9ZtAajjNGBL+\nUKuj2XpMVOp+FSEhKtkALic3u8CRXHETmV3zHInEMj+ArAyy/UAI1abGN1gw\n1eGT\r\n=Gvd3\r\n-----END PGP SIGNATURE-----\r\n"},"maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/source-map-resolve_0.5.2_1525972355927_0.09065684340520819"}}},"readme":"Overview [](https://travis-ci.org/lydell/source-map-resolve)\n========\n\nResolve the source map and/or sources for a generated file.\n\n```js\nvar sourceMapResolve = require(\"source-map-resolve\")\nvar sourceMap = require(\"source-map\")\n\nvar code = [\n \"!function(){...}();\",\n \"/*# sourceMappingURL=foo.js.map */\"\n].join(\"\\n\")\n\nsourceMapResolve.resolveSourceMap(code, \"/js/foo.js\", fs.readFile, function(error, result) {\n if (error) {\n return notifyFailure(error)\n }\n result\n // {\n // map: {file: \"foo.js\", mappings: \"...\", sources: [\"/coffee/foo.coffee\"], names: []},\n // url: \"/js/foo.js.map\",\n // sourcesRelativeTo: \"/js/foo.js.map\",\n // sourceMappingURL: \"foo.js.map\"\n // }\n\n sourceMapResolve.resolveSources(result.map, result.sourcesRelativeTo, fs.readFile, function(error, result) {\n if (error) {\n return notifyFailure(error)\n }\n result\n // {\n // sourcesResolved: [\"/coffee/foo.coffee\"],\n // sourcesContent: [\"<contents of /coffee/foo.coffee>\"]\n // }\n })\n})\n\nsourceMapResolve.resolve(code, \"/js/foo.js\", fs.readFile, function(error, result) {\n if (error) {\n return notifyFailure(error)\n }\n result\n // {\n // map: {file: \"foo.js\", mappings: \"...\", sources: [\"/coffee/foo.coffee\"], names: []},\n // url: \"/js/foo.js.map\",\n // sourcesRelativeTo: \"/js/foo.js.map\",\n // sourceMappingURL: \"foo.js.map\",\n // sourcesResolved: [\"/coffee/foo.coffee\"],\n // sourcesContent: [\"<contents of /coffee/foo.coffee>\"]\n // }\n result.map.sourcesContent = result.sourcesContent\n var map = new sourceMap.sourceMapConsumer(result.map)\n map.sourceContentFor(\"/coffee/foo.coffee\")\n // \"<contents of /coffee/foo.coffee>\"\n})\n```\n\n\nInstallation\n============\n\n- `npm install source-map-resolve`\n- `bower install source-map-resolve`\n- `component install lydell/source-map-resolve`\n\nWorks with CommonJS, AMD and browser globals, through UMD.\n\nNote: This module requires `setImmediate` and `atob`.\nUse polyfills if needed, such as:\n\n- <https://github.com/NobleJS/setImmediate>\n- <https://github.com/davidchambers/Base64.js>\n\n\nUsage\n=====\n\n### `sourceMapResolve.resolveSourceMap(code, codeUrl, read, callback)` ###\n\n- `code` is a string of code that may or may not contain a sourceMappingURL\n comment. Such a comment is used to resolve the source map.\n- `codeUrl` is the url to the file containing `code`. If the sourceMappingURL\n is relative, it is resolved against `codeUrl`.\n- `read(url, callback)` is a function that reads `url` and responds using\n `callback(error, content)`. In Node.js you might want to use `fs.readFile`,\n while in the browser you might want to use an asynchronus `XMLHttpRequest`.\n- `callback(error, result)` is a function that is invoked with either an error\n or `null` and the result.\n\nThe result is an object with the following properties:\n\n- `map`: The source map for `code`, as an object (not a string).\n- `url`: The url to the source map. If the source map came from a data uri,\n this property is `null`, since then there is no url to it.\n- `sourcesRelativeTo`: The url that the sources of the source map are relative\n to. Since the sources are relative to the source map, and the url to the\n source map is provided as the `url` property, this property might seem\n superfluos. However, remember that the `url` property can be `null` if the\n source map came from a data uri. If so, the sources are relative to the file\n containing the data uri—`codeUrl`. This property will be identical to the\n `url` property or `codeUrl`, whichever is appropriate. This way you can\n conveniently resolve the sources without having to think about where the\n source map came from.\n- `sourceMappingURL`: The url of the sourceMappingURL comment in `code`.\n\nIf `code` contains no sourceMappingURL, the result is `null`.\n\n### `sourceMapResolve.resolveSources(map, mapUrl, read, [options], callback)` ###\n\n- `map` is a source map, as an object (not a string).\n- `mapUrl` is the url to the file containing `map`. Relative sources in the\n source map, if any, are resolved against `mapUrl`.\n- `read(url, callback)` is a function that reads `url` and responds using\n `callback(error, content)`. In Node.js you might want to use `fs.readFile`,\n while in the browser you might want to use an asynchronus `XMLHttpRequest`.\n- `options` is an optional object with any of the following properties:\n - `sourceRoot`: Override the `sourceRoot` property of the source map, which\n might only be relevant when resolving sources in the browser. This lets you\n bypass it when using the module outside of a browser, if needed. Pass a\n string to replace the `sourceRoot` property with, or `false` to ignore it.\n Defaults to `undefined`.\n- `callback(error, result)` is a function that is invoked with either an error\n or `null` and the result.\n\nThe result is an object with the following properties:\n\n- `sourcesResolved`: The same as `map.sources`, except all the sources are\n fully resolved.\n- `sourcesContent`: An array with the contents of all sources in `map.sources`,\n in the same order as `map.sources`. If getting the contents of a source fails,\n an error object is put into the array instead.\n\n### `sourceMapResolve.resolve(code, codeUrl, read, [options], callback)` ###\n\nThe arguments are identical to `sourceMapResolve.resolveSourceMap`, except that\nyou may also provide the same `options` as in `sourceMapResolve.resolveSources`.\n\nThis is a convenience method that first resolves the source map and then its\nsources. You could also do this by first calling\n`sourceMapResolve.resolveSourceMap` and then `sourceMapResolve.resolveSources`.\n\nThe result is identical to `sourceMapResolve.resolveSourceMap`, with the\nproperties from `sourceMapResolve.resolveSources` merged into it.\n\nThere is one extra feature available, though. If `code` is `null`, `codeUrl` is\ntreated as a url to the source map instead of to `code`, and will be read. This\nis handy if you _sometimes_ get the source map url from the `SourceMap: <url>`\nheader (see the [Notes] section). In this case, the `sourceMappingURL` property\nof the result is `null`.\n\n\n[Notes]: #notes\n\n### `sourceMapResolve.*Sync()` ###\n\nThere are also sync versions of the three previous functions. They are identical\nto the async versions, except:\n\n- They expect a sync reading function. In Node.js you might want to use\n `fs.readFileSync`, while in the browser you might want to use a synchronus\n `XMLHttpRequest`.\n- They throw errors and return the result instead of using a callback.\n\n`sourceMapResolve.resolveSourcesSync` also accepts `null` as the `read`\nparameter. The result is the same as when passing a function as the `read\nparameter`, except that the `sourcesContent` property of the result will be an\nempty array. In other words, the sources aren’t read. You only get the\n`sourcesResolved` property. (This only supported in the synchronus version, since\nthere is no point doing it asynchronusly.)\n\n### `sourceMapResolve.parseMapToJSON(string, [data])` ###\n\nThe spec says that if a source map (as a string) starts with `)]}'`, it should\nbe stripped off. This is to prevent XSSI attacks. This function does that and\nreturns the result of `JSON.parse`ing what’s left.\n\nIf this function throws `error`, `error.sourceMapData === data`.\n\n### Errors\n\nAll errors passed to callbacks or thrown by this module have a `sourceMapData`\nproperty that contain as much as possible of the intended result of the function\nup until the error occurred.\n\nNote that while the `map` property of result objects always is an object,\n`error.sourceMapData.map` will be a string if parsing that string fails.\n\n\nNote\n====\n\nThis module resolves the source map for a given generated file by looking for a\nsourceMappingURL comment. The spec defines yet a way to provide the URL to the\nsource map: By sending the `SourceMap: <url>` header along with the generated\nfile. Since this module doesn’t retrive the generated code for you (instead\n_you_ give the generated code to the module), it’s up to you to look for such a\nheader when you retrieve the file (should the need arise).\n\n\nDevelopment\n===========\n\nTests\n-----\n\nFirst off, run `npm install` to install testing modules and browser polyfills.\n\n`npm test` lints the code and runs the test suite in Node.js.\n\nx-package.json5\n---------------\n\npackage.json, component.json and bower.json are all generated from\nx-package.json5 by using [`xpkg`]. Only edit x-package.json5, and remember to\nrun `xpkg` before commiting!\n\n[`xpkg`]: https://github.com/kof/node-xpkg\n\nGenerating the browser version\n------------------------------\n\nsource-map-resolve.js is generated from source-map-resolve-node.js and\nsource-map-resolve-template.js. Only edit the two latter files, _not_\nsource-map-resolve.js! To generate it, run `npm run build`.\n\n\nLicense\n=======\n\n[The X11 (“MIT”) License](LICENSE).\n","maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"time":{"modified":"2018-05-10T17:12:39.812Z","created":"2014-03-03T20:08:03.526Z","0.1.0":"2014-03-03T20:08:03.526Z","0.1.1":"2014-03-06T18:58:07.968Z","0.1.2":"2014-03-23T12:41:20.396Z","0.1.3":"2014-05-06T15:55:04.931Z","0.1.4":"2014-06-16T18:25:22.382Z","0.2.0":"2014-06-22T18:22:29.559Z","0.3.0":"2014-07-02T16:14:43.746Z","0.3.1":"2014-08-16T13:44:55.386Z","0.4.0":"2015-08-29T12:22:45.501Z","0.5.0":"2016-02-28T11:32:14.612Z","0.5.1":"2017-10-21T10:04:04.572Z","0.5.2":"2018-05-10T17:12:36.047Z"},"homepage":"https://github.com/lydell/source-map-resolve#readme","keywords":["source map","sourcemap","source","map","sourceMappingURL","resolve","resolver","locate","locator","find","finder"],"repository":{"type":"git","url":"git+https://github.com/lydell/source-map-resolve.git"},"author":{"name":"Simon Lydell"},"bugs":{"url":"https://github.com/lydell/source-map-resolve/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"rocman":true,"flozz":true,"miadzadfallah":true,"drewigg":true},"_attachments":{},"_etag":"W/\"7054ecd931760c5c0d221a81bda3c2e9\"","_lastModified":"Sun, 27 May 2018 17:51:12 GMT"}