{"versions":{"1.0.1":{"name":"@import-maps/resolve","version":"1.0.1","publishConfig":{"access":"public"},"description":"Parse and resolve imports via an import map","license":"MIT","repository":{"type":"git","url":"git+https://github.com/open-wc/open-wc.git","directory":"packages/import-maps-resolve"},"author":{"name":"open-wc"},"homepage":"https://github.com/open-wc/open-wc/tree/master/packages/import-maps-resolve","main":"./index.js","scripts":{"prepublishOnly":"../../scripts/insert-header.js","test":"npm run test:node","test:node":"mocha test/run-tests.js","types:copy":"copyfiles \"./src/**/*.d.ts\" \"./*.d.ts\" types"},"keywords":["import-map","import-maps"],"types":"types/index.d.ts","bugs":{"url":"https://github.com/open-wc/open-wc/issues"},"_id":"@import-maps/resolve@1.0.1","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"shasum":"1e9fcadcf23aa0822256a329aabca241879d37c9","size":14126,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@import-maps/resolve/-/resolve-1.0.1.tgz","integrity":"sha512-tWZNBIS1CoekcwlMuyG2mr0a1Wo5lb5lEHwwWvZo+5GLgr3e9LLDTtmgtCWEwBpXMkxn9D+2W9j2FY6eZQq0tA=="},"maintainers":[{"name":"anonymous","email":"d4kmor@gmail.com"}],"_npmUser":{"name":"anonymous","email":"hello@modern-web.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolve_1.0.1_1603908678769_0.8796419237522828"},"_hasShrinkwrap":false,"publish_time":1603908678886,"_cnpm_publish_time":1603908678886,"_cnpmcore_publish_time":"2021-12-16T21:12:23.014Z","contributors":[]},"1.0.0":{"name":"@import-maps/resolve","version":"1.0.0","publishConfig":{"access":"public"},"description":"Parse and resolve imports via an import map","license":"MIT","repository":{"type":"git","url":"git+https://github.com/open-wc/open-wc.git","directory":"packages/import-maps-resolve"},"author":{"name":"open-wc"},"homepage":"https://github.com/open-wc/open-wc/tree/master/packages/import-maps-resolve","main":"./index.js","scripts":{"prepublishOnly":"../../scripts/insert-header.js","test":"npm run test:node","test:node":"mocha test/run-tests.js"},"keywords":["import-map","import-maps"],"gitHead":"40e60b97c0e67d54514416bcb327fc04bb40a8fe","bugs":{"url":"https://github.com/open-wc/open-wc/issues"},"_id":"@import-maps/resolve@1.0.0","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.4.3/node@v10.16.0+x64 (linux)","dist":{"shasum":"e8b7a2d29ed199c193f9e7aa5bf4ed8bc99fb32b","size":6511,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@import-maps/resolve/-/resolve-1.0.0.tgz","integrity":"sha512-bDWbkeWlxyKXY2BFWzelNzp1matgrCVyuUnQig/iPGYzUdnTJV6rEuyo6ncrfifRHtcRvxswBBBzhUdKLkQGzA=="},"maintainers":[{"name":"anonymous","email":"d4kmor@gmail.com"}],"_npmUser":{"name":"anonymous","email":"d4kmor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolve_1.0.0_1597862324817_0.8225606201541269"},"_hasShrinkwrap":false,"publish_time":1597862324967,"_cnpm_publish_time":1597862324967,"_cnpmcore_publish_time":"2021-12-16T21:12:23.242Z","contributors":[]},"0.3.2":{"name":"@import-maps/resolve","version":"0.3.2","publishConfig":{"access":"public"},"description":"Parse and resolve imports via an import map","license":"MIT","repository":{"type":"git","url":"git+https://github.com/open-wc/open-wc.git","directory":"packages/import-maps-resolve"},"author":{"name":"open-wc"},"homepage":"https://github.com/open-wc/open-wc/tree/master/packages/import-maps-resolve","main":"./index.js","scripts":{"prepublishOnly":"../../scripts/insert-header.js","test":"npm run test:node","test:node":"mocha test/run-tests.js"},"keywords":["import-map","import-maps"],"gitHead":"8c2bd68b7b6f3bf2eac0deae10ce28090dc1ee3f","bugs":{"url":"https://github.com/open-wc/open-wc/issues"},"_id":"@import-maps/resolve@0.3.2","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.4.3/node@v10.16.0+x64 (linux)","dist":{"shasum":"02b69bf24c997575d2528d4d5cc6601772ba9eb8","size":6346,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@import-maps/resolve/-/resolve-0.3.2.tgz","integrity":"sha512-oeYw7QUk5sDOipLIevtteiTa9i+jpvVIw/REY7RmVi/htTpRAH9uBReI/ZmoiTkCy08tDXyfujzpLorlyOwJxA=="},"maintainers":[{"name":"anonymous","email":"d4kmor@gmail.com"}],"_npmUser":{"name":"anonymous","email":"d4kmor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolve_0.3.2_1588882375708_0.7569626804546297"},"_hasShrinkwrap":false,"publish_time":1588882375800,"_cnpm_publish_time":1588882375800,"_cnpmcore_publish_time":"2021-12-16T21:12:23.448Z","contributors":[]},"0.3.1":{"name":"@import-maps/resolve","version":"0.3.1","publishConfig":{"access":"public"},"description":"Parse and resolve imports via an import map","license":"MIT","repository":{"type":"git","url":"git+https://github.com/open-wc/open-wc.git","directory":"packages/import-maps-resolve"},"author":{"name":"open-wc"},"homepage":"https://github.com/open-wc/open-wc/tree/master/packages/import-maps-resolve","main":"./index.js","scripts":{"prepublishOnly":"../../scripts/insert-header.js","test":"npm run test:node","test:node":"mocha test/run-tests.js"},"keywords":["import-map","import-maps"],"bugs":{"url":"https://github.com/open-wc/open-wc/issues"},"_id":"@import-maps/resolve@0.3.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"90e10bdcb52b864dd7d95421cb5aee1ef4e42a64","size":5241,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@import-maps/resolve/-/resolve-0.3.1.tgz","integrity":"sha512-kIhRsso0a7wbr9GpXsD5P5lracSsB/wJsYoIj2fupPJQ/gYO0mobg7a1cBgYIxnl9K4zEWCXaxZgXaR4FxYkQw=="},"maintainers":[{"name":"anonymous","email":"d4kmor@gmail.com"}],"_npmUser":{"name":"anonymous","email":"d4kmor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolve_0.3.1_1588847103415_0.3126375271986761"},"_hasShrinkwrap":false,"publish_time":1588847103532,"_cnpm_publish_time":1588847103532,"_cnpmcore_publish_time":"2021-12-16T21:12:23.669Z","contributors":[]},"0.2.6":{"name":"@import-maps/resolve","version":"0.2.6","publishConfig":{"access":"public"},"description":"Read and resolve urls via an import map","license":"MIT","repository":{"type":"git","url":"git+https://github.com/open-wc/open-wc.git","directory":"packages/import-maps-resolve"},"author":{"name":"open-wc"},"homepage":"https://github.com/open-wc/open-wc/tree/master/packages/import-maps-resolve","main":"dist/index.js","scripts":{"build":"babel src --out-dir dist --copy-files --include-dotfiles","prepublishOnly":"npm run build && ../../scripts/insert-header.js","start":"npm run build && node ./dist/index.js","test":"npm run test:node","test:node":"mocha --require @babel/register","test:watch":"onchange 'src/**/*.js' 'test/**/*.js' -- npm run test --silent"},"keywords":["import-map","import-maps"],"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.9.0","@babel/preset-env":"^7.9.0","@babel/register":"^7.9.0","babel-plugin-transform-dynamic-import":"^2.1.0","onchange":"^5.2.0"},"bugs":{"url":"https://github.com/open-wc/open-wc/issues"},"_id":"@import-maps/resolve@0.2.6","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"27a97d0f069c7f3512eb9c1517bb7ee946ae6930","size":6292,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@import-maps/resolve/-/resolve-0.2.6.tgz","integrity":"sha512-IdI5OwfV/YB/zAhsTFNnN54U718VOpDaUQEUyoZ+r+jpyUnaOchmJAw8l9UsDI23AyHBKZOwEwU6eqjSn2M6Wg=="},"maintainers":[{"name":"anonymous","email":"d4kmor@gmail.com"}],"_npmUser":{"name":"anonymous","email":"d4kmor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolve_0.2.6_1586726840050_0.9299390455330172"},"_hasShrinkwrap":false,"publish_time":1586726840215,"_cnpm_publish_time":1586726840215,"_cnpmcore_publish_time":"2021-12-16T21:12:23.868Z","contributors":[]},"0.2.5":{"name":"@import-maps/resolve","version":"0.2.5","publishConfig":{"access":"public"},"description":"Read and resolve urls via an import map","license":"MIT","repository":{"type":"git","url":"git+https://github.com/open-wc/open-wc.git","directory":"packages/import-maps-resolve"},"author":{"name":"open-wc"},"homepage":"https://github.com/open-wc/open-wc/tree/master/packages/import-maps-resolve","main":"dist/index.js","scripts":{"build":"babel src --out-dir dist --copy-files --include-dotfiles","prepublishOnly":"npm run build && ../../scripts/insert-header.js","start":"npm run build && node ./dist/index.js","test":"npm run test:node","test:node":"mocha --require @babel/register","test:watch":"onchange 'src/**/*.js' 'test/**/*.js' -- npm run test --silent"},"keywords":["import-map","import-maps"],"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.9.0","@babel/preset-env":"^7.9.0","@babel/register":"^7.9.0","babel-plugin-transform-dynamic-import":"^2.1.0","chai":"^4.2.0","mocha":"^6.2.2","onchange":"^5.2.0"},"gitHead":"f31cbfc6c136c247f9d054075e66f3acd47e35b5","bugs":{"url":"https://github.com/open-wc/open-wc/issues"},"_id":"@import-maps/resolve@0.2.5","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.4.3/node@v10.16.0+x64 (linux)","dist":{"shasum":"79adb52373173d0348b3a05d39b8478031a913c1","size":7003,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@import-maps/resolve/-/resolve-0.2.5.tgz","integrity":"sha512-hOr6opOCvDX8M1tdxqoZoKKJvmrzPtANuhzhh3fLsu+3Pzv34Xl3uwA54L6S0lpHAfn/zhHshq+ztD7Dm28Z1A=="},"maintainers":[{"name":"anonymous","email":"d4kmor@gmail.com"}],"_npmUser":{"name":"anonymous","email":"d4kmor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolve_0.2.5_1585008790947_0.1408676206367414"},"_hasShrinkwrap":false,"publish_time":1585008791130,"_cnpm_publish_time":1585008791130,"_cnpmcore_publish_time":"2021-12-16T21:12:24.063Z","contributors":[]},"0.2.4":{"name":"@import-maps/resolve","version":"0.2.4","publishConfig":{"access":"public"},"description":"Read and resolve urls via an import map","license":"MIT","repository":{"type":"git","url":"git+https://github.com/open-wc/open-wc.git","directory":"packages/import-maps-resolve"},"author":{"name":"open-wc"},"homepage":"https://github.com/open-wc/open-wc/tree/master/packages/import-maps-resolve","main":"dist/index.js","scripts":{"build":"babel src --out-dir dist --copy-files --include-dotfiles","prepublishOnly":"npm run build && ../../scripts/insert-header.js","start":"npm run build && node ./dist/index.js","test":"npm run test:node","test:node":"mocha --require @babel/register","test:watch":"onchange 'src/**/*.js' 'test/**/*.js' -- npm run test --silent"},"keywords":["import-map","import-maps"],"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.8.3","@babel/preset-env":"^7.8.3","@babel/register":"^7.8.3","babel-plugin-transform-dynamic-import":"^2.1.0","chai":"^4.2.0","mocha":"^6.2.2","onchange":"^5.2.0"},"gitHead":"a6118efee15049c657594311513c71fd4a3355a5","bugs":{"url":"https://github.com/open-wc/open-wc/issues"},"_id":"@import-maps/resolve@0.2.4","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.4.3/node@v10.16.0+x64 (linux)","dist":{"shasum":"f68cb081d9b822f322edc56c1b9bcd6f85718e26","size":7049,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@import-maps/resolve/-/resolve-0.2.4.tgz","integrity":"sha512-5StcPVu5CJq/7T+dYxIxLNUYOJMFB/dUqIn/HaSlFlBUQKnDB1AkFOrW23WOydiM1kXDPTk+fxNWx4Ty6Qu5WQ=="},"maintainers":[{"name":"anonymous","email":"d4kmor@gmail.com"}],"_npmUser":{"name":"anonymous","email":"d4kmor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolve_0.2.4_1581269381262_0.8470611072844891"},"_hasShrinkwrap":false,"publish_time":1581269381397,"_cnpm_publish_time":1581269381397,"_cnpmcore_publish_time":"2021-12-16T21:12:24.294Z","contributors":[]},"0.2.3":{"name":"@import-maps/resolve","version":"0.2.3","publishConfig":{"access":"public"},"description":"Read and resolve urls via an import map","license":"MIT","repository":{"type":"git","url":"git+https://github.com/open-wc/open-wc.git","directory":"packages/import-maps-resolve"},"author":{"name":"open-wc"},"homepage":"https://github.com/open-wc/open-wc/","main":"dist/index.js","scripts":{"build":"babel src --out-dir dist --copy-files --include-dotfiles","prepublishOnly":"npm run build && ../../scripts/insert-header.js","start":"npm run build && node ./dist/index.js","test":"npm run test:node","test:node":"mocha --require @babel/register","test:watch":"onchange 'src/**/*.js' 'test/**/*.js' -- npm run test --silent"},"keywords":["import-map","import-maps"],"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.8.3","@babel/preset-env":"^7.8.3","@babel/register":"^7.8.3","babel-plugin-transform-dynamic-import":"^2.1.0","chai":"^4.2.0","mocha":"^6.2.2","onchange":"^5.2.0"},"gitHead":"34d35735fe6162ff6b99117be0a40ac130ba2e3c","bugs":{"url":"https://github.com/open-wc/open-wc/issues"},"_id":"@import-maps/resolve@0.2.3","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.4.3/node@v10.16.0+x64 (linux)","dist":{"shasum":"e62823b3019e652195c9b190a2d790203afe44c3","size":7028,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@import-maps/resolve/-/resolve-0.2.3.tgz","integrity":"sha512-vh+ddIifpLhcX/96YUfiAd74x8FAwJJxeesUId9Kw1jO8IHJHSajwilzVspQv6Czs5OdgEIFNy1IFYb0OmcqUQ=="},"maintainers":[{"name":"anonymous","email":"d4kmor@gmail.com"}],"_npmUser":{"name":"anonymous","email":"d4kmor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolve_0.2.3_1580714280479_0.7855466256522206"},"_hasShrinkwrap":false,"publish_time":1580714280674,"_cnpm_publish_time":1580714280674,"_cnpmcore_publish_time":"2021-12-16T21:12:24.469Z","contributors":[]},"0.2.2":{"name":"@import-maps/resolve","version":"0.2.2","publishConfig":{"access":"public"},"description":"Read and resolve urls via an import map","license":"MIT","repository":{"type":"git","url":"git+https://github.com/open-wc/open-wc.git","directory":"packages/import-maps-resolve"},"author":{"name":"open-wc"},"homepage":"https://github.com/open-wc/open-wc/","main":"dist/index.js","scripts":{"build":"babel src --out-dir dist --copy-files --include-dotfiles","prepublishOnly":"npm run build && ../../scripts/insert-header.js","start":"npm run build && node ./dist/index.js","test":"npm run test:node","test:node":"mocha --require @babel/register","test:watch":"onchange 'src/**/*.js' 'test/**/*.js' -- npm run test --silent"},"keywords":["import-map","import-maps"],"devDependencies":{"@babel/cli":"^7.8.3","@babel/core":"^7.8.3","@babel/preset-env":"^7.8.3","@babel/register":"^7.8.3","babel-plugin-transform-dynamic-import":"^2.1.0","chai":"^4.2.0","mocha":"^6.2.2","onchange":"^5.2.0"},"gitHead":"a9045ad518ded0144ea7f40347365eb84d1b50d0","bugs":{"url":"https://github.com/open-wc/open-wc/issues"},"_id":"@import-maps/resolve@0.2.2","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.4.3/node@v10.16.0+x64 (linux)","dist":{"shasum":"64b8dc212c6f5bb2352c2aae09232587dec595a8","size":6947,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@import-maps/resolve/-/resolve-0.2.2.tgz","integrity":"sha512-bpWjaWCngBX+o9tMI5NsnJghv9mAxmobXI7nVueRcnnrMh2IDIA0NMy5iMxcl9YF7KytT0W+z9uP+6dAZ4n8GA=="},"maintainers":[{"name":"anonymous","email":"d4kmor@gmail.com"}],"_npmUser":{"name":"anonymous","email":"d4kmor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolve_0.2.2_1580658397033_0.4795395749924254"},"_hasShrinkwrap":false,"publish_time":1580658397117,"_cnpm_publish_time":1580658397117,"_cnpmcore_publish_time":"2021-12-16T21:12:24.776Z","contributors":[]},"0.2.1":{"name":"@import-maps/resolve","version":"0.2.1","publishConfig":{"access":"public"},"description":"Read and resolve urls via an import map","license":"MIT","repository":{"type":"git","url":"git+https://github.com/open-wc/open-wc.git","directory":"packages/import-maps-resolve"},"author":{"name":"open-wc"},"homepage":"https://github.com/open-wc/open-wc/","main":"dist/index.js","scripts":{"build":"babel src --out-dir dist --copy-files --include-dotfiles","prepublishOnly":"npm run build && ../../scripts/insert-header.js","start":"npm run build && node ./dist/index.js","test":"npm run test:node","test:node":"mocha --require @babel/register","test:watch":"onchange 'src/**/*.js' 'test/**/*.js' -- npm run test --silent"},"keywords":["import-map","import-maps"],"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/preset-env":"^7.7.1","@babel/register":"^7.7.0","babel-plugin-transform-dynamic-import":"^2.1.0","chai":"^4.2.0","mocha":"^6.2.2","onchange":"^5.2.0"},"gitHead":"61cfb4b15d4033c1a4640875a3672fd0d91f5ed3","bugs":{"url":"https://github.com/open-wc/open-wc/issues"},"_id":"@import-maps/resolve@0.2.1","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.4.3/node@v10.16.0+x64 (linux)","dist":{"shasum":"35654c2ebf1e79b1cc4600da48685662b43f4273","size":6929,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@import-maps/resolve/-/resolve-0.2.1.tgz","integrity":"sha512-SkNnntOQs50X2QpPS8GG48GCbVBWYzeD0nW7HxcLWTSu7uHL8Ceu9OaxPRDPWACsx+GtpJ2lgkXcE6T9Kad+HQ=="},"maintainers":[{"name":"anonymous","email":"d4kmor@gmail.com"}],"_npmUser":{"name":"anonymous","email":"d4kmor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolve_0.2.1_1574598072986_0.006012052449432481"},"_hasShrinkwrap":false,"publish_time":1574598073135,"_cnpm_publish_time":1574598073135,"_cnpmcore_publish_time":"2021-12-16T21:12:24.967Z","contributors":[]},"0.2.0":{"name":"@import-maps/resolve","version":"0.2.0","publishConfig":{"access":"public"},"description":"Read and resolve urls via an import map","license":"MIT","repository":{"type":"git","url":"git+https://github.com/open-wc/open-wc.git","directory":"packages/import-maps-resolve"},"author":{"name":"open-wc"},"homepage":"https://github.com/open-wc/open-wc/","main":"dist/index.js","scripts":{"build":"babel src --out-dir dist --copy-files --include-dotfiles","prepublishOnly":"npm run build && ../../scripts/insert-header.js","start":"npm run build && node ./dist/index.js","test":"npm run test:node","test:node":"mocha --require @babel/register","test:watch":"onchange 'src/**/*.js' 'test/**/*.js' -- npm run test --silent"},"keywords":["import-map","import-maps"],"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/preset-env":"^7.7.1","@babel/register":"^7.7.0","babel-plugin-transform-dynamic-import":"^2.1.0","chai":"^4.2.0","mocha":"^6.0.0","onchange":"^5.2.0"},"bugs":{"url":"https://github.com/open-wc/open-wc/issues"},"_id":"@import-maps/resolve@0.2.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"c70849fad4f939e5b34483e396065563d7a9ef08","size":6191,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@import-maps/resolve/-/resolve-0.2.0.tgz","integrity":"sha512-7jUE0GzODdmCnXpTjTshDBIFESJhDskzBJUqrOMj7cwLRbrvr78kAl3wYyfh3ysUcnvozuBfgSTlHptB5VmcOQ=="},"maintainers":[{"name":"anonymous","email":"d4kmor@gmail.com"}],"_npmUser":{"name":"anonymous","email":"d4kmor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolve_0.2.0_1574201882587_0.26293510530703057"},"_hasShrinkwrap":false,"publish_time":1574201882711,"_cnpm_publish_time":1574201882711,"_cnpmcore_publish_time":"2021-12-16T21:12:25.180Z","contributors":[]},"0.1.5":{"name":"@import-maps/resolve","version":"0.1.5","publishConfig":{"access":"public"},"description":"Read and resolve urls via an import map","license":"MIT","repository":{"type":"git","url":"git+https://github.com/open-wc/open-wc.git","directory":"packages/import-maps-resolve"},"author":{"name":"open-wc"},"homepage":"https://github.com/open-wc/open-wc/","main":"dist/index.js","scripts":{"build":"babel src --out-dir dist --copy-files --include-dotfiles","prepublishOnly":"npm run build && ../../scripts/insert-header.js","start":"npm run build && node ./dist/index.js","test":"npm run test:node","test:node":"mocha --require @babel/register","test:watch":"onchange 'src/**/*.js' 'test/**/*.js' -- npm run test --silent"},"keywords":["import-map","import-maps"],"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.3","@babel/preset-env":"^7.0.0","@babel/register":"^7.0.0","babel-plugin-transform-dynamic-import":"^2.1.0","chai":"^4.2.0","mocha":"^6.0.0","onchange":"^5.2.0"},"gitHead":"62a80be8bc73428dbbc973a326eb8d4ab9e64017","bugs":{"url":"https://github.com/open-wc/open-wc/issues"},"_id":"@import-maps/resolve@0.1.5","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.4.3/node@v10.16.0+x64 (linux)","dist":{"shasum":"c76b5069a4a76afc8a9c3d5259ba334ae02ee1e8","size":6440,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@import-maps/resolve/-/resolve-0.1.5.tgz","integrity":"sha512-VDsZ+3xVqKss6G8nqizxTyN2/yadHooJvN26k93qfvtEL9djkC1eVO1iWXtWpwficZil8Ds9eTUjEsncR9MQFA=="},"maintainers":[{"name":"anonymous","email":"d4kmor@gmail.com"}],"_npmUser":{"name":"anonymous","email":"d4kmor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolve_0.1.5_1572031376453_0.2315147118504406"},"_hasShrinkwrap":false,"publish_time":1572031376547,"_cnpm_publish_time":1572031376547,"_cnpmcore_publish_time":"2021-12-16T21:12:25.413Z","contributors":[]},"0.1.4":{"name":"@import-maps/resolve","version":"0.1.4","publishConfig":{"access":"public"},"description":"Read and resolve urls via an import map","license":"MIT","repository":{"type":"git","url":"git+https://github.com/open-wc/open-wc.git","directory":"packages/import-maps-resolve"},"author":{"name":"open-wc"},"homepage":"https://github.com/open-wc/open-wc/","main":"dist/index.js","scripts":{"build":"babel src --out-dir dist --copy-files --include-dotfiles","prepublishOnly":"npm run build && ../../scripts/insert-header.js","start":"npm run build && node ./dist/index.js","test":"npm run test:node","test:node":"mocha --require @babel/register","test:watch":"onchange 'src/**/*.js' 'test/**/*.js' -- npm run test --silent"},"keywords":["import-map","import-maps"],"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.3","@babel/preset-env":"^7.0.0","@babel/register":"^7.0.0","babel-plugin-transform-dynamic-import":"^2.1.0","chai":"^4.2.0","mocha":"^5.0.0","onchange":"^5.2.0"},"gitHead":"3bf8aff866ec97305473dd40d04152297b82e4bf","bugs":{"url":"https://github.com/open-wc/open-wc/issues"},"_id":"@import-maps/resolve@0.1.4","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.4.3/node@v10.16.0+x64 (linux)","dist":{"shasum":"0c92b75aa6fc8b1e83cb0acb6543f954a8e29a06","size":6383,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@import-maps/resolve/-/resolve-0.1.4.tgz","integrity":"sha512-u7xxZkqFyKuUYphvKdjMBLgHiEOp0owaXboh4S2n2clRXqkTCtlHQXvAgM3+5N1RT5Yl0jnME6Qi6aUNkscAsA=="},"maintainers":[{"name":"anonymous","email":"d4kmor@gmail.com"}],"_npmUser":{"name":"anonymous","email":"d4kmor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolve_0.1.4_1571873758572_0.3634219895475488"},"_hasShrinkwrap":false,"publish_time":1571873758741,"_cnpm_publish_time":1571873758741,"_cnpmcore_publish_time":"2021-12-16T21:12:25.634Z","contributors":[]},"0.1.3":{"name":"@import-maps/resolve","version":"0.1.3","description":"Read and resolve urls via an import map","author":{"name":"open-wc"},"homepage":"https://github.com/open-wc/open-wc/","license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/open-wc/open-wc.git","directory":"packages/import-maps-resolve"},"keywords":["import-map","import-maps"],"scripts":{"build":"babel src --out-dir dist --copy-files --include-dotfiles","start":"npm run build && node ./dist/index.js","test":"npm run test:node","test:node":"mocha --require @babel/register","test:watch":"onchange 'src/**/*.js' 'test/**/*.js' -- npm run test --silent","prepublishOnly":"npm run build && ../../scripts/insert-header.js"},"main":"dist/index.js","devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.3","@babel/preset-env":"^7.0.0","@babel/register":"^7.0.0","babel-plugin-transform-dynamic-import":"^2.1.0","chai":"^4.2.0","mocha":"^5.0.0","onchange":"^5.2.0"},"gitHead":"4c6333b828394f8b4720f50f7740d01ec2ae1ed4","bugs":{"url":"https://github.com/open-wc/open-wc/issues"},"_id":"@import-maps/resolve@0.1.3","_nodeVersion":"10.12.0","_npmVersion":"lerna/3.4.3/node@v10.12.0+x64 (linux)","dist":{"shasum":"77f16d1eb76b8baa33567d06d25a8845be11f028","size":6700,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@import-maps/resolve/-/resolve-0.1.3.tgz","integrity":"sha512-Y+DJevVl5mXDIfrKBhXc7Wx0XNkartseGinDgI9CtuBYRka0IoRcQytK5PchBPhL+ZcumeF5sB1r09aHBF5gQQ=="},"maintainers":[{"name":"anonymous","email":"d4kmor@gmail.com"}],"_npmUser":{"name":"anonymous","email":"d4kmor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolve_0.1.3_1565021500854_0.7675491285830458"},"_hasShrinkwrap":false,"publish_time":1565021500964,"_cnpm_publish_time":1565021500964,"_cnpmcore_publish_time":"2021-12-16T21:12:25.868Z","contributors":[]},"0.1.2":{"name":"@import-maps/resolve","version":"0.1.2","description":"Read and resolve urls via an import map","author":{"name":"open-wc"},"homepage":"https://github.com/open-wc/open-wc/","license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/open-wc/open-wc.git","directory":"packages/import-maps-resolve"},"keywords":["import-map","import-maps"],"scripts":{"build":"babel src --out-dir dist --copy-files --include-dotfiles","start":"npm run build && node ./dist/index.js","test":"mocha --require @babel/register","test:ci":"npm run test","test:watch":"onchange 'src/**/*.js' 'test/**/*.js' -- npm run test --silent","prepublishOnly":"npm run build && ../../scripts/insert-header.js"},"main":"dist/index.js","devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.3","@babel/preset-env":"^7.0.0","@babel/register":"^7.0.0","babel-plugin-transform-dynamic-import":"^2.1.0","chai":"^4.2.0","mocha":"^5.0.0","onchange":"^5.2.0"},"gitHead":"f2697a0bc4e7ae84d53bc3c99ef25b1c1cb63171","bugs":{"url":"https://github.com/open-wc/open-wc/issues"},"_id":"@import-maps/resolve@0.1.2","_nodeVersion":"10.12.0","_npmVersion":"lerna/3.4.3/node@v10.12.0+x64 (linux)","dist":{"shasum":"ec15aec92bbbe8d0a4df93bd8419bb1cd7b4eef2","size":6646,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@import-maps/resolve/-/resolve-0.1.2.tgz","integrity":"sha512-zi5LHltEZE25VWST5ljP9VRR21lH/Ol9RewvGT0vZt0Jg4ziYx6Tqi+mplmG2HUxzEMt3Mnus3PvZfhMxqc+4g=="},"maintainers":[{"name":"anonymous","email":"d4kmor@gmail.com"}],"_npmUser":{"name":"anonymous","email":"d4kmor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolve_0.1.2_1562616588673_0.1785924613593779"},"_hasShrinkwrap":false,"publish_time":1562616588840,"_cnpm_publish_time":1562616588840,"_cnpmcore_publish_time":"2021-12-16T21:12:26.074Z","contributors":[]},"0.1.1":{"name":"@import-maps/resolve","version":"0.1.1","description":"Read and resolve urls via an import map","author":{"name":"open-wc"},"homepage":"https://github.com/open-wc/open-wc/","license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/open-wc/open-wc.git","directory":"packages/import-maps-resolve"},"keywords":["import-map","import-maps"],"scripts":{"build":"babel src --out-dir dist --copy-files --include-dotfiles","start":"npm run build && node ./dist/index.js","test":"mocha --require @babel/register","test:ci":"npm run test","test:watch":"onchange 'src/**/*.js' 'test/**/*.js' -- npm run test --silent","prepublishOnly":"npm run build && ../../scripts/insert-header.js"},"main":"dist/index.js","devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.3","@babel/preset-env":"^7.0.0","@babel/register":"^7.0.0","babel-plugin-transform-dynamic-import":"^2.1.0","chai":"^4.2.0","mocha":"^5.0.0","onchange":"^5.2.0"},"gitHead":"ba985399f63c46250b3e884e74e59f2546b42f52","bugs":{"url":"https://github.com/open-wc/open-wc/issues"},"_id":"@import-maps/resolve@0.1.1","_nodeVersion":"10.12.0","_npmVersion":"lerna/3.4.3/node@v10.12.0+x64 (linux)","dist":{"shasum":"7ca94e62687d928e29404e1f9ebf4eff00743257","size":6600,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@import-maps/resolve/-/resolve-0.1.1.tgz","integrity":"sha512-gZGidSknWDG19Fx2o8QKVCshazQ2yvEC20wg/IZYpNDHRbsip6DZy3sb7jcS+gJPOZZLSfqJjXSKwALDDVP93w=="},"maintainers":[{"name":"anonymous","email":"d4kmor@gmail.com"}],"_npmUser":{"name":"anonymous","email":"d4kmor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolve_0.1.1_1561838431920_0.91442160255593"},"_hasShrinkwrap":false,"publish_time":1561838432682,"_cnpm_publish_time":1561838432682,"_cnpmcore_publish_time":"2021-12-16T21:12:26.292Z","contributors":[]},"0.1.0":{"name":"@import-maps/resolve","version":"0.1.0","description":"Read and resolve urls via an import map","author":{"name":"open-wc"},"homepage":"https://github.com/open-wc/open-wc/","license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/open-wc/open-wc.git","directory":"packages/import-maps-resolve"},"keywords":["import-map","import-maps"],"scripts":{"build":"babel src --out-dir dist --copy-files --include-dotfiles","start":"npm run build && node ./dist/index.js","test":"mocha --require @babel/register","test:ci":"npm run test","test:watch":"onchange 'src/**/*.js' 'test/**/*.js' -- npm run test --silent","prepublishOnly":"npm run build && ../../scripts/insert-header.js"},"main":"dist/index.js","devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.3","@babel/preset-env":"^7.0.0","@babel/register":"^7.0.0","babel-plugin-transform-dynamic-import":"^2.1.0","chai":"^4.2.0","mocha":"^5.0.0","onchange":"^5.2.0"},"gitHead":"14ef29f5b19683ffd4c5f9e484c8aba7131c6b10","bugs":{"url":"https://github.com/open-wc/open-wc/issues"},"_id":"@import-maps/resolve@0.1.0","_nodeVersion":"10.12.0","_npmVersion":"lerna/3.4.3/node@v10.12.0+x64 (linux)","dist":{"shasum":"383c99c13cc595c1ba0c5c5982113f79721239ed","size":6263,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@import-maps/resolve/-/resolve-0.1.0.tgz","integrity":"sha512-xy/gmxqslPiT7Sb8cmgqUCp7PUGKK7aKRS2CVXeg4/wixJ2gOscCzUXC57KX5vu2nqbFZ6C24Hxhl9O/7Oh5Cg=="},"maintainers":[{"name":"anonymous","email":"d4kmor@gmail.com"}],"_npmUser":{"name":"anonymous","email":"d4kmor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolve_0.1.0_1561302458048_0.11645227288711935"},"_hasShrinkwrap":false,"publish_time":1561302458200,"_cnpm_publish_time":1561302458200,"_cnpmcore_publish_time":"2021-12-16T21:12:26.495Z","contributors":[]},"2.0.0":{"name":"@import-maps/resolve","version":"2.0.0","publishConfig":{"access":"public"},"description":"Parse and resolve imports via an import map","license":"MIT","repository":{"type":"git","url":"git+https://github.com/open-wc/open-wc.git","directory":"packages/import-maps-resolve"},"author":{"name":"open-wc"},"homepage":"https://github.com/open-wc/open-wc/tree/master/packages/import-maps-resolve","main":"./index.js","scripts":{"test":"npm run test:node","test:node":"mocha test/run-tests.js","types:copy":"copyfiles \"./src/**/*.d.ts\" \"./*.d.ts\" types"},"keywords":["import-map","import-maps"],"types":"types/index.d.ts","gitHead":"57ddb3ccfff6b00468d3a7ebabbc15cfe966f7a9","bugs":{"url":"https://github.com/open-wc/open-wc/issues"},"_id":"@import-maps/resolve@2.0.0","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-RwzRTpmrrS6Q1ZhQExwuxJGK1Wqhv4stt+OF2JzS+uawewpwNyU7EJL1WpBex7aDiiGLs4FsXGkfUBdYuX7xiQ==","shasum":"d03d31dfee2994dc2bf8233a6e0862a137e8a575","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@import-maps/resolve/-/resolve-2.0.0.tgz","fileCount":17,"unpackedSize":98580,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8ZOorVx3wsx0PrODqhKkSo5NEPd1XmN1sGaaESZpqjAIhAILl6sI0rNLcUF7UDpmEUQWs5mJdKWIxF0eGg0cCpHB+"}],"size":12810},"_npmUser":{"name":"anonymous","email":"hello@modern-web.dev"},"directories":{},"maintainers":[{"name":"anonymous","email":"d4kmor@gmail.com"},{"name":"anonymous","email":"hello@modern-web.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolve_2.0.0_1686272856980_0.6656129666007944"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-09T01:07:37.246Z","publish_time":1686272857246,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"2.0.0"},"name":"@import-maps/resolve","time":{"created":"2022-01-27T09:58:37.422Z","modified":"2023-08-23T11:09:41.113Z","1.0.1":"2020-10-28T18:11:18.886Z","1.0.0":"2020-08-19T18:38:44.967Z","0.3.2":"2020-05-07T20:12:55.800Z","0.3.1":"2020-05-07T10:25:03.532Z","0.2.6":"2020-04-12T21:27:20.215Z","0.2.5":"2020-03-24T00:13:11.130Z","0.2.4":"2020-02-09T17:29:41.397Z","0.2.3":"2020-02-03T07:18:00.674Z","0.2.2":"2020-02-02T15:46:37.117Z","0.2.1":"2019-11-24T12:21:13.135Z","0.2.0":"2019-11-19T22:18:02.711Z","0.1.5":"2019-10-25T19:22:56.547Z","0.1.4":"2019-10-23T23:35:58.741Z","0.1.3":"2019-08-05T16:11:40.964Z","0.1.2":"2019-07-08T20:09:48.840Z","0.1.1":"2019-06-29T20:00:32.682Z","0.1.0":"2019-06-23T15:07:38.200Z","2.0.0":"2023-06-09T01:07:37.246Z"},"readme":"# Resolve import-maps\n\nLibrary for parsing and resolving [import maps](https://github.com/WICG/import-maps).\n\n## Usage\n\n```bash\nnpm i --save-dev @import-maps/resolve\n```\n\n### Base URL\n\nParsing and resolving import maps requires a base URL. This is an instance of the `URL` constructor.\n\nThis can be a browser URL:\n\n```js\nconst myUrl = new URL('https://www.example.com/');\n```\n\nOr a file URL when working with a file system. The `pathToFileURL` function is useful for converting a file path to a URL object:\n\n```js\nimport path from 'path';\nimport { pathToFileURL } from 'url';\n\nconst fileUrl1 = new URL('file:///foo/bar');\nconst fileUrl2 = pathToFileURL(path.join(process.cwd(), 'foo', 'bar'));\n```\n\n### Parsing an import map from a string\n\nThe `parseFromString` function parses an import map from a JSON string. It returns the parsed import map object to be used when resolving import specifiers.\n\n```js\nimport { parseFromString } from '@import-maps/resolve';\n\n// get the import map from somewhere, for example read it from a string\nconst importMapString = '{ \"imports\": { \"foo\": \"./bar.js\" } }';\n// create a base URL to resolve imports relatively to\nconst baseURL = new URL('https://www.example.com/');\n\nconst importMap = parseFromString(importMapString, baseURL);\n```\n\n### Parsing an import map from an object\n\nIf you already have an object which represents the import map, it still needs to be parsed to validate it and to prepare it for resolving. You can use the `parse` function for this.\n\n```js\nimport { parse } from '@import-maps/resolve';\n\n// get the import map from somewhere, for example read it from a string\nconst rawImportMap = { imports: { foo: './bar.js' } };\n// create a base URL to resolve imports relatively to\nconst baseURL = new URL('https://www.example.com/');\n\nconst importMap = parse(rawImportMap, baseURL);\n```\n\n### Resolving imports\n\nOnce you've created a parsed import map, you can start resolving specifiers. The `resolve` function returns an object with the resolved URL as well as a boolean whether the import was matched. When a bare import is not found in the import map, resolve returns null. When a relative import isn't found, the resolved URL is returned, and matched will be set to false.\n\n```js\nimport { resolve } from '@import-maps/resolve';\n\nconst importMapString = '{ \"imports\": { \"foo\": \"./bar.js\" } }';\nconst baseURL = new URL('https://www.example.com/');\nconst importMap = parseFromString(importMapString, baseURL);\n\nconst scriptUrl = new URL('https://www.example.com/my-app.js');\n\n// resolvedImport: https://www.example.com/bar.js, matched: true\nconst { resolvedImport, matched } = resolve('foo', baseURL, scriptUrl);\n\n// resolvedImport: https://www.example.com/x.js, matched: false\nconst { resolvedImport, matched } = resolve('./x.js', baseURL, scriptUrl);\n\n// resolvedImport: null, matched: false\nconst { resolvedImport, matched } = resolve('bar', baseURL, scriptUrl);\n```\n\nIf you need to use the resolved path on the file system, you can use the `fileURLToPath` utility:\n\n```js\nimport { fileURLToPath } from 'url';\nimport { resolve } from '@import-maps/resolve';\n\nconst { resolvedImport } = resolve(importMapString, baseURL, scriptUrl);\n\n// the fully resolved file path\nconsole.log(fileURLToPath(resolvedImport));\n```\n\n## Acknowledgments\n\nThis implementation is heavily based on the [import-maps reference implementation](https://github.com/WICG/import-maps/tree/master/reference-implementation).","users":{}}