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 1.1.0 to 1.1.1

6

CHANGELOG.md
# Changelog
## [1.1.1](https://github.com/inouetakuya/vue-nl2br/compare/v1.1.0...v1.1.1) (2022-06-11)
### Bug Fixes
- Not built when v1.1.0 was released
## [1.1.0](https://github.com/inouetakuya/vue-nl2br/compare/v1.0.0...v1.1.0) (2022-06-11)

@@ -4,0 +10,0 @@

4

dist/Nl2br.d.ts
import type { CreateElement, RenderContext, VNode } from 'vue';
declare type Props = {
tag: string;
text: string;
text: string | null;
className?: string;

@@ -16,3 +16,3 @@ };

type: StringConstructor;
required: boolean;
default: null;
};

@@ -19,0 +19,0 @@ className: {

@@ -21,3 +21,3 @@ (function (factory) {

type: String,
required: true,
default: null,
},

@@ -30,3 +30,4 @@ className: {

render: function (createElement, context) {
var _a = context.props, tag = _a.tag, text = _a.text, className = _a.className;
var _a = context.props, tag = _a.tag, className = _a.className;
var text = context.props.text || '';
return createElement(tag, {

@@ -33,0 +34,0 @@ class: className,

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

@@ -5,0 +5,0 @@ "keywords": [

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