{"_id":"@rollup/plugin-url","_rev":"3501692","name":"@rollup/plugin-url","description":"Import files as data-URIs or ES Modules","dist-tags":{"latest":"8.0.2"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"time":{"modified":"2024-08-27T20:08:34.000Z","created":"2019-11-25T16:41:07.746Z","8.0.2":"2023-10-05T12:49:49.241Z","8.0.1":"2022-10-21T19:11:03.437Z","8.0.0":"2022-10-10T14:54:02.943Z","7.0.0":"2022-04-29T16:56:50.090Z","6.1.0":"2021-07-26T18:53:44.435Z","6.0.0":"2020-11-30T18:43:54.304Z","5.0.1":"2020-06-05T13:48:23.055Z","5.0.0":"2020-05-11T16:01:18.492Z","4.0.2":"2020-02-01T18:28:15.666Z","4.0.1":"2020-01-07T14:51:08.152Z","4.0.0":"2019-11-25T16:41:07.746Z"},"users":{},"author":{"name":"Arpad Borsos","email":"arpad.borsos@googlemail.com"},"repository":{"url":"git+https://github.com/rollup/plugins.git","directory":"packages/url"},"versions":{"8.0.2":{"name":"@rollup/plugin-url","version":"8.0.2","publishConfig":{"access":"public"},"description":"Import files as data-URIs or ES Modules","license":"MIT","repository":{"url":"git+https://github.com/rollup/plugins.git","directory":"packages/url"},"author":{"name":"Arpad Borsos","email":"arpad.borsos@googlemail.com"},"homepage":"https://github.com/rollup/plugins/tree/master/packages/url/#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"main":"./dist/cjs/index.js","module":"./dist/es/index.js","exports":{"types":"./types/index.d.ts","import":"./dist/es/index.js","default":"./dist/cjs/index.js"},"engines":{"node":">=14.0.0"},"scripts":{"build":"rollup -c","ci:coverage":"nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"pnpm build && pnpm lint","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"pnpm test -- --verbose","prebuild":"del-cli dist","prepare":"if [ ! -d 'dist' ]; then pnpm build; fi","prerelease":"pnpm build","pretest":"pnpm build","release":"pnpm --workspace-root plugin:release --pkg $npm_package_name","test":"ava"},"keywords":["rollup","plugin","url"],"peerDependencies":{"rollup":"^1.20.0||^2.0.0||^3.0.0||^4.0.0"},"peerDependenciesMeta":{"rollup":{"optional":true}},"dependencies":{"@rollup/pluginutils":"^5.0.1","make-dir":"^3.1.0","mime":"^3.0.0"},"devDependencies":{"del":"^6.1.1","globby":"^11.1.0","rollup":"^4.0.0-24"},"types":"./types/index.d.ts","ava":{"workerThreads":false,"files":["!**/fixtures/**","!**/output/**","!**/helpers/**","!**/recipes/**","!**/types.ts"]},"_id":"@rollup/plugin-url@8.0.2","gitHead":"841a0391c1dd11fed16771a202e6eff97cf4139b","_nodeVersion":"20.8.0","_npmVersion":"10.1.0","dist":{"shasum":"aab4e209e9e012f65582bd99eb80b3bbdfe15afb","size":4659,"noattachment":false,"key":"/@rollup/plugin-url/-/@rollup/plugin-url-8.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rollup/plugin-url/download/@rollup/plugin-url-8.0.2.tgz"},"_npmUser":{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},"directories":{},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-url_8.0.2_1696510189071_0.07996565663825672"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-05T12:49:49.241Z","publish_time":1696510189241,"_source_registry_name":"default","_cnpm_publish_time":1696510189241},"8.0.1":{"name":"@rollup/plugin-url","version":"8.0.1","publishConfig":{"access":"public"},"description":"Import files as data-URIs or ES Modules","license":"MIT","repository":{"url":"git+https://github.com/rollup/plugins.git","directory":"packages/url"},"author":{"name":"Arpad Borsos","email":"arpad.borsos@googlemail.com"},"homepage":"https://github.com/rollup/plugins/tree/master/packages/url/#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"main":"./dist/cjs/index.js","module":"./dist/es/index.js","exports":{"types":"./types/index.d.ts","import":"./dist/es/index.js","default":"./dist/cjs/index.js"},"engines":{"node":">=14.0.0"},"scripts":{"build":"rollup -c","ci:coverage":"nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"pnpm build && pnpm lint","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"pnpm test -- --verbose","prebuild":"del-cli dist","prepare":"if [ ! -d 'dist' ]; then pnpm build; fi","prerelease":"pnpm build","pretest":"pnpm build","release":"pnpm --workspace-root plugin:release --pkg $npm_package_name","test":"ava"},"keywords":["rollup","plugin","url"],"peerDependencies":{"rollup":"^1.20.0||^2.0.0||^3.0.0"},"peerDependenciesMeta":{"rollup":{"optional":true}},"dependencies":{"@rollup/pluginutils":"^5.0.1","make-dir":"^3.1.0","mime":"^3.0.0"},"devDependencies":{"del":"^6.1.1","globby":"^11.1.0","rollup":"^3.2.3"},"types":"./types/index.d.ts","ava":{"workerThreads":false,"files":["!**/fixtures/**","!**/output/**","!**/helpers/**","!**/recipes/**","!**/types.ts"]},"gitHead":"6ec42289426b2e65f77ee1a69afceb6a22fed5c7","_id":"@rollup/plugin-url@8.0.1","_nodeVersion":"18.11.0","_npmVersion":"8.19.2","dist":{"shasum":"8da005d4be8cb4439357c929c73c85ceb5d979a4","size":4641,"noattachment":false,"key":"/@rollup/plugin-url/-/@rollup/plugin-url-8.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rollup/plugin-url/download/@rollup/plugin-url-8.0.1.tgz"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-url_8.0.1_1666379463233_0.0533218039989809"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-22T16:16:53.409Z","publish_time":1666379463437,"_cnpm_publish_time":1666379463437},"8.0.0":{"name":"@rollup/plugin-url","version":"8.0.0","publishConfig":{"access":"public"},"description":"Import files as data-URIs or ES Modules","license":"MIT","repository":{"url":"git+https://github.com/rollup/plugins.git","directory":"packages/url"},"author":{"name":"Arpad Borsos","email":"arpad.borsos@googlemail.com"},"homepage":"https://github.com/rollup/plugins/tree/master/packages/url/#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"main":"./dist/cjs/index.js","module":"./dist/es/index.js","exports":{"types":"./types/index.d.ts","import":"./dist/es/index.js","default":"./dist/cjs/index.js"},"engines":{"node":">=14.0.0"},"scripts":{"build":"rollup -c","ci:coverage":"nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"pnpm build && pnpm lint","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"pnpm test -- --verbose","prebuild":"del-cli dist","prepare":"if [ ! -d 'dist' ]; then pnpm build; fi","prerelease":"pnpm build","pretest":"pnpm build","release":"pnpm --workspace-root plugin:release --pkg $npm_package_name","test":"ava"},"keywords":["rollup","plugin","url"],"peerDependencies":{"rollup":"^1.20.0||^2.0.0||^3.0.0"},"peerDependenciesMeta":{"rollup":{"optional":true}},"dependencies":{"@rollup/pluginutils":"^4.2.1","make-dir":"^3.1.0","mime":"^3.0.0"},"devDependencies":{"del":"^6.1.1","globby":"^11.1.0","rollup":"^3.0.0-7"},"types":"./types/index.d.ts","ava":{"workerThreads":false,"files":["!**/fixtures/**","!**/output/**","!**/helpers/**","!**/recipes/**","!**/types.ts"]},"gitHead":"64aaf11503e2cfe0cd7582ac909a6bfdf521b198","_id":"@rollup/plugin-url@8.0.0","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"shasum":"1e6ab1261b8a90ec7f334a9b078da1b3a3ade2e2","size":4641,"noattachment":false,"key":"/@rollup/plugin-url/-/@rollup/plugin-url-8.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rollup/plugin-url/download/@rollup/plugin-url-8.0.0.tgz"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-url_8.0.0_1665413642741_0.37156458663155356"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-10T15:51:45.839Z","publish_time":1665413642943,"_cnpm_publish_time":1665413642943},"7.0.0":{"name":"@rollup/plugin-url","version":"7.0.0","publishConfig":{"access":"public"},"description":"Import files as data-URIs or ES Modules","license":"MIT","repository":{"url":"git+https://github.com/rollup/plugins.git","directory":"packages/url"},"author":{"name":"Arpad Borsos","email":"arpad.borsos@googlemail.com"},"homepage":"https://github.com/rollup/plugins/tree/master/packages/url/#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"main":"dist/index.js","module":"dist/index.es.js","engines":{"node":">=10.0.0"},"scripts":{"build":"rollup -c","ci:coverage":"nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"pnpm build && pnpm lint","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"pnpm test -- --verbose","prebuild":"del-cli dist","prepare":"if [ ! -d 'dist' ]; then pnpm build; fi","prerelease":"pnpm build","pretest":"pnpm build","release":"pnpm plugin:release --workspace-root -- --pkg $npm_package_name","test":"ava"},"keywords":["rollup","plugin","url"],"peerDependencies":{"rollup":"^1.20.0||^2.0.0"},"dependencies":{"@rollup/pluginutils":"^4.2.1","make-dir":"^3.1.0","mime":"^2.4.6"},"devDependencies":{"del":"^5.1.0","globby":"^11.0.1","rollup":"^2.67.3"},"types":"./types/index.d.ts","ava":{"babel":{"compileEnhancements":false},"files":["!**/fixtures/**","!**/output/**","!**/helpers/**","!**/recipes/**","!**/types.ts"]},"_id":"@rollup/plugin-url@7.0.0","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"shasum":"571f6fd51c3d0e00f7404c67efdb93492bfac7f8","size":7694,"noattachment":false,"key":"/@rollup/plugin-url/-/@rollup/plugin-url-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rollup/plugin-url/download/@rollup/plugin-url-7.0.0.tgz"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-url_7.0.0_1651251409868_0.7939400538341823"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-29T16:57:49.756Z","publish_time":1651251410090,"_cnpm_publish_time":1651251410090},"6.1.0":{"name":"@rollup/plugin-url","version":"6.1.0","publishConfig":{"access":"public"},"description":"Import files as data-URIs or ES Modules","license":"MIT","repository":{"url":"git+https://github.com/rollup/plugins.git","directory":"packages/url"},"author":{"name":"Arpad Borsos","email":"arpad.borsos@googlemail.com"},"homepage":"https://github.com/rollup/plugins/tree/master/packages/url/#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"main":"dist/index.js","module":"dist/index.es.js","engines":{"node":">=10.0.0"},"scripts":{"build":"rollup -c","ci:coverage":"nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"pnpm build && pnpm lint","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"pnpm test -- --verbose","prebuild":"del-cli dist","prepare":"if [ ! -d 'dist' ]; then pnpm build; fi","prerelease":"pnpm build","pretest":"pnpm build","release":"pnpm plugin:release --workspace-root -- --pkg $npm_package_name","test":"ava"},"keywords":["rollup","plugin","url"],"peerDependencies":{"rollup":"^1.20.0||^2.0.0"},"dependencies":{"@rollup/pluginutils":"^3.1.0","make-dir":"^3.1.0","mime":"^2.4.6"},"devDependencies":{"del":"^5.1.0","globby":"^11.0.1","rollup":"^2.23.0"},"types":"./types/index.d.ts","ava":{"babel":{"compileEnhancements":false},"files":["!**/fixtures/**","!**/output/**","!**/helpers/**","!**/recipes/**","!**/types.ts"]},"_id":"@rollup/plugin-url@6.1.0","_nodeVersion":"14.15.3","_npmVersion":"6.14.9","dist":{"shasum":"1234bba9aa30b5972050bdfcf8fcbb1cb8070465","size":7642,"noattachment":false,"key":"/@rollup/plugin-url/-/@rollup/plugin-url-6.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rollup/plugin-url/download/@rollup/plugin-url-6.1.0.tgz"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-url_6.1.0_1627325624220_0.2616359214380912"},"_hasShrinkwrap":false,"publish_time":1627325624435,"_cnpm_publish_time":1627325624435,"_cnpmcore_publish_time":"2021-12-16T11:31:37.117Z"},"6.0.0":{"name":"@rollup/plugin-url","version":"6.0.0","publishConfig":{"access":"public"},"description":"Import files as data-URIs or ES Modules","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rollup/plugins.git"},"author":{"name":"Arpad Borsos","email":"arpad.borsos@googlemail.com"},"homepage":"https://github.com/rollup/plugins/tree/master/packages/url/#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"main":"dist/index.js","module":"dist/index.es.js","engines":{"node":">=10.0.0"},"scripts":{"build":"rollup -c","ci:coverage":"nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"pnpm run build && pnpm run lint","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"pnpm run test -- --verbose","lint":"pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package","lint:docs":"prettier --single-quote --arrow-parens avoid --trailing-comma none --write README.md","lint:js":"eslint --fix --cache src test --ext .js,.ts","lint:package":"prettier --write package.json --plugin=prettier-plugin-package","prebuild":"del-cli dist","prepare":"pnpm run build","prepublishOnly":"pnpm run lint","pretest":"pnpm run build","test":"ava"},"keywords":["rollup","plugin","url"],"peerDependencies":{"rollup":"^1.20.0||^2.0.0"},"dependencies":{"@rollup/pluginutils":"^3.1.0","make-dir":"^3.1.0","mime":"^2.4.6"},"devDependencies":{"del":"^5.1.0","globby":"^11.0.1","rollup":"^2.23.0"},"ava":{"babel":{"compileEnhancements":false},"files":["!**/fixtures/**","!**/output/**","!**/helpers/**","!**/recipes/**","!**/types.ts"]},"_id":"@rollup/plugin-url@6.0.0","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"shasum":"20fbc8cda9bc5f0c31d7225f633002ce73e920b0","size":8021,"noattachment":false,"key":"/@rollup/plugin-url/-/@rollup/plugin-url-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rollup/plugin-url/download/@rollup/plugin-url-6.0.0.tgz"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-url_6.0.0_1606761834164_0.11692151958222685"},"_hasShrinkwrap":false,"publish_time":1606761834304,"_cnpm_publish_time":1606761834304,"_cnpmcore_publish_time":"2021-12-16T11:31:37.313Z"},"5.0.1":{"name":"@rollup/plugin-url","version":"5.0.1","publishConfig":{"access":"public"},"description":"Import files as data-URIs or ES Modules","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rollup/plugins.git"},"author":{"name":"Arpad Borsos","email":"arpad.borsos@googlemail.com"},"homepage":"https://github.com/rollup/plugins/tree/master/packages/url/#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"main":"dist/index.js","engines":{"node":">=8.0.0"},"scripts":{"build":"rollup -c","ci:coverage":"nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"pnpm run build && pnpm run lint","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"pnpm run test -- --verbose","lint":"pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package","lint:docs":"prettier --single-quote --write README.md","lint:js":"eslint --fix --cache src test --ext .js,.ts","lint:package":"prettier --write package.json --plugin=prettier-plugin-package","prebuild":"del-cli dist","prepare":"pnpm run build","prepublishOnly":"pnpm run lint","pretest":"pnpm run build","test":"ava"},"keywords":["rollup","plugin","url"],"peerDependencies":{"rollup":"^1.20.0||^2.0.0"},"dependencies":{"@rollup/pluginutils":"^3.0.4","make-dir":"^3.0.0","mime":"^2.4.4"},"devDependencies":{"@babel/core":"^7.9.0","@babel/preset-env":"^7.9.0","@babel/register":"^7.9.0","del":"^5.1.0","globby":"^10.0.1","rollup":"^2.0.0","rollup-plugin-babel":"^4.3.3"},"ava":{"files":["!**/fixtures/**","!**/output/**","!**/helpers/**","!**/recipes/**","!**/types.ts"]},"module":"dist/index.es.js","_id":"@rollup/plugin-url@5.0.1","_nodeVersion":"14.1.0","_npmVersion":"6.14.4","dist":{"shasum":"77fc9f56100cd83cfb45109adf7d48af1c8ecdbf","size":8574,"noattachment":false,"key":"/@rollup/plugin-url/-/@rollup/plugin-url-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rollup/plugin-url/download/@rollup/plugin-url-5.0.1.tgz"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-url_5.0.1_1591364902921_0.39506803075598285"},"_hasShrinkwrap":false,"publish_time":1591364903055,"_cnpm_publish_time":1591364903055,"_cnpmcore_publish_time":"2021-12-16T11:31:37.584Z"},"5.0.0":{"name":"@rollup/plugin-url","version":"5.0.0","publishConfig":{"access":"public"},"description":"Import files as data-URIs or ES Modules","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rollup/plugins.git"},"author":{"name":"Arpad Borsos","email":"arpad.borsos@googlemail.com"},"homepage":"https://github.com/rollup/plugins/tree/master/packages/url/#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"main":"dist/index.js","engines":{"node":">=8.0.0"},"scripts":{"build":"rollup -c","ci:coverage":"nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"pnpm run build && pnpm run lint","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"pnpm run test -- --verbose","lint":"pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package","lint:docs":"prettier --single-quote --write README.md","lint:js":"eslint --fix --cache src test --ext .js,.ts","lint:package":"prettier --write package.json --plugin=prettier-plugin-package","prebuild":"del-cli dist","prepare":"pnpm run build","prepublishOnly":"pnpm run lint","pretest":"pnpm run build","test":"ava"},"keywords":["rollup","plugin","url"],"peerDependencies":{"rollup":"^1.20.0||^2.0.0"},"dependencies":{"@rollup/pluginutils":"^3.0.4","make-dir":"^3.0.0","mime":"^2.4.4"},"devDependencies":{"@babel/core":"^7.9.0","@babel/preset-env":"^7.9.0","@babel/register":"^7.9.0","del":"^5.1.0","globby":"^10.0.1","rollup":"^2.0.0","rollup-plugin-babel":"^4.3.3"},"ava":{"files":["!**/fixtures/**","!**/output/**","!**/helpers/**","!**/recipes/**","!**/types.ts"]},"module":"dist/index.es.js","_id":"@rollup/plugin-url@5.0.0","_nodeVersion":"14.1.0","_npmVersion":"6.14.4","dist":{"shasum":"c06bf995324732da7a5706e92486841c16c64ea0","size":8529,"noattachment":false,"key":"/@rollup/plugin-url/-/@rollup/plugin-url-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rollup/plugin-url/download/@rollup/plugin-url-5.0.0.tgz"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-url_5.0.0_1589212878363_0.41580411069136214"},"_hasShrinkwrap":false,"publish_time":1589212878492,"_cnpm_publish_time":1589212878492,"_cnpmcore_publish_time":"2021-12-16T11:31:37.812Z"},"4.0.2":{"name":"@rollup/plugin-url","version":"4.0.2","publishConfig":{"access":"public"},"description":"Import files as data-URIs or ES Modules","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rollup/plugins.git"},"author":{"name":"Arpad Borsos","email":"arpad.borsos@googlemail.com"},"homepage":"https://github.com/rollup/plugins/tree/master/packages/url/#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"main":"dist/index.js","engines":{"node":">=8.0.0"},"scripts":{"build":"rollup -c","ci:coverage":"nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"pnpm run build && pnpm run lint","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"pnpm run test -- --verbose","lint":"pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package","lint:docs":"prettier --single-quote --write README.md","lint:js":"eslint --fix --cache src test","lint:package":"prettier --write package.json --plugin=prettier-plugin-package","prebuild":"del-cli dist","prepare":"pnpm run build","prepublishOnly":"pnpm run lint","pretest":"pnpm run build","test":"ava"},"keywords":["rollup","plugin","url"],"peerDependencies":{"rollup":"^1.20.0"},"dependencies":{"@rollup/pluginutils":"^3.0.4","make-dir":"^3.0.0","mime":"^2.4.4"},"devDependencies":{"@babel/core":"^7.7.7","@babel/preset-env":"^7.7.7","@babel/register":"^7.7.7","del":"^5.1.0","globby":"^10.0.1","rollup":"^1.27.14","rollup-plugin-babel":"^4.3.3"},"ava":{"files":["!**/fixtures/**","!**/output/**","!**/helpers/**","!**/recipes/**","!**/types.ts"]},"module":"dist/index.es.js","_id":"@rollup/plugin-url@4.0.2","_nodeVersion":"12.3.1","_npmVersion":"6.11.2","dist":{"shasum":"af9e6ce8b26153843567bfb04e48843e72fc2dc4","size":8455,"noattachment":false,"key":"/@rollup/plugin-url/-/@rollup/plugin-url-4.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rollup/plugin-url/download/@rollup/plugin-url-4.0.2.tgz"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-url_4.0.2_1580581695546_0.09141861431545917"},"_hasShrinkwrap":false,"publish_time":1580581695666,"_cnpm_publish_time":1580581695666,"_cnpmcore_publish_time":"2021-12-16T11:31:38.016Z"},"4.0.1":{"name":"@rollup/plugin-url","version":"4.0.1","publishConfig":{"access":"public"},"description":"Import files as data-URIs or ES Modules","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rollup/plugins.git"},"author":{"name":"Arpad Borsos","email":"arpad.borsos@googlemail.com"},"homepage":"https://github.com/rollup/plugins/tree/master/packages/url/#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"main":"dist/index.js","engines":{"node":">=8.0.0"},"scripts":{"build":"rollup -c","ci:coverage":"nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"pnpm run build && pnpm run lint","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"pnpm run test -- --verbose","lint":"pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package","lint:docs":"prettier --single-quote --write README.md","lint:js":"eslint --fix --cache src test","lint:package":"prettier --write package.json --plugin=prettier-plugin-package","prebuild":"del-cli dist","prepare":"pnpm run build","prepublishOnly":"pnpm run lint","pretest":"pnpm run build","test":"ava"},"keywords":["rollup","plugin","url"],"peerDependencies":{"rollup":"^1.20.0"},"dependencies":{"make-dir":"^3.0.0","mime":"^2.4.4","rollup-pluginutils":"^2.8.2"},"devDependencies":{"@babel/core":"^7.7.4","@babel/preset-env":"^7.7.4","@babel/register":"^7.7.4","del":"^5.1.0","globby":"^10.0.1","rollup":"^1.27.4","rollup-plugin-babel":"^4.3.3"},"ava":{"files":["!**/fixtures/**","!**/output/**","!**/helpers/**","!**/recipes/**","!**/types.ts"]},"module":"dist/index.es.js","_id":"@rollup/plugin-url@4.0.1","_nodeVersion":"12.3.1","_npmVersion":"6.11.2","dist":{"shasum":"e490c42ecfdff384c4fbcc2577670924108b8caa","size":8362,"noattachment":false,"key":"/@rollup/plugin-url/-/@rollup/plugin-url-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rollup/plugin-url/download/@rollup/plugin-url-4.0.1.tgz"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-url_4.0.1_1578408668035_0.9075379255112686"},"_hasShrinkwrap":false,"publish_time":1578408668152,"_cnpm_publish_time":1578408668152,"_cnpmcore_publish_time":"2021-12-16T11:31:38.257Z"},"4.0.0":{"name":"@rollup/plugin-url","version":"4.0.0","publishConfig":{"access":"public"},"description":"Import files as data-URIs or ES Modules","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rollup/plugins.git"},"author":{"name":"Arpad Borsos","email":"arpad.borsos@googlemail.com"},"homepage":"https://github.com/rollup/plugins/packages/url/#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"main":"dist/index.js","engines":{"node":">=8.0.0"},"scripts":{"build":"rollup -c","ci:coverage":"nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"pnpm run build && pnpm run lint && pnpm run security","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"pnpm run test -- --verbose","lint":"pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package","lint:docs":"prettier --single-quote --write README.md","lint:js":"eslint --fix --cache src test","lint:package":"prettier --write package.json --plugin=prettier-plugin-package","prebuild":"del-cli dist","prepare":"pnpm run build","prepublishOnly":"pnpm run lint","pretest":"pnpm run build","security":"echo 'pnpm needs `npm audit` support'","test":"ava"},"keywords":["rollup","plugin","url"],"peerDependencies":{"rollup":"^1.20.0"},"dependencies":{"make-dir":"^3.0.0","mime":"^2.4.4","rollup-pluginutils":"^2.8.2"},"devDependencies":{"@babel/core":"^7.7.4","@babel/preset-env":"^7.7.4","@babel/register":"^7.7.4","del":"^5.1.0","globby":"^10.0.1","rollup":"^1.27.4","rollup-plugin-babel":"^4.3.3"},"ava":{"files":["!**/fixtures/**","!**/output/**","!**/helpers/**","!**/recipes/**","!**/types.ts"]},"jsnext:main":"src/index.js","module":"dist/index.es.js","_id":"@rollup/plugin-url@4.0.0","_nodeVersion":"12.3.1","_npmVersion":"6.11.2","dist":{"shasum":"ad9c268093a0962f5663e909969fb5ab0dad5752","size":8103,"noattachment":false,"key":"/@rollup/plugin-url/-/@rollup/plugin-url-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rollup/plugin-url/download/@rollup/plugin-url-4.0.0.tgz"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},{"name":"rich_harris","email":""},{"name":"shellscape","email":""}],"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-url_4.0.0_1574700067623_0.1449127177691092"},"_hasShrinkwrap":false,"publish_time":1574700067746,"_cnpm_publish_time":1574700067746,"_cnpmcore_publish_time":"2021-12-16T11:31:38.505Z"}},"readme":"[npm]: https://img.shields.io/npm/v/@rollup/plugin-url\n[npm-url]: https://www.npmjs.com/package/@rollup/plugin-url\n[size]: https://packagephobia.now.sh/badge?p=@rollup/plugin-url\n[size-url]: https://packagephobia.now.sh/result?p=@rollup/plugin-url\n\n[![npm][npm]][npm-url]\n[![size][size]][size-url]\n[![libera manifesto](https://img.shields.io/badge/libera-manifesto-lightgrey.svg)](https://liberamanifesto.com)\n\n# @rollup/plugin-url\n\n???? A Rollup plugin which imports files as data-URIs or ES Modules.\n\n## Requirements\n\nThis plugin requires an [LTS](https://github.com/nodejs/Release) Node version (v14.0.0+) and Rollup v1.20.0+.\n\n## Install\n\nUsing npm:\n\n```console\nnpm install @rollup/plugin-url --save-dev\n```\n\n## Usage\n\nCreate a `rollup.config.js` [configuration file](https://www.rollupjs.org/guide/en/#configuration-files) and import the plugin:\n\n```js\nimport url from '@rollup/plugin-url';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    dir: 'output',\n    format: 'cjs'\n  },\n  plugins: [url()]\n};\n```\n\nThen call `rollup` either via the [CLI](https://www.rollupjs.org/guide/en/#command-line-reference) or the [API](https://www.rollupjs.org/guide/en/#javascript-api).\n\nWith an accompanying file `src/index.js`, the local `image.svg` file would now be importable as seen below:\n\n```js\n// src/index.js\nimport svg from './image.svg';\nconsole.log(`svg contents: ${svg}`);\n```\n\n## Options\n\n### `exclude`\n\nType: `String` | `Array[...String]`<br>\nDefault: `null`\n\nA [picomatch pattern](https://github.com/micromatch/picomatch), or array of patterns, which specifies the files in the build the plugin should _ignore_. By default no files are ignored.\n\n### `include`\n\nType: `String` | `Array[...String]`<br>\nDefault: `['**/*.svg', '**/*.png', '**/*.jp(e)?g', '**/*.gif', '**/*.webp']`\n\nA [picomatch pattern](https://github.com/micromatch/picomatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default .svg, .png, .jpg, .jpeg, .gif and .webp files are targeted.\n\n### `limit`\n\nType: `Number`<br>\nDefault: `14336` (14kb)\n\nThe file size limit for inline files. If a file exceeds this limit, it will be copied to the destination folder and the hashed filename will be provided instead. If `limit` is set to `0` all files will be copied.\n\n### `publicPath`\n\nType: `String`<br>\nDefault: (empty string)\n\nA string which will be added in front of filenames when they are not inlined but are copied.\n\n### `emitFiles`\n\nType: `Boolean`<br>\nDefault: `true`\n\nIf `false`, will prevent files being emitted by this plugin. This is useful for when you are using Rollup to emit both a client-side and server-side bundle.\n\n### `fileName`\n\nType: `String`<br>\nDefault: `'[hash][extname]'`\n\nIf `emitFiles` is `true`, this option can be used to rename the emitted files. It accepts the following string replacements:\n\n- `[hash]` - The hash value of the file's contents\n- `[name]` - The name of the imported file (without its file extension)\n- `[extname]` - The extension of the imported file (including the leading `.`)\n- `[dirname]` - The parent directory name of the imported file (including trailing `/`)\n\n### sourceDir\n\nType: `String`<br>\nDefault: (empty string)\n\nWhen using the `[dirname]` replacement in `fileName`, use this directory as the source directory from which to create the file path rather than the parent directory of the imported file. For example:\n\n_src/path/to/file.js_\n\n```js\nimport png from './image.png';\n```\n\n_rollup.config.js_\n\n```js\nurl({\n  fileName: '[dirname][hash][extname]',\n  sourceDir: path.join(__dirname, 'src')\n});\n```\n\nEmitted File: `path/to/image.png`\n\n### `destDir`\n\nType: `String`<br>\nDefault: (empty string)\n\nThe destination dir to copy assets, usually used to rebase the assets according to HTML files.\n\n## Meta\n\n[CONTRIBUTING](/.github/CONTRIBUTING.md)\n\n[LICENSE (MIT)](/LICENSE)\n","_attachments":{},"homepage":"https://github.com/rollup/plugins/tree/master/packages/url/#readme","bugs":{"url":"https://github.com/rollup/plugins/issues"},"license":"MIT"}