{"_id":"resolve-pathname","_rev":"259660","name":"resolve-pathname","description":"Resolve URL pathnames using JavaScript","dist-tags":{"latest":"3.0.0","next":"3.0.0-beta.0"},"maintainers":[{"name":"mjackson","email":""}],"time":{"modified":"2021-06-03T16:40:18.000Z","created":"2016-03-10T19:03:41.034Z","3.0.0":"2018-12-02T20:35:46.411Z","3.0.0-beta.0":"2018-12-02T20:22:34.400Z","2.2.0":"2017-08-23T06:44:41.266Z","2.1.0":"2017-04-21T21:59:01.124Z","2.0.2":"2016-10-08T20:27:41.019Z","2.0.1":"2016-10-08T20:22:00.867Z","2.0.0":"2016-03-19T01:08:32.655Z","1.0.5":"2016-03-17T20:50:23.044Z","1.0.4":"2016-03-15T00:28:44.422Z","1.0.3":"2016-03-14T17:26:35.507Z","1.0.2":"2016-03-11T21:51:12.982Z","1.0.1":"2016-03-10T20:46:49.830Z","1.0.0":"2016-03-10T19:03:41.034Z"},"users":{},"author":{"name":"Michael Jackson"},"repository":{"type":"git","url":"git+https://github.com/mjackson/resolve-pathname.git"},"versions":{"3.0.0":{"name":"resolve-pathname","version":"3.0.0","description":"Resolve URL pathnames using JavaScript","repository":{"type":"git","url":"git+https://github.com/mjackson/resolve-pathname.git"},"license":"MIT","author":{"name":"Michael Jackson"},"main":"index.js","module":"esm/resolve-pathname.js","unpkg":"umd/resolve-pathname.js","scripts":{"build":"rollup -c","clean":"git clean -fdX .","lint":"eslint modules","prepublishOnly":"npm run build","test":"jest"},"devDependencies":{"@babel/core":"^7.1.6","@babel/preset-env":"^7.1.6","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","eslint":"^5.9.0","jest":"^23.6.0","rollup":"^0.67.3","rollup-plugin-replace":"^2.1.0","rollup-plugin-size-snapshot":"^0.7.0","rollup-plugin-uglify":"^6.0.0"},"gitHead":"31eacda9c78a1c217e96d4cd63772eebbc2e52e7","bugs":{"url":"https://github.com/mjackson/resolve-pathname/issues"},"homepage":"https://github.com/mjackson/resolve-pathname#readme","_id":"resolve-pathname@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"11.3.0","_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"dist":{"shasum":"99d02224d3cf263689becbb393bc560313025dcd","size":3877,"noattachment":false,"key":"/resolve-pathname/-/resolve-pathname-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-pathname/download/resolve-pathname-3.0.0.tgz"},"maintainers":[{"name":"mjackson","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolve-pathname_3.0.0_1543782946242_0.27511286742874863"},"_hasShrinkwrap":false,"publish_time":1543782946411,"_cnpm_publish_time":1543782946411},"3.0.0-beta.0":{"name":"resolve-pathname","version":"3.0.0-beta.0","description":"Resolve URL pathnames using JavaScript","repository":{"type":"git","url":"git+https://github.com/mjackson/resolve-pathname.git"},"license":"MIT","author":{"name":"Michael Jackson"},"main":"index.js","module":"esm/resolve-pathname.js","unpkg":"umd/resolve-pathname.js","scripts":{"build":"rollup -c","clean":"git clean -fdX .","lint":"eslint modules","prepublishOnly":"npm run build","test":"jest"},"devDependencies":{"@babel/core":"^7.1.6","@babel/preset-env":"^7.1.6","babel-core":"^7.0.0-bridge.0","babel-jest":"^23.6.0","eslint":"^5.9.0","jest":"^23.6.0","rollup":"^0.67.3","rollup-plugin-replace":"^2.1.0","rollup-plugin-size-snapshot":"^0.7.0","rollup-plugin-uglify":"^6.0.0"},"gitHead":"05fbf62d853578961defe0ba8be8693cc4a2ebce","readmeFilename":"README.md","bugs":{"url":"https://github.com/mjackson/resolve-pathname/issues"},"homepage":"https://github.com/mjackson/resolve-pathname#readme","_id":"resolve-pathname@3.0.0-beta.0","_npmVersion":"6.4.1","_nodeVersion":"11.3.0","_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"dist":{"shasum":"ccdab0fd8c8ea673e98c35384f564e9449d3d13c","size":3870,"noattachment":false,"key":"/resolve-pathname/-/resolve-pathname-3.0.0-beta.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-pathname/download/resolve-pathname-3.0.0-beta.0.tgz"},"maintainers":[{"name":"mjackson","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolve-pathname_3.0.0-beta.0_1543782154273_0.8177624446222995"},"_hasShrinkwrap":false,"publish_time":1543782154400,"_cnpm_publish_time":1543782154400},"2.2.0":{"name":"resolve-pathname","version":"2.2.0","description":"Resolve URL pathnames using JavaScript","repository":{"type":"git","url":"git+https://github.com/mjackson/resolve-pathname.git"},"license":"MIT","author":{"name":"Michael Jackson"},"files":["cjs","index.js","umd"],"main":"cjs/index.js","module":"index.js","scripts":{"build":"node ./tools/build.js","prepublish":"node ./tools/build.js","clean":"git clean -fdX .","release":"node ./tools/release.js","lint":"eslint modules","test":"mocha --compilers js:babel-core/register modules/**/*-test.js"},"devDependencies":{"babel-cli":"^6.5.1","babel-core":"^6.5.2","babel-eslint":"^7.0.0","babel-loader":"^6.2.3","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.5.0","babel-preset-stage-1":"^6.24.1","eslint":"^3.2.2","eslint-plugin-import":"^2.0.0","expect":"^1.14.0","gzip-size":"^3.0.0","in-publish":"^2.0.0","mocha":"^3.0.0","pretty-bytes":"^4.0.2","readline-sync":"^1.4.1","webpack":"^1.12.14"},"gitHead":"1f2db6cd2b71539395aaffec42e05476420a2a4d","bugs":{"url":"https://github.com/mjackson/resolve-pathname/issues"},"homepage":"https://github.com/mjackson/resolve-pathname#readme","_id":"resolve-pathname@2.2.0","_npmVersion":"5.3.0","_nodeVersion":"6.10.1","_npmUser":{"name":"mjackson","email":"mjijackson@gmail.com"},"dist":{"shasum":"7e9ae21ed815fd63ab189adeee64dc831eefa879","size":3583,"noattachment":false,"key":"/resolve-pathname/-/resolve-pathname-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-pathname/download/resolve-pathname-2.2.0.tgz"},"maintainers":[{"name":"mjackson","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolve-pathname-2.2.0.tgz_1503470681180_0.7340583014301956"},"directories":{},"publish_time":1503470681266,"_hasShrinkwrap":false,"_cnpm_publish_time":1503470681266},"2.1.0":{"name":"resolve-pathname","version":"2.1.0","description":"Resolve URL pathnames using JavaScript","repository":{"type":"git","url":"git+https://github.com/mjackson/resolve-pathname.git"},"license":"MIT","author":{"name":"Michael Jackson"},"files":["es","index.js","umd"],"scripts":{"build":"node ./tools/build.js","prepublish":"node ./tools/build.js","clean":"git clean -fdX .","release":"node ./tools/release.js","lint":"eslint modules","test":"karma start --single-run"},"devDependencies":{"babel-cli":"^6.5.1","babel-core":"^6.5.2","babel-eslint":"^7.0.0","babel-loader":"^6.2.3","babel-preset-es2015":"^6.5.0","babel-preset-stage-1":"^6.24.1","eslint":"^3.2.2","eslint-plugin-import":"^2.0.0","expect":"^1.14.0","gzip-size":"^3.0.0","in-publish":"^2.0.0","karma":"^1.1.2","karma-browserstack-launcher":"^1.0.0","karma-chrome-launcher":"^2.0.0","karma-mocha":"^1.0.1","karma-mocha-reporter":"^2.0.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^3.0.0","pretty-bytes":"^4.0.2","readline-sync":"^1.4.1","webpack":"^1.12.14"},"gitHead":"6daf05304275de0230844944ca7e94699cccd7fc","bugs":{"url":"https://github.com/mjackson/resolve-pathname/issues"},"homepage":"https://github.com/mjackson/resolve-pathname#readme","_id":"resolve-pathname@2.1.0","_shasum":"e8358801b86b83b17560d4e3c382d7aef2100944","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.1","_npmUser":{"name":"mjackson","email":"mjijackson@gmail.com"},"dist":{"shasum":"e8358801b86b83b17560d4e3c382d7aef2100944","size":3718,"noattachment":false,"key":"/resolve-pathname/-/resolve-pathname-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-pathname/download/resolve-pathname-2.1.0.tgz"},"maintainers":[{"name":"mjackson","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/resolve-pathname-2.1.0.tgz_1492811940893_0.35110770515166223"},"directories":{},"publish_time":1492811941124,"_hasShrinkwrap":false,"_cnpm_publish_time":1492811941124},"2.0.2":{"name":"resolve-pathname","version":"2.0.2","description":"Resolve URL pathnames using JavaScript","repository":{"type":"git","url":"git+https://github.com/mjackson/resolve-pathname.git"},"author":{"name":"Michael Jackson"},"license":"MIT","scripts":{"lint":"eslint modules","build":"node ./scripts/build.js","build-cjs":"babel ./modules -d . --ignore '__tests__'","build-min":"NODE_ENV=production webpack -p modules/index.js umd/resolve-pathname.min.js","build-umd":"NODE_ENV=production webpack modules/index.js umd/resolve-pathname.js","release":"node ./scripts/release.js","prepublish":"npm run build","test":"npm run lint && karma start"},"devDependencies":{"babel-cli":"^6.5.1","babel-core":"^6.5.2","babel-eslint":"^7.0.0","babel-loader":"^6.2.3","babel-preset-es2015":"^6.5.0","babel-preset-es2015-loose":"^8.0.0","eslint":"^3.2.2","eslint-plugin-import":"^2.0.0","expect":"^1.14.0","gzip-size":"^3.0.0","karma":"^1.1.2","karma-browserstack-launcher":"^1.0.0","karma-chrome-launcher":"^2.0.0","karma-mocha":"^1.0.1","karma-mocha-reporter":"^2.0.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^3.0.0","pretty-bytes":"^4.0.2","readline-sync":"^1.4.1","webpack":"^1.12.14"},"gitHead":"43165c2dae401cbf4addb644e8da0d147d33b01e","bugs":{"url":"https://github.com/mjackson/resolve-pathname/issues"},"homepage":"https://github.com/mjackson/resolve-pathname#readme","_id":"resolve-pathname@2.0.2","_shasum":"e55c016eb2e9df1de98e85002282bfb38c630436","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"mjackson","email":"mjijackson@gmail.com"},"dist":{"shasum":"e55c016eb2e9df1de98e85002282bfb38c630436","size":3713,"noattachment":false,"key":"/resolve-pathname/-/resolve-pathname-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-pathname/download/resolve-pathname-2.0.2.tgz"},"maintainers":[{"name":"mjackson","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/resolve-pathname-2.0.2.tgz_1475958459163_0.3472807176876813"},"directories":{},"publish_time":1475958461019,"_cnpm_publish_time":1475958461019,"_hasShrinkwrap":false},"2.0.1":{"name":"resolve-pathname","version":"2.0.1","description":"Resolve URL pathnames using JavaScript","author":{"name":"Michael Jackson"},"license":"MIT","main":"lib","files":["lib","umd"],"scripts":{"lint":"eslint modules","build":"node ./scripts/build.js","build-cjs":"rimraf lib && babel ./modules -d lib --ignore '__tests__'","build-min":"NODE_ENV=production webpack -p modules/index.js umd/resolve-pathname.min.js","build-umd":"NODE_ENV=production webpack modules/index.js umd/resolve-pathname.js","release":"node ./scripts/release.js","prepublish":"npm run build","test":"npm run lint && karma start"},"devDependencies":{"babel-cli":"^6.5.1","babel-core":"^6.5.2","babel-eslint":"^7.0.0","babel-loader":"^6.2.3","babel-preset-es2015":"^6.5.0","eslint":"^3.2.2","eslint-plugin-import":"^2.0.0","expect":"^1.14.0","gzip-size":"^3.0.0","karma":"^1.1.2","karma-browserstack-launcher":"^1.0.0","karma-chrome-launcher":"^2.0.0","karma-mocha":"^1.0.1","karma-mocha-reporter":"^2.0.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^3.0.0","pretty-bytes":"^4.0.2","readline-sync":"^1.4.1","rimraf":"^2.5.2","webpack":"^1.12.14"},"repository":{"type":"git","url":"git+https://github.com/mjackson/resolve-pathname.git"},"babel":{"presets":["es2015"]},"gitHead":"48dadf0428b7b514ff4fbbf657d31bb280ce2bd6","bugs":{"url":"https://github.com/mjackson/resolve-pathname/issues"},"homepage":"https://github.com/mjackson/resolve-pathname#readme","_id":"resolve-pathname@2.0.1","_shasum":"7a5d8b8329a5425f6389e661f9a3499c0baf5bef","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"mjackson","email":"mjijackson@gmail.com"},"dist":{"shasum":"7a5d8b8329a5425f6389e661f9a3499c0baf5bef","size":5201,"noattachment":false,"key":"/resolve-pathname/-/resolve-pathname-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-pathname/download/resolve-pathname-2.0.1.tgz"},"maintainers":[{"name":"mjackson","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/resolve-pathname-2.0.1.tgz_1475958119128_0.3281304147094488"},"directories":{},"publish_time":1475958120867,"_cnpm_publish_time":1475958120867,"_hasShrinkwrap":false},"2.0.0":{"name":"resolve-pathname","version":"2.0.0","description":"Resolve URL pathnames using JavaScript","author":{"name":"Michael Jackson"},"license":"MIT","main":"lib","browser":"umd/resolve-pathname.min.js","files":["lib","umd"],"scripts":{"lint":"eslint modules","build":"node ./scripts/build.js","build-cjs":"rimraf lib && babel ./modules -d lib --ignore '__tests__'","build-min":"NODE_ENV=production webpack -p modules/index.js umd/resolve-pathname.min.js","build-umd":"NODE_ENV=production webpack modules/index.js umd/resolve-pathname.js","release":"node ./scripts/release.js","prepublish":"npm run build","test":"npm run lint && karma start"},"devDependencies":{"babel-cli":"^6.5.1","babel-core":"^6.5.2","babel-eslint":"^5.0.0","babel-loader":"^6.2.3","babel-plugin-dev-expression":"^0.2.1","babel-preset-es2015":"^6.5.0","eslint":"2.2.0","eslint-config-airbnb":"^6.0.2","eslint-plugin-react":"^4.1.0","expect":"^1.14.0","gzip-size":"^3.0.0","karma":"^0.13.21","karma-browserstack-launcher":"^0.1.10","karma-chrome-launcher":"^0.2.2","karma-mocha":"^0.2.2","karma-mocha-reporter":"^1.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^2.4.5","pretty-bytes":"^3.0.1","readline-sync":"^1.4.1","rimraf":"^2.5.2","webpack":"^1.12.14"},"repository":{"type":"git","url":"git+https://github.com/mjackson/resolve-pathname.git"},"gitHead":"59059afcdb9f1c1fbce6443acc0fabde0c68213c","bugs":{"url":"https://github.com/mjackson/resolve-pathname/issues"},"homepage":"https://github.com/mjackson/resolve-pathname#readme","_id":"resolve-pathname@2.0.0","_shasum":"3dcf50cda90d8435ada1592cb3bbb582ba2fde7c","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"mjackson","email":"mjijackson@gmail.com"},"dist":{"shasum":"3dcf50cda90d8435ada1592cb3bbb582ba2fde7c","size":5236,"noattachment":false,"key":"/resolve-pathname/-/resolve-pathname-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-pathname/download/resolve-pathname-2.0.0.tgz"},"maintainers":[{"name":"mjackson","email":""}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/resolve-pathname-2.0.0.tgz_1458349712239_0.651828654576093"},"directories":{},"publish_time":1458349712655,"_cnpm_publish_time":1458349712655,"_hasShrinkwrap":false},"1.0.5":{"name":"resolve-pathname","version":"1.0.5","description":"Resolve URL pathnames using JavaScript","author":{"name":"Michael Jackson"},"license":"MIT","main":"lib","browser":"umd/resolve-pathname.min.js","files":["lib","umd"],"scripts":{"lint":"eslint modules","build":"node ./scripts/build.js","build-cjs":"rimraf lib && babel ./modules -d lib --ignore '__tests__'","build-min":"NODE_ENV=production webpack -p modules/index.js umd/resolve-pathname.min.js","build-umd":"NODE_ENV=production webpack modules/index.js umd/resolve-pathname.js","release":"node ./scripts/release.js","prepublish":"npm run build","test":"npm run lint && karma start"},"dependencies":{"invariant":"^2.0.0"},"devDependencies":{"babel-cli":"^6.5.1","babel-core":"^6.5.2","babel-eslint":"^5.0.0","babel-loader":"^6.2.3","babel-plugin-dev-expression":"^0.2.1","babel-preset-es2015":"^6.5.0","eslint":"2.2.0","eslint-config-airbnb":"^6.0.2","eslint-plugin-react":"^4.1.0","expect":"^1.14.0","gzip-size":"^3.0.0","karma":"^0.13.21","karma-browserstack-launcher":"^0.1.10","karma-chrome-launcher":"^0.2.2","karma-mocha":"^0.2.2","karma-mocha-reporter":"^1.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^2.4.5","pretty-bytes":"^3.0.1","readline-sync":"^1.4.1","rimraf":"^2.5.2","webpack":"^1.12.14"},"repository":{"type":"git","url":"git+https://github.com/mjackson/resolve-pathname.git"},"gitHead":"0fb6dadca66674f7178f523eab6382e096839d6d","bugs":{"url":"https://github.com/mjackson/resolve-pathname/issues"},"homepage":"https://github.com/mjackson/resolve-pathname#readme","_id":"resolve-pathname@1.0.5","_shasum":"218a889066205b49a04b90af75131eb83b880f8f","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"mjackson","email":"mjijackson@gmail.com"},"dist":{"shasum":"218a889066205b49a04b90af75131eb83b880f8f","size":4228,"noattachment":false,"key":"/resolve-pathname/-/resolve-pathname-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-pathname/download/resolve-pathname-1.0.5.tgz"},"maintainers":[{"name":"mjackson","email":""}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/resolve-pathname-1.0.5.tgz_1458247822339_0.8042994171846658"},"directories":{},"publish_time":1458247823044,"_cnpm_publish_time":1458247823044,"_hasShrinkwrap":false},"1.0.4":{"name":"resolve-pathname","version":"1.0.4","description":"Resolve URL pathnames using JavaScript","author":{"name":"Michael Jackson"},"license":"MIT","main":"lib","browser":"umd/resolve-pathname.min.js","files":["lib","umd"],"scripts":{"lint":"eslint modules","build":"node ./scripts/build.js","build-cjs":"rimraf lib && babel ./modules -d lib --ignore '__tests__'","build-min":"NODE_ENV=production webpack -p modules/index.js umd/resolve-pathname.min.js","build-umd":"NODE_ENV=production webpack modules/index.js umd/resolve-pathname.js","release":"node ./scripts/release.js","prepublish":"npm run build","test":"npm run lint && karma start"},"dependencies":{"invariant":"^2.0.0"},"devDependencies":{"babel-cli":"^6.5.1","babel-core":"^6.5.2","babel-eslint":"^5.0.0","babel-loader":"^6.2.3","babel-plugin-dev-expression":"^0.2.1","babel-preset-es2015":"^6.5.0","eslint":"2.2.0","eslint-config-airbnb":"^6.0.2","eslint-plugin-react":"^4.1.0","expect":"^1.14.0","gzip-size":"^3.0.0","karma":"^0.13.21","karma-browserstack-launcher":"^0.1.10","karma-chrome-launcher":"^0.2.2","karma-mocha":"^0.2.2","karma-mocha-reporter":"^1.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^2.4.5","pretty-bytes":"^3.0.1","readline-sync":"^1.4.1","rimraf":"^2.5.2","webpack":"^1.12.14"},"repository":{"type":"git","url":"git+https://github.com/mjackson/resolve-pathname.git"},"gitHead":"fc664492bc2db303c67c968966d87c43a6689e55","bugs":{"url":"https://github.com/mjackson/resolve-pathname/issues"},"homepage":"https://github.com/mjackson/resolve-pathname#readme","_id":"resolve-pathname@1.0.4","_shasum":"3cb147c497c956d97fb9ba821b175a97e5141ec5","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"mjackson","email":"mjijackson@gmail.com"},"dist":{"shasum":"3cb147c497c956d97fb9ba821b175a97e5141ec5","size":4224,"noattachment":false,"key":"/resolve-pathname/-/resolve-pathname-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-pathname/download/resolve-pathname-1.0.4.tgz"},"maintainers":[{"name":"mjackson","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/resolve-pathname-1.0.4.tgz_1458001723752_0.4700057883746922"},"directories":{},"publish_time":1458001724422,"_cnpm_publish_time":1458001724422,"_hasShrinkwrap":false},"1.0.3":{"name":"resolve-pathname","version":"1.0.3","description":"Resolve URL pathnames using JavaScript","author":{"name":"Michael Jackson"},"license":"MIT","main":"lib","browser":"umd/resolvePathname.min.js","files":["lib","umd"],"scripts":{"lint":"eslint modules","build":"node ./scripts/build.js","build-cjs":"rimraf lib && babel ./modules -d lib --ignore '__tests__'","build-min":"NODE_ENV=production webpack -p modules/index.js umd/resolvePathname.min.js","build-umd":"NODE_ENV=production webpack modules/index.js umd/resolvePathname.js","release":"node ./scripts/release.js","prepublish":"npm run build","test":"npm run lint && karma start"},"dependencies":{"invariant":"^2.0.0"},"devDependencies":{"babel-cli":"^6.5.1","babel-core":"^6.5.2","babel-eslint":"^5.0.0","babel-loader":"^6.2.3","babel-plugin-dev-expression":"^0.2.1","babel-preset-es2015":"^6.5.0","eslint":"2.2.0","eslint-config-airbnb":"^6.0.2","eslint-plugin-react":"^4.1.0","expect":"^1.14.0","gzip-size":"^3.0.0","karma":"^0.13.21","karma-browserstack-launcher":"^0.1.10","karma-chrome-launcher":"^0.2.2","karma-mocha":"^0.2.2","karma-mocha-reporter":"^1.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^2.4.5","pretty-bytes":"^3.0.1","readline-sync":"^1.4.1","rimraf":"^2.5.2","webpack":"^1.12.14"},"repository":{"type":"git","url":"git+https://github.com/mjackson/resolve-pathname.git"},"gitHead":"8c1fddb95b05dac2367569ad4ed317ffcb134c9c","bugs":{"url":"https://github.com/mjackson/resolve-pathname/issues"},"homepage":"https://github.com/mjackson/resolve-pathname#readme","_id":"resolve-pathname@1.0.3","_shasum":"9ad9a0667006f805c7078fbb220a38e6aeb74fd3","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"mjackson","email":"mjijackson@gmail.com"},"dist":{"shasum":"9ad9a0667006f805c7078fbb220a38e6aeb74fd3","size":4098,"noattachment":false,"key":"/resolve-pathname/-/resolve-pathname-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-pathname/download/resolve-pathname-1.0.3.tgz"},"maintainers":[{"name":"mjackson","email":""}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/resolve-pathname-1.0.3.tgz_1457976395031_0.7825048670638353"},"directories":{},"publish_time":1457976395507,"_cnpm_publish_time":1457976395507,"_hasShrinkwrap":false},"1.0.2":{"name":"resolve-pathname","version":"1.0.2","description":"Resolve URL pathnames using JavaScript","author":{"name":"Michael Jackson"},"license":"MIT","main":"lib","browser":"umd/resolvePathname.min.js","files":["lib","umd"],"scripts":{"lint":"eslint modules","build":"node ./scripts/build.js","build-cjs":"rimraf lib && babel ./modules -d lib --ignore '__tests__'","build-min":"NODE_ENV=production webpack -p modules/index.js umd/resolvePathname.min.js","build-umd":"NODE_ENV=production webpack modules/index.js umd/resolvePathname.js","release":"node ./scripts/release.js","prepublish":"npm run build","test":"npm run lint && karma start"},"devDependencies":{"babel-cli":"^6.5.1","babel-core":"^6.5.2","babel-eslint":"^5.0.0","babel-loader":"^6.2.3","babel-plugin-dev-expression":"^0.2.1","babel-preset-es2015":"^6.5.0","eslint":"2.2.0","eslint-config-airbnb":"^6.0.2","eslint-plugin-react":"^4.1.0","expect":"^1.14.0","gzip-size":"^3.0.0","karma":"^0.13.21","karma-browserstack-launcher":"^0.1.10","karma-chrome-launcher":"^0.2.2","karma-mocha":"^0.2.2","karma-mocha-reporter":"^1.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^2.4.5","pretty-bytes":"^3.0.1","readline-sync":"^1.4.1","rimraf":"^2.5.2","webpack":"^1.12.14"},"repository":{"type":"git","url":"git+https://github.com/mjackson/resolve-pathname.git"},"gitHead":"b422597a6be28a1b584699736f5690718bb91317","bugs":{"url":"https://github.com/mjackson/resolve-pathname/issues"},"homepage":"https://github.com/mjackson/resolve-pathname#readme","_id":"resolve-pathname@1.0.2","_shasum":"b2c746881557cad0a5c1c6dcd0c8a33fbb2ba84e","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"mjackson","email":"mjijackson@gmail.com"},"dist":{"shasum":"b2c746881557cad0a5c1c6dcd0c8a33fbb2ba84e","size":4096,"noattachment":false,"key":"/resolve-pathname/-/resolve-pathname-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-pathname/download/resolve-pathname-1.0.2.tgz"},"maintainers":[{"name":"mjackson","email":""}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/resolve-pathname-1.0.2.tgz_1457733072391_0.4175563289318234"},"directories":{},"publish_time":1457733072982,"_cnpm_publish_time":1457733072982,"_hasShrinkwrap":false},"1.0.1":{"name":"resolve-pathname","version":"1.0.1","description":"Resolve URL pathnames using JavaScript","author":{"name":"Michael Jackson"},"license":"MIT","main":"lib","browser":"umd/resolvePathname.min.js","files":["lib","umd"],"scripts":{"lint":"eslint modules","build":"node ./scripts/build.js","build-cjs":"rimraf lib && babel ./modules -d lib --ignore '__tests__'","build-min":"NODE_ENV=production webpack -p modules/index.js umd/resolvePathname.min.js","build-umd":"NODE_ENV=production webpack modules/index.js umd/resolvePathname.js","release":"node ./scripts/release.js","prepublish":"npm run build","test":"npm run lint && karma start"},"devDependencies":{"babel-cli":"^6.5.1","babel-core":"^6.5.2","babel-eslint":"^5.0.0","babel-loader":"^6.2.3","babel-plugin-dev-expression":"^0.2.1","babel-preset-es2015":"^6.5.0","eslint":"2.2.0","eslint-config-airbnb":"^6.0.2","eslint-plugin-react":"^4.1.0","expect":"^1.14.0","gzip-size":"^3.0.0","karma":"^0.13.21","karma-browserstack-launcher":"^0.1.10","karma-chrome-launcher":"^0.2.2","karma-mocha":"^0.2.2","karma-mocha-reporter":"^1.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^2.4.5","pretty-bytes":"^3.0.1","readline-sync":"^1.4.1","rimraf":"^2.5.2","webpack":"^1.12.14"},"repository":{"type":"git","url":"git+https://github.com/mjackson/resolve-pathname.git"},"gitHead":"68e481a29d0f17b170b964b1359c9fa9cb3ea1c3","bugs":{"url":"https://github.com/mjackson/resolve-pathname/issues"},"homepage":"https://github.com/mjackson/resolve-pathname#readme","_id":"resolve-pathname@1.0.1","_shasum":"ecd5f5f2c0a75aa9f91c43920e3df683d1f83781","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"mjackson","email":"mjijackson@gmail.com"},"dist":{"shasum":"ecd5f5f2c0a75aa9f91c43920e3df683d1f83781","size":7525,"noattachment":false,"key":"/resolve-pathname/-/resolve-pathname-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-pathname/download/resolve-pathname-1.0.1.tgz"},"maintainers":[{"name":"mjackson","email":""}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/resolve-pathname-1.0.1.tgz_1457642809412_0.258357344660908"},"directories":{},"publish_time":1457642809830,"_cnpm_publish_time":1457642809830,"_hasShrinkwrap":false},"1.0.0":{"name":"resolve-pathname","version":"1.0.0","description":"Resolve URL pathnames using JavaScript","author":{"name":"Michael Jackson"},"license":"MIT","main":"lib","browser":"umd/resolvePathname.min.js","files":["lib","umd"],"scripts":{"lint":"eslint modules","build":"node ./scripts/build.js","build-cjs":"rimraf lib && babel ./modules -d lib --ignore '__tests__'","build-min":"webpack -p modules/index.js umd/resolvePathname.min.js","build-umd":"webpack modules/index.js umd/resolvePathname.js","release":"node ./scripts/release.js","prepublish":"npm run build","test":"npm run lint && karma start"},"devDependencies":{"babel-cli":"^6.5.1","babel-core":"^6.5.2","babel-eslint":"^5.0.0","babel-loader":"^6.2.3","babel-preset-es2015":"^6.5.0","eslint":"2.2.0","eslint-config-airbnb":"^6.0.2","eslint-plugin-react":"^4.1.0","expect":"^1.14.0","gzip-size":"^3.0.0","karma":"^0.13.21","karma-browserstack-launcher":"^0.1.10","karma-chrome-launcher":"^0.2.2","karma-mocha":"^0.2.2","karma-mocha-reporter":"^1.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^2.4.5","pretty-bytes":"^3.0.1","readline-sync":"^1.4.1","rimraf":"^2.5.2","webpack":"^1.12.14"},"repository":{"type":"git","url":"git+https://github.com/mjackson/resolve-pathname.git"},"gitHead":"2768a5b15fc74b55999574aabdc9470fe4e968b0","bugs":{"url":"https://github.com/mjackson/resolve-pathname/issues"},"homepage":"https://github.com/mjackson/resolve-pathname#readme","_id":"resolve-pathname@1.0.0","_shasum":"ed3c5f30da44c323341d24f02613cdb1a10ef07e","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"mjackson","email":"mjijackson@gmail.com"},"dist":{"shasum":"ed3c5f30da44c323341d24f02613cdb1a10ef07e","size":8440,"noattachment":false,"key":"/resolve-pathname/-/resolve-pathname-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-pathname/download/resolve-pathname-1.0.0.tgz"},"maintainers":[{"name":"mjackson","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/resolve-pathname-1.0.0.tgz_1457636620506_0.4375485929194838"},"directories":{},"publish_time":1457636621034,"_cnpm_publish_time":1457636621034,"_hasShrinkwrap":false}},"readme":"# resolve-pathname [![Travis][build-badge]][build] [![npm package][npm-badge]][npm]\n\n[build-badge]: https://img.shields.io/travis/mjackson/resolve-pathname/master.svg?style=flat-square\n[build]: https://travis-ci.org/mjackson/resolve-pathname\n[npm-badge]: https://img.shields.io/npm/v/resolve-pathname.svg?style=flat-square\n[npm]: https://www.npmjs.org/package/resolve-pathname\n\n[resolve-pathname](https://www.npmjs.com/package/resolve-pathname) resolves URL pathnames identical to the way browsers resolve the pathname of an `<a href>` value. The goals are:\n\n- 100% compatibility with browser pathname resolution\n- Pure JavaScript implementation (no DOM dependency)\n\n## Installation\n\nUsing [npm](https://www.npmjs.com/):\n\n    $ npm install --save resolve-pathname\n\nThen, use as you would anything else:\n\n```js\n// using ES6 modules\nimport resolvePathname from 'resolve-pathname';\n\n// using CommonJS modules\nvar resolvePathname = require('resolve-pathname');\n```\n\nThe UMD build is also available on [unpkg](https://unpkg.com):\n\n```html\n<script src=\"https://unpkg.com/resolve-pathname\"></script>\n```\n\nYou can find the library on `window.resolvePathname`.\n\n## Usage\n\n```js\nimport resolvePathname from 'resolve-pathname';\n\n// Simply pass the pathname you'd like to resolve. Second\n// argument is the path we're coming from, or the current\n// pathname. It defaults to \"/\".\nresolvePathname('about', '/company/jobs'); // /company/about\nresolvePathname('../jobs', '/company/team/ceo'); // /company/jobs\nresolvePathname('about'); // /about\nresolvePathname('/about'); // /about\n\n// Index paths (with a trailing slash) are also supported and\n// work the same way as browsers.\nresolvePathname('about', '/company/info/'); // /company/info/about\n\n// In browsers, it's easy to resolve a URL pathname relative to\n// the current page. Just use window.location! e.g. if\n// window.location.pathname == '/company/team/ceo' then\nresolvePathname('cto', window.location.pathname); // /company/team/cto\nresolvePathname('../jobs', window.location.pathname); // /company/jobs\n```\n\n## Prior Work\n\n- [url.resolve](https://nodejs.org/api/url.html#url_url_resolve_from_to) - node's `url.resolve` implementation for full URLs\n- [resolve-url](https://www.npmjs.com/package/resolve-url) - A DOM-dependent implementation of the same algorithm\n","_attachments":{},"homepage":"https://github.com/mjackson/resolve-pathname#readme","bugs":{"url":"https://github.com/mjackson/resolve-pathname/issues"},"license":"MIT"}