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.0.4 to 0.0.5

4

dist/vue-nl2br.js

@@ -96,3 +96,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

},
content: {
text: {
type: String,

@@ -103,3 +103,3 @@ required: true

render: function render(createElement, context) {
return createElement(context.props.tag, context.props.content.split('\n').reduce(function (accumulator, string) {
return createElement(context.props.tag, context.props.text.split('\n').reduce(function (accumulator, string) {
if (!Array.isArray(accumulator)) {

@@ -106,0 +106,0 @@ return [accumulator, createElement('br'), string];

{
"name": "vue-nl2br",
"version": "0.0.4",
"version": "0.0.5",
"description": "A vue component that turns new lines into line breaks.",

@@ -5,0 +5,0 @@ "main": "./dist/vue-nl2br.js",

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