{"_id":"vue-3-linkify","_rev":"3-ab9e6cbc619aaefb0c5a7cee553e62e9","name":"vue-3-linkify","dist-tags":{"latest":"1.1.0","beta":"2.0.0-beta-0"},"versions":{"1.0.0":{"name":"vue-3-linkify","version":"1.0.0","repository":{"type":"git","url":"https://github.io/say8425/vue-3-linkify"},"author":{"name":"Cheon Park"},"description":"Linkify.js for Vue.js 3","scripts":{"lint":"eslint src/*.ts --max-warnings 0","lint:tsc":"vue-tsc --noEmit","prebuild":"rimraf lib","build":"tsc","prepublish":"yarn build"},"main":"lib/main.js","types":"lib/main.d.ts","license":"MIT","keywords":["vue","vue.js","vue3","vue.js3","linkify","linkify.js"],"peerDependencies":{"vue":"^3.2.0"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^5.12.1","@typescript-eslint/parser":"^5.12.1","@vue/runtime-core":"^3","eslint":"^8.9.0","eslint-config-prettier":"^8.4.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-simple-import-sort":"^7.0.0","prettier":"^2.5.1","typescript":"^4.4.0","vue-tsc":"^0.32.0"},"dependencies":{"linkify-string":"^3.0.4","linkifyjs":"^3.0.5"},"licenseText":"MIT License\n\nCopyright (c) 2022 Cheon Park\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"vue-3-linkify@1.0.0","dist":{"shasum":"968a372cb112e231e292835eae941c11fa754f2b","integrity":"sha512-OiAzfcBi1kznRMytjj0jbRrgiYhMdvih/VoTTDBin84HA9I8lLf2TpbFOelaodtydHtNvlyKVmA5Wa++eBlOjw==","tarball":"https://registry.npmjs.org/vue-3-linkify/-/vue-3-linkify-1.0.0.tgz","fileCount":11,"unpackedSize":6681,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiLrTwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpBMA/9Hkj4xCeN4JaA33MCI+bsKdP8XCj3lE6sstQREP0SiO9Fuc5E\r\nLoZzMe3dyc0wBR95rhuIiQfp2JHNi8QFioIIyp7Qbn9HOqaCBI1JsTIIhd0f\r\n4aylD4gXM/pt+K9L9IMCTgK2jgsyVa4aO2i2cKhKoDsyeZGpuen4vn0EYOAJ\r\njQpBdQnzzp/tFdXcbDl0VkuzH+29c6AZEw10UA94pJ9WtorDuiIvkH6CaRTb\r\nDUeI9wI/CgotNNJjPfHsjCGX1jD5iVKmW3D0QQc6480aRUyApCK2OzfIbcGi\r\nH1/TlZYTX7lch499AS5E6D7T+xRUJXX+M/C3nhZafQq0g7pcw6XwKIutSCnN\r\nUehx2tOtIQkaS6T3zqXw21AHlK2H8Q6c4zFCbHK78HYEmVVKQXPj7kV4sW8+\r\nojc2tVxxqUqz0UcgE9+ChCx6K35Xk4bduXofqThhsrxBaH8ezB+D8dPGTb24\r\nK+e1lqnwK34v0Da87mZd88y5Bt276Y3QDjtfMuhS0IPhhfPkIGl2/PMeMIoC\r\nROn8Hr1htZbK2g9I9t8PIsZ2b9c/0WQQtjqIF0zYYTcu8l2HvvJmhLf7Conh\r\nWq9ePjTYyIwJdWlMJSlEbb4jrhivSnzBONuxMdA+FAwRHkY8pBQ9ZTZ+29Su\r\nrpl7WtqjpzMe2xrGOI76Il+q4OqLp3xwTAU=\r\n=0Kyd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC6bIepe2cDwwgxYgsb8PE6DXKS3BDXeepvVYQysZk4bAiEA370am+OlEOL0NZZHYi34dKHD6s1RmnvwpOGQ3z8qrco="}]},"_npmUser":{"name":"say8425","email":"say8425@gmail.com"},"directories":{},"maintainers":[{"name":"say8425","email":"say8425@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-3-linkify_1.0.0_1647228144493_0.367877630840753"},"_hasShrinkwrap":false},"1.1.0":{"name":"vue-3-linkify","version":"1.1.0","repository":{"type":"git","url":"https://github.com/say8425/vue-3-linkify"},"author":{"name":"Cheon Park"},"description":"Linkify.js for Vue.js 3","scripts":{"lint":"eslint src/*.ts --max-warnings 0","lint:tsc":"vue-tsc --noEmit","prebuild":"rimraf lib","build":"tsc","prepublish":"yarn build"},"main":"lib/main.js","types":"lib/main.d.ts","license":"MIT","keywords":["vue","vue.js","vue3","vue.js3","linkify","linkify.js"],"peerDependencies":{"vue":"^3.2.0"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^5.12.1","@typescript-eslint/parser":"^5.12.1","@vue/runtime-core":"^3","eslint":"^8.9.0","eslint-config-prettier":"^8.4.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-simple-import-sort":"^7.0.0","prettier":"^2.5.1","typescript":"^4.4.0","vue-tsc":"^0.32.0"},"dependencies":{"linkify-html":"^3.0.5","linkifyjs":"^3.0.5","xss":"^1.0.11"},"licenseText":"MIT License\n\nCopyright (c) 2022 Cheon Park\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"vue-3-linkify@1.1.0","dist":{"shasum":"a7e5be2a99e8d9bf2113f92dba59b9a5f8894332","integrity":"sha512-UXiG4rLS17ZKviAXBlCkuL015BgJsblyyq6CcQfxfiIT/s/RiFhd7FQ/MGAEF/fpwjwn+zllMJPmK/QdsXAb8Q==","tarball":"https://registry.npmjs.org/vue-3-linkify/-/vue-3-linkify-1.1.0.tgz","fileCount":11,"unpackedSize":7177,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiQB7wACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr/hQ//Q7zcVtbZCw+gLFN+eyYxysSrYPkZdL5O8TD/Nto2cB0Rev0R\r\nll9m+tpzapTByvifdj8SHFzMh5Ey/bh9LWTCBfRGLEzhq8Arl90q7OIQelRT\r\n3uo9K2vdstq25rvh9xrcO30of3gP9AWVkFIh0HUMTzVt/Ms06WLeyOrNK1Ue\r\nK57iiCtFtu/q57QpQGmxTQ9R9to6Kwv9tZ6t93IOHQ33XfZtXLCS6vVqaZyn\r\nmgylNCISrzzplsYp4zpahOcPTaOD1kaVgVch4IfCy8SJ58WeN2llGeVxLv8e\r\n3PQ4Bej4Hq6r8DjVceolHSSrcp5HyTU0MqH2nfevBiTs1D9B/lAJHPfWNd/r\r\n4KM5n+qrn5UDy69k65eUCrlttdS9K8/c/F/UPbrIOfZAX+D3z112gHnJ94NK\r\nCu0p7nl/KpR7EHMzViUlfKB6G1PjfF5NtVhhfm3eeuidBbEmf4RQl71gdO3D\r\naUI9qLcZUYpqOn8uk6HN0k9HyARIqi7ZLlDY5stRbRbtelrXUWwc5c4/chRm\r\njY+r8udYX6/c7KIdarr3lc1z0x+g5X/r/MGQUcDhf4NG3hwjxiIDSYYsC3MW\r\ngKgCCCocfo9zAhgBF+4yzth890VN5O7W6sMHeREVHRz8QGETH/OIT0cPivPG\r\nfvRyGqx/4p58FaS28qA4Vs82lOOl9rKjlsY=\r\n=ikFu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkoofaA+TKcFupYzhZSbNCrESSSjyK8gFU7t/JFsCs9QIhAIUacDvWX7PxcKXSUB1keldjy791sYX4X6SnmqGq0clk"}]},"_npmUser":{"name":"say8425","email":"say8425@gmail.com"},"directories":{},"maintainers":[{"name":"say8425","email":"say8425@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-3-linkify_1.1.0_1648369392499_0.8856635690672967"},"_hasShrinkwrap":false},"2.0.0-beta-0":{"name":"vue-3-linkify","version":"2.0.0-beta-0","repository":{"type":"git","url":"https://github.com/say8425/vue-3-linkify"},"author":{"name":"Cheon Park"},"description":"Linkify.js for Vue.js 3","scripts":{"lint":"eslint src/*.ts --max-warnings 0","lint:tsc":"vue-tsc --noEmit","prebuild":"rimraf lib","build":"tsc","prepublish":"yarn build"},"main":"lib/main.js","types":"lib/main.d.ts","license":"MIT","keywords":["vue","vue.js","vue3","vue.js3","linkify","linkify.js"],"peerDependencies":{"vue":"^3.2.0"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^5.12.1","@typescript-eslint/parser":"^5.12.1","@vue/runtime-core":"^3","eslint":"^8.9.0","eslint-config-prettier":"^8.4.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-simple-import-sort":"^7.0.0","prettier":"^2.5.1","typescript":"^4.4.0","vue-tsc":"^0.32.0"},"dependencies":{"linkify-html":"^3.0.5","linkifyjs":"^3.0.5","xss":"^1.0.11"},"readmeFilename":"README.md","readme":"# Vue 3 Linkify \n\n[![NPM](https://img.shields.io/npm/v/vue-3-linkify?color=cb3837&logo=npm)](https://www.npmjs.com/package/vue-3-linkify)\n[![Test](https://github.com/say8425/vue-3-linkify/actions/workflows/test.yml/badge.svg)](https://github.com/say8425/vue-3-linkify/actions/workflows/test.yml)\n[![Release](https://github.com/say8425/vue-3-linkify/actions/workflows/release.yml/badge.svg)](https://github.com/say8425/vue-3-linkify/actions/workflows/release.yml)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/say8425/vue-3-linkify/blob/master/LICENSE)\n\nVue 3 directive to turn URL and emails into anchor tag that use [Linkify.js](https://linkify.js.org/).\n\n[![Demo vue-3-linkify](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/vue-3-linkify-demo-pizsri?eslint=1&fontsize=14&hidenavigation=1&module=%2Fsrc%2FApp.vue&theme=dark)\n\n## Installation\n\n```shell\nnpm install --save vue-3-linkify\n```\n\n```shell\nyarn add vue-3-linkify\n```\n\nRecommended to use npm or yarn to install.\n\n## Usage\n\n> **Warning**\n> This Usage is for Version 2.\n> If you want to use Version 1, please read the [Version 1 README.md](https://github.com/say8425/vue-3-linkify/tree/v1.1.0).\n\n### Register plugin\n\n```typescript\nimport { createApp } from \"vue\";\nimport App from \"./App.vue\";\nimport Vue3linkify from \"vue-3-linkify\";\n\nconst app = createApp(App);\n\napp.use(Vue3linkify)\napp.mount('#app')\n```\n\n### Use directive\n\n```vue\n<template>\n  <div v-linkify>\n    ...\n  </div>\n</template>\n```\n\n### Options\n\n```vue\n<template>\n  <div v-linkify:options=\"{\n    linkify: {\n      target: '_blank',\n    },\n    xss: {\n      whiteList: {\n        a: ['href', 'title', 'target'],\n      },\n    }\n  }\">\n    ...\n  </div>\n</template>\n```\n\nYou can set options to customize the behavior.\nThere are two following options: Linkify and JS XSS.\n\n#### Linkify\n\n```vue\n<template>\n  <div v-linkify:options=\"{\n    linkify: {\n      target: '_blank',\n    },\n  }\">\n    ...\n  </div>\n</template>\n```\n\nYou can use the following [linkify options](https://linkify.js.org/docs/options.html) with linkify key.\n\n#### XSS\n\n```vue\n<template>\n  <div v-linkify:options=\"{\n    xss: {\n      whiteList: {\n        a: ['href', 'title', 'target'],\n      },\n    }\n  }\">\n    ...\n  </div>\n</template>\n```\n\n[jsxss options](https://jsxss.com/en/options.html) with xss key.\n\n#### Event listener\n\n```vue\n<template>\n  <div v-linkify:options=\"{\n    linkify: {\n      attributes: {\n        onclick: 'event.stopPropagation()',\n      },  \n    }\n  }\">\n    ...\n  </div>\n</template>\n```\n\nUnfortunately, the [events option](https://linkify.js.org/docs/options.html#events) is not supported in linkify.js.\nBut you can add event listeners to [attributes options](https://linkify.js.org/docs/options.html#attributes) manually.\n","licenseText":"MIT License\n\nCopyright (c) 2022 Cheon Park\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"vue-3-linkify@2.0.0-beta-0","dist":{"shasum":"6500f3de18963db7b1a779442c47b2bd2c97caf3","integrity":"sha512-DW9pI2oWLwWqTmqTT+BwrqWnsgav2YLePvH3JvtW4TvzUQ//cc9z645JCH8aNWmYZUUJPyPwJwNojRi+4vuROA==","tarball":"https://registry.npmjs.org/vue-3-linkify/-/vue-3-linkify-2.0.0-beta-0.tgz","fileCount":26,"unpackedSize":11291,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAGP3/fZpOq7mMMdBJWFToDajlyYl9vIdJlizmTEmE1uAiEA7TXn31u51t+DNuNJfrg7IzjDDu0C8XFjgrB5cwelLqw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi171KACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpXvw/9HNVWA8fm8EauEB75d71JBnPbpr4uc28DpQMo/WakL5SAgDKm\r\nXwXyfu5xaKZnFpLj4Qi6XbmC2s8e8T8F+hJw7x6gw4VUzXe2HiUQ0GjstyUV\r\nEUW64hRSM7BisKCZcC19xEPK1F+9FNHUgP1kyY1WlwtK5S/YhrzgDkves9/l\r\n1w5CTaPWdymrd/Mj035QdeWnRpPJHHBkucoqE/12rmMTsXy1RVE8Mv7m09Ou\r\n/8Ma6noO6lsn+bbRYxdrdwwiam2apOaKAomrFygNpPGLc4XeRgoh2TlxzU4i\r\nvj9/BK3Ty3wPjmXFmC8VhEkGAVMiPZQ08OLYKNPqFDErrhvh5NIY71NPcShy\r\nGS1a87+owP0m2X9fZ5HNr7LdoaZqoKo8K4J/T95JLvGBUXBA21chUH7V0baR\r\nAYvZ4RfL0YdMfVonyDlT4RMaV/SXsOCfcXKaYwjmiGS9BaT4NOB5bsu55Jeu\r\nwra0U1JdtB+D6QudZTPj6aXVoJLJkkFT0UkVfZ+tHWygyUdvMcfTDxhdPCLO\r\na8gLOFOpjDx4xoLhPTVf8cVWE/cv3z2ShEiJMY3TSb/ZogkhLbhvrEmtJHhs\r\nxPwfBeq5Jedag1KE6ByyaK5MdkRnKatKYlyOKPLQzGvzQWTKxksvn5c9n+f5\r\ne5TMO8xwF0eIsLKcOph8ZoC2VpwJ5OoV6lE=\r\n=pJFV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"say8425","email":"say8425@gmail.com"},"directories":{},"maintainers":[{"name":"say8425","email":"say8425@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-3-linkify_2.0.0-beta-0_1658305866633_0.6155681641132034"},"_hasShrinkwrap":false}},"time":{"created":"2022-03-14T03:22:24.441Z","1.0.0":"2022-03-14T03:22:24.643Z","modified":"2022-07-20T08:31:07.042Z","1.1.0":"2022-03-27T08:23:12.655Z","2.0.0-beta-0":"2022-07-20T08:31:06.938Z"},"maintainers":[{"name":"say8425","email":"say8425@gmail.com"}],"description":"Linkify.js for Vue.js 3","keywords":["vue","vue.js","vue3","vue.js3","linkify","linkify.js"],"repository":{"type":"git","url":"https://github.com/say8425/vue-3-linkify"},"author":{"name":"Cheon Park"},"license":"MIT","readme":"","readmeFilename":""}