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

create-element-basic

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-element-basic - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

6

index.js

@@ -11,3 +11,3 @@ /*!

'use strict';
'use strict'

@@ -47,4 +47,4 @@ var emptyTags = [

function createElement(type, attr, contents) {
var closing = emptyTags.indexOf(type) === -1 ? true : false
function createElement (type, attr, contents) {
var closing = (emptyTags.indexOf(type) === -1)

@@ -51,0 +51,0 @@ return openTag(type, closing, attr) + (closing ? (contents || '') + closeTag(type) : '')

{
"name": "create-element-basic",
"description": "HTML element string creation",
"version": "0.2.1",
"version": "0.2.2",
"homepage": "https://github.com/akileez/create-element-basic",

@@ -6,0 +6,0 @@ "author": {

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