Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-nl2br

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-nl2br - npm Package Compare versions

Comparing version 0.1.2 to 0.2.0

15

CHANGELOG.md

@@ -0,1 +1,16 @@

# [0.2.0](https://github.com/inouetakuya/vue-nl2br/compare/v0.1.2...v0.2.0) (2022-06-01)
### Bug Fixes
* kind-of vulnerability ([232c269](https://github.com/inouetakuya/vue-nl2br/commit/232c269eb13f09d44a0185b2c5c06eff43a8fdd3))
* minimist vulnerability ([36e391d](https://github.com/inouetakuya/vue-nl2br/commit/36e391daccf0fbf8ea360ac95399e27b28c4eb67))
* security vulnerabilities of chalk/ansi-regex ([70be62b](https://github.com/inouetakuya/vue-nl2br/commit/70be62b12774cb12f5f4663c9289e30219d82f52))
* security vulnerabilities of dot-prop ([e8aab16](https://github.com/inouetakuya/vue-nl2br/commit/e8aab16e4afd8667ca43c6aebc5dea30dc2e95e0))
* security vulnerabilities of glob-parent ([89ce2bb](https://github.com/inouetakuya/vue-nl2br/commit/89ce2bbac6208ca8b3bb7632670c1b5b0cd81c62))
* security vulnerabilities of serialize-javascript ([5cbe888](https://github.com/inouetakuya/vue-nl2br/commit/5cbe8881050f2a21d3b56514dc4dadb65a8d6ed6))
* serialize-javascript vulnerability ([37c2b4c](https://github.com/inouetakuya/vue-nl2br/commit/37c2b4c4c70459f5a3a316472397307cc41646a7))
## [0.1.2](https://github.com/inouetakuya/vue-nl2br/compare/v0.1.1...v0.1.2) (2019-07-20)

@@ -2,0 +17,0 @@

2

dist/vue-nl2br.js

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.vueNl2br=t():e.vueNl2br=t()}(window,function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";r.r(t);var n={functional:!0,props:{tag:{type:String,required:!0},text:{type:String,required:!0},className:{type:String,required:!1}},render:function(e,t){return e(t.props.tag,{class:t.props.className},t.props.text.split("\n").reduce(function(t,r){return Array.isArray(t)?t.concat([e("br"),r]):[t,e("br"),r]}))}};t.default=n}])});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.vueNl2br=t():e.vueNl2br=t()}(self,(()=>(()=>{"use strict";var e={d:(t,r)=>{for(var o in r)e.o(r,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{default:()=>r});const r={functional:!0,props:{tag:{type:String,required:!0},text:{type:String,required:!0},className:{type:String,required:!1}},render:function(e,t){return e(t.props.tag,{class:t.props.className},t.props.text.split("\n").reduce((function(t,r){return Array.isArray(t)?t.concat([e("br"),r]):[t,e("br"),r]})))}};return t})()));
{
"name": "vue-nl2br",
"version": "0.1.2",
"version": "0.2.0",
"description": "A vue component that turns new lines into line breaks.",

@@ -29,9 +29,12 @@ "main": "./dist/vue-nl2br.js",

"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"babel-loader": "^8.0.6",
"conventional-changelog-cli": "^2.0.21",
"webpack": "^4.36.1",
"webpack-cli": "^3.3.6"
"@babel/core": "^7.18.2",
"@babel/preset-env": "^7.18.2",
"babel-loader": "^8.2.5",
"conventional-changelog-cli": "^2.2.2",
"kind-of": "^6.0.3",
"minimist": "^1.2.5",
"serialize-javascript": "^6.0.0",
"webpack": "^5.72.1",
"webpack-cli": "^4.9.2"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc